/* =====================================================================
   zwei! – zu dritt · Öffentliche Seite
   Stimmung: Bühne/Kinosaal – dunkel, samtrot, messingfarbene Akzente.
   Schriften lokal eingebunden (keine Google-Server, DSGVO-freundlich).
   ===================================================================== */

@font-face {
    font-family: "Nunito";
    src: url("../fonts/nunito-latin.woff2") format("woff2");
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Caveat";
    src: url("../fonts/caveat-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg:          #140b0c;
    --bg-2:        #1c1011;
    --flaeche:     #241516;
    --flaeche-2:   #2e1b1c;
    --linie:       rgba(255, 228, 200, .12);
    --linie-stark: rgba(255, 228, 200, .22);
    --text:        #f4ebe1;
    --text-leise:  #c4b2a3;
    --text-blass:  #8f7d70;
    --rot:         #c81e2a;
    --rot-tief:    #7c0f18;
    --rot-hell:    #e8424c;
    --gold:        #e5b45e;
    --gold-hell:   #f3d394;
    --gold-tief:   #a87a2c;

    --schrift:     "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --hand:        "Caveat", "Segoe Print", cursive;

    --radius:      14px;
    --radius-gross: 22px;
    --schatten:    0 10px 30px rgba(0, 0, 0, .35);
    --breite:      1160px;
    --rand:        clamp(16px, 4vw, 40px);
    --kopf-hoehe:  72px;
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--schrift);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-hell); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 1000;
    background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { top: 12px; }

.rahmen { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.rahmen-schmal { max-width: 820px; }

.abschnitt { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.abschnitt-dunkel { background: var(--bg-2); }
.abschnitt-samt {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(200, 30, 42, .35), transparent 60%),
        radial-gradient(ellipse at 90% 100%, rgba(124, 15, 24, .5), transparent 55%),
        var(--bg-2);
}

.kicker {
    font-family: var(--hand);
    font-size: 1.7rem;
    line-height: 1;
    color: var(--gold);
    margin: 0 0 .35em;
    font-weight: 600;
}
.einleitung { font-size: 1.15rem; color: var(--text-leise); max-width: 62ch; }
/* Einleitung so breit wie der Inhalt darunter (z. B. Galerie: wie die Highlight-Zeile) */
.einleitung:has(.einleitung-breit) { max-width: none; }
.leise { color: var(--text-leise); }
.klein { font-size: .9rem; }

.kopfzeile {
    display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
    gap: 16px 32px; margin-bottom: 40px;
}
.kopfzeile h2 { margin: 0; }

/* ---------- Knöpfe ---------- */

.knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.5em;
    border-radius: 999px;
    border: 1.5px solid transparent;
    background: var(--rot);
    color: #fff;
    font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .2s, border-color .2s, color .2s;
}
.knopf:hover { background: var(--rot-hell); color: #fff; transform: translateY(-1px); }
.knopf-gold { background: var(--gold); color: #1a0f08; }
.knopf-gold:hover { background: var(--gold-hell); color: #1a0f08; }
.knopf-rand { background: transparent; border-color: var(--linie-stark); color: var(--text); }
.knopf-rand:hover { background: rgba(255, 255, 255, .06); border-color: var(--gold); color: var(--text); }
.knopf-klein { padding: .6em 1.15em; font-size: .92rem; }
.knopf-gruppe { display: flex; flex-wrap: wrap; gap: 12px; }
/* Startseite: auf schmalen Bildschirmen kurze Beschriftung („Anfragen“, „Termine“), alle drei Knöpfe in einer Zeile */
.hero-knoepfe .text-kurz { display: none; }
@media (max-width: 600px) {
    .hero-knoepfe { flex-wrap: nowrap; gap: 8px; }
    .hero-knoepfe .knopf {
        flex: 1 1 auto; min-width: 0; white-space: nowrap;
        padding: .85em clamp(.55em, 2.6vw, 1.05em); font-size: clamp(.82rem, 3.9vw, 1rem);
    }
    .hero-knoepfe .text-lang { display: none; }
    .hero-knoepfe .text-kurz { display: inline; }
}

.pfeil-link { font-weight: 800; text-decoration: none; white-space: nowrap; }
.pfeil-link::after { content: " →"; transition: margin .2s; }
.pfeil-link:hover::after { margin-left: 4px; }

/* ---------- Logo ---------- */

/* Das echte Band-Logo (weiße Variante mit „zu dritt“-Stempel, transparent) */
.logo { display: inline-block; line-height: 0; text-decoration: none; transition: opacity .2s; }
.logo img { height: 46px; width: auto; }
.logo:hover { opacity: .85; }
.logo-gross img { height: 72px; }
@media (max-width: 420px) { .logo img { height: 38px; } }

/* ---------- Kopfleiste ---------- */

.kopf {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--kopf-hoehe);
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.ohne-hero .kopf, .kopf.gescrollt, .kopf.offen {
    background: rgba(20, 11, 12, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--linie);
}
.kopf-innen {
    height: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hauptnav { display: flex; align-items: center; gap: 4px; }
.hauptnav a:not(.knopf) {
    color: var(--text); text-decoration: none; font-weight: 700; font-size: .98rem;
    padding: .5em .8em; border-radius: 999px; transition: background .2s, color .2s;
}
.hauptnav a:not(.knopf):hover { background: rgba(255, 255, 255, .07); }
.hauptnav a[aria-current="page"]:not(.knopf) { color: var(--gold); }
.hauptnav .knopf { margin-left: 10px; }

/* Durchgehender Player: Pause/Weiter und Nächster Titel (erscheinen, sobald etwas läuft – siehe site.js) */
.dauerplayer { display: flex; align-items: center; gap: 8px; margin-left: auto; margin-right: -10px; flex-shrink: 0; }
.dauerplayer[hidden] { display: none; }
.dp-knopf {
    width: 36px; height: 36px; padding: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; color: #fff;
    background: var(--rot); border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35); transition: background .2s, transform .15s;
}
.dp-knopf:hover { background: var(--rot-hell); }
.dp-knopf:active { transform: scale(.94); }
.dp-knopf:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.dp-knopf svg { width: 16px; height: 16px; fill: currentColor; }
.dp-weiter { background: rgba(255, 255, 255, .1); }
.dp-weiter:hover { background: rgba(255, 255, 255, .2); }
.dp-zeichen-play, .dp-pause.pausiert .dp-zeichen-pause { display: none; }
.dp-pause.pausiert .dp-zeichen-play { display: block; margin-left: 2px; }
.dauerplayer.spielt .dp-pause { animation: dp-puls 2s ease-in-out infinite; }
@keyframes dp-puls { 50% { box-shadow: 0 0 0 5px rgba(200, 30, 42, .25), 0 2px 10px rgba(0, 0, 0, .35); } }
@media (prefers-reduced-motion: reduce) { .dauerplayer.spielt .dp-pause { animation: none; } }
@media (max-width: 860px) { .dauerplayer { margin-right: -12px; } }

/* Video läuft auf einer anderen Seite weiter: kleines Fenster unten rechts */
.dp-mini {
    position: fixed; right: 16px; bottom: 16px; z-index: 150; width: min(320px, calc(100vw - 32px));
    border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--linie);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .55);
}
.dp-mini[hidden] { display: none; }
.dp-mini-kopf {
    display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px;
    background: var(--flaeche); color: var(--text-leise); font-size: .8rem;
}
.dp-mini-titel { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-mini-zu {
    width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer;
    background: transparent; color: var(--text); font-size: .9rem;
}
.dp-mini-zu:hover { background: rgba(255, 255, 255, .1); }
.dp-mini-bild { aspect-ratio: 16 / 9; }
.dp-mini-bild iframe { display: block; width: 100%; height: 100%; border: 0; }
.laedt, .laedt * { cursor: progress; }

.menue-knopf {
    display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
    background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; position: relative;
}
.menue-striche, .menue-striche::before, .menue-striche::after {
    position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
    background: currentColor; border-radius: 2px; transition: transform .25s, top .25s, opacity .2s;
}
.menue-striche { top: 50%; }
.menue-striche::before { content: ""; top: -7px; }
.menue-striche::after { content: ""; top: 7px; }
.kopf.offen .menue-striche { background: transparent; }
.kopf.offen .menue-striche::before { top: 0; transform: rotate(45deg); }
.kopf.offen .menue-striche::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
    .menue-knopf { display: block; }
    .hauptnav {
        position: fixed; top: var(--kopf-hoehe); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px var(--rand) 24px;
        background: rgba(20, 11, 12, .97);
        border-bottom: 1px solid var(--linie);
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s, transform .2s, visibility .2s;
    }
    .kopf.offen .hauptnav { transform: none; opacity: 1; visibility: visible; }
    .hauptnav a:not(.knopf) { font-size: 1.15rem; padding: .7em .6em; border-radius: 10px; }
    .hauptnav .knopf { margin: 12px 0 0; padding: .9em; font-size: 1.05rem; }
}

/* ---------- Hero (Startseite) ---------- */

.hero {
    position: relative; min-height: min(100svh, 920px);
    display: flex; align-items: flex-end;
    padding: calc(var(--kopf-hoehe) + 40px) 0 clamp(48px, 8vw, 96px);
    overflow: hidden; isolation: isolate;
}
.hero-bild {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(20, 11, 12, .55) 0%, rgba(20, 11, 12, .05) 30%, rgba(20, 11, 12, .35) 55%, rgba(20, 11, 12, .97) 100%),
        linear-gradient(90deg, rgba(20, 11, 12, .55), transparent 70%);
}
.hero-text { max-width: 760px; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); margin-bottom: .3em; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.hero h1.hero-logo { margin: .15em 0 .55em; line-height: 0; }
.hero-logo img { display: block; width: clamp(260px, 52vw, 640px); height: auto; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .55)); }
.hero h1 .hand { font-family: var(--hand); color: var(--gold); font-weight: 700; font-size: 1.12em; }
.hero-unterzeile {
    font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--text); max-width: 46ch;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .6); margin-bottom: 1.6em;
}
.hero-fakten {
    display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none;
    color: var(--text-leise); font-weight: 700; font-size: .95rem;
}
.hero-fakten li::before { content: "♪ "; color: var(--gold); }

