@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:200;src:url(../fonts/outfit-v11-latin-200.woff2) format('woff2')}
@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:300;src:url(../fonts/outfit-v11-latin-300.woff2) format('woff2')}
@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:500;src:url(../fonts/outfit-v11-latin-500.woff2) format('woff2')}
@font-face{font-display:swap;font-family:'Outfit';font-style:normal;font-weight:700;src:url(../fonts/outfit-v11-latin-700.woff2) format('woff2')}

*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 16px;
	--color-text: #fff;
	--color-bg: #000;
	--color-link: #fff;
	--color-link-hover: #fff;
}

body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: "Outfit",-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	height: 100%;
	overflow: hidden;
}

.overlay{
	display:block;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:rgba(0,0,0,0.7);
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;

}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	cursor: pointer;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
	/* Provide a fallback style for browsers
	 that don't support :focus-visible */
	outline: none;
	background: lightgrey;
}

a:focus:not(:focus-visible) {
	/* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
	background: transparent;
}

a:focus-visible {
	/* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
	outline: 2px solid red;
	background: transparent;
}

.unbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	cursor: pointer;
}

.unbutton:focus {
	outline: none;
}

.frame {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	color: var(--color-title);
	padding: 2rem;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto auto auto 1fr;
	grid-template-areas: 'title title' 'prev back' 'demos demos' 'sponsor sponsor' 'nav nav';
	justify-content: start;
	align-content: start;
	align-items: start;
	z-index: 100;
	pointer-events: none;
	grid-gap: 1rem;
}

body #cdawrap {
	align-self: start;
	justify-self: start;
}

.frame a,
.frame button {
	pointer-events: auto;
}

.frame__title {
	grid-area: title;
	display: flex;
	align-items: flex-end;
	font-weight: 400;
}

.frame strong {
	font-weight: 700;
}

.frame__title-main {
	font-size: inherit;
	margin: 0;
	font-weight: inherit;
}

.frame__back {
	grid-area: back;
}

.frame__prev {
	grid-area: prev;
}

.frame__demos {
	grid-area: demos;
	display: grid;
	grid-template-columns: repeat(2,auto);
	column-gap: 1rem;
	row-gap: 0.5rem;
}

.frame__demos span {
	grid-column: 1 / span 8;
}

a.frame__demo {
	font-weight:300;
	font-size: 18px;
	text-decoration: none;
	font-family: "Outfit";
	color:rgba(255,255,255,0.5);
	strong{
		color:rgba(255,255,255,1);
	}
}

a.frame__demo--current {
	font-weight: 300;
	color:rgba(255,255,255,1);
}

.slides {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	display: grid;
	grid-template-rows: 100%;
	grid-template-columns: 100%;
	place-items: center;
}

.slide {
	width: 100%;
	height: 100%;
	grid-area: 1 / 1 / -1 / -1;
	pointer-events: none;
	opacity: 0;
	overflow: hidden;
	position: relative;
	display: grid;
	place-items: center;
	will-change: transform, opacity;
}

.slide--current {
	pointer-events: auto;
	opacity: 1;
}

.deco {
	width: 100%;
	height: 100%;
	grid-area: 1 / 1 / -1 / -1;
	pointer-events: none;
	position: relative;
	opacity: 0;
	background: #8c718e;
	will-change: transform, opacity;
}

.deco--1 {
	background: #d4503e;
}

.deco--2 {
	background: #1c1a1a;
}

.deco--3 {
	background: #4e4141;
}

.deco--4 {
	background: #000;
}

.deco--5 {
	background: #060b17;
}

.deco--6 {
	background: #34365c;
}

.deco--7 {
	background: #9f6794;
}

.slide__img {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	will-change: transform, opacity, filter;
}

.demo-2 .slide__img {
	width: 120%;
	height: 120%;
}

.slides-nav {
	grid-area: nav;
	display: flex;
	gap: 0.5rem;
	align-self: end;
	align-items: center;
}

.slides-nav__item {
	border: 0;
	background: #fff;
	color: #000;
	width: 60px;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s;
}

.slides-nav__item:hover {
	background-color: #ccc;
}


@media screen and (min-width: 53em) {
	.frame { 
		height: 100vh; 
		grid-gap: 2rem;
		align-content: space-between;
		grid-template-columns: auto auto auto 1fr;
		grid-template-rows: auto auto;
		grid-template-areas: 'title back prev demos' 'sponsor ... ... nav ';
	}
	.frame__demos {
		justify-self: end;
		justify-content: end;
	}
	.frame__demos span,
	a.frame__demo {
		text-align: right;
	}
	.slides-nav {
		justify-self: end;
	}
	body #cdawrap {
		align-self: center;
		justify-self: start;
	}
}

/* Stil für den Button-Container */
#scroll-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    cursor: pointer;
    animation: bounce 2s infinite; /* Soft-Bounce-Animation */
}

/* Stil für den Pfeil */
.arrow-down {
    display: inline-block;
    width: 25px;
    height: 25px;
    border-left: 2px solid #fff; /* Pfeil-Linien */
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg); /* Pfeil zeigt nach unten */
}

/* Bounce-Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Für Hover-Effekt */
#scroll-button a:hover .arrow-down {
    border-color: #007BFF; /* Farbe für Hover */
    transition: border-color 0.3s;
}

