/* 21consult · Webseite im Abo (/webseite-abo)
   Baut auf site.css und lokale-ki.css auf (Kopf, Fuß, .innen, .zweispaltig, .schritte, .fragen, .aufruf)
   und übernimmt deren Tokens. Hier stehen nur die Teile der Seite, die es dort nicht gibt.
   Zuerst die Einstiegsfläche mit der dunklen Karte der Region 21 (Stand Aufgabe 4). Aufgabe 5 hängt die
   Stile des Assistenten an dieselbe Datei an. Namen des Assistenten bekommen das Präfix .abo-, weil
   .frage und .fragen in site.css schon das FAQ meinen.

   Farbgesetz wie überall: Grün nur für den Knopf, der anfragt (auf Dunkel die helle Grünstufe), Gelb nur als
   Markierung auf Dunkel (Sitz Buxtehude), Flächen aus der Grünfamilie. Die Töne der Karte sind aus den Tokens
   gemischt, keine neuen Farben. */

/* ---------- Einstiegsfläche: Text links, Karte rechts ---------- */
.abo-start {
  --abo-wasser: color-mix(in srgb, var(--priel) 50%, var(--flut));  /* Elbe, breites Band */
  --abo-gitter: color-mix(in srgb, var(--priel) 38%, var(--flut));  /* Gitterlinien */
  --abo-zahl: color-mix(in srgb, var(--priel) 15%, var(--flut));    /* große 21, Füllung */
  --abo-rand: color-mix(in srgb, var(--priel) 80%, var(--flut));    /* große 21, Kontur */
  position: relative; isolation: isolate; overflow: clip;
  display: grid; align-items: center;
  padding: var(--s6) 0 0;
  background: var(--flut); color: var(--watt);
}
.abo-start ::selection { background: var(--watt); color: var(--flut); }
.abo-start :focus-visible { outline-color: var(--watt); }
.abo-start-text { position: relative; z-index: 1; max-width: 560px; }

.abo-start h1 { margin-top: var(--s5); font-size: clamp(36px, 4vw, 56px); line-height: 1.06; letter-spacing: -.035em; }
.abo-start h1 em { font-style: normal; color: var(--seegras); }

.abo-preis { margin-top: var(--s6); display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--s3); }
.abo-preis-ab, .abo-preis-ein { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--seegras-linie); }
.abo-preis-zahl { font-size: clamp(56px, 6vw, 88px); line-height: 1; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.abo-lead { margin-top: var(--s5); max-width: 34ch; font-size: 20px; line-height: 30px; color: var(--linie); }
.abo-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); margin-top: var(--s6); }
.abo-hinweis { margin-top: var(--s5); max-width: 40ch; font-size: 14px; line-height: 20px; color: var(--linie); }

/* Knopf auf Dunkel wie im Ablauf und im Aufruf: helle Grünstufe, Text in Flutkante */
.abo-start .knopf.anfragen { background: var(--steuerbord-hell); border-color: var(--steuerbord-hell); color: var(--flut); min-height: 56px; padding: 0 var(--s6); font-size: 18px; }
.abo-start .knopf.anfragen:hover { background: var(--watt); border-color: var(--watt); }
.abo-start .knopf.anfragen:focus-visible { outline-color: var(--steuerbord-hell); }
.abo-los .icon { transition: transform .3s var(--aus); }
.abo-los:hover .icon { transform: translateX(4px); }
.abo-start .textlink { margin-top: 0; color: var(--watt); text-decoration-color: var(--linie); }
.abo-start .textlink:hover { text-decoration-color: var(--watt); }

/* Ohne JavaScript startet der Assistent nicht: dann führt der Knopf zur Anfrage, Startknopf und Ausweg bleiben weg.
   Mit JavaScript steht der Startknopf sofort da (kein Aufblitzen). Der Link zur Anfrage liegt unsichtbar an
   derselben Stelle. Setzt abo-assistent.js nicht binnen 3 s .abo-bereit (Modul nicht geladen), tauschen beide
   per Animation ohne Dauer die Sichtbarkeit. Die Animation trägt !important, sonst schaltet die globale Regel
   für reduzierte Bewegung in site.css (animation: none !important) den Tausch ab. */
html:not(.js) [data-abo-start], html:not(.js) .abo-ausweg { display: none; }
.abo-bereit .abo-ohne-js { display: none; }
.abo-aktion { position: relative; }
html.js .abo-ohne-js { position: absolute; left: 0; top: 0; visibility: hidden; }
html.js:not(.abo-bereit) [data-abo-start], html.js:not(.abo-bereit) .abo-ausweg { animation: abo-verbergen 0s 3s forwards !important; }
html.js:not(.abo-bereit) .abo-ohne-js { animation: abo-zeigen 0s 3s forwards !important; }
@keyframes abo-verbergen { to { visibility: hidden; } }
@keyframes abo-zeigen { to { visibility: visible; } }