/* Hochformat (Handy, Tablet hochkant): Das Querformat-Bandfoto würde als Hintergrund
   nur die Mitte zeigen. Deshalb steht das Foto hier vollständig oben (alle drei
   Personen samt Gitarren), der Text folgt darunter und überlappt den dunklen Rand. */
@media (max-aspect-ratio: 1/1) {
    .hero { display: block; min-height: 0; padding: var(--kopf-hoehe) 0 clamp(40px, 9vw, 72px); }
    .hero-bild {
        position: relative; inset: auto; display: block;
        width: 100%; height: auto; aspect-ratio: 10 / 9; object-position: 50% 45%;
    }
    .hero::before {
        inset: var(--kopf-hoehe) 0 auto 0; height: calc(100vw * .9);
        background: linear-gradient(180deg, rgba(20, 11, 12, .5) 0%, rgba(20, 11, 12, 0) 18%, rgba(20, 11, 12, 0) 58%, var(--bg) 100%);
    }
    .hero .rahmen { margin-top: calc(100vw * -.16); position: relative; }
}

/* ---------- Unterseiten-Titel ---------- */

.seitentitel {
    padding: calc(var(--kopf-hoehe) + clamp(48px, 7vw, 90px)) 0 clamp(36px, 5vw, 60px);
    background:
        radial-gradient(ellipse at 15% -20%, rgba(200, 30, 42, .38), transparent 60%),
        radial-gradient(ellipse at 100% 0%, rgba(229, 180, 94, .12), transparent 50%),
        var(--bg);
    border-bottom: 1px solid var(--linie);
}
.seitentitel h1 { margin-bottom: .25em; }

/* ---------- Termine ("Tickets") ---------- */

