/* ==========================================================================
   Datei: variante-1.css  (Startseiten-Entwurf A „Hell und ruhig“)
   Zweck: Bühne der Startseite: Name und Knöpfe links, Hörproben-Karte mit
          Studiofoto rechts, Videos als Raster unter dem Namen. Farben und
          Schrift sind die Grund-Tokens aus basis.css.
   Inhalt:
     1. Bühne – Aufbau
     2. Bühne – Name und Knöpfe
     3. Hörproben-Karte
     4. Videos
     5. Handy
   Typische Änderungen: Größe des Namens -> 2; Zeilenhöhe der Hörproben -> 3.
   ========================================================================== */

/* === 1. Bühne – Aufbau === */
.buehne { padding-block: clamp(0.75rem, 2.5vw, 2rem) clamp(2.5rem, 6vw, 4.5rem); }
.buehne-innen {
    display: grid; gap: 1.75rem clamp(2rem, 4.5vw, 4rem); align-items: start;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "text karte" "videos karte";
}

/* === 2. Bühne – Name und Knöpfe === */
.buehne-text { grid-area: text; padding-top: clamp(1rem, 4vw, 3rem); }
.buehne-portraet { display: none; }
.buehne-dach { margin-bottom: 0.6rem; color: var(--akzent); font-weight: 600; }
.buehne-name { margin-bottom: 1.1rem; font-size: clamp(2.75rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 0.98; }
.buehne-name span { display: block; }
.buehne-satz { max-width: 25rem; font-size: 1.2rem; color: var(--tinte-leise); }
.buehne-knoepfe { margin-top: 1.6rem; }

/* === 3. Hörproben-Karte === */
.hoerproben-karte { grid-area: karte; overflow: hidden; border-radius: var(--radius-gross); background: var(--karte); box-shadow: var(--schatten); }
.hoerproben-foto { width: 100%; height: clamp(8.5rem, 15vw, 12.5rem); object-fit: cover; object-position: 50% 32%; }
.hoerproben-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; padding: 1rem 1.25rem 0.7rem; }
.hoerproben-titel { margin: 0; font-size: 1.35rem; }
.hoerproben-feld { padding: 0 0.6rem 0.7rem; }
.hoerproben-liste { margin: 0; padding: 0; list-style: none; }
.hoerprobe {
    display: grid; align-items: center; gap: 0.85rem; width: 100%; min-height: 2.9rem;
    grid-template-columns: 2.25rem minmax(0, 1.25fr) minmax(4rem, 1fr) 2.6rem;
    padding: 0.3rem 0.65rem; border: 0; border-radius: var(--radius); background: transparent; text-align: left;
}
.hoerprobe:hover { background: var(--grund); }
.hoerprobe.ist-aktiv { background: var(--akzent-hell); }
.hoerprobe-knopf {
    display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
    background: var(--akzent-hell); color: var(--akzent); transition: background-color 0.15s, color 0.15s;
}
.hoerprobe:hover .hoerprobe-knopf, .hoerprobe.ist-aktiv .hoerprobe-knopf { background: var(--akzent); color: var(--akzent-text); }
.hoerprobe .symbol { width: 0.9rem; height: 0.9rem; }
.zeichen-play { margin-left: 2px; }
.hoerprobe .zeichen-pause, .hoerprobe.spielt .zeichen-play { display: none; }
.hoerprobe.spielt .zeichen-pause { display: block; }
.hoerprobe-titel { display: block; font-weight: 600; line-height: 1.25; }
.hoerprobe-stil { display: block; font-size: 0.82rem; color: var(--tinte-leise); }
.hoerprobe-welle { height: 1.6rem; --balken-abstand: 3.5px; }
.hoerprobe-dauer { font-size: 0.9rem; color: var(--tinte-leise); font-variant-numeric: tabular-nums; text-align: right; }
.alle-zeigen { display: none; }

/* === 4. Videos === */
.buehne-videos { grid-area: videos; }
.videos-titel { margin-bottom: 0.6rem; font-size: 1.15rem; }
.video-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.video-raster .video-kachel-text { font-size: 0.72rem; }
.video-raster .video-kachel-text strong { font-size: 0.84rem; }

/* === 5. Handy === */
@media (max-width: 56rem) {
    /* minmax(0, 1fr): sonst wächst die Spalte auf die Breite des wischbaren Video-Streifens */
    .buehne-innen { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "karte" "videos"; gap: 1.1rem; }
    .buehne-text {
        display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 0.9rem; align-items: center;
        grid-template-areas: "bild dach" "bild name" "knoepfe knoepfe"; padding-top: 0.4rem;
    }
    .buehne-portraet { display: block; grid-area: bild; width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; }
    .buehne-dach { grid-area: dach; align-self: end; margin: 0; font-size: clamp(0.78rem, 3.6vw, 0.92rem); white-space: nowrap; }
    .buehne-name { grid-area: name; align-self: start; margin: 0; font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
    .buehne-satz { display: none; }
    /* Beide Knöpfe in einer Zeile */
    .buehne-knoepfe { grid-area: knoepfe; margin-top: 1rem; gap: 0.45rem; }
    .buehne-knoepfe .knopf { flex: 1 1 auto; gap: 0.4rem; padding: 0 0.7rem; font-size: 0.88rem; }
    .hoerproben-foto { display: none; }
    .hoerproben-kopf { padding: 0.7rem 0.7rem 0.4rem; }
    .hoerproben-titel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .hoerproben-feld { padding: 0 0.35rem 0.35rem; }
    .hoerprobe { grid-template-columns: 2.25rem minmax(0, 1fr) 4.25rem 2.4rem; gap: 0.6rem; padding: 0.3rem 0.4rem; }
    .js .hoerproben-liste:not(.alle-sichtbar) li:nth-child(n+4) { display: none; }
    .js .alle-zeigen {
        display: block; width: 100%; min-height: 2.6rem; border: 0; border-radius: var(--radius);
        background: transparent; color: var(--akzent); font-weight: 700;
    }
    .videos-titel { margin-bottom: 0.4rem; font-size: 1rem; }
    .video-raster {
        display: flex; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); scroll-padding-inline: var(--rand);
    }
    .video-raster::-webkit-scrollbar { display: none; }
    .video-raster li { flex: 0 0 9rem; scroll-snap-align: start; }
}
