/* ==========================================================================
   Farben erleben – Felix Edinger, Malermeister
   Stylesheet auf Basis des Design-Systems (tokens.json / Markenkonzept)
   Keine Gradients, keine Schatten – Flächen trennen sich über Farbe & Linie.
   ========================================================================== */

/* ---------- Fonts (lokal, DSGVO) ---------- */
@font-face {
  font-family: "Mrs Saint Delafield";
  src: url("../fonts/mrs-saint-delafield-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-vf-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-vf.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #23262a;
  --text-muted: #66625b;
  --surface: #f6f2ea;
  --surface-raised: #f6f2ea;
  --border: #d9d3c7;
  --focus-ring: #1e4a52;
  --brand: #1e4a52;
  --secondary: #c9953b;
  --accent: #b4462e;
  --accent-text: #9a3a25;

  --petrol-100: #e3ecee;
  --petrol-200: #bfd3d7;
  --petrol-400: #4f7a82;
  --petrol-500: #2e5f68;
  --petrol-600: #1e4a52;
  --petrol-800: #143238;
  --petrol-900: #0c1f23;

  --font-headline: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 12vw, 176px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.25vw + 15px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Kalkputz-Struktur: feines Rauschen als ruhige Wand */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.14 0 0 0 0 0.15 0 0 0 0 0.16 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }

::selection { background: var(--secondary); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 300;
  background: var(--brand);
  color: var(--surface);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }

/* ---------- Typografie ---------- */
.display,
.h1,
.h2,
.h3 {
  font-family: var(--font-headline);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.display {
  font-weight: 500;
  font-size: clamp(2.9rem, 7.4vw, 7.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h1 {
  font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h2 {
  font-weight: 500;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.06;
}
.h3 {
  font-weight: 600;
  font-size: clamp(1.35rem, 1.6vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.display em,
.h1 em,
.h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-text);
}

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.label--chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.label--chip::before {
  content: "";
  width: 22px;
  height: 14px;
  border-radius: 2px;
  background: var(--chip, var(--secondary));
  flex: none;
}

.lead {
  font-size: clamp(1.15rem, 1vw + 0.9rem, 1.45rem);
  line-height: 1.55;
  color: var(--ink);
}
.muted { color: var(--text-muted); }

.section-head {
  display: grid;
  gap: var(--space-6);
  margin-bottom: clamp(48px, 6vw, 96px);
}
.section-head--split {
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.3fr 1fr; gap: var(--space-12); }
}

/* Wort-Masken für Split-Text-Animationen */
/* Innenabstand verhindert abgeschnittene Unterlängen (g) und kursive Überhänge (d) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0.32em 0.28em 0.04em; margin: -0.04em -0.32em -0.28em -0.04em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  --btn-bd: var(--brand);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 54px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
/* „Anstrich“-Hover: Farbe rollt von unten ein */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill, var(--brand));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-bd: var(--accent);
  --btn-fill: var(--accent-text);
}
.btn--secondary { --btn-fill: var(--brand); }
.btn--secondary:hover { color: var(--surface); }
.btn--ghost { --btn-fg: var(--ink); --btn-bd: var(--border); --btn-fill: var(--ink); }
.btn--ghost:hover { color: var(--surface); border-color: var(--ink); }
.btn--light { --btn-fg: var(--surface); --btn-bd: var(--petrol-400); --btn-fill: var(--surface); }
.btn--light:hover { color: var(--brand); border-color: var(--surface); }
.btn:focus-visible { outline-offset: 3px; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.5s var(--ease);
  padding-bottom: 2px;
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Scroll-Fortschritt ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 120;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: transform 0.6s var(--ease), background-color 0.4s ease, border-color 0.4s ease, height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--surface);
  border-bottom-color: var(--border);
  --header-h: 70px;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--brand);
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark rect { transition: transform 0.6s var(--ease); transform-box: view-box; transform-origin: 20px 36px; }
.brand__mark .r1 { transform: rotate(-24deg); }
.brand__mark .r3 { transform: rotate(24deg); }
.brand:hover .brand__mark .r1 { transform: rotate(-32deg); }
.brand:hover .brand__mark .r3 { transform: rotate(32deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.02em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 5px;
}

.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
}
.nav a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  padding-block: 6px;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 46px; padding: 12px 20px; font-size: 16px; }