.termine { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.termin {
    display: grid; grid-template-columns: 92px 1fr auto; gap: 22px; align-items: center;
    padding: 16px 22px 16px 16px;
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: var(--radius);
    position: relative;
    transition: border-color .2s, transform .2s, background .2s;
}
.termin:hover { border-color: var(--linie-stark); background: var(--flaeche-2); }
.termin-datum {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 10px 6px; min-height: 92px;
    border-right: 2px dashed var(--linie-stark);
    padding-right: 18px; margin-right: -4px;
    text-align: center; line-height: 1.05;
}
.termin-wt { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-leise); }
.termin-tag { font-size: 2.3rem; font-weight: 900; color: var(--gold); margin: 2px 0; }
.termin-monat { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.termin-info { min-width: 0; }
.termin-titel { font-size: 1.15rem; margin: 0 0 .15em; }
.termin-titel a { color: var(--text); text-decoration: none; }
.termin-titel a:hover { color: var(--gold-hell); text-decoration: underline; }
.termin-ort { margin: 0; color: var(--text-leise); font-weight: 700; }
.termin-kommentar { margin: .3em 0 0; font-size: .95rem; color: var(--text-leise); }
.termin-hinweis { margin: .3em 0 0; font-size: .85rem; color: var(--gold); font-weight: 700; }
.termin-eintritt { margin: .3em 0 0; font-size: .95rem; color: var(--text); }
.termin-eintritt::before { content: "🎟 "; }
.termin-rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.termin-zeit {
    font-weight: 800; white-space: nowrap; padding: .35em .8em; border-radius: 999px;
    background: rgba(229, 180, 94, .12); color: var(--gold-hell); font-size: .92rem;
}
.termin-fotos {
    font-weight: 800; font-size: .9rem; text-decoration: none; white-space: nowrap;
    padding: .35em .8em; border-radius: 999px; border: 1px solid var(--linie-stark);
}
.termin-fotos::before { content: "📷 "; }
.termin-tour { background: linear-gradient(90deg, rgba(200, 30, 42, .16), var(--flaeche) 45%); }
.termin-highlight .termin-titel { color: var(--gold-hell); }

.termine-vergangen .termin { grid-template-columns: 76px 1fr auto; padding-block: 10px; }
.termine-vergangen .termin-datum { min-height: 66px; }
.termine-vergangen .termin-tag { font-size: 1.7rem; }

/* Fotos-Knopf fürs Handy: neben der letzten Textzeile, sonst rechtsbündig darunter */
.termin-fuss { display: contents; }
.termin-fotos-mobil { display: none; }
@media (max-width: 600px) {
    .termin-fuss { display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 12px; row-gap: 6px; }
    .termin-fuss > p { flex: 0 1 auto; min-width: 0; }
    .termin-fotos-mobil { display: inline-block; margin-left: auto; margin-top: .3em; }
    .termine-vergangen .termin-rechts { display: none; }
}

@media (max-width: 600px) {
    .termin { grid-template-columns: 70px 1fr; gap: 14px; padding: 14px; }
    .termin-datum { padding-right: 12px; min-height: 76px; }
    .termin-tag { font-size: 1.8rem; }
    .termin-rechts { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; }
    .termine-vergangen .termin { grid-template-columns: 62px 1fr; }
}

.monat-trenner {
    font-family: var(--hand); font-size: 1.8rem; color: var(--gold); margin: 28px 0 6px; line-height: 1;
}
.monat-trenner:first-child { margin-top: 0; }

.leer-hinweis {
    padding: 32px; border: 1px dashed var(--linie-stark); border-radius: var(--radius);
    text-align: center; color: var(--text-leise);
}
.leer-hinweis p:last-child { margin-bottom: 0; }

.jahr-leiste { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.jahr-leiste a {
    display: inline-block; padding: .4em .95em; border-radius: 999px; text-decoration: none;
    border: 1px solid var(--linie-stark); color: var(--text); font-weight: 700; font-size: .95rem;
}
.jahr-leiste a:hover { border-color: var(--gold); }
.jahr-leiste a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: #1a0f08; }

.kalender-abo {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
    margin-top: 28px; padding: 18px 22px; border-radius: var(--radius);
    background: rgba(229, 180, 94, .07); border: 1px solid rgba(229, 180, 94, .25);
}
.kalender-abo p { margin: 0; flex: 1 1 280px; color: var(--text-leise); }

/* ---------- Raster & Karten ---------- */

.raster { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.raster-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.raster-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.raster-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.karte {
    background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius-gross);
    padding: clamp(20px, 3vw, 30px);
}
.karte h3 { margin-bottom: .4em; }
.karte p:last-child { margin-bottom: 0; }
.karte-symbol { font-size: 1.7rem; line-height: 1; margin-bottom: 14px; display: block; }

.zweispaltig {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 80px); align-items: center;
}
.zweispaltig-umgekehrt > :first-child { order: 2; }
@media (max-width: 860px) {
    .zweispaltig { grid-template-columns: 1fr; }
    .zweispaltig-umgekehrt > :first-child { order: 0; }
}

.foto-rahmen {
    border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten);
    border: 1px solid var(--linie); position: relative;
}
.foto-rahmen img { width: 100%; height: 100%; object-fit: cover; }
.foto-schraeg { transform: rotate(1.5deg); }
.foto-unterschrift { font-family: var(--hand); font-size: 1.4rem; color: var(--text-leise); margin-top: 10px; text-align: center; }

/* ---------- Bandmitglieder ---------- */

.mitglied { text-align: left; }
.mitglied-foto {
    aspect-ratio: 4 / 5; border-radius: var(--radius-gross); overflow: hidden; margin-bottom: 18px;
    background: var(--flaeche-2); border: 1px solid var(--linie);
}
.mitglied-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: saturate(.92); transition: transform .5s; }
.mitglied:hover .mitglied-foto img { transform: scale(1.03); }
.mitglied h3 { font-size: 1.4rem; margin-bottom: .1em; }
.mitglied-rolle { font-family: var(--hand); color: var(--gold); font-size: 1.45rem; line-height: 1.1; margin-bottom: .5em; }
.mitglied-instrumente { color: var(--text-leise); font-size: .95rem; }
.mitglied-instrumente strong { color: var(--text); }

/* ---------- Anlässe ---------- */

.anlass { position: relative; overflow: hidden; }
.anlass::after {
    content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px;
    border-radius: 50%; background: radial-gradient(circle, rgba(200, 30, 42, .25), transparent 70%);
}

/* ---------- Song-Laufband ---------- */

