/* 20 Jahre Abi – öffentliche Seite. Ein dunkles Erscheinungsbild: Winterabend in Bautzen. */

/* ---------- Grundwerte ---------- */
:root {
    color-scheme: dark;

    /* Schriften: hier gegen eigene Schriftdateien tauschbar */
    --schrift-titel: "Avenir Next Condensed", "Bahnschrift", "DIN Condensed", "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", system-ui, sans-serif;
    --schrift-text: "Charter", "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;

    /* Farben */
    --nacht: #0e1b3f;          /* Grund */
    --nacht-tief: #08122c;     /* Himmel oben, Eingabefelder */
    --nacht-hell: #172a58;     /* Flächen */
    --linie: #2e4580;
    --text: #edf0f8;
    --text-leise: #b0bcda;
    --licht: #ffd36e;          /* warmes Lichtgelb */
    --licht-hell: #ffe9b5;
    --licht-glanz: rgba(255, 211, 110, 0.55);
    --knopf: #ff4d6d;          /* Himbeerrot für Knöpfe */
    --knopf-schatten: #b02a46;
    --fehler: #ff9cb0;

    /* Maße */
    --rand: max(1rem, env(safe-area-inset-left));
    --breite: 60rem;
    --spalte: 44rem;
    --feld-hoehe: 3.25rem;
    --rund: 0.75rem;
    --sag: 2.6rem;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: auto;
    background: var(--nacht);
}

body {
    margin: 0;
    background: var(--nacht);
    color: var(--text);
    font-family: var(--schrift-text);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--licht); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--licht-hell); text-decoration-thickness: 2px; }

:focus-visible {
    outline: 3px solid var(--licht);
    outline-offset: 3px;
    border-radius: 4px;
}

