/* KG Blau-Weiß Metternich 1956 e.V. */

@font-face {
  font-family: "Rubik";
  src: url("schriften/rubik.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("schriften/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --navy: #13225E;
  --navy-tief: #0C1740;
  --blau: #1F46C8;
  --blau-hell: #E9EEFC;
  --papier: #FBFAF6;
  --weiss: #FFFFFF;
  --tinte: #141A33;
  --grau: #585F77;
  --linie: #E2E3EB;
  --himmel: #38B6F5;
  --himmel-tief: #1A8FD1;
  --himmel-licht: #8AD4FB;
  --eis: #D4EEFD;
  --violett: #7A5CFA;
  --gelb: #FFC93C;
  --pink-hell: #FFE4EE;
  --pink: #E8437F;
  --tuerkis: #1FB1BE;
  --rot: #C2263D;
  --gruen: #1F8A5B;

  --rund: 14px;
  --rund-klein: 9px;
  --schatten: 0 1px 2px rgba(19, 34, 94, .06), 0 8px 24px -12px rgba(19, 34, 94, .22);
  --schrift-titel: "Rubik", system-ui, sans-serif;
  --schrift-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --kopf-hoehe: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 28px); }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--schrift-titel); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; overflow-wrap: break-word; hyphens: manual; }
h1 { font-weight: 800; font-size: clamp(2.2rem, 5.6vw, 4.1rem); }
h2 { font-weight: 700; font-size: clamp(1.55rem, 3.2vw, 2.15rem); }
h3 { font-weight: 700; font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--himmel); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.schmal > * { max-width: 46rem; }
.klein { font-size: .875rem; color: var(--grau); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--himmel); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hinweisband { background: var(--pink); color: #fff; text-align: center; padding: 8px 20px; font-weight: 600; font-size: .95rem; }

/* ------------------------------------------------------------ Knoepfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--schrift-titel); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(0); }
.knopf-himmel { background: var(--himmel); color: var(--navy); box-shadow: 0 3px 0 var(--himmel-tief); }
.knopf-himmel:hover { background: #5CC5F8; color: var(--navy); }
.knopf-blau { background: var(--blau); color: #fff; box-shadow: 0 3px 0 var(--navy); }
.knopf-blau:hover { background: #2A55E0; color: #fff; }
.knopf-dunkel { background: var(--navy); color: #fff; }
.knopf-dunkel:hover { background: var(--navy-tief); color: #fff; }
.knopf-rand { border-color: rgba(255,255,255,.55); color: #fff; }
.knopf-rand:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.knopf-hell { background: #fff; color: var(--navy); border-color: var(--linie); }
.knopf-hell:hover { border-color: var(--blau); color: var(--navy); }
.breit { width: 100%; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; }

.pfeil-link { font-family: var(--schrift-titel); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pfeil-link::after { content: "→"; transition: transform .15s ease; }
.pfeil-link:hover::after { transform: translateX(3px); }

.dachzeile { font-family: var(--schrift-titel); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--himmel-licht); margin-bottom: .8em; }
.dachzeile.dunkel { color: var(--navy); }
.etikett { display: inline-block; background: var(--pink); color: #fff; font-family: var(--schrift-titel); font-weight: 600; font-size: .78rem; letter-spacing: .03em; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }

/* -------------------------------------------------------------- Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.kopf-zeile { display: flex; align-items: center; gap: 18px; min-height: var(--kopf-hoehe); }
.marke { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; margin-right: auto; min-width: 0; }
.marke:hover { color: #fff; }
.marke-logo { width: 42px; height: 48px; object-fit: contain; flex: none; color: rgba(255,255,255,.75); }
.marke-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--schrift-titel); }
.marke-kg { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.marke-ort { font-weight: 500; font-size: .8rem; color: var(--himmel-licht); letter-spacing: .04em; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; white-space: nowrap; color: #fff; text-decoration: none; font-family: var(--schrift-titel); font-weight: 500; padding: 10px 14px; border-radius: 999px; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a[aria-current="page"] { background: rgba(255,255,255,.14); box-shadow: inset 0 -3px 0 var(--himmel); }

.spenden {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  background: #fff; color: var(--navy); text-decoration: none;
  font-family: var(--schrift-titel); font-weight: 700;
  padding: 9px 16px; border-radius: 999px; min-height: 42px;
  box-shadow: 0 3px 0 var(--himmel);
  transition: transform .15s ease;
}
.spenden svg { color: var(--pink); }
.spenden:hover { color: var(--navy); transform: translateY(-1px) rotate(-2deg); }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); cursor: pointer; flex: none; position: relative; }
.burger span { position: absolute; left: 13px; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Wimpelkette */
.wimpel {
  position: absolute; left: 0; right: 0; bottom: -17px; height: 18px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='216' height='18'%3E%3Cpath d='M0 1.5h216' stroke='%2313225E' stroke-width='3'/%3E%3Cpath d='M4 2h26L17 17z' fill='%23fff'/%3E%3Cpath d='M40 2h26L53 17z' fill='%2338B6F5'/%3E%3Cpath d='M76 2h26L89 17z' fill='%23E8437F'/%3E%3Cpath d='M112 2h26L125 17z' fill='%23fff'/%3E%3Cpath d='M148 2h26L161 17z' fill='%23FFC93C'/%3E%3Cpath d='M184 2h26L197 17z' fill='%235C86FF'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  filter: drop-shadow(0 2px 1px rgba(19,34,94,.18));
}

/* ------------------------------------------------------------ Konfetti */
.konfetti {
  position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Crect x='30' y='40' width='12' height='5' rx='2' fill='%2338B6F5' transform='rotate(-25 36 42)'/%3E%3Ccircle cx='190' cy='30' r='3.5' fill='%23E8437F'/%3E%3Crect x='120' y='110' width='10' height='4' rx='2' fill='%231FB1BE' transform='rotate(40 125 112)'/%3E%3Ccircle cx='60' cy='190' r='3' fill='%23fff'/%3E%3Crect x='210' y='170' width='12' height='5' rx='2' fill='%23FFC93C' transform='rotate(15 216 172)'/%3E%3Cpath d='M160 225l5-9 5 9z' fill='%23A08BFF'/%3E%3Ccircle cx='238' cy='95' r='2.5' fill='%23FFC93C'/%3E%3Crect x='20' y='120' width='9' height='4' rx='2' fill='%23fff' transform='rotate(-60 24 122)'/%3E%3Crect x='90' y='20' width='10' height='4' rx='2' fill='%23FFC93C' transform='rotate(70 95 22)'/%3E%3Ccircle cx='150' cy='175' r='3' fill='%2338B6F5'/%3E%3Crect x='70' y='240' width='11' height='4' rx='2' fill='%23E8437F' transform='rotate(-35 75 242)'/%3E%3Cpath d='M225 245l4-8 5 7z' fill='%231FB1BE'/%3E%3Ccircle cx='110' cy='70' r='2.5' fill='%23A08BFF'/%3E%3Crect x='175' y='120' width='9' height='4' rx='2' fill='%238AD4FB' transform='rotate(-10 179 122)'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(100deg, transparent 0%, #000 45%);
}

/* --------------------------------------------------------------- Held */
.held { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, #2446B8 0%, var(--navy) 55%, var(--navy-tief) 100%); color: #fff; padding: 76px 0 84px; }
.held-raster { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.held h1 { margin-bottom: .35em; text-wrap: balance; }
.held-einleitung { font-size: 1.18rem; color: rgba(255,255,255,.86); max-width: 36em; margin-bottom: 1.6em; }
.held-karten { display: grid; gap: 18px; justify-items: end; }
.held-mit-bild {
  background:
    linear-gradient(100deg, rgba(12,23,64,.94) 0%, rgba(19,34,94,.82) 45%, rgba(19,34,94,.55) 100%),
    var(--startbild) center 35% / cover no-repeat,
    var(--navy);
}
.held-mit-bild .konfetti { opacity: .45; }

/* Eintrittskarte */
.ticket {
  --loch: 13px;
  position: relative; display: flex; flex-direction: column; gap: 3px;
  width: 100%; max-width: 380px;
  background: #fff; color: var(--tinte); text-decoration: none;
  padding: 22px 26px 22px 30px; border-radius: var(--rund);
  transform: rotate(-1.6deg);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.55);
  -webkit-mask: radial-gradient(circle var(--loch) at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--loch) at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--loch) at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--loch) at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  transition: transform .2s ease;
}
.ticket::before { content: ""; position: absolute; left: 16px; top: 14px; bottom: 14px; border-left: 2px dashed var(--linie); }
.ticket:hover { transform: rotate(0deg) translateY(-3px); color: var(--tinte); }
.ticket-kopf { font-family: var(--schrift-titel); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--pink); }
.ticket-datum { font-family: var(--schrift-titel); font-weight: 600; color: var(--blau); margin-top: 6px; }
.ticket-titel { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.55rem; line-height: 1.1; color: var(--navy); margin: 2px 0 6px; }
.ticket-meta { font-size: .95rem; color: var(--grau); }
.ticket-klein { max-width: 330px; background: var(--himmel); transform: rotate(1.4deg); margin-right: 22px; }
.ticket-klein::before { border-color: rgba(19,34,94,.25); }
.ticket-klein .ticket-kopf { color: var(--navy); }
.ticket-klein .ticket-datum { color: var(--navy); font-weight: 800; font-size: 1.15rem; }
.ticket-klein .ticket-meta { color: rgba(19,34,94,.8); }


