/* Running Dinner CGH. Baut auf cgh-tokens.css auf. Mobil zuerst. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Calista";
  src: url("/fonts/Calista.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--cgh-sand); }

/* Mesh-Gradient aus den Markenfarben mit Parallax: Die Ebene liegt fest hinter der
   Seite und wird per JS (gemeinsam.js) langsamer verschoben, als der Inhalt scrollt.
   Eine Kachel von 1400px wiederholt sich nach unten, oben und unten sitzen die gleichen
   Flecken, damit die Naht nicht auffällt. */
body { background-color: var(--cgh-sand); }
body::before {
  content: ""; position: fixed; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none;
  height: calc(100vh + 1400px);
  height: calc(100lvh + 1400px);
  background-color: #E9EFEC;
  background-image:
    radial-gradient(120% 760px at 0% 0%, rgba(111,195,193,.60) 0%, rgba(111,195,193,.25) 40%, rgba(111,195,193,0) 75%),
    radial-gradient(120% 760px at 0% 100%, rgba(111,195,193,.60) 0%, rgba(111,195,193,.25) 40%, rgba(111,195,193,0) 75%),
    radial-gradient(110% 720px at 100% 38%, rgba(111,195,193,.50) 0%, rgba(111,195,193,.20) 40%, rgba(111,195,193,0) 75%),
    radial-gradient(90% 560px at 15% 62%, rgba(242,240,237,.70) 0%, rgba(242,240,237,0) 70%),
    radial-gradient(80% 520px at 85% 85%, rgba(253,226,53,.14) 0%, rgba(253,226,53,0) 70%);
  background-size: 100% 1400px;
  background-repeat: repeat-y;
  transform: translate3d(0, calc(var(--rd-parallax, 0px) * -1), 0);
  will-change: transform;
}
main { flex: 1; }
img, svg { max-width: 100%; }
a { color: var(--cgh-anthrazit); text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: var(--cgh-tuerkis-dunkel); }
a:hover { text-decoration-color: var(--cgh-anthrazit); }
:focus-visible { outline: 3px solid var(--cgh-tuerkis-dunkel); outline-offset: 2px; }
[hidden] { display: none !important; }

h1, h2, h3, .formular legend { text-transform: uppercase; letter-spacing: .01em; }
.cgh-script { text-transform: none; letter-spacing: 0; }
h1 { font-size: clamp(2.25rem, 9vw, var(--cgh-size-display)); margin: 0 0 var(--cgh-space-sm); }
h2 { font-size: clamp(1.5rem, 6vw, var(--cgh-size-h2)); margin: 0 0 var(--cgh-space-sm); }
h3 { font-size: var(--cgh-size-kicker); margin: 0 0 var(--cgh-space-xs); }
p { margin: 0 0 var(--cgh-space-sm); }

.wrap { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 var(--cgh-space-sm); }

/* ---- Kopf und Fuß */
.kopf { padding: var(--cgh-space-sm) 0; }
.kopf a { display: inline-block; }
.logo {
  display: block; width: 176px; aspect-ratio: 3540 / 804;
  background: var(--cgh-anthrazit);
  -webkit-mask: url("/img/cgh-logo-currentcolor.svg") no-repeat center / contain;
  mask: url("/img/cgh-logo-currentcolor.svg") no-repeat center / contain;
}
.fuss {
  margin-top: var(--cgh-space-2xl);
  background: var(--cgh-anthrazit); color: var(--cgh-sand);
  padding: var(--cgh-space-lg) 0; font-size: var(--cgh-size-small);
}
.fuss a { color: var(--cgh-sand); text-decoration-color: var(--cgh-tuerkis); }
.fuss__ki { margin: var(--cgh-space-sm) 0 0; font-size: var(--cgh-size-small); opacity: .75; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--cgh-space-xs) var(--cgh-space-md); }