.header-phone {
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--brand);
}
.header-phone svg { width: 16px; height: 16px; }
@media (min-width: 1280px) { .header-phone { display: inline-flex; } }

.burger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  z-index: 110;
}
.burger__lines { width: 22px; height: 14px; position: relative; }
.burger__lines span {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 6px; transition: opacity 0.3s ease; }
.burger__lines span:nth-child(3) { top: 12px; }
.menu-open .burger { color: var(--surface); border-color: var(--petrol-400); }
.menu-open .burger__lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .burger__lines span:nth-child(2) { opacity: 0; }
.menu-open .burger__lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (min-width: 1080px) { .burger { display: none; } }

/* Mobiles Menü */
.menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--petrol-600);
  color: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
}
.menu-open .menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.8s var(--ease), visibility 0s;
}
.menu-open .site-header .brand { color: var(--surface); }
.menu-open .site-header .brand__sub { color: var(--petrol-200); }
.menu-open .site-header { background: transparent; border-color: transparent; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 500;
  font-size: clamp(2.2rem, 10vw, 3.6rem);
  line-height: 1.15;
  text-decoration: none;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu__links a span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--petrol-200); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links li:nth-child(1) a { transition-delay: 0.25s; }
.menu-open .menu__links li:nth-child(2) a { transition-delay: 0.3s; }
.menu-open .menu__links li:nth-child(3) a { transition-delay: 0.35s; }
.menu-open .menu__links li:nth-child(4) a { transition-delay: 0.4s; }
.menu-open .menu__links li:nth-child(5) a { transition-delay: 0.45s; }
.menu__links a[aria-current="page"] { color: var(--secondary); }
.menu__foot { display: grid; gap: var(--space-4); }
.menu__foot a { color: var(--surface); text-decoration: none; font-size: 18px; }
.menu__foot .label { color: var(--petrol-200); }
.menu-open { overflow: hidden; }

/* ---------- Mobile Aktionsleiste ---------- */
.action-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  padding: 8px;
  background: var(--petrol-900);
  border-radius: 14px;
  transform: translateY(140%);
  transition: transform 0.6s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 16px;
}
.action-bar a svg { width: 18px; height: 18px; }
.action-bar .ab-call { color: var(--surface); border: 1px solid var(--petrol-400); }
.action-bar .ab-cta { background: var(--accent); color: #fff; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- Farbchips ---------- */
.chip { display: inline-flex; flex-direction: column; width: 96px; }
.chip__swatch { height: 64px; border-radius: var(--radius-sm); background: var(--chip); }
.chip__label { margin-top: var(--space-2); }

/* ---------- Bild-Frames ---------- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--border);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame--tall { aspect-ratio: 4 / 5; }
.frame--portrait { aspect-ratio: 3 / 4; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1; }
[data-parallax] img { height: 118%; margin-top: -9%; }

.caption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

/* ==========================================================================
   STARTSEITE
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px));
  padding-bottom: clamp(64px, 8vw, 120px);
}
.hero__grid {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
  align-items: end;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.25fr 1fr; }
}
.hero__eyebrow { margin-bottom: clamp(24px, 3vw, 40px); }
.hero__title { margin-bottom: clamp(28px, 3vw, 44px); }
.hero__title .line { display: block; }
.hero__text { max-width: 36rem; margin-bottom: clamp(32px, 3.5vw, 48px); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-12);
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.hero__meta div { display: grid; gap: 2px; }
.hero__meta strong {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  color: var(--brand);
  line-height: 1.1;
}

.hero__visual { position: relative; }
.hero__visual .frame--main { aspect-ratio: 4 / 5.2; }
.hero__visual .frame--float {
  position: absolute;
  width: 42%;
  aspect-ratio: 3 / 4;
  left: -18%;
  bottom: -9%;
  border: 8px solid var(--surface);
  border-radius: 20px;
}
@media (max-width: 959px) {
  .hero__visual { max-width: 560px; margin-left: auto; width: 88%; }
  .hero__visual .frame--float { left: -14%; width: 40%; }
}

/* ---------- Ticker ---------- */
.ticker {
  border-block: 1px solid var(--border);
  overflow: hidden;
  padding-block: clamp(18px, 2vw, 28px);
  background: var(--surface);
}
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
  padding-right: clamp(20px, 2.4vw, 40px);
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  color: var(--brand);
  white-space: nowrap;
  letter-spacing: -0.015em;
}
.ticker__item::after {
  content: "";
  width: 0.62em; height: 0.42em;
  border-radius: 3px;
  background: var(--c, var(--secondary));
}
.ticker__item:nth-child(3n+1) { --c: var(--secondary); }
.ticker__item:nth-child(3n+2) { --c: var(--petrol-400); }
.ticker__item:nth-child(3n+3) { --c: var(--accent); }

