/* Tennisclub Gilgenberg -- GENERATED by build_site.py, do not edit.
   Palette: the club blue is measured off the emblem painted on the clubhouse
   floor (#0001fa, near-pure blue). Pure blue vibrates on a screen, so the
   token is a hair deeper; clay is the real colour of the courts. */
:root {
  --blue: #1a2bd8;
  --blue-deep: #101c9c;
  --blue-soft: #eaecff;
  --clay: #c2562f;
  --clay-soft: #fbeee8;
  --ink: #0b1130;
  --ink-2: #48507a;
  --paper: #f6f7fc;
  --surface: #ffffff;
  --line: #e0e4f2;
  --shadow: 0 1px 2px rgba(11,17,48,.05), 0 8px 24px -12px rgba(11,17,48,.18);
  --shadow-lg: 0 2px 4px rgba(11,17,48,.06), 0 24px 48px -20px rgba(11,17,48,.28);
  --r: 14px;
  --r-lg: 22px;
  /* Abstandsskala. Vorher standen 17 Einzelwerte als style="margin-…" im
     HTML — dadurch klebten Kaesten teils auf 20 px aneinander, waehrend
     daneben 44 px standen. Alles Vertikale bezieht sich jetzt hierauf. */
  --s2: 12px;
  --s3: 18px;
  --s4: 26px;
  --s5: 36px;
  --s6: clamp(40px, 5vw, 56px);
  --s7: clamp(58px, 7vw, 84px);
  --wrap: 1140px;
  --nav-h: 68px;
}
:root[data-theme="dark"], html.dark {
  --blue: #7c8cff;
  --blue-deep: #a3adff;
  --blue-soft: #1a2350;
  --clay: #e88a5f;
  --clay-soft: #2a1b14;
  --ink: #eceffc;
  --ink-2: #a3abcf;
  --paper: #070b1c;
  --surface: #111834;
  --line: #232c56;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.5), 0 24px 48px -20px rgba(0,0,0,.7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #7c8cff; --blue-deep: #a3adff; --blue-soft: #1a2350;
    --clay: #e88a5f; --clay-soft: #2a1b14;
    --ink: #eceffc; --ink-2: #a3abcf; --paper: #070b1c; --surface: #111834;
    --line: #232c56;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.5), 0 24px 48px -20px rgba(0,0,0,.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
/* Grundmass fuer die Inline-Icons. Ohne das dehnt sich ein Icon, das nicht in
   .btn oder .card__ico steckt, auf die ganze Spaltenbreite (war auf
   /kontakt/ beim Externlink-Icon der Fall). */
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block;
  vertical-align: -.16em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -.026em; }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

/* Vertikale Abstaende ueber Klassen statt inline. `.stack` setzt den Abstand
   ZWISCHEN Geschwistern — damit kann kein Kasten mehr am naechsten kleben. */
.stack > * + * { margin-top: var(--s4); }
.block { margin-top: var(--s7); }
.block > h2, .block > h3 { margin-bottom: var(--s3); }
.mb-3 { margin-bottom: var(--s3); }
.mt-3 { margin-top: var(--s3); }
.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.mt-6 { margin-top: var(--s6); }
.narrow { max-width: 44rem; }
.narrow-sm { max-width: 40rem; }
.muted { color: var(--ink-2); }
/* Die zweite Auswahl ist noetig, weil `.card p { color: var(--ink-2) }`
   spezifischer waere als `.ink` allein -- die Anschrift auf /kontakt/ steht
   in einer Karte und soll trotzdem voll durchgezeichnet sein. */