/* ---- Hero auf Türkis-Fläche */
.hero {
  background: transparent; color: var(--cgh-anthrazit);
  padding: var(--cgh-space-xl) 0 calc(var(--cgh-space-sm) + 90px);
  position: relative; overflow: hidden;
}
.hero .deko {
  position: absolute; right: var(--cgh-space-sm); bottom: var(--cgh-space-xs); width: 130px; aspect-ratio: 208.865 / 140.341;
  background: var(--cgh-tuerkis-dunkel); opacity: .25; pointer-events: none;
  -webkit-mask: url("/img/elemente/punktwolke-weit.svg") no-repeat center / contain;
  mask: url("/img/elemente/punktwolke-weit.svg") no-repeat center / contain;
}
.hero .wrap { position: relative; }
.kicker { font-weight: var(--cgh-w-black); font-size: var(--cgh-size-small); letter-spacing: var(--cgh-ls-wide); text-transform: uppercase; margin-bottom: var(--cgh-space-2xs); }
.hero h1 .cgh-script { font-size: 1.35em; display: inline-block; transform: translateY(.06em); }
.lead { font-size: var(--cgh-size-lead); line-height: var(--cgh-lh-snug); max-width: 34rem; }

.abschnitt { padding: var(--cgh-space-xl) 0 0; }

