/* ==========================================================
   KG Gersfeld e.V. – Design-System
   Farben, Schriften, Abstände und Effekte für alle Seiten
   ========================================================== */

/* ---------- Schriften (lokal gehostet, keine externen Server) ---------- */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Farben und Grundwerte ---------- */
:root {
  --blau: #2F4797;          /* Logo-Blau, Hauptfarbe */
  --nacht: #18265A;         /* dunkles Nachtblau für Text und Flächen */
  --creme: #FBF6EC;         /* warmer Hintergrund */
  --rot: #C8534A;           /* gedämpftes Rot als Akzent */
  --gold: #E3B23C;          /* Gold der Schellen, Handlungsknopf */
  --weiss: #FFFFFF;

  --text: var(--nacht);
  --text-leise: #4B5578;
  --linie: rgba(24, 38, 90, .12);

  --schrift-titel: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --schrift-text: "Nunito", "Segoe UI", system-ui, sans-serif;

  --breite: 1180px;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(4.5rem, 10vw, 8.5rem);
  --rund: 22px;
  --rund-klein: 14px;

  --schatten: 0 10px 30px -12px rgba(24, 38, 90, .28);
  --schatten-gross: 0 30px 60px -20px rgba(24, 38, 90, .45);
  --weich: cubic-bezier(.22, .8, .24, 1);
  --header-hoehe: 76px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
main { overflow-x: clip; }
/* Inhalte in Rastern dürfen schmaler werden, damit lange Wörter umbrechen statt überzustehen */
.zwei-spalten > *, .aufruf-innen > *, .termin > *, .dokument > *, .insta > * { min-width: 0; }
[id] { scroll-margin-top: calc(var(--header-hoehe) + 1rem); }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  line-height: 1.65;
  overflow-x: clip;
}
body.menue-offen { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--schrift-titel);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springe-zum-inhalt {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold); color: var(--nacht); padding: .7rem 1.1rem; border-radius: 10px; font-weight: 800; text-decoration: none;
}
.springe-zum-inhalt:focus { top: 1rem; }

.innen { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.innen-schmal { width: min(100% - 2 * var(--rand), 780px); margin-inline: auto; }
.abschnitt { padding-block: var(--abstand); position: relative; }

.oberzeile {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rot); margin-bottom: 1rem;
}
.oberzeile::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.einleitung { font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); color: var(--text-leise); max-width: 40rem; }
.zentriert { text-align: center; }
.zentriert .einleitung { margin-inline: auto; }

/* Farbige Bänder ("Banner") */
.band-weiss { background: var(--weiss); }
.band-blau { background: var(--blau); color: var(--weiss); }
.band-nacht { background: var(--nacht); color: var(--weiss); }
.band-blau .oberzeile, .band-nacht .oberzeile { color: var(--gold); }
.band-blau .einleitung, .band-nacht .einleitung { color: rgba(255, 255, 255, .8); }
.schraeg-oben { clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%); margin-top: -4vw; padding-top: calc(var(--abstand) + 4vw); }

/* ---------- Knöpfe ---------- */
.knopf {
  --k-bg: var(--gold); --k-text: var(--nacht);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem;
  background: var(--k-bg); color: var(--k-text);
  font-family: var(--schrift-text); font-weight: 800; font-size: 1.02rem;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(227, 178, 60, .8);
  transition: transform .35s var(--weich), box-shadow .35s var(--weich);
}
.knopf::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--weich);
}
.knopf:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -12px rgba(227, 178, 60, .9); }
.knopf:hover::after { transform: translateX(120%); }
.knopf svg { width: 20px; height: 20px; transition: transform .35s var(--weich); }
.knopf:hover svg { transform: translateX(4px); }
.knopf-blau { --k-bg: var(--blau); --k-text: var(--weiss); box-shadow: 0 10px 24px -10px rgba(47, 71, 151, .8); }
.knopf-blau:hover { box-shadow: 0 18px 32px -12px rgba(47, 71, 151, .9); }
.knopf[disabled], .knopf[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.textlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; color: var(--blau); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--weich);
}
.textlink:hover { background-size: 100% 2px; }
.textlink svg { width: 18px; height: 18px; transition: transform .35s var(--weich); }
.textlink:hover svg { transform: translateX(4px); }
.band-blau .textlink, .band-nacht .textlink { color: var(--gold); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-hoehe);
  color: var(--weiss);
  transition: background-color .4s, box-shadow .4s, color .4s, height .4s;
}
.kopf.ist-gescrollt {
  background: rgba(251, 246, 236, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--nacht);
  box-shadow: 0 8px 30px -18px rgba(24, 38, 90, .5);
  --header-hoehe: 66px;
}
.kopf .innen { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marke { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.marke-bild {
  width: 52px; height: 52px; border-radius: 50%; background: var(--weiss); padding: 3px;
  object-fit: contain;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
  transition: transform .5s var(--weich);
}
.marke:hover .marke-bild { transform: rotate(-8deg) scale(1.06); }
.marke-text { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: -.01em; }
.marke-text small { display: block; font-family: var(--schrift-text); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-top: .3rem; }

.navi ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .3rem; }
.navi a:not(.knopf) {
  position: relative; display: block; padding: .55rem .8rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: background-color .3s;
}
.navi a:not(.knopf)::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--weich);
}
.navi a:not(.knopf):hover::after, .navi a[aria-current="page"]::after { transform: scaleX(1); }
.navi .knopf { margin-left: .6rem; min-height: 44px; padding: .6rem 1.2rem; font-size: .95rem; }
/* Instagram-Symbol im Menü */
.navi .navi-insta a {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin-left: .3rem; border-radius: 50%;
  border: 1.5px solid currentColor; transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--weich);
}
.navi .navi-insta a::after { display: none; }
.navi .navi-insta svg { width: 21px; height: 21px; }
.navi .navi-insta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.navi .navi-insta a:hover { background: var(--gold); border-color: var(--gold); color: var(--nacht); transform: rotate(-8deg) scale(1.06); }
.menue-knopf {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: inherit; position: relative; z-index: 120;
}
.kopf.ist-gescrollt .menue-knopf { background: rgba(24, 38, 90, .08); }
.menue-knopf span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--weich), opacity .2s; }
.menue-knopf span:nth-child(1) { top: 18px; }
.menue-knopf span:nth-child(2) { top: 23px; }
.menue-knopf span:nth-child(3) { top: 28px; }
.menue-knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Kopfbereiche (Hero) ---------- */
.held {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 920px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-hoehe) + 3rem) 0 clamp(3rem, 8vw, 6rem);
  color: var(--weiss);
  background: var(--nacht);
}
.held-bild { position: absolute; inset: -8% 0; z-index: -2; }
.held-bild img { width: 100%; height: 100%; object-fit: cover; }
.held::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(24, 38, 90, .55) 0%, rgba(24, 38, 90, .15) 35%, rgba(24, 38, 90, .9) 100%),
    linear-gradient(90deg, rgba(24, 38, 90, .65) 0%, transparent 70%);
}
.held h1 { max-width: 14ch; }
.held-inhalt h1 { max-width: 20ch; font-size: clamp(2.4rem, 5.6vw, 4.6rem); hyphens: manual; -webkit-hyphens: manual; }
.alle-link { position: relative; z-index: 4; margin-top: 2.4rem; }
.fb-link { margin: .9rem 0 0; }

.held .einleitung { color: rgba(255, 255, 255, .88); }
.held .oberzeile { color: var(--gold); }
.held-inhalt { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.held-abzeichen {
  width: clamp(180px, 24vw, 310px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--weiss);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .14), var(--schatten-gross);
  animation: schweben 6s ease-in-out infinite;
}
@keyframes schweben { 50% { transform: translateY(-12px) rotate(2deg); } }
.held-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: 1.8rem; }
.held-hinweis { color: rgba(255, 255, 255, .8); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.held-hinweis span { display: inline-block; width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.held-hinweis span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: maus 1.8s ease-in-out infinite; }
@keyframes maus { 60% { transform: translateY(9px); opacity: 0; } }

/* Kleiner Kopfbereich für Unterseiten */
.held-klein { min-height: clamp(380px, 56vh, 560px); }
.held-flach { min-height: 0; padding-top: calc(var(--header-hoehe) + clamp(3.5rem, 9vw, 6.5rem)); background: var(--blau); }
.held-flach::before {
  background:
    radial-gradient(circle at 85% 20%, rgba(227, 178, 60, .28), transparent 40%),
    radial-gradient(circle at 10% 110%, rgba(200, 83, 74, .3), transparent 45%);
}
.held-flach::after {
  content: ""; position: absolute; right: -60px; top: 40px; width: 340px; height: 340px; z-index: -1; opacity: .12;
  background: url("../img/schelle.svg") center / contain no-repeat;
}
.brotkrumen { font-size: .9rem; font-weight: 700; margin-bottom: 1.2rem; }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.brotkrumen li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.brotkrumen a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.brotkrumen a:hover { color: var(--gold); }

/* ---------- Countdown ---------- */
.countdown-band { background: var(--creme); overflow: hidden; isolation: isolate; }
.countdown-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/konfetti.jpg") center / auto 100% repeat-x;
  mix-blend-mode: multiply;
}