.ink, .card p.ink { color: var(--ink); }
.fine { font-size: .92rem; }
.h-sm { font-size: 1.4rem; }
.h-xs { font-size: 1.3rem; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Der <symbol>-Vorrat des Wappens. Er darf keinen Platz belegen, und zwar
   ohne sich auf ein style-Attribut zu verlassen: die CSP der Site erlaubt
   `style-src 'self'` OHNE 'unsafe-inline', der Browser wirft jedes
   style="…" ersatzlos weg. Frueher stand hier style="position:absolute",
   das kam am Geraet nie an -- das Sprite blieb im Fluss, und weil die
   Basisregel `svg { height: auto }` die Attribute width="0"/height="0"
   ueberschreibt, setzte WebKit (iPhone/iPad) die Ersatzhoehe von 150px an.
   Ergebnis: eine leere Flaeche ueber der Navigation, nur auf iOS -- Blink
   rechnet dieselbe Stelle zu 0 und zeigt den Fehler nicht.
   Deshalb: Groesse UND Positionierung aus dem Stylesheet, mehrfach
   abgesichert (position + width/height + overflow). */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--surface); padding: 12px 18px; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

/* ---------------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: 16px; min-height: var(--nav-h); }
.brand {
  display: flex; align-items: center; gap: 11px;
  color: var(--ink); text-decoration: none; font-weight: 800;
  letter-spacing: -.02em; margin-right: auto;
}
.brand svg, .brand img { width: 42px; height: 42px; flex: none; }
.brand__t { display: grid; line-height: 1.05; }
.brand__t b { font-size: 1.02rem; }
.brand__t span { font-size: .74rem; font-weight: 600; color: var(--ink-2);
  letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 650; font-size: .95rem;
  padding: 9px 13px; border-radius: 10px;
}
.nav a:hover { color: var(--ink); background: var(--blue-soft); }
.nav a[aria-current] { color: var(--blue); background: var(--blue-soft); }
.hdr__tools { display: flex; align-items: center; gap: 6px; }
.iconbtn {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  background: none; border: 1px solid var(--line); border-radius: 11px;
  color: var(--ink-2); cursor: pointer;
}
.iconbtn:hover { color: var(--ink); border-color: var(--blue); }
.iconbtn svg { width: 19px; height: 19px; }
.burger { display: none; }
.theme__d { display: none; }
:root[data-theme="dark"] .theme__l, html.dark .theme__l { display: none; }
:root[data-theme="dark"] .theme__d, html.dark .theme__d { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme__l { display: none; }
  :root:not([data-theme="light"]) .theme__d { display: block; }
}

/* The breakpoint is 900px in BOTH places: app.js toggles the list with
   [hidden] at the same width. When the two drift apart the menu button
   disappears while the list is still collapsed. */
@media (max-width: 900px) {
  .burger { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 12px 14px; box-shadow: var(--shadow);
  }
  .nav[hidden] { display: none; }
  .nav a { padding: 13px 14px; font-size: 1.05rem; }
  .hdr__in { position: relative; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(26,43,216,.72), transparent 60%),
    linear-gradient(190deg, rgba(8,12,36,.42) 0%, rgba(8,12,36,.78) 78%);
}
/* padding-BLOCK, nicht die Kurzform: `.hero__in` sitzt auf demselben Element
   wie `.wrap`, und `padding: … 0 …` haette dessen padding-inline: 20px
   ueberschrieben. Genau das war der Fall — Wappen, Ueberschrift und Knopf
   klebten bis 1140 px Breite am linken Rand, waehrend die Kennzahlenleiste
   daneben korrekt eingerueckt war. */
.hero__in { padding-block: clamp(44px, 9vw, 96px) clamp(40px, 7vw, 76px);
  color: #fff; }
/* Das Vereinswappen gross ueber der Ueberschrift. Es bringt seinen eigenen
   Kontrast mit (Vollton-Scheibe), braucht auf dem Foto aber einen Ring, damit
   es sich vom dunklen Grund abhebt. */
.hero__badge {
  width: clamp(132px, 19vw, 208px); height: auto; margin-bottom: 24px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,255,255,.9), 0 18px 44px -12px rgba(0,0,0,.7);
}
.hero h1 { color: #fff; max-width: 19ch; text-wrap: balance; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  white-space: nowrap;
}
.hero__sub {
  margin: 18px 0 0; font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  color: rgba(255,255,255,.9); max-width: 46ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s5); }