/* Brotkrumen auf Dunkel (lokale-ki.css färbt sie für Hell) */
.abo-start .brotkrumen ol, .abo-start .brotkrumen li + li::before { color: var(--linie); }
.abo-start .brotkrumen a { color: var(--watt); text-decoration-color: var(--abo-rand); }
.abo-start .brotkrumen a:hover { text-decoration-color: var(--watt); }
.abo-start .brotkrumen [aria-current="page"] { color: var(--linie); }

/* ---------- Karte der Region 21 ----------
   Nord oben. Stade, Jork und Buxtehude liegen zueinander wie auf der Startseite (dort steht Süd oben, hier
   ist die Lage gespiegelt, Maßstab 0,6). Handy und Tablet hoch: ein Streifen unter dem Text, Buxtehude in der
   Mitte (Ausschnitt, preserveAspectRatio slice). Ab 1024 px steht die Karte rechts neben dem Text. */
.abo-karte {
  display: block; order: 2; width: 100%; height: 240px; margin-top: var(--s6); overflow: visible; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 22%, black 70%, transparent), linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 70%, transparent), linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.abo-karte .gitter { fill: none; stroke: var(--abo-gitter); stroke-width: 1; }
.abo-karte .zwei1 { font: 800 300px var(--font); fill: var(--abo-zahl); stroke: var(--abo-rand); stroke-width: 1.5; letter-spacing: -.06em; }
.abo-karte .elbe { fill: none; stroke: var(--abo-wasser); stroke-width: 46; stroke-linecap: round; }
.abo-karte .elbe2 { fill: none; stroke: var(--priel); stroke-width: 1.5; stroke-dasharray: 6 8; }
.abo-karte .este { fill: none; stroke: var(--priel); stroke-width: 4; stroke-linecap: round; opacity: .8; }
.abo-karte .ort circle { fill: var(--seegras-linie); }
.abo-karte .ort text { fill: var(--linie); font: 600 17px var(--font); }
.abo-karte .ort .plz { fill: var(--grau); font-weight: 500; }
.abo-karte .sitz circle.kern { fill: var(--gelb); }
.abo-karte .sitz text { fill: var(--watt); font-weight: 800; }
.abo-karte .sitz circle.puls { fill: none; stroke: var(--gelb); stroke-width: 2; transform-origin: center; transform-box: fill-box; animation: abo-puls 2.4s var(--aus) infinite; }
@keyframes abo-puls { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }

/* Der Streifen zeigt den ganzen Ausschnitt verkleinert: Ortsnamen größer setzen, damit sie auf dem Handy rund 12 px erreichen (Faktor Ansicht 0,3 bis 0,4) */
@media (max-width: 767px) {
  .abo-karte .ort text { font-size: 30px; }
  /* Harburg liegt am rechten Rand: auf dem Handy mittig unter den Punkt, unter die Zeile von Buxtehude, sonst ragt es aus dem Bild */
  .abo-karte .ort-harburg text { text-anchor: middle; transform: translate(-14.3px, 40px); }
  /* Danke: das Schild des neuen Ladens rückt unter die Zeile von Harburg, der Punkt bleibt, wo er ist */
  .abo-neu rect, .abo-neu text { transform: translateY(46px); }
}
@media (min-width: 768px) {
  .abo-karte { height: 320px; }
}
/* Ab Tablet quer: Text links, Karte rechts im Bild, an allen Rändern weich ausgeblendet */
@media (min-width: 1024px) {
  .abo-start { min-height: clamp(560px, calc(100svh - var(--kopf-hoehe)), 820px); padding: var(--s7) 0 var(--s8); }
  .abo-start h1 { margin-top: var(--s6); }
  .abo-karte { position: absolute; z-index: 0; top: 50%; right: 0; width: min(60%, 960px); height: auto; aspect-ratio: 4 / 3; margin: 0; translate: 0 -50%; }
}
@media (max-width: 599px) {
  .abo-aktion { flex-direction: column; align-items: stretch; }
  .abo-aktion .knopf { width: 100%; padding: 0 var(--s4); white-space: normal; }
  .abo-aktion .textlink { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .abo-karte .sitz circle.puls { animation: none; opacity: .5; transform: scale(2); }
  .abo-los .icon { transition: none; }
  .abo-los:hover .icon { transform: none; }
}

/* =====================================================================================================
   Assistent (Aufgabe 5). Übertragen aus dem abgenommenen Entwurf .impeccable/mocks/abo-assistent/index.html.
   abo-assistent.js baut den Dialog in #abo-assistent, hängt ihn an <body> und schaltet die Seite dahinter inert.
   Farben nur aus den Tokens; die Branchenpaletten der Skizze kommen als Daten aus abo-logik.js und werden per
   style.setProperty auf --abo-p1 … --abo-a gesetzt (CSP erlaubt style-src-attr). Weiß für Karten und Papier
   der Skizze ist Wattlicht, aufgehellt, keine neue Farbe.
   ===================================================================================================== */

/* ---------- Flug in die Karte: die Karte der Einstiegsfläche zoomt auf Buxtehude ---------- */
.abo-start { --abo-flug-x: 50%; --abo-flug-y: 50%; }
.abo-start .abo-karte { transform-origin: var(--abo-flug-x) var(--abo-flug-y); transition: transform 1.1s cubic-bezier(.7, 0, .2, 1); }
.abo-start.abo-fliegt .abo-karte { transform: scale(7); }
.abo-start .abo-start-text { transition: opacity .5s, transform .6s var(--aus); }
.abo-start.abo-fliegt .abo-start-text { opacity: 0; transform: translateX(-40px); }
.abo-start.abo-ruhig .abo-karte, .abo-start.abo-ruhig .abo-start-text { transition: none; }

html.abo-gesperrt { overflow: hidden; scrollbar-gutter: stable; }

/* ---------- Bühne 2: der Dialog wächst als Kreis aus dem gelben Punkt ---------- */
.abo-assi {
  --abo-cx: 50%; --abo-cy: 50%;
  --abo-papier: color-mix(in srgb, var(--watt) 30%, white);   /* Karten und Felder auf Wattlicht */
  --abo-schatten: color-mix(in srgb, var(--flut) 50%, transparent);
  --abo-skizze: var(--seegras-linie);                          /* gestrichelte Linien der Skizze */
  --rand: 48px;
  position: fixed; inset: 0; z-index: 60;
  display: grid; grid-template-columns: minmax(380px, 46%) 1fr;
  background: var(--watt); color: var(--flut);
  clip-path: circle(0% at var(--abo-cx) var(--abo-cy));
  transition: clip-path 1s cubic-bezier(.7, 0, .2, 1);
}
.abo-assi[hidden] { display: none; }
.abo-assi.ist-offen { clip-path: circle(150% at var(--abo-cx) var(--abo-cy)); }
.abo-assi.ist-zu { transition-duration: .6s; }
.abo-assi ::selection { background: var(--flut); color: var(--watt); }
.abo-assi button { border: 0; background: none; cursor: pointer; padding: 0; }
.abo-symbole { position: absolute; width: 0; height: 0; overflow: hidden; }
.abo-i { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.abo-fragen { position: relative; display: flex; flex-direction: column; min-height: 0; padding: var(--s6) var(--rand); overflow-y: auto; overscroll-behavior: contain; }
.abo-kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding-right: var(--s8); }
.abo-kopf img { display: block; width: 134px; height: auto; }
.abo-plakette { font-size: 14px; line-height: 20px; font-weight: 700; padding: var(--s2) 14px; border-radius: 999px; background: var(--flut); color: var(--watt); white-space: nowrap; }
.abo-plakette span:last-child { color: var(--gelb); }

.abo-zu {
  position: absolute; z-index: 4; top: var(--s5); right: var(--s5);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--watt) !important; color: var(--flut); box-shadow: 0 0 0 1px var(--linie), 0 10px 24px -16px var(--abo-schatten);
  transition: transform .3s var(--aus), box-shadow .3s;
}
.abo-zu:hover { transform: rotate(90deg); box-shadow: 0 0 0 1px var(--flut), 0 10px 24px -16px var(--abo-schatten); }
.abo-zu .abo-i { width: 20px; height: 20px; }

/* Kurslinie als Fortschritt: gefahrene Strecke grün, aktuelle Wegmarke gelb */
.abo-kurs { position: relative; margin-top: 36px; height: 24px; }
.abo-kurs::before {
  content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--linie) 0 2px, transparent 2px 8px);
}
.abo-kurs-gefahren { position: absolute; left: 6px; top: 10.5px; height: 3px; width: 0; border-radius: 2px; background: var(--steuerbord); transition: width .7s var(--aus); }
.abo-kurs[data-schritt="2"] .abo-kurs-gefahren { width: calc((100% - 12px) * .25); }
.abo-kurs[data-schritt="3"] .abo-kurs-gefahren { width: calc((100% - 12px) * .5); }
.abo-kurs[data-schritt="4"] .abo-kurs-gefahren { width: calc((100% - 12px) * .75); }
.abo-kurs[data-schritt="5"] .abo-kurs-gefahren { width: calc(100% - 12px); }
.abo-kurs-marken { position: relative; display: flex; justify-content: space-between; height: 24px; align-items: center; }
.abo-kurs-marken i { width: 12px; height: 12px; border-radius: 50%; background: var(--watt); box-shadow: inset 0 0 0 2px var(--linie); transition: background .4s, box-shadow .4s, transform .4s var(--aus); }
.abo-kurs-marken i.ist-da { background: var(--steuerbord); box-shadow: inset 0 0 0 2px var(--steuerbord); }
.abo-kurs-marken i.ist-jetzt { background: var(--gelb); box-shadow: inset 0 0 0 2px var(--gelb), 0 0 0 4px color-mix(in srgb, var(--gelb) 25%, transparent); transform: scale(1.15); }
.abo-schrittzahl { margin-top: 10px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--schlick); }

