/* AVOOR. – erzeugt aus src/css (01-tokens.css, 02-base.css, 03-layout.css, 04-components.css, 05-moments.css, 06-pages.css) */
/* =========================================================
   AVOOR. Design-Tokens  ·  Leitmotiv „Punkt.“
   Farben werden einmal definiert und per light-dark() an das
   aktive Farbschema gebunden (data-theme oder Systemvorgabe).
   ========================================================= */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  /* Farbwelt */
  --bg:      light-dark(#f1f0ec, #0a0a0b);
  --bg-2:    light-dark(#e7e6e1, #131315);
  --bg-3:    light-dark(#dcdbd5, #1b1b1e);
  --fg:      light-dark(#0e0e0f, #ededea);
  --fg-2:    light-dark(#4a4a47, #a6a6a2);
  --line:    light-dark(#c9c8c2, #2a2a2d);
  --line-2:  light-dark(#8f8e88, #4a4a50);
  --dot:     light-dark(#b9b8b2, #3d3d43);
  --dot-hi:  light-dark(#6f6e69, #8a8a90);
  --red:     light-dark(#e0190b, #ff2b1c);
  --red-ink: light-dark(#b8140a, #ff6a5e);
  --on-fg:   light-dark(#f1f0ec, #0a0a0b);
  --glass:   light-dark(rgb(241 240 236 / 0.72), rgb(10 10 11 / 0.62));
  --scrim:   light-dark(rgb(241 240 236 / 0.9), rgb(10 10 11 / 0.88));
  --focus:   light-dark(#0e0e0f, #ededea);

  /* Typografie */
  --font-sans: "Geist", "Geist Fallback", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;

  --fs-display: clamp(2.6rem, 1.15rem + 5.4vw, 6.6rem);
  --fs-h1:      clamp(2.3rem, 1.45rem + 3.5vw, 4.6rem);
  --fs-h2:      clamp(1.75rem, 1.2rem + 2.15vw, 3.1rem);
  --fs-h3:      clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fs-lead:    clamp(1.1875rem, 1.06rem + 0.5vw, 1.5rem);
  --fs-body:    clamp(1.0625rem, 1.01rem + 0.2vw, 1.1875rem);
  --fs-small:   0.9375rem;
  --fs-mono:    0.8125rem;

  --lh-tight: 1.02;
  --lh-head:  1.1;
  --lh-body:  1.6;

  --track-display: -0.035em;
  --track-head:    -0.025em;
  --track-mono:    0.08em;

  --w-light: 320;
  --w-book:  400;
  --w-mid:   520;
  --w-bold:  640;

  /* Raster und Abstaende */
  --margin: clamp(20px, 5vw, 88px);
  --gutter: clamp(12px, 2vw, 32px);
  --maxw:   1680px;
  --measure: 66ch;

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --section: clamp(5.5rem, 3.5rem + 8vw, 11rem);

  --raster: 24px;
  --dot-size: 3px;
  --red-dot: 0.22em;

  /* Bewegung */
  --t-1: 160ms;
  --t-2: 320ms;
  --t-3: 640ms;
  --t-4: 1100ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0, 1);
  --ease-io:  cubic-bezier(0.7, 0, 0.2, 1);
  --stagger: 50ms;

  --header-h: 72px;
  --target: 48px;
  --radius: 2px;
}

html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"]  { color-scheme: dark; }

/* Ruhige Fassung: Bewegungs-Tokens auf null */
html[data-motion="off"] {
  --t-1: 0ms;
  --t-2: 0ms;
  --t-3: 0ms;
  --t-4: 0ms;
  --stagger: 0ms;
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}

/* =========================================================
   Basis: Reset, Typografie, Fokus, Hilfsklassen
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
  interpolate-size: allow-keywords;
}

@media (prefers-reduced-motion: no-preference) {
  html[data-motion="on"] { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--w-book);
  line-height: var(--lh-body);
  font-kerning: normal;
  font-feature-settings: "ss01" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }
img { background: var(--bg-2); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 {
  font-weight: var(--w-light);
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: var(--track-display); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--w-book); letter-spacing: -0.012em; }
p, li, dd { text-wrap: pretty; }
strong { font-weight: var(--w-mid); }

/* Fokus: immer sichtbar, doppelt umrandet (AAA 2.4.13) */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--red);
  border-radius: var(--radius);
}

/* Sprunglink */
.skip {
  position: fixed;
  left: var(--margin);
  top: 12px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--fg);
  color: var(--on-fg);
  text-decoration: none;
  font-weight: var(--w-mid);
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Container und Raster */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--margin);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.grid > * { grid-column: 1 / -1; min-width: 0; }

/* Mono-Beschriftung mit grauem Punkt */
.kicker, .mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 450;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--fg-2);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
}
.kicker::before {
  content: "";
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--dot-hi);
  flex: none;
}
.kicker--red::before { background: var(--red); }

/* Der rote Punkt als Satzzeichen */
.pt {
  display: inline-block;
  inline-size: var(--red-dot);
  block-size: var(--red-dot);
  margin-inline-start: 0.04em;
  border-radius: 50%;
  background: var(--red);
  vertical-align: baseline;
  transform: translateY(0.02em);
}

.display {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  font-weight: 300;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--fg);
  max-width: 34ch;
  font-weight: var(--w-book);
}

.muted { color: var(--fg-2); }
.measure { max-width: var(--measure); }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--line { border-top: 1px solid var(--line); }

/* Sichtbares technisches Punktraster */
.raster-bg {
  background-image: radial-gradient(circle at center, var(--dot) 1.1px, transparent 1.6px);
  background-size: var(--raster) var(--raster);
  background-position: calc(var(--margin) - var(--raster) / 2) 0;
}

/* Fliesstext-Links */
.prose a, .text-link {
  color: var(--fg);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--line-2);
  transition: text-decoration-color var(--t-1) linear;
}
.prose a:hover, .text-link:hover { text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* Ohne JavaScript: alles sichtbar. Mit JavaScript und Bewegung: Einblenden. */
html.js[data-motion="on"] [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity var(--t-3) var(--ease-out),
    translate var(--t-3) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
html.js[data-motion="on"] [data-reveal].is-in { opacity: 1; translate: 0 0; }

@media print {
  .site-header, .site-footer, .notice, .field, .menu { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =========================================================
   Layout: Kopfzeile, Navigation, Menue, Seitenkopf, Fusszeile
   ========================================================= */

/* ---------- Kopfzeile (sticky, Glas) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  view-transition-name: site-header;
  transition: background-color var(--t-2) linear, border-color var(--t-2) linear, translate var(--t-2) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  opacity: 0;
  transition: opacity var(--t-2) linear;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before,
.site-header.is-solid::before { opacity: 1; }
html.menu-open .site-header::before { opacity: 0; }
html.menu-open .site-header { border-bottom-color: transparent; }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
  min-height: var(--target);
  align-self: center;
  padding-block: 0.6rem;
  font-size: 1.375rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  color: var(--fg);
  margin-inline-end: auto;
}
.brand__dot {
  display: inline-block;
  inline-size: 0.27em;
  block-size: 0.27em;
  border-radius: 50%;
  background: var(--red);
  view-transition-name: brand-dot;
}
html.is-intro .brand__dot { opacity: 0; }

/* Desktop-Navigation mit rotem Punkt-Indikator */
.nav { display: none; position: relative; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1.1vw, 1.25rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  padding-inline: 0.55rem;
  font-size: 0.9375rem;
  font-weight: 450;
  color: var(--fg-2);
  text-decoration: none;
  transition: color var(--t-1) linear;
}
.nav__link:hover,
.nav__link[aria-current="page"],
.nav__link.is-section { color: var(--fg); }
.nav__dot {
  position: absolute;
  left: 0;
  bottom: 6px;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--red);
  translate: var(--nx, -40px) 0;
  opacity: var(--no, 0);
  view-transition-name: nav-dot;
  transition: translate var(--t-2) var(--ease-out), opacity var(--t-1) linear;
  pointer-events: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

/* Schalter Farbschema / Bewegung */
.tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: var(--target);
  min-height: var(--target);
  padding: 0 0.6rem;
  border: 0;
  background: none;
  color: var(--fg-2);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: color var(--t-1) linear;
}
.tool:hover { color: var(--fg); }
.tool__icon {
  position: relative;
  inline-size: 16px;
  block-size: 16px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  overflow: hidden;
  flex: none;
}
/* Farbschema: Halbmond aus zwei Punkten */
.tool--theme .tool__icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: currentColor;
  translate: 50% 0;
  transition: translate var(--t-2) var(--ease-out);
}
html[data-scheme="light"] .tool--theme .tool__icon::after { translate: 0 0; }
/* Bewegung: Punkt auf Linie */
.tool--motion .tool__icon { border-radius: 2px; border: 0; inline-size: 22px; block-size: 16px; }
.tool--motion .tool__icon::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  background: currentColor;
  translate: 0 -50%;
  opacity: 0.6;
}
.tool--motion .tool__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--red);
  translate: 14px -50%;
  transition: translate var(--t-2) var(--ease-out), background-color var(--t-1) linear;
}
html[data-motion="off"] .tool--motion .tool__icon::after { translate: 0 -50%; background: var(--fg-2); }

.header-cta { display: none; }

/* Burger */
.burger {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--target);
  min-width: var(--target);
  padding: 0 0.25rem 0 0.75rem;
  border: 0;
  background: none;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
}
.burger__lines {
  position: relative;
  inline-size: 26px;
  block-size: 12px;
}
.burger__lines::before,
.burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: translate var(--t-2) var(--ease-out), rotate var(--t-2) var(--ease-out);
}
.burger__lines::before { top: 0; }
.burger__lines::after { bottom: 0; right: 8px; }
.burger[aria-expanded="true"] .burger__lines::before { translate: 0 5.25px; rotate: 45deg; }
.burger[aria-expanded="true"] .burger__lines::after { translate: 0 -5.25px; rotate: -45deg; right: 0; }

