/* SNACK DOCH! · Christoph Linnemeier Automaten
   Farben und Schriften nur aus der CI (ci-vorschlag.md, Variante A „Pinsel“).
   Ein Akzent: Glut-Orange. Text auf Orange immer Nacht (6,7 : 1), nie Weiß.

   Aufbau: Desktop zuerst, kleinere Bildschirme nur mit max-width aus dem RGN-Satz
   (1080/980/900/860/820/760/720/700/620/560/480/400). Jede Regel steht bei ihrer Komponente.
   Unter 400 px wird nicht weiter gestuft: Werte, die zwischen 320 und 400 px mitwachsen
   müssen, laufen über clamp(). Grid-Spalten immer minmax(0, …). */

/* Display-Schrift: Teilmenge von Knewave (OFL 1.1). „Knewave“ ist ein reservierter
   Schriftname, die veränderte Datei heißt deshalb „SnackDoch Display“. Lizenz: Knewave-OFL.txt */
@font-face {
  font-family: "SnackDoch Display";
  src: url("../fonts/SnackDochDisplay-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caveat Brush";
  src: url("../fonts/CaveatBrush-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --nacht: #120D0A;
  --kohle: #221A15;
  --creme: #FFF6EC;
  --orange: #FF6A13;
  --asche: #A89A8E;
  --linie: rgba(255, 246, 236, .12);
  --flaeche-hell: rgba(255, 246, 236, .04);

  --f-display: "SnackDoch Display", "Bricolage Grotesque", system-ui, sans-serif;
  --f-text: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat Brush", "Bricolage Grotesque", cursive;

  --r-knopf: 10px;
  --r-karte: 20px;
  --r-flaeche: 26px;
  --r-chip: 999px;

  /* Motion „Wach“ */
  --dauer: .5s;
  --e-snap: linear(0, .006, .025 2.8%, .101 6.1%, .539 18.9%, .721 25.3%, .849 31.5%, .937 38.1%, .968 41.8%, .991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1);
  --e-raus: cubic-bezier(.22, 1, .36, 1);
  --reveal-weg: 10px;

  --rand: 32px;
  --breite: 1160px;
}
@media (max-width: 760px) { :root { --rand: 16px; --reveal-weg: 6px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nacht);
  color: var(--creme);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--creme); text-decoration-color: var(--orange); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; text-wrap: balance; }
p, li { text-wrap: pretty; }
.nobr { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.huelle { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }

/* ---------- Bausteine ---------- */
/* Kicker: nur Text in der Akzentfarbe, keine Versalien, keine Sperrung, überall gleich */
.kicker {
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--orange);
  line-height: 1.3;
}
@media (max-width: 760px) { .kicker { font-size: 16px; } }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  border-radius: var(--r-knopf);
  font-family: var(--f-text); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s var(--e-raus), background-color .15s, color .15s, border-color .15s;
}
.knopf svg { flex: none; }
.knopf--primaer { background: var(--orange); color: var(--nacht); }
.knopf--primaer:hover { color: var(--nacht); transform: translateY(-2px); }
.knopf--zweit { background: transparent; color: var(--creme); border-color: rgba(255, 246, 236, .45); }
.knopf--zweit:hover { color: var(--creme); border-color: var(--creme); transform: translateY(-2px); }
.knopf[aria-disabled="true"], .knopf:disabled {
  background: var(--kohle); color: var(--asche); border-color: var(--linie); cursor: default; transform: none;
}
/* Schmale Handys: Knöpfe bleiben einzeilig, Innenabstand wächst zwischen 340 und 360 px mit */
@media (max-width: 400px) {
  .knopf { white-space: nowrap; padding: 12px clamp(12px, 10vw - 22px, 14px); font-size: 15px; gap: 8px; }
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--r-chip);
  border: 1px solid var(--linie); background: var(--flaeche-hell);
  font-size: 14px; font-weight: 600; color: var(--asche); line-height: 1.4;
}
.chip--orange { color: var(--orange); border-color: rgba(255, 106, 19, .45); }

/* Handgezeichneter Unterstrich unter einem Wort */
.strich { position: relative; display: inline-block; white-space: nowrap; }
.strich svg {
  position: absolute; left: -4%; bottom: -.18em; width: 108%; height: .32em; overflow: visible;
  pointer-events: none;
}
.strich path { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .strich path { stroke-dashoffset: 1; }
.js .strich.ist-da path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--e-raus) .25s; }

