
body {
  font-family: 'Open Sans', Arial, sans-serif; /* Beispiel für die Verwendung von Open Sans */
  background-color: #fff;
  color: #000;
  margin: 0 auto;
  padding: 0;
}


/* 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);
}


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

::-moz-selection {
  background: #FF1E22;
  color: #000;
}



.header {
	position: relative; /* statt relative */
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 158px;
      height: 800px;
}



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

.text h1 {
    font-size: 64px;
    font-style: normal;
    font-weight: 320;
    line-height: 120%;
    text-align: left;
    padding-top: 30px;
    margin-top: 100px;
    margin-bottom: 0px;
}
.text h2 {
    font-size: 44px;
    font-style: normal;
    font-weight: 320;
    line-height: 120%;
    text-align: left;
    padding-top: 30px;
    margin-top: 100px;
    margin-bottom: 0px;
}
.text h3 {
    font-size: 32px;
    font-style: normal;
    font-weight: 320;
    line-height: 120%;
    text-align: left;
    padding-top: 30px;
    margin-bottom: 0px;
}
.text p {
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%; /* 33.6px */
}
.text h4 {
    font-size: 26px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    text-align: left;
    margin-top: 120px;
    margin-bottom: 0px;
    padding: 0 120px;
}
p.caption {
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%; /* 33.6px */
    margin-bottom: 164px;
    padding: 0 120px;
}


.meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: 60%;
  padding: 0 20%;
  margin-bottom: 0px;
}

.meta p {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  color: #999999;
}

.meta-icon {
  width: 54px;
  height: 54px;
  border-radius: 27px;
  object-fit: cover;
  flex-shrink: 0;
}







.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;
}



/* Buttons red */
.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: #FF1E22;
    background: #000;
    border: 8px solid var(--red-action, #000);
}

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


.button.primary {
    color: #FF1E22;
    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(--red-action, #000);
    background: #000;
}

.button.primary:hover {
    color: #FF1E22;
    border: 8px solid var(--red-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(--red-action, #FF1E22);
    background: #FF1E22;
}
.button.secondary:hover {
    color: #FF1E22;
    border: 8px solid var(--red-action, #000);
    background: #000;
}








.box-image {
    display: flex;
    justify-content: center;   /* statt space-between → zentriert */
    align-items: center;       /* auch vertikal zentrieren */
    width: 100%;
    background: var(--white, #fff);
    margin-left: auto;
    margin-right: auto;
    gap: 1%;                   /* Abstand zwischen Items */
    padding: 0;
    margin-top: 200px;
    margin-bottom: 64px;
}

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







@media (max-width: 1200px) {
    .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, #000);
		}

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



@media (max-width: 810px) {
    /* 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;
    }

    /* .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 */
    }


    .text {
        display: flex;
        max-width: 800px; /* Stellt sich8r, dass es nicht zu breit wird */
        padding: 0; /* Entfernt das Padding, das die Ausrichtung stört */
        margin: 0 auto 0 auto; /* Perfekte Zentrierung mit Auto-Margin */
        text-align: left; /* Falls der Text linksbündig bleiben soll */
    }

    .text h1 {
    font-size: 44px;
    font-style: normal;
    font-weight: 320;
    line-height: 120%;
    text-align: left;
    padding-top: 30px;
    margin-top: 100px;
    margin-bottom: 0px;
    }

    .text h2 {
        font-size: 36px;
    }
    .text h3 {
        font-size: 28px;
    }
    .text p {
        font-size: 18px;
    }

    .text h4 {
    font-size: 24px;
    padding: 0 20px;
    }
    p.caption {
    font-size: 14px;
    margin-bottom: 164px;
    padding: 0 20px;
    }


    .meta {
    display: flex;
    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 */
    width: 90%;
    }



    .motif-intro h2 {
	font-size: 100px;
	}
	.motif-intro p {
	font-size: 18px;
	}
	.motif-intro p:last-of-type {
	margin-top: 10px;
	}

    .boxes-small {
    	gap: 40px; /* Abstand zwischen den Boxen */
    }

    .box-small {
        display: flex;
        flex-direction: column; /* Stellt sicher, dass der Text oben bleibt */
        align-items: flex-start; /* Text linksbündig ausrichten */
        justify-content: center; /* Inhalt vertikal ausrichten */
        width: 100%;
        padding: 0px 40px 20px 40px;
        gap: 10px; /* Fügt Abstand zwischen h2 und den Play-Buttons hinzu */
    }

    .box-small h2 {
        width: 100%; /* Nutzt die gesamte Breite */
        text-align: left; /* Sicherstellen, dass der Text links ausgerichtet bleibt */
        white-space: normal; /* Erlaubt Umbrüche bei kleinen Screens */
    }

    .player {
        display: flex;
        gap: 50px; /* Abstand zwischen den Play-Buttons */
    }
    .box-large h2 {
        font-size: 40px;
    }

    .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;
    }

    
    .box-large {
        display: flex;
        flex-direction: column; /* Stapelt die Inhalte */
        align-items: flex-start; /* Links ausrichten */
        width: 90%; /* Stellt sicher, dass die Breite bei 80% bleibt */
        padding: 20px; /* Reduziertes Padding */
        margin: 0 auto 40px; /* Zentriert die Box */
        box-sizing: border-box; /* Stellt sicher, dass Padding die Breite nicht überschreitet */
        gap: 40px;
    }

    .text-col {
        width: 100%; /* H2 nimmt volle Breite ein */
        text-align: left; /* Links ausgerichtet */
    }

    .video-col {
        width: 100%; /* Video nimmt die volle Breite der Box ein */
        display: flex;
        justify-content: center; /* Falls nötig, Video mittig ausrichten */
    }

    .video-col video {
        width: 100%; /* Video passt sich der Box-Breite an */
        height: auto; /* Erhält das Seitenverhältnis */
        max-width: none; /* Falls vorher eine Maximalbreite gesetzt war, entfernen */
    }

    .box-large h2 {
        font-size: 40px;
    }

    .box-small h2 {
        font-size: 24px;
    }

    .boxes-small {
    	width: 90%;
    }

    .box-small {
        padding: 0px 20px 10px 20px;
        gap: 10px; /* Fügt Abstand zwischen h2 und den Play-Buttons hinzu */
    }
    .player {
        display: flex;
        gap: 30px; /* Abstand zwischen den Play-Buttons */
    }

    .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: 80px;
	}

    .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 */
    }



    .sound-btn {
        width: 60px; /* Verkleinert die Button-Breite auf 60px */
        height: 80px; /* Höhe proportional angepasst */
    }

    .sound-btn img {
        width: 80%; /* Skaliert das Play-Icon innerhalb des Buttons */
        height: auto;
    }

    .sound-wave span {
        width: 4px; /* Etwas schmalere Sound-Wellen */
        height: 18px; /* Geringere Höhe */
        margin: 0 3px; /* Etwas weniger Abstand zwischen den Wellen */
    }

    /* Sound-Wellen-Animation für kleinere Screens anpassen */
    @keyframes soundWaveAnimation {
        0% { height: 18px; }
        50% { height: 40px; }
        100% { height: 18px; }
    }

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

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

    .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;
    }

    .text {
        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: 40px;
        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 */
    }	

	.button.primary {
		height: 48px;
		padding: 0px 28px;
		border: 4px solid var(--yellow-action, #000);
		}

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