/* ==========================================================================
   Jungwacht – öffentliche Webseite
   Warm, ruhig, menschlich: Papier-Hintergrund, Waldgrün, ein Hauch Sonnengelb.
   Schriften lokal (keine Google-Server): Fraunces (Titel), Nunito (Text), Caveat (Handschrift).
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-full-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-full-italic.woff2") format("woff2-variations"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin-wght-italic.woff2") format("woff2-variations"); font-weight: 200 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
    --brand: #1B3A24;
    --brand-2: #2C5537;
    --brand-soft: #E7EFE6;
    --sun: #E8A33D;
    --sun-soft: #FBEFD9;
    --sun-text: #C9821F;
    --sun-ink: #2A1C05;
    --paper: #FBF8F2;
    --sand: #F3EDE1;
    --card: #FFFFFF;
    --ink: #1E2621;
    --muted: #59635C;
    --faint: #8A928B;
    --line: #E7E0D2;
    --danger: #B3261E;
    --ok: #2F6B3A;
    --brand-ink: var(--brand);
    --field: #FFFEFB;
    --field-line: #D9D2C3;

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

    --r-sm: 10px;
    --r: 18px;
    --r-lg: 28px;
    --shadow: 0 1px 2px rgba(27, 58, 36, .06), 0 8px 24px rgba(27, 58, 36, .07);
    --shadow-lg: 0 2px 4px rgba(27, 58, 36, .06), 0 18px 48px rgba(27, 58, 36, .12);
    --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }   /* Sprungziele (z. B. #schnuppern) nicht unter dem fixierten Kopfbereich verstecken */
body {
    margin: 0; min-height: 100vh; display: flex; flex-direction: column;
    font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink);
    background: var(--paper); -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
    font-family: var(--serif); font-weight: 650; line-height: 1.15; color: var(--brand-ink); margin: 0 0 .5em;
    font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -.01em;
    overflow-wrap: break-word; hyphens: auto;   /* lange Wörter wie «Datenschutzerklärung» auf dem Handy trennen */
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.wrap.mid { max-width: 960px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.tight { padding: clamp(36px, 5vw, 56px) 0; }
.section.sand { background: var(--sand); }
.section.green { background: var(--brand); color: #EAF1E8; }
.section.green h2, .section.green h3 { color: #fff; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 46em; }
.center .lead { margin-left: auto; margin-right: auto; }
.hand { font-family: var(--hand); font-weight: 600; font-size: 1.6rem; line-height: 1; color: var(--sun); display: inline-block; transform: rotate(-2deg); }
.kicker { font-family: var(--hand); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--sun-text); display: block; margin-bottom: .1em; transform: rotate(-1.5deg); transform-origin: left; }
.center .kicker { transform-origin: center; }
.section.green .kicker { color: var(--sun); }
.stack > * + * { margin-top: 1rem; }
.prose p { margin: 0 0 1.05em; }
.prose p:last-child { margin-bottom: 0; }

/* Unterstrich-Kritzel unter Titeln */
.scribble { position: relative; display: inline-block; }
.scribble::after {
    content: ""; position: absolute; left: -2%; right: -2%; bottom: -.18em; height: .32em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 2, 80 11, 120 6 S 180 3, 198 7' fill='none' stroke='%23E8A33D' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    z-index: -1;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font: 800 1rem/1.2 var(--sans); padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--brand);
    background: var(--brand); color: #fff; text-decoration: none; cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(27, 58, 36, .18); }
.btn:active { transform: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--brand-ink); }
.btn.ghost:hover { background: var(--brand-soft); color: var(--brand-ink); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
.btn.sun:hover { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); filter: brightness(1.08); }
.btn.light { background: var(--card); border-color: var(--card); color: var(--brand-ink); }
.btn.small { font-size: .9rem; padding: .6em 1.1em; }
.btn.block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }
.link-arrow { font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }   /* darf umbrechen: lange Texte und Adressen sprengen sonst die Handy-Breite */
.split > * { min-width: 0; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(27, 58, 36, .05); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand-ink); margin-right: auto; }
.brand img { height: 44px; width: auto; }
.brand span { white-space: nowrap; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; font-variation-settings: "SOFT" 100; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-weight: 700; font-size: .98rem; color: var(--ink); text-decoration: none; white-space: nowrap; padding: .45em .7em; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--brand-soft); color: var(--brand-ink); }
.nav a[aria-current="page"] { color: var(--brand-ink); background: var(--brand-soft); }
.nav .btn { margin-left: 10px; padding: .6em 1.2em; color: #fff; }
.nav .btn:hover { background: var(--brand-2); color: #fff; }
.menu-toggle { display: none; position: relative; width: 46px; height: 46px; background: none; border: 0; border-radius: 999px; cursor: pointer; padding: 0; }
.menu-toggle:hover { background: var(--brand-soft); }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--brand-ink); transition: transform .2s, opacity .2s, top .2s; }
.menu-toggle span:nth-child(1) { top: 15px; } .menu-toggle span:nth-child(2) { top: 22px; } .menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
    .menu-toggle { display: block; }
    .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(27, 58, 36, .1); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; max-height: calc(100vh - 76px); overflow: auto; }
    .nav.open { opacity: 1; transform: none; pointer-events: auto; }
    .nav a { padding: .8em 1em; font-size: 1.05rem; }
    .nav .btn { margin: 10px 0 0; }
}

/* ---------- Seitenkopf (statt dunkler Balken) ---------- */
.page-intro { padding: clamp(40px, 7vw, 84px) 0 clamp(24px, 4vw, 44px); }
.page-intro h1 { margin-bottom: .3em; }
.page-intro .lead { margin-bottom: 0; }
.page-intro.center { text-align: center; }
.back { display: inline-flex; gap: 6px; font-weight: 800; text-decoration: none; margin-bottom: 18px; font-size: .95rem; }
.back::before { content: "←"; }

/* ---------- Karten & Raster ---------- */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.card.sand { background: var(--sand); box-shadow: none; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.photo { border-radius: var(--r); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 16 / 9; max-height: 480px; width: 100%; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.tilt { transform: rotate(-1.2deg); }
.photo.tilt-r { transform: rotate(1.2deg); }
.zoomable { cursor: zoom-in; }

.empty { text-align: center; padding: 40px 20px; border: 2px dashed var(--line); border-radius: var(--r); color: var(--muted); background: rgba(255, 255, 255, .5); }
.empty strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--brand-ink); margin-bottom: 4px; font-weight: 650; }