/* ---------- Statement (Wörter werden „angestrichen“) ---------- */
.statement__text {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.1vw, 4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--brand);
  max-width: 22ch;
  max-width: 1150px;
}
.statement__text .pw { transition: none; }
.statement__foot {
  display: grid;
  gap: var(--space-8);
  margin-top: clamp(48px, 6vw, 88px);
}
@media (min-width: 900px) {
  .statement__foot { grid-template-columns: 1fr 1fr 1fr; }
}
.value {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
}
.value .label { display: block; margin-bottom: var(--space-3); }
.value h3 { margin-bottom: var(--space-3); }

/* ---------- Intro / Über Felix ---------- */
.intro__grid {
  display: grid;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
@media (min-width: 960px) {
  .intro__grid { grid-template-columns: 0.9fr 1.1fr; }
}
.intro__visual { position: relative; max-width: 480px; }
.intro__visual .frame { aspect-ratio: 392 / 451; }
.intro__badge {
  position: absolute;
  right: -24px;
  bottom: 32px;
  background: var(--brand);
  color: var(--surface);
  padding: 18px 20px;
  border-radius: 12px;
  display: grid;
  gap: 4px;
  min-width: 170px;
}
.intro__badge strong {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1;
}
.intro__badge .label { color: var(--petrol-200); }
@media (max-width: 600px) { .intro__badge { right: 12px; bottom: -28px; } }
.intro__body .h2 { margin-block: var(--space-6) var(--space-8); }
.intro__body .lead { margin-bottom: var(--space-6); }
.signature {
  display: grid;
  justify-items: start;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.signature__name {
  font-family: "Mrs Saint Delafield", "Brush Script MT", cursive;
  font-weight: 400;
  font-size: clamp(3rem, 4.4vw, 4.2rem);
  line-height: 1;
  color: var(--brand);
  transform: rotate(-4deg);
  transform-origin: left center;
  margin-left: -4px;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  margin-top: clamp(64px, 8vw, 120px);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: var(--space-8) var(--space-6) 0 0;
  display: grid;
  gap: var(--space-2);
}
.stat + .stat { border-left: 1px solid var(--border); padding-left: var(--space-6); }
@media (max-width: 899px) {
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
.stat__num {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 400;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

/* ---------- Leistungen (Bild direkt neben dem Text) ---------- */
.services { background: var(--surface); }
.service {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  padding-block: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--border);
}
.service:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 900px) {
  .service { grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 96px); }
}
.service__img { aspect-ratio: 4 / 3; }
.service__body { display: grid; gap: var(--space-4); align-content: center; }
.service__head { display: flex; align-items: baseline; gap: var(--space-6); }
.service__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.service .h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.service p { max-width: 34rem; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tags li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 12px;
  color: var(--ink);
}

/* ---------- Farbfächer (Werte) ---------- */
.fan-section { overflow: hidden; background: var(--surface); }
.fan-section__inner {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  min-height: 100vh;
  padding-block: clamp(96px, 10vw, 140px);
}
@media (min-width: 1000px) {
  .fan-section__inner { grid-template-columns: 0.85fr 1.15fr; }
}
.fan-copy .h2 { margin-block: var(--space-6); }
.fan-copy__values { margin-top: var(--space-8); display: grid; gap: 0; }
.fan-copy__values li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--space-4);
  align-items: start;
  padding-block: var(--space-4);
  border-top: 1px solid var(--border);
}
.fan-copy__values li::before {
  content: "";
  width: 22px; height: 14px; border-radius: 2px;
  background: var(--chip);
  margin-top: 7px;
}
.fan-copy__values strong { display: block; color: var(--brand); font-weight: 600; }