h1, h2, h3 {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.005em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h2 {
    color: var(--licht);
    font-size: clamp(2.6rem, 11vw, 4.25rem);
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5em;
}

p { margin: 0 0 1em; }

strong { font-weight: 700; color: var(--licht-hell); }

.vortext {
    font-size: 1.2rem;
    line-height: 1.55;
    max-width: 36em;
}

.leise {
    color: var(--text-leise);
    font-size: 0.95rem;
}

.lockfeld { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Auftakt ---------- */
.auftakt {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: min(100svh, 58rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--sag) + 3.5rem) var(--rand) clamp(8.5rem, 24vw, 15rem);
    background:
        radial-gradient(120% 55% at 70% 100%, rgba(255, 190, 110, 0.20), transparent 60%),
        radial-gradient(80% 40% at 15% 95%, rgba(255, 77, 109, 0.12), transparent 70%),
        linear-gradient(180deg, var(--nacht-tief) 0%, #0c1a42 45%, #1b3170 100%);
}

/* Sterne */
.auftakt::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 27% 38%, #dfe6ff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 41% 14%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 55% 31%, #fff 50%, transparent 51%),
        radial-gradient(2px 2px at 68% 19%, #fff6d8 50%, transparent 51%),
        radial-gradient(1px 1px at 79% 41%, #dfe6ff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 88% 26%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 94% 12%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 7% 47%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 35% 55%, #dfe6ff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 62% 52%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 84% 58%, #fff 50%, transparent 51%);
    opacity: 0.7;
}

.auftakt.mit-bild {
    background:
        linear-gradient(180deg, #10204f 0%, rgba(16, 32, 79, 0.9) 45%, rgba(16, 32, 79, 0) 72%, rgba(14, 27, 63, 0.35) 100%),
        url("../bild/auftakt.webp") center bottom / max(100%, 40rem) auto no-repeat,
        #10204f;
}
.auftakt.mit-bild::before { display: none; }
/* Mit Bild entfällt die gezeichnete Ersatz-Silhouette, sonst liegt sie vor den Türmen. */
.auftakt.mit-bild .skyline { display: none; }

.auftakt-innen {
    position: relative;
    width: 100%;
    max-width: var(--breite);
    margin-inline: auto;
}

.auftakt-schule {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 600;
    font-size: clamp(1.05rem, 4.2vw, 1.4rem);
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.auftakt-titel {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    column-gap: 0.25em;
    margin: 0 0 1.5rem;
    line-height: 0.8;
}

.titel-zahl {
    font-size: clamp(10rem, 56vw, 19rem);
    color: var(--licht);
    letter-spacing: -0.045em;
    margin-left: -0.05em;
    text-shadow: 0 0 18px rgba(255, 200, 90, 0.35), 0 0 60px rgba(255, 180, 80, 0.16);
}

.titel-wort {
    font-size: clamp(3rem, 15vw, 7.5rem);
    color: var(--text);
    padding-bottom: 0.08em;
    letter-spacing: -0.01em;
}

.auftakt-wann {
    font-size: clamp(1.15rem, 4.6vw, 1.45rem);
    line-height: 1.45;
    max-width: 30em;
    margin-bottom: 1.25rem;
}

.countdown {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.countdown-zahl {
    font-size: 2.6em;
    font-weight: 800;
    color: var(--licht);
    line-height: 1;
    vertical-align: -0.12em;
    margin-inline: 0.08em;
}

.auftakt-aktion { margin: 0.5rem 0 0; }

/* Lichterkette */
.lichterkette {
    --sag: 2.6rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--sag) + 2rem);
    pointer-events: none;
}
.draht {
    position: absolute;
    top: calc(var(--sag) * -1);
    height: calc(var(--sag) * 2);
    width: 50%;
    border-bottom: 1.5px solid rgba(220, 228, 255, 0.28);
    border-radius: 50%;
}
.draht:nth-child(1) { left: 0; }
.draht:nth-child(2) { left: 50%; }

.birne {
    position: absolute;
    width: 0.5rem;
    height: 0.75rem;
    margin-left: -0.25rem;
    margin-top: 0.05rem;
    border-radius: 50% 50% 45% 45% / 40% 40% 60% 60%;
    background: radial-gradient(circle at 50% 65%, #fff8e2 0 25%, var(--licht) 60%);
    box-shadow: 0 0 0.5rem 0.15rem var(--licht-glanz), 0 0 1.6rem 0.4rem rgba(255, 200, 90, 0.18);
}
.birne::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -0.2rem;
    width: 0.3rem;
    height: 0.25rem;
    margin-left: -0.15rem;
    border-radius: 1px;
    background: #44507a;
}
.birne:nth-child(3n) { background: radial-gradient(circle at 50% 65%, #fff 0 30%, #fff1cc 70%); }

.birne:nth-child(3) { left: 3.125%; top: calc(var(--sag) * 0.484); }
.birne:nth-child(4) { left: 9.375%; top: calc(var(--sag) * 0.781); }
.birne:nth-child(5) { left: 15.625%; top: calc(var(--sag) * 0.927); }
.birne:nth-child(6) { left: 21.875%; top: calc(var(--sag) * 0.992); }
.birne:nth-child(7) { left: 28.125%; top: calc(var(--sag) * 0.992); }
.birne:nth-child(8) { left: 34.375%; top: calc(var(--sag) * 0.927); }
.birne:nth-child(9) { left: 40.625%; top: calc(var(--sag) * 0.781); }
.birne:nth-child(10) { left: 46.875%; top: calc(var(--sag) * 0.484); }
.birne:nth-child(11) { left: 53.125%; top: calc(var(--sag) * 0.484); }
.birne:nth-child(12) { left: 59.375%; top: calc(var(--sag) * 0.781); }
.birne:nth-child(13) { left: 65.625%; top: calc(var(--sag) * 0.927); }
.birne:nth-child(14) { left: 71.875%; top: calc(var(--sag) * 0.992); }
.birne:nth-child(15) { left: 78.125%; top: calc(var(--sag) * 0.992); }
.birne:nth-child(16) { left: 84.375%; top: calc(var(--sag) * 0.927); }
.birne:nth-child(17) { left: 90.625%; top: calc(var(--sag) * 0.781); }
.birne:nth-child(18) { left: 96.875%; top: calc(var(--sag) * 0.484); }

/* Altstadt-Silhouette: Dom, schiefer Reichenturm, Wasserkunst, Lauenturm */
.skyline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(8rem, 22vw, 13rem);
    z-index: -1;
}
.skyline-hinten { fill: #15295a; }
.skyline-vorn { fill: var(--nacht); }
.fenster { fill: var(--licht); opacity: 0.85; }

/* ---------- Knöpfe ---------- */
.knopf,
.knopf-zweit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: var(--feld-hoehe);
    padding: 0.5rem 1.6rem;
    border-radius: 999px;
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
}

.knopf {
    border: 0;
    background: var(--knopf);
    color: var(--nacht-tief);
    box-shadow: 0 0.3rem 0 var(--knopf-schatten), 0 0.6rem 1.6rem rgba(255, 77, 109, 0.28);
}
.knopf:hover { color: var(--nacht-tief); background: #ff6682; text-decoration: none; }
.knopf:active { box-shadow: 0 0.1rem 0 var(--knopf-schatten); transform: translateY(0.2rem); }

.knopf-gross {
    min-height: 3.75rem;
    padding-inline: 2.1rem;
    font-size: 1.45rem;
}

.knopf-zweit {
    background: transparent;
    color: var(--licht);
    border: 1.5px solid var(--licht);
}
.knopf-zweit:hover { background: rgba(255, 211, 110, 0.1); color: var(--licht-hell); text-decoration: none; }

.knopf-absage { color: var(--text); border-color: var(--text-leise); }
.knopf-absage:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

/* ---------- Schilder und Hinweise ---------- */
.schild {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
    background: rgba(255, 211, 110, 0.14);
    color: var(--licht-hell);
    border: 1px solid rgba(255, 211, 110, 0.4);
    white-space: nowrap;
    vertical-align: middle;
}
.schild-offen { background: rgba(255, 77, 109, 0.14); color: #ffc0cc; border-color: rgba(255, 77, 109, 0.55); }
.schild-abgesagt, .schild-zu { background: rgba(176, 188, 218, 0.12); color: var(--text); border-color: var(--linie); }
.schild-zu { font-size: 1.1rem; padding: 0.35rem 1rem; }

.hinweis {
    border-left: 3px solid var(--licht);
    padding: 0.35rem 0 0.35rem 0.9rem;
    color: var(--licht-hell);
}
.hinweis-ok { border-color: var(--licht); }

/* ---------- Abschnitte der Startseite ---------- */
.abschnitt {
    max-width: calc(var(--breite) + 2 * var(--rand));
    margin-inline: auto;
    padding: clamp(3.5rem, 11vw, 6.5rem) var(--rand) 0;
}
.abschnitt > * { max-width: var(--spalte); }
.abschnitt > .namen,
.abschnitt.idee > * { max-width: none; }
.start > .abschnitt:last-child { padding-bottom: clamp(3.5rem, 11vw, 6.5rem); }

/* Die Idee */
.idee-bild {
    margin: 2rem 0 0;
}
.idee-bild img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--rund);
}

/* Stimmungsbild vor der Anmeldung */
.abschnitt.bild-band > img {
    max-width: none;
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: var(--rund);
}

.damals {
    position: relative;
    margin-top: 2.5rem;
    padding-top: 0.5rem;
}
.damals-jahr {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 800;
    font-size: clamp(6.5rem, 34vw, 12rem);
    line-height: 0.8;
    letter-spacing: -0.03em;
    white-space: nowrap;
    margin: 0 0 0.75rem -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--licht);
    text-stroke: 1.5px var(--licht);
    opacity: 0.9;
}
.damals-text {
    max-width: 24em;
    color: var(--text-leise);
    font-style: italic;
    margin: 0;
}

/* Wann? */
.abende {
    list-style: none;
    margin: 2rem 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 1.1rem;
}
.abend {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "datum zahl" "balken balken";
    align-items: baseline;
    column-gap: 1rem;
    row-gap: 0.4rem;
}
.abend-datum {
    grid-area: datum;
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 1.4rem;
}
.abend-zahl {
    grid-area: zahl;
    color: var(--text-leise);
    font-size: 0.95rem;
    white-space: nowrap;
}
.abend-marke {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: var(--licht);
    color: var(--nacht-tief);
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
}
.abend-vorn .abend-datum { color: var(--licht); }
.abend-vorn .abend-zahl { color: var(--text); }

.abend-balken {
    grid-area: balken;
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 0.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(176, 188, 218, 0.14);
    overflow: hidden;
}
.abend-balken::-webkit-meter-bar {
    height: 0.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(176, 188, 218, 0.14);
}
.abend-balken::-webkit-meter-optimum-value,
.abend-balken::-webkit-meter-suboptimum-value,
.abend-balken::-webkit-meter-even-less-good-value {
    border-radius: 999px;
    background: linear-gradient(90deg, #e9a43d, var(--licht));
}
.abend-balken::-moz-meter-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, #e9a43d, var(--licht));
}
.abend-vorn .abend-balken::-webkit-meter-optimum-value { box-shadow: 0 0 0.8rem var(--licht-glanz); }
.abend-vorn .abend-balken::-moz-meter-bar { box-shadow: 0 0 0.8rem var(--licht-glanz); }

.ort-offen {
    margin-top: 2rem;
    padding-left: 0.9rem;
    border-left: 3px solid var(--linie);
}

.termin { margin: 1.5rem 0 2rem; }
.termin-datum {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 800;
    font-size: clamp(2.8rem, 13vw, 5.5rem);
    line-height: 0.95;
    color: var(--text);
    margin: 0 0 0.25rem;
}
.termin-zeit {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    color: var(--licht);
    margin: 0;
}

.ort {
    padding-left: 1rem;
    border-left: 3px solid var(--licht);
}
.ort-name {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.15;
    margin-bottom: 0.25rem;
}
.ort-adresse { color: var(--text-leise); }
.karte-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
}

/* Wer kommt? */
.zahlen {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 3rem;
    margin: 1.5rem 0 1rem;
}
.zahl {
    display: flex;
    flex-direction: column-reverse;
}
.zahl dt {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-leise);
}
.zahl dd {
    margin: 0;
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 800;
    font-size: clamp(4.5rem, 22vw, 7.5rem);
    line-height: 0.85;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.zahl:first-child dd { color: var(--licht); }

.namen {
    list-style: none;
    margin: 2rem 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
}
.namen li {
    position: relative;
    padding-left: 1rem;
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 600;
    font-size: 1.12rem;
    line-height: 1.35;
}
.namen li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--licht);
    box-shadow: 0 0 0.45rem var(--licht-glanz);
}

.leer {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    padding: 1.25rem 1.25rem 1.25rem 1.1rem;
    border-radius: var(--rund);
    border: 1.5px dashed rgba(255, 211, 110, 0.45);
    color: var(--licht-hell);
}

/* Anmeldung */
.formular-flaeche {
    margin-top: 2rem;
    padding: 1.5rem 1.1rem 1.75rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, var(--nacht-hell), #132450);
    border: 1px solid var(--linie);
    box-shadow: 0 1.5rem 3rem rgba(3, 8, 24, 0.45);
}
.geschlossen {
    margin-top: 1.5rem;
    padding: 1.5rem 1.25rem;
    border-radius: var(--rund);
    border: 1.5px solid var(--linie);
    background: var(--nacht-hell);
}
.geschlossen p:last-child { margin-bottom: 0; }

/* Gebühr */
.betrag {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.75rem;
    margin: 1rem 0 1.5rem;
}
.betrag-zahl {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 800;
    font-size: clamp(3.2rem, 15vw, 5rem);
    line-height: 0.9;
    color: var(--text);
}
.betrag-je {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--licht);
}

