/* ==========================================================================
   Studio Endform · Website 14 · Gestaltung
   Leitidee: Aus dem Entwurf wird die Endform. Was noch nicht fertig ist, steht als Umriss
   mit Hilfslinien da. Was fertig ist, ist gefüllt und klar.
   Der Hero erzählt die Verwandlung beim Scrollen: Die Fläche bleibt stehen, die gezeichnete Rohform der Überschrift
   nimmt Buchstabe für Buchstabe Form und Farbe an. Im Footer bleibt die Wortmarke als Blindprägung im Papier zurück.
   Jeder weitere Effekt hat eine eigene Aufgabe: Die Leistungen erscheinen ruhig und einzeln, der Ablauf läuft seitlich,
   der Leitsatz kommt näher.
   Zustände sind überall gleich: Textlinks bekommen beim Überfahren und bei Tastaturfokus einen Strich von links,
   der aktuelle Bereich einen orangen Strich, Schaltflächen füllen sich, ohne ihre Größe zu ändern.

   Inhalt
   02 Tokens            08 Hero                   14 Kontakt
   03 Basis             09 Leistungen             15 Footer
   04 Raster, Schrift   10 Ablauf                 16 Unterseiten
   05 Elemente          11 Studio                 17 Bewegung beim Einstieg
   06 Kopfzeile         12 FAQ                    18 Ohne Bewegung, ohne Skript, Druck
   07 Menü              13 Leitsatz
   (01 Schriften stehen davor und werden beim Bauen eingesetzt)
   ========================================================================== */

/* 01 · Schriften: lokal eingebunden, keine Anfrage an fremde Server */
@font-face { font-family: "Inter Tight"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-tight-latin-400-normal.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 Tight"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-tight-latin-500-normal.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 Tight"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-tight-latin-600-normal.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 Tight"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-tight-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-tight-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-tight-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.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: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.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: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* 02 · Tokens ------------------------------------------------------------- */
:root {
  --se-weiss: #F8F8F5;
  --se-schwarz: #1E1B1B;
  --se-signal: #FA4616;
  --se-stein: #E4E4E1;
  --se-grau: #97999B;
  --se-gruen: #219C4A;      /* nur für „Verfügbar für neue Projekte“ */
  --se-textgrau: #5E6063;   /* kleiner Text auf Weiß und Stein */

  /* Fläche je Bereich: wird über data-theme umgestellt */
  --bg: var(--se-weiss);
  --fg: var(--se-schwarz);
  --muted: var(--se-textgrau);
  --line: #CDCDC8;
  --outline: rgba(30, 27, 27, 0.62);   /* Farbe der Umrisse */
  --focus: var(--se-schwarz);
  --grain: url("../img/texture/grain-light.png");

  --font: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Raster: 4 Spalten auf dem Smartphone, 8 auf dem Tablet, 12 ab 1024 px */
  --cols: 4;
  --margin: 20px;
  --gutter: 16px;
  --header-h: 56px;
  --section: clamp(88px, 19vw, 136px);

  /* Schriftgrößen. Jede Größe hat ein festes Maximum: Auf sehr breiten Bildschirmen wächst die Schrift nicht weiter,
     dort begrenzt --page-max die Breite des Inhalts. Fließtext und Formularschrift bleiben gut lesbar. */
  --fs-h2: clamp(34px, 9.4vw, 52px);
  --fs-display: clamp(48px, 12.4vw, 96px);    /* große Einzelwörter: Leistungen, Kontakt, Unterseiten */
  --fs-lead: clamp(19px, 17px + 0.5vw, 25px);
  --fs-body: clamp(16px, 15px + 0.2vw, 18px);
  --fs-small: 14px;
  --fs-label: 12px;
  --fs-nav: 13px;
  --fs-status: 12px;        /* Verfügbarkeit: kompakte Information, kein Button */
  --btn-h: 48px;
  --btn-lg-h: 54px;
  --page-max: 2080px;       /* größte Breite des Inhalts, Flächen laufen weiter bis an den Rand */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t-ui: 280ms;
  --ease-form: cubic-bezier(0.72, 0, 0.18, 1);   /* Umriss wird Form: ruhig anlaufen, zügig durch die Mitte, lang ausklingen */
  --t-form: 900ms;          /* Dauer, in der ein Umriss zur Form wird */
}
@media (min-width: 768px) {
  :root { --cols: 8; --margin: 32px; --gutter: 20px; --header-h: 64px; --fs-h2: clamp(44px, 5.6vw, 54px); }
}
@media (min-width: 1024px) {
  /* Überschriften und große Wörter erreichen ihr Maximum schon bei rund 1600 px Breite (64 und 104 px).
     Darüber wächst die Schrift nicht mehr, auch nicht auf einem 49-Zoll-Bildschirm. */
  :root { --cols: 12; --margin: 48px; --gutter: 24px; --header-h: 72px; --section: clamp(120px, 10vw, 176px); --fs-h2: clamp(48px, 4vw, 64px); --fs-display: clamp(76px, 6.6vw, 104px); }
}
/* Ab 1920 px wächst nichts mehr mit der Breite. Der Inhalt bleibt höchstens --page-max breit und steht in der Mitte,
   die Flächen laufen bis an den Rand. So wirkt die Seite auf einem 49-Zoll-Bildschirm wie auf einem großen Monitor. */
@media (min-width: 1920px) {
  :root { --margin: max(64px, (100vw - var(--page-max)) / 2); --gutter: clamp(24px, 1.3vw, 28px); --header-h: 76px; --fs-small: 15px; --fs-label: 13px; --fs-nav: 13.5px; --fs-status: 12.5px; --btn-lg-h: 56px; }
}
@media (min-width: 2400px) {
  :root { --fs-body: 19px; }
}
/* Quer gehaltene Geräte mit Aussparung: Der Seitenrand bleibt mindestens so breit wie der sichere Bereich */
@supports (padding: max(0px, env(safe-area-inset-left))) {
  :root { --margin: max(20px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  @media (min-width: 768px) { :root { --margin: max(32px, env(safe-area-inset-left), env(safe-area-inset-right)); } }
  @media (min-width: 1024px) { :root { --margin: max(48px, env(safe-area-inset-left), env(safe-area-inset-right)); } }
  @media (min-width: 1920px) { :root { --margin: max(64px, (100vw - var(--page-max)) / 2); } }
}

[data-theme="light"] { --bg: var(--se-weiss); --fg: var(--se-schwarz); --muted: var(--se-textgrau); --line: #CDCDC8; --outline: rgba(30, 27, 27, 0.62); --focus: var(--se-schwarz); --grain: url("../img/texture/grain-light.png"); }
[data-theme="dark"] { --bg: var(--se-schwarz); --fg: var(--se-weiss); --muted: #A9AAAC; --line: rgba(248, 248, 245, 0.18); --outline: rgba(248, 248, 245, 0.6); --focus: var(--se-weiss); --grain: url("../img/texture/grain-dark.png"); }
[data-theme="stone"] { --bg: var(--se-stein); --fg: var(--se-schwarz); --muted: #55575A; --line: #BEBEB9; --outline: rgba(30, 27, 27, 0.62); --focus: var(--se-schwarz); --grain: url("../img/texture/grain-light.png"); }
[data-theme="signal"] { --bg: var(--se-signal); --fg: var(--se-schwarz); --muted: var(--se-schwarz); --line: rgba(30, 27, 27, 0.4); --outline: rgba(30, 27, 27, 0.9); --focus: var(--se-schwarz); --grain: url("../img/texture/grain-signal.png"); }

/* 03 · Basis -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
/* Nur Sprünge über Links gleiten. Das Scrollen mit Rad, Trackpad und Finger bleibt unberührt. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.5; font-weight: 400;
  color: var(--se-schwarz); background: var(--se-weiss);
  font-kerning: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Jede Fläche trägt ihre Körnung selbst. Sie liegt fest im Bereich und scrollt mit ihm wie Papier. */
[data-theme] { background-color: var(--bg); color: var(--fg); }
.grain { background-image: var(--grain); background-size: 128px 128px; }

[hidden] { display: none !important; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--se-signal); color: var(--se-schwarz); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed; left: var(--margin); top: 10px; z-index: 1000; padding: 14px 18px;
  background: var(--se-schwarz); color: var(--se-weiss);
  font: 500 var(--fs-nav)/1 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; outline-color: var(--se-signal); }

/* 04 · Raster und Schrift --------------------------------------------------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: var(--section); }

.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 0.98; letter-spacing: -0.042em; text-wrap: balance; }
.lead { font-size: var(--fs-lead); line-height: 1.32; letter-spacing: -0.014em; font-weight: 500; }
.dot { color: var(--se-signal); }

.sec-head { row-gap: 20px; align-items: end; }
.sec-head .h2 { grid-column: 1 / -1; }
.sec-head__text { grid-column: 1 / -1; max-width: 30em; color: var(--muted); font-size: var(--fs-body); }
@media (min-width: 768px) {
  .sec-head .h2 { grid-column: 1 / span 6; }
  .sec-head__text { grid-column: 1 / span 5; }
}
@media (min-width: 1024px) {
  .sec-head .h2 { grid-column: 1 / span 6; }
  .sec-head__text { grid-column: 7 / span 5; padding-bottom: 0.5em; }
}

/* Ein Wort in drei Lagen: unten der Umriss, darüber die Fläche in der Farbe des Hintergrunds, oben die gefüllte Form.
   Die mittlere Lage verdeckt alles innerhalb der Buchstaben. So bleibt vom Strich nur die äußere Hälfte stehen:
   eine saubere Außenkontur, auch wo sich Teile eines Buchstabens oder zwei Buchstaben überlappen.
   Die Form schiebt sich von links über den Umriss, sobald das Wort an der Reihe ist (.is-formed). */
.fw { position: relative; display: block; }
.fw__o, .fw__k, .fw__s { display: block; white-space: nowrap; }
.fw__k, .fw__s { position: absolute; left: 0; top: 0; -webkit-user-select: none; user-select: none; }
.fw__k { display: none; }
.fw__s { color: var(--fg); }
@supports ((-webkit-text-stroke: 1px black) and ((-webkit-background-clip: text) or (background-clip: text))) {
  html.anim .fw__o, .fw--open .fw__o { color: transparent; -webkit-text-stroke: clamp(2px, 0.022em, 5px) var(--outline); }
  html.anim .fw__o .dot, .fw__k .dot { color: transparent; }
  html.anim .fw__k, .fw--open .fw__k {
    display: block; color: transparent; padding: 0.3em 0.14em; margin: -0.3em -0.14em;
    background: var(--bg) var(--grain) 0 0 / 128px 128px; -webkit-background-clip: text; background-clip: text;
  }
}
html.anim .fw__s { clip-path: inset(-12% 104% -12% -3%); transition: clip-path var(--t-form) var(--ease-form); }
html.anim .is-formed .fw__s, html.anim .fw.is-formed .fw__s { clip-path: inset(-12% -3% -12% -3%); }
/* Ist die Form da, verschwindet der Umriss darunter, damit kein Rand um die Buchstaben bleibt */
html.anim .is-formed .fw__o, html.anim .fw.is-formed .fw__o { -webkit-text-stroke-color: transparent; transition: -webkit-text-stroke-color 200ms linear var(--t-form); }

/* 05 · Elemente ------------------------------------------------------------- */
/* Buttons: Beim Überfahren schiebt sich die Gegenfarbe von links herein, der Pfeil wird länger.
   Beim Drücken dunkelt die Fläche kurz ab. Der Button selbst bewegt sich nicht: Der Pfeil hat eine feste Box,
   er wächst nur innerhalb davon (transform). Breite, Text und Lage ändern sich nie. */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--btn-h); padding: 0 20px; border: 0; border-radius: 0;
  font: 500 var(--fs-nav)/1 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
  background: var(--btn-bg, var(--fg)); color: var(--btn-fg, var(--bg));
  transition: color var(--t-ui) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-over, var(--se-signal));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease);
}
.btn--lg { min-height: var(--btn-lg-h); padding: 0 22px; gap: 28px; }
.btn--signal { --btn-bg: var(--se-signal); --btn-fg: var(--se-schwarz); --btn-over: var(--fg); --btn-over-fg: var(--bg); }
.btn--ink { --btn-bg: var(--fg); --btn-fg: var(--bg); --btn-over: var(--se-signal); --btn-over-fg: var(--se-schwarz); }
/* Pfeil: feste Box von 24 px, davon ragen 8 px in den Innenabstand. In Ruhe ist der Pfeil 16 px lang, beim Überfahren 24 px. */
.btn__arrow { position: relative; width: 24px; height: 9px; margin-right: -8px; flex: none; }
.btn__arrow::before { content: ""; position: absolute; left: 0; width: 15px; top: 4px; height: 1px; background: currentColor; transform-origin: left; transition: transform var(--t-ui) var(--ease); }
.btn__arrow::after { content: ""; position: absolute; left: 8px; top: 0.5px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transform-origin: center; transition: transform var(--t-ui) var(--ease); }
.btn.is-over .btn__arrow::before { transform: scaleX(1.5333); }
.btn.is-over .btn__arrow::after { transform: translateX(8px) rotate(45deg); }
@media (hover: hover) {
  .btn:hover { color: var(--btn-over-fg, var(--se-schwarz)); }
  .btn:hover::before { transform: scaleX(1); }
  .btn:hover .btn__arrow::before { transform: scaleX(1.5333); }
  .btn:hover .btn__arrow::after { transform: translateX(8px) rotate(45deg); }
}
.btn:active::before { transform: scaleX(1); transition-duration: 0ms; }
.btn:active { color: var(--btn-over-fg, var(--se-schwarz)); }
.btn:focus-visible { outline-offset: 4px; }

/* Textlinks: Unterstrich, der beim Überfahren orange wird */
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: currentColor; transition: text-decoration-color var(--t-fast) var(--ease); }
@media (hover: hover) { .link:hover { text-decoration-color: var(--se-signal); text-decoration-thickness: 2px; } }