/* Reveal: einmal, nur opacity/transform */
.js [data-reveal] { opacity: 0; transform: translateY(var(--reveal-weg)); }
.js [data-reveal].ist-da { opacity: 1; transform: none; transition: opacity var(--dauer) var(--e-raus), transform var(--dauer) var(--e-snap); transition-delay: var(--verz, 0s); }

.glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 106, 19, .2), rgba(255, 106, 19, .07) 55%, rgba(255, 106, 19, 0));
}

/* Kennzeichnung des KI-Bildes (KI-VO Art. 50) */
.ki-hinweis { margin: 0; font-size: 13px; line-height: 1.4; color: var(--asche); }

/* ---------- Coming-Soon ---------- */
.cs { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.cs-buehne { position: relative; flex: 1; display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.cs-bild { position: absolute; z-index: -2; right: -2%; top: 50%; transform: translateY(-50%); width: 40%; max-width: 560px; pointer-events: none; }
.cs-bild img { width: 100%; height: auto; }
.cs-buehne::before { /* Abdunklung, damit Text nie auf hellem Snack steht */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 13, 10, .96) 0%, rgba(18, 13, 10, .92) 52%, rgba(18, 13, 10, .45) 75%, rgba(18, 13, 10, .15) 100%);
}
.cs-glow { left: 6%; top: 50%; transform: translateY(-62%); width: 620px; height: 520px; }
.cs-inhalt {
  width: min(100%, 1240px); margin: 0 auto;
  padding: clamp(24px, 5svh, 48px) 48px clamp(20px, 4svh, 40px);
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
}
.cs-inhalt > * { max-width: 620px; }
.cs-logo { width: min(340px, 40svh); height: auto; margin: 0 0 clamp(12px, 2.4svh, 22px); }
.cs .kicker { margin-bottom: 6px; }
.claim { font-family: var(--f-hand); font-size: min(46px, 5.6svh); line-height: 1.15; color: var(--creme); margin: 0 0 clamp(12px, 2svh, 18px); }
.ort { font-weight: 700; font-size: 21px; line-height: 1.3; margin: 0 0 14px; color: var(--creme); }
.ort--gross { font-family: var(--f-display); font-weight: 400; font-size: 52px; line-height: 1.12; margin: 6px 0 20px; }
.ort-datum { font-weight: 700; font-size: 19px; line-height: 1.3; margin: 12px 0 18px; color: var(--creme); }
.ort-datum[hidden] { display: none; }