/* Fragen und Antworten */
.fragen details {
    border-bottom: 1px solid var(--linie);
}
.fragen details:first-of-type { border-top: 1px solid var(--linie); margin-top: 1.5rem; }
.fragen summary {
    position: relative;
    display: block;
    list-style: none;
    cursor: pointer;
    min-height: 3.5rem;
    padding: 0.95rem 2.75rem 0.95rem 0;
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.2;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
    content: "";
    position: absolute;
    right: 0.4rem;
    top: 1.15rem;
    width: 1.1rem;
    height: 1.1rem;
    background:
        linear-gradient(var(--licht), var(--licht)) center / 100% 2px no-repeat,
        linear-gradient(var(--licht), var(--licht)) center / 2px 100% no-repeat;
}
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen summary:hover { color: var(--licht-hell); }
.fragen details p { max-width: 36em; padding-bottom: 0.5rem; }

/* ---------- Formular ---------- */
.feld { margin: 0 0 1.25rem; }
.feld > label,
fieldset > legend {
    display: block;
    margin-bottom: 0.4rem;
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.25;
    color: var(--text);
}

/* Eine gemeinsame Regel: Textfelder und Auswahllisten exakt gleich hoch */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
    display: block;
    width: 100%;
    height: var(--feld-hoehe);
    margin: 0;
    padding: 0 0.95rem;
    border: 1.5px solid #3d5594;
    border-radius: 0.6rem;
    background-color: var(--nacht-tief);
    color: var(--text);
    font-family: var(--schrift-text);
    font-size: 1.0625rem;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
}
textarea {
    height: auto;
    min-height: 7rem;
    padding: 0.75rem 0.95rem;
    resize: vertical;
}
input[type="date"] { min-width: 0; max-width: 100%; }
select {
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23ffd36e' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}
input:hover:not([type="checkbox"]),
select:hover,
textarea:hover { border-color: #5671b5; }
input:not([type="checkbox"]):focus-visible,
select:focus-visible,
textarea:focus-visible {
    border-color: var(--licht);
    outline: 3px solid rgba(255, 211, 110, 0.45);
    outline-offset: 1px;
}
::placeholder { color: #8090b8; }

.feld-fehler input,
.feld-fehler select,
.feld-fehler textarea { border-color: var(--knopf); }
.feld .hinweis,
fieldset .hinweis {
    margin: 0.45rem 0 0;
    border-left-color: var(--knopf);
    color: var(--fehler);
    font-size: 0.95rem;
}

legend { padding: 0; }
fieldset {
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
    min-width: 0;
}
.feld-hilfe {
    margin: -0.2rem 0 0.75rem;
    color: var(--text-leise);
    font-size: 0.95rem;
}
.wahl-gruppe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.wahl {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0.4rem 1.1rem 0.4rem 0.85rem;
    border: 1.5px solid #3d5594;
    border-radius: 999px;
    background: var(--nacht-tief);
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
}
.wahl:hover { border-color: #5671b5; }
.wahl:has(input:checked) {
    border-color: var(--licht);
    background: rgba(255, 211, 110, 0.13);
    color: var(--licht-hell);
}
.wahl:has(input:focus-visible) { outline: 3px solid var(--licht); outline-offset: 2px; }
.wahl input:focus-visible { outline: none; }

input[type="checkbox"] {
    width: 1.35rem;
    height: 1.35rem;
    margin: 0;
    flex: none;
    accent-color: var(--licht);
    cursor: pointer;
}

.feld-haken { margin-bottom: 0.75rem; }
.feld-haken .feld-hilfe { margin: 0 0 0.5rem 2rem; }   /* Beispielzeile unter dem Haken, bündig mit dem Text */
.feld > .haken {
    font-family: var(--schrift-text);
    font-stretch: normal;
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 2.75rem;
    padding: 0.55rem 0;
    line-height: 1.45;
    cursor: pointer;
}
.haken input { margin-top: 0.1rem; }

.feld-paar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.formular-ende { margin: 1.75rem 0 0; }
.formular-ende .knopf { width: 100%; }

/* ---------- Unterseiten ---------- */
.kopf {
    padding: 1.1rem var(--rand);
    border-bottom: 1px solid rgba(46, 69, 128, 0.7);
    background: linear-gradient(180deg, var(--nacht-tief), var(--nacht));
}
.marke {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.4rem;
    min-height: 2.75rem;
    color: var(--text);
    text-decoration: none;
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.1;
}
.marke:hover { color: var(--text); text-decoration: none; }
.marke-zahl {
    font-weight: 800;
    font-size: 2.1rem;
    color: var(--licht);
    line-height: 0.9;
}
.marke-zusatz {
    flex-basis: 100%;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-leise);
}

.seite-unter main {
    max-width: calc(40rem + 2 * var(--rand));
    margin-inline: auto;
    padding: clamp(2.5rem, 8vw, 4.5rem) var(--rand) clamp(3rem, 9vw, 5rem);
}
.seite-unter h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
    color: var(--licht);
}
.seite-unter main > h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); color: var(--text); margin-top: 2rem; }