.note { background: var(--sun-soft); border-radius: var(--r-sm); padding: 14px 18px; color: #5A3E10; }
.note.ok { background: #E6F2E4; color: #1F4A28; }
.note.err { background: #FBE6E3; color: #7E1D17; }
.note ul { margin: .4em 0 0; padding-left: 1.2em; }

/* ---------- Startseite: Hero ---------- */
.hero { position: relative; min-height: clamp(480px, 50vw, calc(100vh - 76px)); display: flex; align-items: flex-end; overflow: hidden; background: var(--paper); }
.hero-slides, .hero-slides div { position: absolute; inset: 0; }
.hero-slides div { background: center var(--focus, 40%) / cover no-repeat; opacity: 0; transition: opacity 1.6s ease-in-out; transform: scale(1.03); will-change: opacity, transform; backface-visibility: hidden; }
.hero-slides div.leaving { opacity: 1; z-index: 1; transition: none; }   /* altes Foto bleibt voll sichtbar darunter, bis das neue ganz da ist */
.hero-slides div.active { opacity: 1; z-index: 2; animation: kenburns var(--zoom, 9s) linear both; }   /* --zoom: Wechselzeit + Überblendung */
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1.01); } }
/* weicher Auslauf nach unten in den Seitenhintergrund – wie in der ursprünglichen Version */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 0%, transparent) 45%, color-mix(in srgb, var(--paper) 60%, transparent) 64%, color-mix(in srgb, var(--paper) 93%, transparent) 80%, var(--paper) 96%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 62px; width: 100%; }
/* heller Verlauf genau hinter Logo, Titel und Knöpfen – beginnt knapp darüber, egal wie hoch Bild und Text sind */
.hero:not(.no-img)::after { display: none; }
.hero:not(.no-img) .hero-content::before { content: ""; position: absolute; z-index: -1; left: calc(50% - 50vw); right: calc(50% - 50vw); top: calc(-180% + 62px); bottom: 0;
    /* weicher Verlauf: beginnt weit über dem Logo ganz sanft, wird nach unten immer dichter, deckend unter dem Text */
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--paper) 0%, transparent) 0,
        color-mix(in srgb, var(--paper) 6%, transparent) 20%,
        color-mix(in srgb, var(--paper) 18%, transparent) 38%,
        color-mix(in srgb, var(--paper) 38%, transparent) 54%,
        color-mix(in srgb, var(--paper) 62%, transparent) 68%,
        color-mix(in srgb, var(--paper) 85%, transparent) 81%,
        var(--paper) calc(100% - 62px)); }
/* Desktop/Tablet: Bild höher und klar sichtbar, der helle Verlauf beginnt erst knapp über Logo und Titel und wird dann rasch deckend */
@media (min-width: 641px) {
    .hero { min-height: max(700px, calc(100svh - 76px)); }
    .hero:not(.no-img) .hero-content::before { top: -170px;
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--paper) 0%, transparent) 0,
            color-mix(in srgb, var(--paper) 12%, transparent) 14%,
            color-mix(in srgb, var(--paper) 38%, transparent) 30%,
            color-mix(in srgb, var(--paper) 70%, transparent) 46%,
            color-mix(in srgb, var(--paper) 90%, transparent) 62%,
            var(--paper) calc(100% - 62px)); }
}
/* Pfeil «weiter nach unten» */
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 10px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border-radius: 50%;
    color: var(--brand-ink); text-decoration: none; transition: opacity .3s ease; }
.hero-scroll svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-scroll:hover, .hero-scroll:focus-visible { background: color-mix(in srgb, var(--brand-ink) 8%, transparent); }
.hero-scroll.gone { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .hero-scroll svg { animation: hero-bounce 2.2s ease-in-out infinite; } }
@keyframes hero-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(6px); } }
.hero-lockup { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(20px, 3.5vw, 44px); row-gap: 18px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.hero-logo { grid-row: 1; align-self: center; height: 220px; width: auto; max-width: 34vw; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(27, 58, 36, .12)); }
.hero-text { grid-column: 2; grid-row: 1; }
.hero-text .btn-row { margin-top: 18px; }
.hero h1 { color: var(--brand-ink); margin: 0 0 .15em; font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: 1.02; }
.hero p { font-size: clamp(1.02rem, 1.6vw, 1.22rem); max-width: 36em; margin: 0; color: var(--ink); }
.hero .kicker { color: var(--sun-text); }
.hero .btn.light { background: var(--card); border-color: var(--line); color: var(--brand-ink); }
@media (max-width: 640px) {
    /* Handy: Logo links, Name daneben (zweizeilig), Text und Knöpfe darunter – alles im hellen Verlauf, damit das Logo gut sichtbar ist */
    .hero { min-height: calc(100svh - 64px); }   /* Bild füllt den Bildschirm, Logo und Text stehen unten */

    .hero-lockup { grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr); justify-content: center; column-gap: 0; row-gap: 14px; align-items: center; text-align: center; }
    .hero-text, .hero-text-main { display: contents; }
    .hero-logo { grid-column: 2; grid-row: 1; height: 92px !important; max-width: 30vw; justify-self: end; margin-right: 14px; }   /* Logo und Name eng beieinander in der Mitte, auch wenn der Text darunter breiter ist */
    .hero h1 { grid-column: 3; grid-row: 1; width: min-content; margin: 0; font-size: clamp(1.9rem, 9vw, 2.7rem); line-height: 1.02; text-align: left;
        hyphens: manual; overflow-wrap: normal; }   /* ein Wort pro Zeile, aber «Jungwacht» nie in «Jung-wacht» trennen */
    .hero p { grid-column: 1 / -1; grid-row: 2; margin: 0; }
    .hero-text .btn-row { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .hero-slides div.active { animation: none; } * { scroll-behavior: auto !important; } }