@media only screen  and (min-width : 20px) and (max-width : 480px) {
	.headlines{
		display:block;
		position:absolute;
		bottom:30%;
		left:10%;
	}
	.br_resp{
		display:inline;
	}
	.frame__demos{
		margin:-120px 0 0 0;
	}
	a.frame__demo {
		font-weight:300;
		font-size: 14px;
	}
	.frame__demos {
		grid-template-columns: repeat(1,auto);
		text-align:right;
	  }
	h1{
		font-family: 'Outfit';
		font-weight: 700;
		font-size: 30px;
		line-height: 44px;
		color: #fff;
		margin: 0 0 20px 0;
		width: 90%;
	}
	
	h2{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 50px;
	  line-height: 60px;
	  color: #fff;
	  margin: 0;
	}
	
	.slidetext{
		text-align:center;
		padding:65% 0 0 0;
	}
	
	.slidetext1{
		font-family: 'Outfit';
		font-weight: 700;
		font-size: 50px;
		line-height: 60px;
		color: #fff;
		margin: 0 0 20px 0;
		width: 100%;
	}
	
	.slidetext2{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 30px;
	  line-height: 40px;
	  color: #fff;
	  margin: 0;
	}
	
	.slidetext3{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 16px;
	  line-height: 40px;
	  color: #fff;
	  margin: 0;
	}
	
	
	.spanh1{
		font-family: 'Outfit';
		font-weight: 700;
		font-size: 32px;
		line-height: 44px;
		color: #fff;
		margin: 0 0 20px 0;
		width: 90%;
		display:block;
	}
	
	.spanh2{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 30px;
	  line-height: 44px;
	  color: #fff;
	  margin: 0;
	}

	.noresp{
		display:none;
	}
	.resp{
		display:block;
	}
	.frame__title img{
		width:120px;
	}
}

@media only screen  and (min-width : 481px) and (max-width : 999px) {
	.headlines{
		display:block;
		position:absolute;
		bottom:20%;
		left:10%;
	}
	.br_resp{
		display:none;
	}
	.frame__demos{
		margin:-180px 0 0 0;
	}
	a.frame__demo {
		font-weight:300;
		font-size: 14px;
	}
	.frame__demos {
		grid-template-columns: repeat(1,auto);
		text-align:right;
	  }
	.frame__title img{
		width:200px;
	}

	h1{
		font-family: 'Outfit';
		font-weight: 700;
		font-size: 50px;
		line-height: 60px;
		color: #fff;
		margin: 0 0 20px 0;
		width: 90%;
	}
	
	h2{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 50px;
	  line-height: 60px;
	  color: #fff;
	  margin: 0;
	}
	
	.slidetext{
		text-align:center;
		padding:50% 0 0 0;
	}
	
	.slidetext1{
		font-family: 'Outfit';
		font-weight: 700;
		font-size: 70px;
		line-height: 80px;
		color: #fff;
		margin: 0 0 20px 0;
		width: 100%;
	}
	
	.slidetext2{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 40px;
	  line-height: 60px;
	  color: #fff;
	  margin: 0;
	}
	
	.slidetext3{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 16px;
	  line-height: 40px;
	  color: #fff;
	  margin: 0;
	}
	
	
	.spanh1{
		font-family: 'Outfit';
		font-weight: 700;
		font-size: 50px;
		line-height: 60px;
		color: #fff;
		margin: 0 0 20px 0;
		width: 90%;
		display:block;
	}
	
	.spanh2{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 40px;
	  line-height: 60px;
	  color: #fff;
	  margin: 0;
	  display:block;
	}

	.noresp{
		display:none;
	}
	.resp{
		display:block;
	}
}

@media only screen  and (min-width : 1000px) {
	.headlines{
		display:block;
		position:absolute;
		bottom:20%;
		left:10%;
	}
	.br_resp{
		display:none;
	}
	.frame__demos{
		margin:0 0 0 0;
	}
	.frame__demos {
		grid-template-columns: repeat(2,auto);
		text-align:left;
	  }
	.frame__title img{
		width:200px;
	}

	h1{
		font-family: 'Outfit';
		font-weight: 700;
		font-size: 70px;
		line-height: 80px;
		color: #fff;
		margin: 0 0 20px 0;
		width: 100%;
		display:block;
	}
	
	h2{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 50px;
	  line-height: 60px;
	  color: #fff;
	  margin: 0;
	}
	
	.slidetext{
		text-align:center;
		padding:20% 0 0 0;
	}
	
	.slidetext1{
		font-family: 'Outfit';
		font-weight: 700;
		font-size: 70px;
		line-height: 80px;
		color: #fff;
		margin: 0 0 20px 0;
		width: 100%;
	}
	
	.slidetext2{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 40px;
	  line-height: 60px;
	  color: #fff;
	  margin: 0;
	}
	
	.slidetext3{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 16px;
	  line-height: 40px;
	  color: #fff;
	  margin: 0;
	}
	
	
	.spanh1{
		font-family: 'Outfit';
		font-weight: 700;
		font-size: 70px;
		line-height: 80px;
		color: #fff;
		margin: 0 0 20px 0;
		width: 100%;
		display:block;
	}
	
	.spanh2{
		font-family: 'Outfit';
	  font-weight: 200;
	  font-size: 40px;
	  line-height: 60px;
	  color: #fff;
	  margin: 0;
	  display:block;
	}

	.noresp{
		display:block;
	}
	.resp{
		display:none;
	}
}



    /* Overlay-Stil */
    .overlaypop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: none;
      z-index: 999;
    }

    /* Popup-Stil */
    .popup {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: black;
      color: white;
      padding: 20px;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      border-radius: 8px;
      z-index: 1000;
      display: none;
    }

    .popup h2 {
      margin: 0 0 15px;
      font-size: 1.5em;
    }

    .popup p {
      font-size: 1em;
      line-height: 1.5;
    }

    /* Schließen-Button */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 20px;
      color: white;
      cursor: pointer;
      background: none;
      border: none;
      padding: 0;
    }

    .close-btn:hover {
      color: rgba(255,255,255,0.5);
    }