/* Landingpage (Klarblau). Die Rollen (Variablen) stehen auf :root. Schrift: nur die Systemschrift des Geräts.
   Rollen: --primaer trägt Knöpfe und Bahnen, --frisch ist der helle Farbtupfer (Ziel, Kennzeichen),
   --mensch gehört allein der Freigabe durch Menschen. --s-… sind die Farben der 3D-Szenen (fluss.js liest sie aus). */
:root {
  --schrift: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rand: clamp(16px, 4vw, 56px);
  --luft: clamp(56px, 6vw, 88px);
  --gut: #176b46;
}

/* Klarblau (gewählter Entwurf, 18.11.2026): offen und präzise. Weiss, das Blau des Logos, Limette als Farbtupfer. */
:root {
  --grund: #ffffff; --flaeche: #eef3ff; --karte: #ffffff; --text: #14203a; --leise: #4f5d78; --primaer: #4069e4; --primaer-text: #ffffff; --primaer-tief: #3459c9;
  --akzent: #4069e4; --frisch: #c6f24e; --frisch-text: #14203a; --linie: #cfd8ea; --feld-rand: #7b879c; --mensch: #7a3fd1; --mensch-hell: #f1e9fc; --betont: #4069e4; --auf-primaer: #c6f24e;
  --h1: clamp(2.6rem, 4.7vw, 4.25rem); --h1-gewicht: 680; --h1-weite: -0.035em; --h1-hoehe: 1.04; --text-mass: 1.125rem;
  --knopf-radius: 12px; --karten-radius: 20px; --buehne-grund: transparent; --buehne-rand: transparent;
  --s-kachel: #ffffff; --s-rand: #cfd8ea; --s-symbol: #14203a; --s-bahn: #4069e4; --s-ruhe: #7c93d0; --s-tafel: #4069e4; --s-blatt: #ffffff; --s-kopf: #14203a;
  --s-zeile: #e9eef9; --s-frisch: #dcf79f; --s-mensch: #8a4be0; --s-gut: #1f8a5b; --s-figur: #7b869b; --s-kern: #ffffff; --s-boden: #dfe6f5; --s-ziel: #b9ea35; --s-insel: #e3ebfb; --s-schatten: 0.14; --s-leuchten: 0;
}
:root { --hauch: color-mix(in srgb, var(--primaer) 8%, #ffffff); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: var(--text-mass)/1.6 var(--schrift); color: var(--leise); background: var(--grund); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; color: var(--text); text-wrap: balance; }
h1 { font-size: var(--h1); font-weight: var(--h1-gewicht); letter-spacing: var(--h1-weite); line-height: var(--h1-hoehe); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
.sprung { position: absolute; left: -999px; }
.sprung:focus { left: 16px; top: 12px; z-index: 60; padding: 8px 12px; background: var(--karte); color: var(--text); }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.innen { width: min(100% - 2 * var(--rand), 1240px); margin-inline: auto; }
.betont { color: var(--betont); }
.klein { font-size: 0.875rem; }
.ueberzeile { font-size: 0.95rem; font-weight: 700; color: var(--primaer-tief); }   /* 5,5:1 auf dem hellen Grund; das Blau der Schrift allein reicht nicht (4,3:1) */

.kopf { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--rand);
  background: color-mix(in srgb, var(--grund) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--linie) 60%, transparent); }
.marke { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.gang { display: flex; gap: clamp(14px, 2.4vw, 34px); font-size: 0.98rem; font-weight: 600; }
.gang a { text-decoration: none; color: var(--leise); }
.gang a:hover { color: var(--text); }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 0; border-radius: var(--knopf-radius); cursor: pointer;
  background: var(--primaer); color: var(--primaer-text); font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.knopf:hover { background: var(--primaer-tief); transform: translateY(-1px); }
.knopf.klein { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.knopf.mini { min-height: 44px; padding: 0 12px; font-size: 0.85rem; background: var(--mensch); border-radius: 10px; }
.knopf.mini:hover { background: color-mix(in srgb, var(--mensch) 85%, #000); }
.weiter { font-weight: 700; color: var(--text); text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--akzent); }

/* --- Kopf der Seite ---------------------------------------------------------------------------- */
.held { padding: clamp(28px, 4.5vw, 64px) 0 clamp(28px, 4vw, 48px); overflow: hidden; }
.held-raster { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.held-text { display: grid; gap: 20px; justify-items: start; }
.einstieg { font-size: 1.15em; line-height: 1.5; max-width: 32em; }
.handeln { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 6px; }
.buehne { position: relative; overflow: hidden; border-radius: var(--karten-radius); background: var(--buehne-grund); box-shadow: inset 0 0 0 1px var(--buehne-rand); }
.buehne canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.buehne.bereit canvas { opacity: 1; }
.held-bild { height: clamp(320px, 40vw, 560px); }
.schilder { position: absolute; inset: 0; pointer-events: none; }
.schild { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font-weight: 700; font-size: 0.875rem; line-height: 1; color: var(--text);
  background: var(--karte); border: 1px solid var(--linie); border-radius: 8px; padding: 6px 9px; }
.schild.quelle { transform: translate(-100%, -50%); }
.schild.mitte { transform: translate(-50%, 0); background: var(--primaer); border-color: var(--primaer); color: #ffffff; font-size: 0.95rem; padding: 8px 13px; border-radius: 10px; box-shadow: 0 10px 20px -12px var(--primaer); }
.schild.ziel { transform: translate(0, -50%); }
.schild.oben { transform: translate(-50%, -100%); }
.schild.tor { transform: translate(-50%, -100%); border: 2px solid var(--mensch); color: var(--mensch); background: var(--mensch-hell); padding-left: 26px; }
.schild.tor::before { content: ""; position: absolute; left: 8px; top: 50%; width: 13px; height: 13px; margin-top: -7px; background: var(--mensch);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='3.3' r='2.6'/%3E%3Cpath d='M1.2 11.6c0-2.800 2.100-4.500 4.800-4.500s4.800 1.700 4.800 4.500z'/%3E%3C/svg%3E") center / contain no-repeat; }
.schild.satz { border-color: var(--akzent); color: var(--text); font-size: 0.8rem; padding: 4px 7px; }
.ersatz { display: none; list-style: none; margin: 0; padding: 24px; gap: 10px; flex-wrap: wrap; align-content: center; height: 100%; }
.ersatz li { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--linie); background: var(--karte); color: var(--text); font-weight: 700; }
.ersatz .ziel { flex-basis: 100%; background: var(--primaer); border-color: var(--primaer); color: var(--primaer-text); }
.ohne-3d canvas, .ohne-3d .schilder, .ohne-3d .unten { display: none; }
.ohne-3d .ersatz { display: flex; }
.buehne-halter:has(.ohne-3d) { display: none; }
.wochen-raster:has(.ohne-3d) { grid-template-columns: 1fr; }
.held-fuss { list-style: none; margin: clamp(24px, 3.4vw, 44px) 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--linie);
  font-weight: 700; font-size: 0.95rem; color: var(--text); }
.held-fuss li:first-child::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 9px; border-radius: 50%; background: var(--frisch); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 25%, transparent); }

/* --- Abschnitte -------------------------------------------------------------------------------- */
.abschnitt { padding: var(--luft) 0; }
.abschnitt.hell { background: var(--flaeche); }
.abschnitt-kopf { display: grid; gap: 14px; max-width: 46em; margin-bottom: clamp(28px, 3.4vw, 40px); }
.abschnitt-kopf.schmal { margin-bottom: 0; align-content: start; }
.abschnitt-kopf > p:last-child { font-size: 1.1em; }
.saeulen { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.saeulen article { display: grid; gap: 10px; align-content: start; padding: clamp(18px, 2vw, 26px); border-radius: var(--karten-radius); background: var(--karte); border: 1px solid var(--linie); }
.zeichen { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--hauch); }
.zeichen::before { content: ""; width: 24px; height: 24px; background: var(--primaer); mask: var(--bild) center / contain no-repeat; }
.z1 { --bild: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5c6 0 8 7 8 7s2-7 8-7M12 12v8M9 17l3 3 3-3'/%3E%3C/svg%3E"); }
.z2 { --bild: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 14-5.300M20 4v4h-4M20 12a8 8 0 0 1-14 5.300M4 20v-4h4'/%3E%3C/svg%3E"); background: color-mix(in srgb, var(--frisch) 45%, #ffffff); }
.z2::before { background: var(--text); }
.z3 { --bild: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c.600-4 3.400-6 7-6s6.400 2 7 6'/%3E%3C/svg%3E"); background: var(--mensch-hell); }
.z3::before { background: var(--mensch); }
.marke-demo { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--linie); font-size: 0.78rem; font-weight: 700; color: var(--leise); white-space: nowrap; }
.marke-demo.aktiv { border-color: transparent; background: color-mix(in srgb, var(--gut) 14%, #ffffff); color: var(--gut); }

/* --- Der kurze Film: vom Satz zum Ablauf ---------------------------------------------------------- */
.film { margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); gap: clamp(20px, 3.4vw, 48px); align-items: center;
  padding: clamp(18px, 2.6vw, 36px); border-radius: var(--karten-radius); background: var(--karte); border: 1px solid var(--linie); }
.film-text { display: grid; gap: 12px; justify-items: start; }
.film-text h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); letter-spacing: -0.025em; line-height: 1.14; }
.film-takte { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; font-weight: 700; }
.film-takte li { display: flex; gap: 12px; align-items: center; color: var(--leise); transition: color .3s; }
.film-takte li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--linie); transition: background .3s, transform .3s; }
[data-szene="1"] .film-takte li:nth-child(1), [data-szene="2"] .film-takte li:nth-child(2),
[data-szene="3"] .film-takte li:nth-child(3), [data-szene="4"] .film-takte li:nth-child(3), [data-szene="5"] .film-takte li:nth-child(3) { color: var(--text); }
[data-szene="1"] .film-takte li:nth-child(1)::before, [data-szene="2"] .film-takte li:nth-child(2)::before,
[data-szene="3"] .film-takte li:nth-child(3)::before, [data-szene="4"] .film-takte li:nth-child(3)::before, [data-szene="5"] .film-takte li:nth-child(3)::before { background: var(--primaer); transform: scale(1.4); }
.film-knoepfe { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.wieder-knopf[hidden] { display: none; }
.wieder-knopf { min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 700; color: var(--text); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--akzent); }
.film-bild { position: relative; display: grid; gap: 12px; padding: clamp(14px, 1.8vw, 22px); border-radius: calc(var(--karten-radius) - 6px); background: var(--hauch); }
.film-satz { padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: var(--karte); color: var(--text); font-size: 1rem; line-height: 1.55; max-width: 34em; box-shadow: 0 8px 24px -16px color-mix(in srgb, var(--text) 50%, transparent); }
.film-satz span { border-radius: 5px; padding: 1px 0; transition: opacity .45s ease, background-color .5s ease; }
[data-szene="0"] .film-satz span { opacity: 0; transition: none; }
[data-szene="1"] .film-satz span:nth-child(2) { transition-delay: .5s; }
[data-szene="1"] .film-satz span:nth-child(3) { transition-delay: 1s; }
[data-szene="1"] .film-satz span:nth-child(4) { transition-delay: 1.5s; }
[data-szene="1"] .film-satz span:nth-child(5) { transition-delay: 2s; }
.film:not([data-szene="0"]):not([data-szene="1"]) .film-satz span { background: color-mix(in srgb, var(--primaer) 16%, transparent); }
.film:not([data-szene="0"]):not([data-szene="1"]) .film-satz span:nth-child(2) { transition-delay: 0.45s; }
.film:not([data-szene="0"]):not([data-szene="1"]) .film-satz span:nth-child(3) { transition-delay: 0.90s; }
.film:not([data-szene="0"]):not([data-szene="1"]) .film-satz span:nth-child(4) { transition-delay: 1.35s; }
.film:not([data-szene="0"]):not([data-szene="1"]) .film-satz span:nth-child(5) { transition-delay: 1.80s; }
.film:not([data-szene="0"]):not([data-szene="1"]) .film-satz span:nth-child(3) { background: var(--mensch-hell); }
.film-pfeil { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 700; color: var(--leise); transition: opacity .4s, transform .4s; }
.film-pfeil::before { content: ""; width: 18px; height: 18px; background: var(--primaer);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2v13M4 10l5 5 5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-szene="0"] .film-pfeil, [data-szene="1"] .film-pfeil { opacity: 0; transform: translateY(-6px); }
.film-spur { position: relative; list-style: none; margin: 0; padding: 38px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.film-spur > li:not(.film-marke) { position: relative; display: grid; gap: 6px; align-content: start; justify-items: start; padding: 10px 10px 12px; border-radius: 14px; background: var(--karte); border: 2px solid var(--linie);
  font-size: 0.86rem; font-weight: 700; line-height: 1.25; color: var(--text); transition: opacity .35s ease, transform .35s ease, border-color .3s, box-shadow .3s; }
.film-spur > li + li:not(.film-marke)::before { content: ""; position: absolute; left: -12px; top: 24px; width: 10px; height: 2px; background: var(--feld-rand); }
[data-szene="0"] .film-spur > li:not(.film-marke), [data-szene="1"] .film-spur > li:not(.film-marke) { opacity: 0; transform: translateY(12px) scale(.96); transition: none; }
.film-spur > li:nth-child(2) { transition-delay: 0.45s; }
.film-spur > li:nth-child(3) { transition-delay: 0.90s; }
.film-spur > li:nth-child(4) { transition-delay: 1.35s; }
.film-spur > li:nth-child(5) { transition-delay: 1.80s; }
.film-spur i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--hauch); color: var(--text); font-size: 0.82rem; }
.film-spur li.aktiv { border-color: var(--primaer); box-shadow: 0 10px 22px -14px var(--primaer); }
.film-spur li.fertig i { background: color-mix(in srgb, var(--gut) 16%, #ffffff); color: var(--gut); font-size: 0; }
.film-spur li.fertig i::after { content: "✓"; font-size: 0.95rem; }
.film-spur li.mensch { border-color: var(--mensch); background: var(--mensch-hell); }
.film-spur li.mensch:not(.fertig) i { background: var(--mensch) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='3.3' r='2.500' fill='white'/%3E%3Cpath d='M1.2 11.500c0-2.800 2.100-4.500 4.800-4.500s4.800 1.700 4.800 4.500z' fill='white'/%3E%3C/svg%3E") center / 15px no-repeat; }
.film-spur li.mensch.aktiv { box-shadow: 0 0 0 4px color-mix(in srgb, var(--mensch) 22%, transparent); animation: warten 1.3s ease-in-out infinite; }
@keyframes warten { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--mensch) 10%, transparent); } }
.film:not([data-szene="3"]) #film-frei { visibility: hidden; }
.film-marke { position: absolute; left: 0; top: 0; z-index: 2; padding: 6px 11px 6px 9px; border-radius: 999px; background: var(--text); color: #ffffff; font-size: 0.8rem; font-weight: 700; line-height: 1.1; white-space: nowrap;
  display: flex; align-items: center; gap: 7px; opacity: 0; pointer-events: none; transition: transform .75s cubic-bezier(.55, 0, .2, 1), opacity .3s; }
.film-marke::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--frisch); }
.film-marke.da { opacity: 1; }
.film-ende { display: flex; align-items: center; gap: 10px; min-height: 30px; font-weight: 700; color: var(--gut); transition: opacity .4s, transform .4s; }
.film-ende::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gut); color: #ffffff; font-size: 0.9rem; }
.film:not([data-szene="5"]) .film-ende { opacity: 0; transform: translateY(6px); }

