/* Bildarchiv der V.B.B! Thuringia – Gestaltung angelehnt an die Website (weiß, Germania One, Playfair kursiv,
   schwarze Pillen mit grünem Punkt, Termine als Zeilen mit Datumskästchen). */

@font-face { font-family: 'Germania One'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('fonts/germania-one-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 700; font-display: swap;
    src: url('fonts/playfair-display-italic-latin.woff2') format('woff2'); }

:root {
    --tinte: #17201a;
    --text: #111;
    --grau: #5b5f57;
    --grau-hell: #8a9087;
    --linie: #e7ebe4;
    --feld: #f4f6f2;
    --gruen: #83c63d;
    --gruen-tief: #4f7d22;
    --gruen-hauch: #f1f7ea;
    --blau: #253c4a;
    --rot: #b3261e;
    --rot-hauch: #fcf0ef;
    --gelb-hauch: #fdf6e7;
    --pill-blue: #64b5f6;
    --pill-green: #81c784;
    --pill-orange: #ffb74d;
    --pill-purple: #ba68c8;
    --schatten: 0 12px 34px rgba(23, 32, 26, .08);
    --schatten-hoch: 0 20px 48px rgba(23, 32, 26, .14);
    --breite: 600px;
    color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; min-height: 100vh; display: flex; flex-direction: column;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.55;
    color: var(--tinte); background: #fff;
    -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: var(--gruen-tief); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--text); }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; border-radius: 6px; }
.leise { color: var(--grau); }
.klein { font-size: .85rem; }
.fett { font-weight: 650; }
.mitte { text-align: center; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
.symbol { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }

/* ---------- Kopf: hell, Wappen und Wortmarke wie auf der Website */
.kopf {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
    box-shadow: 0 1px 0 var(--linie);
    padding-top: env(safe-area-inset-top);
}
.kopf-innen { max-width: var(--breite); margin: 0 auto; height: 64px; padding: 0 20px; display: flex; align-items: center; gap: 12px; }
.wortmarke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinte); }
.wortmarke img { width: 30px; height: 30px; object-fit: contain; }
.wortmarke span { font-family: 'Germania One', serif; font-size: 1.45rem; letter-spacing: .5px; white-space: nowrap; }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.kopf-rechts a { color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 500; }
.kopf-rechts a:hover { color: var(--gruen-tief); }

/* ---------- Gerüst */
main.inhalt { flex: 1; width: 100%; max-width: var(--breite); margin: 0 auto; padding: 28px 20px 56px; }
.lade { text-align: center; color: var(--grau-hell); padding: 80px 0; }

/* Begrüßung (Anmeldung) */
.empfang { text-align: center; padding: 18px 0 30px; }
.empfang .wappen { width: 88px; height: 88px; object-fit: contain; margin: 0 auto 18px; display: block; filter: drop-shadow(0 8px 18px rgba(23, 32, 26, .14)); }
.oberzeile { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gruen-tief); margin: 0 0 10px; }
.empfang h1 { font-family: 'Germania One', serif; font-weight: 400; font-size: clamp(2.5rem, 11vw, 3.4rem); letter-spacing: -.5px; line-height: 1; margin-bottom: 10px; }
.akzent { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: var(--gruen-tief); font-size: 1.25rem; margin: 0 0 18px; }
.einleitung { color: var(--grau); max-width: 440px; margin: 0 auto; }

.formular {
    border: 1px solid var(--linie); border-radius: 20px; padding: 26px 22px 22px; background: #fff;
    box-shadow: var(--schatten);
}
label { display: block; font-weight: 600; font-size: .85rem; margin: 0 0 6px; color: var(--text); }
.feld + .feld { margin-top: 16px; }
input {
    width: 100%; height: 52px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--text);
    background: #fff; border: 1px solid #d9dfd5; border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: #a3a99f; }