.recht h2 { color: var(--licht-hell); }
.recht address { font-style: normal; margin-bottom: 1rem; }

.schritte {
    margin: 2rem 0;
    padding: 0;
    list-style: none;
    counter-reset: schritt;
    display: grid;
    gap: 1rem;
}
.schritte li {
    counter-increment: schritt;
    position: relative;
    padding-left: 3.25rem;
    min-height: 2.25rem;
}
.schritte li::before {
    content: counter(schritt);
    position: absolute;
    left: 0;
    top: -0.1rem;
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1.5px solid var(--licht);
    color: var(--licht);
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 800;
    font-size: 1.2rem;
}

/* Persönliche Seite */
.meine-wer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.9rem;
    margin-bottom: 1.75rem;
}
.meine-name {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 1.5rem;
}
.meine-personen { color: var(--text-leise); }

.karte {
    margin: 0 0 1.25rem;
    padding: 1.4rem 1.1rem 1.5rem;
    border-radius: 1.1rem;
    background: var(--nacht-hell);
    border: 1px solid var(--linie);
}
.karte h2 {
    font-size: 1.85rem;
    color: var(--licht);
    margin-bottom: 0.75rem;
}
.karte h3 { color: var(--text); font-size: 1.35rem; }
.karte > :last-child,
.karte form > :last-child { margin-bottom: 0; }
.karte-kopf {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}
.karte-kopf h2 { margin: 0; }
.karte-beitrag { border-color: rgba(255, 211, 110, 0.45); }
.karte-aktuell { border-color: rgba(255, 211, 110, 0.45); }
.karte-aktuell h2 { font-size: 1.35rem; }
.karte-ablauf p:last-child, .karte-aktuell p:last-child { margin-bottom: 0; }
.karte-kasse { padding-block: 1rem; }
.kasse-zeile { font-weight: 700; color: var(--licht-hell); }

