/* ============================================================
   SEITE EINS — style.css (v4)
   Editorial-Minimalismus: Serif-Display + Kursiv-Akzente,
   helles Theme, dezenter Farbakzent, keine Dependencies.
   ============================================================ */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/Zodiak-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/Zodiak-VariableItalic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Boska';
  src: url('../fonts/Boska-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Boska';
  src: url('../fonts/Boska-VariableItalic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../fonts/Switzer-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Themes ----------
   Dunkel ist Standard; hell folgt Systemeinstellung oder Toggle.
   Beide streng monochrom. */
:root {
  /* Warmes Papier als Basis, Salbei als einziger Akzent */
  --bg: #f2efe6;
  --bg-soft: #eae6da;
  --bg-card: #faf8f2;
  --fg: #14140e;
  --fg-muted: #4a483d;   /* war #5d5b4e — deutlich dunkler, ~8:1 auf Papier */
  --fg-soft: #63604f;    /* war #7b7868 — jetzt AA-konform auch bei Kleintext */
  --accent: #4a5138;          /* tiefes Salbei — Akzentflächen, Buttons */
  --accent-ink: #3d442e;      /* Salbei für Text/Kursiv */
  --accent-soft: #e5e5d5;     /* zarte Akzentfläche */
  --accent-line: rgba(74, 81, 56, 0.24);
  --error: #a8412f;
  --line: rgba(23, 23, 15, 0.13);
  --line-strong: rgba(23, 23, 15, 0.22);
  --control-line: rgba(23, 23, 15, 0.52);
  --btn-solid-bg: #17170f;
  --btn-solid-fg: #f2efe6;
  --shadow: 0 24px 70px rgba(23, 23, 15, 0.13);
  --shadow-soft: 0 10px 34px rgba(23, 23, 15, 0.08);
  --frame-bar: #e6e2d6;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --serif: 'Boska', 'Zodiak', Georgia, 'Times New Roman', serif;
  --sans: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 64px;
  color-scheme: light;
}

/* ---------- Reset & Basics ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--sans);
  font-size: 1.15625rem;
  line-height: 1.72;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  transition: background-color 0.35s var(--ease-std), color 0.35s var(--ease-std);
}

::selection { background: var(--fg); color: var(--bg); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--btn-solid-bg);
  color: var(--btn-solid-fg);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1160px, calc(100% - clamp(40px, 8vw, 96px)));
  margin-inline: auto;
}
.container--narrow { width: min(800px, calc(100% - clamp(40px, 8vw, 96px))); }

/* ---------- Typografie ---------- */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 1.2rem;
}

.h2 {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(2.45rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.h2 em, .hero__title em {
  font-style: italic;
  font-weight: 420;
  color: var(--accent-ink);
}

.lead {
  margin-top: 1.2rem;
  font-size: clamp(1.15rem, 1.85vw, 1.38rem);
  color: var(--fg-muted);
  max-width: 44em;
}

.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lead { margin-inline: auto; }
.refs .section-head, .stats .section-head, .services .section-head,
.process .section-head, .pricing .section-head, .about .section-head,
.faq .section-head { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 34px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s var(--ease-std), background-color 0.2s var(--ease-std), border-color 0.2s var(--ease-std), transform 0.2s var(--ease-std);
}
.btn:active { transform: scale(0.97); }

.btn--solid { background: var(--btn-solid-bg); color: var(--btn-solid-fg); }
.btn--solid:hover { opacity: 0.88; }

.btn--outline {
  color: var(--fg);
  border-color: var(--line-strong);
  background: transparent;
}
.btn--outline:hover { border-color: var(--fg); }

/* Auf der dunklen Empfohlen-Karte: heller Button */
.btn--invert { background: #f2efe6; color: #262b1d; }
.btn--invert:hover { opacity: 0.9; }

.btn--nav { min-height: 44px; padding: 9px 18px; font-size: 0.875rem; background: var(--btn-solid-bg); color: var(--btn-solid-fg); }
.btn--nav:hover { opacity: 0.88; }


/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease-std), border-color 0.35s var(--ease-std);
}
.nav--scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: min(1240px, calc(100% - 40px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__logo {
  font-family: var(--serif);
  font-weight: 540;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--fg);
}
.nav__logo em, .footer__logo em { font-style: italic; font-weight: 460; }
.nav__links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-std);
}
.nav__links a:hover { color: var(--fg); }
.nav .btn--nav { margin-left: 0; }


/* ---------- Sektionen: Rhythmus ---------- */
main { padding-top: var(--nav-h); }
section { padding: clamp(70px, 10vh, 130px) 0; }

/* ============================================================
   HERO „Figma-Build“
   Rechts baut sich eine Website so auf, wie ein Designer sie
   baut: Element setzen, auswählen, ausrichten, weiter.
   ============================================================ */
.hs-hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-content: center;
  padding: clamp(28px, 4.4vh, 56px) 0;
  overflow: clip;
}
.hs-hero::before {
  content: '';
  position: absolute;
  left: 66%; top: 46%;
  width: 58vw; height: 58vw;
  max-width: 820px; max-height: 820px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(106, 115, 85, 0.14), transparent 72%),
    radial-gradient(closest-side at 60% 60%, rgba(191, 177, 132, 0.15), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hs-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

/* ---------- Textspalte ---------- */
.hs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.4rem;
}
.hs-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); }
.hs-title {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hs-title em { font-style: italic; font-weight: 460; color: var(--accent-ink); }
.hs-sub {
  margin-top: 1.4rem;
  max-width: 42ch;
  font-size: clamp(1.09rem, 1.5vw, 1.22rem);
  line-height: 1.62;
  color: var(--fg-muted);
}
.hs-cta { margin-top: 2rem; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hs-link {
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s var(--ease-std);
}
.hs-link:hover { border-color: var(--fg); }
.hs-facts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(18px, 2.6vw, 42px);
  margin-top: clamp(28px, 4vh, 48px);
  padding-top: clamp(18px, 2.6vh, 26px);
  border-top: 1px solid var(--line);
  justify-content: start;
}
.hs-fact dd {
  display: block;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(1.32rem, 2vw, 1.75rem);
  line-height: 1;
  white-space: nowrap;
}
.hs-fact { display: flex; flex-direction: column-reverse; align-items: flex-start; }
.hs-fact dt {
  display: block;
  margin-top: 5px;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* ---------- Bühne ---------- */
.fb-stage {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
}
.fb-shell { width: clamp(320px, 33vw, 486px); }

/* Frame-Name wie in einem Design-Tool */
.fb-framename {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px 3px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}
.fb-framename::before {
  content: '';
  width: 7px; height: 7px;
  border: 1.5px solid var(--accent);
  border-radius: 1px;
}

/* Browser-/Artboard-Rahmen */
.fb-frame {
  container-type: inline-size;
  position: relative;
  padding: 2.1%;
  border-radius: 18px;
  background: linear-gradient(158deg, #ffffff, #f6f4ec 76%);
  box-shadow:
    0 40px 84px rgba(23, 23, 15, 0.15),
    0 2px 0 rgba(255, 255, 255, 0.95) inset,
    0 0 0 1px rgba(23, 23, 15, 0.10);
}
.fb-bar {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  padding: 0 1cqw 2.1cqw;
}
.fb-bar i {
  width: 1.5cqw; height: 1.5cqw;
  border-radius: 50%;
  background: #e2ded0;
  flex: 0 0 auto;
}
.fb-url {
  margin-left: 1.4cqw;
  flex: 1;
  height: 3.6cqw;
  display: flex;
  align-items: center;
  padding: 0 2cqw;
  border-radius: 999px;
  background: #f2efe6;
  box-shadow: 0 0 0 1px rgba(23, 23, 15, 0.07) inset;
  font-size: 1.9cqw;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  line-height: 1;
}
.fb-canvas {
  position: relative;
  aspect-ratio: 4 / 4.35;
  border-radius: 10px;
  background: #ffffff;
  overflow: clip;
  box-shadow: 0 0 0 1px rgba(23, 23, 15, 0.07);
}

/* Raster des leeren Artboards */
.fb-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(74, 81, 56, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74, 81, 56, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Die Elemente der Seite ---------- */
.el { position: absolute; }
.el__body { width: 100%; height: 100%; }

.el--nav  { top: 3.6%;  left: 5%; right: 5%;  height: 7.4%; }
.el--img  { top: 14.6%; left: 5%; right: 5%;  height: 33%; }
.el--head { top: 51.5%; left: 5%; right: 19%; height: 14.5%; }
.el--text { top: 69%;   left: 5%; right: 27%; height: 8.6%; }
.el--btn  { top: 81%;   left: 5%; width: 39%; height: 8.4%; }

/* Navigation */
.el--nav .el__body {
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  border-bottom: 1px solid rgba(23, 23, 15, 0.08);
}
.el--nav b { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.fb-minilogo {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 3.2cqw;
  line-height: 1;
  white-space: nowrap;
}
.el--nav em {
  font-style: normal;
  font-size: 2.15cqw;
  font-weight: 580;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  white-space: nowrap;
  line-height: 1;
}
.el--nav em:first-of-type { margin-left: auto; }
.el--nav em + em { margin-left: 2cqw; }

/* Bild */
.el--img .el__body { border-radius: 2.2cqw; overflow: clip; box-shadow: 0 2cqw 4cqw rgba(23, 23, 15, 0.13); }
.el--img img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }

/* Headline */
.el--head .el__body { display: grid; align-content: center; gap: 0.6cqw; }
.fb-minih {
  font-family: var(--serif);
  font-weight: 540;
  font-size: 5.4cqw;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.fb-minih--i { font-style: italic; font-weight: 440; color: var(--accent-ink); }

/* Fließtext */
.el--text .el__body { display: grid; align-content: center; gap: 1.5cqw; }
.el--text .ln { height: 1.5cqw; border-radius: 999px; background: rgba(23, 23, 15, 0.13); }
.el--text .ln:nth-child(1) { width: 100%; }
.el--text .ln:nth-child(2) { width: 92%; }
.el--text .ln:nth-child(3) { width: 58%; }

/* Button */
.el--btn .el__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4cqw;
  border-radius: 999px;
  background: var(--accent);
  color: #f2efe6;
  font-weight: 640;
  font-size: 2.5cqw;
  letter-spacing: 0.03em;
  line-height: 1;
  box-shadow: 0 2.6cqw 5cqw rgba(74, 81, 56, 0.28);
}
.el--btn svg { width: 2.4cqw; height: 2.4cqw; }

/* ---------- Auswahl-UI (Bildschirm-Maßstab, nicht Canvas-Maßstab) ---------- */
.ui {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.sel {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--accent);
  border-radius: 2px;
}
.hd {
  position: absolute;
  width: 5px; height: 5px;
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 1px;
}
.hd--tl { left: -3px; top: -3px; }
.hd--tr { right: -3px; top: -3px; }
.hd--bl { left: -3px; bottom: -3px; }
.hd--br { right: -3px; bottom: -3px; }

.lbl, .badge {
  position: absolute;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: 3px;
}
.lbl {
  left: -6px;
  bottom: 100%;
  margin-bottom: 8px;
  padding: 4px 7px;
  background: var(--accent);
  color: #f4f2e6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge {
  right: -6px;
  bottom: 100%;
  margin-bottom: 8px;
  padding: 3px 6px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px var(--accent-line);
  letter-spacing: 0.02em;
}
/* oberstes Element: Beschriftungen nach unten */
.el--nav .lbl, .el--nav .badge { bottom: auto; top: 100%; margin: 8px 0 0; }

/* Hilfslinien */
.gd { position: absolute; background: rgba(74, 81, 56, 0.42); }
.gd--h { left: -1200px; right: -1200px; top: -1px; height: 1px; }
.gd--v { top: -1200px; bottom: -1200px; left: -1px; width: 1px; }

/* Cursor */
.fb-cursor {
  position: absolute;
  left: 0; top: 0;
  width: 13px; height: 16px;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(23, 23, 15, 0.25));
}
.fb-cursor svg { width: 100%; height: 100%; }

/* ============================================================
   BEWEGUNG — ruhender Endzustand ist die fertige Website
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* Einzug der Textspalte */
  .hs-rise {
    opacity: 0;
    animation: hs-rise 1s var(--ease-out) forwards;
    animation-delay: calc(var(--d, 0) * 110ms + 90ms);
  }
  @keyframes hs-rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
  }

  /* Rahmen erscheint einmalig */
  .fb-stage.anim .fb-shell {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  }
  .fb-stage.anim.is-live .fb-shell { opacity: 1; transform: none; }

  /* Raster nur während des Aufbaus */
  .fb-stage.anim .fb-gridlines { transition: opacity 0.7s var(--ease-std); }
  .fb-stage.anim.is-building .fb-gridlines { opacity: 1; }

  /* Elemente fallen ein */
  .fb-stage.anim .el__body {
    opacity: 0;
    transform: translateY(-12px) scale(0.988);
    transition: opacity 0.42s var(--ease-std), transform 0.6s var(--ease-out);
  }
  .fb-stage.anim .el.is-in .el__body { opacity: 1; transform: none; }
  .fb-stage.anim.is-out .el__body { opacity: 0; transform: none; transition-duration: 0.5s; }

  /* Textzeilen ziehen sich von links auf */
  .fb-stage.anim .el--text .ln {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.5s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .fb-stage.anim .el--text.is-in .ln { clip-path: inset(0 0 0 0); }

  /* Auswahl-UI */
  .fb-stage.anim .ui { transition: opacity 0.28s var(--ease-std); }
  .fb-stage.anim .el.is-sel .ui { opacity: 1; transition-duration: 0.16s; }

  .fb-stage.anim .sel {
    transform: scale(1.04);
    transition: transform 0.34s var(--ease-out);
  }
  .fb-stage.anim .el.is-sel .sel { transform: none; }

  .fb-stage.anim .gd--h { transform: scaleX(0); transform-origin: 50% 50%; transition: transform 0.55s var(--ease-out); }
  .fb-stage.anim .gd--v { transform: scaleY(0); transform-origin: 50% 50%; transition: transform 0.55s var(--ease-out); }
  .fb-stage.anim .el.is-sel .gd--h { transform: scaleX(1); }
  .fb-stage.anim .el.is-sel .gd--v { transform: scaleY(1); }

  .fb-stage.anim .lbl { transform: translateY(3px); transition: transform 0.3s var(--ease-out); }
  .fb-stage.anim .el.is-sel .lbl { transform: none; }

  .fb-stage.anim .el.is-sel .badge { animation: fb-badge 0.95s var(--ease-std) both; }
  @keyframes fb-badge {
    0%   { opacity: 0; transform: translateY(4px); }
    20%  { opacity: 1; transform: none; }
    70%  { opacity: 1; transform: none; }
    100% { opacity: 0; transform: translateY(-3px); }
  }

  /* Cursor */
  .fb-stage.anim .fb-cursor {
    transition: transform 0.62s var(--ease-out), opacity 0.35s var(--ease-std);
  }
  .fb-stage.anim .fb-cursor.is-armed { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hs-grid { grid-template-columns: 1fr; gap: clamp(26px, 5vw, 44px); text-align: center; }
  .fb-stage { order: 2; }
  .fb-shell { width: min(330px, 80vw); }
  .fb-framename { justify-content: center; margin-left: 0; }
  .hs-sub { margin-inline: auto; }
  .hs-cta { justify-content: center; }
  .hs-eyebrow { justify-content: center; }
  .hs-facts { grid-template-columns: 1fr 1fr; justify-content: center; text-align: left; gap: 20px 28px; }
}
@media (max-width: 560px) {
  .hs-cta .btn { width: 100%; justify-content: center; }
  .hs-hero { min-height: 0; padding: clamp(24px, 4vh, 40px) 0 clamp(40px, 7vh, 64px); }
}

  /* ---- Echte Screenshot-Streifen ----
     Canvas trägt die Bildproportion (1120x1400 = 4/5). Jeder Streifen ist ein
     Fenster auf dieselbe Bilddatei; der Inhalt fliegt beim Bauen hinein. */
  .fb-canvas { aspect-ratio: 4 / 5; background: #fff; }
  .el { overflow: clip; border-radius: 2px; background: transparent; box-shadow: none; }
  .el__body {
    position: absolute;
    left: 0;
    width: 100%;
    background-image: url('../img/zincutec-nav.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  /* Streifen (in % der Canvas-Höhe) + passender Bildversatz */
  .el--nav   { top: 0;   left: 0; right: 0; height: 6%;  }
  .el--nav   .el__body { height: 100%; top: 0; }

  .el--img   { top: 6%;  left: 0; right: 0; height: 64%; }
  .el--img   .el__body { height: 156.3%; top: -9.4%; }

  .el--head  { top: 70%; left: 0; right: 0; height: 14%; }
  .el--head  .el__body { height: 714%; top: -500%; }

  .el--text  { top: 84%; left: 0; right: 0; height: 8%;  }
  .el--text  .el__body { height: 1250%; top: -1050%; }

  .el--btn   { top: 92%; left: 0; right: 0; width: auto; height: 8%;
               background: transparent; border-radius: 2px; box-shadow: none; }
  .el--btn   .el__body {
    height: 1250%; top: -1150%;
    background-color: transparent;
    border-radius: 0;
    display: block;
    color: transparent;
    font-size: 0;
  }
  .el--btn .el__body svg { display: none; }

  /* Labels der Streifen unterhalb statt mittig, damit sie das Bild nicht verdecken */
  .el--nav .lbl, .el--nav .badge { bottom: auto; top: 100%; margin: 6px 0 0; }

  /* ---- Das echte ZEN-Foto im Bild-Element ---- */
  .el--img .el__body {
    top: 0;
    height: 100%;
    background-image: url('../img/zen-room.jpg');
    background-size: cover;
    background-position: 50% 50%;
  }

  /* ---- Unter dem Foto steht die ZEN-Seite selbst, kein Screenshot-Streifen mehr ---- */
  .el--head .el__body,
  .el--text .el__body,
  .el--btn .el__body {
    position: relative;
    top: auto;
    height: 100%;
    background-image: none;
  }
  .el--head { top: 71.5%; left: 6%; right: 10%; height: 11.5%; }
  .el--text { top: 84%;   left: 6%; right: 20%; height: 6%; }
  .el--btn  { top: 91%;   left: 6%; right: auto; width: 47%; height: 7.5%; }

  .el--head .el__body { display: grid; align-content: center; gap: 1cqw; }
  .fb-kicker {
    font-size: 1.75cqw;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-soft);
    line-height: 1;
  }
  .el--text .el__body { display: grid; align-content: center; gap: 0.5cqw; }
  .fb-copy {
    font-size: 1.95cqw;
    line-height: 1.45;
    color: var(--fg-muted);
  }
  .el--btn .el__body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4cqw;
    border-radius: 999px;
    background: var(--accent);
    color: #f2efe6;
    font-weight: 640;
    font-size: 2.4cqw;
    letter-spacing: 0.03em;
    line-height: 1;
    box-shadow: 0 2.6cqw 5cqw rgba(74, 81, 56, 0.28);
  }
  .el--btn .el__body svg { display: block; width: 2.3cqw; height: 2.3cqw; }

  /* ---- Produkt-Hotspots wie auf zincutec.eu ----
     Bildschirm-Maßstab statt Canvas-Maßstab: maßstabsgetreu waeren die
     Chips fuenf Pixel gross. Der Bestand bricht den Maßstab bei .lbl ebenso. */
  .zen-hs {
    --dot: 15px;
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    transform: translate(calc(-100% + var(--dot) / 2), -50%);
    pointer-events: none;
  }
  .zen-chip {
    padding: 4px 7px;
    border-radius: 2px;
    background: rgba(11, 12, 9, 0.68);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 4px 14px rgba(0, 0, 0, 0.34);
    -webkit-backdrop-filter: blur(6px) saturate(1.1);
    backdrop-filter: blur(6px) saturate(1.1);
    white-space: nowrap;
    font-family: var(--sans);
    text-transform: uppercase;
  }
  .zen-cat, .zen-name, .zen-cta { display: block; }
  .zen-cat {
    font-size: clamp(6px, 1.5cqw, 7px);
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.84);
  }
  .zen-name {
    margin-top: 2.5px;
    font-size: clamp(7px, 2.05cqw, 9.5px);
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.05;
    color: #ffffff;
  }
  .zen-cta {
    margin-top: 2.5px;
    font-size: clamp(6px, 1.5cqw, 7px);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.74);
  }
  .zen-dot {
    position: relative;
    flex: 0 0 auto;
    width: var(--dot);
    height: var(--dot);
    border-radius: 50%;
    background: rgba(246, 244, 236, 0.95);
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.34);
  }
  .zen-dot::before, .zen-dot::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    background: #17170f;
    transform: translate(-50%, -50%);
  }
  .zen-dot::before { width: 7px; height: 1.5px; }
  .zen-dot::after { width: 1.5px; height: 7px; }

  /* Mittlere Rahmenbreite: Kategorie und Handlungszeile weichen, der Name
     bricht um und haelt sich damit auch links vom Couchtisch im Bild. */
  @container (max-width: 385px) {
    .zen-cat, .zen-cta { display: none; }
    .zen-hs { --dot: 13px; gap: 4px; }
    .zen-chip { padding: 3.5px 5px; white-space: normal; }
    .zen-name {
      margin-top: 0;
      font-size: 7px;
      line-height: 1.16;
      max-width: 54px;
      text-align: right;
    }
  }
  /* Sehr schmale Rahmen: nur noch die Punkte */
  @container (max-width: 268px) {
    .zen-hs { --dot: 12px; }
    .zen-chip { display: none; }
    .zen-dot::before { width: 6px; }
    .zen-dot::after { height: 6px; }
  }

  @media (prefers-reduced-motion: no-preference) {
    .fb-stage.anim .zen-hs {
      opacity: 0;
      transition: opacity 0.42s var(--ease-std);
      transition-delay: calc(var(--z, 0) * 90ms);
    }
    .fb-stage.anim.is-done .zen-hs { opacity: 1; }
    .fb-stage.anim.is-out .zen-hs { opacity: 0; transition-delay: 0s; transition-duration: 0.38s; }

    .fb-stage.anim .zen-chip {
      transform: translateX(5px) scale(0.96);
      transform-origin: 100% 50%;
      transition: transform 0.52s var(--ease-out);
      transition-delay: calc(var(--z, 0) * 90ms);
    }
    .fb-stage.anim .zen-dot {
      transform: scale(0.55);
      transition: transform 0.52s var(--ease-out);
      transition-delay: calc(var(--z, 0) * 90ms + 70ms);
    }
    .fb-stage.anim.is-done .zen-chip,
    .fb-stage.anim.is-done .zen-dot { transform: none; }
  }



