/* Snackonaut Website, Fassung 5 (November 2026)
   Schwarze Seite, Lila als Akzent und als Schein. Glas nur für die Bedienebene (Kopfleiste, zweiter Knopf,
   Knöpfe auf der Karte). Ein Raster, eine Abstandsskala, gleiche Kanten auf jeder Seite.
   Farben, Schriften und das Zeichen aus dem Corporate Design 1.0. System und Verlauf in DESIGN.md. */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 400; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 500; src: url("../fonts/Inter-Medium.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Inter"; font-weight: 600; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-display: swap; }

:root {
  color-scheme: dark;
  /* Flächen und Schrift */
  --grund: #08060C;
  --flaeche: #121018;
  --flaeche-2: #1C1826;
  --flaeche-3: #2A2438;
  --linie: rgba(255, 255, 255, 0.1);
  --kante: rgba(255, 255, 255, 0.06);
  --tinte: #F5F5F7;
  --tinte-2: #B4B0C0;
  --tinte-3: #8A8697;
  /* Marke: Lila für den Schein, Flieder für alles, was man antippt */
  --lila: #3B1273;
  --lila-hell: #703ACC;
  --flieder: #B49CFF;
  --flieder-hell: #C8B6FF;
  --nacht: #0E0B14;
  --gruen: #34C77B;
  --orange: #F2A33A;
  --rot: #F0685C;
  /* Glas */
  --glas: rgba(46, 38, 64, 0.42);
  --glas-kante: rgba(255, 255, 255, 0.22);
  --glas-rand: rgba(255, 255, 255, 0.08);
  --glas-schatten: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  /* Schein: von innen nach außen */
  --schein: rgba(112, 58, 204, 0.72) 0%, rgba(74, 28, 140, 0.44) 38%, rgba(59, 18, 115, 0.15) 66%, rgba(59, 18, 115, 0) 100%;

  --titel: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", "Helvetica Neue", Arial, sans-serif;

  --t-riesig: clamp(2.5rem, 1rem + 4.6vw, 4.75rem);
  --t-titel: clamp(2rem, 1.25rem + 2.7vw, 3.5rem);
  --t-kachel: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);

  /* Raster und Abstände: überall dieselben Kanten */
  --rand: clamp(16px, 4vw, 40px);
  --breite: 1240px;
  --spalt: clamp(10px, 1.2vw, 16px);
  --abschnitt: clamp(72px, 9vw, 128px);
  --innen: clamp(26px, 4.6vw, 72px);
  --r-l: clamp(24px, 2.6vw, 34px);
  --r-m: 24px;
  --r-s: 14px;
  --kopf: 56px;
  --oben: max(12px, env(safe-area-inset-top));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Horizont im Startfeld: Durchmesser der Kugel, Strecke vom Scheitel bis zum Ende des Feldes, Luft über dem Scheitel */
  --hb: clamp(1100px, 230vw, 4600px);
  --hz: clamp(124px, 11.5vw + 72px, 332px);
  --luft: clamp(34px, 7vw, 116px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; scroll-behavior: smooth; background: var(--grund); }
body { position: relative; margin: 0; color: var(--tinte); font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--flieder); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--flieder); color: var(--nacht); }

[hidden] { display: none !important; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sprung { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--flieder); color: var(--nacht); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.sprung:focus { top: 16px; }

.rahmen { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.abschnitt { padding-block: calc(var(--abschnitt) / 2); }
main > :last-child { padding-bottom: var(--abschnitt); }

/* Unterseiten: derselbe Schein wie im Startfeld, hier von oben und leiser. Der Grund liegt auf html, body bleibt durchsichtig,
   sonst läge dieser Schein (z-index -1) hinter ihm. */
body:not(.seite-start)::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0; height: 620px; pointer-events: none;
  background: radial-gradient(ellipse min(980px, 110vw) 480px at 50% -110px, rgba(112, 58, 204, 0.55) 0%, rgba(74, 28, 140, 0.3) 42%, rgba(59, 18, 115, 0) 76%); }

/* ---------- Schrift ---------- */
.titel { font: 600 var(--t-titel)/1.04 var(--titel); letter-spacing: -0.026em; text-wrap: balance; }
.seitentitel { font: 600 var(--t-riesig)/1 var(--titel); letter-spacing: -0.028em; text-wrap: balance; }
.einleitung { font-size: var(--t-lead); line-height: 1.5; color: var(--tinte-2); max-width: 34em; }
.marke { font: 600 0.8125rem/1.3 var(--text); letter-spacing: 0.04em; text-transform: uppercase; color: var(--flieder); }
.abschnitt__kopf { display: grid; gap: 16px; justify-items: center; max-width: 46rem; margin: 0 auto clamp(28px, 4vw, 52px); text-align: center; }
.verweis { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color 0.2s; }
.verweis:hover { text-decoration-color: currentColor; }
.hinweis { color: var(--tinte-2); text-align: center; }

/* ---------- Glas: nur die Bedienebene ---------- */
.kopf__leiste, .knopf.knopf--glas, .karte__text-knopf, .karte__knoepfe { background: var(--glas);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glas-kante), inset 0 0 0 1px var(--glas-rand); }
@media (prefers-reduced-transparency: reduce) {
  .kopf__leiste, .knopf.knopf--glas, .karte__text-knopf, .karte__knoepfe { background: var(--flaeche-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--flieder); color: var(--nacht); font: 600 1rem/1.1 var(--text); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease); }
.knopf:hover { background: var(--flieder-hell); }
.knopf:active { transform: scale(0.97); }
.knopf--pfeil::after { content: ""; flex: none; width: 15px; height: 15px; margin-right: -4px; background: currentColor; transition: transform 0.4s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 3.5 13.5 8 9 12.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 3.5 13.5 8 9 12.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.knopf--pfeil:hover::after { transform: translateX(4px); }
.knopf.knopf--glas { color: var(--tinte); }
.knopf.knopf--glas:hover { background: rgba(70, 58, 96, 0.5); }
.knopf--still { background: var(--flaeche-2); color: var(--tinte); }
.knopf--still:hover { background: var(--flaeche-3); }
.knopf--klein { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
/* Zeichen vor dem Text: Hörer vor der Nummer, das WhatsApp-Zeichen in seinem Grün */
.knopf__zeichen { flex: none; width: 1.0625em; height: 1.0625em; margin-left: -2px; fill: currentColor; }
.knopf--whatsapp .knopf__zeichen { width: 1.25em; height: 1.25em; fill: #25D366; }
.knopf--whatsapp:hover { box-shadow: inset 0 0 0 1px rgba(37, 211, 102, 0.55); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Live-Punkt */

/* ---------- Kacheln: schwarz, ruhig, oben ein rundes Glaszeichen, darunter Überschrift und Satz ----------
   Alles steht von oben nach unten, damit die Überschriften in jeder Kachel auf derselben Höhe liegen, egal wie viele
   Zeilen der Satz braucht. Am Handy steht das Zeichen links neben dem Text. */
.kachel { position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(20px, 2vw, 28px); border-radius: var(--r-m); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--kante); transition: background-color 0.3s; }
.kachel:hover { background: var(--flaeche-2); }
/* Zeichen aus Glas (Wunsch 14.11.: „noch mehr Apple Liquid Glass“, dann „rund sieht besser aus“): hinter der runden Scheibe
   liegt ein lila Licht, die Scheibe bricht es (backdrop-filter), oben fängt die Kante Licht, darauf ein weißes Zeichen aus
   Ionicons (MIT, im Stil von iOS gezeichnet). */
.glas { position: relative; flex: none; width: clamp(52px, 4.2vw, 60px); aspect-ratio: 1; margin-bottom: clamp(22px, 2.6vw, 36px);
  border-radius: 50%; transition: transform 0.5s var(--ease); }
.glas__licht { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 60% 66%, #9A6BFF, #6229C9 46%, rgba(59, 18, 115, 0) 74%);
  filter: blur(5px); opacity: 0.8; transform: translate(12%, 14%); transition: transform 0.6s var(--ease), opacity 0.6s var(--ease); }
.glas__flaeche { position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.07) 40%, rgba(255, 255, 255, 0.03) 62%, rgba(255, 255, 255, 0.1));
  -webkit-backdrop-filter: blur(9px) saturate(170%); backdrop-filter: blur(9px) saturate(170%);
  box-shadow: inset 0 1px 0.5px rgba(255, 255, 255, 0.55), inset 0 -1px 1px rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.13),
    inset 0 -10px 18px -12px rgba(180, 156, 255, 0.5), 0 12px 26px -12px rgba(0, 0, 0, 0.75); }
