/* ==========================================================================
   TEIL 1: GRUNDLAGEN, NAVI, HERO (VlDEO AUFGEHELLT) & BUTTONS
   ========================================================================== */
@import url('https://googleapis.com');

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. TRANSPARENTE NAVIGATION */
.navbar {
    /* Standard (Unterseiten + Startseite nach dem Video): kräftig dunkel */
    background-color: rgba(15, 23, 42, 0.92);
    transition: background-color 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* Startseite, solange man über dem Video ist: transparent für mehr Videowirkung.
   Die Klasse "scrolled" setzt nav.js, sobald das Video aus dem Bild ist. */
body:has(.video-hero) .navbar:not(.scrolled):not(.nav-open) {
    background-color: rgba(15, 23, 42, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.nav-logo-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.nav-logo-img {
    /* DIE STEUERUNG: Begrenzt die Höhe des Logos perfekt auf die Menüleiste.
       Die Breite passt sich automatisch proportional an. */
    height: 45px; 
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

/* Subtiler Interaktionseffekt beim Drüberfahren mit der Maus */
.nav-logo-wrapper:hover .nav-logo-img {
    transform: scale(1.03);
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: #ffffff !important;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 4px;
    font-weight: 600;
}

/* 3. FULL-SCREEN VIDEO HERO (OPTIMIERT) */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* DEUTLICH HELLER: Deckkraft von 0.65/0.7 auf 0.35/0.4 reduziert für mehr Details im Video */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.35) 0%, rgba(30, 27, 75, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-subtitle {
    color: #c7d2fe; /* Helleres Indigo für besseren Kontrast auf hellem Grund */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
	font-family: Book Antiqua;
    color: #ffffff;
    margin: 15px 0 25px 0;
    /* Verstärkter Textschatten schützt die Lesbarkeit bei hellen Videoszenen */
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-text {
    font-size: 19px;
    color: #ffffff;
    font-weight: 500; /* Etwas kräftigerer Schriftschnitt */
    margin-bottom: 45px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.scroll-indicator {
    color: rgba(255, 255, 255, 0.9);
    animation: bounce 2s infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.btn {
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
    /* Subtiler Schatten für die Buttons, um sie vom helleren Video abzuheben */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
}

.btn-white {
    background-color: #ffffff;
    color: #1e1b4b;
}

.btn-white:hover {
    background-color: #f1f5f9;
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid #ffffff;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.15); /* Leichter Eigenschutz für den Rahmen-Button */
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* ==========================================================================
   ABSCHNITTSFARBEN (Startseite) – hier zentral nachjustieren
   Werte als R,G,B, damit sie auch im Noten-Schleier verwendet werden können
   ========================================================================== */
:root {
    --farbe-programm:   255, 255, 255;  /* Weiß                        */
    --farbe-ueber-mich: 242, 244, 250;  /* Hauch Blaugrau / Indigo     */
    --farbe-hoerproben: 255, 255, 255;  /* Warmes "Notenpapier"        */
    --farbe-videos:     242, 244, 250;  /* Weiß                        */
    --farbe-kontakt:    238, 241, 246;  /* Kühles Hellgrau             */
}

#programm   { --abschnitt-farbe: var(--farbe-programm); }
#ueber-mich { --abschnitt-farbe: var(--farbe-ueber-mich); }
#hoerproben { --abschnitt-farbe: var(--farbe-hoerproben); }
#videos     { --abschnitt-farbe: var(--farbe-videos); }
#kontakt    { --abschnitt-farbe: var(--farbe-kontakt); }

#ueber-mich, #videos, #kontakt {
    background-color: rgb(var(--abschnitt-farbe));
}

/* ==========================================================================
   TEIL 2: KARTEN, ANIMATIONEN, INHALTE & FORMULAR
   ========================================================================== */
.section {
    padding: 50px 20px 80px 20px;
}

.section_YTV {
    padding: 30px 20px 80px 20px;
}

.section_live {
    padding: 30px 20px 80px 20px;
}

.section_hp {
    padding: 30px 20px 40px 20px;
}

/* Weißer Abschnitt mit feinen Linien oben/unten – hebt sich vom
   leicht grauen Seitenhintergrund (#f8fafc) ab (ersetzt die alten Tailwind-Klassen) */
.section-white {
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.section-grau {
    background-color: #D9DBE7;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.section-lila {
    background-color: #F0F2FC;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.section-header {
    text-align: center;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 32px;
    color: #0f172a;
    /*margin-bottom: 10px;*/
	font-family: Book Antiqua;
	padding: 10px 0px 0px 0px;
}

.section-header p {
    color: #64748b;
}

/* Dezenter Notenhintergrund über die volle Breite
   (verwendet in "Programm" und "Hörproben" – einfach Klasse noten-bg vergeben) */
.noten-bg {
    /* Grundfarbe kommt aus --abschnitt-farbe (siehe ABSCHNITTSFARBEN), sonst Weiß */
    background-color: rgb(var(--abschnitt-farbe, 240, 242, 252));
    /* Farbschleier über dem Foto macht die Noten noch dezenter (0.55 = Stärke) */
    background-image:
        linear-gradient(rgba(var(--abschnitt-farbe, 255, 255, 255), 0.55), rgba(var(--abschnitt-farbe, 255, 255, 255), 0.55)),
        url('/assets/img/musiknoten1.jpg');
    /* Foto wird mit der Grundfarbe "multipliziert" – das Weiß des Fotos nimmt so den Farbton an */
    background-blend-mode: normal, multiply;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* Smartphone: Abschnitt ist sehr hoch und schmal – "cover" würde nur einen
   winzigen Ausschnitt riesig zeigen. Daher Notenband untereinander wiederholen. */
@media (max-width: 768px) {
    .noten-bg {
        background-size: auto, 170% auto;
        background-position: center, center top;
        background-repeat: no-repeat, repeat-y;
    }
}

.noten-bg {
    background-color: #F0F2FC;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

/* Karten haben eine feste Maximalbreite – sie wachsen beim Vergrößern
   des Browsers nicht mehr mit, sondern bleiben zentriert */
.programm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    gap: 30px;
}

/* Programm-Bereich etwas breiter als der Standard-Container,
   damit 3 Karten à 360px nebeneinander Platz haben */
.programm-section .container {
    max-width: 1220px;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden; /* Schneidet die Ecken perfekt ab */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    height: 100%;
}

.card-link:hover .card {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.card-img {
    /* Festes Seitenverhältnis (16:9 ≈ Format der Fotos) statt fixer Höhe:
       Bild skaliert proportional mit, Köpfe werden nicht mehr abgeschnitten */
    aspect-ratio: 16 / 9;
    /* ZURÜCK ZUR PERFEKTEN COOP-OPTIK: Füllt die Box immer komplett aus */
    background-size: cover;  
    background-repeat: no-repeat;
    /* DIE LÖSUNG: Richtet das Bild am unteren Rand aus, damit Keyboard & Hände garantiert sichtbar bleiben */
    background-position: center center;
    transition: transform 0.5s ease;
}


.card-link:hover .card-img {
    transform: scale(1.03);
}

.card {
    display: flex;
    flex-direction: column;
}

/* Karteninhalt füllt die Resthöhe, Badge sitzt dadurch immer ganz unten */
.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body .badge {
    margin-top: auto;
    align-self: flex-start;
}

.card-body h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.card-link:hover .card-body h3 {
    color: #4f46e5;
}

.card-body p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}

.badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.badge-indigo { background-color: #e0e7ff; color: #4338ca; }
.badge-emerald { background-color: #d1fae5; color: #065f46; }
.badge-amber { background-color: #fef3c7; color: #92400e; }

/* ANIMATIONEN FÜR DIE KARTEN */
.slide-in-left {
    animation: slideLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-in-right {
    animation: slideRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-center {
    animation: fadeCenter 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideLeft {
    0% { opacity: 0; transform: translateX(-100px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    0% { opacity: 0; transform: translateX(100px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeCenter {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

/* ÜBER MICH SEKTION */
.about-section {
    background-color: #ffffff;
    padding: 80px 20px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.about-section h2 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 24px;
	font-family: Book Antiqua;
}

.about-section p {
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-image-placeholder {
    background-color: #f1f5f9;
    height: 300px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border: 2px dashed #cbd5e1;
}

.archive-container {
    max-width: 700px;
    margin: 30px auto 0 auto;
    text-align: center;
}

.archive-toggle-btn {
    background-color: transparent;
    border: 2px solid #cbd5e1;
    color: #475569;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.archive-toggle-btn:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background-color: #f8fafc;
}

.archive-content {
    margin-top: 20px;
    text-align: left;
    animation: fadeIn 0.3s ease-in-out;
}

.archive-content.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* YOUTUBE VIDEO SEKTION */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.video-card {
    background-color: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-body {
    padding: 20px;
}

.video-body h4 {
    font-size: 16px;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 6px;
}

.video-body p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.video-local-link {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s;
}

.video-local-link:hover {
    background: linear-gradient(135deg, #312e81 0%, #1e293b 100%);
}

.play-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.2s;
}

.video-local-link:hover .play-badge {
    background-color: #ffffff;
    color: #1e1b4b;
    transform: scale(1.05);
}

/* KONTAKTFORMULAR STYLING */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

@media (max-width: 600px) {
    .contact-container { padding: 20px; }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row { flex-direction: column; gap: 20px; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: #0f172a;
    background-color: #f8fafc;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4f46e5;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.submit-btn {
    background-color: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.15);
}

.submit-btn:hover {
    background-color: #4338ca;
    transform: translateY(-1px);
}

/* Kontaktformular: Datenschutz-Hinweis und Rückmeldung nach dem Absenden */
.form-hinweis {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.form-hinweis a {
    color: #4f46e5;
}

.form-status {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.form-status-ok {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.form-status-fehler {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.honeypot-field {
    display: none !important;
    visibility: hidden;
}

/* FOOTER */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
}

.footer-links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}
/* ==========================================================================
   15. MITWANDERNDER ZURÜCK-BUTTON STYLING
   ========================================================================== */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #4f46e5;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3), 0 4px 6px -2px rgba(79, 70, 229, 0.05);
    z-index: 999; /* Stellt sicher, dass der Button über allen anderen Inhalten liegt */
    
    /* Zustand standardmäßig unsichtbar (für weiche Einblendung) */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Klasse wird per JavaScript aktiviert, sobald der User scrollt */
.scroll-to-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-to-top-btn:hover {
    background-color: #4338ca;
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.4);
}

.arrow-up {
    font-size: 16px;
    line-height: 1;
}

/* Optimierung für Handys: Text ausblenden, um Platz zu sparen */
@media (max-width: 480px) {
    .scroll-to-top-btn {
        padding: 0;
        width: 46px;
        height: 46px;
        justify-content: center;
        bottom: 20px;
        right: 20px;
    }
    .btn-label {
        display: none;
    }
    .arrow-up {
        font-size: 18px;
    }
}
/* ==========================================================================
   16. PROFILBILD STYLING („ÜBER MICH“)
   ========================================================================== */

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    
    /* DIE LÖSUNG: Feste, kompakte Höhe, die der natürlichen Texthöhe entspricht.
       Dadurch wird der gesamte Bereich nicht mehr künstlich vergrößert! */
    height: 280px; 
    display: flex;
}

.about-image {
    width: 100%;
    /* Das Bild nimmt exakt die fixierte Höhe der Box an */
    height: 100%; 
    
    /* Füllt die Box komplett aus, ohne Balken links und rechts */
    object-fit: cover; 
    
    /* Zentriert das Motiv perfekt */
    object-position: center center; 
    
    display: block;
    transition: transform 0.5s ease;
}

/* Der feine Zoom-Effekt bleibt beim Drüberfahren erhalten */
.about-image-wrapper:hover .about-image {
    transform: scale(1.02);
}

/* ==========================================================================
   17. BIO-AKKORDEON STYLING
   ========================================================================== */
.bio-accordion {
    margin-top: 25px;
}

.bio-toggle-btn {
    background-color: transparent;
    border: none;
    color: #4f46e5; /* Modernes Indigo */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: color 0.2s ease;
}

.bio-toggle-btn:hover {
    color: #4338ca;
}

.bio-content {
    margin-top: 20px;
    border-left: 2px solid #e2e8f0; /* Dezenter Zeitstrahl-Effekt links */
    padding-left: 15px;
    animation: fadeInBio 0.3s ease-in-out;
}

.bio-content.hidden {
    display: none;
}

.bio-block {
    margin-bottom: 20px;
}

.bio-block:last-child {
    margin-bottom: 0;
}

.bio-block h4 {
    font-size: 15px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bio-block ul {
    list-style: none;
    padding: 0;
}

.bio-block li {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 6px;
    position: relative;
    padding-left: 12px;
}

/* Kleiner Punkt vor jeder Zeile */
.bio-block li::before {
    content: "•";
    color: #cbd5e1;
    position: absolute;
    left: 0;
    top: 0;
}

@keyframes fadeInBio {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   18. ZWEI-SPALTEN KONTAKT LAYOUT (FORMULAR & DIREKTKONTAKT)
   ========================================================================== */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* Das Formular bekommt etwas mehr Platz als die Infobox */
    gap: 40px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Wenn der Bildschirm schmaler wird (Tablets/Handys), rutschen die Spalten untereinander */
@media (max-width: 850px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Die neue Box für den Direktkontakt rechts */
.direct-contact-box {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Moderne, dezente Kreise für die Symbole aus der Beilage */
.contact-icon-circle {
    font-size: 24px;
    background-color: #f1f5f9;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.contact-lead-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.contact-name-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 5px;
}

/* Klickbare, stark hervorgehobene Links für Telefon und Mail */
.contact-link-highlight {
    font-size: 22px;
    font-weight: 700;
    color: #4f46e5; /* Ihr Marken-Indigo */
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.contact-link-highlight.email-link {
    font-size: 18px; /* Etwas kleiner, damit die lange Mail-Adresse auf Mobilgeräten nicht umbricht */
}

.contact-link-highlight:hover {
    color: #4338ca;
    transform: scale(1.02);
}

/* Elegante Trennlinie zwischen Telefon und E-Mail */
.contact-divider {
    height: 1px;
    background-color: #f1f5f9;
    width: 80%;
    margin: 0 auto;
}

.playlist-container {
  display: flex;
  flex-direction: column; /* Stapelt die Player untereinander */
  align-items: center;    /* Zentriert die Player horizontal */
  justify-content: center;/* Zentriert die gesamte Playlist vertikal in der Sektion */
  gap: 20px;              /* Erzeugt einen sauberen Abstand ZWISCHEN den Playern, ohne sie zu quetschen */
  width: 100%;            /* Nutzt die volle Breite des Bildschirms/Elternelements */
  /*min-height: 300px; */
}

/* WICHTIG: Damit die WaveSurfer-Player nicht zusammengedrückt werden */
.playlist-container > * {
  width: 100%;            /* Die Player nehmen die volle Breite der Sektion ein */
  max-width: 600px;       /* Optional: Begrenzt die maximale Breite, damit die Waveform auf großen Bildschirmen nicht zu langgezogen aussieht */
}


/* Wavesurfer Audio Player */

        .playlist-container {
            width: 100%;            
            display: flex;
            flex-direction: column;
            gap: 20px;
			align-self: center;
					
        }

        .soundcloud-player {
            background: linear-gradient(to bottom, #ffffff, #f6f6f6);
            border: 1px solid #d3d3d3;
            border-radius: 6px;
            padding: 5px 11px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .meta-data {
            margin-bottom: 6px;
        }
        .artist {
            font-size: 11px;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 0 0 2px 0;
        }
        .title {
            font-size: 15px;
            font-weight: bold;
            color: #333;
            margin: 0;
        }

        .player-row {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .play-btn {
            width: 32px;
            height: 32px;
            background-color: transparent;
            border: 2px solid #ff007f;
            border-radius: 50%;
            cursor: pointer;
            position: relative;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.1s ease;
        }
        .play-btn:active {
            transform: scale(0.95);
        }

        .play-btn::before {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 5px 0 8px 11px;
            border-color: transparent transparent transparent #ff007f;
            margin-left: 3px;
        }

        .play-btn.playing::before {
            display: none;
        }
        .play-btn.playing::after {
            content: '';
            display: block;
            width: 9px;
            height: 11px;
            border-left: 3px solid #ff007f;
            border-right: 3px solid #ff007f;
            box-sizing: border-box;
        }

        .waveform-container {
            flex-grow: 1;
            height: 20px;
            cursor: pointer;
            position: relative;
        }

/* AKKORDION Musik Player */
/* Gestaltet den äußeren Kasten mit Ihrer Wunschfarbe */
details {
/*border: 2px solid #B45F06;*/
/*border-radius: 4px;*/
padding: 12px;
margin-bottom: 10px;
font-family: sans-serif;
}

/* Gestaltet die Klick-Leiste */
summary {
cursor: pointer;
padding: 4px;
color: #4f46e5; /* Färbt auch den Text der Überschrift */
/*color: #A95B09; */
font-size: 14px;
font-weight: 600;
/*font-family: Barlow Condensed semibold;	*/
}

/* Trennlinie über dem geöffneten Text in Ihrer Wunschfarbe */
details[open] summary {
/*border-bottom: 1px solid #B45F06;*/
margin-bottom: 10px;
padding-bottom: 8px;
}

/* Gestaltet den inneren Text */
details p {
margin: 0;
padding: 4px;
color: #333;
}




/* ==========================================================================
   BURGER-MENÜ (Smartphone / Tablet bis 768px)
   ========================================================================== */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 75px;              /* direkt unter der Menüleiste */
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background-color: rgba(15, 23, 42, 0.95);
        max-height: 0;          /* zugeklappt */
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .navbar.nav-open .nav-links {
        max-height: 400px;      /* aufgeklappt */
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link {
        display: block;
        padding: 14px 24px;
        font-size: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link.active {
        border-bottom: 0;
        padding-bottom: 14px;
        border-left: 3px solid #ffffff;
    }

    /* Burger wird zum X */
    .navbar.nav-open .nav-toggle span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .navbar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .navbar.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}


/* ==========================================================================
   CD "FAMILIENLEBEN" (Mediathek): Booklet-Foto neben den Playern
   ========================================================================== */
.cd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    max-width: 1100px;
    margin: 20px auto 0 auto;
}

/* Player in diesem Bereich nutzen die volle Spaltenbreite */
.cd-layout .playlist-container > * {
    max-width: none;
}

.cd-cover {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cd-cover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.3);
}

/* Foto wird immer komplett gezeigt – nichts wird abgeschnitten */
.cd-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.cd-cover-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background-color: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 50px;
}

@media (max-width: 850px) {
    .cd-layout {
        grid-template-columns: 1fr;   /* Handy/Tablet: Foto oben, Player darunter */
    }
}

/* Vollbild-Ansicht (Lightbox) */
.lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: 95vw;
    max-height: 92vh;
    margin: auto;
    overflow: visible;
}

.lightbox::backdrop {
    background-color: rgba(15, 23, 42, 0.80);   /* 80 % Abdunkelung */
}

.lightbox img {
    display: block;
    max-width: 95vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    cursor: zoom-out;
}

.lightbox-close {
    /* Fest in der rechten oberen Fensterecke – immer sichtbar, egal wie groß das Bild ist */
    position: fixed;
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.lightbox-close:hover {
    background-color: #4f46e5;
    transform: scale(1.08);
}


/* ==========================================================================
   PLAYER IN 2 SPALTEN (für längere Listen, z. B. 6 Hörproben in der Mediathek)
   Verwendung: <div class="playlist-container playlist-grid">
   ========================================================================== */
.playlist-container.playlist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.playlist-container.playlist-grid > * {
    max-width: none;
}

@media (max-width: 900px) {
    .playlist-container.playlist-grid {
        grid-template-columns: 1fr;   /* Tablet/Handy: wieder untereinander */
        max-width: 600px;
    }
}


/* ==========================================================================
   INFO-SEITE (info.html)
   ========================================================================== */
.info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin: 20px 0 32px 0;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

/* Kleiner farbiger Punkt statt Standard-Aufzählungszeichen */
.info-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4f46e5;
}

.info-list strong,
.info-card p strong {
    color: #0f172a;
}

.info-card a {
    color: #4f46e5;
}

.info-image {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
}

.info-image img {
    display: block;
    width: 100%;
    height: auto;
}

.info-card-wide {
    margin-bottom: 32px;
}

.info-cta {
    text-align: center;
    background-color: #eef2ff;
    border-left: 4px solid #4f46e5;
    border-radius: 12px;
    padding: 28px;
}

.info-cta p {
    max-width: 760px;
    margin: 0 auto 20px auto;
    color: #334155;
    line-height: 1.7;
}

.info-cta-btn {
    display: inline-block;
    background-color: #4f46e5;
    color: #ffffff;
}

.info-cta-btn:hover {
    background-color: #4338ca;
}

@media (max-width: 850px) {
    .info-grid {
        grid-template-columns: 1fr;   /* Handy/Tablet: Foto unter den Texten */
    }
}


/* Footer-Links am Handy umbrechen statt über den Rand zu laufen (alle Seiten) */
.footer-links {
    flex-wrap: wrap;
    row-gap: 10px;
}