/* ---------- Split-Flap-Anzeige (Sektion „Für wen wir bauen") ---------- */
/* ---------- Die Fallblatt-Anzeige ---------- */
  .sf-board {
    --flap-w: clamp(1.55rem, 7.1vw, 5rem);
    --flap-h: calc(var(--flap-w) * 1.3);
    --flap-gap: clamp(2px, 0.52vw, 7px);
    --flap-r: clamp(3px, 0.42vw, 7px);
    --flap-step: calc(var(--flap-w) + var(--flap-gap));

    display: block;
    width: fit-content;
    max-width: 100%;
    margin: clamp(0.7rem, 1.9vh, 1.35rem) auto clamp(0.9rem, 2.2vh, 1.5rem);
  }
/* Die Schiene trägt die Tiles – und schiebt das Wort optisch in die Mitte */
  .sf-board__rail {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--flap-gap);
    width: fit-content;
    margin-inline: auto;
    transform: translateX(calc(var(--shift, 0) * var(--flap-step)));
  }
/* Bodenschatten des Bretts */
  .sf-board__rail::after {
    content: '';
    position: absolute;
    left: 3%; right: 3%;
    bottom: calc(var(--flap-h) * -0.15);
    height: calc(var(--flap-h) * 0.2);
    background: radial-gradient(50% 50% at 50% 50%, rgba(23, 23, 15, 0.19), transparent 72%);
    filter: blur(9px);
    pointer-events: none;
  }