/* ---------------------------------------------------------- Abschnitte */
.abschnitt { padding: 72px 0; }
.abschnitt + .abschnitt { padding-top: 0; }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.abschnitt-kopf h2 { margin: 0; }
.abschnitt-kopf h2::after, .abschnitt-personen h2::after {
  content: ""; display: block; width: 72px; height: 6px; margin-top: 12px; border-radius: 3px;
  background: linear-gradient(90deg, var(--himmel) 0 25%, var(--pink) 25% 50%, var(--gelb) 50% 75%, var(--tuerkis) 75%);
}
.leer { background: #fff; border: 2px dashed var(--linie); border-radius: var(--rund); padding: 28px; color: var(--grau); text-align: center; }
.fliess { max-width: 40em; }

/* Seitenkopf der Unterseiten */
.seitenkopf { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 64px 0 60px; }
.seitenkopf .wrap { position: relative; }
.seitenkopf h1 { margin-bottom: .3em; }
.seitenkopf-text { font-size: 1.15rem; color: rgba(255,255,255,.86); max-width: 40em; margin: 0; }
.seitenkopf-himmel { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 22px, transparent 22px 44px), linear-gradient(120deg, var(--himmel) 0%, var(--himmel-licht) 100%); color: var(--navy); }
.seitenkopf-himmel .seitenkopf-text { color: rgba(19,34,94,.85); }
.seitenkopf-himmel .konfetti { opacity: .6; }
.seitenkopf-violett { background: radial-gradient(120% 120% at 90% 0%, #8C74FF 0%, #5A3FD6 55%, #3F2AA8 100%); }

/* -------------------------------------------------------------- Termine */
.termine { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.termin {
  display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 18px 22px 18px 18px; box-shadow: var(--schatten);
}
.termin-naechster { border: 2px solid var(--himmel); box-shadow: 0 0 0 4px rgba(56,182,245,.25), var(--schatten); }
.kalender {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; border-radius: 12px; padding: 8px 4px 9px;
  font-family: var(--schrift-titel); line-height: 1; text-align: center;
  box-shadow: inset 0 5px 0 var(--akzent, var(--himmel));
}
.termine > li:nth-child(5n+2) .kalender { --akzent: var(--pink); }
.termine > li:nth-child(5n+3) .kalender { --akzent: var(--gelb); }
.termine > li:nth-child(5n+4) .kalender { --akzent: var(--tuerkis); }
.termine > li:nth-child(5n+5) .kalender { --akzent: var(--violett); }
.stammtisch-liste li:nth-child(even) .kalender { --akzent: var(--pink); }
.kal-wt { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; color: var(--himmel-licht); }
.kal-tag { font-size: 2rem; font-weight: 800; margin: 3px 0 2px; }
.kal-mon { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.82); }
.termin-titel { font-size: 1.3rem; margin: 0 0 6px; color: var(--navy); }
.termin-meta { display: flex; flex-direction: column; gap: 2px; margin: 0; color: var(--grau); font-size: .98rem; }
.meta-zeit { color: var(--tinte); font-weight: 600; }
.meta-zeit, .meta-ort { position: relative; padding-left: 24px; }
.meta-zeit::before, .meta-ort::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 16px; height: 16px; background: var(--blau);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.meta-zeit::before { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.meta-ort::before { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E"); }
.termin-text { margin: 8px 0 0; font-size: .98rem; }

.monat { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blau); margin: 34px 0 12px; }
.monat:first-child { margin-top: 0; }
.termine-raster { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.seitenleiste { display: grid; gap: 16px; position: sticky; top: calc(var(--kopf-hoehe) + 34px); }

.info-karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); padding: 24px; box-shadow: var(--schatten); }
.info-karte h2 { font-size: 1.3rem; }
.info-karte p:last-child { margin-bottom: 0; }
.info-karte-himmel { background: var(--eis); border-color: var(--himmel-licht); }
.info-karte-himmel .pfeil-link { color: var(--navy); }

/* ---------------------------------------------------------------- Flyer */
.abschnitt-flyer { background: var(--blau-hell); padding: 72px 0; }
.abschnitt + .abschnitt-flyer { padding-top: 72px; }
.flyer-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 290px); gap: 48px; align-items: center; }
.flyer-raster > div { max-width: 30rem; }
.flyer-raster .knopf { margin: 6px 16px 0 0; }
.flyer-vorschau { display: block; border-radius: var(--rund); overflow: hidden; box-shadow: 0 20px 40px -20px rgba(19,34,94,.5); transform: rotate(2deg); transition: transform .2s ease; background: #fff; }
.flyer-vorschau:hover { transform: rotate(0) scale(1.01); }
.flyer-pdf { display: grid; place-items: center; aspect-ratio: 1 / 1.41; font-family: var(--schrift-titel); font-weight: 700; font-size: 1.3rem; color: var(--navy); text-align: center; padding: 20px; }
.flyer-liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.flyer-liste .flyer-vorschau { transform: none; }
.flyer-liste li:nth-child(odd) .flyer-vorschau { transform: rotate(-1.5deg); }
.flyer-liste li:nth-child(even) .flyer-vorschau { transform: rotate(1.5deg); }
.flyer-titel { font-family: var(--schrift-titel); font-weight: 600; margin: 14px 0 0; }

/* ------------------------------------------------------------ Stammtisch */
.stammtisch-band { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 22px, transparent 22px 44px), linear-gradient(120deg, var(--himmel) 0%, var(--himmel-licht) 100%); color: var(--navy); padding: 64px 0; }
.stammtisch-raster { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.stammtisch-raster p { max-width: 36em; }
.stammtisch-datum { padding-right: 30px; }
.kalender-gross { width: 170px; padding: 18px 10px 20px; border-radius: 20px; transform: rotate(4deg); box-shadow: inset 0 9px 0 var(--pink), 0 20px 30px -16px rgba(19,34,94,.6); }
.kalender-gross .kal-wt { font-size: 1rem; margin-top: 8px; }
.kalender-gross .kal-tag { font-size: 4.2rem; }
.kalender-gross .kal-mon { font-size: 1.05rem; }

.stammtisch-seite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: start; }
.stammtisch-liste { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
.stammtisch-liste li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); padding: 12px 16px 12px 12px; }
.stammtisch-liste li div { display: flex; flex-direction: column; }
.stammtisch-liste li div span { color: var(--grau); font-size: .95rem; }
.stammtisch-liste li.erster { border: 2px solid var(--himmel); box-shadow: 0 0 0 4px rgba(56,182,245,.25); }
.stammtisch-liste .kalender { padding: 6px 2px 7px; }
.stammtisch-liste .kal-tag { font-size: 1.6rem; }
.stammtisch-liste + .klein { margin-bottom: 28px; }
.ort-karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); padding: 26px; box-shadow: var(--schatten); }
.ort-name { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.2rem; color: var(--navy); margin-bottom: .2em; }