@media (max-width: 520px) {
  /* Nebeneinander wuerden die beiden Knoepfe hier auf wenige Zeichen
     zusammenschrumpfen — untereinander und volle Breite ist treffsicherer. */
  .hero__cta { display: grid; gap: 10px; }
  .hero__cta .btn { justify-content: center; }
}
/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--pri { background: var(--blue); color: #fff; }
.btn--pri:hover { background: var(--blue-deep); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn--line { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ----------------------------------------------------------------- facts */
/* Genau VIER Werte. Mit auto-fit ergaben sich zwischen 620 und 819 px drei
   Spalten — der vierte Wert stand dann allein in einer zweiten Zeile, mit
   sichtbar leerer Flaeche daneben im selben gerahmten Kasten. Deshalb feste
   Stufen: 1, 2 oder 4 Spalten, nie 3. */
.facts {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  margin-top: -34px; position: relative; z-index: 2; box-shadow: var(--shadow-lg);
}
@media (min-width: 430px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--surface); padding: 22px 22px 20px; }
.fact dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2); }
.fact dd { margin: 6px 0 0; font-size: 1.28rem; font-weight: 800;
  letter-spacing: -.02em; }
.fact dd small { display: block; font-size: .84rem; font-weight: 500;
  color: var(--ink-2); letter-spacing: 0; margin-top: 3px; }

/* --------------------------------------------------------------- section */
.sec { padding: clamp(48px, 8vw, 88px) 0; }
.sec--tint { background: var(--surface); border-block: 1px solid var(--line); }
.sec__head { max-width: 62ch; margin-bottom: var(--s5); }
.sec__head p { color: var(--ink-2); margin-top: 12px; font-size: 1.06rem; }
.eyebrow {
  font-size: .76rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 12px;
}

.grid { display: grid; gap: var(--s4); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
/* Bei genau drei Karten und zwei Spalten bliebe die dritte als Waise stehen.
   Sie nimmt dann die ganze Zeile — ausser bei Bildkarten, deren Foto sonst
   unnatuerlich breit wuerde. */
@media (min-width: 620px) and (max-width: 859px) {
  .grid--3 > :nth-child(3):last-child:not(.card--photo) { grid-column: 1 / -1; }
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 28px);
  box-shadow: var(--shadow);
}
.sec--tint .card { background: var(--paper); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); }
.card__ico {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--blue-soft); color: var(--blue);
  margin-bottom: 16px;
}
.card__ico svg { width: 22px; height: 22px; }

/* Karte mit Bild oben: das Foto sitzt randlos im Kartenrund */
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card__pic { margin: 0; line-height: 0; background: var(--line); }
.card__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: clamp(20px, 2.2vw, 26px); }
.card__body h3 { margin-bottom: 8px; }

/* tiles that link into a topic, with a photo */
.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg); color: #fff; text-decoration: none;
  box-shadow: var(--shadow); background: var(--ink);
}
.tile img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover;
  transition: transform .4s ease; }
.tile:hover img { transform: scale(1.045); }
.tile__cap {
  position: absolute; inset: auto 0 0 0; padding: 46px 20px 18px; color: #fff;
  background: linear-gradient(transparent, rgba(8,12,36,.85));
  font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em;
}
.tile__cap small { display: block; font-weight: 600; font-size: .82rem;
  opacity: .82; letter-spacing: 0; }

/* ------------------------------------------------------------------ list */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.rules li { position: relative; padding-left: 34px; color: var(--ink-2); }
.rules li::before {
  content: ""; position: absolute; left: 0; top: .44em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.rules--clay li::before { background: var(--clay-soft); box-shadow: inset 0 0 0 2px var(--clay); }

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; }
.people li { background: var(--surface); display: flex; flex-wrap: wrap; gap: 4px 14px;
  justify-content: space-between; padding: 13px 18px; }
.people li > span { color: var(--ink-2); }
.sec--tint .people li { background: var(--paper); }
.people b { font-weight: 700; }
.people span { color: var(--ink-2); }