.countdown { margin: 0; }
.countdown[hidden] { display: none; }
.cd-reihe { display: flex; gap: 12px; justify-content: flex-start; list-style: none; padding: 0; margin: 0; }
.cd-feld {
  width: 96px; padding: 14px 0 10px; border-radius: 14px;
  background: var(--kohle); border: 1px solid var(--linie);
  display: flex; flex-direction: column; align-items: center;
}
.cd-zahl {
  display: block; overflow: hidden; height: 1.15em;
  font-family: var(--f-text); font-weight: 800; font-size: 42px; line-height: 1.15;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.cd-zahl span { display: block; }
.cd-zahl span.tick { animation: tick .32s var(--e-raus); }
@keyframes tick { from { transform: translateY(-35%); opacity: 0; } to { transform: none; opacity: 1; } }
.cd-name { font-size: 14px; font-weight: 600; color: var(--asche); line-height: 1.3; margin-top: 2px; }
.cd-unter { font-size: 15px; color: var(--asche); margin: 10px 0 0; }

.jetzt { margin: 4px 0 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.jetzt[hidden] { display: none; }
.jetzt p { font-family: var(--f-display); font-size: 46px; line-height: 1.15; margin: 0; }
.jetzt p .akzent { color: var(--orange); }
.jetzt p.jetzt-klein { font-family: var(--f-text); font-weight: 700; font-size: 19px; line-height: 1.4; }

.cs-text { max-width: 30em; color: var(--creme); margin: 0 0 18px; }
.social { display: flex; gap: 10px; justify-content: flex-start; flex-wrap: wrap; }
.social[hidden] { display: none; }
.social a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: var(--r-chip); border: 1px solid var(--linie); text-decoration: none; font-weight: 600; }

/* Handy: Motiv unter dem Text statt dahinter (nie hinter Text) */
@media (max-width: 760px) {
  .cs-buehne { flex-direction: column; align-items: stretch; }
  .cs-bild {
    position: relative; order: 2; transform: none; top: auto; right: auto;
    align-self: flex-end; width: min(72%, 340px); max-width: none; margin: auto -8% -4% 0;
  }
  .cs-buehne::before { background: linear-gradient(180deg, rgba(18, 13, 10, 0) 0%, rgba(18, 13, 10, 0) 60%, rgba(18, 13, 10, .3) 100%); }
  .cs-glow { left: 50%; top: 40px; transform: translateX(-50%); width: 420px; height: 340px; }
  .cs-inhalt { max-width: 640px; padding: clamp(18px, 3.4svh, 28px) var(--rand) 8px; align-items: center; text-align: center; }
  .cs-inhalt > * { max-width: 100%; }
  .cs-logo { width: min(64vw, 270px, 30svh); }
  .claim { font-size: min(36px, 4.4svh); }
  .ort { font-size: 19px; }
  .ort--gross { font-size: min(34px, calc((100vw - 2 * var(--rand)) / 8.4)); }
  .ort-datum { font-size: 17px; }
  .cd-reihe { justify-content: center; gap: 8px; }
  .cd-feld { width: 70px; padding: 10px 0 8px; }
  .cd-zahl { font-size: 30px; }
  .cd-name { font-size: 13px; }
  .jetzt { align-items: center; }
  .jetzt p { font-size: 32px; }
  .jetzt p.jetzt-klein { font-size: 17px; }
  .social { justify-content: center; }
}
@media (max-width: 400px) {
  .cd-reihe { gap: 6px; }
  .cd-feld { width: clamp(62px, 20vw - 8px, 70px); }
  .cd-zahl { font-size: 26px; }
}

/* Fußzeile Coming-Soon, 404 */
.fuss-mini {
  padding: 14px var(--rand) 18px; text-align: center;
  font-size: 14px; color: var(--asche); border-top: 1px solid var(--linie);
}
.fuss-mini .ki-hinweis { margin-bottom: 4px; }
.fuss-mini a { color: var(--asche); display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.fuss-mini a:hover { color: var(--creme); }
.fuss-mini .punkt { opacity: .6; }
/* Schmal: Firmenzeile allein, damit kein Trennpunkt an einem Zeilenrand hängt */
@media (max-width: 620px) {
  .fuss-mini .fuss-firma { display: block; }
  .fuss-mini .punkt--firma { display: none; }
}

/* ---------- Konzept-Seite ---------- */
.kopf { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.kopf-logo { display: inline-flex; min-height: 44px; align-items: center; }
.kopf-logo img { width: 140px; height: auto; }
.kopf nav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.kopf nav a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 14px;
  font-weight: 600; font-size: 16px; text-decoration: none; color: var(--creme); border-radius: var(--r-knopf);
}
.kopf nav a:hover { color: var(--orange); }
@media (max-width: 760px) { .kopf-logo img { width: 108px; } .kopf nav ul { gap: 2px; } .kopf nav a { font-size: 15px; padding: 0 9px; } }
@media (max-width: 400px) { .kopf-logo img { width: 84px; } .kopf nav a { padding: 0 6px; font-size: 14px; } }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0 72px; min-height: 100svh; display: flex; align-items: center; }
.hero-bild { position: absolute; z-index: -2; right: 0; top: 50%; transform: translateY(-50%); width: 42%; max-width: 600px; pointer-events: none; }
.hero-bild img { width: 100%; height: auto; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 13, 10, .96) 0%, rgba(18, 13, 10, .9) 50%, rgba(18, 13, 10, .4) 78%, rgba(18, 13, 10, .15) 100%);
}
.hero .glow { left: -140px; top: 60px; }
.hero-inhalt { max-width: 680px; }
.hero .chip { margin-bottom: 14px; }
.hero .kicker { margin-bottom: 10px; }
/* Ansage: genau 2 Zeilen. Zeile 2 („Wadersloh hat da was.“, 10,2 em breit) bleibt immer einzeilig,
   die Schriftgröße hängt dafür an der verfügbaren Breite (Teiler 10,6 lässt Luft). */