.laufband {
    overflow: hidden; padding: 22px 0; border-block: 1px solid var(--linie);
    background: var(--bg); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.laufband-spur { display: flex; gap: 0; width: max-content; animation: laufen 70s linear infinite; }
.laufband:hover .laufband-spur { animation-play-state: paused; }
.laufband span {
    font-family: var(--hand); font-size: 1.9rem; color: var(--text-leise); white-space: nowrap; padding: 0 22px;
}
.laufband span:nth-child(3n+1) { color: var(--gold); }
.laufband span::after { content: "✦"; font-family: var(--schrift); font-size: .8rem; color: var(--rot-hell); margin-left: 44px; vertical-align: middle; }
@keyframes laufen { to { transform: translateX(-50%); } }
/* mit JavaScript: Bewegung per Skript, je nach Einstellung mit Finger/Maus verschiebbar (siehe site.js) */
.laufband-ziehbar { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.laufband-ziehbar.zieht { cursor: grabbing; }
.laufband-js .laufband-spur { animation: none; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .laufband-spur { animation: none; flex-wrap: wrap; width: auto; } }

/* ---------- Zahlen ---------- */

.zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; margin-top: 36px; }
.zahl { border-left: 3px solid var(--rot); padding-left: 16px; }
.zahl strong { display: block; font-size: 2.4rem; font-weight: 900; color: var(--gold); line-height: 1.05; }
.zahl span { color: var(--text-leise); font-weight: 700; font-size: .95rem; }

/* ---------- Call-to-Action-Band ---------- */

.cta {
    border-radius: var(--radius-gross); padding: clamp(32px, 6vw, 64px);
    background:
        radial-gradient(ellipse at 0% 0%, rgba(229, 180, 94, .22), transparent 55%),
        linear-gradient(135deg, var(--rot-tief), #3a0a0e 70%);
    border: 1px solid rgba(229, 180, 94, .25);
    display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
}
.cta h2 { margin-bottom: .2em; }
.cta p { margin: 0; color: #f0d9cf; max-width: 56ch; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Repertoire ---------- */

.repertoire-werkzeuge { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-bottom: 26px; }
.suchfeld {
    flex: 1 1 280px; position: relative;
}
.suchfeld input {
    width: 100%; padding: .85em 1.1em .85em 2.8em; border-radius: 999px;
    border: 1px solid var(--linie-stark); background: var(--flaeche); color: var(--text); font: inherit;
}
.suchfeld input::placeholder { color: var(--text-blass); }
.suchfeld input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(229, 180, 94, .2); }
.suchfeld::before {
    content: ""; position: absolute; left: 1.1em; top: 50%; width: 15px; height: 15px; margin-top: -9px;
    border: 2px solid var(--text-blass); border-radius: 50%;
}
.suchfeld::after {
    content: ""; position: absolute; left: calc(1.1em + 13px); top: 50%; width: 7px; height: 2px; margin-top: 5px;
    background: var(--text-blass); transform: rotate(45deg);
}
.repertoire-zaehler { color: var(--text-leise); font-weight: 700; }

.repertoire { columns: 3 280px; column-gap: 28px; }
.interpret {
    break-inside: avoid; margin: 0 0 22px; padding: 16px 18px;
    border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie);
}
.interpret h3 { font-size: 1.02rem; margin: 0 0 .35em; color: var(--gold-hell); }
.interpret ul { margin: 0; padding: 0; list-style: none; }
.interpret li { padding: 2px 0; color: var(--text); }
/* Songs mit Hörprobe: Klick spielt sie ab */
.hoerprobe-knopf {
    font: inherit; color: var(--text); background: none; border: 0; padding: 0; margin: 0;
    text-align: left; cursor: pointer; text-decoration: underline dotted rgba(229, 180, 94, .6); text-underline-offset: 3px;
}
.hoerprobe-knopf::after { content: " ▶"; color: var(--gold); font-size: .8em; }
.hoerprobe-knopf:hover, .hoerprobe-knopf:focus-visible { color: var(--gold-hell); }
.interpret li.spielt .hoerprobe-knopf { color: var(--gold-hell); }
.interpret li.spielt .hoerprobe-knopf::after { content: " ❚❚"; animation: hoerprobe-puls 1s ease-in-out infinite; }
@keyframes hoerprobe-puls { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .interpret li.spielt .hoerprobe-knopf::after { animation: none; } }
.interpret[hidden], .interpret li[hidden] { display: none; }
/* mit JavaScript: Blöcke werden auf Spalten verteilt (größte Interpreten oben, siehe site.js) */
.repertoire.repertoire-raster { columns: auto; display: flex; gap: 28px; align-items: flex-start; }
.repertoire-spalte { flex: 1 1 0; min-width: 0; }

/* Highlight-Songs oben im Repertoire */
/* eine große Box über die ganze Breite, darin die Songs in Spalten */
.repertoire-highlights {
    margin: 0 0 22px; padding: 20px 22px 16px;
    border-radius: var(--radius); background: var(--flaeche); border: 1px solid rgba(229, 180, 94, .45);
    box-shadow: inset 0 0 0 1px rgba(229, 180, 94, .08);
}
.repertoire-highlights[hidden] { display: none; }
.highlight-titel { font-family: var(--hand); font-size: 2rem; color: var(--gold); margin: 0 0 10px; line-height: 1; font-weight: 700; }
.highlight-liste { columns: 3 240px; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.highlight-liste li { break-inside: avoid; padding: 3px 0; color: var(--text); }
.highlight-liste .highlight-song, .highlight-liste .hoerprobe-knopf { color: var(--text); font-weight: 600; }
.highlight-interpret { color: var(--text-leise); font-size: .92rem; }
.highlight-liste li.spielt .hoerprobe-knopf { color: var(--gold-hell); }
.highlight-liste li.spielt .hoerprobe-knopf::after { content: " ❚❚"; animation: hoerprobe-puls 1s ease-in-out infinite; }
mark { background: rgba(229, 180, 94, .35); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- Hörproben / CDs ---------- */

/* CDs untereinander, je Karte: Cover links, Infos + Titelliste rechts */
.cd-liste { display: grid; gap: 28px; }
.cd { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.cd-cover { border-radius: 10px; overflow: hidden; box-shadow: var(--schatten); }
.cd h3 { font-size: 1.5rem; }
.cd-meta { color: var(--text-leise); font-size: .95rem; }
/* Apple Music / Spotify als quadratische Icon-Knöpfe mit abgerundeten Ecken */
.streaming-links { display: flex; gap: 10px; }
.streaming-link {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid var(--linie); color: var(--text); transition: color .2s, border-color .2s, background .2s;
}
.streaming-link svg { width: 22px; height: 22px; }
.streaming-apple:hover, .streaming-apple:focus-visible { color: #fa2d48; border-color: #fa2d48; }
.streaming-spotify:hover, .streaming-spotify:focus-visible { color: #1ed760; border-color: #1ed760; }
/* Tablet/Handy: Cover über den Infos, damit die Titelliste die volle Breite hat */
@media (max-width: 1180px) { .cd { grid-template-columns: 1fr; gap: 20px; } .cd-cover { max-width: 220px; } }

/* Titelliste: Nummer | Titel | Player rechts außen – alle Zeilen gleich hoch */
.titelliste { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: titel; }
.titelliste li {
    counter-increment: titel; display: grid; grid-template-columns: 2.2em minmax(0, 1fr) 300px; column-gap: 12px;
    align-items: center; min-height: 46px; padding: 4px 0;
    border-bottom: 1px solid var(--linie); font-size: .97rem;
}
.titelliste li::before { content: counter(titel, decimal-leading-zero); color: var(--text-blass); font-weight: 800; font-variant-numeric: tabular-nums; }
.titelliste .titel-name { min-width: 0; }
.titelliste .interpret-name { color: var(--text-leise); }
.titelliste audio { grid-column: 3; width: 100%; height: 36px; display: block; }
@media (max-width: 1000px) { .titelliste li { grid-template-columns: 2.2em minmax(0, 1fr) 240px; } }
/* schmal: Player unter den Titel, über die volle Breite */
@media (max-width: 700px) {
    .titelliste li { grid-template-columns: 2.2em minmax(0, 1fr); row-gap: 6px; min-height: 0; padding: 7px 0; }
    .titelliste audio { grid-column: 2; }
}

/* ---------- Landkarte „Da waren wir schon“ (termine.php) ---------- */

.ortskarte {
    position: relative; height: clamp(340px, 62vh, 540px); margin: 26px 0 10px;
    border-radius: var(--radius-gross); overflow: hidden; border: 1px solid var(--linie); background: var(--flaeche);
}
.ortskarte-platzhalter {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 16px; padding: 24px; text-align: center;
    background: radial-gradient(circle at 50% 45%, rgba(200, 30, 42, .22), transparent 60%), var(--flaeche);
}
.ortskarte-platzhalter p { margin: 0; max-width: 46ch; color: var(--text-leise); font-size: .88rem; }
.ortskarte-platzhalter .ortskarte-titel { font-family: var(--hand); font-size: 2.1rem; color: var(--gold); max-width: none; }
.ortskarte-hinweis { margin: 0 0 28px; text-align: right; }
.ortskarte.leaflet-container { font-family: var(--schrift); background: #ddd; }
.ortskarte-punkt {
    display: grid; place-items: center; border-radius: 50%;
    background: rgba(200, 30, 42, .9); color: #fff; font-weight: 800; line-height: 1;
    border: 2px solid var(--gold-hell); box-shadow: 0 0 0 4px rgba(200, 30, 42, .25), 0 2px 6px rgba(0, 0, 0, .35);
}
.ortskarte-punkt.gruppe { background: rgba(124, 15, 24, .92); }
.ortskarte .leaflet-popup-content { margin: 10px 14px; color: #222; font-size: .9rem; line-height: 1.4; }
.ortskarte .leaflet-popup-content strong { display: block; font-size: 1rem; }

/* ---------- Video mit Zustimmung ---------- */

.video {
    position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-gross); overflow: hidden;
    background: #000; border: 1px solid var(--linie);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-platzhalter {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; padding: 24px; text-align: center;
    background: linear-gradient(rgba(20, 11, 12, .72), rgba(20, 11, 12, .85)), var(--video-bild, none) center / cover;
}
.video-platzhalter p { margin: 0; max-width: 46ch; color: var(--text-leise); font-size: .9rem; }
/* mit Vorschaubild: Bild ganz zeigen, nur leicht abgedunkelt; ganze Fläche ist klickbar */
.video-platzhalter.mit-bild { background: #000; cursor: pointer; }
.video-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; filter: brightness(.82); }
.video-platzhalter.mit-bild::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0, 0, 0, .05) 0, rgba(0, 0, 0, .35) 100%); pointer-events: none; }
.video-platzhalter.mit-bild:hover .video-bild { transform: scale(1.03); filter: brightness(.95); }
.video-platzhalter .play-knopf { position: relative; z-index: 1; }
.play-knopf {
    width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--rot); color: #fff; display: grid; place-items: center;
    box-shadow: 0 0 0 10px rgba(200, 30, 42, .25); transition: transform .2s;
}
.play-knopf:hover { transform: scale(1.06); }
.play-knopf svg { width: 28px; height: 28px; margin-left: 4px; }

/* ---------- Galerie ---------- */

.alben { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.album {
    display: block; text-decoration: none; color: var(--text);
    border-radius: var(--radius); overflow: hidden; background: var(--flaeche); border: 1px solid var(--linie);
    transition: transform .25s, border-color .25s;
}
.album:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--text); }
.album-bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--flaeche-2); }
.album-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .5s; }
.album:hover .album-bild img { transform: scale(1.05); }
.album-text { padding: 14px 16px 16px; }
.album-text strong { display: block; line-height: 1.3; }
.album-text span { display: block; color: var(--text-leise); font-size: .88rem; margin-top: 4px; }
.album-anzahl { color: var(--gold) !important; font-weight: 800; }