.fan {
  position: relative;
  height: clamp(440px, 52vw, 680px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.fan__pivot {
  position: absolute;
  bottom: clamp(24px, 3vw, 40px);
  left: 50%;
  width: 26px; height: 26px;
  margin-left: -13px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--ink);
  z-index: 20;
}
.fan__pivot::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--ink);
}
.strip {
  position: absolute;
  bottom: clamp(24px, 3vw, 40px);
  left: 50%;
  width: clamp(92px, 10vw, 132px);
  height: clamp(380px, 44vw, 580px);
  margin-left: calc(clamp(92px, 10vw, 132px) / -2);
  margin-bottom: -13px;
  transform-origin: 50% calc(100% - 13px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 8px 44px;
  display: grid;
  grid-template-rows: repeat(4, 1fr) auto;
  gap: 5px;
}
.strip i { display: block; border-radius: 4px; background: var(--c); }
.strip i:nth-child(1) { opacity: 1; }
.strip i:nth-child(2) { opacity: 0.78; }
.strip i:nth-child(3) { opacity: 0.56; }
.strip i:nth-child(4) { opacity: 0.34; }
.strip__label {
  display: grid;
  gap: 2px;
  padding: 6px 2px 0;
}
.strip__label b {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 600;
  font-size: clamp(13px, 1.1vw, 16px);
  color: var(--ink);
  line-height: 1.15;
}
.strip__label .label { font-size: 10px; }

/* ---------- Fachwissen (dunkle Sektion) ---------- */
.expertise {
  position: relative;
  color: var(--surface);
  isolation: isolate;
}
.expertise__paint {
  position: absolute;
  inset: 0;
  background: var(--petrol-600);
  z-index: -1;
}
.expertise .h2 { color: var(--surface); }
.expertise .h2 em { color: var(--secondary); }
.expertise .label { color: var(--petrol-200); }
.expertise .lead { color: var(--petrol-100); }
.expertise__grid {
  display: grid;
  gap: 1px;
  background: var(--petrol-400);
  border: 1px solid var(--petrol-400);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 720px) { .expertise__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .expertise__grid { grid-template-columns: repeat(4, 1fr); } }
.xcard {
  background: var(--petrol-600);
  padding: clamp(28px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 340px;
  transition: background-color 0.5s var(--ease);
}
.xcard:hover { background: var(--petrol-800); }
.xcard__chip { width: 44px; height: 28px; border-radius: 4px; background: var(--c); margin-bottom: var(--space-6); }
.xcard h3 {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 500;
  font-size: clamp(1.4rem, 1.7vw, 1.75rem);
  line-height: 1.15;
  color: var(--surface);
  margin-top: var(--space-4);
}
.xcard p { color: var(--petrol-100); font-size: 16px; }
.expertise__note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  margin-top: clamp(40px, 5vw, 64px);
}
.expertise__note p { max-width: 40rem; color: var(--petrol-100); margin: 0; }

/* ---------- Bildband (Parallax) ---------- */
.band {
  height: clamp(320px, 62vw, 820px);
  position: relative;
  overflow: hidden;
}
.band img { position: absolute; inset: 0; width: 100%; height: 130%; top: -15%; object-fit: cover; }
.band__quote {
  position: absolute;
  left: var(--gutter);
  bottom: var(--gutter);
  right: var(--gutter);
  max-width: 640px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
}
.band__quote p {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.25;
  color: var(--brand);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

/* ---------- Referenzen ---------- */
.refs__grid {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
}
@media (min-width: 760px) { .refs__grid { grid-template-columns: repeat(3, 1fr); } }
.ref { display: grid; gap: var(--space-4); }
.ref .frame { aspect-ratio: 4 / 5; }
.ref:nth-child(2) { margin-top: 0; }
@media (min-width: 760px) {
  .ref:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
}
.ref__meta { display: flex; justify-content: space-between; gap: var(--space-4); }
.ref h3 { font-size: clamp(1.2rem, 1.4vw, 1.45rem); }
.refs__foot {
  margin-top: clamp(48px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

/* ---------- Ablauf ---------- */
.process__wrap { position: relative; }
.process__list {
  display: grid;
  gap: var(--space-8);
  position: relative;
  counter-reset: step;
}
@media (min-width: 900px) {
  .process__list { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
}
.process__line {
  display: none;
}
@media (min-width: 900px) {
  .process__line {
    display: block;
    position: absolute;
    top: 27px; left: 0; right: 0;
    height: 2px;
    background: var(--border);
  }
  .process__line span {
    position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(0);
  }
}
.step { position: relative; display: grid; gap: var(--space-4); align-content: start; }
.step__dot {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--surface);
  border: 2px solid var(--brand);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand);
  position: relative;
  z-index: 1;
  transition: background-color 0.4s ease, color 0.4s ease;
}
.step.is-on .step__dot { background: var(--brand); color: var(--surface); }
.step h3 { margin-top: var(--space-2); }
.step p { color: var(--ink); max-width: 22rem; }

/* ---------- Zielgruppen ---------- */
.audiences { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .audiences { grid-template-columns: 1fr 1fr; } }
.audience {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 52px);
  display: grid;
  gap: var(--space-6);
  align-content: start;
  background: var(--surface-raised);
}
.audience--dark { background: var(--petrol-900); border-color: var(--petrol-900); color: var(--surface); }
.audience--dark .h3 { color: var(--surface); }
.audience--dark .label { color: var(--petrol-200); }
.checklist { display: grid; gap: var(--space-3); }
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--space-3);
}
.checklist li::before {
  content: "";
  width: 14px; height: 10px; margin-top: 8px;
  border-radius: 2px;
  background: var(--secondary);
}