.tool--motion .tool__label { display: none; }

@media (min-width: 640px) {
  .tool--motion .tool__label { display: inline; }
}

@media (min-width: 1180px) {
  .nav { display: block; }
  .burger { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- Menue (Burger) ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding-top: calc(var(--header-h) + var(--s-5));
  padding-bottom: var(--s-7);
  overflow-y: auto;
  background: var(--scrim);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  backdrop-filter: blur(22px) saturate(1.1);
  opacity: 0;
  transition: opacity var(--t-2) linear;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__inner { display: grid; gap: var(--s-7); }
.menu__list { list-style: none; padding: 0; margin: 0; counter-reset: m; }
.menu__item { counter-increment: m; border-bottom: 1px solid var(--line); }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding-block: 0.7rem;
  min-height: 56px;
  font-size: clamp(1.75rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 320;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-decoration: none;
  color: var(--fg);
  opacity: 0;
  translate: 0 14px;
  transition: opacity var(--t-3) var(--ease-out), translate var(--t-3) var(--ease-out), color var(--t-1) linear;
  transition-delay: calc(var(--i, 0) * 45ms + 60ms);
}
.menu__link::before {
  content: counter(m, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--track-mono);
  color: var(--fg-2);
  inline-size: 2.4em;
  flex: none;
}
.menu__link[aria-current="page"]::after {
  content: "";
  inline-size: 0.2em;
  block-size: 0.2em;
  border-radius: 50%;
  background: var(--red);
  align-self: center;
}
.menu.is-open .menu__link { opacity: 1; translate: 0 0; }
.menu__meta {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  font-size: var(--fs-small);
}
.menu__meta .tool { justify-content: flex-start; padding-inline: 0; }

@media (min-width: 1180px) {
  .menu { display: none !important; }
}

/* ---------- Seitenkopf der Unterseiten ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 2rem + 6vw, 8rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.page-hero__grid { row-gap: var(--s-6); align-items: end; }
.page-hero__text { display: grid; gap: var(--s-5); }
.page-hero__text h1 { max-width: 16ch; }
.page-hero__lead { max-width: 44ch; color: var(--fg-2); font-size: var(--fs-lead); line-height: 1.45; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; list-style: none; padding: 0; margin: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 0.75rem; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a {
  color: var(--fg-2);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.crumbs a:hover { color: var(--fg); }
.crumbs [aria-current] { color: var(--fg); }

/* Koordinaten-Raster: jede Seite hat ihren Punkt */
.coord {
  --n: 9;
  position: relative;
  inline-size: min(100%, 15rem);
  aspect-ratio: 1;
  justify-self: start;
  background-image: radial-gradient(circle at center, var(--dot) 1.4px, transparent 2px);
  background-size: calc(100% / var(--n)) calc(100% / var(--n));
}
.coord__dot {
  position: absolute;
  inline-size: 14px;
  block-size: 14px;
  border-radius: 50%;
  background: var(--red);
  left: calc((var(--c) - 0.5) / var(--n) * 100%);
  top: calc((var(--r) - 0.5) / var(--n) * 100%);
  translate: -50% -50%;
  view-transition-name: intervention;
}
.coord__dot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid var(--red);
  border-radius: 50%;
  opacity: 0.45;
}
.coord__label {
  position: absolute;
  inset: auto auto -2.2rem 0;
  white-space: nowrap;
}
.r1{--r:1}.r2{--r:2}.r3{--r:3}.r4{--r:4}.r5{--r:5}.r6{--r:6}.r7{--r:7}.r8{--r:8}.r9{--r:9}
.c1{--c:1}.c2{--c:2}.c3{--c:3}.c4{--c:4}.c5{--c:5}.c6{--c:6}.c7{--c:7}.c8{--c:8}.c9{--c:9}

@media (min-width: 900px) {
  .page-hero__text { grid-column: 1 / span 8; }
  .page-hero__aside { grid-column: 10 / span 3; justify-self: end; inline-size: 100%; }
  .coord { justify-self: end; }
}
@media (max-width: 899px) {
  .coord { inline-size: 9.5rem; }
}

/* ---------- Fusszeile ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: var(--section);
  padding-bottom: var(--s-6);
  background: var(--bg);
}
.footer__claim {
  font-size: var(--fs-h2);
  font-weight: 300;
  letter-spacing: var(--track-head);
  line-height: 1.08;
  max-width: 18ch;
}
.footer__claim .muted { display: block; }
.footer__grid { row-gap: var(--s-7); margin-top: var(--s-9); }
.footer__col h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 450;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: var(--s-4);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; }
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--fg);
  font-size: var(--fs-small);
}
.footer__col a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.25em; }
.footer__col address { font-size: var(--fs-small); line-height: 1.7; margin-bottom: var(--s-3); }
.footer__col .tool { padding-inline: 0; justify-content: flex-start; color: var(--fg); }
.footer__bottom {
  margin-top: var(--s-9);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3) var(--s-6);
}
.footer__bottom a { color: var(--fg); }

@media (min-width: 720px) {
  .footer__col { grid-column: span 6; }
}
@media (min-width: 1100px) {
  .footer__col { grid-column: span 3; }
}

/* =========================================================
   Komponenten
   ========================================================= */

/* ---------- Pfeil (CSS, keine Icon-Schrift) ---------- */
.arrow {
  position: relative;
  display: inline-block;
  inline-size: 1.1em;
  block-size: 0.7em;
  flex: none;
  transition: translate var(--t-2) var(--ease-out);
}
.arrow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 1px;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  translate: 0 -50%;
}
.arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  inline-size: 0.42em;
  block-size: 0.42em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  translate: 0 -50%;
  rotate: 45deg;
  transform-origin: 70% 30%;
}
.arrow--out { rotate: -45deg; }