/* Highlights: nur eine Zeile, seitlich scrollbar (Wischen, Trackpad oder Pfeile) */
.highlights { position: relative; }
.alben-zeile {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: calc((100% - 60px) / 4);
    overflow-x: auto;
    overflow-y: hidden;               /* kein senkrechter Balken (Einblend-/Hover-Effekt ragt sonst minimal heraus) */
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 4px 0 12px;              /* Platz für den Hover-Effekt und die Scrollleiste */
    scrollbar-width: thin;
    scrollbar-color: var(--linie) transparent;
}
.alben-zeile > .album { scroll-snap-align: start; }
.highlights-pfeil {
    position: absolute; top: calc(50% - 30px); z-index: 2;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--linie); background: var(--flaeche); color: var(--gold);
    font-size: 28px; line-height: 1; cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    transition: transform .2s, border-color .2s;
}
.highlights-pfeil:hover { transform: scale(1.08); border-color: var(--gold); }
.highlights-pfeil[hidden] { display: none; }
.highlights-pfeil.links  { left: -14px; }
.highlights-pfeil.rechts { right: -14px; }
@media (max-width: 1000px) { .alben-zeile { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 720px)  { .alben-zeile { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 520px)  {
    .alben-zeile { grid-auto-columns: 80%; }
    .highlights-pfeil { display: none; }   /* auf dem Handy wird gewischt */
}

.jahr-titel { font-family: var(--hand); font-size: 2.4rem; color: var(--gold); margin: 48px 0 16px; line-height: 1; font-weight: 700; }
.jahr-titel:first-of-type { margin-top: 0; }

.fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); gap: 10px; }
.fotos a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--flaeche-2); }
/* Hochformat: oberen Bildteil zeigen statt der Mitte (Köpfe bleiben im Bild) */
.fotos img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .4s, opacity .3s; }
.fotos a:hover img { transform: scale(1.06); }

