/* ==========================================================================
   Datei: variante-2.css  (Startseiten-Entwurf B „Studio bei Nacht“)
   Zweck: Dunkles Indigo wie das bisherige Logo, Studiofoto im Hintergrund,
          große Wellenform als Bühne, Hörproben als Tasten eines Mischpults.
   Inhalt:
     1. Farben und Schriften (überschreiben basis.css)
     2. Bühne – Aufbau, Studiofoto, Name
     3. Pult – Anzeige und große Wellenform
     4. Pult – Tasten und Filmstreifen
     5. Abschnitte darunter (dunkle Anpassungen)
     6. Handy
   Typische Änderungen: Farben -> 1; Größe des Namens -> 2.
   ========================================================================== */

/* === 1. Farben und Schriften === */
:root {
    --grund: #11133b;          /* Nachtblau, Indigo des Logos */
    --flaeche: #161947;
    --karte: #1d2059;
    --tinte: #f2f0ea;          /* warmes Weiß */
    --tinte-leise: #b7badf;
    --linie: #333879;
    --marke: #f2b35e;          /* Studiolicht: Hauptknopf und Start */
    --marke-text: #241604;
    --akzent: #a3a7f4;         /* Lila des Logos: Wellenform, aktive Taste */
    --akzent-text: #11133b;
    --akzent-hell: #272b6c;
    --fuss-grund: #0b0c2b;
    --fuss-text: #d9daf3;
    --wellen-grund: #2d3277;
    --wellen-voll: #a3a7f4;
    --spieler-grund: #272b6c;
    --spieler-akzent: #f2b35e;
    --schatten: 0 20px 44px -22px rgba(0, 0, 0, 0.7);
    --schrift-text: "Hanken Grotesk", system-ui, sans-serif;
    --schrift-titel: "League Gothic", "Arial Narrow", sans-serif;
}
.stil-2 h2 { font-weight: 400; font-size: clamp(2.5rem, 5vw, 3.6rem); letter-spacing: 0.01em; }
.stil-2 .spieler-knopf { color: var(--marke-text); }

/* === 2. Bühne – Aufbau, Studiofoto, Name === */
.buehne { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(0.75rem, 2.5vw, 2rem) clamp(2.5rem, 5vw, 4rem); }
.buehne-studio {
    position: absolute; z-index: -2; top: 0; right: 0; width: min(46rem, 55vw); height: auto; opacity: 0.6;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
    mask-image: linear-gradient(to right, transparent, #000 35%);
}
/* Unten weich ins Nachtblau auslaufen, damit Tasten und Filmstreifen ruhig stehen */
.buehne::before {
    content: ""; position: absolute; z-index: -1; inset: 0;
    background: linear-gradient(to bottom, transparent 18rem, var(--grund) 34rem);
}
.buehne-kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "rolle knoepfe"; align-items: center; gap: 0 1.5rem; }
.buehne-name {
    grid-area: name; margin: 0; font-size: clamp(3.3rem, 10vw, 7.25rem); font-weight: 400;
    line-height: 0.92; letter-spacing: 0.01em; text-transform: uppercase; white-space: nowrap;
}
.buehne-rolle { grid-area: rolle; margin: 0.3rem 0 0; font-size: 1.15rem; color: var(--tinte-leise); }
.buehne-knoepfe { grid-area: knoepfe; }