input:focus { outline: none; border-color: var(--gruen-tief); box-shadow: 0 0 0 4px rgba(131, 198, 61, .22); }
input[type=search] { height: 46px; background: var(--feld); border-color: transparent; }
.fussnote { font-size: .8rem; color: var(--grau-hell); text-align: center; margin: 16px 0 0; line-height: 1.5; }

/* Knöpfe: schwarze Pille mit grünem Punkt (Website), zweite Wahl weiß mit Haarlinie */
.knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--tinte); color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: .2px;
    text-decoration: none; white-space: nowrap;
    box-shadow: 0 10px 24px rgba(23, 32, 26, .2);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
/* Knöpfe ohne grünen Punkt (Hermann, 22.11.2026); den Punkt trägt nur „Mitglied werden“ auf der Website */
.knopf:hover { background: #0f1712; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(23, 32, 26, .26); }
.knopf:active { transform: translateY(0) scale(.99); }
.knopf:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.knopf.breit { width: 100%; margin-top: 22px; }
.knopf.zweit { background: #fff; color: var(--text); box-shadow: none; border: 1px solid #d9dfd5; }
.knopf.zweit:hover { background: var(--feld); }
.knopf.klein { min-height: 40px; padding: 0 18px; font-size: .88rem; box-shadow: none; }
.knopf .symbol { width: 22px; height: 22px; }
.textknopf { background: none; border: 0; padding: 4px 2px; color: var(--gruen-tief); font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(79, 125, 34, .35); text-underline-offset: 3px; }
.textknopf:hover { text-decoration-color: currentColor; }
.textknopf:disabled { color: var(--grau-hell); text-decoration: none; cursor: default; }

/* Hinweise: ruhig, mit Randstrich statt bunter Kästen */
.hinweis { border-left: 3px solid var(--gruen); background: var(--gruen-hauch); padding: 12px 16px; border-radius: 0 12px 12px 0; font-size: .92rem; color: var(--tinte); margin: 0 0 18px; }
.hinweis.warn { border-color: #e0a21c; background: var(--gelb-hauch); }
.hinweis.fehler { border-color: var(--rot); background: var(--rot-hauch); color: #7a1912; }
.hinweis p { margin: 0 0 .35em; }
.hinweis p:last-child { margin: 0; }
.hinweis ul { margin: 4px 0 0; padding-left: 18px; }
.hinweis a { color: inherit; font-weight: 650; }

/* ---------- Angemeldet */
.ich-zeile { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--grau); margin: 0 0 18px; }
.ich-zeile b { color: var(--text); font-weight: 650; }
.name-form { display: flex; gap: 8px; margin: -6px 0 20px; }
.name-form .knopf { min-height: 52px; }
.umschalter { display: flex; background: var(--feld); border-radius: 999px; padding: 4px; margin: 0 0 30px; }
.umschalter a { flex: 1; text-align: center; padding: 10px 12px; border-radius: 999px; text-decoration: none; color: var(--grau); font-weight: 600; font-size: .95rem; }
.umschalter a[aria-current=page] { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(23, 32, 26, .08); }

.abschnitt { margin: 0 0 28px; }
.abschnitt-titel { font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; margin: 0 0 6px; }
.abschnitt-unter { color: var(--grau); margin: 0 0 18px; font-size: .95rem; }

/* Veranstaltungen als Zeilen (wie das Semesterprogramm der Website) */
.termine-wahl { border-top: 1px solid var(--linie); }
.termin-knopf {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 4px; margin: 0;
    background: none; border: 0; border-bottom: 1px solid var(--linie); text-align: left; color: inherit; cursor: pointer;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background .15s;
}
.termin-knopf:hover { background: #fafbf9; }
.termin-knopf:active { background: var(--gruen-hauch); }
.datum-kachel { flex: none; width: 54px; height: 58px; border-radius: 12px; background: var(--feld); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.datum-kachel b { font-size: 1.35rem; font-weight: 800; color: var(--text); }
.datum-kachel span { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grau-hell); margin-top: 5px; }
.punkt { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--pill-green); }
.f-blue { background: var(--pill-blue); }
.f-green { background: var(--pill-green); }
.f-orange { background: var(--pill-orange); }
.f-purple { background: var(--pill-purple); }
.termin-text { flex: 1; min-width: 0; }
.termin-text .t { display: block; font-weight: 650; font-size: 1rem; color: var(--text); line-height: 1.3; }
.termin-text .o { display: block; font-size: .82rem; color: var(--grau); margin-top: 3px; line-height: 1.35; }
.termin-knopf .pfeil { width: 18px; height: 18px; color: #b9beb5; flex: none; }
.heute { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--gruen-tief); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; vertical-align: 2px; }
.monat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grau-hell); margin: 26px 4px 8px; }
.mehr { display: block; margin: 18px auto 0; }
#alle input[type=search] { margin: 18px 0 4px; }
.anderer-anlass { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 22px 0 0; padding: 16px; border: 1px dashed #c9d0c4; border-radius: 14px; background: none; color: var(--gruen-tief); font-weight: 650; cursor: pointer; }
.anderer-anlass:hover { background: var(--gruen-hauch); border-color: var(--gruen-tief); }
.frei-form { margin-top: 18px; padding: 20px; border-radius: 16px; background: var(--feld); }
.frei-form input { background: #fff; }

/* Gewählte Veranstaltung und der große Knopf */
.gewaehlt { border: 1px solid var(--linie); border-radius: 20px; padding: 18px; box-shadow: var(--schatten); }
.gewaehlt-zeile { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.gewaehlt .knopf { width: 100%; min-height: 60px; font-size: 1.05rem; }
.knopf-hinweis { font-size: .82rem; color: var(--grau-hell); text-align: center; margin: 12px 0 0; }
@media (hover: none) { .nur-maus { display: none; } }

/* Fortschritt und Kacheln */
.fortschritt { margin-top: 26px; }
.gesamt-leiste { position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 5; background: #fff; padding: 12px 0 14px; margin-bottom: 8px; box-shadow: 0 1px 0 var(--linie); }
.gesamt-zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; font-size: .92rem; }
.gesamt-zeile span { white-space: nowrap; }
.balken { height: 6px; border-radius: 3px; background: var(--feld); overflow: hidden; margin-top: 10px; }
.balken > div { height: 100%; width: 0; background: var(--gruen); border-radius: 3px; transition: width .25s ease; }
.gesamt-leiste p { margin: 8px 0 0; font-size: .8rem; color: var(--grau-hell); }
.up-kacheln { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.up-kachel { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--feld); }
.up-kachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.up-kachel .platzhalter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; color: var(--grau-hell); text-align: center; }
.up-kachel.video .platzhalter { background: var(--tinte); color: rgba(255, 255, 255, .85); }
.up-kachel .platzhalter .symbol { width: 26px; height: 26px; }
.up-kachel .dateiname { font-size: .62rem; line-height: 1.25; word-break: break-all; max-height: 2.5em; overflow: hidden; }
.up-kachel.mit-bild .platzhalter { display: none; }
.up-kachel .schleier { position: absolute; inset: 0; background: rgba(255, 255, 255, .6); transition: background .3s; }
.up-kachel.laeuft .schleier { background: rgba(255, 255, 255, .25); }
.up-kachel.fertig .schleier, .up-kachel.doppelt .schleier { background: transparent; }
.up-kachel.fehler .schleier { background: rgba(122, 25, 18, .5); }
.up-kachel.fehler:not(.geht-nicht) { cursor: pointer; }
.up-kachel .balken { position: absolute; left: 8px; right: 8px; bottom: 8px; margin: 0; height: 4px; background: rgba(23, 32, 26, .22); }
.up-kachel.fertig .balken, .up-kachel.doppelt .balken, .up-kachel.fehler .balken { display: none; }
.up-kachel .zeichen { position: absolute; right: 7px; bottom: 7px; width: 26px; height: 26px; border-radius: 50%; display: none; align-items: center; justify-content: center; color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .28); }
.up-kachel .zeichen .symbol { width: 15px; height: 15px; }
.up-kachel.fertig .zeichen { display: flex; background: var(--gruen-tief); }
.up-kachel.doppelt .zeichen { display: flex; background: var(--blau); }
.up-kachel.fehler .zeichen { display: flex; background: var(--rot); }
.up-kachel .weg { position: absolute; top: 5px; right: 5px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(23, 32, 26, .6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.up-kachel .weg .symbol { width: 14px; height: 14px; }
.up-kachel.fertig .weg, .up-kachel.doppelt .weg { display: none; }

/* Abschluss */
.abschluss { text-align: center; padding: 34px 20px 8px; margin-top: 26px; border-top: 1px solid var(--linie); }
.abschluss .haken { width: 64px; height: 64px; border-radius: 50%; background: var(--gruen-hauch); color: var(--gruen-tief); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.abschluss .haken .symbol { width: 30px; height: 30px; }
.abschluss h2 { font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; margin-bottom: 8px; }
.abschluss p { color: var(--grau); max-width: 420px; margin: 0 auto 22px; }
.aktionen { display: grid; gap: 10px; }
.aktionen .knopf { width: 100%; }

/* ---------- Archiv */
.archiv-stand { font-size: .85rem; color: var(--grau-hell); margin: -10px 0 8px; }
h2.jahr { font-family: 'Germania One', serif; font-weight: 400; font-size: 2rem; letter-spacing: .5px; margin: 26px 0 14px; }
.alben { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
@media (min-width: 560px) { .alben { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.album { display: block; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.album .deckblatt { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--feld); display: flex; align-items: center; justify-content: center; color: var(--grau-hell); transition: transform .2s ease, box-shadow .2s ease; }
.album .deckblatt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.album .deckblatt .symbol { width: 28px; height: 28px; }
.album:hover .deckblatt { transform: translateY(-2px); box-shadow: var(--schatten-hoch); }
.album .t { display: block; font-weight: 650; font-size: .95rem; line-height: 1.3; margin-top: 10px; color: var(--text); }
.album .d { display: block; font-size: .78rem; color: var(--grau); margin-top: 2px; }
.album-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 22px; flex-wrap: wrap; }
.zurueck { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: var(--grau); font-weight: 600; cursor: pointer; }
.zurueck:hover { color: var(--text); }
.zurueck .symbol { width: 18px; height: 18px; }
.album-titel { font-size: 1.7rem; font-weight: 750; letter-spacing: -.02em; margin: 0 0 4px; }
.album-info { color: var(--grau); font-size: .88rem; margin: 0 0 20px; }
.album-info .akzent { font-size: 1rem; margin: 0; display: inline; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 4px; }
.kachel { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--feld); border: 0; padding: 0; cursor: pointer; }
.kachel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.kachel:hover img { transform: scale(1.04); }
.kachel .ohne { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; font-size: .62rem; color: var(--grau-hell); word-break: break-all; text-align: center; }
.kachel.video .ohne { background: var(--tinte); color: rgba(255, 255, 255, .85); }
.kachel .ohne .symbol { width: 26px; height: 26px; }
.leer { text-align: center; color: var(--grau); padding: 40px 10px; }
.leer .akzent { display: block; margin-bottom: 6px; }

/* Großansicht: oben Zurück und Kreuz, Pfeile seitlich am Bild, unten Dateiname und Herunterladen */
/* Mattglas: das Archiv dahinter bleibt stark verschwommen und abgedunkelt sichtbar */
.leuchtkasten {
    position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; color: #fff;
    background: rgba(10, 13, 11, .74);
    -webkit-backdrop-filter: blur(32px) saturate(170%) brightness(.6); backdrop-filter: blur(32px) saturate(170%) brightness(.6);
    animation: lk-auf .22s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .leuchtkasten { background: rgba(10, 13, 11, .96); }
}
@keyframes lk-auf { from { opacity: 0; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); } to { opacity: 1; } }
.lk-kopf, .lk-fuss { background: rgba(255, 255, 255, .04); }
.lk-kopf { box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.lk-fuss { box-shadow: 0 -1px 0 rgba(255, 255, 255, .06); }
.lk-kopf { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; }
.lk-zurueck { justify-self: start; display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px 0 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; }
.lk-zurueck:hover { background: rgba(255, 255, 255, .14); }
.lk-zurueck .symbol { width: 20px; height: 20px; }
.lk-zaehler { font-size: .85rem; color: #aeb5ad; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.lk-kopf .rund { justify-self: end; }
.lk-mitte { position: relative; flex: 1; min-height: 0; display: flex; padding: 4px 76px; cursor: zoom-out; }
.leuchtkasten .buehne { flex: 1; min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; }
.leuchtkasten .buehne img, .leuchtkasten .buehne video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; cursor: default; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.leuchtkasten .buehne p { color: #cdd3cc; max-width: 320px; text-align: center; cursor: default; }
.lk-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, transform .15s; -webkit-tap-highlight-color: transparent; }
.lk-pfeil:hover { background: rgba(255, 255, 255, .18); }
.lk-pfeil:active { transform: translateY(-50%) scale(.94); }
.lk-pfeil.links { left: 14px; }
.lk-pfeil.rechts { right: 14px; }
.lk-pfeil .symbol { width: 24px; height: 24px; }
.lk-fuss { display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); }
.lk-text { flex: 1; min-width: 0; }
.lk-von { font-size: .95rem; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-info { font-size: .78rem; color: #8f978e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.rund { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rund:hover { background: rgba(255, 255, 255, .14); }
.rund .symbol { width: 20px; height: 20px; }
.leuchtkasten .knopf.zweit { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); min-height: 42px; }
.leuchtkasten .knopf.zweit:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 640px) {
    /* Handy: Bild nutzt die volle Breite, die Pfeile liegen halbtransparent auf dem Bildrand */
    .lk-mitte { padding: 4px 0; }
    .lk-pfeil { width: 44px; height: 44px; background: rgba(9, 12, 10, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
    .lk-pfeil.links { left: 8px; }
    .lk-pfeil.rechts { right: 8px; }
    .leuchtkasten .buehne img, .leuchtkasten .buehne video { border-radius: 0; box-shadow: none; }
}

/* ---------- Fuß */
.fuss { text-align: center; padding: 34px 20px calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linie); color: var(--grau-hell); font-size: .8rem; }
.fuss .wahlspruch { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: var(--gruen-tief); font-size: 1.05rem; margin: 0 0 6px; }
.fuss .langname { letter-spacing: .02em; margin: 0 0 14px; }
.fuss nav { display: flex; justify-content: center; gap: 20px; }
.fuss a { color: var(--grau); text-decoration: none; font-weight: 500; }
.fuss a:hover { color: var(--text); }

/* Toast und Ziehen */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--tinte); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--schatten-hoch); z-index: 100; max-width: calc(100vw - 32px); font-size: .9rem; }
.toast.fehler { background: var(--rot); }
.zieh-hinweis { position: fixed; inset: 14px; z-index: 60; border: 2px dashed var(--gruen-tief); border-radius: 22px; background: rgba(241, 247, 234, .94); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; color: var(--gruen-tief); pointer-events: none; }

/* ---------- Einrichten */
.einrichten { max-width: 520px; }
.selbsttest { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--linie); }
.selbsttest li { display: flex; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--linie); font-size: .92rem; }
.selbsttest li b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; color: #fff; background: var(--gruen-tief); }
.selbsttest li.nein b { background: var(--rot); }
.selbsttest li.nein { color: #7a1912; }
.selbsttest .klein { color: var(--grau); }

@media (max-width: 380px) {
    .wortmarke span { font-size: 1.25rem; }
    .kopf-rechts { gap: 12px; }
    main.inhalt { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.nowrap { white-space: nowrap; }