.flap {
    position: relative;
    flex: 0 0 auto;
    width: var(--flap-w);
    height: var(--flap-h);
    border-radius: var(--flap-r);
    overflow: clip;
    perspective: calc(var(--flap-h) * 3.4);
    box-shadow:
      0 0 0 1px rgba(23, 23, 15, 0.14),
      0 2px 3px rgba(23, 23, 15, 0.07),
      0 12px 26px rgba(23, 23, 15, 0.10);
    font-family: var(--sans);
    font-weight: 680;
    font-size: calc(var(--flap-w) * 0.6);
    letter-spacing: -0.015em;
    color: var(--fg);
    -webkit-font-smoothing: antialiased;
  }
/* Leere Felder bleiben sichtbar, treten aber zurück */
  .flap.is-blank {
    opacity: 0.44;
    box-shadow:
      0 0 0 1px rgba(23, 23, 15, 0.10),
      0 6px 14px rgba(23, 23, 15, 0.05);
  }
/* Die Fuge: liegt über allem, wie beim echten Brett */
  .flap::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 1px;
    margin-top: -0.5px;
    background: rgba(23, 23, 15, 0.26);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 5;
    pointer-events: none;
  }
.fl--top {
    top: 0;
    background: linear-gradient(180deg, var(--bg-card), #f5f2e9);
    border-radius: var(--flap-r) var(--flap-r) 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
.fl--bot {
    bottom: 0;
    background: linear-gradient(180deg, var(--bg-soft), #e4e0d2);
    border-radius: 0 0 var(--flap-r) var(--flap-r);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5);
  }
.ch {
    position: absolute;
    left: 0;
    width: 100%;
    height: var(--flap-h);
    line-height: var(--flap-h);
    text-align: center;
    white-space: pre;
  }
.fl--bot .ch, .fl__face--b .ch { top: calc(var(--flap-h) * -0.5); }
/* Das fallende Blatt */
  .fl--leaf {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 50%;
    transform-origin: 50% 100%;
    transform-style: preserve-3d;
    z-index: 3;
    overflow: visible;
  }
.fl__face--a {
    background: linear-gradient(180deg, var(--bg-card), #f5f2e9);
    border-radius: var(--flap-r) var(--flap-r) 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
.fl__face--b {
    background: linear-gradient(180deg, var(--bg-soft), #e4e0d2);
    border-radius: 0 0 var(--flap-r) var(--flap-r);
    transform: rotateX(180deg);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5);
  }
html.no-js .sf-board { display: none; }
.sf-board__rail { transition: transform 0.62s var(--ease-out); }
.flap { transition: opacity 0.45s var(--ease-std), box-shadow 0.45s var(--ease-std); }
@media (max-width: 640px) {
    .sf-board {
      --flap-w: min(7.6vw, 5rem);
      --flap-h: calc(var(--flap-w) * 1.46);
      width: 100vw;
      max-width: 100vw;
      margin-inline: calc(50% - 50vw);
    }
  }
/* Leerkacheln komplett unsichtbar — kein Rahmen, kein Schatten, kein Grau */
.sf-board .flap.is-blank,
.sf-board .flap.is-blank * {
  opacity: 0 !important;
  box-shadow: none !important;
  border-color: transparent !important;
  background: transparent !important;
}
.sf-board { --tile-gap: 6px; }


/* Board in der Sektion „Für wen wir bauen": kleiner, linksbündig, kein Fallback-Text */
.heroG .sf-board {
  --flap-w: clamp(1.4rem, 3.4vw, 2.9rem);
  --flap-gap: clamp(2px, 0.3vw, 5px);
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.6rem 0 0.2rem;
}
.heroG .sf-fallback { display: none; }
@media (prefers-reduced-motion: reduce) {
  .heroG .sf-board { display: none; }
  .heroG .sf-fallback {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    color: var(--accent-ink);
  }
}
/* alte Haarlinie der Wort-Rotation entfernen */
.heroG .rot__rule { display: none; }

/* ---------- Sektion G „Für wen wir bauen" ---------- */
/* ============================================================
       HERO G — „Für wen“
       Die Typografie ist der Hero: „Webdesign für“ + rotierendes
       Zielgruppen-Wort in Boska-Kursiv, maskiert, mit gleitender
       Haarlinie. Rechts eine leise, langsam driftende Kartenspalte.
       Streng monochrom.
       ============================================================ */
    /* Als eingebettete Sektion (nicht mehr als Hero): normale
       Sektionshöhe statt voller Bildschirmhöhe */
    .heroG {
      --display: 'Boska', 'Zodiak', Georgia, serif;
      --rot-lh: 1.08;          /* Zeilenhöhe = Maskenhöhe des Wortes */
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: clamp(70px, 10vh, 130px) 0;
      overflow: clip;
    }

    .vh {
      position: absolute;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
      border: 0;
    }

    /* ---------- Grundraster ---------- */
    .heroG__grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) clamp(250px, 24vw, 340px);
      gap: clamp(36px, 5.5vw, 82px);
      align-items: center;
    }

    /* ---------- Augenbraue ---------- */
    .heroG__eyebrow {
      display: flex;
      align-items: center;
      gap: 14px;
      font-size: 0.78rem;
      font-weight: 620;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--fg-soft);
      margin-bottom: clamp(20px, 3.4vh, 34px);
    }
    .heroG__eyebrow::before {
      content: '';
      width: clamp(28px, 4vw, 52px);
      height: 1px;
      background: var(--line-strong);
      flex: 0 0 auto;
    }

    /* ---------- Headline ---------- */
    .heroG__title {
      font-family: var(--display);
      font-weight: 380;
      font-size: clamp(2.9rem, 5.9vw, 5.6rem);
      line-height: 0.98;
      letter-spacing: -0.02em;
    }
    .heroG__l1 { display: block; }

    .rot { display: block; margin-top: 0.03em; }
    .rot__mask {
      position: relative;
      display: block;
      height: calc(var(--rot-lh) * 1em);
      overflow: hidden;   /* Fallback für ältere Safari-Versionen */
      overflow: clip;
    }
    .rot__word {
      position: absolute;
      left: 0; top: 0;
      white-space: nowrap;
      font-style: italic;
      font-weight: 330;
      line-height: var(--rot-lh);
      letter-spacing: -0.012em;
      opacity: 0;
      transform: translateY(100%);
      will-change: transform, opacity;
    }
    .rot__word.is-in  { opacity: 1; transform: translateY(0); }
    .rot__word.is-out { opacity: 0; transform: translateY(-100%); }

    .rot__rule {
      display: block;
      width: 5.2em;           /* Fallback, JS misst exakt nach */
      max-width: 100%;
      height: 2px;
      margin-top: 0.1em;
      background: currentColor;
      opacity: 0.26;
      border-radius: 2px;
    }

    /* ---------- Fließtext, CTAs ---------- */
    .heroG__lead {
      margin-top: clamp(22px, 3.4vh, 34px);
      max-width: 46ch;
      font-size: clamp(1rem, 1.28vw, 1.14rem);
      line-height: 1.62;
      color: var(--fg-muted);
    }
    .heroG__lead em { font-style: italic; color: var(--fg); }

    .heroG__ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: clamp(24px, 3.6vh, 36px);
    }
    .btn--arrow { padding-right: 12px; }
    .btn--arrow .circle {
      display: grid;
      place-items: center;
      width: 30px; height: 30px;
      border-radius: 50%;
      background: color-mix(in srgb, var(--btn-solid-fg) 14%, transparent);
      margin-left: 4px;
    }
    .btn--arrow svg { width: 13px; height: 13px; }

    /* ---------- Kartenstapel rechts ---------- */
    .heroG__stack {
      position: relative;
      display: grid;
      gap: 12px;
      align-content: center;
    }
    /* Statt Bilderstapel: eine ruhige Liste der Branchen */
    .heroG__list { display: grid; gap: 0; }
    .heroG__list li {
      display: flex;
      align-items: baseline;
      gap: 16px;
      padding: 15px 0;
      border-bottom: 1px solid var(--line);
      font-family: var(--serif);
      font-size: clamp(1.15rem, 1.7vw, 1.45rem);
      color: var(--fg);
    }
    .heroG__list li:first-child { border-top: 1px solid var(--line); }
    .heroG__list span {
      font-family: var(--sans);
      font-size: 0.8125rem;
      font-weight: 620;
      letter-spacing: 0.1em;
      color: var(--fg-soft);
      min-width: 2.2em;
    }
    .heroG__list em { font-style: italic; color: var(--accent-ink); }
    .gcard {
      position: relative;
      transform-origin: 50% 50%;
    }
    .gcard .frame { border-radius: 12px; }
    .gcard .frame__bar { padding: 7px 11px; gap: 5px; }
    .gcard .frame__bar i { width: 6px; height: 6px; }
    .gcard .frame__bar span { font-size: 0.65rem; margin-right: 26px; }
    .gcard img {
    }
    .gcard--1 { width: 84%; align-self: flex-start; z-index: 1; }
    .gcard--2 { width: 78%; align-self: flex-end; z-index: 2; margin-top: -13%; }
    .gcard--3 { width: 72%; align-self: flex-start; margin-left: 7%; z-index: 3; margin-top: -13%; }

    /* ---------- Kennzahlen ---------- */
    .heroG__stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      margin-top: clamp(30px, 5vh, 58px);
      padding-top: clamp(18px, 2.6vh, 28px);
      border-top: 1px solid var(--line);
    }
    .heroG__stat { padding-left: clamp(14px, 2vw, 26px); }
    .heroG__stat + .heroG__stat { border-left: 1px solid var(--line); }
    .heroG__stat:first-child { padding-left: 0; }
    .heroG__stat b {
      display: block;
      font-family: var(--display);
      font-weight: 400;
      font-size: clamp(1.75rem, 2.9vw, 2.7rem);
      line-height: 1;
      letter-spacing: -0.012em;
      white-space: nowrap;
    }
    .heroG__stat b i { font-style: italic; font-size: 0.48em; color: var(--fg-soft); }
    .heroG__stat span {
      display: block;
      margin-top: 9px;
      font-size: 0.8438rem;
      line-height: 1.4;
      color: var(--fg-muted);
    }

    /* ---------- Bewegung ---------- */
    @media (prefers-reduced-motion: no-preference) {
      .rot__word {
        transition: transform 0.9s var(--ease-out), opacity 0.55s var(--ease-std);
      }
      .rot__word.is-in { transition-delay: 70ms; }
      .rot.is-live .rot__rule {
        transition: width 0.9s var(--ease-out) 0.06s;
      }

      .heroG__rise {
        opacity: 0;
        animation: g-rise 1s var(--ease-out) forwards;
        animation-delay: calc(var(--d, 0) * 105ms + 90ms);
      }
      @keyframes g-rise {
        from { opacity: 0; transform: translateY(22px); }
        to   { opacity: 1; transform: none; }
      }

      .gcard { animation: g-drift var(--dur, 17s) var(--ease-std) infinite; animation-delay: var(--dl, 0s); }
      .gcard--1 { --dur: 19s; --dl: -2s;  --r: -1.4deg; --r2: -0.6deg; }
      .gcard--2 { --dur: 23s; --dl: -8s;  --r:  1.1deg; --r2:  0.3deg; }
      .gcard--3 { --dur: 21s; --dl: -14s; --r: -0.9deg; --r2: -0.2deg; }
      @keyframes g-drift {
        0%   { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); }
        50%  { transform: translate3d(0, -11px, 0) rotate(var(--r2, 0deg)); }
        100% { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); }
      }
    }

    /* ohne Bewegung: Karten trotzdem leicht geneigt, aber still */
    @media (prefers-reduced-motion: reduce) {
      .gcard--1 { transform: rotate(-1.4deg); }
      .gcard--2 { transform: rotate(1.1deg); }
      .gcard--3 { transform: rotate(-0.9deg); }
    }

    /* ---------- Responsive ---------- */
    @media (max-width: 1080px) {
      .heroG__grid { grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 300px); gap: 36px; }
    }
    @media (max-width: 860px) {
      .heroG { justify-content: flex-start; }
      .heroG__grid { grid-template-columns: 1fr; gap: clamp(38px, 7vw, 60px); }
      /* Die Karten bleiben auch mobil klar zweitrangig */
      .heroG__stack {
        width: min(300px, 84%);
        margin-inline: auto;
      }
      .heroG__stats { grid-template-columns: 1fr 1fr; gap: 26px 0; }
      .heroG__stat:nth-child(3) { padding-left: 0; border-left: 0; }
    }
    @media (max-width: 600px) {
      .heroG__title { letter-spacing: -0.016em; }
      .heroG__ctas .btn { width: 100%; }
      .heroG__stat b { font-size: clamp(1.6rem, 8vw, 2.2rem); }
    }