/* Kanone über dem Countdown */
/* Kanone steht links neben den Countdown-Kacheln */
.countdown-zeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 820px) minmax(0, 1fr); align-items: end; column-gap: clamp(.8rem, 2vw, 1.6rem); margin: 2.4rem auto 1.8rem; }
.countdown-zeile .countdown { grid-column: 2; }
.countdown-zeile .kanonen-buehne { grid-column: 1; grid-row: 1; justify-self: end; }
.countdown-zeile .countdown { margin: 0; max-width: none; }
.kanonen-buehne { position: relative; width: clamp(150px, 14vw, 220px); aspect-ratio: 260 / 160; margin-bottom: .4rem; }
/* Ist neben dem mittigen Countdown kein Platz, steht die Kanone darüber */
@media (max-width: 1250px) {
  .countdown-zeile { display: block; max-width: 820px; }
  .countdown-zeile .kanonen-buehne { width: 170px; margin: 0 0 1.2rem; justify-self: start; }
}
.kanone { position: absolute; left: 0; bottom: 0; width: 100%; }
.kanone svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 12px rgba(14, 45, 82, .3)); }
.kanone-rad { transform-box: fill-box; transform-origin: center; }
.kanone-blitz {
  position: absolute; left: 87%; top: 30%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  background: radial-gradient(circle, #FFF6CF 0%, var(--gold) 40%, rgba(227, 178, 60, 0) 70%); transform: scale(0); opacity: 0; pointer-events: none;
}
.kanonen-buehne:has(+ .countdown.wartet) .kanone:not(.rollt) { transform: translateX(-110vw); }
.kanone.rollt { animation: kanone-rollen 1.45s cubic-bezier(.2, .75, .3, 1) both; }
.kanone.rollt .kanone-rad { animation: rad-drehen 1.45s cubic-bezier(.2, .75, .3, 1) both; }
.kanone.schuss svg { animation: rueckstoss .55s ease-out; }
.kanone.schuss .kanone-blitz { animation: muendungsblitz .55s ease-out; }
@keyframes kanone-rollen { from { transform: translateX(-110vw); } to { transform: translateX(0); } }
@keyframes rad-drehen { from { transform: rotate(-1080deg); } to { transform: rotate(0); } }
@keyframes rueckstoss { 0% { transform: none; } 18% { transform: translateX(-18px) rotate(-3deg); } 100% { transform: none; } }
@keyframes muendungsblitz { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.konfetti-stueck { position: absolute; z-index: 5; border-radius: 2px; pointer-events: none; will-change: transform, opacity; }
.countdown-feld { transition: opacity .7s ease, transform .8s var(--weich); }
.countdown-feld:nth-child(2) { transition-delay: .12s; }
.countdown-feld:nth-child(3) { transition-delay: .24s; }
.countdown-feld:nth-child(4) { transition-delay: .36s; }
.countdown.wartet .countdown-feld { opacity: 0; transform: translateY(24px) scale(.85); }

/* Texte über und unter dem Countdown heben sich vom Konfetti ab */
.countdown-band .oberzeile { background: var(--weiss); padding: .5rem 1.1rem; border-radius: 999px; box-shadow: var(--schatten); }
#countdown-titel { display: table; margin: .7rem auto .4em; background: rgba(251, 246, 236, .94); padding: .15em .55em .2em; border-radius: 18px; box-shadow: 0 0 40px 22px rgba(251, 246, 236, .9); }
.countdown-band .countdown-datum { display: inline-block; margin: 0; background: var(--nacht); color: var(--weiss); padding: .75rem 1.5rem; border-radius: 999px; font-weight: 800; font-size: clamp(.95rem, 1.6vw, 1.1rem); box-shadow: var(--schatten-gross); }
.countdown-band .countdown-datum strong { color: var(--gold); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 2vw, 1.4rem); max-width: 920px; margin: 2.4rem auto 1.6rem; }
.countdown-feld {
  background: var(--blau); color: var(--weiss); border-radius: var(--rund);
  padding: clamp(1rem, 3vw, 2rem) .5rem clamp(.9rem, 2.4vw, 1.6rem);
  text-align: center; box-shadow: var(--schatten-gross);
  position: relative; overflow: hidden;
}
.countdown-zahl {
  display: block; font-family: var(--schrift-titel); font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 6.4rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.countdown-zahl.tick { animation: tick .45s var(--weich); }
@keyframes tick { from { transform: translateY(-14%); opacity: .3; } }
.countdown-name { display: block; margin-top: .5rem; font-weight: 800; font-size: clamp(.68rem, 1.6vw, .9rem); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.countdown-fertig { font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(2.4rem, 7vw, 5rem); color: var(--blau); margin: 2rem 0 1rem; }
.countdown-datum { font-weight: 700; color: var(--text-leise); }

/* ---------- Raster und Karten ---------- */
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.raster { display: grid; gap: clamp(1rem, 2.4vw, 1.8rem); }
.raster-3 { grid-template-columns: repeat(3, 1fr); }
.raster-4 { grid-template-columns: repeat(4, 1fr); }
.raster-2 { grid-template-columns: repeat(2, 1fr); }

/* Bildkarte mit Zoom und Schatten beim Darüberfahren */
.bildkarte {
  position: relative; display: block; overflow: hidden; border-radius: var(--rund);
  background: var(--nacht); color: var(--weiss); text-decoration: none;
  box-shadow: var(--schatten);
  transition: transform .6s var(--weich), box-shadow .6s var(--weich);
}
.bildkarte img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--weich), filter .6s; }
.bildkarte::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(24, 38, 90, .9) 100%);
  transition: opacity .6s;
}
.bildkarte:hover, .bildkarte:focus-visible { transform: translateY(-8px); box-shadow: var(--schatten-gross); }
.bildkarte:hover img, .bildkarte:focus-visible img { transform: scale(1.08); filter: saturate(1.15); }
.bildkarte-text { position: absolute; inset: auto 0 0; z-index: 2; padding: 1.4rem 1.4rem 1.3rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.bildkarte-text h3 { margin: 0; }
.bildkarte-text small { display: block; font-weight: 700; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; margin-bottom: .35rem; }
.pfeil-kreis {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--nacht);
  transform: translateX(-6px); opacity: .9; transition: transform .5s var(--weich), opacity .5s;
}
.pfeil-kreis svg { width: 20px; height: 20px; }
.bildkarte:hover .pfeil-kreis { transform: none; opacity: 1; }
.bildkarte-text > div { min-width: 0; }
.gruppen-raster .bildkarte-text h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.format-hoch { aspect-ratio: 4 / 5; }
.format-quer { aspect-ratio: 3 / 2; }
.format-quadrat { aspect-ratio: 1; }

/* Platzhalter-Flächen, solange Fotos fehlen */
.platzhalter {
  position: relative; overflow: hidden; border-radius: var(--rund);
  display: grid; place-items: center; text-align: center; padding: 2rem;
  background:
    radial-gradient(circle at 80% 15%, rgba(227, 178, 60, .35), transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(200, 83, 74, .35), transparent 50%),
    var(--blau);
  color: var(--weiss); box-shadow: var(--schatten);
}
.platzhalter::before {
  content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(255, 255, 255, .3); border-radius: calc(var(--rund) - 8px);
}
.platzhalter svg { width: clamp(56px, 9vw, 88px); height: auto; color: var(--gold); margin: 0 auto 1rem; }
.platzhalter p { margin: 0; font-weight: 700; color: rgba(255, 255, 255, .85); max-width: 22ch; }
.zwei-spalten > .platzhalter { width: 100%; max-width: 440px; justify-self: center; }
.band-blau .platzhalter { background-color: var(--nacht); box-shadow: var(--schatten-gross); }

/* Eckdaten einer Veranstaltung */
.eckdaten { display: grid; gap: .8rem; margin: 1.6rem 0 1.8rem; }
.eckdaten div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.eckdaten dt { font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; padding-top: .2rem; }
.eckdaten dd { margin: 0; font-family: var(--schrift-titel); font-weight: 700; font-size: 1.25rem; }
.platzhalter strong { display: block; font-family: var(--schrift-titel); font-size: 1.35rem; color: var(--weiss); margin-bottom: .3rem; }

/* Infokarten mit Symbol */
.karte {
  background: var(--weiss); border-radius: var(--rund); padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--schatten); border: 1px solid var(--linie);
  transition: transform .5s var(--weich), box-shadow .5s var(--weich);
}
.karte:hover { transform: translateY(-6px); box-shadow: var(--schatten-gross); }
.karte-symbol {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: rgba(47, 71, 151, .1); color: var(--blau);
  transition: transform .5s var(--weich), background-color .5s, color .5s;
}
.karte:hover .karte-symbol { transform: rotate(-8deg) scale(1.08); background: var(--blau); color: var(--weiss); }
.karte-symbol svg { width: 28px; height: 28px; }
.karte p:last-child { margin-bottom: 0; }

.bildkarte .platzhalter { height: 100%; border-radius: 0; box-shadow: none; transition: transform 1.1s var(--weich); }
.bildkarte .platzhalter::before { display: none; }
.bildkarte:hover .platzhalter { transform: scale(1.06); }
.fokus-rechts { object-position: 78% center; }
.fokus-oben { object-position: center 25%; }

/* Kachel mit der Anzahl der Gruppen */
.fakt-kachel {
  justify-self: center; width: min(100%, 320px); aspect-ratio: 1; border-radius: clamp(24px, 3vw, 34px);
  display: grid; place-content: center; text-align: center; gap: .6rem; padding: 2rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(227, 178, 60, .35), transparent 45%),
    var(--blau);
  color: var(--weiss); box-shadow: var(--schatten-gross);
  transition: transform .5s var(--weich), box-shadow .5s var(--weich);
}
.fakt-kachel:hover { transform: translateY(-6px) rotate(-1.5deg); }
.fakt-kachel b { font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(5rem, 11vw, 8rem); line-height: .9; color: var(--gold); }
.fakt-kachel span { font-weight: 800; font-size: 1.15rem; max-width: 12ch; margin-inline: auto; line-height: 1.3; }

/* Zahlen und Fakten */
.fakten { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.fakten li {
  display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: 1.2rem;
  padding: 1.3rem 1.6rem; border-radius: var(--rund); background: var(--creme);
  transition: transform .5s var(--weich), background-color .5s;
}
.fakten li:hover { transform: translateX(8px); background: rgba(47, 71, 151, .08); }
.fakten b { font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--blau); }
.fakten span { font-weight: 700; color: var(--text-leise); }

/* Waagerechte Bilderreihe (Prinzenpaare) */
.karussell { --luecke: clamp(1rem, 2.4vw, 1.8rem); position: relative; margin-top: 2.6rem; }
.reihe {
  display: flex; gap: var(--luecke); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 14px 0 28px; margin: -14px 0 -28px;
}
.reihe::-webkit-scrollbar { display: none; }
.reihe > * { flex: 0 0 calc((100% - 2 * var(--luecke)) / 3); scroll-snap-align: start; }
.karussell-pfeil {
  position: absolute; top: 50%; z-index: 3; width: 58px; height: 58px; margin-top: -29px;
  border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: var(--gold); color: var(--nacht);
  box-shadow: 0 0 0 6px rgba(24, 38, 90, .5), var(--schatten-gross);
  transition: transform .35s var(--weich), opacity .3s;
}
.karussell-pfeil svg { width: 26px; height: 26px; }
.karussell-pfeil:hover { transform: scale(1.1); }
.karussell-pfeil.weiter { right: calc(-1 * min(29px, var(--rand) - 6px)); }
.karussell-pfeil.zurueck { left: calc(-1 * min(29px, var(--rand) - 6px)); }
.karussell-pfeil[hidden] { display: none; }