/* Fragen: nur die aktive steht im Fluss, die anderen liegen unsichtbar darüber */
.abo-buehne { position: relative; flex: 1 0 auto; margin-top: 28px; }
.abo-frage { position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; transform: translateY(28px); pointer-events: none; transition: opacity .2s, transform .5s var(--aus), visibility 0s .2s; }
.abo-frage.ist-aktiv { position: relative; opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .45s .18s, transform .6s .18s var(--aus); }
.abo-frage.ist-weg { transform: translateY(-28px); }
.abo-frage h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; max-width: 16ch; }
.abo-frage h2:focus { outline: none; }
.abo-frage h2:focus-visible { outline: 2px solid var(--flut); outline-offset: 6px; }
.abo-frage h3 { margin-top: 40px; font-size: 24px; line-height: 30px; font-weight: 800; letter-spacing: -.02em; }
.abo-nur-schmal { display: none; }
.abo-hilfe { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--schlick); max-width: 42ch; }

/* Frage 1: Karten, Antippen geht direkt weiter */
.abo-wahl { margin-top: var(--s6); display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s3); }
.abo-assi .abo-karte-w {
  position: relative; text-align: left; padding: 20px 18px 18px; border-radius: 14px;
  background: var(--abo-papier); border: 1.5px solid var(--linie);
  transition: border-color .25s, transform .3s var(--aus), box-shadow .3s;
}
.abo-karte-w:hover { transform: translateY(-3px); border-color: var(--seegras-linie); box-shadow: 0 10px 30px -18px var(--abo-schatten); }
.abo-karte-w .abo-i { width: 34px; height: 34px; stroke-width: 1.6; }
.abo-karte-w strong { display: block; margin-top: 14px; font-size: 17px; line-height: 22px; }
.abo-karte-w small { display: block; margin-top: var(--s1); font-size: 14px; line-height: 20px; color: var(--schlick); }
.abo-karte-w[aria-pressed="true"] { border-color: var(--steuerbord); box-shadow: inset 0 0 0 1.5px var(--steuerbord); }
.abo-haken { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--steuerbord); color: var(--watt); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--aus); }
.abo-haken .abo-i { width: 14px; height: 14px; stroke-width: 3; }
.abo-karte-w[aria-pressed="true"] .abo-haken { opacity: 1; transform: none; }

/* Frage 3 und 4: Chips, mehrere gehen */
.abo-chips { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: 10px; }
.abo-chips.ist-eng { margin-top: var(--s4); }
.abo-assi .abo-chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px;
  background: var(--abo-papier); border: 1.5px solid var(--linie); font-weight: 600; font-size: 16px; line-height: 22px; text-align: left;
  transition: background .25s var(--aus), color .25s var(--aus), border-color .25s var(--aus), transform .25s var(--aus);
}
.abo-chip:hover { border-color: var(--seegras-linie); transform: translateY(-2px); }
.abo-plus { flex: none; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--seegras); color: var(--priel); transition: transform .3s var(--aus), background .25s; }
.abo-plus .abo-i { width: 10px; height: 10px; stroke-width: 3; }
.abo-assi .abo-chip[aria-pressed="true"] { background: var(--flut); color: var(--watt); border-color: var(--flut); }
.abo-chip[aria-pressed="true"] .abo-plus { transform: rotate(45deg); background: var(--gelb); color: var(--flut); }