.glas__zeichen { position: absolute; left: 27%; top: 27%; width: 46%; height: 46%; fill: #fff; filter: drop-shadow(0 1px 1.5px rgba(20, 8, 40, 0.5)); }
.kachel:hover .glas { transform: translateY(-2px); }
.kachel:hover .glas__licht { opacity: 1; transform: translate(4%, 6%) scale(1.08); }
@media (prefers-reduced-transparency: reduce) { .glas__flaeche { background: var(--flaeche-3); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.kachel__wert { font: 600 var(--t-kachel)/1.1 var(--titel); letter-spacing: -0.025em; }
.kachel__text { margin-top: 8px; max-width: 24em; font-size: 0.9375rem; line-height: 1.45; color: var(--tinte-2); }

/* ---------- Kopf: Pille aus Glas, Menü genau in der Mitte ---------- */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: var(--oben) var(--rand) 0; pointer-events: none; transition: transform 0.5s var(--ease); }
.kopf.ist-weg { transform: translateY(calc(-100% - 8px)); }
.kopf__leiste { pointer-events: auto; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  max-width: var(--breite); height: var(--kopf); margin: 0 auto; padding: 0 8px; border-radius: 999px; transition: box-shadow 0.35s; }
.kopf.ist-unten .kopf__leiste { box-shadow: inset 0 1px 0 var(--glas-kante), inset 0 0 0 1px var(--glas-rand), var(--glas-schatten); }
.kopf__logo { justify-self: start; display: block; margin-left: 14px; padding-block: 10px; color: var(--tinte); }
.kopf__logo .logo { height: 20px; width: auto; }
.logo .logo-zeichen { color: var(--flieder); }
.kopf__nav { position: relative; display: flex; gap: 2px; justify-self: center; }
.kopf__nav a { position: relative; z-index: 1; padding: 9px 15px; border-radius: 999px; font-weight: 500; font-size: 0.9375rem; color: var(--tinte-2); text-decoration: none; transition: color 0.2s; }
.kopf__nav a:hover, .kopf__nav a[aria-current] { color: var(--tinte); }
html:not(.js) .kopf__nav a:hover, html:not(.js) .kopf__nav a[aria-current] { background: rgba(255, 255, 255, 0.09); }
/* die Fläche hinter dem Menüpunkt gleitet mit der Maus mit */
.kopf__gleiter { position: absolute; left: 0; top: 50%; width: var(--gw, 0px); height: 38px; margin-top: -19px; border-radius: 999px; background: rgba(255, 255, 255, 0.09);
  opacity: var(--go, 0); transform: translateX(var(--gx, 0px)); pointer-events: none; }
.kopf__nav.ist-bereit .kopf__gleiter { transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.25s; }
.kopf__aktion { justify-self: end; }
.kopf__menue { display: none; justify-self: end; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--tinte);
  font-weight: 600; font-size: 0.9375rem; cursor: pointer; }

/* Menü am Handy: füllt den Bildschirm, die Knöpfe kleben unten */
.menue { pointer-events: auto; position: fixed; inset: 0; z-index: 0; display: flex; flex-direction: column;
  padding: calc(var(--oben) + var(--kopf) + 36px) var(--rand) max(20px, env(safe-area-inset-bottom)); overflow-y: auto; animation: menue-auf 0.3s ease both;
  background: radial-gradient(ellipse 120% 46% at 50% 108%, rgba(112, 58, 204, 0.5) 0%, rgba(59, 18, 115, 0) 72%), var(--grund); }
.menue[hidden] { display: none; }
.menue__nav { display: grid; gap: 2px; }
.menue__nav a { display: block; padding: 9px 0; font: 600 clamp(2rem, 9.5vw, 2.75rem)/1.1 var(--titel); letter-spacing: -0.035em; text-decoration: none;
  animation: menue-zeile 0.6s var(--ease) both; }
.menue__nav a:nth-child(2) { animation-delay: 0.04s; } .menue__nav a:nth-child(3) { animation-delay: 0.08s; }
.menue__nav a:nth-child(4) { animation-delay: 0.12s; } .menue__nav a:nth-child(5) { animation-delay: 0.16s; }
.menue__nav a[aria-current] { color: var(--flieder); }
.menue__fuss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 28px; animation: menue-zeile 0.6s var(--ease) 0.2s both; }
.menue__fuss .knopf { gap: 6px; padding-inline: 10px; font-size: clamp(0.8125rem, 3.7vw, 0.9375rem); }
.menue__haupt { grid-column: 1 / -1; }
html.menue-offen { overflow: hidden; }
@keyframes menue-auf { from { opacity: 0; } }
@keyframes menue-zeile { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Start: Überschrift, zwei Knöpfe, vier Angaben, darunter der Horizont ----------
   Der Horizont ist der Rand einer Kugel in der Farbe der Seite, das Licht kommt dahinter hervor.
   Die Karte mit den Standorten liegt schon auf der Kugel: ihre Überschrift steht gleich unter dem Scheitel. */
.start { position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: calc(var(--oben) + var(--kopf) + clamp(40px, 9svh, 104px)) 0 calc(var(--hz) + var(--luft)); }
.start::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 64px; pointer-events: none; background: linear-gradient(rgba(8, 6, 12, 0), var(--grund)); }
.start__titel { font: 600 clamp(2.5rem, 1rem + 4.9vw, 5rem)/1 var(--titel); letter-spacing: -0.03em; }
.start__titel > span { display: block; overflow: hidden; margin-block: -0.06em -0.2em; padding-block: 0.06em 0.2em; }
.start__titel > span > span { display: block; text-wrap: balance; }
.start .knopfreihe { justify-content: center; margin-top: clamp(24px, 2.8vw, 38px); }
.angaben { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 960px; margin: clamp(40px, 7svh, 72px) auto 0; }
.angaben > div { padding: 2px 12px 4px; }
.angaben > div + div { box-shadow: -1px 0 0 var(--linie); }
.angaben dd { margin: 10px 0 0; font: 600 clamp(1.5rem, 0.95rem + 1.7vw, 2.375rem)/1 var(--titel); letter-spacing: -0.03em; white-space: nowrap; }

.horizont { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: var(--grund); }
.horizont__licht { position: absolute; left: 50%; top: calc(100% - var(--hz)); width: min(1180px, 160vw); height: clamp(440px, 84svh, 820px);
  transform: translate(calc(-50% + var(--mx, 0) * 64px), -50%); transition: transform 1.4s var(--ease);
  background: radial-gradient(closest-side, rgba(162, 120, 248, 0.46) 0%, rgba(112, 58, 204, 0.22) 42%, rgba(59, 18, 115, 0) 100%); }
.horizont__kugel { position: absolute; left: 50%; top: calc(100% - var(--hz)); width: var(--hb); aspect-ratio: 1; margin-left: calc(var(--hb) / -2); border-radius: 50%; background: var(--grund);
  box-shadow: 0 0 0 1.5px rgba(222, 210, 255, 0.82), 0 -3px 22px 1px rgba(180, 156, 255, 0.6), 0 -30px 100px 8px rgba(112, 58, 204, 0.55), 0 -80px 260px 30px rgba(74, 28, 140, 0.5),
    inset 0 70px 120px -50px rgba(112, 58, 204, 0.5); }