/* ---------- Browser-Frame (Referenzen, Karten-Stapel) ---------- */
.frame {
  border-radius: 16px;
  overflow: clip;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--frame-bar);
  border-bottom: 1px solid var(--line);
}
.frame__bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  flex: 0 0 auto;
}
.frame__bar span {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-right: 40px;
}
.frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

/* ---------- Karten ---------- */
.card-soft {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

/* ---------- Referenzen ---------- */
.refs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
}
.ref-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: clip;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ref-card__media { display: block; overflow: clip; }
.ref-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease-out);
}
.ref-card:hover .ref-card__media img { transform: scale(1.025); }
.ref-card__body { padding: clamp(22px, 3vw, 32px); }
.ref-card__body h3 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
}
.ref-card__body > p {
  margin-top: 0.6rem;
  color: var(--fg-muted);
  font-size: 1.03125rem;
}
/* Echte Kundenstimme in der Referenzkarte */
.ref-quote {
  margin-top: 1.1rem;
  padding-left: 16px;
  border-left: 2px solid var(--line-strong);
}
.ref-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--fg);
}
.ref-quote cite {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--fg-soft);
}
.ref-quote__who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.ref-quote__who img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.1rem;
}
.pills li {
  font-size: 0.8125rem;
  font-weight: 550;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--fg-muted);
}
.ref-card__link {
  display: inline-block;
  margin-top: 1.3rem;
  font-weight: 650;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease-std);
}
.ref-card__link:hover { border-color: var(--fg); }