/* ------------------------------------------------------------- timeline */
/* Linie und Punkte leiten ihre Lage aus DENSELBEN zwei Werten ab, sonst
   driften sie auseinander. Genau das war passiert: `.prose ul` weiter unten
   setzt padding-left: 1.2em und gewinnt gegen `.tl` (hoehere Spezifitaet),
   die Punkte sassen dadurch rund 6 px neben der Linie. Deshalb hier
   `.prose .tl` mitschreiben und nicht auf das ul-padding verlassen. */
.tl, .prose .tl {
  --tl-pad: 28px;                 /* Einzug des Textes */
  --tl-dot: 13px;                 /* Durchmesser der Punkte */
  list-style: none; margin: 0; padding: 0 0 0 var(--tl-pad);
  position: relative; color: inherit;
}
.tl::before {
  content: ""; position: absolute;
  left: calc(var(--tl-dot) / 2 - 1px); top: 10px; bottom: 10px;
  width: 2px; background: linear-gradient(var(--blue), var(--clay));
  border-radius: 2px;
}
.tl li { position: relative; padding-bottom: 24px; }
.tl li::before {
  content: ""; position: absolute;
  left: calc(-1 * var(--tl-pad)); top: .38em;
  width: var(--tl-dot); height: var(--tl-dot); border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 3px var(--blue);
}
.sec--tint .tl li::before { background: var(--surface); }
.tl__y { font-weight: 800; color: var(--blue); letter-spacing: -.02em; }

/* ------------------------------------------------------------- Termine */
.terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; }
.term { background: var(--surface); display: grid; gap: 2px 18px;
  grid-template-columns: 11rem 1fr auto; align-items: baseline;
  padding: 16px 20px; border-left: 4px solid var(--blue); }
.sec--tint .term { background: var(--paper); }
.term--turnier { border-left-color: var(--clay); }
.term--meisterschaft { border-left-color: var(--blue-deep); }
.term--arbeit { border-left-color: var(--ink-2); }
.term__when { font-weight: 700; font-variant-numeric: tabular-nums; }
.term__when small { display: block; font-weight: 500; color: var(--ink-2);
  font-size: .84rem; }
.term__body small { display: block; color: var(--ink-2); font-size: .92rem;
  margin-top: 2px; }
.term__tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
/* Vergangenes blendet app.js aus; ohne JS bleibt es sichtbar, was besser ist
   als eine Seite, die ploetzlich leer wirkt. */
.term.is-past { display: none; }
.term.is-next { box-shadow: inset 0 0 0 2px var(--blue); }
.terms__stale { margin-top: var(--s3); }
.terms__stale[hidden] { display: none; }
@media (max-width: 620px) {
  .term { grid-template-columns: 1fr; padding: 14px 16px; }
  .term__tag { justify-self: start; }
}

/* diary: 97 dated entries, compact on purpose */
.diary { columns: 250px; column-gap: 30px; list-style: none; margin: 0; padding: 0; }
.diary li { break-inside: avoid; padding: 5px 0; font-size: .93rem;
  border-bottom: 1px solid var(--line); }
.diary time { color: var(--ink-2); font-variant-numeric: tabular-nums;
  margin-right: 9px; font-size: .86rem; }

/* -------------------------------------------------------------- galleries */
.gal { margin-bottom: 44px; }
.gal__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  margin-bottom: 16px; }
.gal__head h3 { letter-spacing: -.02em; }
.gal__head span { color: var(--ink-2); font-size: .88rem; }
.shots { display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.shot {
  position: relative; padding: 0; border: 0; background: var(--line);
  border-radius: var(--r); overflow: hidden; cursor: zoom-in; line-height: 0;
}
.shot img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover;
  transition: transform .35s ease, opacity .2s ease; }
.shot:hover img { transform: scale(1.06); opacity: .92; }

/* a tile that is a button (opens the lightbox) needs the button reset */
.tile--btn { padding: 0; border: 0; font: inherit; cursor: zoom-in; width: 100%;
  text-align: left; display: block; }
.tile--btn img { aspect-ratio: 4 / 3; }

