hr/* styles.css */
body {
  background-color: #fff;
  color: #000;
  margin: 0 auto;
  padding: 0;
}

html,body{ font-family:"Inter",sans-serif; }
h1, h2, h3{ font-family:"Inter",sans-serif; }

/* Text-Auswahl einfärben */
::selection {
  background: #000;  /* rote Unterlegung */
  color: #79C2E9;          /* weiße Schrift auf rot */
}

::-moz-selection {
  background: #000;
  color: #79C2E9;
}


/* Standard-Status für Lazy-Loading-Elemente */
.lazy {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Sobald das Bild/Video geladen ist */
.lazy.loaded {
    opacity: 1;
    transform: translateY(0);
}


.spacer-120 { height: 120px; width: 100%; display: block; }
.spacer-240 { height: 240px; width: 100%; display: block; }
.spacer-400 { height: 400px; width: 100%; display: block; }



.header {
	display: flex;
	width: 100%;
	padding-bottom: 140px;
	flex-direction: column;
	align-items: flex-start;
	flex-shrink: 0;
}

.brand {
	display: flex;
	width: 100%;
	padding-top: 100px;
	padding-bottom: 0px;
	justify-content: center;
	align-items: center;
}

.brand img {
    width: 20%; /* Video nimmt die volle Breite der .brand-Section ein */
    height: auto; /* Hält das Seitenverhältnis */
    object-fit: cover; /* Stellt sicher,hr dass das Video nicht verzerrt wird */
    border-radius: 0px; /* Falls du ein abgerundetes Design möchtest, kannst du hier Werte setzen */
    border: none;
}

.brand video {
    width: 25%; /* Video nimmt die volle Breite der .brand-Section ein */
    height: auto; /* Hält das Seitenverhältnis */
    object-fit: cover; /* Stellt sicher, dass das Video nicht verzerrt wird */
    border-radius: 0px; /* Falls du ein abgerundetes Design möchtest, kannst du hier Werte setzen */
    border: none;
}


.title {
	display: block;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	align-self: stretch;
}

.title h1 {
	text-align: center;
	font-size: 120px;
	font-style: normal;
	font-weight: 800;
	line-height: 70%;
	height: auto;
}

.title p {
	text-align: center;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
}




.intro {
	display: flex;
	width: 60%;
	padding: 0 20% 10% 20%; 
	flex-direction: column;
	align-items: flex-start;
	gap: 80px; /* Abstand reduziert */
}

.intro p {
	font-size: 24px;
	font-style: normal;
	font-weight: 350;
	line-height: 140%; /* 33.6px */
}

.intro a {
    text-decoration: none; /* Entfernt die Standard-Unterstreichung */
    font-weight: 400;
    color: black;
    background-color: #FFF600; /* Gelber Hintergrund */
    padding: 2px 4px; /* Fügt etwas Platz um den Text hinzu */
    border-radius: 4px; /* Leicht abgerundete Ecken für einen sanfteren Look */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.intro a:hover {
    background-color: black; /* Invertiert auf Schwarz beim Hover */
    color: white; /* Text wird weiß für Kontrast */
}

.intro h2 {
    font-size: 40px;
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    margin-bottom: 60px;
}





.black-line-8 {
    border: none;
    border-top: 8px solid black; /* Linie mit 2px Stärke */
    margin-top: 80px;
    margin-bottom: 80px;
    width: 100%; /* Linie nimmt 50% der Breite des Containers ein */
    margin-left: auto; /* Zentriert die Linie */
    margin-right: auto;
    border-radius: 4px;
}

.black-line-8-full {
    border: none;
    border-top: 8px solid black; /* Linie mit 2px Stärke */
    margin-top: 80px;
    margin-bottom: 80px;
    width: 100%; /* Linie nimmt 50% der Breite des Containers ein */
    margin-left: auto; /* Zentriert die Linie */
    margin-right: auto;
}

.black-line-8-full-bottom {
    border: none;
    border-top: 8px solid black; /* Linie mit 2px Stärke */
    margin-top: 0px;
    margin-bottom: 80px;
    width: 100%; /* Linie nimmt 50% der Breite des Containers ein */
    margin-left: auto; /* Zentriert die Linie */
    margin-right: auto;
}



/* –————————————————————————————————————————————————————————————————————————————————— */


.motif {
	display: flex;
	width: 100%;
	margin-top: 0px;
	margin-bottom: 0px;
}

.motif-intro {
	width: 40%;
	display: flex; /* Flexbox hinzufügen */
	flex-direction: column;
	padding: 0 30% 3% 30%;
	gap: 16px; /* Abstand zwischen den Elementen */
	margin-left: auto; /* Zentriert die Linie */
    margin-right: auto;
}

.motif-intro p, 
.motif-intro h2 {
	margin: 0; /* Standard-Margin entfernen */
}

.motif-intro p {
	font-size: 24px;
	font-style: normal;
	font-weight: 350;
	line-height: 140%;
}

.motif-intro h2 {
	font-size: 100px;
	font-style: normal;
	font-weight: 800;
	line-height: 70%;
    margin-bottom: 60px;
}

.motif-intro h3 {
    text-align: center;
    font-size: 50px;
    font-style: normal;
    font-weight: 800;
    line-height: 70%;
    margin-top: 180px;
}

.motif-intro h4 {
    text-align: left;
    font-size: 42px;
    font-style: normal;
    font-weight: 800;
    line-height: 70%;
    margin-top: 180px;
}








/* box images */
.box-image {
    display: flex;
    justify-content: space-between;
    width: 80%;
    background: var(--white, #fff);
    margin-left: auto;
    margin-right: auto;
    gap: 2%;
    padding: 0;
    margin-bottom: 5%;
}

.box-image img {
    width: calc(50% - 2.5%);
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* box images */
.box-video {
    display: flex;
    justify-content: space-between;
    width: 100%;

    background: var(--white, #fff);
    margin-left: auto;
    margin-right: auto;
    gap: 2%;
    padding: 0;
    margin-bottom: 5%;
}

.box-video video {
    width: calc(100% - 2.5%);
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}







/* Buttons */
.button-wrapper {
    display: flex;
    width: 60%;
    padding: 0 20% 0% 20%; 
    margin-top: 80px;
    margin-bottom: 80px;
    gap: 0px; /* Abstand reduziert */
}


.buttons {
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: 100%; /* 28.8px */
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.button.primary,
.button.secondary {
    transition: all 0.3s ease-in-out; /* Sanfter Übergang */
}

.button.primary:hover,
.button.secondary:hover {
    transform: translateY(-3px); /* Hebt den Button leicht an */
    box-shadow: 0px 16px 32px -16px rgba(0, 0, 0, 0.5); /* Weicherer Schatten */
}

.button.primary:visited {
    color: #000;
    background: #FFF600;
    border: 8px solid var(--yellow-action, #FFF600);
}

.button.secondary:visited {
    color: #000;
    background: #FFFFFF;
    border: 8px solid var(--yellow-action, #FFF600); /* Gelber Rand explizit setzen */
}



.button.primary {
	color: #000;
    font-weight: 600;
	display: flex;
	height: 54px;
	padding: 0px 48px;
	justify-content: center;
	align-items: center;
	border-radius: 100px;
	text-decoration: none;
	border: 8px solid var(--yellow-action, #FFF600);
	background: #FFF600;
}

.button.primary:hover {
    color: #FFF600;
    border: 8px solid var(--yellow-action, #000);
	background: #000;
    box-shadow: 0px 12px 24px -24px rgba(0, 0, 0, 0.5);
}


.button.secondary {
	color: #000;
    font-weight: 600;
	display: flex;
	height: 54px;
	padding: 0px 48px;
	justify-content: center;
	align-items: center;
	border-radius: 100px;
	text-decoration: none;
	border: 8px solid var(--yellow-action, #FFF600);
	background: #FFFFFF;
}
.button.secondary:hover {
    color: #000;
    border: 8px solid var(--yellow-action, #000);
	background: #FFFFFF;
}








@media (max-width: 1440px) {
    .brand img {
        width: 25%; /* Bild passt sich an die reduzierte Brand-Breite an */
        height: auto; /* Proportionale Skalierung */
    }

    .button-wrapper {
    margin-top: 80px;
    margin-bottom: 80px;
    }

    .buttons {
    font-size: 16px;
    gap: 20px;
    }
}





@media (max-width: 1200px) {

    .brand video {
        width: 30%; /* Video nimmt die volle Breite der .brand-Section ein */
        height: auto; /* Hält das Seitenverhältnis */
        object-fit: cover; /* Stellt sicher, dass das Video nicht verzerrt wird */
        border-radius: 0px; /* Falls du ein abgerundetes Design möchtest, kannst du hier Werte setzen */
    }

    .brand img {
        width: 30%; /* Bild passt sich an die reduzierte Brand-Breite an */
        height: auto; /* Proportionale Skalierung */
    }

     .motif-intro {
        width: 60% !important; /* Erzwingt die Breite */
        max-width: none; /* Falls eine Begrenzung existiert, entfernen */
        padding-left: 0; /* Sicherstellen, dass kein zusätzliches Padding es verschiebt */
        padding-right: 0;
        margin-left: auto; /* Falls nötig, um zentriert zu bleiben */
        margin-right: auto;
    }

    .button-wrapper {
    margin-top: 80px;
    margin-bottom: 80px;
    }

    .buttons {
	font-size: 16px;
	gap: 20px;
	}	

	.button.primary {
		height: 48px;
		padding: 2px 24px;
		border: 4px solid var(--yellow-action, #FFF600);
		}

	.button.primary:hover {
	  border: 4px solid;
	}
	
	.button.secondary {
		height: 48px;
		padding: 2px 24px;
		border: 4px solid var(--yellow-action, #FFF600);
		}
	.button.secondary:hover {
  	border: 4px solid;
	}


}



@media (max-width: 800px) {
    /* H1 in .title auf 90px verkleinern */
    .title h1 {
        font-size: 90px;
    }

    .black-line-8 {
    margin-top: 80px;
    margin-bottom: 20px;
    }

    .black-line-8-full {
    margin-top: 80px;
    margin-bottom: 0px;
    }

    .black-line-8-full-bottom {
    margin-top: 0px;
    margin-bottom: 80px;
    }

    /* .brand auf 60% Breite setzen (inkl. Bild-Skalierung) */
    .brand {
        width: 100%; /* Skaliert die gesamte Brand-Section */
        margin: 0 auto; /* Zentriert die Brand-Section */
        display: flex;
        justify-content: center; /* Falls weitere Inhalte vorhanden sind */
    }

    .brand img {
        width: 40%; /* Bild passt sich an die reduzierte Brand-Breite an */
        height: auto; /* Proportionale Skalierung */
    }

    .brand video {
        width: 40%; /* Video nimmt die volle Breite der .brand-Section ein */
        height: auto; /* Hält das Seitenverhältnis */
        object-fit: cover; /* Stellt sicher, dass das Video nicht verzerrt wird */
        border-radius: 0px; /* Falls du ein abgerundetes Design möchtest, kannst du hier Werte setzen */
    }

    /* .intro auf 80% Breite setzen */
    .intro {
        width: 80%;
        max-width: 800px; /* Stellt sich8r, dass es nicht zu breit wird */
        padding: 0; /* Entfernt das Padding, das die Ausrichtung stört */
        margin: 0 auto 10% auto; /* Perfekte Zentrierung mit Auto-Margin */
        text-align: left; /* Falls der Text linksbündig bleiben soll */
    }
    .motif-intro h2 {
	font-size: 100px;
	}
	.motif-intro p {
	font-size: 18px;
	}
	.motif-intro p:last-of-type {
	margin-top: 10px;
	}
    .box-image {
        flex-direction: column; /* Bilder werden vertikal gestapelt */
        align-items: center; /* Zentriert die Bilder */
        gap: 40px; /* Fügt Abstand zwischen den Bildern hinzu */
    }

    .box-image img {
        width: 100%; /* Bilder füllen die volle Breite */
        height: auto; /* Beibehaltung des Seitenverhältnisses */
    }
}






@media (max-width: 640px) {

    html, body {
        overflow-x: hidden; /* Blockiert horizontales Scrollen */
        width: 100vw; /* Stellt sicher, dass es nicht über den Viewport hinausgeht */
    }

    .brand {
    padding-top: 120px;
    padding-bottom: 30px;
    display: flex;
    justify-content: center;  /* Zentriert den Inhalt horizontal */
    margin: 0 auto; /* Stellt sicher, dass .brand selbst zentriert ist */
    }

    .brand .animation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    }


    .motif-intro {
        width: 80% !important; /* Erzwingt die Breite */
        max-width: none; /* Falls eine Begrenzung existiert, entfernen */
        padding-left: 0; /* Sicherstellen, dass kein zusätzliches Padding es verschiebt */
        padding-right: 0;
        margin-left: auto; /* Falls nötig, um zentriert zu bleiben */
        margin-right: auto;
    }

    .motif-intro h2 {
	font-size: 60px;
	}

    .box-image {
        width: 90%; /* Erhöht die Breite auf 85% */
        flex-direction: column; /* Bilder werden vertikal gestapelt */
        align-items: center; /* Zentriert die Bilder */
        gap: 40px; /* Fügt Abstand zwischen den Bildern hinzu */
        margin: 0 auto 40px auto; /* Stellt sicher, dass die Box zentriert bleibt */
    }

    .box-image img {
        width: 100%; /* Bilder füllen die volle Breite der Box */
        height: auto; /* Beibehaltung des Seitenverhältnisses */
    }

    .title h1 {
        font-size: 64px;
    }

    .title p {
		font-size: 16px;
		}

    .intro {
        width: 90vw !important; /* Nutzt die Viewport-Breite, nicht % */
        max-width: 90vw !important; /* Sicherstellen, dass Safari keine eigene Begrenzung setzt */
        padding: 0 0 40px 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: left !important;
        display: block !important;
    }

    

    /* Spezieller Safari-Mobile Fix */
    @supports (-webkit-touch-callout: none) {
        .intro {
            width: 90vw !important; /* Safari-freundliche Breite */
            max-width: 90vw !important; /* Verhindert Einschränkungen */
            margin-left: auto !important;
            margin-right: auto !important;
        }
    }


    .intro p {
	font-size: 20px;
	}

    .button-wrapper {
        display: flex;
        width: 100%;
        padding: 0px; 
        gap: 0px; /* Abstand reduziert */
        margin-top: 140px;
        margin-bottom: 40px;
    }
	.buttons {
        display: flex;
        flex-direction: row;       /* horizontal (Standard) */
        flex-wrap: wrap;           /* erlaubt Umbruch */
        justify-content: center;   /* zentriert horizontal */
        align-items: center;       /* zentriert vertikal (optional) */
        font-size: 16px;
        flex-direction: row; /* Stellt die Buttons untereinander */
        gap: 16px; /* Fügt Abstand zwischen den Buttons hinzu */
        width: 100%; /* Stellt sicher, dass die Buttons den verfügbaren Platz nutzen */
        margin-top: 100px;
    }	

	.button.primary {
		height: 48px;
		padding: 0px 28px;
		border: 4px;
		}

	.button.primary:hover {
	  border: 4px;
	}
	
	.button.secondary {
		height: 48px;
		padding: 0px 28px;
		border: 4px;
		}
	.button.secondary:hover {
  	border: 4px solid;
	}   
}