/* Freitexte der Organisation (Ablauf, Aktuelles, Gebühr) */
.frei-text p:last-child { margin-bottom: 0; }
.aktuelles {
    background: var(--nacht-hell);
    border-block: 1px solid rgba(255, 211, 110, 0.45);
    padding: 1.1rem var(--rand);
}
.aktuelles-innen {
    max-width: var(--breite);
    margin-inline: auto;
}
.aktuelles-innen > p { max-width: var(--spalte); }
.aktuelles-innen > p:last-child { margin-bottom: 0; }
.aktuelles-kopf {
    margin-bottom: 0.35rem;
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--licht);
}

.angaben { margin: 0 0 1rem; display: grid; gap: 0.75rem; }
.angaben > div { display: grid; gap: 0.1rem; }
.angaben dt {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-leise);
}
.angaben dd { margin: 0; font-size: 1.1rem; }
.angabe-gross dd {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--licht);
}

.kopierbar {
    display: inline-block;
    padding: 0.35rem 0.6rem;
    border-radius: 0.4rem;
    background: var(--nacht-tief);
    border: 1px solid var(--linie);
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--text);
    -webkit-user-select: all;
    user-select: all;
    overflow-wrap: anywhere;
}
.kopieren {
    margin-left: 0.5rem;
    min-height: 2.75rem;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    border: 1.5px solid var(--linie);
    background: transparent;
    color: var(--licht);
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    vertical-align: middle;
}
.kopieren:hover { border-color: var(--licht); }