/* Handy-Rahmen um das Instagram-Fenster: goldener Rand, schwarzer Innenrand, Kamera-Insel */
.handy {
  position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 9 / 18.6;
  padding: 7px; border-radius: 58px;
  background: linear-gradient(145deg, #E9D3A6 0%, #B89A63 30%, #F3E3BE 55%, #A88A55 80%, #D9C08E 100%);
  box-shadow: 0 40px 70px -30px rgba(24, 38, 90, .55), 0 0 0 1px rgba(120, 95, 50, .5);
  transition: transform .6s var(--weich);
}
.handy:hover { transform: translateY(-6px) rotate(-1deg); }
.handy-bildschirm {
  position: relative; height: 100%; border-radius: 51px; padding: 12px; background: #0B0B0D; overflow: hidden;
}
.handy-insel {
  position: absolute; z-index: 3; top: 22px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 30px; border-radius: 20px; background: #000;
}
.handy-insel::after { content: ""; position: absolute; right: 13px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2B3A6B, #05070F 70%); }
.handy-taste { position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #8C7144, #D9C08E); }
.handy-taste-1 { left: -3px; top: 19%; height: 5%; }
.handy-taste-2 { left: -3px; top: 27%; height: 9%; }
.handy-taste-3 { left: -3px; top: 38%; height: 9%; }
.handy-taste-rechts { right: -3px; top: 30%; height: 12%; background: linear-gradient(270deg, #8C7144, #D9C08E); }
.handy .insta-fenster { height: 100%; border-radius: 40px; border: 0; box-shadow: none; }
.handy .insta-leiste { padding-top: 3.4rem; }
.handy .insta-hinweis { padding: 1.3rem 1.1rem; }

/* Instagram-Fenster mit Zwei-Klick-Lösung */
.insta-fenster {
  background: var(--weiss); border-radius: 28px; overflow: hidden; border: 1px solid var(--linie);
  box-shadow: var(--schatten-gross); display: flex; flex-direction: column; height: 560px;
}
.insta-leiste {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.2rem; border-bottom: 1px solid var(--linie); font-weight: 800;
}
.insta-leiste span { display: inline-flex; align-items: center; gap: .5rem; color: var(--blau); }
.insta-leiste svg { width: 22px; height: 22px; }
.insta-leiste a { font-size: .9rem; color: var(--text-leise); text-decoration: none; padding: .7rem 0; margin: -.7rem 0; }
.insta-leiste a:hover { color: var(--blau); }
.insta-inhalt { position: relative; flex: 1; min-height: 0; }
.insta-inhalt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.insta-zustimmung { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; padding: 1.5rem; }
.insta-vorschau { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; filter: blur(6px) saturate(.9); transform: scale(1.08); opacity: .5; }
.insta-vorschau img { width: 100%; height: 100%; object-fit: cover; }
.insta-hinweis { background: rgba(255, 255, 255, .94); border-radius: var(--rund); padding: 1.6rem 1.4rem; max-width: 22rem; box-shadow: var(--schatten); }
.insta-hinweis strong { display: block; font-family: var(--schrift-titel); font-size: 1.35rem; margin-bottom: .5rem; }
.insta-hinweis p { font-size: .92rem; color: var(--text-leise); margin-bottom: 1.2rem; }
.insta-hinweis p a { color: var(--blau); font-weight: 700; }

/* ---------- Abschnitt mit Fotostreifen im Hintergrund ---------- */
.foto-band { position: relative; overflow: hidden; isolation: isolate; color: var(--weiss); background: var(--nacht); }
.foto-band .band-bild { position: absolute; inset: -15% 0; z-index: -2; }
.foto-band .band-bild img { width: 100%; height: 100%; object-fit: cover; }
.foto-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(24, 38, 90, .95) 25%, rgba(47, 71, 151, .6) 100%); }
.foto-band .einleitung { color: rgba(255, 255, 255, .85); }
.foto-band .oberzeile { color: var(--gold); }

.glas-karte {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: var(--rund); padding: clamp(1.5rem, 3vw, 2.4rem);
}
.glas-karte p:last-child { margin-bottom: 0; }
.trenner { border: 0; border-top: 1px solid rgba(255, 255, 255, .2); margin: 1.4rem 0; }

/* ---------- Termine ---------- */
.termine { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; gap: 1rem; }
.termin {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 2rem);
  background: var(--weiss); border-radius: var(--rund); padding: 1.1rem clamp(1.1rem, 3vw, 1.8rem) 1.1rem 1.1rem;
  box-shadow: var(--schatten); border: 1px solid var(--linie);
  transition: transform .5s var(--weich), box-shadow .5s var(--weich);
}
.termin:hover { transform: translateX(6px); box-shadow: var(--schatten-gross); }
.termin-datum {
  width: 88px; aspect-ratio: 1; border-radius: 18px; background: var(--blau); color: var(--weiss);
  display: grid; place-content: center; text-align: center; line-height: 1;
}
.termin-datum b { font-family: var(--schrift-titel); font-size: 2.1rem; }
.termin-datum span { font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .3rem; }
.termin h3 { margin: 0 0 .25rem; }
.termin p { margin: 0; color: var(--text-leise); }
.termin-marke { font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--rot); background: rgba(200, 83, 74, .1); padding: .4rem .8rem; border-radius: 999px; white-space: nowrap; }
.termin-hinweis { margin-top: 1.4rem; color: var(--text-leise); font-weight: 600; }

.flyer { aspect-ratio: 1 / 1.414; max-width: 460px; width: 100%; }

/* Anklickbarer Ort mit Kartenfenster */
.ort-knopf {
  font: inherit; color: inherit; background: none; border: 0; padding: .2rem 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem; text-align: left;
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: color .3s;
}
.ort-knopf svg { width: 1.05em; height: 1.05em; flex: none; color: var(--gold); transition: transform .35s var(--weich); }
.ort-knopf:hover svg { transform: translateY(-3px); }
.ort-knopf:hover { color: var(--gold); }
.termin .ort-knopf { color: var(--blau); font-weight: 800; min-height: 32px; }
.termin .ort-knopf svg { color: var(--rot); }
.termin .ort-knopf:hover { color: var(--rot); }

.karten-dialog {
  border: 0; border-radius: var(--rund); padding: 2rem 1.8rem 1.8rem; width: min(92vw, 400px);
  color: var(--text); background: var(--weiss); box-shadow: var(--schatten-gross); text-align: center;
}
.karten-dialog[open] { animation: zoomen .35s var(--weich); }
.karten-dialog::backdrop { background: rgba(12, 18, 44, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.karten-symbol { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: rgba(200, 83, 74, .12); color: var(--rot); }
.karten-symbol svg { width: 30px; height: 30px; }
.karten-dialog h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.karten-dialog p { color: var(--text-leise); margin-bottom: 1.4rem; }
.karten-dialog .knopf { width: 100%; margin-top: .7rem; }
.knopf-rand { --k-bg: transparent; --k-text: var(--blau); box-shadow: inset 0 0 0 2px var(--blau); }
.knopf-rand:hover { box-shadow: inset 0 0 0 2px var(--blau), 0 14px 26px -14px rgba(47, 71, 151, .6); }
.karten-zu {
  position: absolute; top: .8rem; right: .8rem; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: rgba(24, 38, 90, .07); color: var(--text); transition: background-color .3s;
}
.karten-zu:hover { background: rgba(24, 38, 90, .15); }
.karten-zu svg { width: 20px; height: 20px; }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.insta-name { display: flex; align-items: center; gap: .6rem; font-family: var(--schrift-titel); font-weight: 800; font-size: 1.4rem; color: var(--blau); margin-bottom: 1.4rem; }
.insta-name svg { width: 30px; height: 30px; }

/* ---------- Handlungsaufforderung (Mitmach-Band) ---------- */
.aufruf { position: relative; overflow: hidden; isolation: isolate; background: var(--blau); color: var(--weiss); border-radius: clamp(24px, 4vw, 40px); }
.aufruf-innen { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; }
.aufruf-text { padding: clamp(2rem, 6vw, 4.5rem); }
.aufruf-text .oberzeile { color: var(--gold); }
.aufruf-text p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 34rem; }
.aufruf-bild { position: relative; min-height: 280px; overflow: hidden; }
.aufruf-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--weich); }
.aufruf:hover .aufruf-bild img { transform: scale(1.05); }
.aufruf-bild::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--blau) 0%, transparent 35%); }
.aufruf::after {
  content: ""; position: absolute; left: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(227, 178, 60, .35), transparent 70%);
}

/* ---------- Gruppen-Seite ---------- */
.held-mit-bild { padding-bottom: clamp(7rem, 14vw, 10rem); }