.ref-next {
  margin-top: clamp(18px, 2.5vw, 28px);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ref-next__text {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
}
.ref-next__text em { font-style: italic; }

/* ---------- Stats & Charts ---------- */
.stats { background: var(--bg-soft); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--serif);
  font-weight: 440;
  font-size: clamp(3rem, 5.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.stat p {
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 24em;
  margin-inline: auto;
}
.stat sup, .chart sup { font-size: 0.6em; color: var(--fg-soft); }
.statement sup { font-size: 0.35em; color: var(--fg-soft); }

.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: clamp(44px, 6vw, 72px);
}
.chart {
  padding: clamp(26px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.chart h3 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.chart__desc {
  margin-top: 0.4rem;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}
.chart__note {
  margin-top: auto;
  padding-top: 1.4rem;
  font-weight: 600;
  font-size: 0.9875rem;
}

.chart__bars {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  align-items: flex-end;
  height: 200px;
  margin: 2rem 0 0.4rem;
}
.chart__bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
.chart__bar i {
  width: clamp(60px, 6.5vw, 88px);
  height: var(--v);
  border-radius: 10px 10px 4px 4px;
  background: var(--fg);
}
.chart__bar:last-child i { background: var(--line-strong); }
.chart__bar b {
  order: -1;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.chart__bar span {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--fg-soft);
}
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal]:not(.is-visible) .chart__bar i { height: 0; }
  html.js .chart__bar i { transition: height 1.2s var(--ease-out) 0.25s; }
}

.chart__donut {
  position: relative;
  width: 170px;
  margin: 2rem auto 0.4rem;
  align-self: center;
}
.chart__donut svg { width: 100%; transform: rotate(-90deg); }
.chart__donut circle {
  fill: none;
  stroke-width: 11;
  stroke-linecap: round;
}
.chart__donut-track { stroke: var(--line); }
.chart__donut-value {
  stroke: var(--fg);
  stroke-dasharray: 339.3;
  stroke-dashoffset: 159.5; /* 53 % */
}
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal]:not(.is-visible) .chart__donut-value { stroke-dashoffset: 339.3; }
  html.js .chart__donut-value { transition: stroke-dashoffset 1.4s var(--ease-out) 0.25s; }
}
.chart__donut-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
}
.sources {
  margin-top: clamp(28px, 4vw, 44px);
  font-size: 0.8125rem;
  color: var(--fg-soft);
  text-align: center;
}