/* === 3. Pult – Anzeige und große Wellenform === */
.pult { display: grid; gap: 0.9rem; margin-top: clamp(1.25rem, 3vw, 2.25rem); }
.pult-anzeige { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.pult-start {
    display: grid; place-items: center; width: 3.75rem; height: 3.75rem;
    border: 0; border-radius: 50%; background: var(--marke); color: var(--marke-text);
}
.pult-start .symbol { width: 1.45rem; height: 1.45rem; }
.pult-start .zeichen-play { margin-left: 3px; }
.pult-start .zeichen-pause, .pult-start.spielt .zeichen-play { display: none; }
.pult-start.spielt .zeichen-pause { display: block; }
.pult-info { margin: 0; line-height: 1.25; }
.pult-info strong { display: block; font-size: 1.3rem; }
.pult-info span { color: var(--tinte-leise); font-size: 0.95rem; }
.pult-zeit { color: var(--tinte-leise); font-variant-numeric: tabular-nums; }
.pult-welle { height: clamp(4rem, 8vw, 6rem); cursor: pointer; touch-action: pan-y; border-radius: var(--radius-klein); }
.pult-wellenform { height: 100%; --balken-abstand: 6px; }

/* === 4. Pult – Tasten und Filmstreifen === */
.pult-reihe { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.stil-2 .pult-reihe-titel { margin: 0.55rem 0 0; font-family: var(--schrift-text); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--tinte-leise); }
.tasten { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.taste {
    display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.6rem; padding: 0 0.95rem;
    border: 1.5px solid var(--linie); border-radius: 999px; background: rgba(17, 19, 59, 0.6);
    font-weight: 600; white-space: nowrap; transition: border-color 0.15s, background-color 0.15s;
}
.taste:hover { border-color: var(--akzent); }
.taste.ist-aktiv { border-color: var(--akzent); background: var(--akzent); color: var(--akzent-text); }
.taste-dauer { font-size: 0.86rem; font-weight: 400; opacity: 0.75; font-variant-numeric: tabular-nums; }
.taste-pegel { display: none; align-items: flex-end; gap: 2px; height: 0.9rem; }
.taste-pegel i { width: 3px; height: 40%; border-radius: 1px; background: currentColor; }
.taste.ist-aktiv .taste-pegel { display: inline-flex; }
.taste.spielt .taste-pegel i { animation: pegel 0.8s ease-in-out infinite alternate; }
.taste.spielt .taste-pegel i:nth-child(2) { animation-delay: -0.3s; }
.taste.spielt .taste-pegel i:nth-child(3) { animation-delay: -0.55s; }
@keyframes pegel { from { height: 25%; } to { height: 100%; } }
.pult-videos { margin-top: 0.35rem; }
.filmstreifen { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.filmstreifen .video-kachel-text { font-size: 0.72rem; }
.filmstreifen .video-kachel-text strong { font-size: 0.84rem; }

/* === 5. Abschnitte darunter (dunkle Anpassungen) === */
.stil-2 .feld input, .stil-2 .feld select, .stil-2 .feld textarea { background: var(--grund); }
.stil-2 .logo-leiste img { filter: brightness(0) invert(1); opacity: 0.8; }
.stil-2 .formular-demo { background: var(--akzent-hell); color: var(--tinte); }

/* === 6. Handy === */
@media (max-width: 56rem) {
    .buehne-studio { width: 75vw; opacity: 0.4; }
    .buehne::before { background: linear-gradient(to bottom, transparent 6rem, var(--grund) 16rem); }
    .buehne-kopf { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "rolle" "knoepfe"; }
    .buehne-name { font-size: clamp(2.9rem, 13.5vw, 5rem); }
    .buehne-rolle { margin: 0.15rem 0 0.8rem; font-size: 1rem; }
    /* Beide Knöpfe in einer Zeile */
    .buehne-knoepfe { gap: 0.45rem; }
    .buehne-knoepfe .knopf { flex: 1 1 auto; gap: 0.4rem; padding: 0 0.7rem; font-size: 0.9rem; }
    .pult { gap: 0.7rem; margin-top: 1.1rem; }
    .pult-anzeige { gap: 0.75rem; }
    .pult-start { width: 3.2rem; height: 3.2rem; }
    .pult-info strong { font-size: 1.1rem; }
    .pult-zeit { font-size: 0.88rem; }
    .pult-welle { height: 3.5rem; }
    .pult-wellenform { --balken-abstand: 5px; }
    .pult-reihe { grid-template-columns: 1fr; gap: 0.3rem; }
    .stil-2 .pult-reihe-titel { margin: 0; font-size: 0.85rem; }
    .tasten, .filmstreifen {
        display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
        margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand);
    }
    .tasten::-webkit-scrollbar, .filmstreifen::-webkit-scrollbar { display: none; }
    .tasten li { flex: none; }
    .filmstreifen li { flex: 0 0 8.5rem; }
}