.karte { margin-top: 18px; border-radius: var(--rund-klein); background: var(--blau-hell); aspect-ratio: 4 / 3; display: grid; }
/* Kein overflow: hidden - sonst schneidet der Kasten auf schmalen Handys den Hinweistext ab */
.karte iframe { width: 100%; height: 100%; border: 0; border-radius: inherit; }
.karte-hinweis { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 4px; color: var(--navy); }
.karte-hinweis p { margin: 0; }
.karte-hinweis .knopf { margin: 10px 0; }
.karte-hinweis .klein { max-width: 28em; }
.karte-route { margin: 12px 0 0; }

/* -------------------------------------------------------------- Gesichter */
.gesichter { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
.gesicht { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gesicht img, .gesicht-leer, .person-bild img {
  width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 0 4px var(--papier), 0 0 0 8px var(--ring, var(--himmel));
  margin-bottom: 16px; transition: transform .2s ease;
}
.gesicht-leer { display: block; background: var(--blau-hell); }
.gesicht:hover img { transform: rotate(-4deg) scale(1.03); }
.ring-0 { --ring: var(--himmel); }
.ring-1 { --ring: var(--blau); }
.ring-2 { --ring: var(--pink); }
.ring-3 { --ring: var(--gelb); }
.ring-4 { --ring: var(--violett); }
.gesicht-name { font-family: var(--schrift-titel); font-weight: 700; color: var(--navy); line-height: 1.2; }
.gesicht-rolle { font-size: .9rem; color: var(--grau); }

.abschnitt-personen h2 { margin-bottom: 32px; }
.personen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.person { background: #fff; border: 1px solid var(--linie); border-radius: 20px; padding: 32px 24px 26px; text-align: center; box-shadow: var(--schatten); }
.person-bild img, .person-bild .gesicht-leer { max-width: 180px; margin: 0 auto 20px; }
.person h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.3rem; }
.person-rolle { display: inline-block; background: var(--blau-hell); color: var(--blau); font-family: var(--schrift-titel); font-weight: 600; font-size: .85rem; padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.person-text { color: var(--grau); margin: 0 0 .6em; text-align: left; }
.person-text:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- Schluss */
.abschnitt-schluss { padding-bottom: 88px; }
.schluss-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.schluss-karte { background: var(--pink-hell); border-radius: 20px; padding: 34px; position: relative; overflow: hidden; }
.schluss-karte > :not(.konfetti) { position: relative; }
.schluss-karte p { max-width: 32em; }
.schluss-spende { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.schluss-spende p { color: rgba(255,255,255,.86); }
/* Konfetti nur am Rand, nicht hinter dem Text */
.schluss-karte .konfetti { -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 62%, #000 100%); mask-image: linear-gradient(100deg, transparent 0%, transparent 62%, #000 100%); }

/* --------------------------------------------------------------- Kontakt */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 36px; align-items: start; }
.kontakt-info { display: grid; gap: 16px; }
.schritte { list-style: none; padding: 0; margin: 4px 0 20px; display: grid; gap: 10px; }
.schritte li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.schritte span { width: 30px; height: 30px; border-radius: 50%; background: var(--akzent, var(--himmel)); color: var(--navy); display: grid; place-items: center; font-family: var(--schrift-titel); font-weight: 800; flex: none; }

.schritte li:nth-child(2) span { --akzent: var(--gelb); }
.schritte li:nth-child(3) span { --akzent: var(--pink); color: #fff; }
.schritte li:nth-child(4) span { --akzent: var(--tuerkis); }

.formular-karte { background: #fff; border: 1px solid var(--linie); border-radius: 20px; padding: 32px; box-shadow: var(--schatten); }
.formular { display: grid; gap: 18px; }
.feld { display: grid; gap: 6px; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feld > label, .umschalter legend { font-family: var(--schrift-titel); font-weight: 600; color: var(--navy); }
.optional { font-family: var(--schrift-text); font-weight: 400; color: var(--grau); font-size: .9rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="date"], textarea, select {
  width: 100%; font: inherit; color: var(--tinte); background: var(--papier);
  border: 2px solid var(--linie); border-radius: var(--rund-klein); padding: 11px 13px; min-height: 48px;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blau); background: #fff; box-shadow: 0 0 0 4px rgba(31,70,200,.15); }
[aria-invalid="true"] { border-color: var(--rot) !important; }
.feld-fehler { color: var(--rot); font-size: .92rem; font-weight: 600; margin: 0; }

.umschalter { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.umschalter legend { padding: 0; margin-bottom: 8px; }
.umschalter label { position: relative; cursor: pointer; }
.umschalter input { position: absolute; opacity: 0; }
.umschalter span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 8px 12px; border: 2px solid var(--linie); border-radius: var(--rund-klein); font-family: var(--schrift-titel); font-weight: 600; color: var(--grau); transition: all .15s ease; }
.umschalter input:checked + span { border-color: var(--blau); background: var(--blau-hell); color: var(--navy); }
.umschalter input:focus-visible + span { outline: 3px solid var(--himmel); outline-offset: 2px; }

.upload { position: relative; display: grid; gap: 6px; border: 2px dashed #C6CBDD; border-radius: var(--rund); padding: 22px; text-align: center; background: var(--papier); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.upload:hover, .upload.drueber { border-color: var(--blau); background: var(--blau-hell); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-text small { color: var(--grau); }
.upload-liste:empty { display: none; }
.upload-liste { font-weight: 600; color: var(--gruen); font-size: .95rem; }
.formular[data-art="frage"] .nur-mitglied, .formular[data-art="mitglied"] .nur-frage { display: none; }

.haken { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .95rem; cursor: pointer; }
.haken input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blau); }
.senden { margin-top: 6px; font-size: 1.08rem; }

.meldung { border-radius: var(--rund); padding: 18px 20px; margin-bottom: 20px; }
.meldung p:last-child { margin-bottom: 0; }
.meldung-fehler { background: #FDECEF; border: 2px solid #F3B4BF; color: #7A1426; }
.meldung-ok { background: #E6F5EC; border: 2px solid #A8DDBD; color: #10432B; }
.meldung-ok h2 { font-size: 1.5rem; }

/* ------------------------------------------------------------ Rechtstexte */
.seitenkopf-klein { padding: 56px 0 48px; }
.seitenkopf-klein h1 { margin: 0; }
.rechtstext h2 { font-size: 1.25rem; margin-top: 1.8em; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext .stand { margin-top: 2.4em; color: var(--grau); font-size: .92rem; }
.fehlt { background: #FDE4EE; color: #8A1846; padding: 1px 8px; border-radius: 6px; font-size: .92rem; }

/* ------------------------------------------------------------------ Fuss */
.fuss { background: var(--navy-tief); color: rgba(255,255,255,.82); padding: 56px 0 26px; font-size: .98rem; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--himmel-licht); text-decoration: underline; }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
.fuss-verein { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: start; align-content: start; }
.fuss-verein p { grid-column: 2; }
.fuss-logo { grid-row: span 2; width: 52px; height: 60px; object-fit: contain; color: rgba(255,255,255,.5); }
.fuss-verein strong { color: #fff; }
.fuss-nav { display: flex; gap: 56px; }
.fuss-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; align-content: start; }
.fuss-unten { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; font-size: .88rem; color: rgba(255,255,255,.6); }
/* Trennlinie so breit wie der Inhalt, nicht bis in den Seitenrand */
.fuss-unten::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: rgba(255,255,255,.12); }
.alaaf { font-family: var(--schrift-titel); font-weight: 700; color: var(--himmel-licht); letter-spacing: .02em; }

/* Hinweis auf Solis (Webdesign), im Fuss jeder Seite */
.solis {
  position: relative; margin-top: 40px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: var(--rund);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: #fff; text-decoration: none; overflow: hidden;
  transition: background .2s, border-color .2s;
}
.solis::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #ff5c9d, #a877ff, #4a86ff);
}
.fuss a.solis:hover { background: rgba(255,255,255,.09); border-color: rgba(168,119,255,.5); color: #fff; text-decoration: none; }
.solis-zeichen { width: 40px; height: 40px; flex: none; color: #fff; }
.solis-text { display: grid; gap: 1px; flex: 1 1 220px; line-height: 1.25; }
.solis-klein { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.solis-name { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.2rem; }
.solis-name span { font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.75); }
.solis-name span::before { content: "· "; }
.solis-knopf {
  font-family: var(--schrift-titel); font-weight: 600; font-size: .95rem; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; background: #a877ff; color: #fff;
  transition: transform .2s;
}
.solis:hover .solis-knopf { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .solis, .solis-knopf { transition: none; } }
@media (max-width: 520px) {
  .solis-name span { display: block; }
  .solis-name span::before { content: none; }
  .solis-knopf { width: 100%; text-align: center; }
}

/* ------------------------------------------------------- Jubiläum */

/* Im Jubilaeumsjahr steht die Zahl in der Zeile ueber der Ueberschrift,
   mit demselben Vierfarb-Balken wie unter den Ueberschriften. */
.jubel {
  display: inline-flex; flex-direction: column; gap: 10px;
  color: #fff; font-size: .95rem; letter-spacing: .14em;
}
.jubel-balken {
  display: block; width: 100%; max-width: 230px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--himmel) 0 25%, var(--pink) 25% 50%, var(--gelb) 50% 75%, var(--tuerkis) 75%);
}

/* ----------------------------------------------- Gesichter aufklappen */

/* Die Gesichter sind erst zu und klappen auf, sobald man dorthin
   scrollt oder auf den Knopf drueckt. Ohne Skript stehen sie offen da. */
.klapp-raum { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s ease; }
.klapp-raum > * { min-height: 0; overflow: hidden; }
.klapp.zu .klapp-raum { grid-template-rows: 0fr; }
.klapp.zu .klapp-raum > * { visibility: hidden; }
/* Ist alles offen, wird nichts mehr beschnitten - sonst steht an der
   Unterkante eine Schnittkante und Schatten werden abgeschnitten. */
.klapp.fertig .klapp-raum { display: block; }
.klapp.fertig .klapp-raum > * { overflow: visible; }
/* Ruhig hochkommen, nacheinander. Vorher kippten die Karten aus dem Raum
   herein, das sah neben dem aufgehenden Bereich unruhig aus. */
.klapp.auf .gesicht, .klapp.auf .person {
  animation: hochkommen .45s ease-out backwards;
  animation-delay: calc(140ms + var(--i, 0) * 65ms);
}
@keyframes hochkommen {
  from { opacity: 0; transform: translateY(14px); }
}

/* ------------------------------------------------- Karten und Preise */

.preise { margin-top: 14px; }
.preise > summary { display: inline-block; list-style: none; cursor: pointer; }
.preise > summary::-webkit-details-marker { display: none; }
.preise-marke {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--schrift-titel); font-weight: 700; font-size: .92rem;
  color: var(--navy); background: var(--blau-hell);
  border: 1.5px dashed var(--blau); border-radius: 999px;
  padding: 7px 15px;
}
.preise-marke::before {
  content: ""; width: 17px; height: 17px; background: var(--blau);
  -webkit-mask: var(--ticket) center / contain no-repeat; mask: var(--ticket) center / contain no-repeat;
  --ticket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3a2 2 0 0 0 0 4v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3a2 2 0 0 0 0-4Zm6 0v10' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.preise[open] .preise-marke { background: var(--blau); color: #fff; border-style: solid; }
.preise[open] .preise-marke::before { background: #fff; }
.preise-inhalt { margin-top: 12px; max-width: 26rem; }
.preisliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.preisliste li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  border-bottom: 1px dotted #BFC6DC; padding-bottom: 5px;
}
.preis-was { color: var(--tinte); }
.preis-wert { font-family: var(--schrift-titel); font-weight: 700; color: var(--navy); white-space: nowrap; }
.preis-hinweis { margin: 10px 0 0; font-size: .95rem; color: var(--grau); }

/* --------------------------------------------------------------- Archiv */

.seitenkopf-pink { background: radial-gradient(120% 120% at 12% 0%, #FF74A9 0%, var(--pink) 46%, #9E1F55 100%); }

/* Zeitstrahl: oben das Neueste, nach unten die aelteren Veranstaltungen.
   Links das Kalenderblatt, rechts Text und Bilder. */
.zeitstrahl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 38px; }
.zeitstrahl::before {
  content: ""; position: absolute; top: 12px; bottom: 12px; left: 88px; width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, var(--himmel), var(--pink) 32%, var(--gelb) 64%, var(--tuerkis));
  opacity: .55;
}
.zs-eintrag { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); column-gap: 46px; }
.zs-links { display: grid; justify-items: center; align-content: start; gap: 8px; }
.zs-kalender { width: 78px; }
.zs-jahr { font-family: var(--schrift-titel); font-weight: 700; font-size: .82rem; color: var(--grau); letter-spacing: .06em; }
.zs-punkt {
  position: absolute; left: 82px; top: 20px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ring, var(--himmel)); box-shadow: 0 0 0 5px var(--papier);
}
.zs-inhalt {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--rund);
  box-shadow: var(--schatten); padding: 24px 26px 26px;
}
.zs-inhalt h3 { color: var(--navy); font-size: 1.45rem; margin-bottom: .2em; }
.zs-datum {
  font-family: var(--schrift-titel); font-weight: 600; font-size: .84rem;
  letter-spacing: .07em; text-transform: uppercase; color: var(--pink); margin: 0 0 .9em;
}
.zs-text { color: var(--grau); margin-bottom: .7em; }
.zs-text:last-child { margin-bottom: 0; }

/* Bilder eines Eintrags.
   Handy zuerst: zwei Bilder nebeneinander, quadratisch; bei ungerader
   Anzahl steht das erste gross und quer darueber.
   Ab Tablet wird daraus ein quadratisches Feld (1 zu 1) aus 6 x 6 Kacheln,
   und jede Bildanzahl von 1 bis 9 hat ihre eigene Aufteilung. */
.mosaik {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
.mosaik li { grid-column: span 3; aspect-ratio: 1; overflow: hidden; border-radius: var(--rund-klein); background: var(--blau-hell); }
.mosaik a { display: block; width: 100%; height: 100%; }
.mosaik img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.mosaik a:hover img { transform: scale(1.05); }

.mosaik[data-anzahl="1"] li:first-child,
.mosaik[data-anzahl="3"] li:first-child,
.mosaik[data-anzahl="5"] li:first-child,
.mosaik[data-anzahl="7"] li:first-child,
.mosaik[data-anzahl="9"] li:first-child { grid-column: span 6; aspect-ratio: 4 / 3; }

/* Bild gross ansehen (Klick auf eine Kachel) */
.lupe {
  width: 100%; max-width: 100vw; height: 100%; max-height: 100vh;
  margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden;
}
.lupe::backdrop { background: rgba(8, 14, 36, .93); }
.lupe-rahmen { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 18px 78px; }
.lupe figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lupe img {
  width: auto; height: auto; max-width: min(1200px, 92vw); max-height: 78vh;
  border-radius: var(--rund); box-shadow: 0 30px 60px -22px #000; background: var(--navy);
}
.lupe figcaption { color: rgba(255,255,255,.88); font-size: .95rem; text-align: center; max-width: 40em; }
.lupe-knopf {
  position: fixed; display: grid; place-items: center;
  width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; line-height: 1;
  transition: background-color .15s ease, transform .15s ease;
}
.lupe-knopf:hover { background: rgba(255,255,255,.28); transform: scale(1.06); }
.lupe-zu { top: 16px; right: 16px; font-size: 1.25rem; }
.lupe-pfeil { top: 50%; translate: 0 -50%; }
.lupe-zurueck { left: 16px; }
.lupe-weiter { right: 16px; }
.lupe-knopf[hidden] { display: none; }
@media (max-width: 680px) {
  .lupe-rahmen { padding: 60px 10px 86px; }
  .lupe-knopf { width: 46px; height: 46px; }
  .lupe-pfeil { top: auto; bottom: 18px; translate: none; }
  .lupe-zurueck { left: 24px; }
  .lupe-weiter { right: 24px; }
}

@media (min-width: 681px) {
  .mosaik { grid-template-rows: repeat(6, 1fr); aspect-ratio: 1; gap: 10px; }
  .mosaik li { aspect-ratio: auto; grid-column: auto; }
  /* Die Handy-Regeln oben gelten hier nicht mehr: im Quadrat bestimmt
     das Raster die Groesse, nicht das Seitenverhaeltnis der Kachel. */
  .mosaik[data-anzahl] li:first-child { aspect-ratio: auto; }

  /* 1 Bild */
  .mosaik[data-anzahl="1"] li:nth-child(1) { grid-area: 1 / 1 / 7 / 7; }

  /* 2 Bilder: zwei Streifen uebereinander */
  .mosaik[data-anzahl="2"] li:nth-child(1) { grid-area: 1 / 1 / 4 / 7; }
  .mosaik[data-anzahl="2"] li:nth-child(2) { grid-area: 4 / 1 / 7 / 7; }

  /* 3 Bilder: ein breites oben, zwei darunter */
  .mosaik[data-anzahl="3"] li:nth-child(1) { grid-area: 1 / 1 / 5 / 7; }
  .mosaik[data-anzahl="3"] li:nth-child(2) { grid-area: 5 / 1 / 7 / 4; }
  .mosaik[data-anzahl="3"] li:nth-child(3) { grid-area: 5 / 4 / 7 / 7; }

  /* 4 Bilder: grosses links, zwei rechts, eines quer unten */
  .mosaik[data-anzahl="4"] li:nth-child(1) { grid-area: 1 / 1 / 5 / 5; }
  .mosaik[data-anzahl="4"] li:nth-child(2) { grid-area: 1 / 5 / 3 / 7; }
  .mosaik[data-anzahl="4"] li:nth-child(3) { grid-area: 3 / 5 / 5 / 7; }
  .mosaik[data-anzahl="4"] li:nth-child(4) { grid-area: 5 / 1 / 7 / 7; }

  /* 5 Bilder: zwei kleine links, grosses rechts, unten breit und klein */
  .mosaik[data-anzahl="5"] li:nth-child(1) { grid-area: 1 / 1 / 3 / 3; }
  .mosaik[data-anzahl="5"] li:nth-child(2) { grid-area: 3 / 1 / 5 / 3; }
  .mosaik[data-anzahl="5"] li:nth-child(3) { grid-area: 1 / 3 / 5 / 7; }
  .mosaik[data-anzahl="5"] li:nth-child(4) { grid-area: 5 / 1 / 7 / 5; }
  .mosaik[data-anzahl="5"] li:nth-child(5) { grid-area: 5 / 5 / 7 / 7; }

  /* 6 Bilder: grosses links oben, drumherum die kleinen */
  .mosaik[data-anzahl="6"] li:nth-child(1) { grid-area: 1 / 1 / 5 / 5; }
  .mosaik[data-anzahl="6"] li:nth-child(2) { grid-area: 1 / 5 / 3 / 7; }
  .mosaik[data-anzahl="6"] li:nth-child(3) { grid-area: 3 / 5 / 5 / 7; }
  .mosaik[data-anzahl="6"] li:nth-child(4) { grid-area: 5 / 1 / 7 / 3; }
  .mosaik[data-anzahl="6"] li:nth-child(5) { grid-area: 5 / 3 / 7 / 5; }
  .mosaik[data-anzahl="6"] li:nth-child(6) { grid-area: 5 / 5 / 7 / 7; }

  /* 7 Bilder: zwei breite oben, drei in der Mitte, zwei breite unten */
  .mosaik[data-anzahl="7"] li:nth-child(1) { grid-area: 1 / 1 / 3 / 4; }
  .mosaik[data-anzahl="7"] li:nth-child(2) { grid-area: 1 / 4 / 3 / 7; }
  .mosaik[data-anzahl="7"] li:nth-child(3) { grid-area: 3 / 1 / 5 / 3; }
  .mosaik[data-anzahl="7"] li:nth-child(4) { grid-area: 3 / 3 / 5 / 5; }
  .mosaik[data-anzahl="7"] li:nth-child(5) { grid-area: 3 / 5 / 5 / 7; }
  .mosaik[data-anzahl="7"] li:nth-child(6) { grid-area: 5 / 1 / 7 / 4; }
  .mosaik[data-anzahl="7"] li:nth-child(7) { grid-area: 5 / 4 / 7 / 7; }

  /* 8 Bilder: zwei breite oben, dann zweimal drei */
  .mosaik[data-anzahl="8"] li:nth-child(1) { grid-area: 1 / 1 / 3 / 4; }
  .mosaik[data-anzahl="8"] li:nth-child(2) { grid-area: 1 / 4 / 3 / 7; }
  .mosaik[data-anzahl="8"] li:nth-child(3) { grid-area: 3 / 1 / 5 / 3; }
  .mosaik[data-anzahl="8"] li:nth-child(4) { grid-area: 3 / 3 / 5 / 5; }
  .mosaik[data-anzahl="8"] li:nth-child(5) { grid-area: 3 / 5 / 5 / 7; }
  .mosaik[data-anzahl="8"] li:nth-child(6) { grid-area: 5 / 1 / 7 / 3; }
  .mosaik[data-anzahl="8"] li:nth-child(7) { grid-area: 5 / 3 / 7 / 5; }
  .mosaik[data-anzahl="8"] li:nth-child(8) { grid-area: 5 / 5 / 7 / 7; }

  /* 9 Bilder: alle gleich gross */
  .mosaik[data-anzahl="9"] li,
  .mosaik[data-anzahl="9"] li:first-child { grid-column: span 2; grid-row: span 2; }

  /* Ab 10 Bildern: gleich grosse Quadrate, das Feld waechst nach unten */
  .mosaik[data-anzahl="10"] { aspect-ratio: auto; grid-template-rows: none; grid-auto-rows: auto; }
  .mosaik[data-anzahl="10"] li { grid-column: span 2; aspect-ratio: 1; }
}

/* Zuerst steht nur eine Reihe da. Diese Regeln stehen absichtlich nach
   den Anordnungen oben, damit sie im zugeklappten Zustand gewinnen. */
.mosaik.vorschau { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; aspect-ratio: auto; }
.mosaik.vorschau li:nth-child(n) { grid-area: auto; aspect-ratio: 4 / 3; }
.mosaik.vorschau li:nth-child(n+4) { display: none; }
.mosaik-mehr { margin-top: 14px; }

/* Zeitangabe links am Strahl: Monat oder Jahr statt Kalenderblatt */
.zs-monat, .zs-jahresblock { padding: 14px 6px; gap: 3px; }
.zs-monat .kal-mon { font-size: 1.25rem; font-weight: 800; color: #fff; }
.kal-jahr { font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.82); }
.kal-jahr-gross { font-family: var(--schrift-titel); font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 980px) {
  .held-raster, .termine-raster, .stammtisch-seite, .kontakt-raster { grid-template-columns: 1fr; }
  .held-karten { justify-items: start; }
  .ticket-klein { margin-right: 0; margin-left: 22px; }
  .seitenleiste { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .flyer-raster { grid-template-columns: 1fr minmax(0, 280px); gap: 28px; }
}

/* Sechs Menüpunkte brauchen zwischendurch etwas weniger Platz */
@media (max-width: 1140px) and (min-width: 981px) {
  .nav a { padding: 10px 10px; font-size: .97rem; }
  .kopf-zeile { gap: 12px; }
  .marke-ort { display: none; }
}

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); padding: 10px 20px 26px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { font-size: 1.15rem; padding: 13px 14px; border-radius: 12px; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--himmel); }
  .kopf-zeile { gap: 10px; }
  .nav.offen ~ .wimpel, .kopf:has(.nav.offen) .wimpel { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .held { padding: 52px 0 60px; }
  .held-mit-bild { background: linear-gradient(180deg, rgba(12,23,64,.9) 0%, rgba(19,34,94,.8) 55%, rgba(12,23,64,.92) 100%), var(--startbild) 60% 30% / cover no-repeat, var(--navy); }
  .konfetti { -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 28%, transparent 78%, #000 100%); mask-image: linear-gradient(180deg, #000 0%, transparent 28%, transparent 78%, #000 100%); }
  .held-einleitung { font-size: 1.05rem; }
  .knopf-reihe .knopf { width: 100%; }
  .abschnitt { padding: 52px 0; }
  .abschnitt-flyer, .abschnitt + .abschnitt-flyer { padding: 52px 0; }
  .seitenkopf { padding: 46px 0 44px; }
  .termin { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .kal-tag { font-size: 1.6rem; }
  .termin-titel { font-size: 1.12rem; }
  .flyer-raster { grid-template-columns: 1fr; }
  .flyer-raster .flyer-vorschau { max-width: 300px; }
  .stammtisch-raster { grid-template-columns: 1fr; gap: 28px; }
  .stammtisch-datum { order: -1; padding: 0; }
  .kalender-gross { width: 124px; transform: rotate(-3deg); }
  .kalender-gross .kal-tag { font-size: 3rem; }
  .gesichter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schluss-raster { grid-template-columns: 1fr; }
  .schluss-karte { padding: 26px; }
  .formular-karte { padding: 22px 18px; }
  .feld-paar { grid-template-columns: 1fr; }
  .umschalter span { font-size: .95rem; }
  .fuss-raster { grid-template-columns: 1fr; }
  .fuss-nav { gap: 36px; }
  .ort-karte { padding: 20px; }
  .fuss-unten::before { left: 16px; right: 16px; }
  .schluss-karte .konfetti { -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 72%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, transparent 72%, #000 100%); }
  .seitenkopf-klein { padding: 40px 0 36px; }
  .jubel { font-size: .85rem; }
  /* Zeitstrahl auf dem Handy: Datum über dem Eintrag, Linie ganz links */
  .zeitstrahl::before { left: 7px; }
  .zs-eintrag { grid-template-columns: 1fr; padding-left: 34px; }
  .zs-links { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; margin-bottom: 10px; }
  .zs-kalender { width: 58px; }
  .zs-kalender .kal-tag { font-size: 1.5rem; }
  .zs-punkt { left: 1px; top: 24px; width: 13px; height: 13px; }
  .zs-inhalt { padding: 20px 18px 22px; }
  .zs-inhalt h3 { font-size: 1.25rem; }
  .abschnitt-rueckblick, .abschnitt + .abschnitt-rueckblick { padding: 52px 0; }
  .abschnitt-rueckblick + .abschnitt, .abschnitt-flyer + .abschnitt { padding-top: 52px; }
}

@media (max-width: 400px) {
  .marke-text { display: none; }
  .spenden { padding: 9px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .ticket, .ticket-klein, .flyer-vorschau, .kalender-gross { transform: none !important; }
  .klapp.auf .gesicht, .klapp.auf .person { animation: none; }
  .mosaik img { transform: none !important; }
}