/* Frage 2 und 5: Felder */
.abo-feld { position: relative; margin-top: var(--s6); max-width: 520px; }
.abo-feld label { display: block; margin-bottom: var(--s2); font-size: 14px; line-height: 20px; font-weight: 700; color: var(--schlick); }
.abo-feld input {
  width: 100%; padding: 20px 22px; font-size: 24px; line-height: 32px; font-weight: 700;
  border-radius: 14px; border: 1.5px solid var(--linie); background: var(--abo-papier); color: var(--flut);
  transition: border-color .25s, box-shadow .25s;
}
.abo-feld input::placeholder { color: var(--grau); font-weight: 600; }
.abo-feld input:focus { outline: none; border-color: var(--steuerbord); box-shadow: 0 0 0 3px color-mix(in srgb, var(--steuerbord) 22%, transparent); }
.abo-feld input[aria-invalid="true"] { border-color: var(--backbord); }
.abo-feldhinweis { margin-top: var(--s2); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--backbord); }
.abo-feldhinweis:empty { display: none; }
.abo-felder { margin-top: 28px; display: grid; gap: var(--s4); max-width: 520px; }
.abo-felder .abo-feld { margin-top: 0; }
.abo-felder input { padding: 15px 18px; font-size: 18px; line-height: 26px; font-weight: 600; }
.abo-frei { font-weight: 500; }
.abo-datenschutz { margin-top: var(--s4); max-width: 46ch; font-size: 14px; line-height: 1.5; color: var(--schlick); }
.abo-datenschutz a { color: var(--flut); text-underline-offset: 3px; }
.abo-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Meldung beim Senden und Fuß mit Zurück und Weiter */
.abo-meldung { margin-top: var(--s5); padding: 14px var(--s4); border-radius: var(--radius-l); background: color-mix(in srgb, var(--backbord) 8%, var(--watt)); box-shadow: inset 3px 0 0 var(--backbord); font-size: 15px; line-height: 22px; max-width: 520px; }
.abo-meldung[hidden] { display: none; }
.abo-meldung { scroll-margin: var(--s5) 0 120px; }
.abo-meldung:focus { outline: none; }
.abo-meldung:focus-visible { outline: 2px solid var(--flut); outline-offset: 3px; }
.abo-meldung a { font-weight: 700; color: var(--flut); text-underline-offset: 3px; white-space: nowrap; }
.abo-fuss { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s6); padding-top: 20px; }
.abo-assi .abo-zurueck { min-height: 48px; padding: 0 var(--s1); font-weight: 700; color: var(--schlick); transition: color .2s; }
.abo-zurueck:hover { color: var(--flut); }
.abo-zurueck[hidden] { display: none; }
.abo-assi .abo-weiter {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px;
  background: var(--steuerbord); color: var(--watt); font-weight: 700; font-size: 17px; line-height: 24px; white-space: nowrap;
  transition: opacity .3s, transform .3s var(--aus), background .2s, padding .3s var(--aus);
}
.abo-weiter .abo-i { width: 18px; height: 18px; transition: transform .3s var(--aus); }
.abo-weiter:not(:disabled):hover { transform: translateY(-2px); background: var(--flut); }
.abo-weiter:not(:disabled):hover .abo-i { transform: translateX(3px); }
.abo-assi .abo-weiter:disabled { opacity: .35; cursor: not-allowed; }
.abo-assi .abo-weiter[aria-busy="true"] { opacity: .72; cursor: progress; }
.abo-assi .abo-weiter.ist-gross { min-height: 60px; padding: 0 32px; font-size: 19px; }
.abo-assi :focus-visible { outline: 2px solid var(--flut); outline-offset: 3px; }