/* Verfügbarkeit: grüner Punkt mit Text, klein und leicht. Nur hier gibt es Grün. */
.status { display: inline-flex; align-items: center; gap: 10px; font: 400 var(--fs-status)/1.3 var(--mono); letter-spacing: 0.01em; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--se-gruen); box-shadow: 0 0 0 3px rgba(33, 156, 74, 0.22); flex: none; }

.tags { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 400 var(--fs-label)/1.4 var(--mono); color: var(--muted); }

/* 06 · Kopfzeile -------------------------------------------------------------
   Aufbau und Verhalten aus V5: oben durchsichtig, nach dem ersten Scrollen ein weicher Schleier in der Farbe
   der Fläche darunter mit gestufter Unschärfe. Am oberen Rand zeigt eine feine Linie den Fortschritt der Seite,
   neben der Wortmarke stehen Nummer und Name des Bereichs.
   Die Teile stehen einzeln fest am oberen Rand. So behalten der Button und der grüne Punkt ihre Farbe,
   wenn die Zeile über einer anderen Fläche ihre Farbe wechselt. */
.site-header { color: var(--fg); }
.site-header__back, .site-header__progress, .site-header__bar, .site-header__signal, .site-header__cta { position: fixed; top: 0; }
.site-header__back { left: 0; right: 0; z-index: 100; height: calc(var(--header-h) + 24px); pointer-events: none; transition: opacity var(--t-ui) var(--ease); }
.site-header__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 30%, transparent 100%);
  background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 55%, transparent 100%);
}
.site-header__blur, .site-header__blur i { position: absolute; inset: 0; }
.site-header__blur i:nth-child(1) { -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); -webkit-mask: linear-gradient(to top, transparent 0%, #000 25%, #000 100%); mask: linear-gradient(to top, transparent 0%, #000 25%, #000 100%); }
.site-header__blur i:nth-child(2) { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); -webkit-mask: linear-gradient(to top, transparent 20%, #000 50%, #000 100%); mask: linear-gradient(to top, transparent 20%, #000 50%, #000 100%); }
.site-header__blur i:nth-child(3) { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); -webkit-mask: linear-gradient(to top, transparent 45%, #000 75%, #000 100%); mask: linear-gradient(to top, transparent 45%, #000 75%, #000 100%); }
.site-header__blur i:nth-child(4) { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask: linear-gradient(to top, transparent 70%, #000 100%); mask: linear-gradient(to top, transparent 70%, #000 100%); }
.site-header.is-top .site-header__back { opacity: 0; }
.site-header__progress { left: 0; right: 0; z-index: 101; height: 2px; background: var(--fg); transform: scaleX(var(--page, 0)); transform-origin: left; pointer-events: none; }
.site-header__bar {
  left: 0; right: 0; z-index: 102; height: var(--header-h); padding-inline: var(--margin);
  display: flex; align-items: center; gap: var(--gutter); color: var(--fg);
  transition: color var(--t-ui) var(--ease);
}
.site-header__brand { display: flex; align-items: center; flex: none; width: 132px; min-height: 44px; }
.site-header__brand svg { width: 100%; height: auto; fill: currentColor; overflow: visible; }
.site-header__where { display: flex; align-items: baseline; margin-left: auto; white-space: nowrap; font: 400 var(--fs-nav)/1 var(--mono); font-variant-numeric: tabular-nums; text-transform: uppercase; letter-spacing: 0.02em; }
.site-header__where-total { opacity: 0.55; }
.site-header__where-name { display: none; margin-left: 1.4em; font-weight: 500; }
.site-nav { display: none; }
.site-header__tools { display: flex; align-items: center; margin-left: auto; }
.site-header__where:not([hidden]) ~ .site-header__tools { margin-left: 4px; }
/* Verfügbarkeit: Der Text steht in der Zeile und wechselt mit ihr die Farbe. Der grüne Punkt ist eine eigene Ebene
   an derselben Stelle (--status-x), damit er über jeder Fläche grün bleibt.
   Auf dem Smartphone ist dafür kein Platz: Dort steht der Hinweis im Menü und im Kontaktbereich. */
.site-header__status, .site-header__signal { display: none; font: 400 var(--fs-status)/1.3 var(--mono); letter-spacing: 0.01em; }
.site-header { --cta-h: 44px; --cta-pad: 16px; }
.site-header__cta { display: none; right: var(--margin); z-index: 104; top: calc((var(--header-h) - var(--cta-h)) / 2); min-height: var(--cta-h); padding: 0 var(--cta-pad); }
.site-header[data-theme="signal"] .site-header__cta { --btn-bg: var(--se-schwarz); --btn-fg: var(--se-weiss); --btn-over: var(--se-weiss); --btn-over-fg: var(--se-schwarz); }
/* Menü-Schalter: zwei gleich lange Linien, geöffnet ein Kreuz */
.menu-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; padding: 0 0 0 12px; margin-right: -2px; border: 0; background: none; font: 500 var(--fs-nav)/1 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; }
.menu-toggle__icon { position: relative; width: 22px; height: 10px; }
.menu-toggle__icon i { position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform var(--t-ui) var(--ease); }
.menu-toggle__icon i:first-child { top: 0; }
.menu-toggle__icon i:last-child { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (hover: hover) {
  .menu-toggle[aria-expanded="false"]:hover .menu-toggle__icon i:first-child { transform: translateY(-1px); }
  .menu-toggle[aria-expanded="false"]:hover .menu-toggle__icon i:last-child { transform: translateY(1px); }
}
@media (min-width: 768px) {
  .site-header__brand { width: 144px; }
  /* Tablet: rechtsbündig vor Bereichsnummer und Menü. Die Breite steht fest, weil die Schrift gleich breite Zeichen hat:
     27 Zeichen zu je 0,6 Geviert plus Punkt und Abstand (17 px). So rechnen Text, Punkt und Navigation mit demselben Maß. */
  .site-header { --status-w: calc(var(--fs-status) * 16.47 + 17px); --status-x: calc(100% - var(--margin) - 173px - var(--status-w)); }
  .site-header__status { display: flex; align-items: center; position: absolute; left: var(--status-x); top: 0; height: 100%; padding-left: 17px; white-space: nowrap; transition: opacity var(--t-ui) var(--ease); }
  .site-header__signal { display: block; left: var(--status-x); z-index: 103; top: calc((var(--header-h) - 7px) / 2); width: 7px; height: 7px; border-radius: 50%; background: var(--se-gruen); box-shadow: 0 0 0 3px rgba(33, 156, 74, 0.22); pointer-events: none; transition: opacity var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease); }
  /* Auf Orange: kein dunkler Ring. Ein heller, weicher Hof trennt Grün und Orange, die fast gleich hell sind. */
  .site-header[data-theme="signal"] .site-header__signal { box-shadow: 0 0 0 3px rgba(248, 248, 245, 0.42); }
  html.menu-open .site-header__status, html.menu-open .site-header__signal { opacity: 0; }
}
@media (min-width: 1280px) {
  .site-header__bar { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); }
  .site-header__brand { grid-column: 1 / span 2; }
  .site-header__where { grid-column: 3 / span 2; margin-left: 0; }
  .site-header__where-name { display: inline; }
  /* Desktop: Navigation und Verfügbarkeit stehen als Gruppe rechts, vor dem Button. Beide rechnen mit der Breite des Buttons
     (16 Zeichen plus Innenabstand). */
  .site-header { --cta-w: calc(var(--fs-nav) * 9.92 + 2 * var(--cta-pad)); --status-x: calc(100% - var(--margin) - var(--cta-w) - 32px - var(--status-w)); }
  .site-nav { display: block; grid-column: 5 / -1; justify-self: end; font: 400 var(--fs-nav)/1 var(--mono); margin-right: calc(var(--cta-w) + 32px + var(--status-w) + clamp(30px, 3vw, 56px)); }
  .site-nav__list { display: flex; gap: clamp(16px, calc(16px + (100vw - 1280px) * 0.08), 36px); }
  .site-nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; font: 500 var(--fs-nav)/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; }
  .site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-ui) var(--ease); }
  .site-nav__link[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; background: var(--se-signal); height: 2px; }
  .site-header__tools { display: none; }
  .site-header__cta { display: inline-flex; }
}
@media (min-width: 1280px) and (hover: hover) { .site-nav__link:hover::after { transform: scaleX(1); transform-origin: left; } }
.site-nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 1920px) {
  .site-header__brand { width: 156px; }
  .site-header { --cta-h: 46px; --cta-pad: 18px; }
}
/* Menü offen: Die Zeile liegt über dem Menü. Solange die dunkle Fläche noch hereinfährt, kehrt sich die Schrift über hellem Grund um. */
html.menu-open .site-header__bar { color: var(--se-weiss); mix-blend-mode: difference; }
html.menu-open .site-header__back, html.menu-open .site-header__progress, html.menu-open .site-header__where { opacity: 0; }
html.menu-open .site-header__cta { visibility: hidden; }
/* Ohne JavaScript gibt es kein Menü und keinen Schleier: Die Kopfzeile bleibt am Seitenanfang stehen, der Footer führt zu allen Bereichen. */
html:not(.js) .site-header__back, html:not(.js) .site-header__progress { display: none !important; }
html:not(.js) .site-header__bar, html:not(.js) .site-header__signal, html:not(.js) .site-header__cta { position: absolute; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .site-header__cta { display: inline-flex; }

/* 07 · Menü (unter 1280 px) --------------------------------------------------
   Vollbild. Die dunkle Fläche kommt von rechts, eine orange Linie läuft voraus,
   danach steigen die Links einzeln aus ihrer Zeile. */
html.is-locked, html.is-locked body { overflow: hidden; }
.menu { position: fixed; inset: 0; z-index: 90; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-top: calc(var(--header-h) + clamp(16px, 5vh, 56px)); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.menu__list { display: grid; }
.menu__link { display: block; overflow: hidden; padding-block: 0.06em; font-size: clamp(40px, min(13.4vw, 9.4vh), 104px); font-weight: 600; line-height: 1.04; letter-spacing: -0.045em; }
.menu__link span { display: block; }
.menu__link[aria-current] { color: var(--se-signal); }
@media (hover: hover) { .menu__link:hover { color: var(--se-signal); } }
.menu__link:focus-visible { color: var(--se-signal); outline-offset: 2px; }
/* Kleine Links im Menü: derselbe Strich wie in Kopfzeile und Footer */
.menu__meta a, .menu__legal a { position: relative; }
.menu__meta a::after, .menu__legal a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-ui) var(--ease); }
.menu__meta a:focus-visible::after, .menu__legal a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) { .menu__meta a:hover::after, .menu__legal a:hover::after { transform: scaleX(1); transform-origin: left; } }
.menu__legal a[aria-current]::after { transform: scaleX(1); background: var(--se-signal); height: 2px; }
.menu__foot { display: grid; gap: 18px; justify-items: start; }
.menu__foot .btn { width: 100%; max-width: 420px; }
/* E-Mail und Ort stehen auf einer Linie: gleiche Schrift, gleiche Höhe, mittig ausgerichtet */
.menu__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.menu__meta a, .menu__meta span { min-height: 36px; display: inline-flex; align-items: center; }
@media (max-width: 380px) { .menu__meta { gap: 0 10px; font-size: 11.5px; } }   /* Website 13: längere Adresse, E-Mail und Ort bleiben auf einer Linie */
.menu__meta a { color: var(--fg); }
.menu__legal { display: flex; gap: 24px; font: 400 var(--fs-nav)/1 var(--mono); color: var(--muted); }
.menu__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.menu__line { position: fixed; top: 0; bottom: 0; left: 0; width: 2px; background: var(--se-signal); opacity: 0; pointer-events: none; z-index: 1; }