/* Album: Zurück-Knopf über den Bildern */
.album-zurueck { margin: 0 0 22px; }
/* Sprungziel „termin-123“ aus dem Album: nicht unter der festen Kopfleiste verstecken */
.termin[id] { scroll-margin-top: 110px; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 500; background: rgba(8, 4, 5, .95);
    display: grid; grid-template-rows: auto 1fr auto; padding: 14px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.lightbox.offen { opacity: 1; visibility: visible; }
.lightbox-leiste { display: flex; justify-content: space-between; align-items: center; color: var(--text-leise); font-weight: 700; padding: 0 6px; }
.lightbox-buehne { display: grid; place-items: center; min-height: 0; position: relative; }
.lightbox-buehne img { max-width: 100%; max-height: calc(100svh - 140px); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox-text { text-align: center; color: var(--text-leise); min-height: 1.6em; padding: 10px; }
.lightbox button {
    border: 0; background: rgba(255, 255, 255, .08); color: var(--text); cursor: pointer;
    width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; line-height: 1;
}
.lightbox button:hover { background: rgba(255, 255, 255, .16); }
.lightbox-zu { display: grid; place-items: center; }
.lightbox-zu svg { width: 24px; height: 24px; }
.lightbox-zaehler { font-variant-numeric: tabular-nums; padding-right: 6px; }
.lightbox-zurueck, .lightbox-weiter { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-zurueck { left: 4px; }
.lightbox-weiter { right: 4px; }

/* ---------- Presse ---------- */

.presse-liste { display: grid; gap: 16px; }
.presse-eintrag {
    display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
    padding: 16px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie);
}
.presse-eintrag a.vorschau { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: #ddd; }
.presse-eintrag a.vorschau img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.presse-eintrag h3 { margin: 0 0 .2em; font-size: 1.1rem; }
.presse-eintrag p { margin: 0; color: var(--text-leise); }
.presse-meta { font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 4px !important; }
@media (max-width: 520px) { .presse-eintrag { grid-template-columns: 84px 1fr; gap: 14px; } }
.presse-eintrag.ohne-bild { grid-template-columns: 1fr; }

.zitat {
    font-family: var(--hand); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; color: var(--text);
    margin: 0; padding-left: 26px; border-left: 3px solid var(--rot);
}
.zitat-quelle { display: block; font-family: var(--schrift); font-size: .95rem; color: var(--text-leise); margin-top: 12px; font-weight: 700; }

.download-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.download-liste a {
    display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
    padding: 14px 18px; border-radius: 12px; background: var(--flaeche); border: 1px solid var(--linie);
    color: var(--text); text-decoration: none;
}
.download-liste a:hover { border-color: var(--gold); }
.download-liste .dl-typ {
    font-size: .72rem; font-weight: 900; letter-spacing: .08em; padding: .35em .6em; border-radius: 6px;
    background: rgba(229, 180, 94, .15); color: var(--gold);
}
.download-liste .dl-bild {
    display: block; width: 64px; height: 64px; border-radius: 8px; overflow: hidden;
    background: rgba(229, 180, 94, .15);
}
.download-liste .dl-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.download-liste small { color: var(--text-leise); display: block; }
.download-liste .dl-pfeil { color: var(--gold); font-weight: 900; }

/* ---------- Booking / Formular ---------- */

.fakten-liste { margin: 0; display: grid; gap: 0; }
.fakten-liste > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.fakten-liste dt { font-weight: 800; color: var(--gold-hell); }
.fakten-liste dd { margin: 0; color: var(--text-leise); }
@media (max-width: 520px) { .fakten-liste > div { grid-template-columns: 1fr; gap: 2px; } }

.formular { display: grid; gap: 18px; }
.formular fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; }
.formular legend { font-family: var(--hand); font-size: 1.7rem; color: var(--gold); margin-bottom: 6px; padding: 0; }
.feld-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.feld { display: grid; gap: 6px; }
.feld > span { font-weight: 700; font-size: .95rem; }
.feld > span em { font-style: normal; color: var(--rot-hell); }
.feld input, .feld textarea, .feld select {
    width: 100%; padding: .8em 1em; border-radius: 12px; border: 1px solid var(--linie-stark);
    background: var(--bg); color: var(--text); font: inherit; font-size: 1rem;
}
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(229, 180, 94, .2); }
.feld textarea { min-height: 140px; resize: vertical; }
.feld input[type="date"], .feld input[type="time"] { color-scheme: dark; }
.feld small { color: var(--text-blass); font-size: .85rem; }
.wahl { display: flex; gap: 10px; flex-wrap: wrap; }
.wahl label {
    flex: 1 1 220px; display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
    padding: 14px 16px; border-radius: 12px; border: 1px solid var(--linie-stark); background: var(--bg);
}
.wahl label:has(input:checked) { border-color: var(--gold); background: rgba(229, 180, 94, .08); }
.wahl input { margin-top: 5px; accent-color: var(--gold); }
.wahl small { display: block; color: var(--text-leise); }
.wahl .wahl-zusatz { color: var(--text-leise); font-size: .9rem; }
.honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 16px 20px; border-radius: 12px; font-weight: 700; }
.meldung-ok { background: rgba(60, 160, 90, .15); border: 1px solid rgba(60, 160, 90, .5); color: #bff0cc; }
.meldung-fehler { background: rgba(200, 30, 42, .15); border: 1px solid rgba(232, 66, 76, .6); color: #ffd0d3; }
.meldung ul { margin: .4em 0 0; padding-left: 1.2em; font-weight: 600; }
.meldung-hinweis { background: rgba(229, 180, 94, .12); border: 1px solid rgba(229, 180, 94, .5); color: var(--gold-hell); }

/* ---------- Booking: Anfrage in drei Schritten ---------- */
/* Handy: nichts darf breiter als der Kasten werden (Fieldsets und Grid-Spalten sind sonst mindestens so breit wie ihr Inhalt) */
.formular fieldset, .feld, .feld-reihe > *, .anfrage-raster > * { min-width: 0; }
.feld input, .feld textarea, .feld select { max-width: 100%; min-width: 0; }
.feld input[type="date"] { min-height: 3.1em; -webkit-appearance: none; appearance: none; text-align: left; }
.feld-schmal { max-width: 220px; }
.feld-fehler { color: #ffb3b8 !important; font-weight: 700; }

.anfrage-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.anfrage-seite .kontakt-karte { margin-top: 24px; }
@media (min-width: 861px) { .anfrage-seite { position: sticky; top: 100px; } }
@media (max-width: 860px) {
    /* Handy: Überschrift → Formular → Kontaktkasten */
    .anfrage-raster { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
    .anfrage-karte, .anfrage-seite .kontakt-karte { margin-top: 24px !important; }
    .anfrage-seite { display: contents; }
    .anfrage-seite > * { order: 0; }
    .anfrage-karte { order: 1; }
    .anfrage-seite .kontakt-karte { order: 2; margin-top: 0; }
    .anfrage-seite > .leise { margin-bottom: 0; }
}
.anfrage-karte { background: rgba(20, 11, 12, .75); }
@media (max-width: 520px) { .anfrage-karte { padding: 20px 16px; } }

.schritte { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: none; scroll-margin-top: 100px; }
.schritte li {
    display: flex; align-items: center; gap: 8px; padding: 10px 8px 10px 0; font-weight: 700; font-size: .92rem;
    color: var(--text-blass); border-bottom: 3px solid var(--linie); cursor: default; min-width: 0;
}
.schritte li span {
    flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: var(--flaeche-2); border: 1px solid var(--linie-stark); font-size: .8rem;
}
.schritte li.erledigt { color: var(--text-leise); border-color: rgba(229, 180, 94, .45); cursor: pointer; }
.schritte li.erledigt span { background: rgba(229, 180, 94, .2); border-color: var(--gold); color: var(--gold); }
.schritte li.aktiv { color: var(--text); border-color: var(--gold); }
.schritte li.aktiv span { background: var(--gold); border-color: var(--gold); color: #1a0f10; }
.schritte li b { font-weight: inherit; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* schmal: nur der aktuelle Schritt mit Namen, die anderen als Nummer */
@media (max-width: 480px) {
    .schritte { grid-template-columns: auto auto auto; justify-content: start; gap: 10px; }
    .schritte li { padding-right: 4px; }
    .schritte li:not(.aktiv) b { display: none; }
}

.schrittweise .schritt { display: none; }
.schrittweise .schritt.aktiv { display: grid; }
.schritt-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.schrittweise .schritt:first-of-type .schritt-knoepfe { justify-content: flex-end; }
.formular:not(.schrittweise) .schritt-knoepfe [data-weiter],
.formular:not(.schrittweise) .schritt-knoepfe [data-zurueck] { display: none; }
.schrittweise .modus-zeitraum, .schrittweise.ist-zeitraum .modus-tag { display: none; }
.schrittweise.ist-zeitraum .modus-zeitraum, .schrittweise .modus-tag { display: grid; gap: 14px; }

.verf-status { margin: 0; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem; background: var(--flaeche-2); border: 1px solid var(--linie); }
.verf-status::before { margin-right: .4em; }
.verf-status.verf-frei, .verf-status.verf-vorgemerkt { background: rgba(60, 160, 90, .13); border-color: rgba(60, 160, 90, .5); color: #bff0cc; }
.verf-status.verf-frei::before, .verf-status.verf-vorgemerkt::before { content: "✓"; }
.verf-status.verf-teilweise, .verf-status.verf-knapp, .verf-status.verf-unterwoche { background: rgba(229, 180, 94, .12); border-color: rgba(229, 180, 94, .5); color: var(--gold-hell); }
.verf-status.verf-teilweise::before, .verf-status.verf-knapp::before { content: "◐"; }
.verf-status.verf-unterwoche::before { content: "✓"; }

/* Tageszeit zum Ankreuzen, bei einem einzelnen Tag mit Status */
.tageszeit-wahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tageszeit-wahl .genau-schalter { border-style: dashed; }
.genau-felder[hidden] { display: none; }
@media (max-width: 420px) { .tageszeit-wahl { grid-template-columns: minmax(0, 1fr); } }
.tageszeit-wahl label { cursor: pointer; display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px;
    border: 1px solid var(--linie-stark); background: var(--bg); min-width: 0; }
.tageszeit-wahl label:has(input:checked) { border-color: var(--gold); background: rgba(229, 180, 94, .08); }
.feld .tageszeit-wahl input { width: auto; padding: 0; margin: 4px 0 0; border-radius: 0; accent-color: var(--gold); flex: none; }
.tageszeit-wahl span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.tageszeit-wahl strong { font-size: .95rem; }
.tageszeit-wahl small { color: var(--text-leise); font-size: .82rem; }
/* „Beginn“ steht direkt über den Stunden/Minuten – auch wenn daneben die Spieldauer einen Hinweis mehr hat */
.genau-felder { align-content: end; }
.feld > span small { font-weight: 400; color: var(--text-blass); }
.feld .feld-hinweis { margin-top: -4px; color: var(--text-leise); }
/* Adresse mit „📍 Maps“-Knopf daneben (wie GoogleOrt im Backend) */
.adresse-zeile { display: flex; gap: 8px; align-items: stretch; }
.adresse-zeile input { flex: 1 1 auto; }
.adresse-zeile .knopf { flex: none; white-space: nowrap; padding-inline: 16px; }
.adresse-zeile + .feld-hinweis { margin-top: 0; }
.teil-status { font-style: normal; font-size: .75rem; font-weight: 800; padding: .1em .6em; border-radius: 999px; }
@media (min-width: 421px) { .teil-status { flex-basis: 100%; max-width: max-content; margin-top: 2px; } }
.teil-frei { background: rgba(60, 160, 90, .2); color: #bff0cc; }
.teil-knapp { background: rgba(229, 180, 94, .2); color: var(--gold-hell); }
/* Ampel: rot = fester Auftritt der Band, orange = ein Bandmitglied verhindert (abweichende Besetzung möglich) */
.teil-belegt { background: rgba(200, 30, 42, .22); color: #ffd0d3; }
.teil-blockiert { background: rgba(240, 130, 40, .22); color: #ffd2a8; }
.verf-status.verf-belegt { background: rgba(200, 30, 42, .13); border-color: rgba(232, 66, 76, .55); color: #ffd0d3; }
.verf-status.verf-belegt::before { content: "✕"; }
.verf-status.verf-blockiert { background: rgba(240, 130, 40, .13); border-color: rgba(240, 130, 40, .6); color: #ffd2a8; }
.verf-status.verf-blockiert::before { content: "!"; font-weight: 900; }

.tage-wahl { display: flex; gap: 6px; max-width: 360px; }
.tage-wahl label { cursor: pointer; flex: 1 1 0; min-width: 0; }
.tage-wahl label span { width: 100%; }
.tage-wahl input { position: absolute; opacity: 0; pointer-events: none; }
.tage-wahl span {
    display: grid; place-items: center; width: 46px; height: 40px; border-radius: 10px; font-weight: 700;
    border: 1px solid var(--linie-stark); background: var(--bg); color: var(--text-leise);
}
.tage-wahl input:checked + span { border-color: var(--gold); background: rgba(229, 180, 94, .15); color: var(--gold-hell); }
.tage-wahl input:focus-visible + span { box-shadow: 0 0 0 3px rgba(229, 180, 94, .35); }

.zeitraum-liste ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; max-height: 360px; overflow-y: auto; }
.zeitraum-kopf { margin: 0; }
.zeitraum-liste li { border: 1px solid var(--linie); border-radius: 10px; background: var(--bg); padding: 8px 12px; }
.zeitraum-liste label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.zeitraum-liste input { accent-color: var(--gold); flex: none; }
.zeitraum-liste .zr-datum { flex: 1; font-weight: 700; }
.zeitraum-liste .zr-status { font-size: .8rem; font-weight: 800; padding: .2em .7em; border-radius: 999px; white-space: nowrap; }
.zeitraum-liste small { display: block; color: var(--text-leise); font-size: .82rem; margin: 4px 0 0 28px; }
.zeitraum-liste .verf-frei .zr-status, .zeitraum-liste .verf-vorgemerkt .zr-status { background: rgba(60, 160, 90, .2); color: #bff0cc; }
.zeitraum-liste .verf-teilweise .zr-status, .zeitraum-liste .verf-knapp .zr-status, .zeitraum-liste .verf-unterwoche .zr-status { background: rgba(229, 180, 94, .2); color: var(--gold-hell); }
.zeitraum-liste .verf-belegt .zr-status { background: rgba(200, 30, 42, .22); color: #ffd0d3; }
.zeitraum-liste .verf-blockiert .zr-status { background: rgba(240, 130, 40, .22); color: #ffd2a8; }
.zeitraum-liste .verf-belegt { opacity: .75; }
.zeitraum-liste li:has(input:checked) { border-color: var(--gold); }

.zeit-wahl { display: flex; align-items: center; gap: 8px; }
.feld .zeit-wahl select { width: auto; flex: 0 1 92px; }

.zusammenfassung { padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--linie-stark); }
.zusammenfassung dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .95rem; }
.zusammenfassung dt { color: var(--text-blass); }
.zusammenfassung dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.link-knopf { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--gold); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; text-decoration: underline; }
.entwurf-hinweis { margin: 0; }
.entwurf-hinweis .link-knopf, .entwurf-zurueck .link-knopf { margin: 0 0 0 .3em; }
.entwurf-zurueck { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: rgba(229, 180, 94, .1); border: 1px solid rgba(229, 180, 94, .35); color: var(--gold-hell); }

.einverstanden { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 14px 16px; border: 1px solid var(--linie-stark); border-radius: 12px; }
.einverstanden input { margin-top: 5px; accent-color: var(--gold); flex: none; }
.einverstanden em { font-style: normal; color: var(--rot-hell); }

/* „Ich bin kein Roboter“ */
.roboter-feld { display: grid; gap: 6px; }
.roboter {
    display: inline-flex; align-items: center; gap: 14px; justify-self: start; max-width: 100%;
    padding: 14px 22px 14px 16px; border-radius: 12px; border: 1px solid var(--linie-stark); background: var(--bg);
    color: var(--text); font: inherit; font-weight: 700; cursor: pointer;
}
.roboter:hover { border-color: var(--gold); }
.roboter-kasten {
    width: 26px; height: 26px; flex: none; border-radius: 6px; border: 2px solid var(--text-blass); background: #fff1;
    display: grid; place-items: center; transition: border-color .2s, background .2s;
}
.roboter.pruefen .roboter-kasten { border-color: var(--gold); border-right-color: transparent; border-radius: 50%; animation: drehen .7s linear infinite; }
.roboter.ok { border-color: rgba(60, 160, 90, .6); cursor: default; }
.roboter.ok .roboter-kasten { border-color: #3ca05a; background: #3ca05a; }
.roboter.ok .roboter-kasten::after { content: "✓"; color: #fff; font-weight: 900; font-size: 16px; line-height: 1; }
@keyframes drehen { to { transform: rotate(360deg); } }

.kontakt-karte { display: grid; gap: 14px; }
.kontakt-zeile { display: flex; gap: 14px; align-items: center; font-weight: 700; color: var(--text); text-decoration: none; }
.kontakt-zeile .symbol {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
    background: rgba(229, 180, 94, .12); color: var(--gold); font-size: 1.2rem;
}
a.kontakt-zeile:hover { color: var(--gold-hell); }

/* ---------- Newsletter (Startseite unten + newsletter.php) ---------- */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px 56px; align-items: center; }
.newsletter h2 { margin-bottom: .3em; }
.newsletter > div > p:last-child { margin-bottom: 0; }
.newsletter-formular { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin: 0 0 12px; }
.newsletter-formular .feld { gap: 0; }
.newsletter-formular input { height: 52px; }
.newsletter-formular .knopf { height: 52px; white-space: nowrap; }
.newsletter-box .klein { margin: 0; }
.newsletter-box .klein a { color: var(--gold); }
@media (max-width: 1000px) {
    .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .newsletter-formular { grid-template-columns: 1fr; }
    .newsletter-formular .knopf { width: 100%; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: .35em .85em; border-radius: 999px; background: var(--flaeche-2); border: 1px solid var(--linie); font-size: .92rem; color: var(--text-leise); }
.chips-knoepfe li { padding: 0; }
.chips-knoepfe button {
    font: inherit; color: var(--text); background: none; border: 0; cursor: pointer;
    padding: .35em .85em; border-radius: 999px;
}
.chips-knoepfe button:hover, .chips-knoepfe button:focus-visible { background: var(--rot); color: #fff; }
.chips-knoepfe small { color: var(--text-leise); margin-left: .35em; font-variant-numeric: tabular-nums; }
.chips-knoepfe button:hover small { color: rgba(255, 255, 255, .8); }
.video-raster { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 40px; }
.video-raster h3 { font-size: 1.1rem; margin: 12px 0 2px; }
.text-gross .einleitung { color: var(--text); }

/* Ankündigung im Hero (im Login unter „Texte“ pflegbar) */
.ankuendigung {
    display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
    margin: 0 0 22px; padding: .55em 1.1em .55em .8em; border-radius: 999px;
    background: rgba(200, 30, 42, .92); color: #fff; font-weight: 800; font-size: .98rem; line-height: 1.35;
    text-decoration: none; box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
}
a.ankuendigung:hover { background: var(--rot); color: #fff; }
.ank-stern { color: var(--gold-hell); }
.ank-pfeil { transition: transform .2s; }
a.ankuendigung:hover .ank-pfeil { transform: translateX(3px); }
.logo-liste { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.logo-liste a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.logo-liste a:hover { color: var(--gold-hell); }
.logo-liste small { display: block; color: var(--text-leise); font-size: .8rem; }
.logo-vorschau {
    flex: 0 0 120px; height: 56px; border-radius: 10px; padding: 6px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--linie);
}
.logo-vorschau-hell { background: #fff; }
.logo-vorschau-dunkel { background: #000; }
/* passt jedes Logo in den Rahmen ein – auch schmale, hohe wie das Signet */
.logo-vorschau img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.fuss-social { display: flex; gap: 10px; margin-top: 16px; }
.fuss-social a {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--linie-stark); color: var(--text-leise); transition: color .2s, border-color .2s;
}
.fuss-social a:hover { color: var(--gold); border-color: var(--gold); }
.fuss-social svg { width: 18px; height: 18px; }

/* ---------- Zeitleiste / Tagebuch ---------- */

.zeitleiste { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--linie-stark); }
.zeitleiste li { position: relative; padding: 0 0 30px; }
.zeitleiste li::before {
    content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--bg-2); border: 3px solid var(--gold);
}
.zeitleiste .zl-jahr { font-family: var(--hand); font-size: 1.7rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 4px; }
.zeitleiste h3 { margin: 0 0 .2em; font-size: 1.1rem; }
.zeitleiste p { margin: 0; color: var(--text-leise); }

.tagebuch-eintrag { padding: clamp(22px, 3vw, 34px); }
.tagebuch-eintrag + .tagebuch-eintrag { margin-top: 22px; }
.tagebuch-eintrag h2 { font-size: 1.5rem; margin-bottom: .2em; }
.tagebuch-meta { color: var(--gold); font-weight: 800; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1em; }
.tagebuch-autor { font-family: var(--hand); font-size: 1.6rem; color: var(--gold); margin: 0; }

.inhalt-text h2 { font-size: 1.5rem; margin-top: 1.6em; }
.inhalt-text h3 { margin-top: 1.4em; }
.inhalt-text ul { padding-left: 1.2em; }
.inhalt-text .platzhalter { background: rgba(229, 180, 94, .15); border: 1px dashed var(--gold); padding: 2px 6px; border-radius: 6px; }

/* ---------- Fußzeile ---------- */

.fuss { background: #0d0708; border-top: 1px solid var(--linie); padding: clamp(48px, 7vw, 80px) 0 0; }
.fuss-innen {
    max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand) 40px;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px;
}
.fuss-marke p { color: var(--text-leise); margin-top: 14px; }
.fuss-titel { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-blass); margin-bottom: 14px; }
.fuss-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss-liste a { color: var(--text); text-decoration: none; font-weight: 600; }
.fuss-liste a:hover { color: var(--gold); }
.fuss-unten {
    max-width: var(--breite); margin: 0 auto; padding: 20px var(--rand) 28px;
    border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    color: var(--text-blass); font-size: .9rem;
}
.fuss-rechtliches { display: flex; flex-wrap: wrap; gap: 18px; }
.fuss-rechtliches a { color: var(--text-leise); text-decoration: none; }
.fuss-rechtliches a:hover { color: var(--gold); }
@media (max-width: 760px) { .fuss-innen { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }

/* ---------- Einblend-Animation ---------- */

.js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .einblenden.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .einblenden { opacity: 1; transform: none; transition: none; } }