/* ---------- Schaltflaechen ---------- */
.btn {
  --btn-bg: var(--fg);
  --btn-fg: var(--on-fg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 56px;
  padding: 0 1.6rem;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: var(--w-mid);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: color var(--t-2) var(--ease-out), border-color var(--t-2) linear, scale var(--t-1) var(--ease-out);
}
/* Spuerbarer Zustand: der rote Punkt setzt sich vor die Beschriftung.
   Text- und Flaechenfarben bleiben unveraendert (Kontrast AAA). */
.btn::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 1.25rem;
  top: 50%;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--red);
  translate: -50% -50%;
  scale: 0;
  transition: scale var(--t-2) var(--ease-out);
}
.btn > span:first-child { transition: translate var(--t-2) var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { scale: 1; }
.btn:hover > span:first-child, .btn:focus-visible > span:first-child { translate: 0.45rem 0; }
.btn:active { scale: 0.98; }
.btn:hover .arrow { translate: 4px 0; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: var(--line-2);
}
.btn--small { min-height: 44px; padding: 0 1.1rem; font-size: 0.9375rem; }
.btn--small::before { left: 0.85rem; inline-size: 6px; block-size: 6px; }
.btn--small:hover > span:first-child { translate: 0.3rem 0; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); align-items: center; }

/* Pfeil-Verweis */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: var(--target);
  color: var(--fg);
  text-decoration: none;
  font-weight: var(--w-mid);
  background-image: radial-gradient(circle, var(--line-2) 1px, transparent 1.4px);
  background-size: 6px 3px;
  background-repeat: repeat-x;
  background-position: 0 calc(100% - 8px);
  transition: color var(--t-1) linear;
}
.link-arrow:hover { background-image: radial-gradient(circle, var(--red) 1.2px, transparent 1.6px); }
.link-arrow:hover .arrow { translate: 4px 0; }
.link-arrow:hover .arrow--out { translate: 3px -3px; }

/* ---------- Leistungsindex (statt Kartenraster) ---------- */
.index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: idx; }
.index__item { border-bottom: 1px solid var(--line); }
.index__link {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  align-items: baseline;
  gap: var(--s-2) var(--s-4);
  padding-block: clamp(1.1rem, 0.8rem + 1.2vw, 1.9rem);
  text-decoration: none;
  color: var(--fg);
}
.index__num { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: var(--track-mono); color: var(--fg-2); }
.index__name {
  font-size: clamp(1.6rem, 1.15rem + 2vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  transition: translate var(--t-2) var(--ease-out), font-weight var(--t-2) var(--ease-out);
}
.index__claim { grid-column: 2 / -1; color: var(--fg-2); font-size: var(--fs-small); max-width: 46ch; }
.index__go { color: var(--fg-2); transition: color var(--t-1) linear; }
.index__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  inline-size: 10px;
  block-size: 10px;
  border-radius: 50%;
  background: var(--red);
  translate: -22px -50%;
  scale: 0;
  transition: scale var(--t-2) var(--ease-out);
}
.index__link:hover .index__name,
.index__link:focus-visible .index__name { translate: 0.5rem 0; font-weight: 420; }
.index__link:hover::before,
.index__link:focus-visible::before { scale: 1; }
.index__link:hover .index__go { color: var(--red-ink); }

@media (min-width: 900px) {
  .index__link { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 0.9fr) auto; }
  .index__claim { grid-column: auto; }
}

/* Vorschau beim Ueberfahren (nur Zeiger mit Hover; dekorativ) */
.index-wrap { position: relative; }
.index-preview {
  display: none;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) and (min-width: 1100px) {
  .index-preview {
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    inline-size: 300px;
    aspect-ratio: 4 / 5;
    opacity: 0;
    scale: 0.92;
    translate: var(--px, 0) var(--py, 0);
    transition: opacity var(--t-2) linear, scale var(--t-2) var(--ease-out);
    overflow: hidden;
    border-radius: var(--radius);
  }
  .index-preview.is-on { opacity: 1; scale: 1; }
  .index-preview img {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity var(--t-2) linear;
  }
  .index-preview img.is-on { opacity: 1; }
}

/* ---------- Akkordeon (details/summary, nativ) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  min-height: 64px;
  padding-block: var(--s-4);
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-h3);
  font-weight: var(--w-book);
  letter-spacing: -0.012em;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__sign {
  position: relative;
  inline-size: 22px;
  block-size: 22px;
  flex: none;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  inline-size: 16px;
  block-size: 1.5px;
  background: currentColor;
  translate: -50% -50%;
  transition: rotate var(--t-2) var(--ease-out), background-color var(--t-1) linear;
}
.faq__sign::after { rotate: 90deg; }
.faq details[open] .faq__sign::after { rotate: 0deg; }
.faq details[open] .faq__sign::before { background: var(--red); }
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size var(--t-3) var(--ease-out), content-visibility var(--t-3) allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq__answer { padding-bottom: var(--s-6); max-width: var(--measure); color: var(--fg-2); }
.faq__answer p + p { margin-top: var(--s-3); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: var(--s-6); }
.field { display: grid; gap: var(--s-2); }
.field label, .field legend, .label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--fg-2);
}
.field .hint { font-size: var(--fs-small); color: var(--fg-2); }
.input {
  inline-size: 100%;
  min-height: 56px;
  padding: 0.9rem 0;
  border: 0;
  border-bottom: 1.5px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font-size: var(--fs-lead);
  font-weight: var(--w-book);
  transition: border-color var(--t-1) linear;
}
.input::placeholder { color: var(--fg-2); opacity: 1; }
.input:hover { border-bottom-color: var(--fg-2); }
.input:focus-visible {
  outline: none;
  box-shadow: none;
  border-bottom-color: var(--red);
  border-bottom-width: 2px;
}
textarea.input { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
select.input { appearance: none; padding-right: 2rem; background-image: none; }
.field.is-invalid .input { border-bottom-color: var(--red); }
.field__error { font-size: var(--fs-small); color: var(--red-ink); font-weight: var(--w-mid); }
.field__error:empty { display: none; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.15rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.9375rem;
  transition: border-color var(--t-1) linear, background-color var(--t-1) linear, color var(--t-1) linear;
}
.chip span::before {
  content: "";
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--dot-hi);
  transition: background-color var(--t-1) linear, scale var(--t-2) var(--ease-out);
}
.chip input:checked + span { border-color: var(--fg); background: var(--fg); color: var(--on-fg); }
.chip input:checked + span::before { background: var(--red); scale: 1.3; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.chip input:hover + span { border-color: var(--fg); }

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 48px;
  cursor: pointer;
}
.check input {
  appearance: none;
  flex: none;
  inline-size: 24px;
  block-size: 24px;
  margin: 0.2rem 0 0;
  border: 1.5px solid var(--fg-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.check input::after {
  content: "";
  inline-size: 10px;
  block-size: 10px;
  border-radius: 50%;
  background: var(--red);
  scale: 0;
  transition: scale var(--t-2) var(--ease-out);
}
.check input:checked { border-color: var(--fg); }
.check input:checked::after { scale: 1; }

.form__row { display: grid; gap: var(--s-6); }
@media (min-width: 760px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}
.form__legal { font-size: var(--fs-small); color: var(--fg-2); max-width: 60ch; }
.form__hp { position: absolute !important; left: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.form__status {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: var(--fs-lead);
  min-height: 1.5em;
}
.form__status:empty { display: none; }
.form__status::before {
  content: "";
  inline-size: 12px;
  block-size: 12px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.form__status.is-error { color: var(--red-ink); }
.is-hidden { display: none !important; }

/* Animierte Rueckmeldung: der Knopf wird zum Punkt, der Punkt landet */
.btn.is-sending { color: transparent; border-color: var(--red); }
.btn.is-sending::before { scale: 80; transition-duration: var(--t-3); }
.form-done {
  display: grid;
  gap: var(--s-4);
  padding-block: var(--s-6);
}
.form-done__dot {
  inline-size: 18px;
  block-size: 18px;
  border-radius: 50%;
  background: var(--red);
  animation: land var(--t-4) var(--ease-out) both;
}
@keyframes land {
  0% { translate: 0 -60px; scale: 0.4; opacity: 0; }
  60% { translate: 0 0; scale: 1.25; opacity: 1; }
  100% { translate: 0 0; scale: 1; }
}