html.anim .menu { clip-path: inset(0 0 0 100%); }
html.anim .menu.is-open { clip-path: inset(0 0 0 0); transition: clip-path 620ms var(--ease-io); }
html.anim .menu.is-closing { clip-path: inset(0 0 0 0); opacity: 0; transition: opacity 180ms linear; }
html.anim .menu.is-open .menu__line { animation: menu-line 660ms var(--ease-io) both; }
@keyframes menu-line { 0% { transform: translateX(100vw); opacity: 1; } 94% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
html.anim .menu__link span { transform: translateY(108%); }
html.anim .menu.is-open .menu__link span { transform: none; transition: transform 640ms var(--ease) calc(220ms + var(--i, 0) * 55ms); }
html.anim .menu__foot { opacity: 0; }
html.anim .menu.is-open .menu__foot { opacity: 1; transition: opacity 400ms linear 560ms; }
.menu__list li:nth-child(1) { --i: 0; } .menu__list li:nth-child(2) { --i: 1; } .menu__list li:nth-child(3) { --i: 2; }
.menu__list li:nth-child(4) { --i: 3; } .menu__list li:nth-child(5) { --i: 4; }

/* 08 · Hero: aus der Rohform wird die Endform ---------------------------------
   Eine Fläche aus Papier mit dem Raster der Seite. Darauf steht die Überschrift als Zeichnung, jeder Buchstabe ein eigener Pfad.
   Am Anfang (--e: 0) ist von jedem Buchstaben nur die feine Kontur zu sehen, dazu Hilfslinien, Ankerpunkte und Maßangaben.
   Mit dem Scrollen wächst die Kontur jedes Buchstabens nach innen, bis er ganz gefüllt ist: zuerst „Ideen brauchen“
   Buchstabe für Buchstabe, dann F, o, r, m. Zuletzt wird der Punkt in Signalorange gesetzt, und die Schaltfläche füllt sich
   auf dieselbe Weise von ihrem Rahmen her. Die Konstruktion zieht sich zurück. Am Ende (--e: 1) steht die Überschrift
   gefüllt und ruhig auf dem Papier.
   Nichts fährt über die Fläche: Jede Form nimmt an ihrem Platz Masse an, ihre äußere Kante ändert sich nie. Der Hintergrund steht still.
   Das Skript setzt nur --e. Alles Weitere rechnet das Stylesheet daraus: Jeder Buchstabe kennt seinen Anfang (--a) und seine
   Dauer (--d) als Anteile des Scrollwegs und das Maß, wie weit seine Kontur wachsen muss, bis er voll ist (--r).
   Szene (mit Bewegung, auf jedem Gerät): Der Hero ist um den Scrollweg (--hero-travel) höher als das Fenster. Seine Fläche
   bleibt so lange stehen (position: sticky) und trägt Farbe, Raster und Körnung selbst.
   Ohne Bewegung und ohne Skript: keine Szene, sofort die Endform (--e: 1). */
.hero {
  position: relative; isolation: isolate;
  --hw-ratio: var(--hw-ratio-tall); --cap: var(--cap-tall); --xh: var(--xh-tall); --base: var(--base-tall); --l1: var(--l1-tall);
  --hw-w: min(100%, calc((100vh - var(--header-h) - 300px) * var(--hw-ratio)));
  --hw-w: min(100%, calc((100svh - var(--header-h) - 300px) * var(--hw-ratio)));
  --hw-k: 6.6;              /* Einheiten der Zeichnung je Pixel, das Skript setzt den genauen Wert */
  --hero-b: 20px;
  --ink: var(--se-schwarz);
  --rest: 0.37;             /* Lage der Maßangaben: Anteil der Breite der Zeichnung, gemessen von ihrer linken Kante */
  --e: 1;                   /* Stand der Verwandlung: 0 Rohform, 1 Endform */
}
html.anim .hero { --e: 0; }
.hero__pin {
  position: relative; overflow: hidden; background: var(--bg) var(--grain) 0 0 / 128px 128px;
  --k: clamp(0, 1 - (var(--e) - 0.86) / 0.12, 1);     /* Konstruktion (Raster, Hilfslinien, Maßangaben): zieht sich am Ende zurück */
  --o: clamp(0, (var(--e) - 0.85) / 0.11, 1);         /* Signalorange: Punkt, Schaltfläche und Marke füllen sich zuletzt */
}
/* Szene: Die Fläche ist so hoch wie das größte Fenster (Adressleiste eingefahren), der Inhalt richtet sich nach dem kleinsten */
.hero.is-scene { height: calc(100vh + var(--hero-travel, 0px)); height: calc(100lvh + var(--hero-travel, 0px)); }
.hero.is-scene .hero__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; }
.hero.is-scene .hero__inner { height: 100vh; height: 100svh; }
.hero__inner {
  position: relative; height: 100%; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 84px) var(--margin) var(--hero-b);
}
.hero__block { position: relative; flex: 1; display: flex; flex-direction: column; }
.hw { position: relative; flex: none; width: var(--hw-w); aspect-ratio: var(--hw-ratio); margin-block: auto; }
.hw__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; -webkit-user-select: none; user-select: none; }
.hw__svg--wide { display: none; }
.hero__copy { display: grid; gap: 18px; padding-top: clamp(18px, 3.4vh, 30px); }
.hero__lead { max-width: 25em; font-size: clamp(17px, 4.7vw, 22px); line-height: 1.3; letter-spacing: -0.014em; font-weight: 500; text-wrap: pretty; }
/* Schaltfläche: am Anfang ein feiner Rahmen wie die Konturen der Schrift. Zuletzt wächst von diesem Rahmen her Signalorange
   nach innen, bis die Fläche voll ist (die Mitte schließt sich weich, damit kein Spalt durch den Text läuft).
   Text, Größe und Lage ändern sich nie. Überfahren und Fokus wie bei jeder Schaltfläche. */
.hero__cta {
  width: 100%; --btn-bg: rgba(250, 70, 22, clamp(0, (var(--o) - 0.35) / 0.45, 1)); --btn-fg: var(--se-schwarz); --btn-over: var(--se-schwarz); --btn-over-fg: var(--se-weiss);
  box-shadow: inset 0 0 0 1px rgba(30, 27, 27, calc(1 - var(--o))), inset 0 0 0 calc(var(--o) * (var(--btn-lg-h) / 2 + 1px)) var(--se-signal);
}

/* Konstruktion: Spaltenraster der Seite, Hilfslinien, Ankerpunkte, Maßangaben */
.hero__cols { position: absolute; inset: 0 var(--margin); display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); pointer-events: none; opacity: var(--k); }
.hero__cols i { border-inline: 1px solid rgba(30, 27, 27, 0.085); transform-origin: top; }
.hero__cols i:nth-child(n + 5) { display: none; }
.hero__gridnote { display: none; position: absolute; left: var(--margin); bottom: 10px; font: 400 11px/1 var(--mono); color: var(--se-textgrau); opacity: var(--k); }
.hero__gridnote::before { content: "Raster: 12 Spalten"; }
.hw-guides { opacity: var(--k); }
.hw-m, .hw-v, .hn-p, .hn-h { vector-effect: non-scaling-stroke; }
.hw-m { stroke: rgba(30, 27, 27, 0.3); stroke-width: 1px; }
.hw-m--soft { stroke: rgba(30, 27, 27, 0.16); }
.hw-v { stroke: rgba(30, 27, 27, 0.24); stroke-width: 1px; stroke-dasharray: 2 4; }
.hn-p { fill: var(--se-weiss); stroke: var(--se-schwarz); stroke-width: 1px; }
.hn-c { fill: var(--se-schwarz); }
.hn-h { stroke: rgba(30, 27, 27, 0.42); stroke-width: 1px; }
/* Die Ankerpunkte eines Buchstabens verschwinden, sobald er Masse annimmt */
.hn { opacity: clamp(0, 1 - ((var(--e) - var(--a)) / var(--d) - 0.02) / 0.3, 1); }
.hw__tag {
  display: none; position: absolute; left: calc(var(--rest) * 100%); z-index: 1;
  transform: translate(calc(-100% - 12px), calc(-100% - 5px));
  font: 400 10.5px/1 var(--mono); color: var(--se-textgrau); white-space: nowrap; opacity: var(--k);
}
.hw__tag--cap { top: var(--cap); } .hw__tag--xh { top: var(--xh); }
.hw__tag--base { top: var(--base); transform: translate(calc(-100% - 12px), 7px); }