.absage {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--linie);
}
.absage h2 { font-size: 1.5rem; color: var(--text); }

/* ---------- Fotos von damals ---------- */
/* Dateifeld: gleiche Höhe und Rahmen wie die übrigen Felder, der Knopf darin im Ton der Seite */
input[type="file"] {
    padding: 0 0.5rem 0 0.4rem;
    line-height: calc(var(--feld-hoehe) - 3px);
    color: var(--text-leise);
    cursor: pointer;
}
input[type="file"]::file-selector-button {
    margin: 0 0.8rem 0 0;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--licht);
    border-radius: 0.45rem;
    background: transparent;
    color: var(--licht);
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
}
input[type="file"]:hover::file-selector-button { background: rgba(255, 211, 110, 0.1); }

.foto-liste,
.galerie {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    gap: 1rem 0.75rem;
}
.foto-liste > li,
.galerie > li { min-width: 0; }
.foto-bild {
    display: block;
    border-radius: 0.6rem;
    overflow: hidden;
    background: var(--nacht-tief);
    border: 1px solid var(--linie);
}
.foto-bild img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;   /* Vorschauen sind Quadrate; ältere, nicht quadratische werden mittig beschnitten */
    object-fit: cover;
}
.foto-bild:hover { border-color: var(--licht); }
.foto-text { margin: 0.45rem 0 0; font-size: 0.95rem; line-height: 1.35; overflow-wrap: anywhere; }
.foto-von { margin: 0.15rem 0 0; color: var(--text-leise); font-size: 0.9rem; }
.foto-eintrag form { margin: 0.5rem 0 0; }
.foto-eintrag .knopf-zweit { min-height: 2.5rem; padding: 0.3rem 1.1rem; font-size: 1.05rem; }
.foto-alle { margin: 1.25rem 0 0; }
.karte-fotos input[type="file"],
.karte-fotos input[type="text"] { max-width: 100%; }

/* ---------- Fuß ---------- */
.fuss {
    border-top: 1px solid rgba(46, 69, 128, 0.7);
    background: var(--nacht-tief);
    padding: 2.75rem var(--rand) calc(2.5rem + env(safe-area-inset-bottom));
}
.fuss-innen {
    max-width: var(--breite);
    margin-inline: auto;
    color: var(--text-leise);
    font-size: 0.98rem;
}
.fuss-gruss {
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
    color: var(--licht);
}
.fuss-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.75rem;
    margin: 0;
}
.fuss-links a {
    display: inline-block;
    min-height: 2.75rem;
    padding-block: 0.55rem;
}

/* ---------- Leiste „Ich bin dabei“ (nur mit JS, nur schmal) ---------- */
.leiste { display: none; }