/* ---------- CTA-Wand ---------- */
.cta-wall { padding-block: clamp(24px, 3vw, 40px) var(--section); }
.cta-wall__panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(16px, 2vw, 28px);
  color: var(--surface);
  isolation: isolate;
  min-height: clamp(520px, 56vw, 720px);
  display: grid;
  align-items: end;
}
.cta-wall__paint {
  position: absolute; inset: 0; z-index: -2;
  background: var(--petrol-800);
}
.cta-wall__roller {
  position: absolute;
  top: -5%; bottom: -5%;
  width: clamp(14px, 1.4vw, 22px);
  left: 0;
  background: var(--secondary);
  border-radius: 12px;
  z-index: 2;
  opacity: 0;
}
.cta-wall__content {
  padding: clamp(28px, 5vw, 80px);
  display: grid;
  gap: clamp(32px, 4vw, 56px);
}
@media (min-width: 1000px) {
  .cta-wall__content { grid-template-columns: 1.4fr 1fr; align-items: end; }
}
.cta-wall .h1 { color: var(--surface); }
.cta-wall .h1 em { color: var(--secondary); }
.cta-wall .label { color: var(--petrol-200); }
.cta-wall__contact { display: grid; gap: var(--space-4); }
.cta-wall__contact a { color: var(--surface); text-decoration: none; }
.contact-line {
  display: grid;
  gap: 2px;
  padding-block: var(--space-4);
  border-top: 1px solid var(--petrol-500);
}
.contact-line a, .contact-line span:not(.label) {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  letter-spacing: -0.01em;
}
.contact-line a:hover { color: var(--secondary); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--petrol-900);
  color: var(--petrol-100);
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: 32px;
  overflow: hidden;
}
.site-footer a { color: var(--surface); text-decoration: none; }
.site-footer a:hover { color: var(--secondary); }
.site-footer .label { color: var(--petrol-200); display: block; margin-bottom: var(--space-4); }
.footer__grid {
  display: grid;
  gap: var(--space-12);
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); }
  .footer__nav { justify-self: end; padding-right: clamp(24px, 4vw, 72px); }
}
.footer__grid ul { display: grid; gap: var(--space-2); }
.footer__about p { max-width: 24rem; }
.footer .brand, .site-footer .brand { color: var(--surface); margin-bottom: var(--space-6); }
.site-footer .brand__sub { color: var(--petrol-200); }
.footer__word {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 500;
  font-size: clamp(3.6rem, 15.5vw, 16rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--petrol-800);
  white-space: nowrap;
  margin-top: clamp(64px, 8vw, 120px);
  user-select: none;
}
.footer__chips { display: flex; gap: 6px; margin-bottom: var(--space-6); }
.footer__chips span { width: 28px; height: 18px; border-radius: 3px; background: var(--c); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--petrol-800);
  font-size: 14px;
  color: var(--petrol-200);
}
.footer__bottom ul { display: flex; gap: var(--space-6); }
@media (max-width: 899px) { .site-footer { padding-bottom: 100px; } }