/* Buchstaben. --t ist der Stand eines Buchstabens: 0 nur Kontur, 1 gefüllt.
   hl-line: die feine Kontur der Rohform. hl-grow: derselbe Pfad, seine Strichstärke wächst mit --t bis zum Maß --r.
   Beide liegen in einer Schnittmaske aus dem Buchstaben selbst, zu sehen ist also nur die innere Hälfte des Strichs:
   Die Kontur wächst nach innen, die äußere Form des Buchstabens bleibt von Anfang an dieselbe.
   hl-fill: die volle Fläche. Sie schließt die letzten Zwickel und steht am Ende allein da (Kontur und Strich sind dann ausgeblendet).
   Die kleine Zeile ist verkleinert eingesetzt (--s), ihre Kontur rechnet damit, damit sie auf dem Bildschirm gleich fein bleibt.
   Auf sehr kleinen Darstellungen wird die Kontur dünner, damit die Buchstaben am Anfang offen bleiben. */
.hl { --t: clamp(0, (var(--e) - var(--a)) / var(--d), 1); --c: var(--ink); }
.hl--dot { --c: var(--se-signal); }
.hl-line, .hl-grow { fill: none; stroke-linejoin: miter; stroke-miterlimit: 6; opacity: clamp(0, (1 - var(--t)) * 500, 1); }
.hl-line { stroke: var(--ink); stroke-width: min(calc(2.5px * var(--hw-k) / var(--s, 1)), calc(var(--r) * 0.8px)); }
.hl-grow { stroke: var(--c); stroke-width: calc(var(--t) * var(--r) * 2.08px); }
.hl-fill { fill: var(--c); opacity: clamp(0, (var(--t) - 0.88) / 0.12, 1); }

/* Stand der Verwandlung: eine kleine Marke und ein Wort. Am Anfang „Entwurf“ mit offener Marke, am Ende „Endform“
   mit gefüllter Marke in Signalorange. Der Hinweis daneben verschwindet mit der ersten Scrollbewegung. Nichts davon wird bedient. */
.hero__state {
  position: absolute; left: var(--margin); top: calc(var(--header-h) + 36px); z-index: 2; transform: translateY(-50%);
  display: flex; align-items: center; gap: 11px; font: 500 12px/1 var(--mono); letter-spacing: 0.01em; white-space: nowrap;
  color: var(--se-schwarz); pointer-events: none; -webkit-user-select: none; user-select: none;
}
.hero__state-mark { flex: none; width: 9px; height: 9px; box-shadow: inset 0 0 0 1px rgba(30, 27, 27, calc(1 - var(--o))), inset 0 0 0 calc(var(--o) * 5px) var(--se-signal); }
.hero__state-words { display: grid; }
.hero__state-a, .hero__state-b { grid-area: 1 / 1; }
.hero__state-a { opacity: clamp(0, 1 - (var(--e) - 0.83) / 0.05, 1); }
.hero__state-b { opacity: clamp(0, (var(--e) - 0.89) / 0.05, 1); }
.hero__hint { display: inline-flex; align-items: center; gap: 9px; margin-left: 12px; font: 400 11px/1.3 var(--mono); color: var(--se-textgrau); opacity: clamp(0, 1 - var(--e) * 25, 1); }
.hero__hint::before { content: ""; width: 6px; height: 6px; margin-left: 1px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
html:not(.anim) .hero__state { display: none; }

@media (min-width: 768px) {
  .hero__cols i:nth-child(n + 5) { display: block; }
  .hero__cols i:nth-child(n + 9) { display: none; }
  .hero { --hero-b: 32px; --hw-k: 3.3; }
  .hero__gridnote { display: block; }
  .hero__gridnote::before { content: "Raster: 8 Spalten"; }
  .hw__tag { display: block; }
  .hero__cta { width: min(100%, 520px); justify-self: start; }
  .hero__lead { font-size: clamp(20px, 2.6vw, 24px); }
  .hero__state { font-size: 13px; }
}
/* Querformat ab 4:3 (Smartphone quer, Tablet quer, Laptop, Desktop): eine Zeile über der großen Form, der Text rechts daneben.
   Hochformat und fast quadratische Fenster behalten die dreizeilige Fassung, damit oben keine leere Fläche entsteht. */
@media (min-aspect-ratio: 4/3) and (min-width: 640px), (orientation: landscape) and (max-height: 540px) {
  .hero {
    --hw-ratio: var(--hw-ratio-wide); --cap: var(--cap-wide); --xh: var(--xh-wide); --base: var(--base-wide); --l1: var(--l1-wide);
    /* Breite der großen Form: höchstens so breit wie der Inhalt, höchstens 64 Prozent der Fensterhöhe hoch, höchstens 1280 px breit */
    --hw-w: min(100%, calc((100vh - var(--header-h) - 190px) * var(--hw-ratio)), calc(64vh * var(--hw-ratio)), 1280px);
    --hw-w: min(100%, calc((100svh - var(--header-h) - 190px) * var(--hw-ratio)), calc(64svh * var(--hw-ratio)), 1280px);
    --hw-k: 1.75; --hero-b: clamp(28px, 5vh, 52px);
  }
  .hero__inner { padding-top: calc(var(--header-h) + 84px); }
  .hw__svg--wide { display: block; }
  .hw__svg--tall { display: none; }
  .hero__block { flex: none; margin-top: auto; width: var(--hw-w); }
  .hw { margin-block: 0; }
  .hero__copy { position: absolute; right: 0; bottom: calc(100% - var(--l1)); width: 33.4%; padding: 0; gap: clamp(16px, 2.4vh, 26px); }
  .hero__lead { font-size: clamp(17px, 1.4vw, 23px); }
  .hero__cta { width: auto; min-width: 0; justify-self: start; }
}
@media (min-width: 1024px) {
  .hero__cols i:nth-child(n) { display: block; }
  .hero__gridnote::before { content: "Raster: 12 Spalten"; }
}
/* Niedriges Querformat (Smartphone quer): Form links, Text rechts daneben */
@media (orientation: landscape) and (max-height: 540px) {
  .hero {
    --hw-w: min(60%, calc((100vh - var(--header-h) - 52px) * var(--hw-ratio)));
    --hw-w: min(60%, calc((100svh - var(--header-h) - 52px) * var(--hw-ratio)));
    --hero-b: 20px; --hw-k: 4;
  }
  .hero__inner { padding-top: calc(var(--header-h) + 12px); }
  .hero__block { width: 100%; flex-direction: row; align-items: flex-end; gap: 32px; }
  .hero__copy { position: static; width: auto; flex: 1; padding-bottom: 4px; }
  .hero__lead { font-size: 16px; }
  .hw__tag, .hero__gridnote { display: none; }
  .hero__state { top: calc(var(--header-h) + 18px); }
  .hero__cta { max-width: 100%; }
}
/* Schmales Querformat (kleine Smartphones quer): etwas mehr Platz für Text und Schaltfläche */
@media (orientation: landscape) and (max-height: 540px) and (max-width: 700px) {
  .hero {
    --hw-w: min(56%, calc((100vh - var(--header-h) - 52px) * var(--hw-ratio)));
    --hw-w: min(56%, calc((100svh - var(--header-h) - 52px) * var(--hw-ratio)));
  }
  .hero__block { gap: 20px; }
  .hero__cta { padding: 0 16px; gap: 16px; }
}
@media (min-width: 1920px) {
  .btn--lg { padding: 0 24px; }
  .hero__gridnote, .hw__tag { font-size: 12px; }
  .hero__hint { font-size: 12px; }
}

/* 09 · Leistungen -------------------------------------------------------------
   Vier große Wörter, jedes mit Beschreibung und Stichworten. Die Wörter sind gefüllt und sofort lesbar.
   Der Moment dieser Sektion ist ruhig und läuft je Zeile genau einmal: Kommt eine Zeile ins Bild, steigt ihr Wort
   hinter der Grundlinie hervor (eine Maske, kein Verschieben der Zeile), die Beschreibung blendet ein,
   zuletzt wird der orange Punkt gesetzt. Keine Linie, kein Bezug zur Scrollposition, nichts bewegt sich im Hintergrund.
   Ohne Bewegung und ohne Skript stehen alle Zeilen vollständig da. */
.svc { margin-top: clamp(44px, 6vw, 88px); }
.svc__row { position: relative; row-gap: 16px; align-items: end; padding-block: clamp(24px, 3vw, 44px); }
.svc__row::before, .svc__row:last-child::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.svc__row:last-child::after { top: auto; bottom: 0; }
/* Die Überschrift ist zugleich die Maske: Ihr Rand lässt Platz für Unterlängen und den Überhang der Buchstaben, der Außenabstand gleicht ihn aus */
.svc__word {
  grid-column: 1 / -1; font-size: min(15.8vw, 150px); font-weight: 600; line-height: 0.96; letter-spacing: -0.047em; white-space: nowrap;
  overflow: hidden; padding: 0.04em 0.1em 0.2em; margin: -0.04em -0.1em -0.2em -0.135em;
}
.svc__rise { display: block; }
.svc__body { grid-column: 1 / -1; display: grid; gap: 14px; max-width: 34em; }
.svc__text { color: var(--fg); }
html.anim .svc__rise { transform: translateY(120%); }
html.anim .svc__rise .dot, html.anim .svc__body { opacity: 0; }
html.anim .svc__row.is-in .svc__rise { transform: none; transition: transform 820ms var(--ease) calc(var(--k, 0) * 90ms); }
html.anim .svc__row.is-in .svc__body { opacity: 1; transition: opacity 520ms linear calc(160ms + var(--k, 0) * 90ms); }
html.anim .svc__row.is-in .svc__rise .dot { opacity: 1; transition: opacity 220ms linear calc(600ms + var(--k, 0) * 90ms); }
@media (min-width: 768px) {
  .svc__body { grid-column: 1 / span 6; }
}
/* Desktop: Wort links, Beschreibung beginnt in der Mitte des Rasters. So liegen Wort und Text auch auf breiten Bildschirmen nah beieinander. */
@media (min-width: 1024px) {
  .svc__word { grid-column: 1 / span 6; font-size: var(--fs-display); }
  .svc__body { grid-column: 7 / span 5; padding-bottom: 0.4em; }
}
/* Was am Ende steht: ein Satz unter den vier Leistungen, in der Spalte der Beschreibungen, und der direkte Weg zur Anfrage */
.svc-end { row-gap: 10px; padding-top: clamp(28px, 4vw, 56px); }
.svc-end__label { grid-column: 1 / -1; font: 400 var(--fs-label)/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; color: var(--muted); }
.svc-end__label::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 12px; background: var(--se-signal); }
.svc-end__body { grid-column: 1 / -1; display: grid; gap: clamp(22px, 2.6vw, 30px); justify-items: start; }
.svc-end__text { max-width: 26em; font-size: var(--fs-lead); line-height: 1.32; letter-spacing: -0.014em; font-weight: 500; }
.svc-end__body .btn { width: 100%; max-width: 420px; }
.svc-end__body .btn--signal { --btn-over: var(--se-weiss); --btn-over-fg: var(--se-schwarz); }
@media (min-width: 768px) {
  .svc-end__body { grid-column: 1 / span 6; }
  .svc-end__body .btn { width: auto; }
}
@media (min-width: 1024px) {
  .svc-end__label { grid-column: 1 / span 6; padding-top: 0.5em; }
  .svc-end__body { grid-column: 7 / span 5; }
}