/* Gruppenlogo oben rechts neben dem Namen */
.held-mit-logo::after { display: none; }
.held-mit-logo .innen-schmal { position: relative; }
/* Name und Logo stehen nebeneinander, das Logo richtet sich am Schriftzug aus */
.held-mit-logo { padding-bottom: clamp(9.5rem, 17vw, 12.5rem); }
.held-mit-logo .innen-schmal { display: grid; grid-template-columns: max-content 1fr; align-items: center; }
.held-mit-logo .innen-schmal > * { grid-column: 1 / -1; }
.held-mit-logo .innen-schmal > h1 { grid-column: 1; margin-bottom: 0; }
.held-mit-logo .innen-schmal > .gruppen-logo { grid-column: 2; }
.gruppen-logo {
  justify-self: start; margin: -4rem 0 0 clamp(1.5rem, 3vw, 2.5rem);
  width: clamp(150px, 19vw, 215px); height: auto; border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .18), var(--schatten-gross);
  animation: logo-auftritt 1.3s var(--weich) .3s both;
  transition: transform .5s var(--weich);
}
.gruppen-logo:hover { transform: rotate(-8deg) scale(1.06); }
@keyframes logo-auftritt {
  0% { transform: scale(.4) rotate(-25deg); opacity: 0; }
  45% { transform: scale(1.15) rotate(4deg); opacity: 1; box-shadow: 0 0 0 14px rgba(227, 178, 60, .55), var(--schatten-gross); }
  70% { transform: scale(.97) rotate(0); }
  100% { transform: scale(1) rotate(0); opacity: 1; box-shadow: 0 0 0 6px rgba(255, 255, 255, .18), var(--schatten-gross); }
}
@media (max-width: 860px) {
  .gruppen-logo { width: 112px; margin: -2rem 0 -1rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .gruppen-logo { animation: none; } }
.gruppenbild { border-radius: clamp(20px, 3vw, 32px); overflow: hidden; box-shadow: var(--schatten-gross); margin: calc(-1 * clamp(4.5rem, 10vw, 7rem)) 0 0; position: relative; z-index: 2; background: var(--nacht); }
.gruppenbild-hoch { max-width: 420px; margin-inline: auto; }
.gruppenbild img { width: 100%; height: auto; transition: transform 1.2s var(--weich); }
.gruppenbild:hover img { transform: scale(1.04); }
.gruppenbild .platzhalter { aspect-ratio: 3 / 2; border-radius: 0; box-shadow: none; }
.fliesstext { font-size: 1.12rem; }
.hinweis-text {
  border-left: 4px solid var(--gold); background: rgba(227, 178, 60, .12); border-radius: 0 var(--rund-klein) var(--rund-klein) 0;
  padding: 1rem 1.3rem; color: var(--text-leise); font-weight: 600; margin: 2rem 0;
}
.weitere-gruppen { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.weitere-gruppen a {
  padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--linie); background: var(--weiss);
  font-weight: 700; text-decoration: none; transition: border-color .3s, color .3s, transform .3s var(--weich);
}
.weitere-gruppen a:hover { border-color: var(--blau); color: var(--blau); transform: translateY(-2px); }

/* Weitere Gruppen als kleines Bilder-Rad */
.weitere-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.weitere-kopf h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.gruppen-karussell { margin-top: 0; }
.gruppen-karussell .reihe > * { flex-basis: calc((100% - 4 * var(--luecke)) / 5); }
.gruppe-mini { display: block; text-decoration: none; color: var(--text); }
.gruppe-mini-bild {
  display: block; aspect-ratio: 4 / 3; border-radius: var(--rund-klein); overflow: hidden; background: var(--nacht);
  box-shadow: var(--schatten); transition: transform .5s var(--weich), box-shadow .5s var(--weich);
}
.gruppe-mini-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--weich); }
.gruppe-mini-bild .platzhalter { height: 100%; border-radius: 0; box-shadow: none; padding: 1rem; }
.gruppe-mini-bild .platzhalter::before { display: none; }
.gruppe-mini-bild .platzhalter svg { width: 44px; margin: 0; }
.gruppe-mini-name { display: block; margin-top: .7rem; font-family: var(--schrift-titel); font-weight: 800; font-size: 1.05rem; line-height: 1.2; transition: color .3s; }
.gruppe-mini:hover .gruppe-mini-bild { transform: translateY(-5px); box-shadow: var(--schatten-gross); }
.gruppe-mini:hover .gruppe-mini-bild img { transform: scale(1.08); }
.gruppe-mini:hover .gruppe-mini-name { color: var(--blau); }
.gruppen-karussell .karussell-pfeil { top: calc(50% - 1.2rem); }
@media (max-width: 1020px) { .gruppen-karussell .reihe > * { flex-basis: calc((100% - 2 * var(--luecke)) / 3); } }
@media (max-width: 860px) { .gruppen-karussell .reihe > * { flex-basis: 42%; } }

/* Steckbrief einer Gruppe: ein weißer Block, alles untereinander */
.steckbrief {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--rund);
  box-shadow: var(--schatten); padding: .4rem clamp(1.3rem, 3vw, 2rem); margin: 2.2rem 0 2.6rem;
}
.steckbrief-teil { padding: 1.3rem 0; }
.steckbrief-teil + .steckbrief-teil { border-top: 1px solid var(--linie); }
.steckbrief-teil h3 { font-size: .82rem; font-family: var(--schrift-text); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rot); margin-bottom: .5rem; }
.steckbrief-teil p { margin: 0; font-size: 1.02rem; }
.mitglieder { list-style: none; margin: 0; padding: 0; font-size: 1.02rem; line-height: 1.8; }
.mitglieder li { display: inline-block; white-space: nowrap; }
.mitglieder li:not(:last-child)::after { content: "·"; color: var(--gold); font-weight: 800; margin: 0 .55rem; }
/* Gruppen-Kacheln: Reihen werden mittig aufgefüllt */
.gruppen-raster { display: flex; flex-wrap: wrap; justify-content: center; }
.gruppen-raster > * { flex: 0 0 calc((100% - 2 * clamp(1rem, 2.4vw, 1.8rem)) / 3); }

/* ---------- Prinzenpaar-Chronik ---------- */
.chronik { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); }
.paar-karte { background: var(--weiss); border-radius: var(--rund); overflow: hidden; box-shadow: var(--schatten); transition: transform .6s var(--weich), box-shadow .6s var(--weich); }
.paar-karte:hover { transform: translateY(-8px); box-shadow: var(--schatten-gross); }
.paar-bild { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.paar-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.1s var(--weich); }
.paar-karte:hover .paar-bild img { transform: scale(1.07); }
.paar-bild .platzhalter { height: 100%; border-radius: 0; box-shadow: none; }
.paar-jahr { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--gold); color: var(--nacht); font-weight: 800; font-size: .85rem; padding: .4rem .85rem; border-radius: 999px; box-shadow: var(--schatten); }
.paar-info { padding: 1.4rem 1.5rem 1.6rem; }
.paar-info h3 { margin-bottom: .6rem; }
.paar-info dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; font-size: .95rem; }
.paar-info dt { font-weight: 800; color: var(--blau); }
.paar-info dd { margin: 0; color: var(--text-leise); }
.paar-info p { margin: 0; color: var(--text-leise); font-size: .95rem; }

/* Orden in der Chronik: ganz sichtbar auf hellem Grund */
.chronik .paar-bild { aspect-ratio: 1; }
.orden-bild { background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #F4EEE2 78%); }
.orden-bild img { object-fit: contain; object-position: center; padding: 3.2rem 1.4rem 1.6rem; mix-blend-mode: multiply; }
.paar-karte:hover .orden-bild img { transform: scale(1.08) rotate(-2deg); }
.orden-zoom { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.orden-zoom::after {
  content: ""; position: absolute; right: 1rem; bottom: 1rem; width: 40px; height: 40px; border-radius: 50%;
  background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F4797' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4.5-4.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: var(--schatten); opacity: 0; transform: scale(.8); transition: opacity .35s, transform .35s var(--weich);
}
.paar-karte:hover .orden-zoom::after, .orden-zoom:focus-visible::after { opacity: 1; transform: none; }
.foto-bild img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.paar-karte:hover .foto-bild img { transform: scale(1.05); }
.betrachter img { background: var(--weiss); }
@media (hover: none) { .orden-zoom::after { opacity: 1; transform: none; } }
.paar-nummer {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: var(--blau); color: var(--weiss); font-family: var(--schrift-titel); font-weight: 800;
  font-size: .9rem; letter-spacing: .04em; padding: .35rem .75rem; border-radius: 999px; box-shadow: 0 0 0 2px var(--weiss), var(--schatten);
}
.paar-name { font-size: clamp(1.25rem, 1.8vw, 1.45rem); line-height: 1.15; margin-bottom: .55rem; color: var(--nacht); }
.paar-info .paar-titel { font-size: .92rem; line-height: 1.5; }
.paar-info .schlachtruf {
  margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--linie);
  color: var(--blau); font-weight: 700; font-style: italic; font-size: .9rem; line-height: 1.45;
}
.platzhalter-pause { background: var(--text-leise); }

/* Karte leuchtet nach dem Sprung über den Zeitstrahl einmal kurz auf */
.paar-karte.aufleuchten { animation: aufleuchten 1.1s var(--weich); position: relative; z-index: 3; }
@keyframes aufleuchten {
  0% { transform: scale(1); box-shadow: var(--schatten), 0 0 0 0 rgba(227, 178, 60, 0); }
  35% { transform: scale(1.06); box-shadow: var(--schatten-gross), 0 0 0 8px rgba(227, 178, 60, .9); }
  100% { transform: scale(1); box-shadow: var(--schatten), 0 0 0 0 rgba(227, 178, 60, 0); }
}

/* Zeitstrahl am linken Rand der Chronik, nur auf großen Bildschirmen */
.zeitstrahl { display: none; }
@media (min-width: 1100px) and (hover: hover) {
  .mit-zeitstrahl .innen { position: relative; padding-left: 120px; }
  .zeitstrahl { display: block; position: absolute; left: 0; top: 2.6rem; bottom: 0; width: 96px; }
  .zeitstrahl ol {
    position: sticky; top: calc(var(--header-hoehe) + 1.5rem);
    list-style: none; margin: 0; padding: .4rem 0;
    max-height: calc(100vh - var(--header-hoehe) - 3rem);
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
    display: flex; flex-direction: column; gap: 1.05rem;
    padding: 1.2rem 0 1.2rem 0;
    /* oben und unten sanft ausblenden, damit man sieht: da geht es weiter */
    -webkit-mask-image: linear-gradient(transparent, #000 1.4rem, #000 calc(100% - 1.4rem), transparent);
    mask-image: linear-gradient(transparent, #000 1.4rem, #000 calc(100% - 1.4rem), transparent);
  }
  .zeitstrahl ol::-webkit-scrollbar { display: none; }
  .zeitstrahl li::before {
    content: ""; position: absolute; left: 7px; top: -1.05rem; height: calc(100% + 1.05rem); width: 3px;
    background: linear-gradient(var(--gold), var(--blau)); z-index: -1;
  }
  .zeitstrahl li:first-child::before { top: 50%; height: 50%; }
  .zeitstrahl li { position: relative; z-index: 0; display: flex; flex: none; transform-origin: left center; transition: transform .25s var(--weich); }
  .zeitstrahl a {
    display: flex; align-items: center; gap: .65rem; padding: .05rem 0; text-decoration: none;
    font-weight: 800; font-size: .9rem; line-height: 1; color: var(--text-leise); white-space: nowrap;
    transition: color .25s;
  }
  .zeitstrahl a::before {
    content: ""; width: 13px; height: 13px; border-radius: 50%; flex: none; margin-left: 2px;
    background: var(--creme); border: 2.5px solid var(--blau); transition: background-color .25s, transform .25s var(--weich);
  }
  .zeitstrahl li:hover { transform: scale(1.35); z-index: 2; }
  .zeitstrahl li:has(+ li:hover), .zeitstrahl li:hover + li { transform: scale(1.15); }
  .zeitstrahl li:hover a, .zeitstrahl a:focus-visible { color: var(--blau); }
  .zeitstrahl li:hover a::before { background: var(--gold); border-color: var(--gold); }
  .zeitstrahl li.ist-aktiv a { color: var(--nacht); }
  .zeitstrahl li.ist-aktiv a::before { background: var(--blau); transform: scale(1.3); }
}
@media (prefers-reduced-motion: reduce) { .paar-karte.aufleuchten { animation: none; outline: 4px solid var(--gold); } }
.luecken-karte { background: transparent; box-shadow: none; border: 2px dashed var(--linie); }
.luecken-karte .platzhalter { opacity: .85; }

/* ---------- Galerie und Bildbetrachter ---------- */
.galerie { columns: 3 300px; column-gap: clamp(.8rem, 2vw, 1.4rem); }
.galerie-bild {
  break-inside: avoid; margin: 0 0 clamp(.8rem, 2vw, 1.4rem); padding: 0; width: 100%;
  border: 0; cursor: zoom-in; display: block; overflow: hidden; border-radius: var(--rund-klein);
  box-shadow: var(--schatten); background: var(--nacht);
  transition: transform .6s var(--weich), box-shadow .6s var(--weich);
}
.galerie-bild img { width: 100%; transition: transform 1.1s var(--weich), opacity .4s; }
.galerie-bild:hover { transform: translateY(-6px); box-shadow: var(--schatten-gross); }
.galerie-bild:hover img { transform: scale(1.06); opacity: .92; }

.betrachter { position: fixed; inset: 0; z-index: 300; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 18, 44, .94); color: var(--weiss); }
.betrachter[open] { display: grid; place-items: center; animation: einblenden .35s ease; }
.betrachter::backdrop { background: transparent; }
@keyframes einblenden { from { opacity: 0; } }
.betrachter figure { margin: 0; max-width: min(92vw, 1280px); text-align: center; }
.betrachter img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--rund-klein); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: zoomen .45s var(--weich); }
@keyframes zoomen { from { transform: scale(.94); opacity: 0; } }
.betrachter figcaption { margin-top: 1rem; font-weight: 600; color: rgba(255, 255, 255, .8); padding-inline: 4.5rem; }
.betrachter button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: var(--weiss); display: grid; place-items: center;
  transition: background-color .3s, transform .3s var(--weich);
}
.betrachter button:hover { background: var(--gold); color: var(--nacht); transform: scale(1.08); }
.betrachter button svg { width: 24px; height: 24px; }
.betrachter .zu { top: 1rem; right: 1rem; }
.betrachter .zurueck { left: 1rem; top: 50%; margin-top: -26px; }
.betrachter .weiter { right: 1rem; top: 50%; margin-top: -26px; }