/* ==========================================================================
   UNTERSEITEN
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px));
  padding-bottom: clamp(48px, 6vw, 96px);
}
.page-hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: 1.4fr 1fr; }
}
.page-hero .label { display: inline-flex; margin-bottom: var(--space-6); }
.page-hero .lead { max-width: 34rem; }
.breadcrumb {
  display: flex; gap: var(--space-2); margin-bottom: var(--space-8);
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

.page-hero__image {
  margin-top: clamp(40px, 6vw, 88px);
  height: clamp(300px, 52vw, 680px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.page-hero__image img {
  position: absolute; left: 0; width: 100%; height: 124%; top: -12%; object-fit: cover;
}

/* ---------- Leistungen-Seite ---------- */
.svc-group {
  display: grid;
  gap: clamp(32px, 5vw, 96px);
  padding-block: clamp(56px, 7vw, 112px);
  border-top: 1px solid var(--border);
}
@media (min-width: 1000px) {
  .svc-group { grid-template-columns: 0.8fr 1.2fr; }
  .svc-group__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
.svc-group__aside .h2 { margin-block: var(--space-4) var(--space-6); }
.svc-group__aside .frame { margin-top: var(--space-8); aspect-ratio: 4 / 3; max-width: 460px; }
.svc-list { counter-reset: svc; }
.svc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2) clamp(20px, 3vw, 40px);
  padding-block: clamp(24px, 2.6vw, 36px);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.svc-item:first-child { padding-top: 0; }
