/* ============================================================
   Münster.AI — „Die Arkade“: Fundament und Bausteine aller Unterseiten (Plan §2.4)
   Blöcke zwischen  @shared:start <name>  und  @shared:end <name>  stehen genauso im Inline-Stil von index.html
   (tests/drift.py vergleicht sie). Änderungen an diesen Blöcken immer an BEIDEN Stellen.
   Alles mit  site:  im Kommentar gibt es nur hier. Seitenspezifisches CSS gehört in den <style> der Seite (Präfix .p-<seite>).
   ============================================================ */

/* site: Schriften (Pfad relativ zu dieser Datei) */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/anton-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* @shared:start tokens */
:root {
  --navy: #1a1f3b;
  --blue: #2b4fd0;
  --indigo: #5050db;
  --violet: #6f5ddc;
  --lav: #a891f4;
  --lav-2: #9f84f1;
  --lav-3: #beabf6;
  --lilac: #f3f1fd;
  --white: #ffffff;
  --muted: #5b5f77;
  --line: rgba(26, 31, 59, .14);
  --line-2: rgba(26, 31, 59, .26);
  --line-d: rgba(255, 255, 255, .18);
  --line-d2: rgba(255, 255, 255, .34);

  --m: clamp(16px, 4.444vw, 64px);
  --g: 24px;
  --nav-h: 76px;
  --max: 1600px;
  --sec: clamp(72px, 7vw, 112px);

  --ease: cubic-bezier(.16, 1, .3, 1);

  --f-display: "Anton", Impact, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --f-text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Anton wirkt bei gleicher px-Größe etwa 1,3-mal größer als Inter: Sektionstitel ruhig halten (≈ 50 px bei 1024, 62 px bei 1440),
     Zahlen höchstens etwa 1,5-mal so groß wie der Titel; nur der Hero (--fs-xl) bleibt darüber */
  --fs-xl: clamp(64px, 9.4vw, 168px);
  --fs-l: clamp(40px, 1.2rem + 3vw, 76px);
  --fs-num: clamp(56px, 1.5rem + 4.4vw, 104px);
}
@media (max-width: 899.98px) {
  :root { --g: 16px; --nav-h: 64px; --fs-xl: calc((100vw - 2 * var(--m)) / 5.75); --fs-l: clamp(34px, 9.8vw, 46px); --fs-num: clamp(52px, 15vw, 76px); }
}
@media (max-width: 599.98px) { :root { --m: 16px; } }
/* @shared:end tokens */

/* site: zusätzliche Tokens (kompakte Sektion, Kasten-Radius, mittlere Anton-Größe) */
:root { --sec-s: clamp(56px, 5.6vw, 92px); --r: 20px; --fs-m: clamp(32px, 1rem + 2.1vw, 56px); --ph-arc: clamp(28px, 3vw, 40px); }
@media (max-width: 899.98px) { :root { --fs-m: clamp(28px, 7.8vw, 38px); } }