/* ---------- Countdown ---------- */
.countdown { text-align: center; }
.countdown .big { font-family: var(--serif); font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.15; color: var(--brand-ink); margin: 0 0 .9em; font-weight: 650; font-variation-settings: "SOFT" 100; }
.countdown .big { text-wrap: balance; }
.countdown .cd-line { display: inline-block; }
.countdown .cd-to { color: var(--ink); font-size: .78em; }
.countdown .nb { white-space: nowrap; }
.countdown .num { display: inline-block; min-width: 2ch; color: var(--brand-ink); background: var(--sun-soft); border-radius: 14px; padding: 0 .22em; }
.countdown .tick { color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 1.4em; }
.countdown .when { font-weight: 800; color: var(--brand-ink); }
/* Weitere Lager: kleine «Danach»-Zeile unter dem grossen Countdown */
.cd-next { list-style: none; margin: 28px auto 0; padding: 0; max-width: 460px; display: grid; gap: 8px; text-align: left; }
.cd-next a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.cd-next a:hover { border-color: var(--brand-ink); transform: translateY(-1px); }
.cd-next-txt { flex: 1; min-width: 0; line-height: 1.4; }
.cd-next-label { color: var(--muted); font-weight: 700; }
.cd-next-motto { color: var(--sun-text); font-family: var(--hand); font-size: 1.15em; }
.cd-next small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.cd-next-arrow { flex: none; font-weight: 800; color: var(--brand-ink); font-size: 1.2rem; }

/* ---------- Termine ---------- */
.events { display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 84px 1fr auto; gap: 22px; align-items: start; background: var(--card); border-radius: var(--r); padding: 22px 26px; box-shadow: var(--shadow); }
.event h3 a.event-link { color: inherit; text-decoration: none; }
.event h3 a.event-link:hover { text-decoration: underline; }
.event-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 820px) { .event-detail { grid-template-columns: 1fr; } }
.mini-people { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.mini-person { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; text-align: center; font-size: .92rem; }
.mini-person img, .mini-person .ini { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font: 700 1.4rem var(--serif); color: var(--brand-ink); }
.event .date { text-align: center; line-height: 1; padding-top: 2px; }
.event .date b { display: block; font-family: var(--serif); font-size: 2.5rem; font-weight: 700; color: var(--brand-ink); font-variation-settings: "SOFT" 100; }
.event .date span { display: block; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sun-text); margin-top: 6px; }
.event h3 { margin: 0 0 .25em; font-size: 1.3rem; }
.event .meta { color: var(--muted); font-size: .95rem; margin: 0 0 .5em; }
.event .meta span + span::before { content: " · "; color: var(--faint); }
.event p.desc { margin: 0; color: var(--ink); }
.event .side { align-self: center; }
.event.past { opacity: .55; }
.events.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.events.cards .event { grid-template-columns: 64px 1fr; }
.events.cards .event .side { grid-column: 2; align-self: start; }
.events.cards .event .date b { font-size: 2.1rem; }
@media (max-width: 640px) { .event { grid-template-columns: 58px 1fr; gap: 14px; padding: 18px; } .event .side { grid-column: 2; } .event .date b { font-size: 2rem; } }
.filter { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 22px; }
.filter button { font: 700 .95rem var(--sans); color: var(--muted); background: none; border: 0; padding: .4em .9em; border-radius: 999px; cursor: pointer; }
.filter button:hover { color: var(--brand-ink); background: var(--brand-soft); }
.filter button[aria-pressed="true"] { color: #fff; background: var(--brand); }
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }

/* ---------- Impressionen (Foto-Collage) ---------- */
.collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(110px, 14vw, 170px); gap: 14px; }
.collage a { border-radius: 16px; overflow: hidden; display: block; box-shadow: var(--shadow); background: var(--sand); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.collage a:hover img { transform: scale(1.04); }
.collage a:nth-child(6n+1) { grid-column: span 3; grid-row: span 2; }
.collage a:nth-child(6n+2) { grid-column: span 3; }
.collage a:nth-child(6n+3) { grid-column: span 3; }
.collage a:nth-child(6n+4), .collage a:nth-child(6n+5), .collage a:nth-child(6n+6) { grid-column: span 2; }
.collage.n1 a { grid-column: 1 / -1 !important; grid-row: span 3 !important; }
.collage.n2 a { grid-column: span 3 !important; grid-row: span 2 !important; }
@media (max-width: 640px) { .collage { grid-template-columns: repeat(2, 1fr); } .collage a { grid-column: span 1 !important; grid-row: span 1 !important; } .collage a:first-child { grid-column: 1 / -1 !important; grid-row: span 2 !important; } }

/* ---------- Gruppen ---------- */
.group-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.group-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.group-card .img { aspect-ratio: 16 / 10; background: var(--sand) center / cover; position: relative; }
.group-card .img .logo { position: absolute; left: 20px; bottom: -30px; width: 68px; height: 68px; border-radius: 50%; background: #fff; padding: 6px; box-shadow: var(--shadow); object-fit: contain; }
/* Noch kein Gruppenfoto: gleich grosse Fläche wie ein Foto, mit Zeltmuster in der Schar-Farbe und dem Logo in der Mitte */
.group-card .img.noimg { display: grid; place-items: center; background: var(--brand-soft); overflow: hidden; }
.group-card .img.noimg::before { content: ""; position: absolute; inset: 0; background: var(--brand); opacity: .09;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2764%27 height=%2764%27%3E%3Cpath d=%27M6 46l12-20 12 20zM18 26v20M38 22l9-14 9 14zM47 8v14%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272.2%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") 0 0 / 64px 64px;
            mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2764%27 height=%2764%27%3E%3Cpath d=%27M6 46l12-20 12 20zM18 26v20M38 22l9-14 9 14zM47 8v14%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%272.2%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") 0 0 / 64px 64px; }
.group-card .img.noimg .logo { position: relative; left: auto; bottom: auto; z-index: 1; width: 112px; height: 112px; padding: 10px; }
.group-card .img.noimg .logo.mark { opacity: .85; }
.group-card .img.noimg + .body { padding-top: 24px; }
.group-card .body { padding: 40px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.group-card h3 { font-size: 1.6rem; margin: 0; }
.group-card .who { color: var(--sun-text); font-weight: 800; font-size: .95rem; margin: 2px 0 10px; }
.group-card p { color: var(--muted); margin: 0 0 16px; }
.group-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faces { display: flex; align-items: center; }
.faces img, .faces .ini { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--card); object-fit: cover; margin-left: -10px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.faces > :first-child { margin-left: 0; }
.faces small { white-space: nowrap; margin-left: 8px; color: var(--muted); font-weight: 700; font-size: .85rem; }

.group-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.group-head .logo { width: 96px; height: 96px; border-radius: 50%; background: #fff; padding: 8px; box-shadow: var(--shadow); object-fit: contain; }
.group-head h1 { margin: 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.facts .ico { font-size: 1.15rem; line-height: 1.5; }
.facts b { display: block; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); font-weight: 800; }
.others { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.others a { text-decoration: none; font-weight: 700; padding: .45em 1em; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); }
.others a[aria-current="page"] { background: var(--brand); color: #fff; }

/* ---------- Menschen ---------- */
.people { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.person { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.person .pic { aspect-ratio: 1 / 1; background: var(--brand-soft); position: relative; overflow: hidden; }
.camp-leaders-photo { display: block; margin-top: 18px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--card); }
.camp-leaders-photo img { width: 100%; height: auto; max-height: min(80vh, 760px); object-fit: contain; }   /* volle Breite wie die Kästen; Hochformat wird nie abgeschnitten */
.camp-leaders-note { margin: 14px 0 -6px; color: var(--muted); font-weight: 700; }
.person .pic > a { display: block; height: 100%; }
.person .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.person .pic .ini { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 4rem; color: var(--brand-ink); font-weight: 700; }
.person .txt { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.person h3 { margin: 0; font-size: 1.3rem; }
.person .nick { font-family: var(--hand); font-weight: 600; font-size: 1.55rem; color: var(--sun-text); line-height: 1; margin: 2px 0 6px; }
.person .role { color: var(--muted); font-weight: 700; font-size: .95rem; margin: 0 0 8px; }
.person .bio { font-size: .95rem; color: var(--ink); margin: 0 0 12px; }
.person .contact { margin-top: auto; font-size: .92rem; display: grid; gap: 2px; }
.person .contact a { word-break: break-word; }
.person .groups { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.person .groups a { font-weight: 700; }
.people.small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 215px), 1fr)); }
.people.small .contact { font-size: .85rem; }
.people.small .person h3 { font-size: 1.12rem; }
.people.small .person .nick { font-size: 1.35rem; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 22px; }
.form-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(22px, 3.4vw, 36px); }
.form-card > h3 { margin-bottom: .2em; }
.form-card > .muted { margin: 0 0 18px; }
.fields { display: grid; gap: 18px; align-items: end; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }   /* end: Felder nebeneinander auf gleicher Höhe, auch wenn eine Beschriftung zweizeilig ist */
.fields .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-weight: 800; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.field .opt { font-weight: 600; color: var(--faint); font-size: .85rem; }
.field .req { color: var(--danger); }
.field .help { font-size: .85rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=password], input[type=number], select, textarea {
    width: 100%; font: 500 1rem/1.4 var(--sans); color: var(--ink); background: var(--field);
    border: 1.5px solid var(--field-line); border-radius: 12px; padding: .8em 1em; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(27, 58, 36, .12); }
.choice { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.choice label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--field-line); border-radius: 999px; padding: .55em 1.2em; cursor: pointer; font-weight: 700; background: var(--field); margin: 0; }
.choice label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.drop { border: 2px dashed var(--field-line); border-radius: 14px; padding: 18px; text-align: center; background: var(--field); }
.drop small { display: block; color: var(--muted); margin-bottom: 8px; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; text-align: left; display: grid; gap: 6px; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; background: var(--sand); border-radius: 8px; padding: 6px 10px; font-size: .9rem; }
.file-list button { background: none; border: 0; color: var(--danger); font-weight: 800; cursor: pointer; }
.form-card .step { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.form-card .form-card { box-shadow: none; padding: 0; background: none; }
.form-plain { display: contents; }
.form-info { color: var(--muted); }
.form-info p:last-child { margin-bottom: 0; }
.consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 600 !important; cursor: pointer; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.member-hint { margin: 26px 0 0; color: var(--muted); }
.member-hint a { font-weight: 800; }
.when-line { font-weight: 800; color: var(--brand-ink); margin: -.2em 0 .6em; }
.thanks { text-align: center; }
.thanks .big-ico { font-size: 3rem; line-height: 1; margin-bottom: 8px; }
.thanks ul { text-align: left; max-width: 560px; margin: 0 auto 1.2em; color: var(--muted); }

/* ---------- Galerie ---------- */
.albums { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.album { text-decoration: none; color: inherit; display: block; }
.album .cover { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); position: relative; }
.album .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album:hover .cover img { transform: scale(1.04); }
.album .cover.stack::before, .album .cover.stack::after { content: ""; position: absolute; inset: 0; }
.album h3 { margin: 14px 0 2px; font-size: 1.25rem; }
.album p { color: var(--muted); margin: 0; font-size: .95rem; }
.photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.photos a { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; display: block; background: var(--sand); }
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photos a:hover img { transform: scale(1.04); }
.lock { max-width: 500px; margin: 0 auto; text-align: center; }
.lock .big-ico { font-size: 2.6rem; margin-bottom: 6px; }
.lock form { display: grid; gap: 12px; margin-top: 18px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 999; background: rgba(12, 20, 14, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); margin: 0 auto; }
.lightbox figcaption { color: #EEE; margin-top: 12px; font-weight: 700; }
.lightbox .lb-dl { display: inline-block; margin-top: 10px; color: #fff; font-weight: 700; padding: 6px 14px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 999px; text-decoration: none; }
.lightbox .lb-dl:hover { background: rgba(255,255,255,.15); }
.lightbox .lb-dl[hidden] { display: none; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox .close { top: 18px; right: 18px; }
.lightbox .prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Lager ---------- */
.camp-hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 6vw, 64px); }
.camp-hero h1 { margin-bottom: .15em; }
.camp-title { text-align: center; max-width: 820px; margin: 0 auto; }
.camp-logo { display: block; width: auto; height: auto; max-height: clamp(84px, 14vw, 140px); max-width: min(280px, 70%); object-fit: contain; margin: 0 0 14px; }   /* Lagerlogo (Lager → Infos) */
.camp-title .camp-logo { margin: 0 auto 16px; }
.camp-title .kicker { transform-origin: center; }
.camp-title .lead { margin-left: auto; margin-right: auto; }
.page-intro.center { text-align: center; }
.page-intro.center .lead { margin-left: auto; margin-right: auto; }
.mem { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); margin-top: 16px; padding: 14px 18px; }
.mem summary { cursor: pointer; display: flex; align-items: center; gap: 16px; list-style: none; }
.mem summary::-webkit-details-marker { display: none; }
.mem summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(45deg); transition: transform .2s; flex: none; }
.mem[open] summary::after { transform: rotate(-135deg); }
/* Fragen & Antworten (Block) */
.faq { display: grid; gap: 12px; margin-top: 22px; }
.faq-item { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 800; font-size: 1.06rem; line-height: 1.4; color: var(--ink); border-radius: var(--r); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2.5px solid var(--brand-ink); border-bottom: 2.5px solid var(--brand-ink); transform: rotate(45deg); transition: transform .2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { color: var(--brand-ink); }
.faq-item > .prose { padding: 0 20px 18px; }
.faq-item > .prose > :first-child { margin-top: 0; }
.sand .faq-item { box-shadow: none; }
.mem-cover { width: 92px; height: 66px; border-radius: 12px; background: center / cover; flex: none; }
.mem-t { display: grid; gap: 2px; }
.mem-t b { font-family: var(--serif); font-size: 1.2rem; color: var(--brand-ink); }
.mem-h { margin: 26px 0 10px; }
.mem-h .muted { font: 600 .95rem var(--sans); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--danger); font-weight: 800; }
.live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.keyfacts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin: 0; }
.keyfacts div { background: var(--card); border-radius: var(--r-sm); box-shadow: var(--shadow); padding: 16px 18px; }
.keyfacts dt { font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); font-weight: 800; }
.keyfacts dd { margin: 2px 0 0; font-weight: 800; color: var(--brand-ink); font-size: 1.08rem; }
.report { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); }
.report .day { font-family: var(--hand); font-size: 1.6rem; color: var(--sun-text); line-height: 1; }
.report .pics { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 14px; }
.report .pics a { aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.report .pics img { width: 100%; height: 100%; object-fit: cover; }
.signup-box { background: var(--brand); color: #EAF1E8; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); text-align: center; }
.signup-box h2, .signup-box h3 { color: #fff; }
.signup-box.closed { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.signup-box.closed h2, .signup-box.closed h3 { color: var(--brand-ink); }

/* ---------- Über uns ---------- */
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values li { background: var(--card); border-radius: var(--r-sm); padding: 14px 18px 14px 50px; position: relative; box-shadow: var(--shadow); font-weight: 600; }
.values li::before { content: "✓"; position: absolute; left: 18px; top: 13px; color: var(--sun); font-weight: 900; font-size: 1.15rem; }
.stats { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; margin-top: 18px; }
.stats div b { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--brand-ink); line-height: 1; font-weight: 700; }
.stats div span { color: var(--muted); font-weight: 700; font-size: .95rem; }
.cols3 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cols3 .card .ico { font-size: 2rem; line-height: 1; margin-bottom: 10px; }

/* ---------- Fusszeile ---------- */
.site-footer { background: var(--brand); color: #CFDCCD; margin-top: auto; padding: clamp(48px, 7vw, 72px) 0 28px; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 52px; width: auto; background: #fff; border-radius: 12px; padding: 5px; }
.footer-brand span { font-family: var(--serif); font-size: 1.35rem; color: #fff; font-weight: 700; }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 900; margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { background: rgba(255, 255, 255, .24); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #A9BCA7; }
.footer-bottom a { color: #CFDCCD; }

/* ---------- Datenschutz / Fliesstext ---------- */
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal h2:first-child { margin-top: 0; }
.legal .box { background: var(--sand); border-radius: var(--r-sm); padding: 14px 18px; margin: 0 0 1em; }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Halbjahresplan (automatisch, druckbar) ---------- */
.plan-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.plan-sheet { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 44px); }
.plan-head { display: flex; align-items: center; gap: 18px; border-bottom: 3px solid var(--brand); padding-bottom: 16px; margin-bottom: 16px; }
.plan-logo { height: 64px; width: auto; }
.plan-glogo { height: 64px; width: auto; margin-left: auto; }
.plan-head h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0; }
.plan-schar { margin: 0; font-weight: 800; color: var(--muted); }
.plan-range { margin: 2px 0 0; font-weight: 700; color: var(--brand-ink); }
.plan-meet { margin: 0 0 14px; }
.plan-intro { margin: 0 0 14px; }
.plan-intro p { margin: 0 0 8px; }
.plan-info { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 16px; padding: 12px 14px; background: var(--sand, #f4efe3); border-radius: 12px; font-size: .95rem; }
.plan-info dt { font-weight: 800; }
.plan-info dd { margin: 0; }
.plan-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.plan-table th, .plan-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plan-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.plan-table .plan-month th { background: var(--brand-soft); color: var(--brand-ink); font-family: var(--serif); font-size: 1.05rem; padding-top: 10px; }
.plan-table td.d { white-space: nowrap; }
.plan-table tr.is-schar td { background: var(--sun-soft); }
.plan-table .tag { font-size: .75rem; font-weight: 800; color: var(--sun-text); white-space: nowrap; }
.plan-foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 22px; font-size: .92rem; }
.plan-foot ul { margin: 4px 0 0; padding-left: 18px; }
.plan-foot p { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 560px) { .plan-table thead { display: none; } .plan-table tr:not(.plan-month) { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; border-bottom: 1px solid var(--line); padding: 6px 0; } .plan-table td { border: 0; padding: 2px 6px; } .plan-table td:nth-child(3), .plan-table td:nth-child(4) { grid-column: 1 / -1; } .plan-table .plan-month { display: block; } .plan-table .plan-month th { display: block; } .plan-glogo { display: none; } }
@media print { .site-header, .site-footer, .lightbox, .no-print { display: none !important; } body { background: #fff; }
  .plan-page { padding: 0 !important; } .plan-page .wrap { max-width: none; padding: 0; } .plan-sheet { box-shadow: none; padding: 0; } .plan-table { font-size: 10pt; } .plan-table tr { break-inside: avoid; }
  .plan-table tr.is-schar td, .plan-table .plan-month th { -webkit-print-color-adjust: exact; print-color-adjust: exact; } @page { size: A4; margin: 14mm; } }

/* ---------- Weitere Startseiten-Blöcke ---------- */
.quote { margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; color: var(--brand-ink); font-style: italic; font-variation-settings: "SOFT" 100; }
.quote blockquote::before { content: "«"; color: var(--sun); }
.quote blockquote::after { content: "»"; color: var(--sun); }
.quote figcaption { margin-top: 14px; font-family: var(--hand); font-size: 1.6rem; color: var(--sun-text); }
.quote-pic { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; box-shadow: var(--shadow); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--brand) radial-gradient(circle at 30% 30%, var(--brand-2), var(--brand)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #EAF1E8; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { font: 800 1.05rem var(--sans); background: var(--sun); color: var(--sun-ink); border: 0; border-radius: 999px; padding: .9em 1.6em; cursor: pointer; }
.video-play span { margin-right: 6px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); }
.cta h2 { margin: 0 0 .2em; }
.cta p { margin: 0; }
.cta-brand { background: var(--brand); color: #EAF1E8; } .cta-brand h2 { color: #fff; }
.cta-sun { background: var(--sun); color: var(--sun-ink); } .cta-sun h2 { color: var(--sun-ink); }
.cta-light { background: var(--card); box-shadow: var(--shadow); }

/* ---------- Impressionen: Karussell ---------- */
.carousel { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--brand); }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.25, 1, .5, 1); touch-action: pan-y; }
.carousel-slide { flex: 0 0 100%; position: relative; aspect-ratio: 16 / 9; max-height: 640px; display: block; cursor: zoom-in; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.carousel-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 18px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--brand); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 16px; } .carousel-btn.next { right: 16px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: width .2s, background .2s; }
.carousel-dots button[aria-current="true"] { width: 26px; border-radius: 99px; background: var(--brand); }
@media (max-width: 640px) { .carousel-slide { aspect-ratio: 4 / 3; } .carousel-btn { width: 40px; height: 40px; } }

/* ---------- Dunkelmodus: automatisch nach Geräteeinstellung oder per Schalter oben rechts ---------- */
:root[data-theme="dark"] { --brand: var(--brand-dm, #2F5A3B); --brand-2: var(--brand-dm2, #3C6B4A); --brand-ink: var(--brand-light, #A9CBA9);
    --brand-soft: #22312A; --sun-soft: #3A2E1A; --sun-text: var(--sun-light, #EDB868);
    --paper: #111613; --sand: #161D18; --card: #1C241F; --ink: #E5EBE6; --muted: #A6B1A9; --faint: #7D887F; --line: #2B3530;
    --field: #141A16; --field-line: #3A4640; --danger: #F08A80; --ok: #8FD19E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 48px rgba(0, 0, 0, .35);
    color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --brand: var(--brand-dm, #2F5A3B); --brand-2: var(--brand-dm2, #3C6B4A); --brand-ink: var(--brand-light, #A9CBA9);
    --brand-soft: #22312A; --sun-soft: #3A2E1A; --sun-text: var(--sun-light, #EDB868);
    --paper: #111613; --sand: #161D18; --card: #1C241F; --ink: #E5EBE6; --muted: #A6B1A9; --faint: #7D887F; --line: #2B3530;
    --field: #141A16; --field-line: #3A4640; --danger: #F08A80; --ok: #8FD19E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 18px 48px rgba(0, 0, 0, .35);
    color-scheme: dark; } }
:root[data-theme="dark"] .note { color: #F2D9A8; }
:root[data-theme="dark"] .note.ok { background: #1E3324; color: #A9D9B3; }
:root[data-theme="dark"] .note.err { background: #3A1D1B; color: #F4B5AE; }
:root[data-theme="dark"] .logo-auto { filter: brightness(0) invert(.93); }
:root[data-theme="dark"] .logo-badge { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5)); }
/* Logo im Block «Text mit Bild» (z. B. Jubla-Logo): im dunklen Modus auf hellem Grund, damit dunkle Logos sichtbar bleiben */
:root[data-theme="dark"] .logo-card { background: #F4F2EC; border-color: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-card { background: #F4F2EC; border-color: transparent; } }
:root[data-theme="dark"] .signup-box.closed h2, .signup-box.closed h3 { color: var(--brand-ink); }
:root[data-theme="dark"] :is(.section.green, .signup-box:not(.closed), .cta-brand, .site-footer) { background: var(--brand-deep, #0D1F14); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .note { color: #F2D9A8; }
  :root:not([data-theme="light"]) .note.ok { background: #1E3324; color: #A9D9B3; }
  :root:not([data-theme="light"]) .note.err { background: #3A1D1B; color: #F4B5AE; }
  :root:not([data-theme="light"]) .logo-auto { filter: brightness(0) invert(.93); }
  :root:not([data-theme="light"]) .logo-badge { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5)); }
  :root:not([data-theme="light"]) .signup-box.closed h2, .signup-box.closed h3 { color: var(--brand-ink); }
  :root:not([data-theme="light"]) :is(.section.green, .signup-box:not(.closed), .cta-brand, .site-footer) { background: var(--brand-deep, #0D1F14); }
}

.header-inner .theme-toggle { order: 5; } .header-inner .menu-toggle { order: 6; }
.theme-toggle { width: 42px; height: 42px; border-radius: 999px; border: 0; background: none; color: var(--brand-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.theme-toggle:hover { background: var(--brand-soft); }
.theme-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; } :root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .moon { display: none; } }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; } :root[data-theme="dark"] .logo-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-dark { display: block; } :root:not([data-theme="light"]) .logo-light { display: none; } }
@media print { :root { color-scheme: light; } }
.hero.no-img { min-height: 0; padding: clamp(72px, 10vw, 140px) 0 clamp(36px, 5vw, 64px); background: linear-gradient(165deg, var(--brand-soft), var(--paper) 75%); }
.hero.no-img::after { display: none; }

/* ---------- Symbole (Linien-Icons statt Emojis) ---------- */
.pi { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.facts .ico { color: var(--brand-ink); padding-top: 2px; }
.thanks .big-ico, .lock .big-ico { color: var(--brand-ink); display: flex; justify-content: center; }
.thanks .big-ico .pi, .lock .big-ico .pi { width: 52px; height: 52px; stroke-width: 1.5; }
.cols3 .card .ico { color: var(--brand-ink); }
.cols3 .card .ico .pi { width: 38px; height: 38px; stroke-width: 1.5; }
/* Übername über dem Namen; ohne Übername bleibt die Zeile leer, damit alle Namen auf gleicher Höhe stehen */
.person .nick { margin: 0 0 4px; min-height: 1em; }
.person .nick.nick-none { visibility: hidden; }
/* Formulare: «Andere Schar» und AHV-Prüfung */
.other-input { display: none; margin-top: 8px; }
.field:has(option[value="__andere"]:checked) .other-input { display: block; }
.ahv-msg { display: block; font-size: .85rem; margin-top: 4px; min-height: 0; }
.ahv-msg.ok { color: var(--brand-ink); }
.ahv-msg.bad { color: #B3261E; font-weight: 700; }
.btn .pi-inline { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.15em; margin-right: .35em; }
.kept-file { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--brand-soft); margin-bottom: 8px; font-weight: 700; }
.kept-file small { font-weight: 600; color: var(--muted); }

/* ---------- V1: dezente Animationen ---------- */
/* Seitenwechsel gleiten kurz über (Browser mit View Transitions), die Kopfzeile bleibt stehen */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: ease; }
@media (prefers-reduced-motion: no-preference) {
    /* Inhalte erscheinen beim Scrollen (nur was unterhalb des Bildschirms liegt, siehe site.js) */
    .reveal { transition-delay: var(--rd, 0s); }
    /* Knöpfe geben beim Klicken leicht nach */
    .btn:active, .theme-toggle:active, .menu-toggle:active { transform: scale(.97); }
    /* Karten heben sich beim Darüberfahren leicht an */
    .album, .person, .card { transition: transform .25s ease, box-shadow .25s ease; }
    .album:hover, a.card:hover { transform: translateY(-3px); }
    /* Grossansicht: sanft einblenden, Foto wächst leicht auf */
    .lightbox.open { animation: lb-fade .2s ease both; }
    .lightbox.open figure { animation: lb-zoom .28s cubic-bezier(.2, .8, .2, 1) both; }
    .lightbox img { transition: opacity .2s ease; }
    .lightbox img.loading { opacity: 0; }
    /* Meldungen (Fehler / Danke) gleiten herein */
    .note, .flash, .success-box { animation: msg-in .35s ease both; }
    /* Aufklappbares (z. B. frühere Lager): Inhalt gleitet auf */
    details[open] > :not(summary) { animation: unfold .25s ease both; }
    /* Countdown: Zahl erscheint weich */
    .countdown .num { animation: msg-in .5s ease both; }
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-zoom { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes unfold { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }
/* Platz für die Scrollleiste immer reservieren: sonst springt alles um ein paar Pixel, wenn eine Seite kürzer ist (z. B. Galerie) */
html { scrollbar-gutter: stable; }
::view-transition-group(site-header) { animation-duration: 0s; }
/* Zahlen untereinander (Text mit Zahlen) und ruhig hochzählen */
.stats.stack { flex-direction: column; gap: 18px; }
.stats [data-count] { font-variant-numeric: tabular-nums; }
/* Hell/Dunkel: neues Farbschema breitet sich als Kreis vom Schalter aus (theme.js) – die ganze Seite als ein Bild */
html.theme-vt *, html.theme-vt *::before, html.theme-vt *::after { view-transition-name: none !important; }
html.theme-vt::view-transition-old(root), html.theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
/* sehr schmale Handys: Name im Kopf etwas kleiner, damit er den Hell/Dunkel-Schalter nicht berührt */
@media (max-width: 380px) { .brand { gap: 8px; } .brand img { height: 38px; } .brand span { font-size: 1.08rem; } }
/* Hell/Dunkel ohne Kreis (Firefox): Farben gleiten über */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease !important; }
/* Gerundete Bilder: beim Scrollen und Einblenden nichts vom Bild über den Rand blitzen lassen (Chrome/Edge) */
.photo, .collage a, .group-card, .person, .album .cover, .photos a, .report .pics a, .video, .carousel { isolation: isolate; will-change: transform; }
.photo img, .collage img, .group-card img, .person img, .album .cover img, .photos img, .report .pics img, .carousel img { backface-visibility: hidden; }
/* Bilder blenden beim Scrollen nur ein (ohne Hochrutschen) */
.reveal:is(.photo, .collage, .group-card, .person, .album, .photos a) { transform: none; }
/* Über uns: Kasten mit Zahlen nur so breit wie die Zahlen, mittig neben dem Text */
.split.stats-split { grid-template-columns: fit-content(40rem) auto; justify-content: start; gap: clamp(32px, 4vw, 48px); }
.stats-card { width: fit-content; min-width: 220px; justify-self: start; align-self: center; padding-right: clamp(36px, 5vw, 64px); }
/* Handy: die Zahlen nebeneinander, damit der Kasten die Breite füllt */
@media (max-width: 760px) {
    .split.stats-split { grid-template-columns: 1fr; }
    .stats-card { width: auto; min-width: 0; justify-self: stretch; padding-left: 16px; padding-right: 16px; }
    .stats-card .stats.stack > div { flex: 1 1 0; min-width: 0; margin: 0; }
    .stats-card .stats.stack { flex-direction: row; flex-wrap: nowrap; align-items: flex-start; gap: 8px; text-align: center; }
    .stats-card .stats div b { font-size: clamp(1.7rem, 8vw, 2.4rem); }
    .stats-card .stats div span { font-size: .85rem; line-height: 1.25; display: block; margin-top: 4px; hyphens: auto; overflow-wrap: break-word; }
}

/* ---------- Schnuppergruppenstunden der neuen Gruppe (gleiche Bausteine wie Anlässe und Gruppenseite) ---------- */
.sb-free { display: inline-flex; align-items: center; gap: 8px; background: var(--sun-soft, #FBEFD9); color: var(--sun-ink, #2A1C05); font-weight: 800; padding: 8px 14px; border-radius: 12px; }
.sb-free .pi { width: 1.1em; height: 1.1em; flex: none; display: inline-block; margin: 0; }
.facts .sb-date { display: block; }
.sb-events { max-width: 1100px; margin: 0 auto; }
.badge-schnupper { position: absolute; left: 12px; top: 12px; background: var(--sun); color: var(--sun-ink, #2A1C05); font-weight: 800; font-size: .82rem; padding: 5px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.tag-schnupper { display: inline-block; background: var(--sun-soft, #FBEFD9); color: var(--sun-text); font-weight: 800; font-size: .78rem; padding: 2px 9px; border-radius: 999px; margin-bottom: 6px; }
/* Gruppenstunden: kompakt, ohne eigene Seite */
.event.lesson { padding-top: 16px; padding-bottom: 16px; align-items: center; }
.event.lesson h3 { font-size: 1.15rem; }
.event.lesson .meta { margin-bottom: 0; }
.tag-jubla { background: var(--brand-soft); color: var(--brand-ink); }
.tag-schar-jungwacht { background: #E3EFE6; color: #1B4326; }
.tag-schar-blauring { background: #E4ECFA; color: #1E3F8A; }
:root[data-theme="dark"] .tag-schar-jungwacht { background: #1E3425; color: #A6D8B0; }
:root[data-theme="dark"] .tag-schar-blauring { background: #1D2D4F; color: #A8C5F8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tag-schar-jungwacht { background: #1E3425; color: #A6D8B0; }
  :root:not([data-theme="light"]) .tag-schar-blauring { background: #1D2D4F; color: #A8C5F8; }
}
.footer-brand img.logo-badge { border-radius: 50%; padding: 2px; }
/* Jubla-Seite: Verweis auf die Lager der Scharen */
.schar-camp { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.schar-camp:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.schar-camp h3 { margin: 0; }
.schar-camp .kicker { font-size: 1.3rem; }
.schar-camp .link-arrow { margin-top: auto; padding-top: 8px; }

/* Formulare: Einzel-/Mehrfachauswahl, «Anderes», Sterne-Bewertung */
.choice.choice-list { display: flex; }
.choice-list label { font-weight: 650; }
.choice-list input[type=checkbox] { accent-color: var(--brand); width: 18px; height: 18px; }
.field:has(input[value="__andere"]:checked) .other-input { display: block; }
.rating { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label { margin: 0; font-size: 2.1rem; line-height: 1; color: var(--field-line); cursor: pointer; padding: 2px; transition: color .12s, transform .12s; }
.rating label:hover, .rating label:hover ~ label, .rating input:checked ~ label { color: var(--sun); }
.rating label:hover { transform: scale(1.12); }
.rating input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Startseite: Werbung für Events (Brunch, Jubla-Tag, Jublinis …) */
.promo-head { margin-bottom: 22px; }
.promo-head h2 { margin-bottom: .15em; }
.promos { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.promo { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.promo-img { position: relative; aspect-ratio: 16 / 9; background: var(--sand); overflow: hidden; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo:hover .promo-img img { transform: scale(1.03); }
.promo-date { position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 6px 8px 7px; border-radius: 14px; background: var(--card); color: var(--brand-ink); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.promo-date b { font-family: var(--serif); font-size: 1.7rem; line-height: 1; letter-spacing: 0; }
.promo-body { padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; }
.promo-body h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0; }
.promo-body .btn { margin-top: auto; }
.promo-top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0; }
.promo-kicker { display: inline-block; font-weight: 850; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--sun-soft); color: var(--sun-text); }
.promo-org { font-family: var(--hand); font-size: 1.35rem; color: var(--muted); line-height: 1; }
.promo-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--muted); font-weight: 650; font-size: .95rem; }
.promo-meta li { display: flex; gap: 8px; align-items: center; }
.promo-meta .pi { width: 1.1em; height: 1.1em; flex: none; color: var(--brand-ink); }
.promo-text { margin: 0; color: var(--muted); }
.promo-sun.no-img { border-top: 6px solid var(--sun); }
.promo-sun .promo-img { border-bottom: 5px solid var(--sun); }
.promo-brand { background: var(--brand); color: #EAF1E8; }
.promo-brand h3, .promo-brand .promo-meta .pi { color: #fff; }
.promo-brand .promo-meta, .promo-brand .promo-text, .promo-brand .promo-org { color: #D5E2D3; }
.promo-brand .promo-kicker { background: var(--sun); color: var(--sun-ink); }
.promo-light { box-shadow: none; border: 1px solid var(--line); }
.promos.big { grid-template-columns: 1fr; }
@media (min-width: 760px) {
    .promos.big .promo:not(.no-img) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 340px; }
    .promos.big .promo-img { aspect-ratio: auto; height: 100%; }
    .promos.big .promo-body { justify-content: center; padding: clamp(28px, 4vw, 48px); }
    .promos.big .promo-body .btn { margin-top: 8px; }
    .promos.big .promo-sun .promo-img { border-bottom: 0; border-right: 6px solid var(--sun); }
}
/* V1.11: Ganze Karte anklickbar (Anlass, Werbekarte, Infokarte mit «Mehr erfahren») – der Hauptlink deckt die Karte ab,
   weitere Links und Knöpfe auf der Karte liegen darüber und bleiben einzeln anklickbar. */
.event:has(.event-link), .cols3 .card:has(.link-arrow) { position: relative; }
.event .event-link::after, .promo .promo-link::after, .cols3 .card .link-arrow::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.cols3 .card .link-arrow::after { margin: 0; }   /* der Pfeil wandert nach ::before, ::after ist die Fläche */
.cols3 .card .link-arrow::before { content: "→"; order: 2; transition: transform .15s; }
.cols3 .card .link-arrow { display: inline-flex; gap: .3em; }
.cols3 .card:has(.link-arrow):hover .link-arrow::before { transform: translateX(4px); }
.event .side .btn, .event .tag-schnupper, .promo-body a:not(.promo-link), .cols3 .card a:not(.link-arrow) { position: relative; z-index: 2; }
.event:has(.event-link), .promo:has(.promo-link), .cols3 .card:has(.link-arrow) { transition: transform .2s ease, box-shadow .2s ease; }
.event:has(.event-link):hover, .promo:has(.promo-link):hover, .cols3 .card:has(.link-arrow):hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.event:has(.event-link):hover .event-link { text-decoration: underline; }
.event:has(.event-link:focus-visible), .promo:has(.promo-link:focus-visible), .cols3 .card:has(.link-arrow:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .event:has(.event-link):hover, .promo:has(.promo-link):hover, .cols3 .card:has(.link-arrow):hover { transform: none; } }

/* Testbetrieb: Feedback-Knopf im Balken und Dialog (gleicher Korb wie im Leiterbereich) */
.preview-fb { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.preview-flash { margin: 0; padding: 8px 12px; text-align: center; font-weight: 700; background: var(--brand-soft); color: var(--brand-ink); }
.preview-flash.error { background: #FBE4E1; color: #8C1D18; }
dialog.fb { border: 0; border-radius: var(--r); padding: 0; width: min(560px, calc(100vw - 32px)); background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
dialog.fb::backdrop { background: rgba(17, 22, 19, .45); }
dialog.fb form { display: grid; gap: 12px; padding: 22px; margin: 0; }
dialog.fb h2 { font-size: 1.35rem; margin: 0; }
dialog.fb label { display: block; font-weight: 700; margin-bottom: 4px; }
dialog.fb textarea, dialog.fb input[type=text] { width: 100%; box-sizing: border-box; }
dialog.fb .fb-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

/* Anmeldung auf Papier (PDF) */
.paper-note { margin: 0 0 22px; color: var(--muted); font-size: .95rem; }
.paper-note a { font-weight: 800; }
.paper-note .pi { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -.18em; margin-right: .35em; }