/* ---------- Statement ---------- */
.statement { text-align: center; padding: clamp(90px, 14vh, 170px) 0; }
.statement__big {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(6.5rem, 17vw, 13rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.statement__line {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin-top: 0.4rem;
  text-wrap: balance;
}
.statement__sub {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--fg-muted);
}
.statement__sub em { font-style: italic; }

/* ---------- Leistungen ---------- */
.services { background: var(--bg-soft); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.service { padding: clamp(24px, 3vw, 34px); }
.service h3 {
  font-family: var(--serif);
  font-weight: 490;
  font-size: 1.3rem;
  letter-spacing: -0.008em;
  margin-bottom: 0.5rem;
}
.service p { color: var(--fg-muted); font-size: 1rem; }

/* ---------- Ablauf ---------- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  counter-reset: step;
}
.process__num {
  color: var(--accent-ink);
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1;
  margin-bottom: 1rem;
}
.process__step h3 {
  font-family: var(--serif);
  font-weight: 490;
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}
.process__step p { color: var(--fg-muted); font-size: 1.03125rem; }

/* ---------- Preise ---------- */
.pricing { background: var(--bg-soft); }
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
  align-items: stretch;
}
.price-card {
  padding: clamp(26px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
}
.price-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
}
.price-card__desc {
  margin-top: 0.5rem;
  color: var(--fg-muted);
  font-size: 0.9875rem;
}
.price-card__price {
  margin: 1.4rem 0 1.5rem;
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(2.4rem, 3.8vw, 3.2rem);
  letter-spacing: -0.015em;
  line-height: 1;
}
.price-card__price span {
  font-size: 0.42em;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--fg-muted);
  margin-right: 6px;
}
.price-card ul {
  display: grid;
  gap: 10px;
  margin-bottom: 2rem;
  flex: 1;
}
.price-card li {
  position: relative;
  padding-left: 26px;
  font-size: 1.03125rem;
  color: var(--fg-muted);
}
.price-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.34em;
  width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' stroke='%23000' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' stroke='%23000' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-card li strong { color: var(--fg); }