@media (max-width: 47.99rem) {
    .leiste:not([hidden]) {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        padding: 0.7rem var(--rand) calc(0.7rem + env(safe-area-inset-bottom));
        background: rgba(8, 18, 44, 0.94);
        border-top: 1px solid var(--linie);
        transform: translateY(110%);
        visibility: hidden;
    }
    .leiste.an { transform: none; visibility: visible; }
    .leiste .knopf { width: 100%; }
    .js .seite-start .fuss { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

/* ---------- Breitere Bildschirme ---------- */
@media (min-width: 48rem) {
    body { font-size: 1.125rem; }
    :root { --rand: 2rem; }

    .lichterkette { --sag: 4.5rem; }
    .birne { width: 0.6rem; height: 0.9rem; margin-left: -0.3rem; }

    .auftakt { padding-top: calc(4.5rem + 3rem); }
    .titel-wort { padding-bottom: 0.18em; }

    .idee {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        column-gap: 3rem;
        align-items: end;
    }
    .idee-bild { grid-column: 1 / -1; grid-row: 2; }
    .damals { margin-top: 0; padding-bottom: 1em; }
    .damals-jahr { font-size: clamp(7rem, 13vw, 10.5rem); }

    .abend {
        grid-template-columns: 11rem 1fr 9.5rem;
        grid-template-areas: "datum balken zahl";
        align-items: center;
    }
    .abend-zahl { text-align: right; }

    .formular-flaeche { padding: 2.25rem 2.25rem 2.5rem; }
    .formular-flaeche .anmeldeformular {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.25rem;
    }
    .anmeldeformular > * { grid-column: 1 / -1; }
    .anmeldeformular > div.feld:nth-of-type(-n+7) { grid-column: auto; }
    .formular-ende .knopf { width: auto; min-width: 16rem; }

    .karte { padding: 1.75rem 1.75rem 1.9rem; }
    .angaben > div { grid-template-columns: 10rem 1fr; align-items: baseline; gap: 1rem; }
    .fuss-innen { display: grid; grid-template-columns: 1fr auto; column-gap: 2rem; align-items: end; }
    .fuss-gruss { grid-column: 1 / -1; }
}

/* ---------- Bewegung (nur wenn erwünscht) ---------- */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }

    .birne {
        animation: anschalten 0.5s ease-out both, flackern 5s ease-in-out 2.2s infinite;
    }
    .birne:nth-child(3)  { animation-delay: 0.10s, 2.2s; }
    .birne:nth-child(4)  { animation-delay: 0.18s, 3.9s; }
    .birne:nth-child(5)  { animation-delay: 0.26s, 2.7s; }
    .birne:nth-child(6)  { animation-delay: 0.34s, 4.6s; }
    .birne:nth-child(7)  { animation-delay: 0.42s, 3.1s; }
    .birne:nth-child(8)  { animation-delay: 0.50s, 5.2s; }
    .birne:nth-child(9)  { animation-delay: 0.58s, 2.4s; }
    .birne:nth-child(10) { animation-delay: 0.66s, 4.1s; }
    .birne:nth-child(11) { animation-delay: 0.74s, 3.4s; }
    .birne:nth-child(12) { animation-delay: 0.82s, 5.6s; }
    .birne:nth-child(13) { animation-delay: 0.90s, 2.9s; }
    .birne:nth-child(14) { animation-delay: 0.98s, 4.4s; }
    .birne:nth-child(15) { animation-delay: 1.06s, 3.7s; }
    .birne:nth-child(16) { animation-delay: 1.14s, 5.0s; }
    .birne:nth-child(17) { animation-delay: 1.22s, 2.6s; }
    .birne:nth-child(18) { animation-delay: 1.30s, 4.8s; }

    .titel-zahl { animation: aufleuchten 1.4s ease-out 0.9s both; }

    .knopf { transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s; }
    .knopf:hover { transform: translateY(-2px); }
    .fragen summary::after { transition: transform 0.2s ease; }

    .js .zeigen {
        opacity: 0;
        transform: translateY(1.25rem);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }
    .js .zeigen.sichtbar { opacity: 1; transform: none; }

    .leiste:not([hidden]) { transition: transform 0.25s ease, visibility 0.25s; }
}

@keyframes anschalten {
    from { opacity: 0.12; box-shadow: none; }
    to { opacity: 1; }
}
@keyframes flackern {
    0%, 86%, 100% { opacity: 1; }
    90% { opacity: 0.45; }
    94% { opacity: 0.9; }
}
@keyframes aufleuchten {
    from { text-shadow: none; color: #b39348; }
    to { text-shadow: 0 0 18px rgba(255, 200, 90, 0.35), 0 0 60px rgba(255, 180, 80, 0.16); color: var(--licht); }
}

/* Nachfrage vor dem Löschen eines Fotos */
.foto-vorschau { display: block; max-width: min(100%, 24rem); height: auto; border-radius: var(--rund); }

/* ---------- Format wählen (Quer / Hoch / Quadrat): Knopfreihe aus echten Auswahlknöpfen ---------- */
.format-wahl { margin: 0 0 1.25rem; }
.format-wahl legend {
    margin: 0 0 0.45rem;
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 600;
    font-size: 1.1rem;
}
.format-gruppe { display: flex; gap: 0; max-width: 100%; }
.format-option { position: relative; flex: 1 1 0; min-width: 0; display: block; margin: 0; cursor: pointer; }
.format-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.format-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.35rem 0.4rem;
    border: 1.5px solid #3d5594;
    border-left-width: 0;
    background: var(--nacht-tief);
    font-family: var(--schrift-titel);
    font-stretch: condensed;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2;
    text-align: center;
}
.format-option:first-child span { border-left-width: 1.5px; border-radius: 0.6rem 0 0 0.6rem; }
.format-option:last-child span { border-radius: 0 0.6rem 0.6rem 0; }
.format-option:hover span { background: rgba(255, 211, 110, 0.08); }
.format-option input:checked + span {
    background: rgba(255, 211, 110, 0.18);
    color: var(--licht-hell);
    box-shadow: inset 0 0 0 1.5px var(--licht);
}
.format-option input:focus-visible + span { outline: 3px solid var(--licht); outline-offset: 2px; position: relative; z-index: 1; }