/* ---------- Downloads ---------- */
.dokumente { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.dokument {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center;
  background: var(--weiss); border-radius: var(--rund); padding: 1.2rem 1.4rem;
  box-shadow: var(--schatten); border: 1px solid var(--linie);
  transition: transform .5s var(--weich), box-shadow .5s var(--weich);
}
.dokument:hover { transform: translateY(-4px); box-shadow: var(--schatten-gross); }
.dokument-symbol { width: 58px; height: 58px; border-radius: 16px; background: rgba(200, 83, 74, .1); color: var(--rot); display: grid; place-items: center; }
.dokument-symbol svg { width: 28px; height: 28px; }
.dokument h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.dokument p { margin: 0; color: var(--text-leise); font-size: .95rem; }
.marke-bald { font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-leise); background: rgba(24, 38, 90, .07); padding: .55rem 1rem; border-radius: 999px; white-space: nowrap; }

.dokument-link {
  display: inline-grid; justify-items: center; gap: .1rem; font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--weiss); background: var(--blau); padding: .55rem 1.1rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background .3s, transform .3s;
}
.dokument-link small { font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-transform: none; opacity: .85; }
.dokument-link:hover { background: var(--nacht); transform: translateY(-2px); }

/* ---------- Aus dem Dashboard: Termine, Fotos statt Platzhalter ---------- */
.termin-kurz + .termin-kurz { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 1.4rem; padding-top: 1.4rem; }
.termin-kurz:nth-of-type(n+4) { display: none; }
.naechste[hidden], .termine-leer[hidden] { display: none; }
.bild-rahmen {
  display: block; position: relative; padding: 0; border: 0; background: var(--nacht); cursor: zoom-in;
  border-radius: var(--rund); overflow: hidden; box-shadow: var(--schatten-gross);
}
.bild-rahmen img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--weich); }
.bild-rahmen:hover img { transform: scale(1.04); }
.zwei-spalten > .bild-rahmen { width: 100%; max-width: 440px; justify-self: center; }
.bild-rahmen.flyer { aspect-ratio: auto; background: none; }
.bild-rahmen.flyer img { height: auto; object-fit: contain; }

/* ---------- Geheimer Knopf am Logo im Fußbereich ---------- */
.fuss .marke[data-geheim] { position: relative; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.geheim-ring { position: absolute; left: -4px; top: 50%; width: 60px; height: 60px; margin-top: -30px; transform: rotate(-90deg); pointer-events: none; }
.geheim-ring circle { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; transition: stroke-dashoffset .25s ease, opacity .25s; }
.wird-gehalten .geheim-ring circle { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset 3s linear, opacity .2s; }
.wird-gehalten .marke-bild { transform: scale(.94); }
.geheim-offen .marke-bild { animation: geheim-dreh .5s ease-in forwards; }
@keyframes geheim-dreh { to { transform: rotate(540deg) scale(1.4); } }
@media (max-width: 860px) { .geheim-ring { width: 54px; height: 54px; margin-top: -27px; } }

/* ---------- Eigene Abschnitte aus dem Dashboard ---------- */
.eigen-text p { margin: 0 0 1em; }
.eigen-text p:last-child { margin-bottom: 0; }
.eigen-abschnitt .eigen-text + p { margin-top: 1.4rem; }
.band-blau .eigen-text { color: rgba(255, 255, 255, .88); }
@media (min-width: 861px) { .zwei-spalten.bild-rechts > :first-child { order: 2; } }

/* ---------- Formular ---------- */
.formular-bereich { align-items: start; }
.schritte { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.schritte li { display: flex; align-items: center; gap: 1rem; font-weight: 700; font-size: 1.1rem; }
.schritte b {
  flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--nacht); font-family: var(--schrift-titel); font-size: 1.3rem;
  box-shadow: 0 0 0 6px rgba(227, 178, 60, .2);
}
.schritte a { color: var(--gold); }
.formular-karte a { color: var(--blau); font-weight: 700; }
.formular-karte { color: var(--text); background: var(--weiss); border-radius: clamp(22px, 3vw, 32px); padding: clamp(1.5rem, 5vw, 3.2rem); box-shadow: var(--schatten-gross); }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.feld { display: grid; gap: .45rem; }
.feld-breit { grid-column: 1 / -1; }
.feld label { font-weight: 800; font-size: .95rem; }
.feld label small { font-weight: 600; color: var(--text-leise); }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--creme);
  border: 1.5px solid transparent; border-radius: var(--rund-klein); padding: .9rem 1rem; min-height: 52px;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); background: var(--weiss); box-shadow: 0 0 0 4px rgba(47, 71, 151, .15); }
.feld-check { grid-column: 1 / -1; display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--text-leise); }
.feld-check input { width: 26px; height: 26px; margin-top: .15rem; accent-color: var(--blau); flex: none; }
.honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-meldung { grid-column: 1 / -1; margin: 0; padding: 1rem 1.2rem; border-radius: var(--rund-klein); font-weight: 700; display: none; }
.formular-meldung.ok { display: block; background: rgba(47, 151, 98, .12); color: #1d6b43; }
.formular-meldung.fehler { display: block; background: rgba(200, 83, 74, .12); color: #9b352d; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.rechtstext h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.4rem; }
.rechtstext h3 { margin-top: 1.6rem; font-size: 1.2rem; }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext a { color: var(--blau); font-weight: 700; }
.luecke { background: rgba(227, 178, 60, .3); border-radius: 4px; padding: 0 .3rem; font-weight: 700; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--nacht); color: rgba(255, 255, 255, .78); padding: clamp(3.5rem, 8vw, 5.5rem) 0 2rem; position: relative; }
.fuss::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--blau) 0 33%, var(--weiss) 33% 66%, var(--rot) 66%); }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.fuss .marke { color: var(--weiss); margin-bottom: 1.2rem; }
.fuss h2 { font-size: 1rem; font-family: var(--schrift-text); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.fuss a { text-decoration: none; transition: color .3s; }
.fuss a:hover { color: var(--gold); }
.fuss-insta { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--weiss); }
.fuss-insta svg { width: 22px; height: 22px; }
.fuss-insta + .fuss-insta { margin-left: 1.4rem; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.fuss-unten p { margin: 0; }
.fuss-unten ul { display: flex; gap: 1.4rem; }
.ohne-oben { padding-top: 0; }

/* ---------- Einblenden beim Scrollen ---------- */
.js [data-zeigen] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--weich), transform .9s var(--weich); transition-delay: var(--verzoegerung, 0s); }
.js [data-zeigen="links"] { transform: translateX(-40px); }
.js [data-zeigen="rechts"] { transform: translateX(40px); }
.js [data-zeigen="zoom"] { transform: scale(.94); }
.js [data-zeigen].ist-sichtbar { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  .navi a:not(.knopf) { padding: .55rem .55rem; }
  .raster-4 { grid-template-columns: repeat(2, 1fr); }
  .reihe > * { flex-basis: calc((100% - var(--luecke)) / 2); }
}

/* ---------- Aufklappbares Menü bis Tablet-Breite (der lange Vereinsname braucht Platz) ---------- */
@media (max-width: 1100px) {
  .menue-knopf { display: block; }
  .navi {
    position: fixed; inset: 0; z-index: 110; background: var(--nacht); color: var(--weiss);
    display: flex; flex-direction: column; justify-content: safe center; padding: calc(var(--header-hoehe) + 1.5rem) var(--rand) 2.5rem;
    overflow-y: auto; overscroll-behavior: contain;
    clip-path: circle(0 at calc(100% - 2.5rem) 2.2rem); visibility: hidden;
    transition: clip-path .6s var(--weich), visibility 0s .6s;
  }
  .navi.ist-offen { clip-path: circle(150% at calc(100% - 2.5rem) 2.2rem); visibility: visible; transition: clip-path .7s var(--weich); }
  .navi ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .navi a:not(.knopf) { font-family: var(--schrift-titel); font-weight: 800; font-size: 2rem; padding: .5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; }
  .navi a:not(.knopf)::after { display: none; }
  .navi a[aria-current="page"] { color: var(--gold); }
  .navi li { opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--weich); }
  .navi.ist-offen li { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i, 0) * .06s); }
  .navi .knopf { margin: 1.6rem 0 0; width: 100%; min-height: 56px; font-size: 1.05rem; }
  body.menue-offen .kopf { color: var(--weiss); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.menue-offen .kopf .marke { position: relative; z-index: 120; }
  /* Fester Balken hinter Name und Schließen-Knopf, damit beim Scrollen im Menü nichts darüber schwimmt */
  body.menue-offen .kopf::before { content: ""; position: fixed; inset: 0 0 auto; height: var(--header-hoehe); background: var(--nacht); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); z-index: 115; }
  .navi .navi-insta a { display: flex; align-items: center; gap: .8rem; width: auto; height: auto; margin: 1.4rem 0 0; padding: .4rem 0; border: 0; border-radius: 0; font-weight: 800; font-size: 1.1rem; }
  .navi .navi-insta span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .navi .navi-insta svg { width: 26px; height: 26px; }
  .navi .navi-insta a:hover { background: none; color: var(--gold); transform: none; }  .marke-text { width: min-content; line-height: 1.05; font-size: 1.05rem; }
}