/* feines Korn über dem Licht, damit der Verlauf nicht in Streifen zerfällt. Eine Maske hält es beim Licht, das Schwarz bleibt schwarz.
   (Bewusst ohne mix-blend-mode: das müsste bei jedem Atemzug des Lichts neu verrechnet werden.) */
.horizont::after { content: ""; position: absolute; inset: 0; opacity: 0.085;
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 50% calc(100% - var(--hz)), #000 0%, rgba(0, 0, 0, 0.6) 46%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 64% at 50% calc(100% - var(--hz)), #000 0%, rgba(0, 0, 0, 0.6) 46%, transparent 100%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E"); }

/* Auftakt beim Laden: die Zeilen fahren hoch, der Horizont steigt auf, das Licht geht an */
.js .start__titel > span > span { animation: zeile 1.05s var(--ease) both; }
.js .start__titel > span:nth-child(2) > span { animation-delay: 0.09s; }
.js .start .knopfreihe { animation: rein 0.9s var(--ease) 0.3s both; }
.js .angaben > div { animation: rein 0.9s var(--ease) both; }
.js .angaben > div:nth-child(1) { animation-delay: 0.46s; } .js .angaben > div:nth-child(2) { animation-delay: 0.54s; }
.js .angaben > div:nth-child(3) { animation-delay: 0.62s; } .js .angaben > div:nth-child(4) { animation-delay: 0.7s; }
.js .horizont__kugel { animation: aufgang 2s var(--ease) 0.1s both; }
.js .horizont__licht { animation: licht-an 2.6s ease 0.5s both, atmen 8s ease-in-out 3.2s infinite; }
/* „Hier stehen wir.“ und die Karte kommen erst, wenn der Horizont oben ist, sonst liefe der Bogen durch die Überschrift */
.js .seite-start .orte .abschnitt__kopf { animation: rein 0.9s var(--ease) 0.8s both; }
.js .seite-start .orte__flaeche[data-auftritt] { --v: 950ms; }
.start.ist-fern .horizont__licht { animation-play-state: paused; }
@keyframes zeile { from { transform: translateY(108%); } }
@keyframes rein { from { opacity: 0; transform: translateY(18px); } }
@keyframes aufgang { from { opacity: 0; transform: translateY(72px); } }
@keyframes licht-an { from { opacity: 0; } }
@keyframes atmen { 50% { opacity: 0.7; } }

/* ---------- Karte und Standorte: die Karte über die ganze Breite, darunter drei gleiche Karten ---------- */
.seite-start .orte { position: relative; z-index: 1; margin-top: calc(clamp(38px, 4vw, 58px) - var(--hz)); padding-top: 0; }
.karte { position: relative; height: clamp(340px, 42vw, 520px); border-radius: var(--r-l); overflow: hidden; background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--kante); isolation: isolate; }
.karte .karte__flaeche { position: absolute; inset: 0; width: 100%; height: 100%; }
.karte__ersatz { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* die helle Karte wird für die schwarze Seite umgekehrt: so bleibt es bei einem Kartenstil */
.karte .maplibregl-canvas, .karte__ersatz { filter: invert(1) hue-rotate(180deg) saturate(0.75) brightness(0.92); }
.karte.ist-geladen .karte__ersatz { display: none; }
.karte__knoepfe { position: absolute; right: 14px; bottom: 14px; z-index: 5; display: none; flex-direction: column; overflow: hidden; border-radius: 16px; }
.karte__knopf { width: 44px; height: 44px; border: 0; background: none; color: var(--tinte); font: 500 1.375rem/1 var(--text); cursor: pointer; transition: background-color 0.2s; }
.karte__knopf + .karte__knopf { box-shadow: 0 -1px 0 var(--linie); }
.karte__knopf:hover, .karte__text-knopf:hover { background-color: rgba(70, 58, 96, 0.55); }
.karte__oben { position: absolute; left: 14px; right: 14px; top: 14px; z-index: 5; display: none; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.karte__text-knopf { pointer-events: auto; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; color: var(--tinte);
  font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: background-color 0.2s; }
.karte__text-knopf--gross { margin-left: auto; }
.karte.ist-geladen .karte__knoepfe, .karte.ist-geladen .karte__oben { display: flex; }
.karte .maplibregl-ctrl-bottom-left { right: 76px; }
.karte .maplibregl-ctrl.maplibregl-ctrl-attrib { font-size: 11px; background: rgba(28, 24, 38, 0.86); color: var(--tinte-2); }
.karte .maplibregl-ctrl.maplibregl-ctrl-attrib a { color: var(--tinte); }
.karte .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-button { filter: invert(1); background-color: transparent; }
.karte__info { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 6; display: grid; gap: 6px; padding: 16px 18px; background: var(--flaeche-2); border-radius: var(--r-m);
  box-shadow: inset 0 0 0 1px var(--glas-rand), 0 18px 40px -20px rgba(0, 0, 0, 0.8); }
.karte__info[hidden] { display: none; }
.karte__info .ort__name { font: 600 1.25rem/1.2 var(--titel); letter-spacing: -0.02em; }
.karte__info .ort__links { margin-top: 6px; padding-top: 0; }
.karte.ist-gross { position: fixed; inset: 0; z-index: 100; height: auto; border-radius: 0; }
html.karte-gross { overflow: hidden; }
html.karte-gross .kopf { transform: translateY(calc(-100% - 8px)); }

/* Pins: fallen nacheinander auf die Karte */
/* --k ist der Durchmesser des Kopfs. Beim Antippen wächst er bei Orten mit Foto und zeigt das Foto vom Ort (14.11.). */
.pin { --k: 46px; position: relative; display: block; width: 46px; height: 56px; padding: 0; border: 0; background: none; cursor: pointer; }
.pin__kopf { position: absolute; left: 50%; bottom: 10px; z-index: 1; display: grid; place-items: center; width: var(--k); height: var(--k); margin-left: calc(var(--k) / -2);
  overflow: hidden; border-radius: 50%; background: var(--flieder); color: var(--nacht); box-shadow: 0 0 0 3px var(--grund), 0 10px 20px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.35s var(--ease), width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.2s, box-shadow 0.2s;
  animation: pin-fall 0.7s var(--ease) var(--v, 0ms) both; }
.pin__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s var(--ease); }
.pin--foto.ist-aktiv { --k: 78px; }
.pin--foto.ist-aktiv .pin__foto { opacity: 1; }
.maplibregl-marker:has(.pin.ist-aktiv) { z-index: 2; }
.pin__kopf svg { width: 26px; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 12px; height: 12px; background: var(--flieder); border-radius: 2px; transform: translateX(-50%) rotate(45deg);
  transition: background-color 0.2s; animation: pin-spitze 0.4s ease calc(var(--v, 0ms) + 0.2s) both; }
.pin--dunkel .pin__kopf, .pin--dunkel::after { background: var(--tinte); }
.pin__name { position: absolute; left: calc(50% + var(--k) / 2 + 16px); bottom: calc(10px + var(--k) / 2 - 15px); z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--tinte); color: var(--nacht); font: 600 0.8125rem/1.3 var(--text);
  white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.35s var(--ease), left 0.45s var(--ease), bottom 0.45s var(--ease); pointer-events: none; }