/* ---------- Bild zuschneiden (zuschnitt.js) ---------- */
.zuschnitt { margin: 0 0 1.25rem; }
.zuschnitt[hidden], .zuschnitt-notiz[hidden] { display: none; }
.zuschnitt-anleitung { margin: 0 0 0.6rem; }
.zuschnitt-leinwand {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    background: var(--nacht-tief);
    outline: 1px solid var(--linie);
    touch-action: none;
    cursor: move;
    user-select: none;
    -webkit-user-select: none;
}
.zuschnitt-leinwand:focus-visible { outline: 3px solid var(--licht); outline-offset: 3px; border-radius: 0; }
.zuschnitt-leiste { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0 0; }
.zuschnitt-knopf { min-height: 2.75rem; padding: 0.3rem 1.1rem; font-size: 1.05rem; }
.zuschnitt-mass { margin: 0.6rem 0 0; color: var(--text-leise); font-size: 0.95rem; }
.zuschnitt-notiz { margin: 0 0 1rem; }

.abstimmung-frist {
    color: var(--text-leise);
    font-size: 0.95rem;
}

/* ---------- Großansicht der Fotos (lightbox.js) ---------- */
html.lightbox-offen { overflow: hidden; }
.foto-link:focus-visible { outline: 3px solid var(--licht); outline-offset: 3px; }
dialog.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 3.75rem 0.75rem 0.75rem;
    border: 0;
    background: transparent;
    color: var(--text);
    overflow: hidden;
    cursor: default;
}
dialog.lightbox[open] { display: flex; align-items: center; justify-content: center; }
dialog.lightbox::backdrop { background: rgba(4, 8, 20, 0.96); }
.lightbox-innen {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    min-width: min(100%, 18rem);
    text-align: center;
}
.lightbox-buehne {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    touch-action: pan-y;
}
.lightbox-bild {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 14rem);
    max-height: calc(100dvh - 14rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.4rem;
}
.lightbox-bild[hidden], .lightbox-status[hidden], .lightbox-text[hidden], .lightbox-von[hidden] { display: none; }
.lightbox-status { margin: 3rem 0; color: var(--text-leise); font-size: 1.1rem; }
.lightbox-text { margin: 0.7rem 0 0; font-size: 1.05rem; line-height: 1.35; overflow-wrap: anywhere; max-width: 40rem; }
.lightbox-von { margin: 0.15rem 0 0; color: var(--text-leise); font-size: 0.95rem; overflow-wrap: anywhere; }
.lightbox-leiste { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 0.8rem 0 0; width: 100%; }
.lightbox-zaehler { margin: 0; min-width: 5.5rem; color: var(--text-leise); font-size: 0.95rem; }
.lightbox-knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.3rem 0.9rem;
    border: 1px solid var(--linie);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
}
.lightbox-knopf:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18); border-color: var(--licht); }
.lightbox-knopf:focus-visible { outline: 3px solid var(--licht); outline-offset: 2px; }
.lightbox-knopf:disabled { opacity: 0.35; cursor: default; }
.lightbox-zu { position: absolute; top: 0.75rem; right: 0.75rem; }
.lightbox-symbol { position: relative; display: inline-block; width: 0.7rem; height: 0.7rem; flex: none; }
.lightbox-zurueck .lightbox-symbol::before,
.lightbox-weiter .lightbox-symbol::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.6rem;
    height: 0.6rem;
    border: solid currentColor;
    border-width: 0 0 3px 3px;
    transform: translate(-30%, -50%) rotate(45deg);
}
.lightbox-weiter { flex-direction: row-reverse; }
.lightbox-weiter .lightbox-symbol::before { transform: translate(-70%, -50%) rotate(-135deg); }
.lightbox-zu .lightbox-symbol::before,
.lightbox-zu .lightbox-symbol::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 3px;
    margin-top: -1.5px;
    background: currentColor;
    transform: rotate(45deg);
}
.lightbox-zu .lightbox-symbol::after { transform: rotate(-45deg); }
@media (max-width: 30rem) {
    dialog.lightbox { padding-left: 0.5rem; padding-right: 0.5rem; }
    .lightbox-knopf { padding: 0.3rem 0.7rem; }
    .lightbox-zaehler { min-width: 4.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
    dialog.lightbox[open] { animation: lightbox-ein 0.18s ease-out; }
    dialog.lightbox::backdrop { animation: lightbox-ein 0.18s ease-out; }
    .lightbox-knopf { transition: background-color 0.15s, border-color 0.15s; }
    @keyframes lightbox-ein { from { opacity: 0; } to { opacity: 1; } }
}

/* Eigene Fotos: im gewählten Format zeigen (nicht quadratisch beschnitten wie in der Galerie),
   damit man sieht, was man hochgeladen hat. */
.foto-liste { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); align-items: start; }
.foto-liste .foto-bild,
.foto-liste .foto-bild img { aspect-ratio: auto; height: auto; }
.foto-liste .foto-bild img { width: 100%; object-fit: contain; }