/* Empfohlen-Karte: immer dunkel, in beiden Themes klar erhöht */
.price-card--featured {
  position: relative;
  background: #262b1d;
  border-color: rgba(242, 239, 230, 0.16);
  color: #f2efe6;
  box-shadow: var(--shadow);
}
.price-card--featured .price-card__desc,
.price-card--featured li { color: #b9bba7; }
.price-card--featured li strong { color: #f2efe6; }
.price-card--featured li::before { background: #cdd0bb; }
.price-card--featured .price-card__price span { color: #b9bba7; }
.price-card__badge {
  position: absolute;
  top: -12px;
  right: 26px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #f2efe6;
  border: 1px solid transparent;
}
/* Im hellen Theme invertiert, damit die Pille auf beiden Untergründen
   (dunkle Karte + helle Sektion) eine klare Silhouette behält */

.care {
  margin-top: clamp(18px, 2.5vw, 28px);
  padding: clamp(24px, 3vw, 36px) clamp(26px, 3.4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.care h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
}
.care > div p { color: var(--fg-muted); font-size: 0.9563rem; max-width: 36em; margin-top: 4px; }
.care__price {
  font-family: var(--serif);
  font-weight: 480;
  font-size: 2rem;
  white-space: nowrap;
  text-align: right;
}
.care__price span { font-size: 0.5em; font-family: var(--sans); font-weight: 500; color: var(--fg-muted); margin-right: 4px; }
.care__price em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.pricing__note {
  margin-top: 1.6rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-align: center;
}
.pricing__note strong { color: var(--fg); }

/* ---------- Über uns ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
}
.founder {
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.founder__photo {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.founder h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
}
.founder__role {
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin: 2px 0 0.6rem;
}
.founder div p:last-child { color: var(--fg-muted); font-size: 1rem; }
.about__quote {
  margin-top: clamp(32px, 4.5vw, 52px);
  text-align: center;
}
.about__quote p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  max-width: 30em;
  margin-inline: auto;
}

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  transition: color 0.2s var(--ease-std);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--fg-muted); }
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px; height: 16px;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--fg-soft);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out);
}
.faq__icon::before { width: 16px; height: 1.6px; }
.faq__icon::after { width: 1.6px; height: 16px; }
.faq details[open] .faq__icon::after { transform: rotate(90deg); }
.faq__body { padding: 0 4px 24px; }
.faq__body p { color: var(--fg-muted); max-width: 58em; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__body { animation: faq-open 0.5s var(--ease-out); }
  @keyframes faq-open {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- Kontakt ---------- */
.contact { background: var(--bg-soft); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact__channels {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 18px;
}
.contact__channel-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 620;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 2px;
}
.contact__channels a {
  display: inline-block;
  padding: 8px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  text-decoration: none;
  transition: color 0.2s var(--ease-std);
}
.contact__channels a:hover { color: var(--fg-muted); }
.contact__nocookie {
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Formular */
.form {
  padding: clamp(26px, 3.4vw, 40px);
  display: grid;
  gap: 18px;
  position: relative;
}
.form__field { display: grid; gap: 7px; }
.form__field label { font-size: 0.875rem; font-weight: 600; }
.form__optional { color: var(--fg-soft); font-weight: 450; }
.form input, .form textarea {
  font: inherit;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--control-line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s var(--ease-std);
}
.form input::placeholder, .form textarea::placeholder { color: var(--fg-soft); }
.form input:focus-visible, .form textarea:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
  border-color: var(--fg);
}
.form textarea { resize: vertical; min-height: 110px; }
.form input[aria-invalid='true'], .form textarea[aria-invalid='true'] { border-color: var(--error); }
.field-error {
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--error);
}
.form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.form__submit { width: 100%; margin-top: 4px; }
.form__note {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
.form__note--promise {
  color: var(--fg);
  font-weight: 550;
  text-align: center;
  margin-top: -6px;
}
.form__note a { color: var(--fg); }
.form__status { font-weight: 550; }
.form__status:empty { margin-top: -18px; }
.form__status.is-ok { color: var(--fg); }
.form__status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--serif);
  font-weight: 540;
  font-size: 1.15rem;
  text-decoration: none;
}
.footer__legal { font-size: 0.875rem; color: var(--fg-muted); }
.footer__legal a {
  display: inline-block;
  padding: 6px 0;
  color: var(--fg-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s var(--ease-std), border-color 0.2s var(--ease-std);
}
.footer__legal a:hover { color: var(--fg); border-color: var(--fg); }

/* ---------- Legal-Seiten ---------- */
.legal-page main { padding: calc(var(--nav-h) + clamp(48px, 8vh, 90px)) 0 clamp(80px, 12vh, 140px); }
.legal-page h1 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(1.9rem, 8.5vw, 3.4rem);
  hyphens: auto;
  overflow-wrap: anywhere;
  letter-spacing: -0.012em;
  margin-bottom: 2.2rem;
}
.legal-page h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 2.6rem 0 0.9rem;
}
.legal-page p, .legal-page li { color: var(--fg-muted); margin-bottom: 0.9rem; }
.legal-page ul { list-style: disc; padding-left: 1.4rem; }
.legal-page a { color: var(--fg); }
.legal-page .placeholder {
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 1px 7px;
  color: var(--fg);
  font-weight: 550;
}
.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2.4rem;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-std);
}
.legal-page .back-link:hover { color: var(--fg); }