.svc-item__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 0.55em;
  min-width: 2.4em;
}
.svc-item h3 {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--brand);
  transition: transform 0.5s var(--ease);
}
.svc-item p { grid-column: 2; max-width: 38rem; margin: 0; }
.svc-item__chip {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px; width: 100%;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.svc-item:hover .svc-item__chip { transform: scaleX(1); }
.svc-item:hover h3 { transform: translateX(6px); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: var(--space-2);
  vertical-align: middle;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--surface);
  background: var(--brand);
  border-radius: 100px;
  padding: 4px 10px;
  transform: translateY(-4px);
}

.promise {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: var(--space-8);
}
.promise .h1 { max-width: 16ch; }
.promise__chips { display: flex; gap: var(--space-2); }
.promise__chips span { width: 40px; height: 26px; border-radius: 4px; background: var(--c); }

/* ---------- Über mich ---------- */
.about-hero__portrait { position: relative; max-width: 440px; justify-self: end; width: 100%; }
.about-hero__portrait .frame { aspect-ratio: 392 / 451; }

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: clamp(28px, 4vw, 48px);
}
.timeline__line {
  position: absolute;
  left: 6px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--border);
}
.timeline__line span {
  position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(0);
}
.tl-item {
  position: relative;
  display: grid;
  gap: var(--space-2) var(--space-8);
  padding-block: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) {
  .tl-item { grid-template-columns: 180px 1fr; }
}
.tl-item::before {
  content: "";
  position: absolute;
  left: calc(clamp(28px, 4vw, 48px) * -1 + 1px);
  top: calc(clamp(24px, 3vw, 40px) + 8px);
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--surface);
  border: 2px solid var(--brand);
  transition: background-color 0.4s ease;
}
.tl-item.is-on::before { background: var(--secondary); border-color: var(--secondary); }
.tl-item__year {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--brand);
  padding-top: 6px;
}
.tl-item h3 {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.2;
  color: var(--brand);
  letter-spacing: -0.015em;
}
.tl-item p { margin-top: var(--space-2); color: var(--text-muted); }
.tl-item .tag {
  display: inline-block;
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.about-split {
  display: grid;
  gap: clamp(40px, 6vw, 96px);
}
@media (min-width: 1000px) {
  .about-split { grid-template-columns: 0.75fr 1.25fr; }
  .about-split__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
.about-split__aside .h2 { margin-block: var(--space-4) var(--space-6); }

.quals {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 720px) { .quals { grid-template-columns: repeat(2, 1fr); } }
.qual {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-6);
  align-items: start;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--petrol-400);
  border-radius: var(--radius-lg);
}
.qual__chip { display: grid; gap: 4px; }
.qual__chip i { display: block; height: 18px; border-radius: 3px; background: var(--c); }
.qual__chip i:nth-child(2) { opacity: 0.6; }
.qual__chip i:nth-child(3) { opacity: 0.3; }
.qual h3 {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 500;
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  color: var(--surface);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}
.qual p { color: var(--petrol-100); font-size: 16px; }

/* ---------- Referenzen-Seite ---------- */
.project {
  display: grid;
  gap: clamp(28px, 5vw, 96px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 112px);
  border-top: 1px solid var(--border);
}
@media (min-width: 900px) {
  .project { grid-template-columns: 1fr 1fr; }
  .project:nth-child(even) .project__visual { order: 2; }
}
.project__visual { position: relative; max-width: 460px; width: 100%; }
.project:nth-child(odd) .project__visual { justify-self: end; }
.project__visual .frame { aspect-ratio: var(--ar, 4 / 5); }
.project__num {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 400;
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.8;
  color: var(--border);
  letter-spacing: -0.05em;
  display: block;
  margin-bottom: var(--space-6);
}
.project__body .h2 { margin-block: var(--space-4) var(--space-6); font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.project__chips { display: flex; gap: var(--space-4); margin-top: var(--space-8); flex-wrap: wrap; }
.project__chips .chip { width: 84px; }
.project__chips .chip__swatch { height: 52px; }

.fb-card {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
}
@media (min-width: 900px) { .fb-card { grid-template-columns: 1fr auto; } }

.mood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 900px) {
  .mood-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
  .mood-grid .frame:nth-child(even) { transform: translateY(64px); }
}
.mood-grid .frame { aspect-ratio: 3 / 4; }

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
@media (min-width: 1000px) {
  .contact { grid-template-columns: 0.8fr 1.2fr; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 40px); }
}
.contact__info .contact-line { border-top-color: var(--border); }
.contact__info .contact-line a,
.contact__info .contact-line span:not(.label) { color: var(--brand); text-decoration: none; }
.contact__info .contact-line a:hover { color: var(--accent-text); }
.contact__info address { font-style: normal; }