/* ---------- Vorschau: die Seite des Kunden entsteht ---------- */
.abo-vorschau { position: relative; display: grid; place-items: center; padding: 40px; overflow: hidden; background: var(--seegras); }
.abo-vorschau::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(var(--seegras-linie) 1px, transparent 1px), linear-gradient(90deg, var(--seegras-linie) 1px, transparent 1px);
  background-size: 32px 32px;
}
.abo-vs-label { position: absolute; z-index: 2; top: 28px; left: 40px; display: flex; gap: var(--s2); align-items: center; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--priel); }
.abo-vs-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--steuerbord); }
.abo-browser {
  position: relative; width: min(720px, 100%); border-radius: 16px; background: var(--abo-papier); overflow: hidden;
  box-shadow: 0 40px 80px -40px var(--abo-schatten), 0 0 0 1px color-mix(in srgb, var(--flut) 8%, transparent);
}
.abo-leiste { display: flex; align-items: center; gap: var(--s2); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--watt-2); background: var(--watt); }
.abo-leiste i { width: 10px; height: 10px; border-radius: 50%; background: var(--linie); }
.abo-url { margin-left: var(--s3); flex: 1; min-width: 0; padding: 6px var(--s3); border-radius: var(--radius-m); background: var(--watt-2); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--schlick); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.abo-seite {
  --abo-p1: var(--watt); --abo-p2: var(--flut); --abo-p3: var(--priel); --abo-pt: var(--flut); --abo-pk: var(--steuerbord); --abo-a: var(--gelb);
  min-height: 440px; max-height: calc(100vh - 220px); overflow: hidden; background: var(--abo-papier); transition: background .9s;
}
/* Skizze: alles nur Linie */
.abo-s-kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s4) var(--s5); border-bottom: 1.5px dashed var(--abo-skizze); color: var(--flut); transition: background .9s var(--aus), color .9s var(--aus), border-color .9s; }
.abo-s-logo { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 26px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.abo-s-logo .abo-i { width: 24px; height: 24px; stroke-width: 1.6; }
.abo-s-logo .abo-i[hidden] { display: none; }
.abo-s-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abo-s-name:empty { display: inline-block; width: 120px; height: 12px; border-radius: 6px; border: 1.5px dashed var(--abo-skizze); }
.abo-s-nav { display: flex; gap: 14px; }
.abo-s-nav b { display: block; width: 38px; height: 8px; border-radius: 4px; border: 1.5px dashed var(--abo-skizze); transition: background .9s, border-color .9s, opacity .9s; }
.abo-s-held { position: relative; margin: 20px var(--s5) 0; height: 190px; border-radius: var(--radius-l); border: 1.5px dashed var(--abo-skizze); display: grid; place-items: center; overflow: hidden; transition: background .9s var(--aus), border-color .9s; }
.abo-s-held .abo-bild-x { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--watt-2); stroke-width: 1.5; transition: opacity .6s; }
.abo-muster { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s .2s; }
.abo-muster .m-flaeche { fill: var(--abo-p3); }
.abo-muster .m-sonne { fill: var(--abo-a); opacity: .85; }
.abo-muster .m-huegel { fill: var(--abo-p2); opacity: .35; }
.abo-muster .m-schleier { fill: var(--abo-p2); opacity: .25; }
.abo-held-text { position: relative; padding: 0 20px; text-align: center; }
.abo-s-titel { min-height: 30px; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--seegras-linie); transition: color .9s, font-size .9s var(--aus); }
.abo-s-unter { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--grau); transition: color .9s; }
.abo-s-bausteine { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); padding: var(--s4) var(--s5) var(--s5); transition: background .9s; }
.abo-baustein { border-radius: 10px; border: 1.5px dashed var(--abo-skizze); padding: 14px 14px var(--s4); opacity: 0; transform: translateY(14px) scale(.97); animation: abo-rein .6s var(--aus) forwards; transition: background .9s, border-color .9s, color .9s, box-shadow .9s; }
.abo-baustein.ist-raus { animation: abo-raus .35s ease forwards; }
@keyframes abo-rein { to { opacity: 1; transform: none; } }
@keyframes abo-raus { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.95); } }
.abo-bt { display: flex; align-items: center; gap: var(--s2); font-size: 13px; line-height: 18px; font-weight: 800; letter-spacing: .02em; color: var(--grau); transition: color .9s; }
.abo-bt .abo-i { width: 18px; height: 18px; stroke-width: 1.8; }
.abo-zeile { display: block; height: 7px; margin-top: 9px; border-radius: 4px; background: var(--watt-2); transition: background .9s; }
.abo-zeile.ist-kurz { width: 60%; }
.abo-ziel { display: inline-block; margin-top: var(--s3); padding: 7px var(--s3); border-radius: 999px; border: 1.5px dashed var(--abo-skizze); font-size: 12px; line-height: 16px; font-weight: 700; color: var(--grau); transition: background .9s, color .9s, border-color .9s; }
.abo-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.abo-kacheln i { aspect-ratio: 1; border-radius: 6px; border: 1.5px dashed var(--abo-skizze); transition: background .9s, border-color .9s; }
.abo-leer { grid-column: 1 / -1; padding: 20px 0 var(--s2); text-align: center; font-size: 14px; line-height: 20px; color: var(--grau); }