/* ---------- Handy: eigener Design-Durchgang ---------- */
@media (max-width: 860px) {
  :root { --header-hoehe: 68px; }
  h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  /* Namen und Titel nicht mitten im Wort trennen: Schrift passt sich der Breite an */
  h1, h3 { hyphens: manual; -webkit-hyphens: manual; }
  .held-mit-bild h1 { font-size: min(9vw, 2.6rem); }
  .termin h3 { font-size: min(1.3rem, 4.6vw); }
  .dokument { grid-template-columns: 1fr; gap: .8rem; padding: 1.2rem; }
  .dokument-symbol { width: 46px; height: 46px; border-radius: 13px; }
  .dokument-symbol svg { width: 23px; height: 23px; }
  .dokument h3 { font-size: min(1.2rem, 5.6vw); }
  .dokument .marke-bald { grid-column: 1; }
  .marke-bild { width: 46px; height: 46px; }
  .marke-text small { display: none; }

  .held { min-height: 88svh; }
  .held-klein { min-height: 62svh; }
  .held-flach { min-height: 0; }
  .zwei-spalten > .platzhalter:not(.flyer) { aspect-ratio: 4 / 3; max-width: none; }
  .reihe .pfeil-kreis { display: none; }
  .held-inhalt { grid-template-columns: 1fr; }
  .held-abzeichen { order: -1; width: 150px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .14), var(--schatten-gross); }
  .held-hinweis { display: none; }
  .held .knopf { width: 100%; }
  .held-flach::after { width: 200px; height: 200px; right: -50px; }

  .zwei-spalten, .insta, .aufruf-innen { grid-template-columns: 1fr; }
  .raster-3, .raster-2 { grid-template-columns: 1fr; }
  .schraeg-oben { clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%); margin-top: -24px; padding-top: calc(var(--abstand) + 24px); }

  /* Prinzenpaare: auf dem Handy waagerecht wischen statt untereinander */
  .reihe { margin-inline: calc(-1 * var(--rand)); padding-inline: var(--rand); scroll-padding-inline: var(--rand); }
  .reihe > * { flex: 0 0 76%; }
  .karussell-pfeil { width: 48px; height: 48px; margin-top: -24px; }
  .karussell-pfeil.weiter { right: -6px; }
  .karussell-pfeil.zurueck { left: -6px; }
  .insta-fenster { height: 520px; }
  .handy { width: min(100%, 290px); border-radius: 48px; }
  .handy-bildschirm { border-radius: 42px; padding: 10px; }
  .handy .insta-fenster { border-radius: 33px; }
  .handy .insta-leiste { padding: 3rem .9rem .7rem; font-size: .9rem; }
  .handy .insta-leiste a { white-space: nowrap; font-size: .8rem; }
  .handy .insta-hinweis { padding: 1.1rem .9rem; }
  .handy .insta-hinweis strong { font-size: 1.1rem; }
  .handy .insta-hinweis p { font-size: .82rem; margin-bottom: .9rem; }
  .handy .insta-hinweis .knopf { width: 100%; min-height: 46px; padding: .6rem 1rem; font-size: .92rem; }

  .countdown { gap: .5rem; }
  .countdown-feld { border-radius: 16px; }
  .countdown-name .lang { display: none; }
  .countdown-zeile { display: block; }
  .countdown-zeile .kanonen-buehne { width: 150px; margin: 0 0 1.4rem; }
  .countdown-datum { border-radius: 18px; }

  .termin { grid-template-columns: auto 1fr; }
  .termin-marke { grid-column: 2; justify-self: start; }
  .termin-datum { width: 70px; border-radius: 14px; }
  .termin-datum b { font-size: 1.7rem; }
  .termin-datum span { font-size: .66rem; letter-spacing: .06em; white-space: nowrap; }
  .termin:hover { transform: none; }

  .aufruf-bild { min-height: 220px; order: -1; }
  .aufruf-bild::before { background: linear-gradient(0deg, var(--blau) 0%, transparent 45%); }
  .aufruf .knopf { width: 100%; }

  .formular { grid-template-columns: 1fr; }
  .fakten li { grid-template-columns: 5.5rem 1fr; padding: 1.1rem 1.2rem; }
  .fakt-kachel { width: 100%; aspect-ratio: auto; grid-template-columns: auto 1fr; align-items: center; text-align: left; gap: 1.2rem; padding: 1.4rem 1.6rem; }
  .fakt-kachel b { font-size: 4.2rem; }
  .fakt-kachel span { margin: 0; max-width: none; }
  /* Gruppen am Handy untereinander im Querformat, damit lange Namen ganz lesbar bleiben */
  .gruppen-raster { gap: 1rem; }
  .gruppen-raster > * { flex-basis: 100%; }
  .gruppen-raster .bildkarte { aspect-ratio: 3 / 2; }
  .gruppen-raster h3 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
  .gruppen-raster .bildkarte-text h3 { font-size: 1.4rem; }
  .formular .knopf { width: 100%; }
  .dokument .marke-bald { justify-self: start; }
  .fuss-raster { grid-template-columns: 1fr; gap: 2rem; }
  .betrachter figcaption { padding-inline: 1rem; }
  .betrachter .zurueck, .betrachter .weiter { top: auto; bottom: 1rem; margin: 0; }
}
@media (min-width: 861px) { .countdown-name .kurz { display: none; } }

/* Weniger Bewegung, wenn im Gerät so eingestellt */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-zeigen] { opacity: 1; transform: none; }
}

/* ---------- Neueste Instagram-Beiträge im Handy-Rahmen ---------- */
.insta-feed { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; align-content: start; background: var(--weiss); scrollbar-width: thin; }
.insta-feed + .insta-inhalt { display: none; }
.insta-post { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--creme); }
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--weich), filter .3s; }
.insta-post:hover img, .insta-post:focus-visible img { transform: scale(1.07); filter: brightness(.88); }
.insta-post-neu { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.insta-typ { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; color: var(--weiss); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.insta-typ svg { width: 100%; height: 100%; }
.insta-post-neu .insta-typ { top: 10px; right: 10px; width: 28px; height: 28px; }

/* ---------- Spendenkonto auf „Mitglied werden“ ---------- */
.spendenkonto {
  display: grid; grid-template-columns: 1fr auto; gap: 1.2rem 2.5rem; align-items: center; margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--weiss); border-radius: var(--rund); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 4vw, 2.5rem);
  box-shadow: var(--schatten); border-left: 6px solid var(--gold);
}
.spendenkonto h3 { margin: 0 0 .3rem; }
.spendenkonto p { margin: 0; color: var(--text-leise); }
.spendenkonto .spendenkonto-daten { font-weight: 700; color: var(--text); line-height: 1.7; }
@media (max-width: 860px) { .spendenkonto { grid-template-columns: 1fr; } }

/* ---------- Kanone neben dem Gruppenfoto (z. B. Gardisten) ---------- */
.innen-schmal:has(> .gruppen-kanone) { position: relative; }
.gruppen-kanone {
  position: absolute; z-index: 4; right: calc(100% + 1.2rem); top: 50%; transform: translateY(-50%);
  width: clamp(170px, 17vw, 260px); aspect-ratio: 260 / 160; pointer-events: none;
}
.js .gruppen-kanone .kanone:not(.rollt) { transform: translateX(-110vw); }
.js .gruppenbild.mit-kanone:not(.ist-frei) { opacity: 0 !important; transform: scale(.9) !important; }
.gruppenbild.mit-kanone { transition: opacity .9s ease, transform 1s var(--weich); }
@media (max-width: 1180px) {
  /* Zu wenig Platz neben dem Foto: Kanone steht unten links auf dem Foto */
  .gruppen-kanone { right: auto; left: -.5rem; top: auto; bottom: -1.6rem; transform: none; width: clamp(110px, 24vw, 160px); }
}
.kanone-ausloeser {
  font: inherit; font-weight: 800; color: var(--blau); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline dotted var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.kanone-ausloeser:hover, .kanone-ausloeser:focus-visible { color: var(--rot); text-decoration-style: solid; }
.spenden-besuch { margin: 1.4rem 0 0; padding: 1.1rem 1.4rem; border-radius: var(--rund-klein); background: rgba(227, 178, 60, .16); max-width: 70ch; }

/* ---------- Video (Save the Date auf Aktuelles) ---------- */
.video-rahmen { border-radius: var(--rund); overflow: hidden; box-shadow: var(--schatten-gross); background: var(--nacht); }
.video-rahmen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.save-the-date { grid-template-columns: 1fr 1.4fr; }
@media (max-width: 860px) { .save-the-date { grid-template-columns: 1fr; } }

/* ---------- Über uns: Quiz „Welche Gruppe passt zu mir?“ ---------- */
.finder { max-width: 760px; margin-top: 2rem; background: var(--creme); border-radius: var(--rund); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--schatten); }
.finder-schritte { list-style: none; display: flex; gap: .5rem; margin: 0 0 1.4rem; padding: 0; }
.finder-schritte li { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; background: var(--weiss); color: var(--text-leise); border: 2px solid var(--linie); transition: background-color .25s, color .25s, border-color .25s; }
.finder-schritte li.ist-aktiv { background: var(--blau); color: var(--weiss); border-color: var(--blau); }
.finder-schritt { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder-schritt legend { font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(1.25rem, 2.4vw, 1.55rem); color: var(--nacht); margin-bottom: 1rem; padding: 0; }
.finder-schritt legend small { display: block; font-family: var(--schrift-text); font-weight: 600; font-size: .9rem; color: var(--text-leise); margin-top: .2rem; }
.finder-alter { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-weight: 700; }
.finder-alter input { width: 5.5rem; min-height: 52px; text-align: center; font: 800 1.4rem var(--schrift-titel); color: var(--nacht); border: 2px solid var(--linie); border-radius: var(--rund-klein); background: var(--weiss); }
.finder-alter input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.finder-plusminus { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--blau); background: var(--weiss); color: var(--blau); font: 800 1.5rem/1 var(--schrift-text); cursor: pointer; transition: background-color .2s, color .2s; }
.finder-plusminus:hover, .finder-plusminus:focus-visible { background: var(--blau); color: var(--weiss); }
.finder-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.finder-chip { position: relative; cursor: pointer; }
.finder-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.finder-chip span { display: inline-flex; align-items: center; min-height: 48px; padding: .6rem 1.1rem; border-radius: 999px; background: var(--weiss); border: 2px solid var(--linie); font-weight: 700; color: var(--nacht); transition: background-color .2s, border-color .2s, color .2s; }
.finder-chip:hover span { border-color: var(--blau); }
.finder-chip input:checked + span { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
.finder-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.finder-hinweis { min-height: 1.4em; margin: .9rem 0 0; color: var(--rot); font-weight: 700; }
.finder-knoepfe { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .6rem; }
.finder-knopf { min-height: 50px; padding: .75rem 1.5rem; border-radius: 999px; border: 2px solid var(--blau); background: var(--blau); color: var(--weiss); font: 800 1rem var(--schrift-text); cursor: pointer; transition: background-color .2s, color .2s; }
.finder-knopf:hover, .finder-knopf:focus-visible { background: var(--nacht); border-color: var(--nacht); }
.finder-zurueck, .finder-neu { background: transparent; color: var(--blau); }
.finder-zurueck:hover, .finder-zurueck:focus-visible, .finder-neu:hover, .finder-neu:focus-visible { background: var(--blau); color: var(--weiss); border-color: var(--blau); }
.finder-ergebnis:focus { outline: none; }
.finder-ergebnis h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: .5rem; color: var(--nacht); }
.finder-treffer { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 1.4rem; align-items: start; margin: .4rem 0 1rem; }
.finder-treffer img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund-klein); box-shadow: var(--schatten); }
.finder-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: .8rem; }
.finder-auch { color: var(--text-leise); margin: 0 0 1.2rem; }
@media (max-width: 600px) { .finder-treffer { grid-template-columns: 1fr; } }