.pin:hover .pin__kopf, .pin.ist-aktiv .pin__kopf { transform: translateY(-3px) scale(1.08); }
.pin:hover .pin__name, .pin.ist-aktiv .pin__name, .pin:focus-visible .pin__name { opacity: 1; transform: none; }
.pin.ist-aktiv .pin__kopf { box-shadow: 0 0 0 3px var(--grund), 0 0 0 6px var(--flieder), 0 0 34px 6px rgba(150, 104, 240, 0.7); }
.pin--foto.ist-aktiv .pin__kopf { transform: translateY(-3px); }   /* wächst schon über die Größe, nicht zusätzlich skalieren */
.ich { width: 18px; height: 18px; border-radius: 50%; background: #4C8DFF; box-shadow: 0 0 0 4px var(--grund), 0 0 0 10px rgba(76, 141, 255, 0.28); }
@keyframes pin-fall { from { opacity: 0; transform: translateY(-26px) scale(0.6); } }
@keyframes pin-spitze { from { opacity: 0; } }

.orte__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); margin-top: var(--spalt); }
.ort { display: flex; flex-direction: column; gap: 4px; min-height: 100%; padding: 24px 24px 22px; background: var(--flaeche); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--kante);
  transition: background-color 0.3s, box-shadow 0.3s; }
.ort:hover { background: var(--flaeche-2); }
.ort.ist-aktiv { background: var(--flaeche-2); box-shadow: inset 0 0 0 2px var(--flieder); }
.ort__wahl { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.ort__pin { grid-row: span 2; width: 12px; height: 12px; margin-top: 9px; border-radius: 50%; background: var(--flieder); box-shadow: 0 0 0 4px rgba(180, 156, 255, 0.2); }
.ort[data-art="smoke"] .ort__pin { background: var(--tinte); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14); }
.ort__name { font: 600 1.375rem/1.2 var(--titel); letter-spacing: -0.02em; }
.ort__adresse { font-size: 0.9375rem; color: var(--tinte-2); }
.ort__entfernung { padding-left: 24px; font-size: 0.875rem; color: var(--flieder); font-weight: 600; }
.ort__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.ort__kurz { display: none; text-decoration: none; }
.orte__mehr { display: none; }
@media (min-width: 901px) and (max-width: 1279px) { .ort__lang { display: none; } .ort__kurz { display: inline; } }   /* drei schmale Karten: sonst bricht die Stadt um */
.orte__pfeil { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.orte__mehr[aria-expanded="true"] .orte__pfeil { transform: rotate(180deg); }
.ab18-marke { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--flaeche-3); color: var(--tinte); font-weight: 600; font-size: 0.9375rem; }

/* ---------- Für Betriebe auf der Startseite: ein Feld mit Schein, darunter drei Kacheln ---------- */
.betriebe__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); }
.betriebe__feld { grid-column: 1 / -1; position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 20px; justify-items: center; padding: clamp(52px, 8vw, 108px) var(--innen);
  border-radius: var(--r-l); background: #000; box-shadow: inset 0 0 0 1px var(--kante); text-align: center; }
.betriebe__feld::after, .fuss__feld::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; pointer-events: none; }
.betriebe__feld::after { bottom: 0; height: 100%; background: radial-gradient(ellipse 64% 92% at 50% 112%, var(--schein)); }
.betriebe__feld p { max-width: 31em; font-size: var(--t-lead); line-height: 1.5; color: var(--tinte-2); }
.betriebe__feld .knopfreihe { justify-content: center; margin-top: 6px; }

/* ---------- Gründer: Foto und Text als zwei gleiche Kacheln ---------- */
.gruender__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spalt); min-height: clamp(420px, 40vw, 540px); }
.gruender__foto { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--flaeche); }
.gruender__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.gruender__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: var(--innen); border-radius: var(--r-l); background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--kante); }
.gruender__satz { font: 600 clamp(1.625rem, 1.05rem + 1.9vw, 2.625rem)/1.1 var(--titel); letter-spacing: -0.03em; text-wrap: balance; }
.gruender__mehr { max-width: 27em; font-size: var(--t-lead); line-height: 1.5; color: var(--tinte-2); }
.gruender__wer { display: grid; margin-top: 8px; line-height: 1.4; }
.gruender__wer strong { font-weight: 600; }
.gruender__wer span { font-size: 0.9375rem; color: var(--tinte-3); }

/* ---------- Fragen: eine Spalte in der Mitte ---------- */
.fragen__liste { display: grid; gap: 10px; max-width: 780px; margin-inline: auto; }
.frage { overflow: hidden; background: var(--flaeche); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--kante); transition: background-color 0.45s var(--ease); }
.frage summary { position: relative; display: block; padding: 22px 70px 22px 24px; cursor: pointer; list-style: none; font: 600 1.1875rem/1.3 var(--titel); letter-spacing: -0.015em; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; color: var(--tinte); --kreis: var(--flaeche-3);
  background: linear-gradient(currentColor, currentColor) center / 14px 1.8px no-repeat, linear-gradient(currentColor, currentColor) center / 1.8px 14px no-repeat, var(--kreis);
  transition: transform 0.55s var(--ease); }
.frage p { padding: 0 24px 24px; color: var(--tinte-2); max-width: 40em; transition: color 0.45s var(--ease); }
.frage:hover { background: var(--flaeche-2); }
.frage[open]:not(.ist-zu) { background: var(--flaeche-2); box-shadow: inset 0 0 0 1px rgba(180, 156, 255, 0.4); }
.frage[open]:not(.ist-zu) summary::after { transform: rotate(135deg); color: var(--nacht); --kreis: var(--flieder); }
.frage[open]:not(.ist-zu) p { color: var(--tinte); }
.frage[open] .verweis { color: inherit; }

/* ---------- Fuß: schwarze Kachel, der Slogan in der Mitte, Licht von oben ---------- */
.fuss { padding-bottom: var(--rand); }
.fuss__feld { position: relative; isolation: isolate; overflow: hidden; width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto;
  padding: clamp(64px, 9vw, 128px) clamp(20px, 4vw, 56px) 26px; border-radius: var(--r-l); background: #000; box-shadow: inset 0 0 0 1px var(--kante); text-align: center; }
.fuss__feld::before { top: 0; height: 100%; background: radial-gradient(ellipse 66% 78% at 50% -14%, var(--schein)); }
.fuss__slogan { font: 600 clamp(2.75rem, 1.1rem + 6.2vw, 6rem)/0.98 var(--titel); letter-spacing: -0.032em; }
.fuss__slogan span { display: block; color: var(--flieder); }
.fuss__aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(28px, 3.4vw, 44px); }
.fuss__leiste { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px 32px; margin-top: clamp(56px, 8vw, 112px); padding-top: 26px;
  box-shadow: 0 -1px 0 var(--linie); }
.fuss__logo { justify-self: start; color: var(--tinte); }
.fuss__logo .logo { height: 20px; width: auto; }
.fuss__seiten, .fuss__folgen { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }
.fuss__folgen { justify-self: end; }
.fuss__leiste nav a { padding-block: 6px; color: var(--tinte); font-weight: 500; font-size: 0.9375rem; text-decoration: none; transition: color 0.2s; }
.fuss__leiste nav a:hover { color: var(--flieder); }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; margin-top: 22px; font-size: 0.8125rem; color: var(--tinte-3); text-align: left; }
.fuss__unten nav { display: flex; gap: 22px; }
.fuss__unten a { color: var(--tinte-3); text-decoration: none; transition: color 0.2s; }
.fuss__unten a:hover { color: var(--tinte); }

/* ---------- Seitenköpfe ---------- */
.seitenkopf { padding-top: calc(var(--oben) + var(--kopf) + clamp(56px, 8vw, 112px)); }
.seitenkopf--mitte > .rahmen:first-child, .bestand .seitenkopf--mitte { display: grid; gap: 24px; justify-items: center; text-align: center; }
.seitenkopf--mitte .knopfreihe { justify-content: center; }
.seitenkopf--recht { padding-bottom: clamp(24px, 3vw, 40px); }
.seitenkopf--recht .rahmen, .rechtstext .rahmen { --breite: 760px; }
.seitenkopf__raster { display: grid; gap: 18px; }