/* ---------- Datenschutz-Hinweis (nicht modal) ---------- */
.notice {
  position: fixed;
  z-index: 80;
  left: var(--margin);
  right: var(--margin);
  bottom: 16px;
  max-width: 560px;
  padding: 1.1rem 1.25rem;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: var(--fs-small);
  line-height: 1.55;
  display: grid;
  gap: var(--s-3);
}
.notice[hidden] { display: none; }
.notice p { max-width: 60ch; }
.notice .btn-row { gap: var(--s-2) var(--s-4); }

/* ---------- Bildfiguren ---------- */
.figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.figure img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.figure figcaption {
  position: absolute;
  left: var(--s-4);
  bottom: var(--s-4);
  padding: 0.35rem 0.6rem;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 2px;
}
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-1x1 { aspect-ratio: 1; }

/* ---------- Prosa (Recht, Journal) ---------- */
.prose-wrap { padding-block: var(--section); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: var(--s-8); font-weight: 340; }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--s-6); }
.prose h2 + *, .prose h3 + * { margin-top: var(--s-3); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--s-2); }
.prose ul { list-style: none; padding-left: 1.4em; }
.prose ul > li { position: relative; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: -1.1em;
  top: 0.68em;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--dot-hi);
}
.prose dl { display: grid; gap: var(--s-2) var(--s-5); }
.prose dt { font-weight: var(--w-mid); }
.prose dd { color: var(--fg-2); }
@media (min-width: 720px) {
  .prose dl { grid-template-columns: minmax(10rem, max-content) 1fr; }
}
.prose blockquote {
  padding-left: var(--s-5);
  border-left: 2px solid var(--red);
  font-size: var(--fs-lead);
  line-height: 1.45;
}
.prose table { inline-size: 100%; border-collapse: collapse; font-size: var(--fs-small); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: var(--w-mid); }
.prose .note, .prose aside {
  padding: var(--s-5);
  background: var(--bg-2);
  border-left: 2px solid var(--red);
}
.prose address { line-height: 1.7; }
.prose strong { color: var(--fg); }

.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }

/* Abschluss-Aufruf auf Unterseiten */
.closer { border-top: 1px solid var(--line); }
.closer__grid { row-gap: var(--s-6); align-items: end; }
.closer h2 { max-width: 16ch; }
@media (min-width: 900px) {
  .closer__text { grid-column: 1 / span 7; }
  .closer__act { grid-column: 9 / -1; justify-self: start; }
}

/* Verwandte Seiten */
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.related li { border-bottom: 1px solid var(--line); }
.related a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  min-height: 64px;
  text-decoration: none;
  font-size: var(--fs-h3);
  font-weight: 340;
  letter-spacing: -0.015em;
}
.related a:hover { color: var(--fg); }
.related a:hover .arrow { translate: 4px 0; }

/* Liste mit Punkten und Beschriftung */
.deliver { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.deliver li { display: grid; gap: var(--s-1) var(--s-5); padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.deliver strong { font-weight: var(--w-mid); font-size: 1.0625rem; }
.deliver span { color: var(--fg-2); }
@media (min-width: 760px) {
  .deliver li { grid-template-columns: minmax(12rem, 0.8fr) 1.6fr; }
}

/* Nummerierte Schritte */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-6); counter-reset: st; }
.steps li { counter-increment: st; display: grid; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(st, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--track-mono);
  color: var(--fg-2);
}
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--fg-2); }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--gutter); }
}
@media (min-width: 1200px) {
  .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Signale: "Sie brauchen das, wenn …" */
.signals { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.signals li {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: var(--s-3);
  font-size: var(--fs-lead);
  line-height: 1.4;
}
.signals li::before {
  content: "";
  inline-size: 9px;
  block-size: 9px;
  border-radius: 50%;
  background: var(--dot-hi);
  margin-top: 0.6em;
}
.signals li:first-child::before { background: var(--red); }

/* Kennzeichnung (Studie, fiktiv, Luecke) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: var(--track-mono);
  text-transform: uppercase;
  color: var(--fg-2);
}

/* =========================================================
   Signature Moments
   1 Punktlandung + Punktfeld (Hero)   2 Der springende Punkt (Analyse)
   3 Kontrast-Demo                     4 Vier Schritte (Passage)
   5 Roter Punkt: Navigation + Seitenuebergang
   ========================================================= */

/* ---------- 1  Hero mit Punktfeld ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem);
  overflow: clip;
  isolation: isolate;
}
.field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  contain: strict;
  /* statischer Ersatz ohne JavaScript: geordnetes Raster */
  background-image: radial-gradient(circle at center, var(--dot) 1.3px, transparent 1.9px);
  background-size: 44px 44px;
  background-position: center;
}
.field.is-live { background-image: none; }
.field__dot {
  position: absolute;
  left: 0;
  top: 0;
  inline-size: var(--dot-size);
  block-size: var(--dot-size);
  margin: calc(var(--dot-size) / -2) 0 0 calc(var(--dot-size) / -2);
  border-radius: 50%;
  background: var(--dot);
}
.field__dot.is-word { background: var(--fg); opacity: 1 !important; transition: background-color 400ms linear; }
.field__red {
  position: absolute;
  left: 0;
  top: 0;
  inline-size: 14px;
  block-size: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--red);
  z-index: 2;
  opacity: 0;
}
html.is-intro .field__red { opacity: 1; }

.hero__inner { row-gap: var(--s-6); align-items: end; }
.hero__kicker { grid-column: 1 / -1; }
.hero__title { grid-column: 1 / -1; max-width: 13ch; }
.hero__title .hero__line { display: block; }
.hero__title .hero__line--quiet { color: var(--fg-2); }
.hero__aside { grid-column: 1 / -1; display: grid; gap: var(--s-5); }
.hero__lead { color: var(--fg); max-width: 40ch; font-size: var(--fs-lead); line-height: 1.45; }
.hero__lead,
.hero__kicker {
  text-shadow: 0 0 18px var(--bg), 0 0 6px var(--bg);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2) var(--s-5);
  margin-top: clamp(2rem, 1rem + 3vw, 4rem);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.hero__meta .tool { padding-inline: 0; }