/* 10 · Ablauf -------------------------------------------------------------------
   Fünf Schritte als Abfolge von Vollbildern. Jeder Schritt: Ziffer, Titel, Text und Ergebnis.
   Erledigte und aktuelle Schritte sind gefüllt, kommende stehen als Umriss da.

   Bühne (mit Skript, auf jedem Gerät): Jeder Schritt füllt den Bildschirm. Die Bühne bleibt stehen, mit dem Scrollen
   schiebt sich der nächste Schritt von rechts herein. Die stehende Fläche trägt Farbe und Körnung selbst:
   Beim Scrollen bewegt sich nur der Inhalt im Vordergrund, der Hintergrund steht still.
   Grundform (ohne Skript, bei reduzierter Bewegung, oder wenn ein Schritt nicht in die Höhe passt):
   Alle Schritte stehen vollständig da, untereinander oder nebeneinander. Nichts bewegt sich, nichts ist verdeckt. */
.process { --pad: 18px; padding-bottom: var(--section); }
.process__head { padding-top: var(--section); }
.process__view { margin-top: clamp(36px, 6vw, 72px); }
.process__track { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(40px, 7vw, 64px); padding-inline: var(--margin); }
.step { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 2px var(--pad) 4px var(--pad); border-left: 1px solid var(--line); }
.step__num { font-size: clamp(88px, 27vw, 128px); font-weight: 600; line-height: 0.84; letter-spacing: -0.055em; margin-left: -0.02em; font-variant-numeric: tabular-nums; padding-bottom: 0.06em; }
/* Website 15: Ziffern. Die Null ist nur Umriss (Rohform), die Stelle dahinter ist gefüllt (Endform). Der Punkt in Signalfarbe schließt den letzten Schritt ab. */
.num { display: flex; align-items: flex-start; white-space: nowrap; }
.num__z { color: transparent; -webkit-text-stroke: clamp(1.5px, 0.013em, 4px) var(--fg); }
.num__dot { color: var(--se-signal); }
@supports not (-webkit-text-stroke: 1px black) { .num__z { color: var(--muted); } }
@media (forced-colors: active), (prefers-contrast: more) { .num__z { color: inherit; -webkit-text-stroke: 0; } }
@media print { .num__z { color: inherit; -webkit-text-stroke: 0; } }
/* Bühne: eine feste Ziffer, deren zweite Stelle in einem Fenster rollt. Stand und Lage schreibt das Skript aus der Scrollposition. */
.process__num { position: absolute; left: 0; top: 0; margin: 0; font-weight: 600; line-height: 0.84; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; pointer-events: none; will-change: transform; }
.process__num[hidden] { display: none; }
.num__win { display: block; height: 0.84em; clip-path: inset(0 -0.2em); }
.num__col { display: grid; row-gap: 0.3em; transform: translate3d(0, calc(var(--roll, 0) * -1.14em), 0); will-change: transform; }
.num__col span { display: block; height: 0.84em; }
.process__num .num__dot { opacity: 0; transition: opacity 260ms var(--ease); }
.process__num.is-end .num__dot { opacity: 1; }
.process.is-stage .process__screen { position: relative; }
/* Steht der Text neben der Ziffer, endet seine Fläche an ihrer rechten Kante: Beim Wechsel läuft er dort aus, statt über die Ziffer zu fahren. */
.process.is-roll.is-side .process__view { -webkit-mask-image: linear-gradient(to right, transparent var(--num-edge, 0px), #000 calc(var(--num-edge, 0px) + 32px)); mask-image: linear-gradient(to right, transparent var(--num-edge, 0px), #000 calc(var(--num-edge, 0px) + 32px)); }
.process.is-roll .step__num { visibility: hidden; }
.step__body { min-width: 0; }
.step__title { margin-top: clamp(16px, 2.6vh, 28px); font-size: clamp(26px, 6.8vw, 38px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.step__text { margin-top: 12px; max-width: 30em; }
.step__result { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 var(--fs-label)/1.4 var(--mono); }
.step__result span { color: var(--muted); }
html.anim .step__title, html.anim .step__text, html.anim .step__result { transition: color 420ms var(--ease); }
html.anim .step:not(.is-formed) .step__title { color: var(--se-grau); }
html.anim .step:not(.is-formed) .step__text, html.anim .step:not(.is-formed) .step__result { color: var(--se-textgrau); }
html.anim .step .fw__s { transition-duration: 760ms; }

/* Fortschritt: Leiste mit fünf Stationen und Zähler. Es gibt sie nur auf der Bühne. */
.process__foot { display: none; }
.process__rail { position: relative; padding-top: 14px; border-top: 1px solid var(--line); }
.process__rail-fill { position: absolute; left: 0; top: -2px; width: 100%; height: 3px; background: var(--se-signal); transform: scaleX(0.2); transform-origin: left; }
.process__rail ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); font: 400 var(--fs-label)/1.3 var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.process__rail li { display: flex; gap: 0.9em; padding-right: 12px; transition: color 320ms var(--ease); }
.process__rail li.is-on { color: var(--fg); }
.process__tick-name { display: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; letter-spacing: 0.02em; }
.process__count { margin-top: 14px; font: 400 var(--fs-label)/1 var(--mono); color: var(--muted); }
@media (min-width: 700px) {
  .process { --pad: 20px; }
  .process__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step__num { font-size: clamp(112px, 15vw, 150px); }
  .step__title { font-size: clamp(26px, 3.4vw, 36px); }
}
@media (min-width: 1024px) {
  .process { --pad: clamp(24px, 2vw, 36px); }
  .process__track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process__tick-name { display: block; }
}
@media (min-width: 1440px) {
  .process__track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .step__num { font-size: min(9vw, 180px); }
  .step__title { font-size: clamp(24px, 1.8vw, 34px); }
}

/* Bühne: ein Schritt je Bildschirm. Die Fläche ist so hoch wie das größte Fenster (Adressleiste eingefahren),
   der Inhalt richtet sich nach dem kleinsten (Adressleiste sichtbar). So ist auf dem Smartphone immer alles zu sehen.
   Der Scrollweg entsteht unter der Bühne (--travel), sie selbst bleibt so lange stehen. */
.process.is-stage { padding-bottom: 0; }
.process.is-stage .process__pin::after { content: ""; display: block; height: var(--travel, 0px); }
.process.is-stage .process__head { padding-bottom: clamp(36px, 8vw, 64px); }
.process.is-stage .process__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: var(--bg) var(--grain) 0 0 / 128px 128px; }
.process.is-stage .process__foot { display: block; }
.process.is-stage .process__screen {
  height: 100vh; height: 100svh; display: flex; flex-direction: column;
  padding-top: var(--header-h); padding-bottom: max(18px, env(safe-area-inset-bottom));
}
.process.is-stage .process__view { flex: 1; min-height: 0; margin-top: 0; overflow: hidden; }
.process.is-stage .process__track { display: flex; height: 100%; padding: 0; will-change: transform; }
/* Die Hilfslinie sitzt einen Pixel vor dem Schritt: In Ruhe liegt sie außerhalb des Bildes, beim Wechsel ist sie die Kante des nächsten Schritts */
.process.is-stage .step { flex: 0 0 100%; height: 100%; padding: 0 var(--margin); border-left: 0; box-shadow: -1px 0 0 var(--line); }
/* Hochformat: Ziffer oben, Text darunter. Der Inhalt steht etwas über der Mitte. Wird es eng, geben die beiden Abstandhalter zuerst nach. */
.process.is-stage .step::before { content: ""; flex: 1 1 0; }
.process.is-stage .step::after { content: ""; flex: 1.3 1 0; }
.process.is-stage .step__num { font-size: min(56vw, 32vh); font-size: min(56vw, 32svh); }
.process.is-stage .step__title { margin-top: clamp(14px, 2.8vh, 28px); font-size: clamp(28px, 7.6vw, 44px); }
.process.is-stage .step__text { margin-top: clamp(10px, 1.8vh, 16px); }
.process.is-stage .step__result { margin-top: clamp(12px, 2.2vh, 20px); }
.process.is-stage .process__foot { margin-top: clamp(8px, 1.6vh, 16px); }
.process.is-stage .process__count { margin-top: 12px; }
@media (max-height: 520px) and (orientation: portrait) {
  .process.is-stage .step__num { font-size: min(40vw, 21vh); font-size: min(40vw, 21svh); }
}
@media (min-width: 640px) and (orientation: portrait) {
  .process.is-stage .step__num { font-size: min(54vw, 37vh); font-size: min(54vw, 37svh); }
  .process.is-stage .step__title { font-size: clamp(40px, 6.4vw, 60px); }
  .process.is-stage .step__text { font-size: var(--fs-lead); line-height: 1.36; max-width: 26em; }
}
/* Querformat: Ziffer links, Text rechts daneben */
@media (orientation: landscape) {
  .process.is-stage .step { flex-direction: row; align-items: center; gap: clamp(24px, 5vw, 72px); }
  .process.is-stage .step::before, .process.is-stage .step::after { content: none; }
  .process.is-stage .step__num { flex: none; font-size: min(33vw, 54vh); font-size: min(33vw, 54svh); padding-bottom: 0; }
  .process.is-stage .step__body { flex: 1 1 0; max-width: 34em; }
  .process.is-stage .step__title { margin-top: 0; font-size: clamp(26px, 4.4vw, 44px); }
}
/* Desktop: Ziffer und Text stehen im Raster der Seite. Die Ziffer nimmt die linke Hälfte, der Text beginnt in Spalte 7. */
@media (orientation: landscape) and (min-width: 1024px) {
  .process.is-stage .step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; align-content: center; }
  .process.is-stage .step__num { grid-column: 1 / span 6; font-size: min(31vw, 54vh, 460px); font-size: min(31vw, 54svh, 460px); }
  .process.is-stage .step__body { grid-column: 7 / span 5; max-width: 30em; }
  .process.is-stage .step__title { font-size: clamp(32px, 2.8vw, 44px); }
  .process.is-stage .step__text { margin-top: clamp(12px, 2vh, 20px); font-size: var(--fs-lead); line-height: 1.36; }
  .process.is-stage .step__result { margin-top: clamp(16px, 3vh, 28px); }
  .process.is-stage .process__foot { margin-top: clamp(12px, 2.4vh, 28px); }
}
@media (max-height: 460px) { .process.is-stage .process__count { display: none; } }

/* 11 · Studio ---------------------------------------------------------------------
   Der einzige Bereich über die Person. Das Porträt ist die gelieferte Aufnahme, unverändert: kein Zuschnitt in der Datei,
   keine Retusche. Alles Weitere entsteht im Layout:
   Ab Tabletbreite steht das Bild rechts neben dem Text. Das Skript misst die Überschrift und setzt das Bild so,
   dass die Oberkante des Kopfes genau auf der Versalhöhe der ersten Zeile liegt. Das Bild füllt die Spalte und läuft
   unten in die Fläche aus. Ohne Skript steht es unten rechts.
   Der Übergang: Vier weiche Verläufe (links, rechts, oben, unten) werden miteinander verrechnet. So gibt es keine
   Kante und keinen Kasten, und die helle linke Seite der Aufnahme läuft ins Schwarz aus. Gesicht und Kopf liegen
   vollständig im klaren Teil des Bildes. */
.studio { position: relative; overflow: hidden; padding-bottom: var(--section); }
.studio__figure, .studio__body { grid-column: 1 / -1; }
.studio__figure { position: relative; margin-inline: calc(-1 * var(--margin)); aspect-ratio: 3 / 4; }
.studio__frame { position: absolute; inset: 0; display: block; }
.studio__frame picture, .studio__frame img { width: 100%; height: 100%; }
/* Smartphone: das ganze Bild über die volle Breite, oben und unten weich in die Fläche */
.studio__frame img {
  object-fit: cover; object-position: 50% 50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.16) 4%, rgba(0, 0, 0, 0.5) 9%, rgba(0, 0, 0, 0.84) 13.5%, #000 17%, #000 62%, rgba(0, 0, 0, 0.86) 70%, rgba(0, 0, 0, 0.55) 80%, rgba(0, 0, 0, 0.2) 91%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.16) 4%, rgba(0, 0, 0, 0.5) 9%, rgba(0, 0, 0, 0.84) 13.5%, #000 17%, #000 62%, rgba(0, 0, 0, 0.86) 70%, rgba(0, 0, 0, 0.55) 80%, rgba(0, 0, 0, 0.2) 91%, transparent 100%);
}
.studio__figure figcaption { position: absolute; left: var(--margin); bottom: 12%; font: 400 var(--fs-label)/1.3 var(--mono); color: var(--muted); }
.studio__body { position: relative; display: grid; gap: 22px; margin-top: -5%; }
.studio__body .lead { max-width: 24em; }
.studio__text { max-width: 34em; color: rgba(248, 248, 245, 0.84); }
.facts { display: grid; margin-top: 10px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.facts dt { font: 400 var(--fs-label)/1.7 var(--mono); color: var(--muted); }
@media (min-width: 768px), (min-width: 540px) and (orientation: landscape) {
  .studio { padding-block: 0; --studio-h: min(100vh, 1400px); --frame-h: calc(var(--studio-h) * 0.84); }
  .studio__inner { min-height: var(--studio-h); align-items: stretch; }
  /* --side: Das Skript erkennt daran, dass Bild und Text nebeneinander stehen */
  .studio__figure { --side: 1; grid-column: 4 / -1; grid-row: 1; margin: 0 calc(-1 * min(var(--margin), 96px)) 0 0; aspect-ratio: auto; min-height: 560px; }
  /* Ohne Skript: das ganze Bild unten rechts, höchstens 84 Prozent der Höhe */
  .studio__frame { inset: auto 0 0 auto; width: min(100%, calc(var(--frame-h) * 0.75)); aspect-ratio: 3 / 4; }
  /* Mit Skript: Lage und Größe aus der Messung (Kopf auf Höhe der Überschrift) */
  .studio__figure.is-placed .studio__frame { inset: auto; left: var(--fx, 0px); top: var(--fy, 0px); width: var(--fw, 100%); }
  .studio__frame img {
    object-position: 50% 50%;
    /* Waagerecht: links lang ausblenden (die helle Seite der Aufnahme), rechts kurz.
       Senkrecht: oben bis kurz vor den Haaransatz, unten dort, wo das Bild sichtbar endet (--fb0 bis --fb1). */
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.03) 4%, rgba(0, 0, 0, 0.1) 9%, rgba(0, 0, 0, 0.24) 14%, rgba(0, 0, 0, 0.44) 19%, rgba(0, 0, 0, 0.66) 24%, rgba(0, 0, 0, 0.84) 29%, rgba(0, 0, 0, 0.95) 33%, #000 36%, #000 87%, rgba(0, 0, 0, 0.84) 90%, rgba(0, 0, 0, 0.5) 94%, rgba(0, 0, 0, 0.16) 97.5%, transparent 100%),
      linear-gradient(to bottom, transparent var(--ft0, 0%), rgba(0, 0, 0, 0.2) calc(var(--ft0, 0%) + (var(--ft1, 16%) - var(--ft0, 0%)) * 0.3), rgba(0, 0, 0, 0.62) calc(var(--ft0, 0%) + (var(--ft1, 16%) - var(--ft0, 0%)) * 0.6), rgba(0, 0, 0, 0.9) calc(var(--ft0, 0%) + (var(--ft1, 16%) - var(--ft0, 0%)) * 0.82), #000 var(--ft1, 16%), #000 var(--fb0, 70%), rgba(0, 0, 0, 0.82) calc(var(--fb0, 70%) + (var(--fb1, 100%) - var(--fb0, 70%)) * 0.25), rgba(0, 0, 0, 0.5) calc(var(--fb0, 70%) + (var(--fb1, 100%) - var(--fb0, 70%)) * 0.52), rgba(0, 0, 0, 0.18) calc(var(--fb0, 70%) + (var(--fb1, 100%) - var(--fb0, 70%)) * 0.78), transparent var(--fb1, 100%));
            mask-image:
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.03) 4%, rgba(0, 0, 0, 0.1) 9%, rgba(0, 0, 0, 0.24) 14%, rgba(0, 0, 0, 0.44) 19%, rgba(0, 0, 0, 0.66) 24%, rgba(0, 0, 0, 0.84) 29%, rgba(0, 0, 0, 0.95) 33%, #000 36%, #000 87%, rgba(0, 0, 0, 0.84) 90%, rgba(0, 0, 0, 0.5) 94%, rgba(0, 0, 0, 0.16) 97.5%, transparent 100%),
      linear-gradient(to bottom, transparent var(--ft0, 0%), rgba(0, 0, 0, 0.2) calc(var(--ft0, 0%) + (var(--ft1, 16%) - var(--ft0, 0%)) * 0.3), rgba(0, 0, 0, 0.62) calc(var(--ft0, 0%) + (var(--ft1, 16%) - var(--ft0, 0%)) * 0.6), rgba(0, 0, 0, 0.9) calc(var(--ft0, 0%) + (var(--ft1, 16%) - var(--ft0, 0%)) * 0.82), #000 var(--ft1, 16%), #000 var(--fb0, 70%), rgba(0, 0, 0, 0.82) calc(var(--fb0, 70%) + (var(--fb1, 100%) - var(--fb0, 70%)) * 0.25), rgba(0, 0, 0, 0.5) calc(var(--fb0, 70%) + (var(--fb1, 100%) - var(--fb0, 70%)) * 0.52), rgba(0, 0, 0, 0.18) calc(var(--fb0, 70%) + (var(--fb1, 100%) - var(--fb0, 70%)) * 0.78), transparent var(--fb1, 100%));
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .studio__figure figcaption { left: auto; right: min(var(--margin), 96px); bottom: 32px; color: rgba(248, 248, 245, 0.78); }
  .studio__body { grid-column: 1 / span 4; grid-row: 1; align-self: center; margin-top: 0; padding-block: var(--section); z-index: 1; }
}
@media (min-width: 1024px) {
  .studio__figure { grid-column: 6 / -1; }
  .studio__body { grid-column: 1 / span 5; }
}
/* Smartphone quer (unter 768 px Breite, vier Spalten): Text links, das Bild rechts daneben */
@media (max-width: 767px) and (min-width: 540px) and (orientation: landscape) {
  .studio__figure { grid-column: 3 / -1; min-height: 0; }
  .studio__body { grid-column: 1 / span 2; padding-block: 76px 48px; }
  .studio__figure figcaption { bottom: 14px; }
}
/* Einblendung: Eine weiche, leicht schräge Kante wandert einmal von links nach rechts über den Rahmen, wie Licht, das auf die Aufnahme fällt.
   Das Foto selbst bleibt dabei scharf und an seinem Platz. */
html.anim .studio__frame {
  -webkit-mask-image: linear-gradient(99deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.7) 44%, rgba(0, 0, 0, 0.2) 52%, transparent 60%); mask-image: linear-gradient(99deg, #000 0%, #000 38%, rgba(0, 0, 0, 0.7) 44%, rgba(0, 0, 0, 0.2) 52%, transparent 60%);
  -webkit-mask-size: 270% 100%; mask-size: 270% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  /* Ausgangslage: Die Kante steht knapp vor dem sichtbaren Teil des Bildes, damit die Bewegung ohne Leerlauf beginnt */
  -webkit-mask-position: 86% 0; mask-position: 86% 0;
}
html.anim .studio__figure.is-in .studio__frame { -webkit-mask-position: 0% 0; mask-position: 0% 0; transition: -webkit-mask-position 1700ms cubic-bezier(0.45, 0, 0.15, 1), mask-position 1700ms cubic-bezier(0.45, 0, 0.15, 1); }
html.anim .studio__figure figcaption { opacity: 0; }
html.anim .studio__figure.is-in figcaption { opacity: 1; transition: opacity 600ms linear 1300ms; }

/* 12 · FAQ ---------------------------------------------------------------------------
   Eine Linie je Frage. Geöffnet wird ruhig: Die Antwort fährt in der Höhe auf, das Plus wird zum Minus. */
.faq__head { grid-column: 1 / -1; display: grid; gap: 18px; align-content: start; }
.faq__note { max-width: 24em; color: var(--muted); }
.faq__list { grid-column: 1 / -1; margin-top: 36px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 20px; align-items: center;
  min-height: 68px; margin-inline: -12px; padding: 16px 12px; cursor: pointer;
  font-size: clamp(18px, 16px + 0.5vw, 24px); font-weight: 500; line-height: 1.2; letter-spacing: -0.018em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline-offset: -6px; }
.faq__icon { position: relative; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 2px; right: 2px; top: 9px; height: 2px; background: currentColor; transition: transform var(--t-ui) var(--ease), background-color var(--t-ui) var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--se-signal); }
.faq__item.is-closing .faq__icon::after { transform: rotate(90deg); }
.faq__item.is-closing .faq__icon::before, .faq__item.is-closing .faq__icon::after { background: currentColor; }
@media (hover: hover) { .faq__q:hover { color: var(--se-schwarz); } .faq__q:hover .faq__icon::before, .faq__q:hover .faq__icon::after { background: var(--se-signal); } }
.faq__a { overflow: hidden; }
.faq__a p { max-width: 36em; padding: 0 44px 26px 0; }
@media (min-width: 1024px) {
  .faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .faq__list { grid-column: 6 / -1; margin-top: 0; }
}

/* 13 · Leitsatz ---------------------------------------------------------------------
   Der Höhepunkt vor dem Kontakt, einmal auf der orangen Fläche der Seite.
   Der Satz steht zuerst klein und als Umriss da. Mit dem Scrollen kommt er näher (--zoom), und „to Endform.“
   füllt sich von links (--form). Beide Werte leitet das Skript allein aus der Scrollposition ab.
   Szene (auf jedem Gerät): Die Fläche bleibt stehen, bis der Satz groß und gefüllt ist. Der Satz wird nur verkleinert,
   nie über seine Endgröße hinaus vergrößert: So wird beim Zoomen nichts abgeschnitten.
   Auf dem Smartphone steht der Satz in der Mitte des sichtbaren Bereichs (kleinstes Fenster), die Fläche reicht bis zum größten.
   Nur in sehr niedrigen Fenstern: ein Band, in dem der Satz wächst, während es in die Bildmitte läuft. */
.claim { position: relative; }
.claim__pin { overflow: hidden; display: grid; align-items: center; padding-block: clamp(88px, 15vw, 240px); }
/* Der Satz füllt die Breite des Inhalts, wird aber nie größer als 280 px: Auf sehr breiten Bildschirmen bleibt er ein Höhepunkt, keine Plakatwand */
.claim__text { font-size: min(calc((100vw - 2 * var(--margin)) / 5.06), 280px); font-weight: 600; line-height: 0.9; letter-spacing: -0.047em; }
.claim__zoom { display: grid; gap: 0.07em; transform-origin: 0 58%; }
.claim__a { font-size: 0.54em; font-weight: 400; letter-spacing: -0.035em; margin-left: -0.02em; }
.claim__b { margin-left: -0.04em; padding-bottom: 0.04em; }
html.anim .claim__zoom { transform: scale(var(--zoom, 1)); }
html.anim .claim .fw__s { clip-path: inset(-12% calc(104% - var(--form, 1) * 107%) -12% -3%); transition: none; }
html.anim .claim.is-formed .fw__o { -webkit-text-stroke-color: transparent; transition: -webkit-text-stroke-color 200ms linear; }
html.anim .claim.is-formed .claim__a .fw__o { -webkit-text-stroke-color: var(--outline); }
.claim.is-scene { height: calc(100vh + 96vh); height: calc(100lvh + 96svh); }
/* In der Szene trägt die stehende Fläche Farbe und Körnung selbst: Beim Scrollen bewegt sich nur der Satz, der Hintergrund steht still */
.claim.is-scene .claim__pin { position: sticky; top: 0; height: 100vh; height: 100lvh; padding-block: var(--header-h) 0; padding-bottom: calc(100lvh - 100svh); background: var(--bg) var(--grain) 0 0 / 128px 128px; }

/* 14 · Kontakt ---------------------------------------------------------------------- */
.contact__intro { grid-column: 1 / -1; display: grid; gap: 22px; align-content: start; justify-items: start; padding-bottom: 48px; }
.contact__title { font-size: var(--fs-display); font-weight: 600; line-height: 1; letter-spacing: -0.047em; margin-left: -0.04em; }
.contact__text { max-width: 24em; }
/* Nach Ihrer Anfrage: drei kurze Schritte mit Nummer, im Stil der Angaben im Studio */
.next { display: grid; gap: 10px; width: 100%; max-width: 32em; }
.next__title { font: 400 var(--fs-label)/1.4 var(--mono); color: var(--muted); }
.next__list { counter-reset: next; border-top: 1px solid var(--line); }
.next__list li { counter-increment: next; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.45; }
.next__list li::before { content: counter(next, decimal-leading-zero); font: 400 var(--fs-label)/1.75 var(--mono); color: var(--muted); }
.contact__alt { display: grid; gap: 4px; }
.contact__alt span { font: 400 var(--fs-label)/1.4 var(--mono); color: var(--muted); }
.contact__mail { font-size: var(--fs-lead); font-weight: 500; letter-spacing: -0.015em; }
.contact__name { font-size: var(--fs-lead); font-weight: 500; letter-spacing: -0.015em; color: var(--fg); }   /* Website 14.2: Ansprechpartner */
.form { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .field label { padding: 0; font: 400 var(--fs-label)/1.4 var(--mono); color: var(--muted); }
.form legend { margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; box-shadow: inset 0 0 0 1px rgba(248, 248, 245, 0.42); font: 500 var(--fs-nav)/1 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.chip input:checked + span { background: var(--se-weiss); color: var(--se-schwarz); box-shadow: inset 0 0 0 1px var(--se-weiss); }
.chip input:focus-visible + span { outline: 2px solid var(--se-weiss); outline-offset: 3px; }
@media (hover: hover) { .chip:hover span { box-shadow: inset 0 0 0 1px var(--se-weiss); } }
.field { display: grid; gap: 6px; }
.field__opt { text-transform: none; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(248, 248, 245, 0.42); border-radius: 0;
  background: none; color: var(--se-weiss); font-size: clamp(17px, 16px + 0.3vw, 22px); line-height: 1.4;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 136px; resize: vertical; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--se-weiss); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--se-signal); box-shadow: 0 2px 0 0 var(--se-signal); }
.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: var(--se-signal); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--se-weiss); transition: background-color 9999s; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; cursor: pointer; }
.consent input { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.consent__box { width: 24px; height: 24px; box-shadow: inset 0 0 0 1px rgba(248, 248, 245, 0.6); display: grid; place-items: center; transition: background-color var(--t-fast) var(--ease); }
.consent__box::after { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--se-schwarz); border-bottom: 2px solid var(--se-schwarz); transform: translateY(-2px) rotate(-45deg); opacity: 0; }
.consent input:checked + .consent__box { background: var(--se-weiss); }
.consent input:checked + .consent__box::after { opacity: 1; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--se-weiss); outline-offset: 3px; }
.consent__text { font-size: var(--fs-small); line-height: 1.45; color: rgba(248, 248, 245, 0.84); }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form__hint { flex: 1 1 16em; max-width: 26em; font-size: var(--fs-small); line-height: 1.45; color: rgba(248, 248, 245, 0.84); }
.form__status { flex: 1 0 100%; min-height: 1.45em; font-size: var(--fs-small); font-weight: 500; }
.form.is-sending [data-form-submit] { opacity: 0.6; pointer-events: none; }
.form-done { grid-column: 1 / -1; display: grid; gap: 12px; padding: 28px 0; }
.form-done:focus-visible { outline-offset: 8px; }
.form-done__title { font-size: clamp(30px, 7vw, 56px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
@media (min-width: 768px) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  .form .field--wide, .form fieldset, .form .consent, .form__end { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .contact__inner { align-items: start; }
  .contact__intro { grid-column: 1 / span 6; padding-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
  .form, .form-done { grid-column: 8 / -1; }
}

/* 15 · Footer ---------------------------------------------------------------------------
   Der Abschluss: eine Zeile, drei Spalten, darunter die Wortmarke über die ganze Breite, eine Grundlinie und ihr Endpunkt.
   Die Fläche steht still und ist sofort vollständig da. Die Wortmarke liegt als Blindprägung im Papier: ohne Farbe,
   nur aus einem leichten Tonwert und einem feinen Relief. Das Licht kommt von oben links, die Form liegt vertieft:
   innen an den oberen und linken Kanten ein weicher Schatten, außen an den unteren und rechten eine feine Lichtkante.
   Kommt die Wortmarke ins Bild, drückt sie sich einmal ein (erst der Tonwert, dann das Relief) und bleibt dann ruhig stehen.
   Es fährt keine Linie und keine Fläche über den Footer. Ohne Bewegung ist genau der Endzustand zu sehen.
   Links im Footer haben dieselbe Strichanimation wie die Navigation in der Kopfzeile. */
.site-footer { position: relative; --dot: 7px; }
.footer__sheet { padding-top: clamp(72px, 12vw, 168px); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.footer__top { row-gap: 40px; }
.footer__lead { grid-column: 1 / -1; max-width: 9em; font-size: clamp(30px, 8vw, 44px); font-weight: 600; line-height: 1.02; letter-spacing: -0.04em; }
.footer__col { grid-column: span 2; }
.footer__col:nth-of-type(1) { grid-column: 1 / -1; }
.footer__col h2 { margin-bottom: 14px; font: 400 var(--fs-label)/1.4 var(--mono); color: var(--muted); }
.footer__col ul { display: grid; gap: 2px; }
.footer__text { display: flex; align-items: center; min-height: 36px; }   /* Website 14.2: Text ohne Link steht im gleichen Raster wie die Links */
.footer__col a { position: relative; display: inline-flex; align-items: center; min-height: 36px; }
/* Strich unter dem Link: zeichnet sich beim Überfahren von links, zieht sich beim Verlassen nach rechts zurück (wie in der Kopfzeile) */
.footer__col a::after, .footer__base a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-ui) var(--ease); }
.footer__col a:focus-visible::after, .footer__base a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) { .footer__col a:hover::after, .footer__base a:hover::after { transform: scaleX(1); transform-origin: left; } }
.footer__col a[aria-current]::after { transform: scaleX(1); transform-origin: left; background: var(--se-signal); height: 2px; }
/* Der Link ist auch auf dem Smartphone mindestens 44 px hoch (8 px Innenabstand oben und unten, nach außen ausgeglichen) */
.footer__mark { position: relative; display: block; margin-top: calc(clamp(64px, 11vw, 168px) - 8px); margin-bottom: -8px; padding-block: 8px; }
.footer__mark:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.footer__mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.fm-face { fill: rgba(30, 27, 27, 0.065); }
@media (min-width: 640px) { .fm-face { fill: rgba(30, 27, 27, 0.055); } }
/* Relief: drei Fassungen des Filters, je nach Breite der Wortmarke auf dem Bildschirm */
.fm-relief { display: none; fill: #000; }
.fm-relief--s { display: inline; }
@media (min-width: 640px) { .fm-relief--s { display: none; } .fm-relief--m { display: inline; } }
@media (min-width: 1280px) { .fm-relief--m { display: none; } .fm-relief--l { display: inline; } }
html.anim .footer__mark .fm-face, html.anim .footer__mark .fm-relief { opacity: 0; }
html.anim .footer__mark.is-in .fm-face { opacity: 1; transition: opacity 320ms linear; }
html.anim .footer__mark.is-in .fm-relief { opacity: 1; transition: opacity 900ms var(--ease) 140ms; }
/* Wer mehr Kontrast wünscht, bekommt die Wortmarke gefüllt */
@media (prefers-contrast: more) { .fm-face { fill: var(--se-schwarz); } .fm-relief { display: none !important; } }
@media (forced-colors: active) { .fm-face { fill: CanvasText; } .fm-relief { display: none !important; } }
/* Grundlinie mit Endpunkt: eine feine graue Linie, an ihrem Ende ein kleines Quadrat in Signalorange.
   Der Punkt wird gesetzt, wenn die Prägung steht. Die Linie selbst bewegt sich nicht. */
.footer__rule { position: relative; height: var(--dot); margin-top: clamp(14px, 1.8vw, 26px); overflow: hidden; }
.footer__rule::before { content: ""; position: absolute; left: 0; right: 0; top: calc((var(--dot) - 1px) / 2); height: 1px; background: var(--line); }
.footer__rule b { position: absolute; inset: 0; }
.footer__rule b::after { content: ""; position: absolute; right: 0; top: 0; width: var(--dot); height: var(--dot); background: var(--se-signal); }
html.anim .footer__rule b::after { transform: scale(0); }
html.anim .footer__mark.is-in + .footer__rule b::after { transform: none; transition: transform 360ms var(--ease) 640ms; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 6px; font: 400 var(--fs-label)/1.4 var(--mono); color: var(--muted); }
.footer__base a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); }
.footer__base a::after { bottom: 10px; }
@media (min-width: 768px) {
  .footer__lead { grid-column: 1 / span 4; }
  .footer__col:nth-of-type(1) { grid-column: 1 / span 3; }
  .footer__col { grid-column: span 2; }
  .footer__lead { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .footer__lead { grid-column: 1 / span 5; font-size: clamp(36px, 3vw, 48px); }
  .footer__col:nth-of-type(1) { grid-column: 6 / span 3; }
  .footer__col { grid-column: span 2; }
}
@media (min-width: 1280px) {
  .footer__col:nth-of-type(1) { grid-column: 7 / span 2; }
}
@media (min-width: 1920px) { .site-footer { --dot: 9px; } }

/* 16 · Unterseiten: Impressum, Datenschutz, Danke, 404 -------------------------------- */
.page { padding-top: calc(var(--header-h) + clamp(48px, 9vw, 120px)); padding-bottom: var(--section); min-height: 62vh; }
.page__title { grid-column: 1 / -1; font-size: clamp(40px, 7.4vw, 104px); font-weight: 600; line-height: 0.94; letter-spacing: -0.047em; margin-left: -0.04em; margin-bottom: clamp(32px, 6vw, 88px); text-wrap: balance; }
.legal, .statement { grid-column: 1 / -1; }
.legal h2 { margin-top: 44px; font-size: clamp(21px, 19px + 0.5vw, 26px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.legal p, .legal ul { margin-top: 12px; max-width: 40em; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.legal__note { padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line); font: 400 var(--fs-nav)/1.5 var(--mono); color: var(--muted); }
.statement { display: grid; gap: 28px; justify-items: start; }
.statement .lead { max-width: 24em; }
@media (min-width: 1024px) {
  .legal { grid-column: 6 / span 7; }
  .statement { grid-column: 6 / span 6; }
}

/* 17 · Bewegung beim Einstieg -------------------------------------------------------
   Der Hero beginnt als Rohform: Das Raster zieht auf, die Konturen der Buchstaben werden von links nach rechts gezeichnet,
   die Ankerpunkte erscheinen. Rund anderthalb Sekunden, jede Eingabe beendet es sofort.
   Der Text und die Schaltfläche sind von Anfang an da. */
html.intro .hero__cols i { transform: scaleY(0); }
html.intro .hw-guides, html.intro .hn, html.intro .hero__gridnote, html.intro .hw__tag, html.intro .hero__state { opacity: 0; }
html.intro .hl-line { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
html.intro.intro-run .hero__cols i { transform: none; transition: transform 700ms var(--ease) calc(var(--n, 0) * 28ms); }
html.intro.intro-run .hw-guides { opacity: var(--k); transition: opacity 500ms linear 120ms; }
html.intro.intro-run .hl-line { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms cubic-bezier(0.6, 0, 0.25, 1) calc(140ms + var(--i, 0) * 30ms); }
html.intro.intro-run .hn { opacity: 1; transition: opacity 360ms linear 1000ms; }
html.intro.intro-run .hero__gridnote, html.intro.intro-run .hw__tag { opacity: var(--k); transition: opacity 400ms linear 800ms; }
html.intro.intro-run .hero__state { opacity: 1; transition: opacity 420ms linear 1100ms; }
html.intro-skip .hero *, html.intro-skip .hero { transition: none !important; }
.hero__cols i:nth-child(2) { --n: 1; } .hero__cols i:nth-child(3) { --n: 2; } .hero__cols i:nth-child(4) { --n: 3; }
.hero__cols i:nth-child(5) { --n: 4; } .hero__cols i:nth-child(6) { --n: 5; } .hero__cols i:nth-child(7) { --n: 6; }
.hero__cols i:nth-child(8) { --n: 7; } .hero__cols i:nth-child(9) { --n: 8; } .hero__cols i:nth-child(10) { --n: 9; }
.hero__cols i:nth-child(11) { --n: 10; } .hero__cols i:nth-child(12) { --n: 11; }

/* 18 · Ohne Bewegung, ohne Skript, Druck ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
}
/* Ohne JavaScript und bei reduzierter Bewegung stehen die fünf Schritte des Ablaufs vollständig da (Grundform in Abschnitt 10). */
@media print {
  .site-header, .menu, .hero__state, .hero__cols, .skip-link { display: none !important; }
  .hero { --e: 1 !important; height: auto !important; }
  .hero__pin { position: relative !important; height: auto !important; }
  .fm-face { fill: #000 !important; opacity: 1 !important; } .fm-relief { display: none !important; }
  [data-theme] { background: #fff !important; color: #000 !important; }
}

/* 18 · Datenschutz-Hinweis (Website 13) ---------------------------------------------------------
   Eine Papierkarte unten rechts, auf dem Smartphone über die volle Breite. Ablehnen und Akzeptieren
   sind gleich groß und gleich gestaltet. Ein- und ausgeschaltet wird der Hinweis in main.js (CONSENT_BANNER). */
.cookie { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__box {
  pointer-events: auto; position: relative; max-width: 460px; padding: 22px 22px 18px;
  background: var(--se-weiss) var(--grain) 0 0 / 128px 128px; color: var(--se-schwarz);
  box-shadow: inset 0 0 0 1px rgba(30, 27, 27, 0.16), 0 18px 48px -12px rgba(30, 27, 27, 0.28), 0 2px 6px rgba(30, 27, 27, 0.08);
}
.cookie__label { display: flex; align-items: center; gap: 10px; font: 500 var(--fs-label)/1.4 var(--mono); letter-spacing: 0.02em; text-transform: uppercase; }
.cookie__mark { width: 9px; height: 9px; background: var(--se-signal); flex: none; }
.cookie__text { margin-top: 12px; font-size: var(--fs-small); line-height: 1.5; }
.cookie__prefs { margin: 16px 0 0; padding: 0; border: 0; display: grid; gap: 2px; }
.cookie__prefs[hidden] { display: none; }
.cookie__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(30, 27, 27, 0.14); font-size: var(--fs-small); line-height: 1.45; cursor: pointer; }
.cookie__opt input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--se-schwarz); }
.cookie__opt b { display: block; font-weight: 600; }
.cookie__opt input:disabled + span { color: rgba(30, 27, 27, 0.72); }
.cookie__actions { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie__btn { width: 100%; justify-content: center; font: 500 var(--fs-label)/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; }
.cookie__btn[hidden] { display: none; }
.cookie.is-prefs .cookie__actions { grid-template-columns: 1fr; }
.cookie__more { margin-top: 10px; min-height: 36px; padding: 0; border: 0; background: none; color: inherit; font: 400 var(--fs-label)/1.4 var(--mono); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.cookie__more[hidden] { display: none; }
.cookie :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (min-width: 640px) {
  .cookie { left: auto; right: var(--margin); bottom: 24px; width: 460px; }
}
html.anim .cookie:not([hidden]) .cookie__box { animation: cookie-in 420ms var(--ease) both; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.menu-open .cookie { display: none; }
@media print { .cookie { display: none !important; } }
@media (forced-colors: active) { .cookie__box { border: 1px solid CanvasText; } }
.cookie__prefs legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 19 · Anfrage in drei Schritten (Website 14) ---------------------------------
   Ohne Skript stehen die drei Schritte untereinander als ein Formular. Mit Skript (Klasse is-steps)
   ist immer ein Schritt zu sehen, oben die Anzeige „01 / 03“ und drei Striche für den Fortschritt. */
.form { align-content: start; }
.fstep { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; grid-column: 1 / -1; }
.fstep + .fstep { padding-top: 40px; border-top: 1px solid var(--line); }
.fstep:focus { outline: none; }
.fstep__legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 14px; margin: 0 !important; font-family: inherit !important; font-size: clamp(22px, 19px + 0.7vw, 30px) !important; font-weight: 600 !important; line-height: 1.15 !important; letter-spacing: -0.02em; color: var(--fg) !important; text-transform: none; }
.fstep__legend + * { clear: both; }
.fstep__no { font: 400 var(--fs-label)/1 var(--mono); color: var(--muted); letter-spacing: 0; }
.group { display: grid; }
.group[hidden] { display: none; }
.fstep__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.fstep .consent, .fstep .form__end { grid-column: 1 / -1; }
.fstep__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.fstep__nav[hidden], .fstep__back[hidden] { display: none; }
.fstep__nav [data-fstep-next] { margin-left: auto; }
.fstep__back { min-height: 44px; padding: 0 4px; border: 0; background: none; color: inherit; font: 500 var(--fs-nav)/1 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; transition: text-decoration-color var(--t-fast) var(--ease); }
.fstep__back::before { content: "← "; }
@media (hover: hover) { .fstep__back:hover { text-decoration-color: currentColor; } }
.fstep__back:focus-visible { outline: 2px solid var(--se-weiss); outline-offset: 3px; }
.field input::placeholder { color: rgba(248, 248, 245, 0.4); }
@media (min-width: 768px) { .fstep__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } }

.steps { grid-column: 1 / -1; display: grid; gap: 14px; }
.steps[hidden] { display: none; }
.steps__count { display: flex; align-items: baseline; gap: 8px; font: 400 var(--fs-label)/1.4 var(--mono); color: var(--muted); }
.steps__count [data-fstep-num] { color: var(--fg); }
.steps__name { margin-left: auto; text-align: right; }
.steps__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.steps__track li { height: 2px; background: rgba(248, 248, 245, 0.22); transition: background-color var(--t-ui) var(--ease); }
.steps__track li.is-done { background: var(--se-weiss); }
.steps__track li.is-now { background: var(--se-signal); }

/* Schrittmodus */
.form.is-steps .fstep { display: none; }
.form.is-steps .fstep.is-current { display: grid; }
.form.is-steps .fstep + .fstep { padding-top: 0; border-top: 0; }
.form.is-steps .fstep__legend { margin-bottom: 4px !important; }
html.anim .form.is-steps .fstep.is-current { animation: fstep-in 320ms var(--ease) both; }
@keyframes fstep-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.form.is-steps .form__end { justify-content: flex-start; }
.form.is-steps .form__end .fstep__back { order: -1; margin-right: auto; }