/* Echt: Farbe an, gestaffelt Kopf, Bild, Bausteine */
.abo-seite.ist-echt { background: var(--abo-p1); }
.abo-seite.ist-echt .abo-s-kopf { border-bottom-color: transparent; background: var(--abo-p2); color: var(--abo-p1); transition-delay: 0s; }
.abo-seite.ist-echt .abo-s-name:empty { border-color: var(--abo-p1); }
.abo-seite.ist-echt .abo-s-nav b { border-color: transparent; background: var(--abo-p1); opacity: .5; }
.abo-seite.ist-echt .abo-s-held { border-color: transparent; background: var(--abo-p3); transition-delay: .15s; }
.abo-seite.ist-echt .abo-bild-x { opacity: 0; }
.abo-seite.ist-echt .abo-muster { opacity: 1; }
.abo-seite.ist-echt .abo-s-titel { font-size: 36px; color: var(--abo-p1); }
.abo-seite.ist-echt .abo-s-unter { color: var(--abo-p1); opacity: .9; }
.abo-seite.ist-echt .abo-s-bausteine { background: color-mix(in srgb, var(--abo-a) 22%, var(--abo-p1)); }
.abo-seite.ist-echt .abo-baustein { border-color: transparent; background: var(--abo-papier); box-shadow: 0 1px 0 color-mix(in srgb, var(--abo-p2) 12%, transparent), 0 8px 20px -14px color-mix(in srgb, var(--abo-p2) 60%, transparent); }
.abo-seite.ist-echt .abo-baustein:nth-child(1) { transition-delay: .35s; }
.abo-seite.ist-echt .abo-baustein:nth-child(2) { transition-delay: .45s; }
.abo-seite.ist-echt .abo-baustein:nth-child(3) { transition-delay: .55s; }
.abo-seite.ist-echt .abo-baustein:nth-child(4) { transition-delay: .65s; }
.abo-seite.ist-echt .abo-baustein:nth-child(5) { transition-delay: .75s; }
.abo-seite.ist-echt .abo-baustein:nth-child(6) { transition-delay: .85s; }
.abo-seite.ist-echt .abo-bt { color: var(--abo-pt); }
.abo-seite.ist-echt .abo-zeile { background: color-mix(in srgb, var(--abo-pt) 16%, var(--abo-papier)); }
.abo-seite.ist-echt .abo-ziel { border-color: transparent; background: var(--abo-pk); color: var(--abo-p1); }
.abo-seite.ist-echt .abo-kacheln i { border-color: transparent; background: var(--abo-p3); }
.abo-seite.ist-echt .abo-kacheln i:nth-child(2) { background: var(--abo-a); }
.abo-seite.ist-echt .abo-kacheln i:nth-child(3) { background: var(--abo-p2); }
.abo-blitz { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; background: radial-gradient(circle at 50% 40%, var(--abo-papier), transparent 60%); }
.abo-blitz.ist-an { animation: abo-blitz 1s ease; }
@keyframes abo-blitz { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Rückfrage beim Schließen, eigener kleiner Dialog im Stil der Seite ---------- */
.abo-rueckfrage { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: var(--s5); background: color-mix(in srgb, var(--flut) 55%, transparent); }
.abo-rueckfrage[hidden] { display: none; }
.abo-rueckfrage-karte { width: min(440px, 100%); padding: var(--s6); border-radius: 18px; background: var(--watt); box-shadow: 0 40px 80px -30px var(--abo-schatten); animation: abo-auf .35s var(--aus); }
@keyframes abo-auf { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.abo-rueckfrage h2 { font-size: 26px; line-height: 32px; font-weight: 800; letter-spacing: -.02em; }
.abo-rueckfrage h2:focus { outline: none; }
.abo-rueckfrage p { margin-top: var(--s3); font-size: 16px; line-height: 24px; color: var(--schlick); }
.abo-rueckfrage-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s5); }
.abo-assi .abo-bleiben { min-height: 48px; padding: 0 var(--s5); border-radius: 999px; background: var(--flut); color: var(--watt); font-weight: 700; }
.abo-bleiben:hover { background: var(--priel) !important; }
.abo-assi .abo-gehen { min-height: 48px; font-weight: 700; color: var(--flut); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--linie); text-underline-offset: 6px; }
.abo-gehen:hover { text-decoration-color: var(--flut); }