/* ---------- Hinweis auf das Narrenblatt (Historie) ---------- */
@font-face { font-family: "UnifrakturMaguntia"; src: url("../fonts/unifrakturmaguntia-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.nb-hinweis { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.4rem; padding: 1.3rem 1.6rem; background: #F4EBD7; color: var(--nacht); text-decoration: none; border: 1px solid rgba(24, 38, 90, .18); box-shadow: var(--schatten); transition: transform .3s var(--weich), box-shadow .3s var(--weich); }
.nb-hinweis:hover, .nb-hinweis:focus-visible { transform: translateY(-3px); box-shadow: var(--schatten-gross); }
.nb-hinweis-kopf { font-family: "UnifrakturMaguntia", serif; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); line-height: 1.05; border-block: 3px double currentColor; padding: .3rem 0; max-width: 11ch; text-align: center; }
.nb-hinweis-text { display: grid; gap: .2rem; }
.nb-hinweis-text strong { font-family: var(--schrift-titel); font-size: 1.3rem; }
.nb-hinweis-pfeil { font-size: 1.8rem; font-weight: 800; color: var(--blau); }
@media (max-width: 640px) { .nb-hinweis { grid-template-columns: 1fr; text-align: center; } .nb-hinweis-kopf { margin-inline: auto; } }

/* ---------- Historie nach Jahrzehnten ---------- */
.jahrzehnte { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start; margin-top: 1.4rem; }
.jz-leiste { position: sticky; top: calc(var(--header-hoehe) + 1rem); }
.jz-leiste ol { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--linie); display: grid; gap: .35rem; }
.jz-leiste a { position: relative; display: grid; padding: .55rem .8rem; border-radius: var(--rund-klein); text-decoration: none; color: var(--text); transition: background-color .25s, color .25s; }
.jz-leiste a::before { content: ""; position: absolute; left: calc(-1.4rem - 9px); top: 1rem; width: 15px; height: 15px; border-radius: 50%; background: var(--creme); border: 3px solid var(--blau); transition: background-color .25s, border-color .25s; }
.jz-leiste a strong { font-family: var(--schrift-titel); font-size: 1.25rem; line-height: 1.2; }
.jz-leiste a small { font-size: .82rem; color: var(--text-leise); }
.jz-leiste a:hover { background: rgba(47, 71, 151, .08); }
.jz-leiste a[aria-current] { background: var(--blau); color: var(--weiss); }
.jz-leiste a[aria-current] small { color: rgba(255, 255, 255, .82); }
.jz-leiste a[aria-current]::before { background: var(--gold); border-color: var(--gold); }
.jahrzehnte.ist-bereit .jz-bereich { display: none; }
.jahrzehnte.ist-bereit .jz-bereich.ist-aktiv { display: block; animation: jz-ein .45s var(--weich); }
.jz-bereich + .jz-bereich { margin-top: 3rem; }
.jahrzehnte.ist-bereit .jz-bereich + .jz-bereich { margin-top: 0; }
@keyframes jz-ein { from { opacity: 0; transform: translateY(12px); } }
.jz-kopf { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; }
.jz-kopf h3 { font-family: var(--schrift-titel); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); margin: 0; }
.jz-kopf p { margin: 0; color: var(--text-leise); }
.jz-narrenblatt { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; margin: 1rem 0 1.6rem; padding: 1rem 1.3rem; background: #F4EBD7; color: var(--nacht); border: 1px solid rgba(24, 38, 90, .18); box-shadow: var(--schatten); text-decoration: none; transition: transform .3s var(--weich), box-shadow .3s var(--weich); }
.jz-narrenblatt:hover, .jz-narrenblatt:focus-visible { transform: translateY(-3px); box-shadow: var(--schatten-gross); }
.jz-nb-kopf { font-family: "UnifrakturMaguntia", serif; font-size: 1.6rem; line-height: 1.05; border-block: 3px double currentColor; padding: .2rem 0; max-width: 11ch; text-align: center; }
.jz-nb-text { display: grid; gap: .1rem; }
.jz-nb-text strong { font-family: var(--schrift-titel); font-size: 1.25rem; }
.jz-nb-pfeil { font-size: 1.8rem; font-weight: 800; color: var(--blau); }
.jz-leer { margin: 1rem 0 1.4rem; color: var(--text-leise); font-style: italic; }
.jz-tabelle-rahmen { overflow-x: auto; background: var(--weiss); border-radius: var(--rund-klein); box-shadow: var(--schatten); }
.jz-tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.jz-tabelle th, .jz-tabelle td { text-align: left; padding: .6rem .9rem; border-bottom: 1px solid var(--linie); }
.jz-tabelle th { font-family: var(--schrift-titel); }
.jz-tabelle td:last-child { font-style: italic; color: var(--text-leise); }
.jz-tabelle tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) {
  .jahrzehnte { grid-template-columns: minmax(0, 1fr); }
  .jz-leiste { position: sticky; top: var(--header-hoehe); z-index: 20; background: var(--creme); margin-inline: calc(var(--rand) * -1); padding: .5rem var(--rand); border-bottom: 1px solid var(--linie); }
  .jz-leiste ol { display: flex; overflow-x: auto; border-left: 0; padding: 0; gap: .4rem; scrollbar-width: none; }
  .jz-leiste a { white-space: nowrap; padding: .35rem .8rem; border: 1px solid var(--linie); background: var(--weiss); border-radius: 999px; }
  .jz-leiste a::before, .jz-leiste a small { display: none; }
  .jz-leiste a strong { font-size: 1rem; }
}
@media (max-width: 640px) { .jz-narrenblatt { grid-template-columns: 1fr; text-align: center; } .jz-nb-kopf { margin-inline: auto; } .jz-nb-pfeil { display: none; } }

/* Facebook im Menü: nur im mobilen Menü sichtbar */
.navi .navi-fb { display: none; }
@media (max-width: 1100px) {
  .navi .navi-fb { display: block; }
  .navi .navi-fb a { margin-top: .3rem; }
}

/* Historie, Vor der KGG: Tabelle am Handy als Liste */
@media (max-width: 640px) {
  .jz-tabelle thead { display: none; }
  .jz-tabelle, .jz-tabelle tbody { display: block; }
  .jz-tabelle tr { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); column-gap: .8rem; padding: .6rem .9rem; border-bottom: 1px solid var(--linie); }
  .jz-tabelle tr:last-child { border-bottom: 0; }
  .jz-tabelle td { padding: 0; border: 0; }
  .jz-tabelle td:first-child { font-weight: 800; }
  .jz-tabelle td:last-child { grid-column: 2; font-size: .9rem; }
}