/* @shared:start basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--lilac);
  color: var(--navy);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main, footer { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button, label { -webkit-tap-highlight-color: transparent; }   /* eigene Hover-/Fokus-Rückmeldung statt grauer Tipp-Fläche */
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
[data-nav="navy"] :focus-visible, [data-nav="blue"] :focus-visible, .menu :focus-visible { outline-color: var(--lav-3); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: 12px; }
.skip:focus-visible { outline-color: #fff; }   /* liegt über farbigen Köpfen und dem Hero: weißer Ring statt Blau auf Blau */
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
html:has(.leiste:not(.is-weg):not([hidden])) { scroll-padding-bottom: 120px; }
/* @shared:end basis */

/* site: Basis-Ergänzungen */
[hidden] { display: none !important; }
h4 { margin: 0; }
dl, dd { margin: 0; }
fieldset { min-width: 0; }
[data-ma-ziel]:focus { outline: none; }
/* Fokus auf dunklen Flächen (Plan 2.4 E): Navy/Blau --lav-3, Violett Weiß */
[data-nav="navy"] :focus-visible, [data-nav="blue"] :focus-visible, .menu :focus-visible, .band--navy :focus-visible, .band--blue :focus-visible, .acard--blue :focus-visible { outline-color: var(--lav-3); }
[data-nav="violet"] :focus-visible, .band--violet :focus-visible { outline-color: #fff; }
.band--white :focus-visible, .band--lilac :focus-visible, .form :focus-visible { outline-color: var(--blue); }
.box--navy :focus-visible { outline-color: var(--lav-3); }

/* @shared:start layout */
/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
@media (max-width: 899.98px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid > * { grid-column: 1 / -1 !important; } }
.arch-in { background: var(--prev, var(--lilac)); }
/* @shared:end layout */

/* site: Bogen-Eingänge der Unterseiten (site.js archEntrances, elliptisch)
   - Unterkante: clip-path glättet die Unterkante der Sektion auf Subpixel; damit dort keine Haarlinie in der --prev-Farbe
     durchscheint, trägt der Wrapper unten einen schmalen Streifen in der Farbe der Sektion bzw. der folgenden (--next, inline je Seite).
     Die CTA-Bögen stehen immer vor dem Navy-Footer.
   - Erster Paint: Mit Bewegung steht eine Sektion schon als Bogen da (Werte wie archClip(sec, false): waagerecht w/2,
     senkrecht min(w/2, 0,9·h)), bis site.js übernimmt; .is-offen hebt das auf, sobald der Bogen offen ist. */
.arch-in { background: linear-gradient(to top, var(--next, var(--prev, var(--lilac))) 4px, var(--prev, var(--lilac)) 4px); }
.arch-in:has(> .cta) { --next: var(--navy); }
@media (min-width: 900px) { .anim .arch-in--d > section:not(.is-offen) { clip-path: inset(0 round 50% 50% 0 0 / min(50vw, 90%) min(50vw, 90%) 0 0); } }
@media (max-width: 899.98px) { .anim .arch-in > section:not(.is-offen) { clip-path: inset(0 round 50% 50% 0 0 / min(50vw, 90%) min(50vw, 90%) 0 0); } }

/* @shared:start typo */
/* ---------- Type (Anton in Satzschreibung wie die Live-Seite) ---------- */
.d-xl, .d-l, .num { font-family: var(--f-display); font-weight: 400; font-kerning: normal; }
.d-xl { font-size: var(--fs-xl); line-height: .92; letter-spacing: -.004em; }
.d-l { font-size: var(--fs-l); line-height: 1; letter-spacing: -.002em; }
.d-xl, .d-l { text-wrap: balance; }   /* keine Einzelwörter in der letzten Zeile */
.num { font-size: var(--fs-num); line-height: .84; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.46vw, 21px); line-height: 1.45; max-width: 34em; }
.meta { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.sl-mask { padding: .14em 0 .24em; margin: -.14em 0 -.24em; }
.line { display: block; overflow: clip; padding: .12em 0 .22em; margin: -.12em 0 -.22em; }
.line__in { display: block; will-change: transform; }
/* @shared:end typo */

/* site: Typo der Unterseiten (H1 = --fs-l wie die H2 der Startseite; kompakt bleiben die Abstände, nicht die Schrift) */
.d-h1, .d-m, .d-s { font-family: var(--f-display); font-weight: 400; font-kerning: normal; }
.d-h1 { font-size: var(--fs-l); line-height: .98; letter-spacing: -.002em; text-wrap: balance; }
.d-m { font-size: var(--fs-m); line-height: 1.02; letter-spacing: 0; text-wrap: balance; }
.d-s { font-size: clamp(24px, .75rem + 1.25vw, 32px); line-height: 1.08; letter-spacing: .004em; text-wrap: balance; }
/* Ohne Zeilen-Masken (reduzierte Bewegung, ohne JS) stünden geteilte Anton-Zeilen enger als animiert: Die negativen Ränder
   benachbarter .sl-mask fallen zusammen, mit Masken steht jede Zeile .14em weiter. Etwas mehr Zeilenabstand, damit
   Unterlängen nicht in die Oberlängen der nächsten Zeile laufen. */
html:not(.anim) .d-h1[data-split] { line-height: 1.04; }
html:not(.anim) .d-m[data-split] { line-height: 1.08; }
h3, .h3 { font-family: var(--f-text); font-size: clamp(20px, 1.5vw, 22px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
h4, .h4 { font-family: var(--f-text); font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.008em; }
h3.d-s, h3.d-m, h2.d-s { font-weight: 400; letter-spacing: 0; }
.muted { color: var(--muted); }
.h3 + .meta, h3 + .meta, h4 + .meta { margin-top: 6px; font-weight: 600; color: var(--muted); }
.band--navy :is(h3, .h3) + .meta, .band--blue :is(h3, .h3) + .meta, .box--navy :is(h3, .h3) + .meta { color: rgba(255, 255, 255, .72); }
.band--violet :is(h3, .h3) + .meta { color: #fff; }

/* @shared:start sh */
/* Section head: hairline + Nummer + Label */
.sh { position: relative; display: flex; align-items: baseline; gap: 14px; padding-top: 16px; margin-bottom: clamp(28px, 3vw, 48px); }
.sh__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: currentColor; opacity: .16; transform-origin: 0 50%; }
.sh__idx { color: var(--blue); }
.sh__aside { margin-left: auto; text-align: right; opacity: .78; }
.sh--dark .sh__idx { color: var(--lav-3); }
.sh--dark .sh__rule { opacity: .26; }
@media (max-width: 599.98px) { .sh__aside { display: none; } }
/* @shared:end sh */

/* site: Seiten-Label im Bogen-Kopf (Mini-Bogen statt Nummer, Brotkrume als Link, auf allen Breiten sichtbar) */
.sh__arch { width: 9px; height: 12px; border-radius: 9px 9px 0 0; background: var(--lav-3); flex: none; align-self: center; }
.sh--page { align-items: center; }
/* Brotkrume: Trefferfläche ≥ 44 px hoch (13 px × 1,4 + 2 × 13 px), negativer Rand hält das Layout ruhig */
.sh--page .sh__aside { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 13px 0; margin-block: -13px; text-decoration: none; opacity: .86; transition: opacity .3s ease; }
.sh--page a.sh__aside:hover { opacity: 1; }
.sh__aside .i-arrow { order: -1; width: 14px; height: 14px; transform: rotate(180deg); transition: transform .5s var(--ease); }
.sh__aside:hover .i-arrow { transform: rotate(180deg) translateX(3px); }

/* @shared:start knoepfe */
/* ---------- Buttons & Links ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --hbg: var(--navy); --hfg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: 54px; padding: 0 24px 0 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: -6%; right: -6%; top: 0; height: 100%;
  background: var(--hbg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(102%);
  transition: transform .7s var(--ease), border-radius .7s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:hover, .btn:focus-visible { color: var(--hfg); }
.btn .i-arrow { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn--navy { --bg: var(--navy); --hbg: var(--blue); }
.btn--white { --bg: #fff; --fg: var(--navy); --hbg: var(--lav-3); --hfg: var(--navy); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; gap: 10px; }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .i-arrow { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link:hover .i-arrow { transform: translateX(4px); }
/* @shared:end knoepfe */

/* site: Knopf-Varianten */
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; --hbg: var(--navy); --hfg: #fff; }
.band--navy .btn--line, .band--blue .btn--line, .band--violet .btn--line, .box--navy .btn--line, [data-nav="navy"] .btn--line, [data-nav="blue"] .btn--line, [data-nav="violet"] .btn--line { --hbg: #fff; --hfg: var(--navy); }
.btn--block { width: 100%; justify-content: center; }
/* Touch: kleine Knöpfe im Inhalt (z. B. Kalender) mit 44 px Trefferhöhe (2.10.6); Nav-Knopf und Leiste bleiben wie auf der Startseite */
@media (pointer: coarse) { main .btn--sm { height: 44px; } }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn[disabled]::before { display: none; }
/* Externer Link: Pfeil als CSS-Maske („↗“ fehlt in der Schrift-Teilmenge) */
.ex::after { content: ""; display: inline-block; width: .78em; height: .78em; margin-left: .25em; vertical-align: -.04em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 11.5l7-7M6 4.5h5.5V10' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 11.5l7-7M6 4.5h5.5V10' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Kein Umbruch im Wortpaar (z. B. „KI-Tools“ in engen Kacheln nicht am Bindestrich trennen) */
.nobr { white-space: nowrap; }
/* Hover-Lift nur auf Links und nur mit echtem Zeiger */
.lift { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { a.lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(26, 31, 59, .35); } }

/* @shared:start logo */
/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); }
.mark { width: 56px; height: auto; flex: none; overflow: visible; }
.brand__word { font-family: var(--f-display); font-size: 23px; line-height: 1; letter-spacing: .002em; transform: translateY(1px); }
/* @shared:end logo */

/* @shared:start nav */
/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  color: var(--navy);
  transition: transform .6s var(--ease), background-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: clamp(18px, 2.1vw, 34px); margin-inline: auto; }
.nav__links a { position: relative; font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 0; letter-spacing: .005em; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__toggle { display: none; align-items: center; gap: 10px; height: 40px; padding: 0 2px; font-size: 14px; font-weight: 600; }
.nav__toggle-icon { position: relative; width: 22px; height: 10px; }
.nav__toggle-icon::before, .nav__toggle-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle-icon::before { top: 0; }
.nav__toggle-icon::after { top: 8.5px; }
.menu-open .nav__toggle-icon::before { top: 4.25px; transform: rotate(45deg); }
.menu-open .nav__toggle-icon::after { top: 4.25px; transform: rotate(-45deg); }
.nav.is-solid { box-shadow: 0 1px 0 var(--nav-line, var(--line)); }
.nav.is-solid[data-theme="lilac"] { background: var(--lilac); }
.nav.is-solid[data-theme="white"] { background: #fff; }
.nav.is-solid[data-theme="blue"] { background: var(--blue); --nav-line: var(--line-d); }
.nav.is-solid[data-theme="navy"] { background: var(--navy); --nav-line: var(--line-d); }
.nav[data-theme="blue"], .nav[data-theme="navy"] { color: #fff; }
.nav[data-theme="blue"] .brand, .nav[data-theme="navy"] .brand { color: #fff; }
.nav[data-theme="blue"] .mark g { stroke: #fff; }
.nav[data-theme="blue"] .btn { --bg: #fff; --fg: var(--navy); --hbg: var(--navy); --hfg: #fff; }
.nav[data-theme="navy"] .btn { --hbg: #fff; --hfg: var(--navy); }
.nav.is-hidden { transform: translateY(-100%); box-shadow: none; }
.nav[data-theme="blue"] :focus-visible, .nav[data-theme="navy"] :focus-visible, .menu-open .nav :focus-visible { outline-color: var(--lav-3); }
html:not(.js) .nav { position: absolute; }
.menu-open .nav { transform: none; background: transparent; box-shadow: none; color: #fff; }
.menu-open .nav .brand { color: #fff; }
.menu-open .nav__cta { visibility: hidden; }
@media (max-width: 1099.98px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 599.98px) {
  .nav__inner { gap: 12px; }
  .mark { width: 46px; }
  .brand { gap: 9px; }
  .brand__word { font-size: 21px; }
  .nav__toggle { width: 40px; justify-content: center; }
  .nav__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav__cta { padding: 0 15px; font-size: 13.5px; }
}
/* @shared:end nav */

/* site: Nav-Thema Violett (Partner, Partner werden) */
.nav.is-solid[data-theme="violet"] { background: var(--violet); --nav-line: var(--line-d); }
.nav[data-theme="violet"] { color: #fff; }
.nav[data-theme="violet"] .brand { color: #fff; }
.nav[data-theme="violet"] .mark g { stroke: #fff; }
.nav[data-theme="violet"] .btn { --bg: #fff; --fg: var(--navy); --hbg: var(--navy); --hfg: #fff; }
.nav[data-theme="violet"] :focus-visible { outline-color: #fff; }   /* --lav-3 hätte auf Violett nur 2,42:1 (2.4 E) */

/* @shared:start menu */
/* Mobile-Menü */
.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--navy); color: #fff;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 24px) var(--m) 32px;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease), visibility 0s linear .8s;
}
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease); }
.menu__list { border-top: 1px solid var(--line-d); }
.menu__list li { border-bottom: 1px solid var(--line-d); overflow: clip; }
.menu__list a { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 12px; font-family: var(--f-display); font-size: clamp(34px, 9.6vw, 56px); line-height: 1.05; text-decoration: none; transform: translateY(105%); transition: transform .8s var(--ease); }
.menu__list a span { font-family: var(--f-text); font-size: 13px; font-weight: 500; color: var(--lav-3); font-variant-numeric: tabular-nums; }
.menu-open .menu__list a { transform: none; }
.menu-open .menu__list li:nth-child(2) a { transition-delay: .04s; }
.menu-open .menu__list li:nth-child(3) a { transition-delay: .08s; }
.menu-open .menu__list li:nth-child(4) a { transition-delay: .12s; }
.menu-open .menu__list li:nth-child(5) a { transition-delay: .16s; }
.menu-open .menu__list li:nth-child(6) a { transition-delay: .2s; }
.menu__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; }
.menu__foot .meta { color: rgba(255,255,255,.8); }
.menu__foot .meta a { text-decoration: none; }
.menu__list a[aria-current] { position: relative; padding-left: 26px; color: var(--lav-3); }
.menu__list a[aria-current] span { color: #fff; }
.menu__list a[aria-current]::before { content: ""; position: absolute; left: 0; top: calc(50% - 11px); width: 14px; height: 18px; border-radius: 999px 999px 0 0; background: var(--lav-3); }   /* 14×18 statt 10×12: liest sich neben der Anton-Zeile als Bogen, nicht als Punkt */
.menu__foot .meta a { display: inline-block; padding: 13px 2px; }
/* @shared:end menu */

/* @shared:start anim */
/* Allgemeine Vor-Animations-Zustände */
.anim [data-split] { visibility: hidden; }
.anim [data-fade] { opacity: 0; transform: translateY(24px); }
/* @shared:end anim */

/* site: Kopf-Visual erscheint erst mit dem Intro (Failsafe: ohne Init fällt .anim nach 4 s weg) */
.anim .phead__visual { opacity: 0; }

/* site: Odometer (aus index Z. 355–364, auf den Host .count beschränkt) */
.count { display: flex; gap: clamp(16px, 2vw, 32px); font-size: clamp(52px, 1rem + 5vw, 96px); }
.count__grp { display: flex; flex-direction: column; }
.count__digits { display: flex; font-family: var(--f-display); line-height: 1; margin: -.08em 0; }
.odo { position: relative; display: block; width: .5em; height: 1.02em; overflow: clip; }
.odo > span { position: absolute; inset: 0; display: flex; justify-content: center; line-height: 1.02em; }
.count__lbl { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line-d2); font-size: 13px; font-weight: 500; color: var(--lav-3); letter-spacing: .01em; }
.count__done { display: none; font-family: var(--f-display); font-size: var(--fs-m); line-height: 1; }
.count.is-over, .is-over > .count { display: none; }
.count.is-over ~ .count__done, .is-over > .count__done { display: block; }
html:not(.js) .count { display: none; }
/* Kleiner Odometer; auf Blau und Violett die Einheiten in Weiß .86 (nie --lav-3) */
.count--s { font-size: clamp(36px, .5rem + 3vw, 56px); gap: clamp(12px, 1.4vw, 20px); }
.count--s .count__lbl { margin-top: 10px; padding-top: 8px; font-size: 12px; }
.band--blue .count__lbl, .band--violet .count__lbl, .phead--blue .count__lbl, .phead--violet .count__lbl, .acard--blue .count__lbl, .count--hell .count__lbl { color: rgba(255, 255, 255, .86); }
@media (max-width: 899.98px) {
  .count { gap: 12px; font-size: calc((100vw - 2 * var(--m) - 36px) / 5.1); justify-content: space-between; }
  .count--s { font-size: clamp(36px, 11vw, 56px); justify-content: flex-start; gap: 14px; }
  .count__lbl { font-size: 12px; margin-top: 10px; }
}

/* site: Bogen-Foto und Fakten (aus index Z. 503–519, ohne .core__…) */
.tarch { position: relative; width: 100%; max-width: 380px; display: flex; flex-direction: column; }
@media (min-width: 1600px) { .tarch { max-width: 460px; } }
.tarch__photo { position: relative; aspect-ratio: 561 / 631; overflow: hidden; border-radius: 999px 999px 0 0; background: #7d9fe2; }
.tarch__photo img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; max-width: none; transform-origin: 50% 100%; filter: saturate(.9);
  -webkit-mask-image: linear-gradient(transparent 0, #000 9%); mask-image: linear-gradient(transparent 0, #000 9%); }
.facts { margin: clamp(40px, 4.5vw, 64px) 0 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: baseline; gap: 24px; padding: 20px 0 18px; border-bottom: 1px solid var(--line); }
.fact dt { font-family: var(--f-display); font-size: clamp(36px, 3.4vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.fact dd { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
@media (max-width: 899.98px) { .tarch { max-width: none; } .fact { grid-template-columns: 1fr; gap: 6px; } }

/* site: CTA-Fläche (aus index Z. 651–652 und 662–665, ohne .cta__city) */
.cta { position: relative; background: var(--navy); color: #fff; padding-top: var(--sec); overflow: clip; }
.cta__head { text-align: center; }
.cta__title { font-size: clamp(48px, 1.5rem + 4.4vw, 100px); }
.cta__text { margin: clamp(24px, 2.6vw, 36px) auto 0; color: rgba(255,255,255,.82); max-width: 36em; }
.cta__arches { display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 1.1vw, 16px); margin-top: clamp(40px, 4vw, 64px); }

/* @shared:start carch */
.carch {
  --c: var(--blue); --t: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  width: min(22%, 250px); height: clamp(250px, 24vw, 350px);
  border-radius: 999px 999px 0 0;
  background: var(--c); color: var(--t);
  text-decoration: none; text-align: center;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding: 0 clamp(12px, 1.6vw, 26px) clamp(22px, 2.6vw, 38px);
  transition: color .6s var(--ease);
}
.carch--2 { width: min(27%, 300px); height: clamp(310px, 30vw, 440px); --c: var(--violet); }
.carch--3 { --c: var(--lav-3); --t: var(--navy); }
.carch[hidden] { display: none; }
.carch::before { content: ""; position: absolute; z-index: -1; inset: 0; background: #fff; border-radius: 50% 50% 0 0 / 30% 30% 0 0; transform: translateY(102%); transition: transform .8s var(--ease), border-radius .8s var(--ease); }
.carch:hover::before, .carch:focus-visible::before { transform: translateY(0); border-radius: 0; }
.carch:hover, .carch:focus-visible { color: var(--navy); }
.carch__num { margin-bottom: auto; margin-top: clamp(48px, 4.6vw, 76px); font-family: var(--f-display); font-size: clamp(28px, 3vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; }
.carch--2 .carch__num { font-size: clamp(32px, 3.6vw, 56px); margin-top: clamp(56px, 5.4vw, 88px); }
.carch__label { font-size: clamp(15px, 1.4vw, 20px); font-weight: 600; line-height: 1.2; letter-spacing: -.005em; hyphens: auto; }
.carch__sub { margin-top: 6px; font-size: 13px; font-weight: 500; line-height: 1.35; }
.carch .i-arrow { width: 18px; height: 18px; margin-top: 18px; transition: transform .5s var(--ease); }
.carch:hover .i-arrow { transform: translateX(4px); }
@media (max-width: 899.98px) {
  .cta__title { font-size: clamp(36px, 11vw, 50px); }
  .cta__arches { gap: 8px; }
  .carch { width: 30%; height: 214px; padding: 0 8px 18px; }
  .carch--2 { width: 36%; height: 270px; }
  .carch__num, .carch--2 .carch__num { margin-top: 30px; font-size: clamp(24px, 7.4vw, 40px); }
  .carch .i-arrow { margin-top: 10px; width: 16px; height: 16px; }
}
@media (max-width: 599.98px) {
  .carch__sub { display: none; }
  .carch__label { font-size: 15px; }
}
/* @shared:end carch */

/* @shared:start footer */
/* ---------- Footer ---------- */
.foot { position: relative; background: var(--navy); color: #fff; border-top: 1px solid var(--line-d); padding: clamp(56px, 6vw, 96px) 0 0; }
.foot__top { row-gap: 40px; }
.foot__brand { grid-column: 1 / 6; }
.foot__brand .brand { color: #fff; }
.foot__brand p { margin-top: 18px; max-width: 22em; color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.55; }
.foot__col { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; }
.foot__col:last-child { grid-column: 12 / 13; }
.foot__col h3 { font-size: 13px; font-weight: 500; color: var(--lav-3); margin-bottom: 6px; }
.foot__col a { font-size: 15px; text-decoration: none; color: rgba(255,255,255,.88); width: max-content; }
.foot__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* Schriftgröße am Container, damit .14em Innenabstand = Platz für die Ü-Punkte (Anton ragt über die enge Zeilenhöhe) */
.foot__mark { margin-top: clamp(16px, 2vw, 40px); overflow: clip; padding-top: .14em; font-size: calc((min(100vw, var(--max)) - 2 * var(--m)) / 4.315); }
.foot__word {
  display: block; font-family: var(--f-display); font-size: 1em;
  line-height: .78; letter-spacing: 0; white-space: nowrap;
}
.foot__arcade { width: 100%; height: 44px; overflow: visible; }
.foot__arcade--m { display: none; height: 36px; }
.foot__arcade path { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 1; }
.foot__arcade .foot__ground { stroke: rgba(255,255,255,.26); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 8px 28px; padding: 18px 0 28px; color: rgba(255,255,255,.7); }
.foot__bottom a { text-decoration: none; padding: 13px 0; margin: -13px 0; }
.foot__bottom a:hover { color: #fff; }
/* Fahrrad (Münster als Fahrradstadt): rechts vor „Nach oben ↑“; erst das Fahrrad schiebt nach rechts */
.foot__bike { width: 52px; height: auto; flex: none; margin-left: auto; color: var(--lav-3); opacity: .75; overflow: visible; }
@media (max-width: 599.98px) {
  .foot__bottom > span { flex: 1 1 100%; }
  .foot__bike { margin-left: 0; }
  .foot__bottom > a { margin-left: auto; }
}
@media (max-width: 1099.98px) and (min-width: 900px) {
  /* „info@muensterai.com“ braucht drei Spalten, sonst stößt die Adresse an „LinkedIn“ */
  .foot__brand { grid-column: 1 / 4; }
  .foot__col:nth-last-child(2) { grid-column: span 3; }
  .foot__col:last-child { grid-column: span 2; }
}
@media (max-width: 899.98px) {
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__top > .foot__brand { grid-column: 1 / -1 !important; }
  .foot__top > .foot__col { grid-column: span 1 !important; }
  .foot__arcade--d { display: none; }
  .foot__arcade--m { display: block; }
}
/* @shared:end footer */

/* @shared:start reduce */
/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* @shared:end reduce */


/* ============================================================
   site: NEUE BAUSTEINE (Klassennamen verbindlich, Plan §2.4 B)
   ============================================================ */

/* ---------- Bänder ---------- */
.band { position: relative; padding-block: var(--sec-s); }
.band--white { background: #fff; color: var(--navy); }
.band--lilac { background: var(--lilac); color: var(--navy); }
.band--navy { background: var(--navy); color: #fff; }
.band--blue { background: var(--blue); color: #fff; }
.band--violet { background: var(--violet); color: #fff; }
.band--lav { background: var(--lav-3); color: var(--navy); }
.band--navy .lead, .band--blue .lead { color: rgba(255, 255, 255, .86); }
.band--violet .lead, .band--violet .meta { color: #fff; }
.band--violet .sh__idx, .phead--violet .sh__idx { color: #fff; }   /* --lav-3 hätte auf Violett nur 2,42:1 (2.4 E) */
.band--white .lead, .band--lilac .lead { color: var(--muted); }
.band__head { margin-bottom: clamp(28px, 3vw, 44px); }
/* Arkadenlinie am Fuß eines Bands (site.js baut und zeichnet sie): steht auf der Unterkante, im Innenabstand, nie über Text */
.band--arkade { padding-bottom: calc(var(--sec-s) + var(--ph-arc)); }
svg.band-arkade { position: absolute; left: 0; right: 0; bottom: 0; width: calc(100% - 2 * var(--m)); max-width: calc(var(--max) - 2 * var(--m)); height: var(--ph-arc); margin-inline: auto; overflow: visible; color: rgba(190, 171, 246, .6); pointer-events: none; }
.band-arkade path { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
html:not(.js) .band-arkade { display: none; }
html:not(.js) .band--arkade { padding-bottom: var(--sec-s); }
/* Bogen-Abzeichen .bbadge (Leitlinien, Was du lernst): Fläche füllt sich von unten, die zarte Kontur darum hebt sich nach,
   danach erscheint der Inhalt (Zahl oder Icon). site.js setzt .is-in gestaffelt, sobald die Liste ins Bild kommt. */
.bbadge { --bw: 56px; --bb: var(--blue); position: relative; display: grid; place-items: center; width: var(--bw); height: calc(var(--bw) * 1.18); margin: 7px 0 0 7px; isolation: isolate; flex: none; }   /* Rand = Konturüberstand: die Kontur bleibt in der Spalte */
.bbadge__f { position: absolute; inset: 0; z-index: -1; border-radius: 999px 999px 0 0; background: var(--bb); }
.bbadge::before { content: ""; position: absolute; inset: -7px -7px 0; z-index: -2; border: 1.5px solid var(--lav-3); border-bottom: 0; border-radius: 999px 999px 0 0; }
.bbadge > :not(.bbadge__f) { position: relative; }
.anim .bbadge .bbadge__f { clip-path: inset(100% 0% 0% 0%); transition: clip-path 1.1s var(--ease) calc(var(--i, 0) * 110ms); }
.anim .bbadge::before { opacity: 0; transform: translateY(10px); transition: opacity .6s ease calc(var(--i, 0) * 110ms + 350ms), transform .9s var(--ease) calc(var(--i, 0) * 110ms + 350ms); }
.anim .bbadge > :not(.bbadge__f) { opacity: 0; transform: translateY(14px); transition: opacity .5s ease calc(var(--i, 0) * 110ms + 450ms), transform .8s var(--ease) calc(var(--i, 0) * 110ms + 450ms); }
.anim .bbadge.is-in .bbadge__f { clip-path: inset(0% 0% 0% 0%); }
.anim .bbadge.is-in::before, .anim .bbadge.is-in > :not(.bbadge__f) { opacity: 1; transform: none; }
.band__head .lead { margin-top: clamp(18px, 2vw, 28px); }

/* ---------- Bogen-Kopf .phead (Plan 2.6) ---------- */
.phead { position: relative; color: #fff; background: var(--navy); padding: calc(var(--nav-h) + clamp(32px, 5vw, 72px)) 0 clamp(32px, 4vw, 56px); overflow: clip; }
.phead--navy { background: var(--navy); }
.phead--blue { background: var(--blue); }
.phead--violet { background: var(--violet); }
.phead__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end; }
.phead__copy { grid-column: 1 / 8; min-width: 0; padding-bottom: clamp(28px, 3.4vw, 52px); }
.phead--legal .phead__copy { grid-column: 1 / -1; }
.phead .sh { margin-bottom: clamp(24px, 3vw, 40px); }
.phead__title { margin: 0; color: #fff; }
.phead__lead { margin-top: clamp(18px, 2vw, 28px); max-width: 38em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, .86); text-wrap: pretty; }
.phead--violet .phead__lead, .phead--violet .meta { color: #fff; }
.phead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: clamp(24px, 2.6vw, 36px); }
/* Das Visual steht unten bündig auf der Bodenlinie der Kopf-Arkade und wächst aus ihr heraus */
.phead__visual { grid-column: 8 / 13; align-self: end; position: relative; z-index: 1; min-width: 0; margin-bottom: calc(-1 * var(--ph-arc) - 1px); }
/* 1px über die Inhaltskante: das halbe Strichende der Bodenlinie lugt sonst als Haarstreifen rechts neben dem Visual hervor */
@media (min-width: 900px) { .phead__visual { margin-right: -1px; } }
svg.phead__arcade { display: block; width: calc(100% - 2 * var(--m)); max-width: calc(var(--max) - 2 * var(--m)); height: var(--ph-arc); margin-inline: auto; overflow: visible; color: rgba(190, 171, 246, .3); }
.phead__arcade path { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
html:not(.js) .phead__arcade { border-bottom: 1.5px solid currentColor; }
@media (max-width: 899.98px) {
  .phead__in { display: block; }
  .phead__copy { padding-bottom: 28px; }
  .phead__visual { margin-top: 0; }
}
@media (max-width: 599.98px) {
  .phead__visual--deko { display: none; }
  .phead__visual--klein { max-height: 96px; }
  .phead__visual--klein .arc { height: 96px; }
}

/* ---------- Generator-Arkaden (MA.arcade) ---------- */
.arc { display: block; width: 100%; overflow: visible; }
.arc path { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.arc .arc__dash { stroke-dasharray: 6 7; }
.arc__fo { overflow: visible; }
.arc__lbl { box-sizing: border-box; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px; text-align: center;
  font-family: var(--f-text); font-size: 13px; font-weight: 600; line-height: 1.25; color: inherit; hyphens: auto; }
.arc__lbl--unten { justify-content: flex-end; padding-bottom: 12px; }
.arc__lbl--scheitel { justify-content: flex-start; padding-top: 4px; }

/* ---------- Haarlinien-Spalten .hcol (statt Box-Karten) ---------- */
.hcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.hcols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 899.98px) { .hcols, .hcols--2 { grid-template-columns: minmax(0, 1fr); } }
.hcol { position: relative; min-width: 0; padding-top: 22px; }
.hcol__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: currentColor; opacity: .16; transform-origin: 0 50%; }
.band--navy .hcol__rule, .band--blue .hcol__rule, .band--violet .hcol__rule { opacity: .26; }
.hcol__idx { display: block; margin-bottom: 14px; font-family: var(--f-display); font-size: 34px; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.band--navy .hcol__idx, .band--blue .hcol__idx { color: var(--lav-3); }
.band--violet .hcol__idx { color: #fff; }
.hcol :is(h3, .h3) { margin: 0; }
.hcol p:not(.meta) { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.band--navy .hcol p:not(.meta), .band--blue .hcol p:not(.meta) { color: rgba(255, 255, 255, .86); }
.band--violet .hcol p:not(.meta) { color: #fff; }
.hcol .tags { margin-top: 18px; }

/* ---------- Kästen: nur Formular (.box) und Navy-Kontaktkarte (.box--navy) ---------- */
.box { position: relative; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.6vw, 36px); }
.box--navy { --bw: min(34%, 220px); background: var(--navy); color: #fff; border-color: transparent; overflow: hidden; isolation: isolate; }
/* großer, ruhender Bogen-Umriss im Hintergrund der Kontaktkarte: steht rechts in einer eigenen Spalte (Breite --bw),
   der Inhalt bleibt links davon und läuft nie durch den Umriss. Unter 600 px entfällt der Umriss (kein Platz neben dem Text). */
.box--navy::before { content: ""; position: absolute; z-index: -1; right: 16px; bottom: -1px; width: var(--bw); height: min(86%, 340px); border: 1px solid var(--line-d); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.box--navy > * { max-width: calc(100% - var(--bw) - 24px); }
@media (max-width: 599.98px) {
  .box--navy::before { display: none; }
  .box--navy > * { max-width: none; }
}

/* ---------- Bogen-Fläche .acard (Kämpfer-Regel) ---------- */
.acard { --ah: clamp(72px, 9vw, 150px); position: relative; background: #fff; color: var(--navy); text-align: center;
  border: 1.5px solid var(--line-2); border-radius: 50% 50% var(--r) var(--r) / var(--ah) var(--ah) var(--r) var(--r);
  padding: calc(var(--ah) * .55) clamp(20px, 3vw, 48px) clamp(24px, 3vw, 44px); }
.acard.has-outline { border-color: transparent; }
.acard__kopf { min-height: calc(var(--ah) * .45); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.acard__body { margin-top: clamp(14px, 1.6vw, 22px); }
.acard--blue { background: var(--blue); color: #fff; border-color: transparent; }
.acard--navy { background: var(--navy); color: #fff; border-color: transparent; }
.acard--lav { background: var(--lav-3); color: var(--navy); border-color: transparent; }
@media (max-width: 599.98px) { .acard { --ah: 72px; padding: 56px 20px 28px; } }
/* Kontur-Overlay von MA.outline */
.ol { position: absolute; pointer-events: none; overflow: visible; }
.ol path { fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Scheitel-Inschrift ---------- */
.inscr { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; text-align: center; text-wrap: balance; color: var(--blue); }
.band--navy .inscr, .acard--navy .inscr { color: var(--lav-3); }
.band--blue .inscr, .acard--blue .inscr { color: rgba(255, 255, 255, .86); }
.band--violet .inscr { color: #fff; }

/* ---------- Hinweis-Block .note ---------- */
.note { border-left: 2px solid var(--violet); padding: 16px 0 16px 20px; }
.band--navy .note, .band--blue .note, .band--violet .note, .box--navy .note { border-left-color: var(--lav-3); }
.note--fill { background: var(--lilac); padding: 18px 22px; border-radius: 0 12px 12px 0; }
.band--lilac .note--fill { background: #fff; }
.note p + p { margin-top: .8em; }

/* ---------- Verlaufs-Regel für Abfolgen (Logo-Verlauf = Fortschritt) ---------- */
.seq-1 { --c: var(--blue); --t: #fff; }
.seq-2 { --c: var(--indigo); --t: #fff; }
.seq-3 { --c: var(--violet); --t: #fff; }
.seq-4 { --c: var(--lav-3); --t: var(--navy); }

/* ---------- Bogen-Kachel .ptile ---------- */
.ptiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); overflow: clip; padding-top: 2px; }
.ptile { position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
  height: clamp(200px, 20vw, 280px); padding: clamp(28px, 3vw, 44px) clamp(14px, 1.4vw, 22px) clamp(20px, 2vw, 28px);
  border-radius: 999px 999px 18px 18px; background: var(--c, var(--blue)); color: var(--t, #fff); text-decoration: none; }
.ptile__idx { font-family: var(--f-display); font-size: clamp(30px, 3vw, 48px); line-height: 1; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .72); }
.seq-4 .ptile__idx, .seq-4.ptile .ptile__idx { color: rgba(26, 31, 59, .6); }
/* Umbruch nur an Leerzeichen, Bindestrich und &shy; (z. B. „Maß&shy;geschneiderte“); break-word greift erst, wenn ein Wort sonst überliefe */
.ptile__wort { font-size: 18px; font-weight: 600; line-height: 1.25; hyphens: manual; overflow-wrap: break-word; }
a.ptile { transition: color .6s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
a.ptile::before { content: ""; position: absolute; z-index: -1; inset: 0; background: #fff; border-radius: 50% 50% 0 0 / 30% 30% 0 0; transform: translateY(102%); transition: transform .8s var(--ease), border-radius .8s var(--ease); }
a.ptile:hover::before, a.ptile:focus-visible::before { transform: translateY(0); border-radius: 0; }
a.ptile:hover, a.ptile:focus-visible { color: var(--navy); }
a.ptile:hover .ptile__idx, a.ptile:focus-visible .ptile__idx { color: rgba(26, 31, 59, .6); }
/* Pfeil unten rechts in einer eigenen Zeile unter dem Schlagwort: der Text bleibt mittig und berührt den Pfeil nie */
a.ptile .i-arrow { position: absolute; right: clamp(14px, 1.4vw, 22px); bottom: clamp(20px, 2vw, 28px); width: 18px; height: 18px; transition: transform .5s var(--ease); }
a.ptile .ptile__wort { padding: 0 0 26px; }
a.ptile:hover .i-arrow, a.ptile:focus-visible .i-arrow { transform: translateX(4px); }
/* volle Variante (kein Link): größer, ganzer Satz unterhalb der Kämpferlinie */
.ptile--full { height: clamp(320px, 26vw, 400px); justify-content: flex-start; }
.ptile--full .ptile__text { margin-top: auto; font-size: 16px; line-height: 1.5; text-align: left; hyphens: auto; }
.ptile--full .ptile__text strong { font-weight: 700; }
@media (max-width: 899.98px) {
  .ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ptile { height: 168px; padding: 24px 12px 18px; }
  .ptile__wort { font-size: 15px; }
  a.ptile .i-arrow { right: 12px; bottom: 14px; width: 16px; height: 16px; }
  a.ptile .ptile__wort { padding: 0 0 14px; }
}
/* volle Kacheln: ≥ 1200 vier Spalten, 900–1199 2×2, darunter eine Zeile je Fall (Mini-Bogen 64×76 + Satz) */
.ptiles--full { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .ptiles--full { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899.98px) {
  .ptiles--full { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ptile--full { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 16px; height: auto; min-height: 100px; padding: 12px 0;
    background: none; color: inherit; border-radius: 0; text-align: left; border-bottom: 1px solid var(--line); }
  .ptile--full .ptile__idx { display: grid; place-items: center; width: 64px; height: 76px; padding-top: 6px; border-radius: 999px 999px 10px 10px; background: var(--c); color: var(--t); font-size: 26px; }
  .ptile--full .ptile__text { margin: 0; font-size: 15.5px; }
}

/* ---------- Chips / Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #ebe7fd; color: var(--blue); font-size: 13px; font-weight: 600; line-height: 1.25; }
.band--lilac .tag, .tag--w { background: #fff; }
.tag--d { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Bogen-Bullets und Prosa (Rechtliches) ---------- */
/* .alist überall; in .prose bekommt auch eine Liste ohne Klasse die Bogen-Bullets (umgesetzte Rechtstexte) */
.alist li, .prose ul:not([class]) > li { position: relative; padding-left: 22px; }
.alist li + li, .prose ul:not([class]) > li + li { margin-top: 8px; }
.alist li::before, .prose ul:not([class]) > li::before { content: ""; position: absolute; left: 2px; top: calc(.8em - 6px); width: 9px; height: 11px; border-radius: 9px 9px 0 0; background: var(--blue); }
.band--navy .alist li::before, .band--blue .alist li::before, .band--violet .alist li::before, .box--navy .alist li::before,
.band--navy .prose ul:not([class]) > li::before, .band--blue .prose ul:not([class]) > li::before, .band--violet .prose ul:not([class]) > li::before { background: var(--lav-3); }
.prose { max-width: 74ch; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.7; color: #2a2e45; }
.prose p + p, .prose p + ul, .prose ul + p, .prose .note + p, .prose p + .note { margin-top: 1em; }
.prose ul + ul { margin-top: 8px; }
.prose h2 { margin: 40px 0 12px; font-family: var(--f-text); font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose strong { font-weight: 700; color: var(--navy); }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-thickness .2s ease; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-thickness: 2px; }

/* ---------- Formular-Bausteine (Demo: nichts wird gesendet, Plan 2.7) ---------- */
.form { position: relative; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 2.6vw, 36px); }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 20px; min-width: 0; }
.field > label, .field__label { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: #3a3c40; }
.field__hint { font-size: 13px; line-height: 1.45; color: var(--muted); }
/* Grundregel mit niedriger Spezifität (0,1,1; die Ausschlüsse stehen in :where), damit :focus und [aria-invalid] darunter gewinnen */
.field input:where(:not([type="checkbox"], [type="radio"], [type="hidden"])), .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  font: inherit; font-size: 16px; line-height: 1.4; color: var(--navy); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231a1f3b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px 16px no-repeat; }
.field ::placeholder { color: #8b8fa6; opacity: 1; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 79, 208, .14); }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: #b23a48; }
.field :is(input, select, textarea)[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(178, 58, 72, .14); }
.field__err { font-size: 13px; line-height: 1.4; font-weight: 500; color: #b23a48; }
.field__err:empty { display: none; }
.field__count { align-self: flex-end; margin-top: -2px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .3s ease; }
.field__count.is-ok { color: var(--blue); }
.fmsg--err { margin: 0 0 22px; padding: 12px 16px; border-left: 2px solid #b23a48; border-radius: 0 10px 10px 0; background: #fbeef0; color: #8f2836; font-size: 14.5px; font-weight: 600; }
.fmsg--ok { text-align: left; align-self: start; }
.fmsg--ok:focus { outline: none; }
.fmsg--ok p { font-size: 17px; line-height: 1.55; }
.fmsg--ok p + p { margin-top: 14px; }
.fmsg--ok a:not(.btn):not(.link) { color: var(--blue); text-underline-offset: 3px; }
.form__foot { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form__foot a { color: var(--blue); text-underline-offset: 3px; }
.form__foot p + p { margin-top: 6px; }
.nojs-hint { margin-top: 12px; font-size: 13px; color: var(--muted); }
.js .nojs-hint { display: none; }
.honigtopf { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Mehrfachauswahl als Chips (echte Checkboxen, visuell versteckt) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; border: 0; }
.chips > legend { float: left; width: 100%; margin: 0 0 4px; padding: 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: #3a3c40; }
.chips > .field__hint, .chips > .field__err { flex: 1 1 100%; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 14.5px; font-weight: 600; line-height: 1.2; cursor: pointer; user-select: none; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.chip__ok { width: 0; height: 14px; flex: none; overflow: visible; transition: width .3s var(--ease), margin .3s var(--ease); }
.chip__ok path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s var(--ease) .05s; }
.chip:has(input:checked) { background: var(--blue); color: #fff; box-shadow: none; }
.chip:has(input:checked) .chip__ok { width: 14px; margin-right: 8px; }
.chip:has(input:checked) .chip__ok path { stroke-dashoffset: 0; }
.chip:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.chips[aria-invalid="true"] .chip:not(:has(input:checked)) { box-shadow: inset 0 0 0 1px #b23a48; }
/* Segment-Schalter (Radiogruppe statt Tabs); die Navy-Pille gleitet rein per CSS */
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 26px; padding: 4px; border: 0; border-radius: 999px; background: var(--lilac); box-shadow: inset 0 0 0 1px var(--line); }
.seg__opt { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--navy); cursor: pointer; transition: color .45s var(--ease); }
.seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.seg__opt:has(input:checked) { color: #fff; }
.seg__opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.seg__pill { position: absolute; z-index: 0; left: 4px; top: 4px; bottom: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--navy); }
.seg.is-ready .seg__pill { transition: transform .45s var(--ease); }
.seg:has(.seg__opt:nth-of-type(2) input:checked) .seg__pill { transform: translateX(100%); }
.seg-fade { transition: opacity .2s ease; }
.seg-fade.is-wechsel { opacity: 0; }
@media (max-width: 359.98px) { .seg__opt { font-size: 13px; padding: 6px 8px; } }
/* Fieldsets mit Überschrift in einer Zeile (Anton-Index + Titel) */
.fset { margin: 0 0 34px; padding: 0; border: 0; min-width: 0; }
.fset > legend { display: flex; align-items: baseline; gap: 12px; width: 100%; margin: 0 0 22px; padding: 0 0 12px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 700; line-height: 1.25; }
.fset__n { font-family: var(--f-display); font-size: 28px; font-weight: 400; line-height: 1; color: var(--blue); }
/* Fortschritt (klebt oben in der Formular-Karte) */
.fprog { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 2; display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 12px 0; background: #fff; }
.fprog__bar { position: relative; flex: 1; height: 6px; border-radius: 999px; background: var(--lilac); overflow: hidden; }
.fprog__fill { position: absolute; inset: 0; border-radius: 999px; background: var(--blue); clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0 round 999px); transition: clip-path .5s var(--ease); }
.fprog .meta { flex: none; color: var(--muted); }
@media (max-width: 599.98px) { .form { padding: 20px; } }

/* ---------- Karte mit Einwilligung .mapc (Bogenfenster, öffnet sich zum Rechteck) ---------- */
.mapc { position: relative; }
.mapc__frame { position: relative; isolation: isolate; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 20px 20px; background: #e9e5fc; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.mapc__ph { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 16px; text-align: center;
  padding: 0 clamp(18px, 2.4vw, 32px) clamp(40px, 4vw, 56px); transition: opacity .4s ease, visibility 0s linear .4s; }
.mapc__mark { width: 38%; max-width: 150px; height: auto; margin: auto 0; opacity: .32; }
.mapc__ph p { max-width: 30em; font-size: 14px; line-height: 1.5; color: #4a4e66; }
.mapc__ph p a { color: var(--blue); text-underline-offset: 3px; }
.mapc__arc { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; color: rgba(26, 31, 59, .16); pointer-events: none; }
.mapc__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapc.is-open .mapc__frame { border-radius: 20px; box-shadow: none; }
.mapc.is-open .mapc__ph { opacity: 0; visibility: hidden; }
.mapc.is-loading .mapc__ph [data-map-load] { opacity: .6; pointer-events: none; }
.mapc__route { margin-top: 18px; }
@media (min-width: 900px) and (max-width: 1199.98px) { .mapc__frame { aspect-ratio: 16 / 9; border-radius: 50% 50% 20px 20px / 120px 120px 20px 20px; } }
@media (max-width: 899.98px) { .mapc__frame { aspect-ratio: 1 / 1; border-radius: 50% 50% 20px 20px / 90px 90px 20px 20px; } .mapc__mark { width: 26%; } }
/* 600–899: quadratisch wäre das Fenster fast so hoch wie der Bildschirm; 16:10 mit flacherem Bogen (Abweichung vom Plan, 1/1) */
@media (min-width: 600px) and (max-width: 899.98px) { .mapc__frame { aspect-ratio: 16 / 10; border-radius: 50% 50% 20px 20px / 110px 110px 20px 20px; } .mapc__mark { width: 16%; } }

/* ---------- Seitenwechsel als Bogen (Cross-Document View Transitions, nur CSS, Plan 2.4 D) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .nav { view-transition-name: nav; }
  .leiste { view-transition-name: leiste; }
  ::view-transition-old(root) { animation: .3s ease both ma-out; }
  ::view-transition-new(root) { animation: .75s cubic-bezier(.16,1,.3,1) both ma-arch; }
  @keyframes ma-out { to { opacity: .4; transform: translateY(-2%); } }
  @keyframes ma-arch {
    from { clip-path: inset(100% 0 0 0 round 50vw 50vw 0 0 / 40vh 40vh 0 0); }
    to   { clip-path: inset(0 0 0 0 round 0 0 0 0 / 0 0 0 0); }
  }
}