.ansage { font-family: var(--f-display); font-size: min(64px, calc((100vw - 2 * var(--rand)) / 10.6)); line-height: 1.12; margin: 0 0 16px; }
.ansage .z1, .ansage .z2 { display: block; white-space: nowrap; }
.ansage .z2 { color: var(--orange); }
.hero-text { font-size: 18px; max-width: 34em; }
.haken { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.haken li { display: flex; gap: 10px; align-items: flex-start; }
.haken svg { flex: none; margin-top: 3px; }
.haken path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .haken path { stroke-dashoffset: 1; }
.js .haken .ist-da path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s var(--e-raus) calc(var(--verz, 0s) + .15s); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
  .hero { padding: 96px 0 56px; }
  .hero-bild { right: -22%; top: auto; bottom: -4%; transform: none; width: 80%; max-width: 560px; }
  .hero::before { background: linear-gradient(180deg, rgba(18, 13, 10, .95) 0%, rgba(18, 13, 10, .9) 55%, rgba(18, 13, 10, .6) 78%, rgba(18, 13, 10, .35) 100%); }
}
@media (max-width: 480px) { .knopfreihe .knopf { flex: 1 1 100%; } }

.sektion { padding: 104px 0; position: relative; }
.sektion--kohle { background: var(--kohle); }
.sektion-kopf { max-width: 640px; margin-bottom: 32px; }
.sektion-kopf h2 { font-family: var(--f-display); font-size: 46px; line-height: 1.12; margin: 8px 0 12px; }
.sektion-kopf p { margin: 0; }
.sektion-kopf p:not(.kicker) { color: var(--creme); }
@media (max-width: 760px) { .sektion { padding: 72px 0; } .sektion-kopf h2 { font-size: 34px; } }

/* So geht's */
.ablauf { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .ablauf { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.automat-buehne { position: relative; border-radius: var(--r-flaeche); background: var(--nacht); border: 1px solid var(--linie); padding: 20px; display: flex; justify-content: center; overflow: hidden; isolation: isolate; }
.automat-buehne .glow { width: 360px; height: 360px; left: 50%; bottom: -140px; transform: translateX(-50%); opacity: 0; transition: opacity .6s var(--e-raus); }
.automat-buehne.fertig .glow { opacity: 1; }
.automat { width: 100%; max-width: 360px; height: auto; }
/* Handy: Szene kompakt (höchstens rund 60 % der Bildschirmhöhe), Schritt 1 im selben Bildschirm */
@media (max-width: 760px) { .automat-buehne { padding: 16px; } .automat { max-width: min(250px, 42svh); } }
.schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.schritte li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border-radius: var(--r-karte); background: var(--flaeche-hell); border: 1px solid var(--linie); }
.schritte .nr { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--nacht); font-weight: 800; font-size: 20px; }
.schritte h3 { font-family: var(--f-text); font-weight: 700; font-size: 20px; line-height: 1.25; margin: 2px 0 4px; }
.schritte p { margin: 0; color: var(--creme); }

/* Automaten-Szene: spielt einmal (Klasse .spielt), nur transform/opacity.
   Der Snack liegt im SVG über der Ausgabeklappe und bleibt am Ende sichtbar im Fach. */
.automat .fach-markierung, .automat .taste-an, .automat .ausgabe-licht, .automat .gerettet { opacity: 0; }
.automat .snack-fall { transform-box: fill-box; transform-origin: 50% 100%; }
.automat.spielt .fach-markierung { animation: an .3s var(--e-raus) .1s forwards; }
.automat.spielt .taste-an { animation: an .2s var(--e-raus) .2s forwards; }
.automat.spielt .spirale { animation: drehen .8s cubic-bezier(.45, 0, .55, 1) .55s forwards; }
.automat.spielt .snack-fall { animation: vor .8s cubic-bezier(.45, 0, .55, 1) .55s forwards, fallen .6s cubic-bezier(.55, 0, 1, .45) 1.37s forwards; }
.automat.spielt .snack-fall-innen { animation: aufprall .35s var(--e-snap) 1.97s; transform-box: fill-box; transform-origin: 50% 100%; }
.automat.spielt .ausgabe-licht { animation: an .35s var(--e-raus) 1.95s forwards; }
.automat.spielt .gerettet { animation: an .4s var(--e-raus) 2.1s forwards; }
@keyframes an { to { opacity: 1; } }
@keyframes drehen { to { transform: translateX(-16px); } }
@keyframes vor { to { transform: translateY(-2px) scale(1.1); } }
@keyframes fallen { from { transform: translateY(-2px) scale(1.1); } to { transform: translateY(212px) scale(1.1); } }
@keyframes aufprall { 0% { transform: scale(1.1, .86); } 100% { transform: none; } }
.automat.fertig .fach-markierung, .automat.fertig .taste-an, .automat.fertig .ausgabe-licht, .automat.fertig .gerettet { opacity: 1; }
.automat.fertig .snack-fall { transform: translateY(212px) scale(1.1); }
.automat.fertig .spirale { transform: translateX(-16px); }