/* ---------- Reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-load-reveal] {
    animation: load-reveal 0.95s var(--ease-out) both;
    animation-delay: calc(var(--d, 0) * 110ms + 100ms);
  }
  @keyframes load-reveal {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
  }
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  html.js [data-reveal='left'] { transform: translateX(-56px); }
  html.js [data-reveal='right'] { transform: translateX(56px); }
  html.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Fallbacks ---------- */

html:not(.js) .theme-toggle { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .refs__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; gap: 40px; }
  .charts { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .process__grid { grid-template-columns: 1fr; gap: 36px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}
.btn__short { display: none; }

@media (max-width: 720px) {
  /* Topbar: einzeilig, kurze Fakten, kein doppelter CTA */
      
  /* Nav: Preise bleibt als Anker sichtbar, CTA wird kompakt */
  .nav__links { margin-left: auto; gap: 16px; }
  .nav__links a { display: none; }
  .nav__links a.nav__link-keep { display: inline; }
  .theme-toggle { margin-left: 0; }
  .btn__long { display: none; }
  .btn__short { display: inline; }

  .services__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: min(100%, 320px); }
  .care { flex-direction: column; align-items: flex-start; }
  .care__price { text-align: left; }
  .ref-next { justify-content: center; text-align: center; }
}

/* Die Referenzkarten starten seitlich versetzt (data-reveal left/right).
   Ohne Clipping schiebt der Versatz die ganze Seite horizontal auf. */
.refs { overflow-x: clip; }

/* Ohne JavaScript bleibt das Fallblatt leer — dann tritt der Ersatztext ein */
html.no-js .heroG .sf-board { display: none; }
html.no-js .heroG .sf-fallback {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  color: var(--accent-ink);
}