/* ---------- Bestand ---------- */
.bestand .seitenkopf { padding-bottom: clamp(32px, 4.4vw, 56px); }
/* Automatenwahl (14.11.: zu wie Fassung 19, offen wie Fassung 13): „im Automaten“, darunter ein Glasknopf mit dem echten
   Automaten als kleinem Foto. Er klappt ein Menü aus Glas auf; der gewählte Automat liegt im lila Licht. Smokeonaut grau. */
.wahl { position: relative; z-index: 6; display: grid; justify-items: center; gap: 10px; }
.wahl__im { font-size: 1.0625rem; color: var(--tinte-2); }
.wahl__knopf { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; max-width: 100%; padding: 0 16px 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  color: var(--tinte); font: 600 1.0625rem/1.2 var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 34px -20px rgba(0, 0, 0, 0.95);
  transition: background-color 0.25s, transform 0.25s var(--ease); }
.wahl__knopf:hover { background-color: rgba(255, 255, 255, 0.05); }
.wahl__knopf:active { transform: scale(0.98); }
.wahl__pfeil { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--flieder); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.wahl__knopf[aria-expanded="true"] .wahl__pfeil { transform: rotate(180deg); }
.wahl__bild { flex: none; width: auto; height: 36px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.55)); }
.wahl__knopf .wahl__bild { height: 34px; }
.automat-wahl .wahl__bild { width: 32px; object-fit: contain; }
/* Volle Adresse, etwas kleiner: „Schürmann-Horster-Weg 1, 78467 Konstanz“. Am Handy und Tablet der Ort grau darunter. */
.wahl__knopf [data-wahl-name] { text-align: left; }
.wahl__adresse { display: flex; flex-wrap: wrap; column-gap: 0.3em; font-size: 0.9375rem; line-height: 1.3; text-align: left; }
.wahl__adresse > span { white-space: nowrap; }
.wahl__ort { font-weight: 500; color: var(--tinte-2); }
@media (max-width: 1024px) {
  .wahl__adresse { display: grid; row-gap: 1px; }
  .wahl__ort { font-size: 0.875rem; }
}   /* gleiches Feld für beide Automaten, damit die Straßen bündig stehen */
.wahl__menue { display: grid; gap: 4px; width: min(400px, calc(100vw - 2 * var(--rand))); padding: 6px; border-radius: 30px; text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)), rgba(18, 16, 24, 0.74);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 30px 60px -24px rgba(0, 0, 0, 0.95); }
.js .wahl__menue { position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; transform-origin: 50% 0; opacity: 0; scale: 0.96; visibility: hidden;
  transition: opacity 0.2s, scale 0.35s var(--ease), visibility 0s 0.35s; }
.js .wahl.ist-offen .wahl__menue { opacity: 1; scale: 1; visibility: visible; transition: opacity 0.2s, scale 0.35s var(--ease); }
html:not(.js) .wahl__knopf, .ohne-skript .wahl__knopf { display: none; }
.ohne-skript .wahl__menue { position: static; translate: none; opacity: 1; scale: 1; visibility: visible; }   /* Skript fehlt: Liste bleibt offen */
.automat-wahl { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 20px 0 16px; border-radius: 24px; color: var(--tinte-2);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.automat-wahl:hover { color: var(--tinte); background-color: rgba(255, 255, 255, 0.05); }
.automat-wahl[aria-current] { color: var(--tinte); background: radial-gradient(90% 160% at 12% 50%, rgba(154, 107, 255, 0.55), rgba(112, 58, 204, 0.12) 60%, rgba(112, 58, 204, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.automat-wahl--aus, .automat-wahl--aus:hover { opacity: 0.38; color: var(--tinte-2); background: none; cursor: default; }
.automat-wahl--aus .wahl__bild { filter: grayscale(1); }

/* Produkt: Name, Menge und Füllstand. Kein Preis, kein Fach. Am Rechner in zwei Spalten. */
.produkte { columns: 2; column-gap: clamp(32px, 6vw, 88px); max-width: 1040px; margin-inline: auto; border-top: 1px solid var(--linie); }
.produkt { break-inside: avoid; display: grid; gap: 10px; padding: 16px 0 18px; border-bottom: 1px solid var(--linie); }
.produkt__kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; }
.produkt__name { font-weight: 600; line-height: 1.35; }
.produkt__menge { font-size: 0.9375rem; color: var(--tinte-2); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.produkt__menge b { font-weight: 600; color: var(--tinte); }
.produkt__bahn { height: 6px; border-radius: 999px; background: var(--flaeche-2); overflow: hidden; }
.produkt__balken { width: calc(var(--anteil, 0) * 100%); height: 100%; border-radius: inherit; background: var(--gruen); transition: width 0.8s var(--ease); }
.produkt--halb .produkt__balken { background: var(--orange); }
.ist-neu .produkt { animation: produkt-rein 0.5s var(--ease) var(--v, 0ms) both; }
.ist-neu .produkt__balken { animation: balken-rein 0.9s var(--ease) calc(var(--v, 0ms) + 140ms) both; }
@keyframes produkt-rein { from { opacity: 0; transform: translateY(8px); } }
@keyframes balken-rein { from { width: 0; } }

/* Platzhalter, solange der Automat antwortet */
.produkt--platz { height: 63px; position: relative; }
.produkt--platz::before, .produkt--platz::after { content: ""; position: absolute; left: 0; border-radius: 999px; background: var(--flaeche-2); animation: platz 1.4s ease-in-out infinite; }
.produkt--platz::before { top: 19px; width: 46%; height: 14px; }
.produkt--platz::after { top: 44px; width: 100%; height: 6px; }
.produkt--platz:nth-child(3n)::before { width: 62%; } .produkt--platz:nth-child(4n)::before { width: 34%; }
@keyframes platz { 50% { opacity: 0.45; } }

/* Ausverkauftes steht gesammelt am Ende */
.bestand__zwischen { margin: clamp(44px, 5.4vw, 72px) 0 18px; text-align: center; font: 600 var(--t-kachel)/1.15 var(--titel); letter-spacing: -0.025em; }
.produkte--leer .produkt { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding-block: 14px; }
.produkte--leer .produkt__name { color: var(--tinte-3); font-weight: 500; }
.woanders { padding: 6px 0; border: 0; background: none; color: var(--flieder); font-weight: 600; font-size: 0.875rem; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--flieder) 40%, transparent); transition: text-decoration-color 0.2s; }
.woanders:hover { text-decoration-color: currentColor; }
.woanders:disabled { color: var(--tinte-3); cursor: default; text-decoration: none; }
.woanders__antwort { grid-column: 1 / -1; display: grid; gap: 6px; padding: 10px 14px; border-radius: 12px; background: var(--flaeche); font-size: 0.875rem; color: var(--tinte-2); }
.woanders__zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.woanders__zeile .verweis { font-weight: 600; color: var(--tinte); }
.woanders__menge { font-weight: 600; color: var(--gruen); white-space: nowrap; }
.bestand .hinweis { column-span: all; padding: 28px 0; }

/* ---------- Anlass: ein Satz und gleich der Knopf für WhatsApp, als Leiste oder zu zweit nebeneinander ---------- */
.anlass { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 28px; border-radius: var(--r-m); background: var(--flaeche);
  box-shadow: inset 0 0 0 1px var(--kante); color: var(--tinte-2); }
.anlass p { text-wrap: balance; }
.anlass strong { color: var(--tinte); font-weight: 600; }
.anlass .knopf { flex: none; }
.anlaesse { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spalt); max-width: 1040px; margin: clamp(44px, 5.4vw, 72px) auto 0; }
.anlaesse .anlass { flex-direction: column; justify-content: center; padding: 26px 28px 28px; text-align: center; }
.anlaesse .anlass strong { display: block; }

/* ---------- So geht's ---------- */
.anleitung-text__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); }
.anleitung-text__raster > .anlass { grid-column: 1 / -1; }
.kapiteltext { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--r-l); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--kante);
  scroll-margin-top: calc(var(--kopf) + 40px); }