/* Sortiment */
.kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.kachel {
  padding: 20px 16px 18px; border-radius: var(--r-karte);
  background: var(--kohle); border: 1px solid var(--linie);
  transition: border-color .2s, transform .2s var(--e-raus);
}
.kachel:nth-child(odd) { transform: rotate(-1.5deg); }
.kachel:nth-child(even) { transform: rotate(1.2deg); }
.js .kachel[data-reveal]:nth-child(odd).ist-da { transform: rotate(-1.5deg); }
.js .kachel[data-reveal]:nth-child(even).ist-da { transform: rotate(1.2deg); }
.kachel:hover { border-color: rgba(255, 106, 19, .55); }
.kachel svg { margin-bottom: 12px; }
.kachel h3 { font-family: var(--f-text); font-weight: 700; font-size: 18px; line-height: 1.25; margin: 0 0 4px; }
.kachel p { margin: 0; font-size: 15px; color: var(--asche); line-height: 1.45; }
@media (max-width: 400px) { .kachel { padding-left: 14px; padding-right: 14px; } .kachel h3 { font-size: clamp(14px, 4.3vw, 15.5px); } }
.notiz { margin-top: 28px; font-size: 15px; color: var(--asche); max-width: 40em; }

/* Standorte */
.standorte { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .standorte { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.karte-box { position: relative; border-radius: var(--r-flaeche); overflow: hidden; background: var(--nacht); border: 1px solid var(--linie); }
.karte { width: 100%; height: 460px; touch-action: pan-y pinch-zoom; cursor: grab; user-select: none; -webkit-user-select: none; }
.karte.zieht { cursor: grabbing; }
@media (max-width: 900px) { .karte { height: 340px; } }
.karte .beschrift { fill: var(--asche); font-family: var(--f-text); font-weight: 600; paint-order: stroke; stroke: var(--nacht); stroke-width: 3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.karte .beschrift--haupt { fill: var(--creme); font-weight: 700; }
.karte .pin { cursor: pointer; }
.karte .pin:focus { outline: none; }
.karte .pin:focus-visible .pin-kopf { stroke: var(--creme); stroke-width: 3; }
.karte .pin-kopf { fill: var(--orange); stroke: var(--nacht); stroke-width: 2; vector-effect: non-scaling-stroke; }
.karte .pin-bereich { fill: rgba(255, 106, 19, .12); stroke: var(--orange); stroke-width: 2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.karte .pin-puls { fill: none; stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center; }
.karte.loop-an .pin--aktiv .pin-puls { animation: puls 2.4s var(--e-raus) infinite; }
@keyframes puls { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }
.karte-steuer { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.karte-steuer button {
  width: 44px; height: 44px; border-radius: var(--r-knopf); border: 1px solid var(--linie);
  background: var(--kohle); color: var(--creme); font: 700 22px/1 var(--f-text); cursor: pointer;
  display: grid; place-items: center;
}
.karte-steuer button:hover { border-color: var(--orange); }
/* Quellenvermerk (ODbL) auf ruhigem Grund */
.karte-vermerk {
  position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); margin: 0;
  padding: 3px 8px; border-radius: 8px; background: rgba(18, 13, 10, .9);
  font-size: 12px; line-height: 1.35; color: var(--asche);
}
.karte-vermerk a { color: var(--creme); }
.karte-info {
  position: absolute; left: 10px; right: 10px; bottom: 40px;
  padding: 14px 16px; border-radius: 16px; background: var(--kohle); border: 1px solid rgba(255, 106, 19, .45);
}
.karte-info[hidden] { display: none; }
.karte-info h3 { font-family: var(--f-text); font-weight: 700; font-size: 18px; margin: 0 0 4px; padding-right: 40px; }
.karte-info p { margin: 0 0 10px; font-size: 15px; color: var(--creme); }
.karte-info .zu { position: absolute; right: 4px; top: 4px; width: 44px; height: 44px; border: 0; background: none; color: var(--asche); font: 700 22px/1 var(--f-text); cursor: pointer; }
.liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ort-karte { padding: 20px; border-radius: var(--r-karte); background: var(--kohle); border: 1px solid var(--linie); transition: border-color .25s; }
.ort-karte.markiert { border-color: var(--orange); }
.ort-karte h3 { font-family: var(--f-text); font-weight: 700; font-size: 21px; line-height: 1.25; margin: 0 0 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ort-karte dl { margin: 0 0 14px; display: grid; gap: 4px; }
.ort-karte dl div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 8px; }
.ort-karte dt { color: var(--asche); font-size: 15px; }
.ort-karte dd { margin: 0; overflow-wrap: anywhere; }
.ort-karte .luecke { color: var(--creme); margin: 0 0 14px; }
.ort-karte .route { display: flex; flex-wrap: wrap; gap: 10px; }
.ort-karte .route .knopf { min-height: 48px; padding: 10px 18px; font-size: 16px; }
/* Schmal: Innenabstand wächst zwischen 340 und 400 px von 10 auf 16 px mit */
@media (max-width: 400px) {
  .ort-karte { padding: clamp(14px, 5vw - 4px, 16px) clamp(10px, 10vw - 24px, 16px); }
  .ort-karte .route .knopf { font-size: 15px; padding: 10px clamp(12px, 10vw - 22px, 14px); }
}

/* Hilfe */
.hilfe { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 20px; padding: 44px; border-radius: var(--r-flaeche); background: var(--kohle); border: 1px solid var(--linie); }
.hilfe h2 { font-family: var(--f-display); font-size: 44px; line-height: 1.12; margin: 0 0 12px; }
.hilfe p { margin: 0 0 10px; }
.hilfe .tel-gross { font-weight: 800; font-size: 24px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; }
@media (max-width: 760px) {
  .hilfe { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; }
  .hilfe h2 { font-size: 34px; }
}

/* Fußzeile Konzept */
.fuss { padding: 48px 0 28px; border-top: 1px solid var(--linie); }
.fuss-oben { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.fuss-oben img { width: 130px; height: auto; }
.fuss .claim { font-size: 30px; margin: 0; }
.fuss-unten { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--asche); align-items: center; }
.fuss-unten a { color: var(--asche); min-height: 44px; display: inline-flex; align-items: center; }
.fuss-unten a:hover { color: var(--creme); }
.fuss .ki-hinweis { margin-top: 8px; }

/* ---------- Rechtsseiten ---------- */
.recht-kopf { border-bottom: 1px solid var(--linie); }
.recht-kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.recht-kopf img { width: 110px; height: auto; }
.recht-kopf a.zurueck { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; }
.recht { max-width: 760px; margin: 0 auto; padding: 40px var(--rand) 64px; overflow-wrap: break-word; hyphens: auto; }
.recht h1 { font-family: var(--f-display); font-size: 40px; margin: 0 0 24px; }
.recht h2 { font-family: var(--f-text); font-weight: 700; font-size: 22px; line-height: 1.3; margin: 36px 0 10px; }
.recht h3 { font-family: var(--f-text); font-weight: 700; font-size: 18px; line-height: 1.35; margin: 24px 0 8px; }
.recht p, .recht li { max-width: 68ch; }
.recht ul { padding-left: 1.2em; }
.recht li { margin-bottom: 8px; }
.recht .stand { color: var(--asche); margin-top: 40px; }

/* ---------- 404 ---------- */
.e404 { min-height: 100svh; display: flex; flex-direction: column; }
.e404 main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px var(--rand); position: relative; isolation: isolate; overflow: hidden; }
.e404 .glow { top: 50%; left: 50%; transform: translate(-50%, -60%); width: min(420px, 100%); height: 420px; }
.e404 h1 { font-family: var(--f-display); font-size: 44px; margin: 10px 0 12px; }
.e404 h1 .akzent { color: var(--orange); }
.e404 p { max-width: 30em; }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .strich path, .js .haken path { stroke-dashoffset: 0; }
  .karte.loop-an .pin--aktiv .pin-puls { animation: none; }
}