/* ---- Strang quer (Startseite) */
.strang-quer { margin: var(--cgh-space-md) 0 0; }
.strang-quer svg { display: block; width: 100%; height: auto; }
.strang-quer ol {
  list-style: none; margin: var(--cgh-space-2xs) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); text-align: center;
}
.strang-quer strong { display: block; font-weight: var(--cgh-w-bold); }
.strang-quer span { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- Strang hoch (Team-Seite) */
.strang { list-style: none; margin: var(--cgh-space-md) 0 0; padding: 0; }
.station { display: grid; grid-template-columns: 72px 1fr; gap: var(--cgh-space-sm); }
.station__spur { position: relative; }
.station__spur svg { position: absolute; left: 0; top: 0; width: 72px; height: 100%; overflow: visible; }
.station:first-child .station__spur svg { top: 36px; height: calc(100% - 36px); }
.station:last-child .station__spur svg { display: none; }
.station__punkt {
  position: relative; z-index: 1; width: 64px; height: 64px; margin: 4px;
  border-radius: 50%; background: var(--cgh-gelb);
  display: grid; place-items: center;
}
.station__punkt img { width: 34px; height: 34px; }
.station__text { padding: var(--cgh-space-xs) 0 var(--cgh-space-xl); }
.station__text h3 { margin: 0; font-size: var(--cgh-size-kicker); }
.station__zeit { font-variant-numeric: tabular-nums; }
.station--eigen .station__text { font-weight: var(--cgh-w-bold); }

/* ---- Karten und Hinweise */
.karte { background: #fff; border-radius: var(--cgh-radius-lg); padding: var(--cgh-space-md); margin: var(--cgh-space-md) 0; }
.karte--dunkel { background: var(--cgh-tuerkis-dunkel); color: var(--cgh-weiss); }
.karte--dunkel a { color: var(--cgh-weiss); text-decoration-color: var(--cgh-weiss); }
.notfall { background: var(--cgh-anthrazit); color: var(--cgh-weiss); border-radius: var(--cgh-radius-lg); padding: var(--cgh-space-md); margin: var(--cgh-space-md) 0; }
.notfall a { color: var(--cgh-weiss); font-size: var(--cgh-size-h3); font-weight: var(--cgh-w-black); text-decoration-color: var(--cgh-gelb); }
.hinweis { font-size: var(--cgh-size-small); }
.loeschhinweis { font-size: var(--cgh-size-small); margin-top: var(--cgh-space-lg); }
.fakten { list-style: none; padding: 0; margin: var(--cgh-space-md) 0; }
.fakten li { padding: var(--cgh-space-xs) 0; border-top: 2px solid var(--cgh-tuerkis); }
.fakten li:last-child { border-bottom: 2px solid var(--cgh-tuerkis); }

/* ---- Buttons */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--cgh-space-2xs);
  min-height: 52px; padding: 0 var(--cgh-space-lg);
  background: var(--cgh-anthrazit); color: var(--cgh-sand);
  font: inherit; font-weight: var(--cgh-w-bold); text-decoration: none;
  border: 2px solid var(--cgh-anthrazit); border-radius: var(--cgh-radius-md); cursor: pointer;
}
.knopf:hover { background: #000; }
.knopf--zweit { background: transparent; color: var(--cgh-anthrazit); }
.knopf--zweit:hover { background: var(--cgh-anthrazit); color: var(--cgh-sand); }
.knopf[disabled] { opacity: .5; cursor: wait; }
.knoepfe { display: flex; flex-wrap: wrap; gap: var(--cgh-space-xs); margin-top: var(--cgh-space-md); }

/* ---- Formular */
.formular fieldset { border: 0; margin: 0 0 var(--cgh-space-xl); padding: 0; min-width: 0; }
.formular legend { font-size: var(--cgh-size-h3); font-weight: var(--cgh-w-black); letter-spacing: var(--cgh-ls-tight); padding: 0; margin-bottom: var(--cgh-space-sm); }
.formular fieldset fieldset { margin-bottom: var(--cgh-space-md); }
.formular fieldset fieldset legend { font-size: var(--cgh-size-body); font-weight: var(--cgh-w-bold); letter-spacing: 0; margin-bottom: var(--cgh-space-2xs); }
.person { background: #fff; border-radius: var(--cgh-radius-lg); padding: var(--cgh-space-md) var(--cgh-space-sm); margin: var(--cgh-space-sm) 0; }
.feld { margin-bottom: var(--cgh-space-sm); }
.feld > label, .feld__label { display: block; font-weight: var(--cgh-w-bold); margin-bottom: var(--cgh-space-3xs); }
.feld .hinweis { margin: var(--cgh-space-3xs) 0 0; }
.zeile { display: grid; grid-template-columns: 1fr; gap: 0 var(--cgh-space-sm); }
@media (min-width: 34rem) {
  .zeile { grid-template-columns: 1fr 1fr; }
  .zeile--plz { grid-template-columns: 8rem 1fr; }
}
input[type=text], input[type=email], input[type=tel], input[type=number], select {
  width: 100%; min-height: 52px; padding: 0 var(--cgh-space-xs);
  font: inherit; color: var(--cgh-anthrazit); background: #fff;
  border: 2px solid var(--cgh-anthrazit); border-radius: var(--cgh-radius-md);
}
input[type=number] { max-width: 8rem; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cgh-anthrazit) 50%), linear-gradient(135deg, var(--cgh-anthrazit) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }

.wahl {
  display: flex; align-items: flex-start; gap: var(--cgh-space-xs);
  min-height: 48px; padding: var(--cgh-space-xs) 0; cursor: pointer; line-height: var(--cgh-lh-snug);
}
.wahl input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--cgh-tuerkis-dunkel); }
.wahlen--reihe { display: flex; flex-wrap: wrap; gap: 0 var(--cgh-space-lg); }
.allergene { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--cgh-space-sm); }
@media (min-width: 34rem) { .allergene { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wahl--gross { font-weight: var(--cgh-w-bold); padding: var(--cgh-space-sm); border: 2px solid var(--cgh-tuerkis-dunkel); border-radius: var(--cgh-radius-md); background: rgba(255,255,255,.6); }
.andere { margin-top: var(--cgh-space-md); }
.regler { display: flex; align-items: center; gap: var(--cgh-space-sm); min-height: 52px; }
.regler input[type=range] { flex: 1; min-width: 0; height: 32px; margin: 0; accent-color: var(--cgh-tuerkis-dunkel); }
.regler output { flex: none; min-width: 3.5rem; font-weight: var(--cgh-w-bold); font-variant-numeric: tabular-nums; }
.allergene .wahl { min-height: 44px; padding: var(--cgh-space-2xs) 0; }

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

.fehler { display: inline-block; margin: var(--cgh-space-3xs) 0 0; padding: 2px var(--cgh-space-2xs); background: var(--cgh-gelb); font-weight: var(--cgh-w-bold); font-size: var(--cgh-size-small); border-radius: var(--cgh-radius-sm); }
.hat-fehler input[type=text], .hat-fehler input[type=email], .hat-fehler input[type=tel], .hat-fehler select { border-width: 3px; }
.meldung { padding: var(--cgh-space-sm) var(--cgh-space-md); border-radius: var(--cgh-radius-md); background: #fff; border-left: 8px solid var(--cgh-gelb); font-weight: var(--cgh-w-bold); margin: var(--cgh-space-md) 0; }

.teilen-bilder { list-style: none; margin: var(--cgh-space-md) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cgh-space-sm); align-items: start; }
@media (min-width: 48rem) { .teilen-bilder { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.teilen-bilder a { display: block; color: var(--cgh-anthrazit); text-decoration: none; }
.teilen-bilder img { display: block; width: 100%; height: auto; border-radius: var(--cgh-radius-md); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.teilen-bilder span { display: block; margin-top: var(--cgh-space-2xs); font-size: var(--cgh-size-small); text-decoration: underline; text-decoration-color: var(--cgh-tuerkis-dunkel); text-underline-offset: 3px; }
.teilen-dateien { list-style: none; margin: var(--cgh-space-md) 0 0; padding: 0; }
.teilen-dateien li { padding: var(--cgh-space-xs) 0; border-top: 2px solid var(--cgh-tuerkis); }
.teilen-dateien li:last-child { border-bottom: 2px solid var(--cgh-tuerkis); }
.teilen-dateien span { font-size: var(--cgh-size-small); opacity: .7; }
.hinweis--wichtig { font-weight: var(--cgh-w-bold); }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: var(--cgh-space-xs); margin: var(--cgh-space-sm) 0; }
.kachel { background: #fff; border-radius: var(--cgh-radius-md); padding: var(--cgh-space-xs) var(--cgh-space-sm); }
.kachel strong { display: block; font-size: var(--cgh-size-h3); font-weight: var(--cgh-w-black); }
.kachel span { font-size: var(--cgh-size-small); }
.gruppe { background: #fff; border-radius: var(--cgh-radius-md); padding: var(--cgh-space-xs) var(--cgh-space-sm); margin: var(--cgh-space-xs) 0; }
.gruppe summary { cursor: pointer; min-height: 44px; padding: var(--cgh-space-2xs) 0; }
.gruppe select { min-height: 48px; max-width: 100%; }
.marke { display: inline-block; font-size: var(--cgh-size-small); font-weight: var(--cgh-w-bold); background: var(--cgh-gelb, #FDE235); color: var(--cgh-anthrazit); border-radius: 999px; padding: 0 .6em; }
.mitglieder { list-style: none; padding: 0; margin: var(--cgh-space-sm) 0; }
.mitglieder li { padding: var(--cgh-space-xs) 0; border-top: 1px solid var(--cgh-grau-hell); display: flex; flex-wrap: wrap; gap: var(--cgh-space-xs); align-items: center; }
.knopf--klein { min-height: 36px; padding: 0 var(--cgh-space-sm); font-size: var(--cgh-size-small); }
.einladung h3 { margin-top: 0; }
.gruppencode { font-size: var(--cgh-size-h3); font-weight: var(--cgh-w-black); letter-spacing: .08em; margin: var(--cgh-space-xs) 0; }
.schritt-kopf { margin-bottom: var(--cgh-space-md); }
.schritt-kopf p { margin: 0 0 var(--cgh-space-2xs); font-size: var(--cgh-size-small); font-weight: var(--cgh-w-bold); }
.schritt-balken { height: 6px; border-radius: 3px; background: rgba(0,0,0,.08); overflow: hidden; }
.schritt-balken span { display: block; height: 100%; background: var(--cgh-tuerkis-dunkel); transition: width .2s; }
.linkbox { display: flex; flex-wrap: wrap; gap: var(--cgh-space-xs); align-items: center; margin: var(--cgh-space-sm) 0; }
.linkbox code { flex: 1 1 100%; overflow-wrap: anywhere; background: #fff; color: var(--cgh-anthrazit); padding: var(--cgh-space-xs); border-radius: var(--cgh-radius-md); font-size: var(--cgh-size-small); }

/* ---- Angaben-Übersicht */
.angaben { margin: 0; }
.angaben div { padding: var(--cgh-space-xs) 0; border-top: 1px solid var(--cgh-grau-hell); }
.angaben dt { font-size: var(--cgh-size-small); font-weight: var(--cgh-w-bold); }
.angaben dd { margin: 0; }

/* ---- Datenschutz-Seite */
.text h2 { font-size: var(--cgh-size-h3); margin-top: var(--cgh-space-xl); }
.platzhalter { background: var(--cgh-gelb); padding: 0 4px; border-radius: 3px; }

@media print {
  .kopf, .fuss, .knoepfe { display: none; }
}

/* ---- Kästen mit Tiefe: helles Glas, weicher türkis getönter Schatten */
:root {
  --rd-glas: rgba(255,255,255,.62);
  --rd-rand: rgba(255,255,255,.55);
  --rd-schatten: 0 1px 2px rgba(33,34,34,.06), 0 4px 10px -2px rgba(33,34,34,.06), 0 18px 40px -12px rgba(59,128,126,.45);
}
.person, .karte:not(.karte--dunkel), .meldung, .fakten li, .angaben, .linkbox code {
  background: var(--rd-glas);
  border: 1px solid var(--rd-rand);
  box-shadow: var(--rd-schatten);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-radius: var(--cgh-radius-xl);
}
.person { padding: var(--cgh-space-lg) var(--cgh-space-md); }
.meldung { border-left: 8px solid var(--cgh-gelb); }
.notfall, .karte--dunkel { box-shadow: 0 18px 40px -12px rgba(33,34,34,.55); border-radius: var(--cgh-radius-xl); }

.fakten { display: grid; gap: var(--cgh-space-xs); }
.fakten li, .fakten li:last-child { border: 1px solid var(--rd-rand); padding: var(--cgh-space-sm) var(--cgh-space-md); }

.angaben { padding: var(--cgh-space-2xs) var(--cgh-space-md); }
.angaben div:first-child { border-top: 0; }

.station__punkt, .strang-quer circle { filter: drop-shadow(0 6px 10px rgba(33,34,34,.18)); }
.station__punkt { box-shadow: 0 8px 18px -6px rgba(33,34,34,.35); }

.knopf { box-shadow: 0 10px 22px -10px rgba(33,34,34,.6); transition: transform .12s ease, box-shadow .12s ease; }
.knopf:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(33,34,34,.65); }
.knopf:active { transform: translateY(0); }
.knopf--zweit { background: var(--rd-glas); box-shadow: 0 8px 18px -10px rgba(33,34,34,.4); }

input[type=text], input[type=email], input[type=tel], input[type=number], select {
  box-shadow: inset 0 1px 2px rgba(33,34,34,.08);
}

.zeile--kinder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zeile--kinder input[type=number] { max-width: none; }
.zeile--kinder label { font-size: var(--cgh-size-small); }

.knopf--gross { min-height: 64px; padding: 0 var(--cgh-space-xl); font-size: var(--cgh-size-lead); width: 100%; max-width: 22rem; }
.schluss { font-size: var(--cgh-size-small); font-weight: var(--cgh-w-bold); margin-top: var(--cgh-space-xs); }
/* Orga: Zuordnung. Verstöße mit rotem Rand, sonst wie Gruppen-Karten. */
.verstoss { border-left: 8px solid #B3261E; }
.tisch-gaeste { margin: var(--cgh-space-2xs) 0 0; padding-left: 1.2em; }
.tisch-gaeste li { margin: var(--cgh-space-3xs) 0; }
.tisch-gaeste select { min-height: 36px; font-size: var(--cgh-size-small); margin-left: var(--cgh-space-2xs); max-width: 100%; }
.mailtext { white-space: pre-wrap; font: inherit; font-size: var(--cgh-size-small); background: var(--cgh-sand, #F2F0ED); padding: var(--cgh-space-xs); border-radius: 8px; }

/* ---- Der Abend auf der Gruppenseite (nach der Zuordnung), zuerst fürs Handy */
.station--eigen .station__text p { font-weight: var(--cgh-w-regular); }
.station__text p { margin: var(--cgh-space-2xs) 0 0; }
.adresse { background: #fff; border-radius: var(--cgh-radius-lg); padding: var(--cgh-space-sm); margin: var(--cgh-space-xs) 0 0; }
.adresse__ort { font-size: var(--cgh-size-lead); font-weight: var(--cgh-w-bold); line-height: 1.3; }
.adresse .knoepfe { margin-top: var(--cgh-space-xs); }
.angaben-klappe { margin: var(--cgh-space-xl) 0 0; }
.angaben-klappe > summary { cursor: pointer; font-weight: var(--cgh-w-bold); padding: var(--cgh-space-xs) 0; }
@media (max-width: 34rem) {
  .station { grid-template-columns: 44px 1fr; gap: var(--cgh-space-xs); }
  .station__spur svg { width: 44px; }
  .station:first-child .station__spur svg { top: 22px; height: calc(100% - 22px); }
  .station__punkt { width: 40px; height: 40px; margin: 2px; }
  .station__punkt img { width: 22px; height: 22px; }
  .station__text { padding: var(--cgh-space-2xs) 0 var(--cgh-space-lg); overflow-wrap: anywhere; }
  .notfall { padding: var(--cgh-space-sm); }
  .notfall a { font-size: var(--cgh-size-lead); }
  .adresse .knopf { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 34rem) {
  .mit-abend .hero { padding: var(--cgh-space-md) 0 var(--cgh-space-xs); }
  .mit-abend .hero .deko { display: none; }
  .mit-abend .abschnitt { padding-top: 0; }
}

/* Tischfoto je Gang auf der Gruppenseite */
.tischfoto { background: #fff; border-radius: var(--cgh-radius-lg); border-left: 8px solid #C62828; padding: var(--cgh-space-sm); margin: var(--cgh-space-xs) 0 0; }
.tischfoto__titel { font-weight: var(--cgh-w-bold); color: #C62828; margin-top: 0; }
.tischfoto .knoepfe { margin-top: var(--cgh-space-xs); }
.tischfoto .wahl { margin-top: var(--cgh-space-xs); }
.tischfoto__bild img { display: block; width: 100%; height: auto; border-radius: var(--cgh-radius-md); margin-top: var(--cgh-space-xs); }
.tischfoto__ds { font-size: var(--cgh-size-small); margin-top: var(--cgh-space-xs); }
.tischfoto__ds summary { cursor: pointer; text-decoration: underline; }
.tischfoto--laedt .knoepfe, .tischfoto--laedt .wahl { opacity: .5; pointer-events: none; }
.fotoraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--cgh-space-sm); }
.fotoraster figure { margin: 0; background: #fff; border-radius: var(--cgh-radius-md); padding: var(--cgh-space-2xs); }
.fotoraster img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--cgh-radius-sm); }
.fotoraster figcaption { font-size: var(--cgh-size-small); margin-top: var(--cgh-space-3xs); }

/* Feedback nach dem Abend */
textarea {
  width: 100%; min-height: 6rem; padding: var(--cgh-space-xs); resize: vertical;
  font: inherit; line-height: var(--cgh-lh-snug); color: var(--cgh-anthrazit); background: #fff;
  border: 2px solid var(--cgh-anthrazit); border-radius: var(--cgh-radius-md);
}
.feedback > fieldset { background: #fff; border-radius: var(--cgh-radius-lg); padding: var(--cgh-space-md) var(--cgh-space-sm); margin-bottom: var(--cgh-space-md); }
.feedback fieldset fieldset { margin-bottom: var(--cgh-space-md); }
.feedback legend .hinweis { font-weight: var(--cgh-w-regular); }
.skala__reihe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--cgh-space-2xs); max-width: 22rem; }
.skala__punkt { position: relative; cursor: pointer; }
.skala__punkt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.skala__punkt span {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  border: 2px solid var(--cgh-anthrazit); border-radius: var(--cgh-radius-md); font-weight: var(--cgh-w-bold); background: #fff;
}
.skala__punkt input:checked + span { background: var(--cgh-tuerkis-dunkel); border-color: var(--cgh-tuerkis-dunkel); color: #fff; }
.skala__punkt input:focus-visible + span { outline: 3px solid var(--cgh-gelb); outline-offset: 2px; }
.skala__enden { display: flex; justify-content: space-between; gap: var(--cgh-space-xs); max-width: 22rem; margin-top: var(--cgh-space-3xs); font-size: var(--cgh-size-small); }
.auswertung-balken { display: grid; grid-template-columns: minmax(7rem, 12rem) 1fr 2.5rem; gap: var(--cgh-space-2xs); align-items: center; font-size: var(--cgh-size-small); margin: var(--cgh-space-3xs) 0; }
.auswertung-balken div { height: 14px; background: rgba(0,0,0,.06); border-radius: 7px; overflow: hidden; }
.auswertung-balken div span { display: block; height: 100%; background: var(--cgh-tuerkis-dunkel); }
.auswertung-texte { margin: var(--cgh-space-2xs) 0 var(--cgh-space-sm); padding-left: 1.2em; }
.auswertung-texte li { white-space: pre-line; margin-bottom: var(--cgh-space-2xs); }
.feedback fieldset fieldset legend, .feedback .feld > label { text-transform: none; letter-spacing: 0; }
.feedback > fieldset > legend { float: left; width: 100%; }
.feedback > fieldset > legend + * { clear: both; }

/* Social Wall */
.fotowall h2 { margin-top: var(--cgh-space-lg); display: flex; align-items: center; gap: var(--cgh-space-2xs); }
.fotowall h2:first-of-type { margin-top: var(--cgh-space-sm); }
.fotowall__anzahl {
  font-size: var(--cgh-size-small); font-weight: var(--cgh-w-bold); line-height: 1;
  background: var(--cgh-tuerkis); color: var(--cgh-anthrazit); border-radius: var(--cgh-radius-pill); padding: .3em .65em;
}
.fotowall__zurueck { margin-top: var(--cgh-space-lg); }
.wallraster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cgh-space-2xs); }
@media (max-width: 599px) { .wallraster--ungerade .wallkachel:first-child { grid-column: span 2; aspect-ratio: 2; } }
@media (min-width: 600px) { .wallraster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cgh-space-xs); } }
.wallkachel {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  aspect-ratio: 1; border-radius: var(--cgh-radius-lg); background: rgba(0,0,0,.06); font: inherit; color: #fff; text-align: left;
}
.wallkachel__bild, .wallkachel__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wallkachel__bild img { object-fit: cover; transition: transform .25s ease; }
.wallkachel:hover img { transform: scale(1.04); }
.wallkachel:focus-visible { outline: 3px solid var(--cgh-gelb); outline-offset: 2px; }
.wallkachel__name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6em .6em .45em;
  font-size: var(--cgh-size-small); font-weight: var(--cgh-w-bold); line-height: 1.25;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}
.grossbild { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(15,15,15,.94); color: #fff; }
.grossbild::backdrop { background: rgba(0,0,0,.6); }
.grossbild figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem .5rem 1rem; }
.grossbild img { max-width: 100%; max-height: calc(100dvh - 7rem); object-fit: contain; border-radius: var(--cgh-radius-md); }
.grossbild figcaption { margin-top: var(--cgh-space-xs); font-size: var(--cgh-size-small); text-align: center; }
.grossbild button { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.grossbild button:hover { background: rgba(255,255,255,.28); }
.grossbild button:focus-visible { outline: 3px solid var(--cgh-gelb); }
.grossbild__zu { top: .6rem; right: .6rem; }
.grossbild__pfeil { top: 50%; transform: translateY(-50%); }
.grossbild__pfeil--zurueck { left: .5rem; }
.grossbild__pfeil--vor { right: .5rem; }
.wall-knopf { margin: var(--cgh-space-sm) 0; }