.hero__count b { color: var(--fg); font-weight: 500; }
.hero__count .r { color: var(--red-ink); }

@media (min-width: 900px) {
  .hero__title { grid-column: 1 / span 9; }
  .hero__aside { grid-column: 1 / span 6; }
}
@media (min-width: 1200px) {
  .hero__title { grid-column: 1 / span 8; }
  .hero__aside { grid-column: 9 / -1; align-self: end; padding-bottom: 0.6rem; }
  .hero__kicker { grid-column: 1 / span 8; }
}

/* Intro (Punktlandung): Kopfzeile blendet erst nach der Landung ein */
html.is-intro .site-header { opacity: 0; }
.site-header { transition: opacity var(--t-3) linear; }
html.is-intro .hero__inner,
html.is-intro .hero__meta { opacity: 0.0; }
.hero__inner, .hero__meta { transition: opacity var(--t-3) var(--ease-out); }

/* ---------- Statement (wortweise, scrollgebunden) ---------- */
.statement__text {
  font-size: clamp(1.9rem, 1.1rem + 3.1vw, 4.2rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.statement__text .w { transition: opacity 240ms linear, color 240ms linear; }
html.js[data-motion="on"] .statement__text .w { opacity: 0.18; }
html.js[data-motion="on"] .statement__text .w.is-on { opacity: 1; }
.statement__text .w--red { color: var(--red-ink); }
.statement__grid { row-gap: var(--s-6); }
.statement__note { max-width: 40ch; color: var(--fg-2); }
@media (min-width: 1000px) {
  .statement__label { grid-column: 1 / span 3; }
  .statement__body { grid-column: 4 / -1; display: grid; gap: var(--s-7); }
}

/* ---------- 2  Der springende Punkt (Analyse-Scroll) ---------- */
.analyse { position: relative; border-top: 1px solid var(--line); }
.analyse__track { position: relative; }
html.js[data-motion="on"] .analyse__track { height: 340vh; }
.analyse__stage {
  position: relative;
  padding-block: var(--section);
}
html.js[data-motion="on"] .analyse__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  padding-block: calc(var(--header-h) + 1.5rem) 1.5rem;
  display: grid;
  align-items: center;
}
.analyse__grid { row-gap: var(--s-6); align-items: center; }
.analyse__text { display: grid; gap: var(--s-5); align-content: start; }
.analyse__text h2 { max-width: 14ch; }
.analyse__steps { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.analyse__steps span { opacity: 0.45; transition: opacity var(--t-2) linear, color var(--t-2) linear; }
.analyse__steps span.is-on { opacity: 1; color: var(--fg); }
.analyse__boards { display: grid; gap: var(--s-5); }

.board {
  position: relative;
  container-type: size;
  aspect-ratio: 4 / 3;
  inline-size: 100%;
  border: 1px solid var(--line);
  background-color: var(--bg-2);
  background-image: radial-gradient(circle at center, var(--dot) 0.9px, transparent 1.3px);
  background-size: 4% 5.333%;
  overflow: hidden;
  border-radius: 2px;
}
.board__label { position: absolute; left: 3cqw; bottom: 2.4cqh; }
html.js[data-motion="on"] .board--before { display: none; }
html.js[data-motion="on"] .analyse__boards .board__label--static { display: none; }

.frag {
  --k: 0;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  font-size: calc(var(--fz, 2.4) * 1cqw);
  line-height: 1.1;
  color: var(--fg-2);
  translate:
    calc((var(--x0) + (var(--x1, var(--x0)) - var(--x0)) * var(--k)) * 1cqw)
    calc((var(--y0) + (var(--y1, var(--y0)) - var(--y0)) * var(--k)) * 1cqh);
  rotate: calc(var(--r0, 0) * (1 - var(--k)) * 1deg);
  transform-origin: 0 0;
}
.frag--out {
  opacity: calc(1 - var(--k));
  filter: blur(calc(var(--k) * 6px));
}
.frag--in {
  opacity: var(--k);
  color: var(--fg);
}
.board--before .frag { --k: 0 !important; }
.board--before .frag--in { display: none; }
.board--after .frag--out { --k: 1; }
.board--after .frag--keep, .board--after .frag--in { --k: 1; }
html.js[data-motion="on"] .board--after .frag { --k: 0; }

/* Fragment-Positionen: x/y in Prozent der Tafel, r in Grad, fz in cqw */
.f1  { --x0: 9;  --y0: 8;  --r0: -3; --fz: 3.6; font-weight: 640; color: var(--fg); }
.f2  { --x0: 46; --y0: 24; --r0: 4;  --fz: 2.2; }
.f3  { --x0: 6;  --y0: 33; --r0: -8; --fz: 7.5; font-weight: 800; color: var(--dot-hi); }
.f4  { --x0: 70; --y0: 6;  --r0: 6;  --fz: 2.4; }
.f5  { --x0: 78; --y0: 46; --r0: -10; --fz: 2.8; }
.f6  { --x0: 52; --y0: 62; --r0: 3;  --fz: 2.6; text-decoration: underline; }
.f7  { --x0: 30; --y0: 50; --r0: -4; --fz: 4.2; font-weight: 700; color: var(--fg); }
.f8  { --x0: 8;  --y0: 74; --r0: 2;  --fz: 2.1; }
.f9  { --x0: 58; --y0: 86; --r0: -2; --fz: 2.1; }
.f10 { --x0: 33; --y0: 18; --r0: 0;  --fz: 3.4; letter-spacing: 0.4em; color: var(--dot-hi); }
.f11 { --x0: 12; --y0: 58; --r0: -5; --fz: 2.6; font-style: italic; }
.f12 { --x0: 80; --y0: 74; --r0: 9;  --fz: 2.2; }
/* bleiben und finden ihren Platz */
.k1 { --x0: 62; --y0: 36; --r0: 12; --x1: 7;  --y1: 8; --fz: 2.3; }
.k2 { --x0: 18; --y0: 88; --r0: -9; --x1: 22; --y1: 8; --fz: 2.3; }
.k3 { --x0: 86; --y0: 20; --r0: -14; --x1: 37; --y1: 8; --fz: 2.3; }
.frag--keep { color: var(--fg); }
/* neu: klare Hierarchie */
.n1 { --x0: 7; --y0: 31; --x1: 7; --y1: 27; --fz: 8.4; font-weight: 300; letter-spacing: -0.04em; }
.n2 { --x0: 7; --y0: 54; --x1: 7; --y1: 51; --fz: 2.6; color: var(--fg-2); white-space: normal; inline-size: 58cqw; line-height: 1.35; }
.n3 { --x0: 7; --y0: 71; --x1: 7; --y1: 68; --fz: 2.3; }
.n4 { --x0: 76; --y0: 31; --x1: 76; --y1: 31; }
.n5 { --x0: 76; --y0: 54; --x1: 76; --y1: 51; }
.n6 { --x0: 76; --y0: 71; --x1: 76; --y1: 68; }
.n4, .n5, .n6 { --fz: 1.7; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); }
.n1 .pt { inline-size: 0.2em; block-size: 0.2em; }
.n3 span {
  display: inline-flex;
  align-items: center;
  padding: 1.4cqh 2.6cqw;
  border-radius: 999px;
  background: var(--fg);
  color: var(--on-fg);
  font-weight: 520;
}

@media (min-width: 1000px) {
  .analyse__text { grid-column: 1 / span 4; }
  .analyse__boards { grid-column: 5 / -1; }
  html.js[data-motion="on"] .board { max-height: calc(100svh - var(--header-h) - 4rem); aspect-ratio: 4 / 3; inline-size: auto; justify-self: end; }
}
@media (max-width: 999px) {
  html.js[data-motion="on"] .analyse__stage { align-items: start; }
  html.js[data-motion="on"] .analyse__text p.muted { display: none; }
  html.js[data-motion="on"] .board { aspect-ratio: 3 / 4; max-height: 62svh; inline-size: auto; }
}
@media (min-width: 1000px) {
  html:not(.js) .analyse__boards, html[data-motion="off"] .analyse__boards { grid-template-columns: 1fr 1fr; }
}

/* ---------- 3  Kontrast-Demo (Vorher/Nachher) ---------- */
.compare__grid { row-gap: var(--s-6); }
.compare__head { display: grid; gap: var(--s-4); }
.compare__stage {
  --split: 50%;
  position: relative;
  container-type: inline-size;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.compare__layer { position: absolute; inset: 0; overflow: hidden; }
.compare__after { clip-path: inset(0 0 0 var(--split)); }
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  inline-size: 0;
  z-index: 3;
  pointer-events: none;
}
.compare__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -0.5px;
  border-left: 1px solid var(--red);
}
.compare__knob {
  position: absolute;
  top: 50%;
  left: 0;
  inline-size: 48px;
  block-size: 48px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgb(255 43 28 / 0.18);
  display: grid;
  place-items: center;
}
.compare__knob::before, .compare__knob::after {
  content: "";
  position: absolute;
  top: 50%;
  inline-size: 7px;
  block-size: 7px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}