.kapiteltext__nr { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--flieder); color: var(--nacht); font: 600 1.125rem/1 var(--titel); }
.kapiteltext__titel { font: 600 var(--t-kachel)/1.12 var(--titel); letter-spacing: -0.025em; }
.schrittliste { counter-reset: schritt; display: grid; gap: 14px; }
.schrittliste li { position: relative; padding-left: 36px; color: var(--tinte-2); line-height: 1.5; counter-increment: schritt; }
.schrittliste li::before { content: counter(schritt); position: absolute; left: 0; top: 0.05em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--flaeche-3); color: var(--flieder); font: 600 0.8125rem/1 var(--text); }
.schrittliste b { color: var(--tinte); font-weight: 600; }
.kapiteltext .knopfreihe { display: grid; gap: 8px; margin-top: auto; padding-top: 4px; }

/* ---------- Für Betriebe ---------- */
.paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spalt); max-width: 920px; margin-top: clamp(36px, 5vw, 64px); }
.paar__bild { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-l); background: var(--flaeche); }
.paar__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
/* Am Handy nebeneinander waeren die beiden nur 167 px breit, da erkennt man den Automaten nicht mehr. */
@media (max-width: 720px) { .paar { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; } }
.zeitleiste { position: relative; display: grid; gap: var(--spalt); max-width: 780px; margin-inline: auto; padding-left: 76px; }
.zeitleiste::before { content: ""; position: absolute; left: 25px; top: 30px; bottom: 30px; width: 3px; border-radius: 2px; background: var(--flaeche-3); }
.zeitleiste__schritt { position: relative; display: grid; gap: 6px; padding: 22px 26px 24px; border-radius: var(--r-m); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--kante); }
.zeitleiste__punkt { position: absolute; left: -76px; top: 14px; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--flieder); color: var(--nacht); font: 600 1.25rem/1 var(--titel); box-shadow: 0 0 0 6px var(--grund); }
.zeitleiste__schritt h3 { font: 600 var(--t-kachel)/1.15 var(--titel); letter-spacing: -0.025em; }
.zeitleiste__schritt p { color: var(--tinte-2); max-width: 36em; }
.geraete__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); }
.geraet { display: grid; gap: 16px; align-content: start; text-align: center; }
.geraet__bild { position: relative; aspect-ratio: 1; border-radius: var(--r-l); overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--kante); }
.geraet__bild video { width: 100%; height: 100%; object-fit: cover; }
.geraet__hinweis { position: absolute; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(245, 245, 247, 0.94); color: var(--nacht); font-weight: 600; font-size: 0.875rem; white-space: nowrap; transform: translateX(-50%);
  transition: opacity 0.35s, transform 0.35s var(--ease); pointer-events: none; }
.geraet__hinweis::before { content: ""; width: 0; height: 0; border-left: 9px solid var(--lila); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ist-an .geraet__hinweis { opacity: 0; transform: translate(-50%, 6px); }
[data-film] { cursor: pointer; }
.geraet h3 { font: 600 1.375rem/1.2 var(--titel); letter-spacing: -0.02em; margin-bottom: 4px; }
.geraet p { color: var(--tinte-2); max-width: 22em; margin-inline: auto; }
.einsatz { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 880px; margin: clamp(32px, 4vw, 52px) auto 0; }
.einsatz li { padding: 10px 18px; border-radius: 999px; background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--kante); font-weight: 500; }
/* Erzwingt den Umbruch nach dem fünften Kasten: zwei gleich lange Reihen statt eines Trichters. */
.einsatz .einsatz__bruch { flex-basis: 100%; height: 0; padding: 0; margin-top: -10px; background: none; box-shadow: none; border-radius: 0; }
.schritte__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); }
.schritt { display: grid; gap: 8px; justify-items: center; align-content: start; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--r-l); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--kante); text-align: center; }
.schritt__zahl { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: var(--flieder); color: var(--nacht); font: 600 1.375rem/1 var(--titel); }
.schritt h3 { font: 600 var(--t-kachel)/1.15 var(--titel); letter-spacing: -0.025em; }
.schritt p { color: var(--tinte-2); }

.anfrage__feld { position: relative; isolation: isolate; overflow: hidden; padding: var(--innen) clamp(16px, 4vw, 72px); border-radius: var(--r-l); background: #000; box-shadow: inset 0 0 0 1px var(--kante); }
.anfrage__feld::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse 66% 48% at 50% -8%, var(--schein)); }
.anfrage__formular { position: relative; max-width: 760px; margin-inline: auto; padding: clamp(20px, 2.8vw, 36px); border-radius: var(--r-l); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--kante); }
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.feldgruppe { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.feldgruppe--voll { grid-column: 1 / -1; }
.feldgruppe label { font-weight: 600; font-size: 0.9375rem; }
.feldgruppe small { font-weight: 400; color: var(--tinte-3); }
.feldgruppe input, .feldgruppe textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 0; border-radius: var(--r-s); background: var(--flaeche-2); color: var(--tinte);
  box-shadow: inset 0 0 0 1.5px transparent; outline: none; transition: box-shadow 0.2s, background-color 0.2s; }