/* ---------- Startseite: Es regiert (aktuelle Tollität) ---------- */
.regiert-band {
  background: radial-gradient(120% 90% at 85% 0%, #2F4797 0%, var(--nacht) 62%);
  color: var(--weiss); position: relative; overflow: hidden;
}
.regiert-raster { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.regiert-bild { position: relative; max-width: 460px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.regiert-foto {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--rund);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .12), var(--schatten-gross);
}
.regiert-orden {
  position: absolute; right: clamp(-4rem, -5vw, -1.5rem); bottom: clamp(-3rem, -4vw, -1.5rem);
  width: clamp(160px, 22vw, 290px); display: block; padding: 0; border: 0; background: none; cursor: zoom-in;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45));
  animation: schweben 6s ease-in-out infinite; transition: transform .3s var(--weich);
}
.regiert-orden:hover { transform: scale(1.06); }
.regiert-orden img { width: 100%; height: auto; }
.regiert-kampagne {
  display: block; width: fit-content; max-width: 100%; margin: 0 auto 1rem; white-space: nowrap;
  font-weight: 800; font-size: .85rem; letter-spacing: .04em;
  background: var(--gold); color: var(--nacht); padding: .4rem 1rem; border-radius: 999px;
  box-shadow: 0 8px 18px -10px rgba(24, 38, 90, .5);
}
.regiert-gross {
  font-family: var(--schrift-titel); font-weight: 800; color: var(--gold); text-transform: uppercase;
  font-size: clamp(3.2rem, 9vw, 7rem); line-height: .9; letter-spacing: -.01em; margin: 0 0 .5rem;
  text-shadow: 0 6px 0 rgba(0, 0, 0, .18);
}
.regiert-name { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; margin: 0 0 1.1rem; overflow-wrap: break-word; hyphens: auto; }
.regiert-titel { color: rgba(255, 255, 255, .85); font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); max-width: 36rem; }
.regiert-ruf {
  font-family: var(--schrift-titel); font-weight: 800; color: var(--gold);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; margin: 1.2rem 0 1.8rem; transform: rotate(-2deg); transform-origin: left center;
}
@media (max-width: 900px) {
  .regiert-raster { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .regiert-kampagne { font-size: clamp(.68rem, 3.2vw, .85rem); letter-spacing: .02em; }
  .regiert-bild { max-width: 380px; width: 100%; margin-bottom: 3.2rem; }
  .regiert-orden { right: -1rem; bottom: -2.2rem; width: 150px; }
}
@media (max-width: 480px) { .regiert-orden { right: -.5rem; width: 130px; } }
@media (prefers-reduced-motion: reduce) { .regiert-orden { animation: none; } }

/* ---------- Aktuelles: Beitrag (z. B. Inthronisierung) ---------- */
.beitrag h2 { margin-bottom: 1.4rem; }
.beitrag-bild { display: block; width: 100%; margin: 0 0 1.8rem; border-radius: var(--rund); overflow: hidden; box-shadow: var(--schatten); }
.beitrag-bild img { width: 100%; height: auto; }
.beitrag-bild.platzhalter { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.beitrag-text p { margin: 0 0 1.1rem; }

/* Abschnitte, die von selbst hell werden, wenn sonst zwei dunkle aufeinander folgen */
.regiert-band.ton-hell { background: var(--creme); color: var(--text); }
.regiert-band.ton-hell.band-weiss { background: var(--weiss); }
.regiert-band.ton-hell .regiert-gross { color: var(--blau); text-shadow: 0 5px 0 rgba(227, 178, 60, .55); }
.regiert-band.ton-hell .regiert-titel { color: var(--text-leise); }
.regiert-band.ton-hell .regiert-ruf { color: var(--rot); }
.regiert-band.ton-hell .regiert-foto { box-shadow: 0 0 0 6px var(--weiss), var(--schatten-gross); }
.ton-hell .karussell-pfeil { box-shadow: var(--schatten); }

/* ---------- Galerie: Alben ---------- */
.alben { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.alben-leiste { display: flex; flex-wrap: wrap; gap: .7rem; }
.alben-marker { display: none; }
.album-tab {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.6rem; border: 0; border-radius: 999px; cursor: pointer;
  font: 800 1rem/1 var(--schrift-text); white-space: nowrap;
  background: var(--weiss); color: var(--nacht);
  box-shadow: 0 0 0 1px var(--linie), 0 6px 16px -10px rgba(24, 38, 90, .45);
  transition: background .3s var(--weich), color .3s var(--weich), box-shadow .3s var(--weich), transform .25s var(--weich);
}
.album-tab:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(47, 71, 151, .35), 0 12px 22px -12px rgba(24, 38, 90, .55); }
.album-tab:active { transform: scale(.97); }
.album-tab.ist-aktiv {
  background: linear-gradient(135deg, var(--blau), var(--nacht)); color: var(--weiss);
  box-shadow: 0 12px 24px -12px rgba(24, 38, 90, .85);
}
.album-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.album-kopf { max-width: 44rem; margin-bottom: 2rem; animation: einblenden .45s ease; }
.album-kopf[hidden], .galerie-bild[hidden], .galerie-bild.ist-weg { display: none !important; }
@media (max-width: 640px) { .album-tab { flex: 1 1 auto; padding: .85rem 1.1rem; font-size: .95rem; } }

/* Galerie: Reihenfolge von links nach rechts, neueste Fotos oben */
.galerie {
  columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(9rem, 15vw, 14.5rem); grid-auto-flow: dense; gap: clamp(.8rem, 2vw, 1.4rem);
}
.galerie .galerie-bild { margin: 0; height: 100%; }
.galerie .galerie-bild img { width: 100%; height: 100%; object-fit: cover; }
.galerie .galerie-hoch { grid-row: span 2; }
@media (max-width: 760px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(8rem, 30vw, 12rem); } }

/* Abschnitte, die von selbst hell werden, wenn sonst zwei dunkle aufeinander folgen */
.regiert-band.ton-hell { background: var(--creme); color: var(--text); }
.regiert-band.ton-hell.band-weiss { background: var(--weiss); }
.regiert-band.ton-hell .regiert-gross { color: var(--blau); text-shadow: 0 5px 0 rgba(227, 178, 60, .55); }
.regiert-band.ton-hell .regiert-titel { color: var(--text-leise); }
.regiert-band.ton-hell .regiert-ruf { color: var(--rot); }
.regiert-band.ton-hell .regiert-foto { box-shadow: 0 0 0 6px var(--weiss), var(--schatten-gross); }
.ton-hell .karussell-pfeil { box-shadow: var(--schatten); }

/* ---------- Galerie: Alben ---------- */
.alben { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: .4rem .2rem 1rem; margin-inline: -.2rem; }
.alben::-webkit-scrollbar { display: none; }
.alben-leiste {
  position: relative; display: inline-flex; gap: .25rem; padding: .35rem;
  background: var(--weiss); border-radius: 999px;
  box-shadow: 0 0 0 1px var(--linie), var(--schatten);
}
.alben-marker {
  position: absolute; top: .35rem; bottom: .35rem; left: 0; width: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--blau), var(--nacht));
  box-shadow: 0 8px 18px -8px rgba(24, 38, 90, .7);
  transition: transform .5s var(--weich), width .5s var(--weich);
}
.album-tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1.25rem; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 800 .98rem/1 var(--schrift-text); color: var(--text-leise); white-space: nowrap;
  transition: color .35s var(--weich);
}
.album-tab:hover { color: var(--nacht); }
.album-tab small {
  min-width: 1.7rem; padding: .25rem .45rem; border-radius: 999px; text-align: center;
  font-size: .75rem; font-weight: 800; background: rgba(24, 38, 90, .07); color: inherit;
  transition: background .35s var(--weich), color .35s var(--weich);
}
.album-tab.ist-aktiv { color: var(--weiss); }
.album-tab.ist-aktiv small { background: var(--gold); color: var(--nacht); }
.album-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.album-kopf { max-width: 44rem; margin-bottom: 2rem; animation: einblenden .45s ease; }
.album-kopf[hidden], .galerie-bild[hidden], .galerie-bild.ist-weg { display: none !important; }
.album-zahl { font-weight: 800; color: var(--rot); margin: 0; }
@media (max-width: 640px) {
  .alben { overflow: visible; padding: 0; margin: 0 0 1.8rem; }
  .alben-leiste { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; background: none; box-shadow: none; }
  .alben-marker { display: none; }
  .album-tab {
    flex: 1 1 auto; justify-content: center; padding: .85rem 1.1rem; font-size: .95rem;
    background: var(--weiss); color: var(--nacht); box-shadow: 0 0 0 1px var(--linie), 0 6px 16px -10px rgba(24, 38, 90, .45);
    transition: background .3s var(--weich), color .3s var(--weich), transform .2s;
  }
  .album-tab:active { transform: scale(.97); }
  .album-tab.ist-aktiv { background: linear-gradient(135deg, var(--blau), var(--nacht)); color: var(--weiss); box-shadow: 0 10px 20px -10px rgba(24, 38, 90, .8); }
}

/* ---------- Startseite: schräge Übergänge zwischen den Abschnitten (manche bleiben gerade) ---------- */
.welle { display: none; }
.mit-wellen .welle {
  display: block; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none;
  height: clamp(30px, 4.5vw, 70px);
}
.mit-wellen .welle-oben { top: -1px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.mit-wellen .welle-oben.welle-r { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.mit-wellen .welle-unten { bottom: -1px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.mit-wellen .welle-unten.welle-r { clip-path: polygon(0 0, 100% 100%, 0 100%); }
.mit-wellen .welle-creme { background: var(--creme); }
.mit-wellen .welle-weiss { background: var(--weiss); }
.mit-wellen .welle-nacht { background: var(--nacht); }
.mit-wellen .welle-blau { background: var(--blau); }
.mit-wellen .abschnitt:has(> .welle-oben) { padding-top: calc(var(--abstand) + clamp(14px, 2.5vw, 36px)); }
.mit-wellen .schraeg-oben { clip-path: none; margin-top: 0; padding-top: var(--abstand); }

/* ---------- Aktuelles: Beitrag mit Spruch, Mannschaft und Orden ---------- */
.beitrag-bildrahmen { position: relative; margin: 0 0 2.6rem; }
.beitrag-bildrahmen .beitrag-bild { margin: 0; }
.beitrag-orden {
  position: absolute; right: clamp(-1.2rem, -2vw, -.4rem); bottom: clamp(-2.2rem, -4vw, -1.4rem);
  width: clamp(110px, 20vw, 190px); padding: 0; border: 0; background: none; cursor: zoom-in;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .4)); transition: transform .3s var(--weich);
}
.beitrag-orden:hover { transform: scale(1.06) rotate(-2deg); }
.beitrag-orden img { width: 100%; height: auto; }
.beitrag-spruch { margin: 0 0 1.8rem; }
.beitrag-spruch span {
  display: inline-block; padding: .55rem 1.4rem .65rem; border-radius: 16px; transform: rotate(-2deg);
  font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(1.6rem, 4.4vw, 2.4rem); line-height: 1.1; color: var(--weiss);
  background: linear-gradient(100deg, #2F4797 0%, #2F4797 46%, #C8534A 54%, #C8534A 100%);
  box-shadow: 0 0 0 4px var(--gold), 0 14px 28px -12px rgba(24, 38, 90, .6);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .2);
}
.beitrag-text p { margin: 0 0 1.1rem; }
.hofstaat { margin: 2.2rem 0 2rem; }
.hofstaat-titel { font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rot); margin: 0 0 .9rem; }
.hofstaat-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2.4rem; }
.hofstaat-karte { border-left: 5px solid var(--blau); padding-left: 1.1rem; }
.hofstaat-b { border-left-color: var(--rot); }
.hofstaat-karte h3 { font-size: 1.5rem; margin: 0 0 .4rem; }
.hofstaat-zusatz { margin: 0 0 .2rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); }
.hofstaat-karte ul { list-style: none; margin: 0; padding: 0; }
.hofstaat-karte li { display: inline; font-size: 1.08rem; font-weight: 700; color: var(--text-leise); }
.hofstaat-karte li + li::before { content: "·"; margin: 0 .55rem; color: var(--gold); font-weight: 800; }
.beitrag-schluss p { font-weight: 800; color: var(--nacht); }
@media (max-width: 640px) {
  .hofstaat-raster { grid-template-columns: minmax(0, 1fr); }
  .beitrag-orden { right: -.3rem; bottom: -1.6rem; }
}