/* --- Ein Blick hinein: bewegte Produktvorschau ------------------------------------------------------ */
.blick { margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 20px; }
.blick-kopf { display: grid; gap: 8px; max-width: 44em; }
.blick-kopf h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); letter-spacing: -0.025em; line-height: 1.14; }
.fenster { --f: var(--primaer); border-radius: var(--karten-radius); background: var(--karte); border: 1px solid var(--linie); overflow: hidden; box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--text) 55%, transparent); }
.fenster-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 12px clamp(12px, 2vw, 22px); border-bottom: 1px solid var(--linie); background: color-mix(in srgb, var(--f) 6%, #ffffff); }
.reiter { display: flex; gap: 6px; }
.reiter button { position: relative; overflow: hidden; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; cursor: pointer; background: transparent; color: var(--leise); font-weight: 700; font-size: 0.95rem; }
.reiter button[aria-pressed="true"] { background: var(--f); color: #ffffff; }
.reiter button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255, 255, 255, .7); }
.fenster.laeuft .reiter button[aria-pressed="true"]::after { animation: fortschritt 8s linear forwards; }
@keyframes fortschritt { to { width: 100%; } }
.halt { min-height: 44px; padding: 0 8px; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 0.85rem; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.halt[hidden] { display: none; }
.farbwahl { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: var(--leise); }
.farbwahl button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center; }
.farbwahl i { width: 24px; height: 24px; border-radius: 50%; background: var(--primaer); box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px var(--linie); transition: transform .15s; }
.farbwahl button[aria-pressed="true"] i { box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--text); transform: scale(1.1); }
.ansicht { display: grid; gap: 14px; padding: clamp(14px, 2.2vw, 26px); min-height: 380px; align-content: start; }
.ansicht[hidden] { display: none; }
.ansicht-titel { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; color: var(--text); }
.tabelle { display: grid; border: 1px solid var(--linie); border-radius: 14px; overflow: hidden; font-size: 0.95rem; }
.zeile { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--linie); color: var(--text); }
.zeile:first-child { border-top: 0; }
.zeile.kopfz { background: color-mix(in srgb, var(--f) 7%, #ffffff); font-weight: 700; font-size: 0.85rem; color: var(--leise); }
.zeile span:first-child { font-weight: 700; }
.zeile span:nth-child(2) { color: var(--leise); }
.zeile.neu { animation: herein .7s .5s cubic-bezier(.2, .8, .2, 1) both, leuchten 2.4s 1.2s ease-out both; }
@keyframes herein { from { opacity: 0; transform: translateY(-14px); max-height: 0; padding-block: 0; } to { opacity: 1; transform: none; max-height: 400px; } }
@keyframes leuchten { from { background: color-mix(in srgb, var(--frisch) 45%, #ffffff); } to { background: transparent; } }
.stand { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.stand.ok { background: color-mix(in srgb, var(--gut) 13%, #ffffff); color: var(--gut); }
.stand.frisch { background: var(--frisch); color: var(--frisch-text); }
.stand.wartet { background: var(--mensch-hell); color: var(--mensch); }
.kette-quer { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.kette-quer li { position: relative; display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: 14px; border: 2px solid var(--linie); background: var(--karte); animation: schritt 7s both; }
.kette-quer li + li::before { content: ""; position: absolute; left: -14px; top: 22px; width: 12px; height: 2px; background: var(--feld-rand); }
.kette-quer b { color: var(--text); font-size: 0.92rem; line-height: 1.25; }
.kette-quer small { font-size: 0.8rem; line-height: 1.3; }
.kette-quer li.mensch { border-color: var(--mensch); background: var(--mensch-hell); }
.kette-quer li:nth-child(2) { animation-delay: .9s; }
.kette-quer li:nth-child(3) { animation-delay: 1.8s; }
.kette-quer li:nth-child(4) { animation-delay: 2.7s; }
.kette-quer li:nth-child(5) { animation-delay: 3.6s; }
@keyframes schritt { 0%, 2% { box-shadow: 0 0 0 0 transparent; } 8%, 16% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--f) 30%, transparent); transform: translateY(-3px); } 24%, 100% { box-shadow: 0 0 0 0 transparent; transform: none; } }
.vorgaenge { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vorgaenge li { display: grid; gap: 2px; padding: 10px 14px 10px 30px; position: relative; border-radius: 12px; background: color-mix(in srgb, var(--f) 5%, #ffffff); font-size: 0.9rem; animation: auftauchen .5s both; }
.vorgaenge li:nth-child(2) { animation-delay: .15s; }
.vorgaenge li:nth-child(3) { animation-delay: .3s; }
.vorgaenge li::before { content: ""; position: absolute; left: 12px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--gut); }
.vorgaenge li.wartet::before { background: var(--mensch); }
.vorgaenge b { color: var(--text); }
@keyframes auftauchen { from { opacity: 0; transform: translateY(8px); } }
.kennzahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kennzahlen p { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--f) 7%, #ffffff); animation: auftauchen .5s both; }
.kennzahlen p:nth-child(2) { animation-delay: .12s; }
.kennzahlen p:nth-child(3) { animation-delay: .24s; }
.kennzahlen b { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--text); }
.kennzahlen span { font-size: 0.88rem; }
.kennzahlen .wartet { background: var(--mensch-hell); }
.kennzahlen .wartet b { color: var(--mensch); }
.saeulen-bild { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(8px, 2vw, 22px); align-items: end; height: 150px; padding: 0 6px 22px; border-bottom: 0; }
.saeulen-bild i { position: relative; justify-self: center; width: min(100%, 72px); height: var(--h); border-radius: 8px 8px 3px 3px; background: var(--f); transform-origin: bottom; animation: wachsen .8s cubic-bezier(.2, .8, .2, 1) both; }
.saeulen-bild i:nth-child(2) { animation-delay: .08s; } .saeulen-bild i:nth-child(3) { animation-delay: .16s; } .saeulen-bild i:nth-child(4) { animation-delay: .24s; }
.saeulen-bild i:nth-child(5) { animation-delay: .32s; } .saeulen-bild i:nth-child(6) { animation-delay: .4s; background: var(--frisch); box-shadow: inset 0 0 0 2px var(--text); }
.saeulen-bild span { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--leise); }
@keyframes wachsen { from { transform: scaleY(0); } }

/* --- Vier Wochen ------------------------------------------------------------------------------- */
.wochen-raster { display: grid; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.buehne-halter { display: grid; gap: 12px; }
.phasen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.phasen button { position: relative; overflow: hidden; min-height: 48px; padding: 0 6px; border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap;
  background: var(--karte); color: var(--leise); font-weight: 700; font-size: 0.95rem; box-shadow: inset 0 0 0 1.5px var(--linie); }
.phasen button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: var(--teil, 0%); background: var(--akzent); }
.phasen button[aria-pressed="true"] { color: var(--text); box-shadow: inset 0 0 0 2px var(--akzent); }
.wochen-bild { height: clamp(290px, 28vw, 380px); background: var(--karte); box-shadow: inset 0 0 0 1px var(--linie); }
.unten { position: absolute; left: 8px; right: 8px; bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 4px 12px; }
.hinweis { white-space: nowrap; padding: 7px 12px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: var(--text); background: var(--hauch); }
.hinweis.gut { color: var(--gut); background: color-mix(in srgb, var(--gut) 12%, var(--karte)); }
.hinweis.gut::before { content: "✓ "; }
.wieder, .pause { min-height: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.wieder[hidden], .pause[hidden] { display: none; }
.wochen-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.woche-karte { display: grid; gap: 10px; }
.woche-karte h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.12; }
.woche { font-weight: 700; color: var(--betont); }
.ende { padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--frisch) 30%, var(--karte)); color: var(--text); font-weight: 600; }
/* Läuft die Darstellung, steht daneben nur die Woche, die sie gerade zeigt (alle im selben Feld, damit nichts springt). */
.gefuehrt .wochen-liste > .woche-karte { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s; }
.gefuehrt .wochen-liste > .woche-karte.an { visibility: visible; opacity: 1; }
.begleit { margin-top: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: center; padding: clamp(22px, 3.4vw, 44px);
  border-radius: var(--karten-radius); background: var(--hauch); }
.begleit > div { display: grid; gap: 12px; justify-items: start; }
.begleit h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; }
.zusagen { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-weight: 700; color: var(--text); }
.zusagen li { padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--karte); border: 1px solid var(--linie); }
.zusagen li::before { content: "✓"; margin-right: 8px; color: var(--gut); }

/* --- Preise ---------------------------------------------------------------------------------------- */
.preise { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.preis-karte { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: clamp(22px, 2.8vw, 38px); border-radius: var(--karten-radius); background: var(--karte); border: 1px solid var(--linie); }
.preis-karte h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.plaetze { padding: 5px 12px; border-radius: 999px; background: var(--hauch); color: var(--text); font-size: 0.85rem; font-weight: 700; }
.preis { font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 750; letter-spacing: -0.045em; line-height: 1; color: var(--text); white-space: nowrap; }
.preis small { font-size: 0.32em; font-weight: 700; letter-spacing: 0; }
.preis.mittel { font-size: clamp(2.2rem, 3.6vw, 3.1rem); }
.preis-zusatz { font-weight: 700; color: var(--text); }
.preis-karte ul { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 9px; color: var(--text); font-weight: 600; }
.preis-karte li { display: flex; gap: 10px; align-items: baseline; }
.preis-karte li::before { content: "✓"; flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--gut) 14%, #ffffff); color: var(--gut); font-size: 0.8rem; font-weight: 700; transform: translateY(2px); }
.preis-karte .knopf, .preis-karte .weiter { margin-top: auto; }
.preis-karte ul { margin-bottom: 18px !important; }
.preis-karte.pilot { background: var(--primaer); border-color: var(--primaer); color: #ffffff; }
.preis-karte.pilot::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .09); pointer-events: none; }
.preis-karte.pilot h3, .preis-karte.pilot .preis, .preis-karte.pilot .preis-zusatz, .preis-karte.pilot ul { color: #ffffff; }
.preis-karte.pilot .plaetze { background: var(--frisch); color: var(--frisch-text); }
.preis-karte.pilot li::before { background: var(--frisch); color: var(--frisch-text); }
.preis-karte.pilot .knopf { background: #ffffff; color: var(--text); }
.preis-karte.pilot .knopf:hover { background: var(--frisch); color: var(--frisch-text); }
.danach { margin-top: 18px; display: grid; gap: clamp(18px, 2.4vw, 28px); padding: clamp(22px, 2.8vw, 38px); border-radius: var(--karten-radius); background: var(--karte); border: 1px solid var(--linie); }
.jahresweg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 2.2fr 2.6fr; gap: 6px; }
.jahresweg li { display: grid; gap: 1px; padding: 10px 16px; font-size: 0.9rem; line-height: 1.3; background: var(--hauch); color: var(--text); }
.jahresweg li:first-child { border-radius: 999px 6px 6px 999px; padding-left: 20px; }
.jahresweg li:nth-child(2) { background: color-mix(in srgb, var(--primaer) 20%, #ffffff); }
.jahresweg li:last-child { border-radius: 6px 999px 999px 6px; background: var(--frisch); color: var(--frisch-text); }
.jahresweg span { font-size: 0.85rem; }
.danach-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(18px, 3vw, 48px); align-items: center; }
.danach-raster > div { display: grid; gap: 8px; }
.inbegriffen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.inbegriffen li { padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--hauch); color: var(--text); font-weight: 700; font-size: 0.95rem; }
.inbegriffen li::before { content: "✓"; margin-right: 8px; color: var(--gut); }

/* --- Fragen, Kontakt, Fuss ----------------------------------------------------------------------- */
.fragen-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hauch); font-size: 1.3rem; font-weight: 500; color: var(--primaer); transition: transform .2s; }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { padding: 0 0 22px; max-width: 46em; }
.einladung { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: clamp(22px, 4vw, 64px); align-items: center; padding: clamp(20px, 4vw, 56px); border-radius: calc(var(--karten-radius) + 8px);
  background: var(--primaer); color: #ffffff; position: relative; overflow: hidden; }
.einladung::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; border: 56px solid rgba(255, 255, 255, .07); pointer-events: none; }
.einladung-text { position: relative; display: grid; gap: 16px; justify-items: start; }
.einladung h2 { color: #ffffff; }
.einladung .betont { color: var(--auf-primaer); }
.einladung .ueberzeile { color: #ffffff; }
.einladung :focus-visible { outline-color: #ffffff; }
.weg { list-style: none; counter-reset: weg; margin: 4px 0; padding: 0; display: grid; gap: 10px; color: #ffffff; font-weight: 600; }
.weg li { counter-increment: weg; display: flex; gap: 12px; align-items: baseline; }
.weg li::before { content: counter(weg); flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--frisch); color: var(--frisch-text); font-size: 0.9rem; font-weight: 700; }
.ansprech { display: flex; align-items: center; gap: 14px; margin-top: 6px; padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--primaer-tief); color: #ffffff; }
.ansprech i { font-style: normal; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #ffffff; color: var(--primaer); font-weight: 750; letter-spacing: -0.02em; }
.ansprech > span { display: grid; line-height: 1.35; font-size: 0.95rem; }
.anfrage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: clamp(18px, 2.6vw, 34px); border-radius: var(--karten-radius); background: var(--karte); color: var(--leise); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); align-items: start; }
.anfrage .breit { grid-column: 1 / -1; }
.anfrage :focus-visible { outline-color: var(--akzent); }
.wahl { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wahl legend { padding: 0; margin-bottom: 8px; font-weight: 700; color: var(--text); }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--feld-rand); color: var(--text); font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.wahl span:hover { border-color: var(--primaer); }
.wahl input:checked + span { background: var(--primaer); border-color: var(--primaer); color: #ffffff; }
.wahl input:focus-visible + span { outline: 3px solid var(--akzent); outline-offset: 3px; }
.feld { display: grid; gap: 6px; font-weight: 700; color: var(--text); }
.feld small { font-weight: 500; color: var(--leise); }
.feld input, .feld textarea { width: 100%; min-height: 54px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--feld-rand); background: #ffffff; color: var(--text); }
.feld textarea { resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: 3px solid color-mix(in srgb, var(--akzent) 35%, transparent); border-color: var(--akzent); }
.feld .fehler { font-size: 0.875rem; font-weight: 700; color: #b3261e; }
.feld .fehler:empty { display: none; }
.falsch input, .falsch textarea { border-color: #b3261e; border-width: 2px; }
.anfrage .knopf { width: 100%; }
.meldung { font-weight: 700; color: var(--text); }
.meldung:empty { display: none; }
.fuss { padding: 36px 0 48px; border-top: 1px solid var(--linie); font-size: 0.95rem; }
.fuss-raster { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
/* Nur im Mockup: Wechsel zwischen den drei Entwürfen, als Leiste ganz oben (verdeckt nichts). */
.wechsel { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; padding: 6px var(--rand); background: #111827; font: 700 0.85rem/1 var(--schrift); color: #cbd5e1; }
.wechsel a { padding: 9px 14px; border-radius: 999px; color: #cbd5e1; text-decoration: none; white-space: nowrap; }
.wechsel a[aria-current="page"] { background: #ffffff; color: #111827; }
.uebersicht { padding: 12vh 0; display: grid; gap: 20px; }
.auswahl { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.auswahl a { display: grid; gap: 10px; padding: 28px; border-radius: 20px; border: 1.5px solid var(--linie); text-decoration: none; color: var(--text); font-size: 1.2rem; }
.auswahl a:hover { border-color: var(--primaer); }
.auswahl span { color: var(--leise); }
.auswahl i { display: flex; gap: 6px; }
.auswahl i b { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* --- Eigenheiten je Farbwelt --------------------------------------------------------------------- */
/* Bewegung anhalten, wenn das Gerät es verlangt (Einstellung «Bewegung reduzieren»). Die 3D-Szene zeigt dann ihren Stand. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Schmale Bildschirme (Handy, Hochkant-Tablet): Spalten untereinander, nichts ragt seitlich hinaus. */
@media (max-width: 900px) {
  .held-raster, .wochen-raster, .film, .einladung, .fragen-raster, .danach-raster, .begleit, .preise,
  .saeulen, .anfrage, .kennzahlen, .jahresweg, .kette-quer { grid-template-columns: minmax(0, 1fr); }
  .phasen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-spur { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 34px; }
  .zeile { font-size: 0.85rem; }
  .blick-kopf, .abschnitt-kopf, .film-text, .einladung-text, .held-text { min-width: 0; }
}
@media (max-width: 480px) {
  .film-spur { grid-template-columns: minmax(0, 1fr); }
  .saeulen-bild span { font-size: 0.7rem; }
  .phasen { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .stand { white-space: normal; line-height: 1.2; }
  .jahresweg li:first-child, .jahresweg li:last-child, .jahresweg li:nth-child(2) { border-radius: 14px; }
}

/* Sprachwahl und Kopfzeile. Auf dem Handy eine klebende Zeile (Logo, Sprachen, kurzer Knopf); die
   Abschnittsverweise stehen einmal darunter und kleben nicht mit. */
.sprachen ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sprachen a { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 8px; border-radius: 10px; font-weight: 700; font-size: 0.9rem; color: var(--leise); text-decoration: none; }
.sprachen a:hover { color: var(--text); }
.sprachen a[aria-current="page"] { color: var(--text); background: var(--flaeche); }
.lang-kurz { display: none; }
.gang-fuss { display: none; }
[id] { scroll-margin-top: 84px; }
@media (max-width: 900px) {
  .kopf { flex-wrap: nowrap; padding: 8px var(--rand); gap: 10px; }
  .kopf .gang { display: none; }
  .gang-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 10px var(--rand); font-size: 0.92rem; font-weight: 600; background: var(--grund); border-bottom: 1px solid var(--linie); }
  .gang-fuss a { color: var(--leise); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
  .kopf > .knopf.klein { min-height: 44px; padding: 0 14px; font-size: 0.9rem; white-space: nowrap; }
  .kopf .marke img { width: 28px; height: 28px; }
  .kopf .marke { font-size: 1.1rem; }
  [id] { scroll-margin-top: 72px; }
}
@media (max-width: 560px) {
  .lang-voll { display: none; }
  .lang-kurz { display: inline; }
  .sprachen a { min-width: 36px; padding: 0 6px; }
  .kopf { gap: 8px; }
}

.farbwahl > span { white-space: nowrap; }
@media (max-width: 560px) {
  .schild { font-size: 0.74rem; }
  .schild.satz { font-size: 0.7rem; }
}

/* Ohne Skript: die 3D-Bühnen fallen weg, Text und Liste bleiben lesbar. Das Skript setzt «mit-skript». */
html:not(.mit-skript) .buehne-halter { display: none; }
html:not(.mit-skript) .wochen-raster { grid-template-columns: 1fr; }
html:not(.mit-skript) .held-bild .ersatz { display: flex; }
html:not(.mit-skript) .held-bild canvas, html:not(.mit-skript) .held-bild .schilder { display: none; }
@media (max-width: 420px) {
  .gang-fuss { flex-wrap: nowrap; font-size: 0.8rem; gap: 4px 8px; }
}
@media (max-width: 360px) {
  .kopf .marke > span { display: none; }
  .sprachen a { min-width: 32px; padding: 0 4px; }
}

/* Pause im Kopf der Seite (die Bewegung kann jederzeit angehalten werden) */
.held-halt { position: absolute; left: 12px; bottom: 12px; z-index: 2; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--karte); color: var(--text); font-weight: 700; font-size: 0.9rem; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); }
.held-halt[hidden] { display: none; }

/* Formular: erst nach dem Start des Skripts sichtbar; davor der direkte Mailkontakt */
.anfrage[hidden] { display: none; }
.direkt { margin-top: 14px; font-weight: 600; }
.direkt[hidden] { display: none; }

/* Vorschau des Mailentwurfs: kopierbar, ohne Behauptung, dass das Mailprogramm offen ist */
.vorschau { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--flaeche); color: var(--text); }
.vorschau[hidden] { display: none; }
.vorschau dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 0; }
.vorschau dt { font-weight: 700; color: var(--leise); }
.vorschau dd { margin: 0; overflow-wrap: anywhere; }
.vorschau pre { margin: 0; max-height: 300px; overflow: auto; padding: 12px; border-radius: 10px; background: #ffffff; color: var(--text); font: inherit; font-size: 0.92rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.vorschau-knopf { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.vorschau-knopf .weiter { min-height: 44px; display: inline-flex; align-items: center; }

/* Ohne Skript: Bedienelemente ohne Funktion bleiben weg, Text und Links bleiben */
html:not(.mit-skript) .js-nur { display: none !important; }

/* Rechtsseiten (Impressum, Datenschutz) */
.recht-inhalt { max-width: 760px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) 16px; color: var(--text); }
.recht-inhalt h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.025em; margin: 0 0 24px; }
.recht-inhalt h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.recht-inhalt p, .recht-inhalt li { line-height: 1.6; color: var(--leise); }
.recht-inhalt .adresse { color: var(--text); }
.recht-inhalt .stand { margin-top: 28px; font-size: 0.9rem; }
.kopf-recht .sprachen { margin-left: auto; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 6px 0 0; }
.fuss-links a { min-height: 44px; display: inline-flex; align-items: center; }
/* Kopfzeile der Rechtsseiten: auf dem Handy umbrechen statt über den Rand hinaus */
.kopf-recht { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; height: auto; padding-block: 10px; }
.kopf-recht .sprachen { margin-left: auto; }
.kopf-recht .knopf { white-space: normal; text-align: center; }