.form {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 56px);
  display: grid;
  gap: var(--space-6);
}
.form__row { display: grid; gap: var(--space-6); }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field .label { color: var(--text-muted); }
.field .req { color: var(--accent-text); }
.input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  min-height: 54px;
  transition: border-color 0.3s ease;
}
.input:hover { border-color: var(--text-muted); }
.input::placeholder { color: var(--text-muted); opacity: 0.8; }
.input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: var(--focus-ring); }
.input[aria-invalid="true"] { border-color: var(--accent); }
textarea.input { min-height: 160px; resize: vertical; line-height: 1.5; }
.field__hint { font-size: 14px; color: var(--text-muted); }
.field__error { font-size: 14px; color: var(--accent-text); display: none; }
.field.has-error .field__error { display: block; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: var(--space-3); }
.choice-grid { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 16px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.choice span::before {
  content: ""; width: 12px; height: 8px; border-radius: 2px; background: var(--c, var(--secondary));
}
.choice input:hover + span { border-color: var(--brand); }
.choice input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--surface); }
.choice input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-3);
  align-items: start;
  font-size: 16px;
}
.check input {
  appearance: none;
  width: 22px; height: 22px;
  margin: 2px 0 0;
  border: 1px solid var(--text-muted);
  border-radius: 5px;
  background: var(--surface);
  display: grid; place-items: center;
  cursor: pointer;
}
.check input::after {
  content: ""; width: 10px; height: 6px;
  border-left: 2px solid var(--surface); border-bottom: 2px solid var(--surface);
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.25s var(--ease);
}
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check a { color: var(--accent-text); }
.check.has-error input { border-color: var(--accent); }

.form__submit { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; }
.form__status {
  display: none;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid var(--brand);
  color: var(--brand);
  background: var(--petrol-100);
}
.form__status.is-visible { display: block; }
.hp { position: absolute; left: -9999px; }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 46rem; }
.prose h2 {
  font-family: var(--font-headline);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--brand);
  margin: 2.2em 0 0.6em;
  letter-spacing: -0.015em;
}
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 0.4em; color: var(--brand); }
.prose a { color: var(--accent-text); }
.prose address { font-style: normal; }
.prose .todo {
  background: var(--petrol-100);
  border-left: 3px solid var(--brand);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand);
}

/* ---------- Reveal-Grundzustand (nur mit JS & ohne reduzierte Bewegung) ---------- */
.js-anim [data-reveal] { opacity: 0; transform: translateY(40px); }
.js-anim .hero [data-hero] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Feinschliff / Fixes ---------- */
html { overflow-x: clip; }
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat .label { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .stat + .stat { padding-left: var(--space-4); }
  .stat { padding-right: var(--space-4); }
}

/* Parallax-Bilder: genug Überstand, damit keine Lücke entsteht */
[data-parallax] { position: relative; }
[data-parallax] img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; margin-top: 0; }
.hero__visual .frame--main img { position: absolute; left: 0; top: -12%; height: 124%; }

/* Header auf kleinen Displays */
@media (max-width: 480px) {
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 20px; }
  .brand__sub { font-size: 8px; letter-spacing: 0.04em; white-space: nowrap; }
  .burger { padding: 12px; }
  .burger__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