/* before / during / after, one figure each */
.stage { margin: 0; }
.stage figcaption { margin-top: 10px; font-size: .92rem; color: var(--ink-2);
  font-weight: 650; }
.shot--wide img { aspect-ratio: 16 / 10; }

/* a single wide photo with a caption */
.figure { margin: 0; }
.figure img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; }
.figure figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-2); }

/* lightbox */
.lb {
  position: fixed; inset: 0; z-index: 90; border: 0; padding: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  background: rgba(6,9,26,.94); display: grid; place-items: center;
}
.lb::backdrop { background: rgba(6,9,26,.94); }
.lb[hidden] { display: none; }
.lb img { max-width: 94vw; max-height: 82vh; width: auto; border-radius: 8px; }
.lb__cap { color: #fff; text-align: center; padding: 14px 20px 0;
  font-size: .95rem; opacity: .88; }
.lb__x, .lb__p, .lb__n {
  position: absolute; background: rgba(255,255,255,.13); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
}
.lb__x { top: 18px; right: 18px; }
.lb__p { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__n { right: 14px; top: 50%; transform: translateY(-50%); }
.lb__x:hover, .lb__p:hover, .lb__n:hover { background: rgba(255,255,255,.26); }
.lb svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------- sponsors */
.sponsors { display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.sponsor {
  display: grid; place-items: center; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  min-height: 92px;
}
.sponsor img { max-height: 58px; width: auto; object-fit: contain; }

/* ------------------------------------------------------------------ misc */
.prose { max-width: 68ch; }
.prose h2 { margin: 38px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul { padding-left: 1.2em; color: var(--ink-2); }
.prose li { margin-bottom: .4em; }
.note {
  border-left: 3px solid var(--clay); background: var(--clay-soft);
  padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; color: var(--ink);
}
.map { position: relative; margin: 0; border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map img { width: 100%; display: block; }
.map iframe { display: block; width: 100%; height: clamp(280px, 42vw, 400px);
  border: 0; }
/* Der Vorhang liegt ueber dem Vorschaubild und verschwindet mit dem Klick. */
.map__ask {
  position: absolute; inset: 0; display: grid; align-content: center;
  justify-items: center; gap: 12px; padding: 20px; text-align: center;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(2px);
}
.map__ask p { margin: 0; font-size: .84rem; color: var(--ink-2); max-width: 34ch; }
.map.is-loaded .map__ask, .map.is-loaded img { display: none; }
.attrib { font-size: .8rem; color: var(--ink-2); margin-top: 8px; }
.split { display: grid; gap: clamp(26px, 3.4vw, 46px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }

/* ----------------------------------------------------------------- footer */
.ft { background: var(--surface); border-top: 1px solid var(--line);
  padding: 52px 0 30px; margin-top: 20px; }
.ft__cols { display: grid; gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.ft h4 { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ft a { color: var(--ink-2); text-decoration: none; }
.ft a:hover { color: var(--blue); text-decoration: underline; }
.ft__bar { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px;
  font-size: .87rem; color: var(--ink-2); }
.ft__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.ft__brand svg { width: 48px; height: 48px; }

/* ------------------------------------------------------------------ form */
.form { display: grid; gap: 16px; max-width: 34rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .93rem; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px;
}
.field select {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft);
}
.field textarea { resize: vertical; min-height: 8em; }
.field .opt { font-weight: 400; color: var(--ink-2); }
/* Honigtopf: fuer Menschen unsichtbar, fuer Formularroboter ausfuellbar.
   Bewusst NICHT display:none — manche Roboter ueberspringen solche Felder. */
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; }
.form__note { font-size: .88rem; color: var(--ink-2); }
.form__msg {
  margin: 0; padding: 12px 16px; border-radius: var(--r); font-weight: 650;
  border-left: 3px solid var(--blue); background: var(--blue-soft);
}
.form__msg[hidden] { display: none; }
.form__msg--err { border-left-color: var(--clay); background: var(--clay-soft); }
.form.is-busy { opacity: .6; pointer-events: none; }