.feldgruppe input::placeholder, .feldgruppe textarea::placeholder { color: var(--tinte-3); }
.feldgruppe textarea { resize: vertical; min-height: 120px; }
.feldgruppe input:focus, .feldgruppe textarea:focus { background: var(--flaeche-3); box-shadow: inset 0 0 0 2px var(--flieder); }
.feldgruppe--fehler input, .feldgruppe--fehler textarea { box-shadow: inset 0 0 0 2px var(--rot); }
.honig { position: absolute; left: -9999px; }
.formular__meldung { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: var(--r-s); background: rgba(240, 104, 92, 0.14); color: #FFB9B1; font-size: 0.9375rem; }
.formular__meldung.ist-sichtbar { display: block; }
.formular__fuss { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 4px; }
.danke { display: none; padding: 24px 0; text-align: center; }
.danke.ist-sichtbar { display: block; }
.danke__titel { font: 600 var(--t-kachel)/1.15 var(--titel); margin-bottom: 8px; }

/* ---------- Rechtliches, 404, Danke ---------- */
.rechtstext h2 { font: 600 1.5rem/1.2 var(--titel); letter-spacing: -0.02em; margin: 2.2em 0 0.6em; }
.rechtstext h2:first-child { margin-top: 0.6em; }
.rechtstext p, .rechtstext address { margin-bottom: 1em; color: var(--tinte-2); font-style: normal; }
.rechtstext a { text-underline-offset: 3px; }
.rechtstext ul { display: grid; gap: 0.5em; margin: 0 0 1em; padding-left: 1.25em; color: var(--tinte-2); }
.rechtstext li { list-style: disc; }
.rechtstext li::marker { color: var(--flieder); }
.abstand-44 { margin-top: 44px; }
.verloren { padding-top: calc(var(--oben) + var(--kopf) + clamp(48px, 7vw, 96px)); }
.verloren__mitte { display: grid; gap: 24px; justify-items: center; text-align: center; }
.verloren__mitte .knopfreihe { justify-content: center; }
.verloren__bullauge { display: grid; place-items: end center; width: min(62vw, 240px); aspect-ratio: 1; margin-bottom: 12px; border-radius: 50%; overflow: hidden;
  background: #000; box-shadow: 0 0 0 1.5px rgba(222, 210, 255, 0.7), 0 0 90px 12px rgba(112, 58, 204, 0.55); }
.verloren__bullauge img { width: 62%; animation: schweben 6s ease-in-out infinite; }
@keyframes schweben { 50% { transform: translateY(-8px) rotate(-2deg); } }

/* ---------- Lichtfleck unter dem Zeiger (nur mit Maus): --lx und --ly setzt main.js ---------- */
.kachel:hover, .ort:hover, .kapiteltext:hover, .schritt:hover, .zeitleiste__schritt:hover, .gruender__text:hover, .frage:hover, .anlass:hover {
  background-image: radial-gradient(380px circle at var(--lx, -400px) var(--ly, -400px), rgba(180, 156, 255, 0.12), rgba(180, 156, 255, 0) 70%); background-repeat: no-repeat; }

/* ---------- Auftritte beim Scrollen ---------- */
.js [data-auftritt] { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--v, 0ms); }
.js [data-auftritt].ist-da { opacity: 1; transform: none; }
.ruhig [data-auftritt], .ohne-skript [data-auftritt] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .gruender__satz { font-size: clamp(1.5rem, 0.9rem + 1.9vw, 1.875rem); }
  .anleitung-text__raster { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
  .anlass { flex-direction: column; justify-content: center; padding: 26px 28px 28px; text-align: center; }
  .anlass strong { display: block; }
  .fuss__leiste { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .fuss__logo, .fuss__folgen { justify-self: center; }
  .fuss__unten { justify-content: center; text-align: center; }
}
@media (max-width: 900px) {
  .kopf__leiste { grid-template-columns: minmax(0, 1fr) auto; }
  .kopf__logo { margin-left: 12px; }
  .kopf__nav, .kopf__aktion { display: none; }
  .kopf__menue { display: block; }
  .orte__liste { grid-template-columns: minmax(0, 1fr); }
  .ort { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; min-height: 0; padding: 18px 20px; }
  .ort__links { margin-top: 0; padding-top: 0; }
  .ort__entfernung { order: 3; flex-basis: 100%; }
  .schritte__liste, .geraete__raster { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
}
@media (min-width: 901px) { .karte__info { display: none !important; } }

/* ---------- Handy ---------- */
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .knopf { min-height: 48px; padding-inline: 20px; font-size: 0.9375rem; }
  .start { padding-top: calc(var(--oben) + var(--kopf) + 34px); }
  .angaben { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; margin-top: 34px; }
  .angaben > div:nth-child(3) { box-shadow: none; }
  .angaben dd { margin-top: 6px; font-size: 1.625rem; }
  .karte { height: min(58svh, 420px); }
  .karte__oben { left: 10px; right: 10px; top: 10px; gap: 6px; }
  .karte__text-knopf { min-height: 38px; padding: 0 13px; font-size: 0.8125rem; }
  .karte__knoepfe { right: 10px; bottom: 10px; }
  .karte .maplibregl-ctrl-bottom-left { right: 64px; }
  .ort__lang { display: none; }
  .ort__kurz { display: inline; }
  .js .orte__liste:not(.ist-offen) > .ort:nth-child(n + 2) { display: none; }
  .orte__liste.ist-offen > .ort:nth-child(n + 2) { animation: rein 0.55s var(--ease) both; }
  .orte__liste.ist-offen > .ort:nth-child(3) { animation-delay: 70ms; }
  .js .orte__mehr { display: flex; width: 100%; margin-top: var(--spalt); }
  .betriebe__raster { grid-template-columns: minmax(0, 1fr); }
  .betriebe__feld { padding: 44px 20px 48px; }
  .betriebe__raster .kachel { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 20px; }
  .betriebe__raster .glas { grid-row: 1 / span 2; width: 52px; margin: 0; }
  .betriebe__raster .kachel__wert { grid-column: 2; align-self: end; }
  .betriebe__raster .kachel__text { grid-column: 2; align-self: start; margin-top: 4px; }
  .gruender__raster { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .gruender__foto { aspect-ratio: 1; }
  .gruender__text { padding: 30px 24px 32px; }
  .frage summary { padding: 18px 60px 18px 20px; font-size: 1.0625rem; }
  .frage summary::after { right: 16px; }
  .frage p { padding: 0 20px 20px; }
  .fuss__feld { padding-inline: 20px; }
  .fuss__aktionen .knopf { flex: 1 1 100%; }
  .fuss__seiten { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 2px 32px; }
  .produkte { columns: 1; }
  .produkt__zusatz { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .anlaesse { grid-template-columns: minmax(0, 1fr); }
  .anlass, .anlaesse .anlass { padding: 24px; }
  .anlass .knopf { width: 100%; }
  .zeitleiste { padding-left: 54px; }
  .zeitleiste::before { left: 17px; }
  .zeitleiste__schritt { padding: 18px 20px 20px; }
  .zeitleiste__punkt { left: -54px; top: 12px; width: 38px; height: 38px; font-size: 1rem; box-shadow: 0 0 0 5px var(--grund); }
  .einsatz { gap: 8px; }
  .einsatz li { padding: 8px 14px; font-size: 0.9375rem; }
  .anfrage__feld { padding-inline: 12px; padding-bottom: 12px; }
  .formular { grid-template-columns: minmax(0, 1fr); }
  .formular__fuss .knopf { width: 100%; }
  .einleitung, .schrittliste li, .gruender__mehr { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
}
@media (max-width: 340px) {
  .menue__fuss { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Cookie-Hinweis (14.11.): schwebende Karte unten, „Ablehnen“ und „Akzeptieren“ gleich groß und gleich kräftig ---------- */
.zustimmung { position: fixed; z-index: 90; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 18px 28px;
  width: min(100% - 2 * var(--rand), 760px); padding: 20px 20px 20px 26px; border-radius: 28px; translate: -50% 16px; opacity: 0;
  background: rgba(22, 19, 30, 0.86); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glas-kante), inset 0 0 0 1px var(--glas-rand), 0 30px 60px -24px rgba(0, 0, 0, 0.95);
  transition: opacity 0.35s var(--ease), translate 0.5s var(--ease); }
.zustimmung.ist-offen { opacity: 1; translate: -50% 0; }
.zustimmung__text { display: grid; gap: 4px; font-size: 0.9375rem; line-height: 1.5; color: var(--tinte-2); }
.zustimmung__titel { font-weight: 600; color: var(--tinte); }
.zustimmung__knoepfe { display: flex; flex: none; gap: 8px; }
.zustimmung .knopf { min-width: 128px; background: rgba(255, 255, 255, 0.1); color: var(--tinte); }
.zustimmung .knopf:hover { background: rgba(255, 255, 255, 0.17); }
@media (max-width: 720px) {
  .zustimmung { flex-direction: column; align-items: stretch; padding: 20px; border-radius: 26px; }
  .zustimmung__knoepfe .knopf { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .zustimmung { transition: none; translate: -50% 0; } }
@media (prefers-reduced-transparency: reduce) { .zustimmung { background: var(--flaeche-2); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Feedback und Rücksendeset (15.11.): Auswahlfeld, Sterne, Haken ---------- */
.feldgruppe legend { padding: 0; font-weight: 600; font-size: 0.9375rem; }
.feldgruppe select { width: 100%; min-height: 52px; padding: 13px 44px 13px 16px; border: 0; border-radius: var(--r-s); background: var(--flaeche-2); color: var(--tinte);
  font: inherit; appearance: none; cursor: pointer; outline: none; transition: background-color 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B49CFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.feldgruppe select:focus { background-color: var(--flaeche-3); box-shadow: inset 0 0 0 2px var(--flieder); }
.feldgruppe--fehler select { box-shadow: inset 0 0 0 2px var(--rot); }
.feldgruppe option { background: var(--flaeche-2); color: var(--tinte); }

/* Automatenwahl im Bewertungsformular. Am Handy eine Liste, ab Tablet drei gleich große Kacheln
   nebeneinander: Bild oben, Adresse darunter, der Haken in der Ecke. In der Karte steht nur, was
   die Automaten unterscheidet, also die Adresse; die Stadt setzt build.py erst dazu, wenn nicht
   mehr alle in derselben stehen. Der Standort wählt den nächsten vor und schreibt die Entfernung
   in die Pille; von Hand lässt sich jeder andere wählen. */
.ortwahl { gap: 12px; }
.ortwahl__stand { display: flex; align-items: center; gap: 9px; color: var(--tinte-3); font-size: 0.875rem; }
.ortwahl__stand::before { content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid var(--flieder); border-right-color: transparent; animation: ortsuche 0.8s linear infinite; }
@keyframes ortsuche { to { transform: rotate(360deg); } }
.ortwahl__liste { display: grid; gap: 10px; grid-auto-rows: 1fr; }
.ortwahl__karte { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) 20px; align-items: center; gap: 12px;
  min-height: 70px; height: 100%; padding: 12px 14px 12px 12px; border-radius: 20px; background: var(--flaeche-2); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--kante);
  transition: background-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease); }
/* Das Bildfeld ist heller als die Karte, sonst verschwindet der schwarze Automat darin */
.ortwahl__bild { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.055); box-shadow: inset 0 0 0 1px var(--kante);
  transition: background-color 0.22s var(--ease), box-shadow 0.22s var(--ease); }
.ortwahl__karte .wahl__bild { width: 26px; height: 32px; object-fit: contain; }
.ortwahl__karte:hover { background: var(--flaeche-3); transform: translateY(-1px); }
.ortwahl input:checked + .ortwahl__karte { background: var(--flaeche-3); transform: none;
  box-shadow: inset 0 0 0 1.5px var(--flieder), 0 10px 26px -14px rgba(112, 58, 204, 0.9); }
.ortwahl input:checked + .ortwahl__karte .ortwahl__bild { background: rgba(180, 156, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(180, 156, 255, 0.35); }
.ortwahl input:focus-visible + .ortwahl__karte { outline: 3px solid var(--flieder); outline-offset: 3px; }
.feldgruppe--fehler .ortwahl__karte { box-shadow: inset 0 0 0 1.5px rgba(240, 104, 92, 0.6); }
.ortwahl__text { display: grid; gap: 3px; min-width: 0; }
.ortwahl__strasse { font-weight: 600; font-size: 0.875rem; line-height: 1.35; overflow-wrap: anywhere; }
.ortwahl__zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ortwahl__zeile:empty { display: none; }
.ortwahl__ort { color: var(--tinte-3); font-size: 0.8125rem; line-height: 1.3; }
.ortwahl__nah { padding: 2px 9px; border-radius: 999px; background: rgba(180, 156, 255, 0.14);
  color: var(--flieder); font-size: 0.75rem; font-weight: 600; line-height: 1.5; white-space: nowrap; }
/* Der Punkt: leerer Ring, bei Auswahl gefüllt mit Haken */
.ortwahl__punkt { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--flaeche-3);
  transition: background 0.22s var(--ease), box-shadow 0.22s var(--ease); }
.ortwahl__karte:hover .ortwahl__punkt { box-shadow: inset 0 0 0 1.5px rgba(180, 156, 255, 0.4); }
.ortwahl input:checked + .ortwahl__karte .ortwahl__punkt { box-shadow: none;
  background: var(--flieder) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0B14' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Ab Tablet drei Kacheln nebeneinander: Bild oben, Adresse darunter, Haken in der Ecke.
   So hat die Adresse die ganze Kachelbreite und wird nirgends abgeschnitten. */
@media (min-width: 800px) {
  .ortwahl__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ortwahl__karte { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 12px;
    min-height: 0; padding: 20px 14px 18px; text-align: center; }
  .ortwahl__bild { width: 54px; height: 54px; border-radius: 17px; }
  .ortwahl__karte .wahl__bild { width: 32px; height: 40px; }
  .ortwahl__text { justify-items: center; gap: 8px; }
  .ortwahl__zeile { justify-content: center; }
  .ortwahl__punkt { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; }
  .ortwahl input:checked + .ortwahl__karte .ortwahl__punkt { background-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .ortwahl__karte, .ortwahl__karte:hover { transform: none; }
  .ortwahl__stand::before { animation: none; }
}

/* Was nach dem Senden passiert, und der Weg zu Google, der immer offen steht */
.formular__weiter { flex-basis: 100%; margin: 2px 0 0; color: var(--tinte-3); font-size: 0.875rem; text-align: center; }
.formular__nebenweg { grid-column: 1 / -1; margin: 2px 0 0; font-size: 0.875rem; text-align: center; }

/* Fünf Sterne in einer eigenen runden Fläche, sonst nichts.
   Im Quelltext stehen die Sterne rückwärts, damit „gewählt und alles links davon“ leuchtet. */
.sternfeld { gap: 12px; }
.sterne__feld { display: grid; justify-items: center; padding: 10px; border-radius: 20px;
  background: var(--flaeche-2); box-shadow: inset 0 0 0 1px var(--kante); }
.sterne { display: flex; flex-direction: row-reverse; justify-content: center; }
/* Jeder Stern hat ein rundes Tippfeld, am Handy mindestens 52 px breit */
.sterne label { position: relative; display: grid; place-items: center; width: clamp(52px, 13.5vw, 68px); height: clamp(52px, 13.5vw, 68px);
  border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sterne label::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: transparent;
  transition: background-color 0.2s var(--ease); }
.sterne label:hover::before { background: rgba(180, 156, 255, 0.1); }
.stern { position: relative; width: clamp(31px, 7.6vw, 42px); height: clamp(31px, 7.6vw, 42px); fill: var(--flaeche-3);
  transition: fill 0.18s, transform 0.25s var(--ease); }
.sterne label:hover .stern, .sterne label:hover ~ label .stern { fill: var(--flieder-hell); }
.sterne label:hover .stern { transform: scale(1.1); }
.sterne input:checked ~ label .stern { fill: var(--flieder); filter: drop-shadow(0 0 9px rgba(180, 156, 255, 0.45));
  animation: sternauf 0.42s var(--ease) both; }
/* Die gefüllten Sterne springen von links nach rechts an. Links steht Stern 1, im Quelltext das letzte Feld. */
.sterne input:checked ~ label:nth-of-type(1) .stern { animation-delay: 0.12s; }
.sterne input:checked ~ label:nth-of-type(2) .stern { animation-delay: 0.09s; }
.sterne input:checked ~ label:nth-of-type(3) .stern { animation-delay: 0.06s; }
.sterne input:checked ~ label:nth-of-type(4) .stern { animation-delay: 0.03s; }
@keyframes sternauf { 0% { transform: scale(0.72); } 55% { transform: scale(1.16); } 100% { transform: scale(1); } }
.sterne input:focus-visible + label { outline: 3px solid var(--flieder); outline-offset: -3px; border-radius: 50%; }
.feldgruppe--fehler .stern { fill: rgba(240, 104, 92, 0.45); }
@media (prefers-reduced-motion: reduce) {
  .sterne label:hover .stern { transform: none; }
  .sterne input:checked ~ label .stern { animation: none; }
}

/* Haken für die Datenschutzhinweise */
.haken { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; }
.haken input { flex: none; width: 24px; height: 24px; min-height: 0; margin: 1px 0 0; padding: 0; border-radius: 7px; background: var(--flaeche-2);
  appearance: none; cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s; }
.haken input:checked { background: var(--flieder) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0B14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 16px no-repeat; }
.haken label { font-weight: 400; font-size: 0.9375rem; line-height: 1.5; color: var(--tinte-2); cursor: pointer; }
.feldgruppe--fehler.haken input { box-shadow: inset 0 0 0 2px var(--rot); }

.anlass--breit { max-width: 46rem; margin-inline: auto; }