.compare__knob::before { left: 12px; translate: 0 -50%; rotate: -45deg; }
.compare__knob::after { right: 12px; translate: 0 -50%; rotate: 135deg; }
.compare__range:focus-visible ~ .compare__handle .compare__knob {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.compare__tags { position: absolute; z-index: 2; top: 2cqw; left: 2cqw; right: 2cqw; display: flex; justify-content: space-between; pointer-events: none; }
.compare__tags .tag { background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--fg); }
.compare__controls { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); align-items: center; }
.compare__note { margin-top: var(--s-3); }

/* Vorher: typischer Bestand (absichtlich ohne Fuehrung) */
.demo-before {
  background: #e9ecef;
  color: #6c757d;
  font-size: 1.35cqw;
  text-align: center;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
}
.demo-before__top { background: #343a40; color: #ced4da; display: flex; justify-content: space-between; padding: 0.5cqw 2cqw; font-size: 1.05cqw; }
.demo-before__nav { background: #fff; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4cqw 1.6cqw; padding: 1.2cqw 2cqw; color: #495057; font-size: 1.15cqw; border-bottom: 3px solid #adb5bd; }
.demo-before__nav b { font-size: 2cqw; color: #212529; margin-right: auto; font-weight: 800; letter-spacing: 0.02em; }
.demo-before__slider {
  position: relative;
  height: 15cqw;
  background-color: #ced4da;
  background-image: url("../img/demo-raster-grau-800.webp");
  background-size: cover;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 3cqw;
  font-weight: 700;
  text-shadow: 0 2px 6px rgb(0 0 0 / 0.5);
}
.demo-before__slider::after { content: "\25CF \25CB \25CB \25CB"; position: absolute; bottom: 0.8cqw; font-size: 1.1cqw; letter-spacing: 0.3em; }
.demo-before__body { padding: 1.5cqw 3cqw; display: grid; gap: 1cqw; }
.demo-before__body h3 { font-size: 2.2cqw; color: #495057; font-weight: 700; letter-spacing: 0; }
.demo-before__boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.demo-before__boxes div { background: #fff; padding: 1.2cqw; border: 1px solid #dee2e6; display: grid; gap: 0.6cqw; }
.demo-before__boxes strong { color: #343a40; font-size: 1.4cqw; }
.demo-before__boxes span { color: #0d6efd; text-decoration: underline; font-size: 1.1cqw; }

/* Nachher: Fuehrung */
.demo-after {
  background: #0d0d0e;
  color: #f2f1ec;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  font-size: 1.4cqw;
}
.demo-after__text { padding: 3cqw 3.4cqw; display: grid; align-content: space-between; }
.demo-after__nav { display: flex; gap: 2.2cqw; color: #b4b3ae; font-size: 1.15cqw; }
.demo-after__nav b { color: #f2f1ec; margin-right: auto; font-weight: 620; letter-spacing: -0.01em; }
.demo-after h3 { font-size: 5.4cqw; font-weight: 300; letter-spacing: -0.045em; line-height: 0.98; color: #f2f1ec; }
.demo-after h3 i { font-style: normal; display: inline-block; inline-size: 0.18em; block-size: 0.18em; border-radius: 50%; background: #ff2b1c; margin-left: 0.04em; }
.demo-after p { color: #b4b3ae; max-width: 30ch; margin-top: 1.4cqw; }
.demo-after__cta { display: flex; gap: 1.4cqw; align-items: center; }
.demo-after__cta span:first-child { background: #f2f1ec; color: #0d0d0e; padding: 0.9cqw 1.8cqw; border-radius: 99px; font-weight: 560; }
.demo-after__cta span:last-child { color: #b4b3ae; }
.demo-after__img { position: relative; background: #1b1b1e; }
.demo-after__img img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }

@media (max-width: 700px) {
  .compare__stage { aspect-ratio: 3 / 4; }
  .demo-before { font-size: 2.6cqw; }
  .demo-before__top { font-size: 2.2cqw; padding: 1cqw 3cqw; }
  .demo-before__nav { font-size: 2.3cqw; }
  .demo-before__nav b { font-size: 3.6cqw; }
  .demo-before__slider { height: 34cqw; font-size: 5.4cqw; }
  .demo-before__body h3 { font-size: 4cqw; }
  .demo-before__boxes { grid-template-columns: 1fr; }
  .demo-before__boxes strong { font-size: 3cqw; }
  .demo-before__boxes span { font-size: 2.4cqw; }
  .demo-after { grid-template-columns: 1fr; grid-template-rows: 1.25fr 1fr; font-size: 2.8cqw; }
  .demo-after__nav { font-size: 2.6cqw; }
  .demo-after h3 { font-size: 10.5cqw; }
  .demo-after__text { padding: 6cqw; }
}
@media (min-width: 1000px) {
  .compare__head { grid-column: 1 / span 4; align-content: start; }
  .compare__body { grid-column: 5 / -1; }
}

/* ---------- 4  Vier Schritte (horizontale Passage) ---------- */
.passage { position: relative; border-top: 1px solid var(--line); }
.passage__intro { padding-top: var(--section); padding-bottom: var(--s-7); }
.passage__intro .grid { row-gap: var(--s-5); align-items: end; }
.passage__row {
  list-style: none;
  margin: 0;
  padding: 0 var(--margin) var(--s-8);
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--margin);
  scrollbar-width: thin;
}
.panel {
  flex: 0 0 min(84vw, 980px);
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--s-6);
  min-height: min(68svh, 640px);
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 2px;
}
.panel__num {
  font-size: clamp(4.5rem, 3rem + 7vw, 11rem);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--dot-hi);
}
.panel__body { display: grid; gap: var(--s-4); align-content: end; max-width: 52ch; }
.panel__body h3 { font-size: var(--fs-h2); font-weight: 300; letter-spacing: var(--track-head); }
.panel__body p { color: var(--fg-2); }
.panel__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); align-items: center; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.panel:last-child .panel__num { color: var(--fg); }

.passage__rail {
  position: relative;
  height: 12px;
  margin-inline: var(--margin);
  margin-bottom: var(--s-6);
  background-image: radial-gradient(circle at center, var(--line-2) 1.2px, transparent 1.7px);
  background-size: 12px 12px;
  background-repeat: repeat-x;
}
.passage__dot {
  position: absolute;
  top: 50%;
  left: calc(var(--p, 0) * (100% - 12px) + 6px);
  inline-size: 12px;
  block-size: 12px;
  border-radius: 50%;
  background: var(--red);
  translate: -50% -50%;
}

@media (min-width: 900px) {
  html.js[data-motion="on"] .passage__track { height: 360vh; }
  html.js[data-motion="on"] .passage__stage {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    display: grid;
    align-content: center;
    padding-top: var(--header-h);
  }
  html.js[data-motion="on"] .passage__row {
    overflow: visible;
    scroll-snap-type: none;
    inline-size: max-content;
    translate: var(--tx, 0) 0;
    padding-bottom: 0;
  }
  html.js[data-motion="on"] .panel { flex-basis: min(62vw, 900px); min-height: min(62svh, 620px); }
  html.js[data-motion="on"] .passage__rail { margin-top: var(--s-6); margin-bottom: 0; }
}
html[data-motion="off"] .passage__row,
html:not(.js) .passage__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  overflow: visible;
}
html[data-motion="off"] .panel, html:not(.js) .panel { min-height: 0; }
html[data-motion="off"] .passage__rail, html:not(.js) .passage__rail { display: none; }

/* ---------- Arbeiten (asymmetrisch) ---------- */
.works { display: grid; gap: clamp(4rem, 2rem + 8vw, 10rem); }
.work { row-gap: var(--s-5); align-items: end; }
.work__media { position: relative; overflow: hidden; border-radius: 2px; background: var(--bg-2); }
.work__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  scale: 1.12;
  translate: 0 calc((var(--p, 0.5) - 0.5) * -9%);
}
.work__text { display: grid; gap: var(--s-4); align-content: end; }
.work__text h3 { font-size: var(--fs-h2); font-weight: 300; letter-spacing: var(--track-head); max-width: 16ch; }
.work__text p { color: var(--fg-2); max-width: 44ch; }
.work__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (min-width: 900px) {
  .work--a .work__media { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
  .work--a .work__text { grid-column: 9 / -1; }
  .work--b .work__media { grid-column: 6 / -1; grid-row: 1; aspect-ratio: 16 / 10; }
  .work--b .work__text { grid-column: 1 / span 4; grid-row: 1; }
}
@media (max-width: 899px) {
  .work__media { aspect-ratio: 4 / 3; }
}

/* ---------- Zwei Ausgangslagen (geteilt) ---------- */
.split { position: relative; display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split__half { display: grid; gap: var(--s-5); align-content: start; padding: clamp(2.5rem, 1.5rem + 4vw, 6rem) var(--margin); }
.split__half h3 { font-size: var(--fs-h2); font-weight: 300; letter-spacing: var(--track-head); max-width: 13ch; }
.split__half p { color: var(--fg-2); max-width: 40ch; }
.split__half + .split__half { border-top: 1px dashed var(--line-2); }
.split__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  inline-size: 16px;
  block-size: 16px;
  border-radius: 50%;
  background: var(--red);
  translate: -50% -50%;
  display: none;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split__half + .split__half { border-top: 0; border-left: 1px dashed var(--line-2); }
  .split__dot { display: block; }
}

/* ---------- Ruegen-Anker ---------- */
.anchor__grid { row-gap: var(--s-6); align-items: end; }
.anchor__coord {
  font-size: clamp(2.4rem, 1.2rem + 5vw, 6rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.anchor__coord span { display: block; }
.anchor__text { display: grid; gap: var(--s-5); }
.anchor__text p { color: var(--fg-2); max-width: 44ch; }
@media (min-width: 1000px) {
  .anchor__coord { grid-column: 1 / span 7; }
  .anchor__text { grid-column: 8 / -1; }
}

/* ---------- Schluss-Anfrage ---------- */
.quick__grid { row-gap: var(--s-8); }
.quick__head { display: grid; gap: var(--s-5); align-content: start; }
.quick__head h2 { font-size: var(--fs-h1); letter-spacing: var(--track-display); max-width: 11ch; line-height: 1.04; }
.quick__ways { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; border-top: 1px solid var(--line); }
.quick__ways li { border-bottom: 1px solid var(--line); }
.quick__ways a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  min-height: 60px;
  text-decoration: none;
}
.quick__ways a .mono { color: var(--fg-2); }
.quick__ways a:hover .arrow { translate: 4px 0; }
@media (min-width: 1000px) {
  .quick__head { grid-column: 1 / span 5; }
  .quick__form { grid-column: 7 / -1; }
}

/* ---------- Bewegungsarme Fassung: keine Haltepunkte ---------- */
html[data-motion="off"] .work__media img { translate: none; scale: 1; }

/* ---------- 5  Seitenuebergang: Kreis oeffnet sich vom Klickpunkt ---------- */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: vt-hold 520ms linear both; }
::view-transition-new(root) {
  animation: vt-reveal 520ms cubic-bezier(0.7, 0, 0.2, 1) both;
}
::view-transition-group(intervention),
::view-transition-group(nav-dot) {
  animation-duration: 560ms;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0, 1);
}
@keyframes vt-reveal {
  from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 50%)); }
  to   { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 50%)); }
}
@keyframes vt-hold { from { opacity: 1; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
html[data-motion="off"]::view-transition-group(*),
html[data-motion="off"]::view-transition-old(*),
html[data-motion="off"]::view-transition-new(*) { animation: none !important; }

/* =========================================================
   Seitenspezifische Kompositionen
   ========================================================= */

/* Asymmetrisches Grundmuster: Beschriftung links, Inhalt rechts */
.svc-side { display: grid; gap: var(--s-4); align-content: start; margin-bottom: var(--s-6); }
.svc-side h2 { max-width: 14ch; }
.svc-main { min-width: 0; }
@media (min-width: 1000px) {
  .svc-side { grid-column: 1 / span 4; margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
  .svc-main { grid-column: 6 / -1; }
}

/* Leistungsseiten: Statement, Bild, Text */
.svc-intro__grid { row-gap: var(--s-7); }
.svc-statement {
  font-size: clamp(1.9rem, 1.1rem + 3vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 20ch;
  text-wrap: balance;
}
.svc-intro__text { display: grid; gap: var(--s-4); align-content: start; }
.svc-intro__text p:first-child { font-size: var(--fs-lead); line-height: 1.5; }
@media (min-width: 1000px) {
  .svc-statement { grid-column: 1 / span 10; }
  .svc-intro__media { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .svc-intro__text { grid-column: 6 / span 6; }
}
@media (max-width: 999px) {
  .svc-intro__media { max-width: 26rem; }
}
.svc-approach__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-8); }

/* Phasen-Leiste */
.phase-rail { margin-top: var(--s-6); }
.phase-rail ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.phase-rail li { border-bottom: 1px solid var(--line); }
.phase-rail a {
  position: relative;
  display: grid;
  gap: 0.15rem;
  padding: var(--s-4) var(--s-3) var(--s-4) 1.4rem;
  min-height: 64px;
  text-decoration: none;
  color: var(--fg-2);
}
.phase-rail a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--dot-hi);
}
.phase-rail a[aria-current="page"] { color: var(--fg); }
.phase-rail a[aria-current="page"]::before { background: var(--red); }
.phase-rail a:hover { color: var(--fg); }
@media (min-width: 800px) { .phase-rail ol { grid-template-columns: repeat(4, 1fr); } }

/* Phasenliste (Leistungsuebersicht) */
.phase-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.phase-list li { border-bottom: 1px solid var(--line); }
.phase-list a {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: var(--s-1) var(--s-4);
  align-items: baseline;
  padding-block: var(--s-5);
  text-decoration: none;
}
.phase-list__name { font-size: var(--fs-h3); font-weight: 400; }
.phase-list__h { grid-column: 2; color: var(--fg-2); }
.phase-list .arrow { grid-column: 3; grid-row: 1; }
.phase-list a:hover .arrow { translate: 4px 0; }

/* Ruegen */
.places { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-lead); }
.places li { display: inline-flex; align-items: center; gap: 0.6rem; }
.places li::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--dot-hi); }
.places li:first-child::before { background: var(--red); inline-size: 9px; block-size: 9px; }
.ort-sec--alt { background: var(--bg-2); }
.ort-sec .svc-main p + p { margin-top: var(--s-4); }
.ort-sec .signals { margin-top: var(--s-5); }

/* Journal */
.journal-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.journal-item { border-bottom: 1px solid var(--line); }
.journal-item a { display: grid; gap: var(--s-3); padding-block: var(--s-7); text-decoration: none; }
.journal-item__meta { color: var(--fg-2); }
.journal-item__title { font-size: var(--fs-h2); font-weight: 300; letter-spacing: var(--track-head); line-height: 1.1; max-width: 20ch; }
.journal-item__excerpt { color: var(--fg-2); max-width: 56ch; }
.journal-item__go { display: inline-flex; gap: 0.7rem; align-items: center; font-weight: var(--w-mid); }
.journal-item a:hover .journal-item__title { color: var(--fg); }
.journal-item a:hover .arrow { translate: 4px 0; }
.prose--article > p:first-child { font-size: var(--fs-lead); line-height: 1.5; }

/* Startseite: Kopf der Arbeiten */
.works-head { margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.works-portfolio { margin-top: var(--s-8); display: flex; justify-content: flex-end; }
.work__h { font-size: var(--fs-h2); font-weight: 300; letter-spacing: var(--track-head); max-width: 16ch; }

/* Bildparallaxe in Figuren */
.figure[data-parallax] img { scale: 1.1; translate: 0 calc((var(--p, 0.5) - 0.5) * -8%); }
html[data-motion="off"] .figure[data-parallax] img { scale: 1; translate: none; }

/* Leistungen: Bild + Text */
.hub-media .grid { row-gap: var(--s-6); align-items: center; }
.hub-media__text { display: grid; gap: var(--s-4); align-content: start; }
@media (min-width: 1000px) {
  .hub-media__fig { grid-column: 1 / span 7; }
  .hub-media__text { grid-column: 9 / -1; }
}

/* Preise: Modelle */
.models { list-style: none; padding: 0; margin: var(--s-8) 0 0; display: grid; gap: var(--gutter); }
.model {
  display: grid;
  gap: var(--s-4);
  align-content: start;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.model h3 { font-size: var(--fs-h2); font-weight: 300; letter-spacing: var(--track-head); }
.model__for { color: var(--fg-2); }
.model .signals li { font-size: 1.0625rem; }
.model--key { border-color: var(--fg); }
@media (min-width: 900px) {
  .models { grid-template-columns: repeat(3, 1fr); }
  .model:nth-child(2) { translate: 0 var(--s-7); }
}

/* Preise: Konfigurator */
.config { display: grid; gap: var(--s-7); }
.config__group { display: grid; gap: var(--s-3); }
.config__out {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-6);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 2px;
  justify-items: start;
}
.config__summary { font-size: var(--fs-lead); line-height: 1.4; }

/* Kontakt */
.contact__grid { row-gap: var(--s-8); }
.contact__h { font-size: var(--fs-h2); margin-bottom: var(--s-6); }
.contact__aside { display: grid; gap: var(--s-7); align-content: start; }
.contact__aside .quick__ways { margin-top: 0; }
.contact__block { display: grid; gap: var(--s-3); }
.contact__block address { line-height: 1.7; }
.contact__error { margin-bottom: var(--s-5); }
@media (min-width: 1000px) {
  .contact__main { grid-column: 1 / span 7; }
  .contact__aside { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.callback { display: grid; gap: var(--s-4); }
html.js .callback__when:not(.is-open) { display: none; }
.steps--3 { margin-top: var(--s-7); }
@media (min-width: 1000px) { .steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Zusammenarbeit: Zeitleiste mit wanderndem Punkt */
.timeline-wrap { position: relative; }
.timeline { list-style: none; padding: 0 0 0 2.4rem; margin: 0; display: grid; gap: var(--s-7); position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  inline-size: 2px;
  background-image: radial-gradient(circle, var(--line-2) 1px, transparent 1.4px);
  background-size: 2px 8px;
}
.timeline li { position: relative; display: grid; gap: var(--s-2); }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-2.4rem + 0.55rem - 3px);
  top: 0.5rem;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--dot-hi);
}
.timeline h3 { font-size: var(--fs-h3); }
.timeline p { color: var(--fg-2); max-width: 54ch; }
.timeline__dot {
  position: absolute;
  left: calc(0.55rem - 6px);
  top: calc(clamp(0, (var(--p, 0) - 0.22) / 0.56, 1) * (100% - 14px));
  inline-size: 14px;
  block-size: 14px;
  border-radius: 50%;
  background: var(--red);
  transition: top 120ms linear;
}
html[data-motion="off"] .timeline__dot, html:not(.js) .timeline__dot { display: none; }

/* Ueber */
.about-intro .grid { row-gap: var(--s-7); align-items: end; }
.about-intro__text { display: grid; gap: var(--s-5); align-content: end; }
.about-intro__text h2 { font-size: var(--fs-h1); letter-spacing: var(--track-display); }
@media (min-width: 1000px) {
  .about-intro__fig { grid-column: 1 / span 5; }
  .about-intro__text { grid-column: 7 / -1; }
}
@media (max-width: 999px) { .about-intro__fig { max-width: 28rem; } }
.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.principles li { display: grid; gap: var(--s-2); padding-block: var(--s-6); border-bottom: 1px solid var(--line); }
.principles h3 { font-size: var(--fs-h2); font-weight: 300; letter-spacing: var(--track-head); }
.principles p { color: var(--fg-2); max-width: 52ch; }
.proof { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.proof li {
  display: grid;
  gap: var(--s-1);
  padding: var(--s-5);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.proof strong { display: flex; align-items: center; gap: 0.7rem; }
.proof strong::before { content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--red); }
.proof span { color: var(--fg-2); }
@media (min-width: 760px) { .proof { grid-template-columns: 1fr 1fr; } }

/* Studien */
.study-cover { padding-top: var(--s-8); }
.study-cover__fig { margin-bottom: var(--s-5); }
.study-note { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; color: var(--fg-2); font-size: var(--fs-small); }
.pairs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pairs__row { display: grid; gap: var(--s-2) var(--s-5); padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.pairs__before { color: var(--fg-2); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; font-size: var(--fs-lead); }
.pairs__after { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; }
@media (min-width: 760px) { .pairs__row { grid-template-columns: 7rem 1fr; } }

/* Arbeiten: Portfolio */
.portfolio-band__lead { max-width: 30ch; margin-bottom: var(--s-6); }
.portfolio-band .btn-row { margin-bottom: var(--s-6); }

/* Leistungsindex auf der Startseite */
.leistungen-home .svc-side .link-arrow { justify-self: start; }