/* ---------- Bühne 3: Danke, der Laden landet als Punkt auf der Karte ---------- */
.abo-danke {
  --abo-wasser: color-mix(in srgb, var(--priel) 50%, var(--flut));
  --abo-gitter: color-mix(in srgb, var(--priel) 38%, var(--flut));
  --abo-zahl: color-mix(in srgb, var(--priel) 15%, var(--flut));
  --abo-rand: color-mix(in srgb, var(--priel) 80%, var(--flut));
  position: absolute; inset: 0; z-index: 3; overflow: hidden auto;
  display: grid; grid-template-columns: minmax(320px, 520px) 1fr; align-items: center; gap: 40px; padding: 0 var(--rand);
  background: var(--flut); color: var(--watt); opacity: 0; visibility: hidden; transition: opacity .8s, visibility 0s .8s;
}
.abo-assi.ist-fertig .abo-danke { opacity: 1; visibility: visible; transition: opacity .8s; }
.abo-danke ::selection { background: var(--watt); color: var(--flut); }
.abo-danke :focus-visible { outline-color: var(--watt); }
.abo-danke-text { position: relative; z-index: 1; padding: var(--s8) 0; }
.abo-danke h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.abo-danke h2:focus { outline: none; }
.abo-danke-laden { color: var(--seegras); overflow-wrap: anywhere; }
.abo-danke p { margin-top: 20px; max-width: 36ch; font-size: 19px; line-height: 1.55; color: var(--linie); }
.abo-post { margin-top: 28px; display: inline-flex; gap: var(--s3); align-items: center; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--priel) 30%, var(--flut)); font-size: 16px; line-height: 22px; color: var(--linie); }
.abo-post[hidden] { display: none; }
.abo-post .abo-i { width: 22px; height: 22px; stroke: var(--gelb); stroke-width: 1.8; }
.abo-danke-wege { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5); align-items: center; margin-top: var(--s6); }
.abo-assi .abo-zur-seite { min-height: 52px; padding: 0 var(--s5); border-radius: 999px; background: var(--steuerbord-hell); color: var(--flut); font-weight: 700; font-size: 17px; transition: background .2s; }
.abo-zur-seite:hover { background: var(--watt) !important; }
.abo-danke .abo-karte { position: relative; top: auto; right: auto; order: 0; width: 100%; max-width: 900px; height: auto; aspect-ratio: 4 / 3; margin: 0; justify-self: center; translate: none; transform: none; }
.abo-neu { opacity: 0; }
.abo-assi.ist-fertig .abo-neu { animation: abo-landen 1.2s .6s var(--aus) forwards; }
@keyframes abo-landen { 0% { opacity: 0; transform: translateY(-40px); } 100% { opacity: 1; transform: none; } }
.abo-neu .kern { fill: var(--gelb); }
.abo-neu .glanz { fill: var(--gelb); opacity: .25; transform-origin: center; transform-box: fill-box; animation: abo-glanz 2s ease-in-out infinite; }
@keyframes abo-glanz { 50% { transform: scale(1.8); opacity: .1; } }
.abo-neu rect { fill: var(--steuerbord); }
.abo-neu text { fill: var(--watt); font: 800 17px var(--font); }

/* ---------- Handy und Tablet hoch: Vorschau oben, Fragen darunter, Weiter klebt unten ---------- */
@media (max-width: 860px) {
  .abo-assi { --rand: 20px; grid-template-columns: minmax(0, 1fr); grid-template-rows: 40svh minmax(0, 1fr); }
  .abo-vorschau { order: -1; place-items: start center; padding: 44px var(--s4) var(--s3); }
  .abo-vs-label { top: 14px; left: var(--s4); }
  .abo-browser { width: 150%; max-width: none; transform: scale(.62); transform-origin: top center; }
  .abo-seite { min-height: 0; max-height: none; }
  .abo-zu { top: var(--s2); right: var(--s2); width: 44px; height: 44px; }
  .abo-fragen { padding: 20px var(--rand) 0; }
  .abo-kopf { padding-right: 0; }
  .abo-kopf img { width: 112px; }
  .abo-lang { display: none; }
  .abo-nur-breit { display: none; }
  .abo-nur-schmal { display: inline; }
  .abo-kurs { margin-top: 18px; }
  .abo-buehne { margin-top: 18px; }
  .abo-frage h2 { font-size: 28px; }
  .abo-wahl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .abo-fuss { position: sticky; bottom: 0; z-index: 2; margin: var(--s5) calc(-1 * var(--rand)) 0; padding: 14px var(--rand) calc(18px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--watt) 30%); }
  .abo-danke { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; }
  .abo-danke-text { padding: var(--s8) 0 var(--s4); }
  .abo-danke .abo-karte { height: 280px; aspect-ratio: auto; }
}
@media (max-width: 380px) {
  .abo-assi .abo-weiter { padding: 0 20px; }
  .abo-assi .abo-weiter.ist-gross { padding: 0 22px; font-size: 17px; }
  .abo-plakette { padding: 6px 10px; font-size: 13px; }
}

/* Reduzierte Bewegung: kein Flug, kein Kreis, kein Blitz. Dialog, Fragen und Danke blenden schlicht über.
   site.css setzt dann alle Übergänge auf 0; die Überblendungen hier gewinnen mit eigener Dauer. */
@media (prefers-reduced-motion: reduce) {
  .abo-start.abo-fliegt .abo-karte, .abo-start.abo-fliegt .abo-start-text { transform: none; opacity: 1; }
  .abo-assi, .abo-assi.ist-offen { clip-path: none; opacity: 0; transition: opacity .2s linear !important; }
  .abo-assi.ist-offen { opacity: 1; }
  .abo-frage, .abo-frage.ist-weg { transform: none; }
  .abo-frage.ist-aktiv { transition: opacity .2s linear !important; }
  .abo-assi.ist-fertig .abo-danke { transition: opacity .2s linear !important; }
  .abo-blitz.ist-an { animation: none; }
  .abo-baustein { opacity: 1; transform: none; animation: none; }
  .abo-neu, .abo-assi.ist-fertig .abo-neu { opacity: 1; animation: none; }
  .abo-neu .glanz { animation: none; }
}
