/* =========================================================
   Technologie-Agentur — Landingpage
   Motiv: Zahlen als Anker. Ruled ledger, keine Karten-Wüste.
   ========================================================= */

/* ---------- Fonts (self-hosted, kein Drittanbieter-Request) ---------- */
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('/assets/fonts/cabinet-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('/assets/fonts/cabinet-grotesk-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/assets/fonts/switzer-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/assets/fonts/switzer-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/assets/fonts/switzer-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/assets/fonts/switzer-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --accent: #1F4B3F;
  --accent-press: #17392F;
  --accent-lift: #8FB3A6;

  --ink: #17150F;
  --ink-2: #3C382E;
  --muted: #6C6558;

  --paper: #F6F3EC;
  --surface: #FFFFFF;
  --line: #E5DFD1;
  --line-strong: #D2CAB7;

  --dark: #17150F;
  --dark-paper: #F3EFE6;
  --dark-muted: #A49C8B;
  --dark-line: rgba(255, 255, 255, .1);

  --font-head: 'Cabinet Grotesk', system-ui, sans-serif;
  --font-body: 'Switzer', system-ui, sans-serif;

  --shell: 1200px;
  --gut: clamp(20px, 4vw, 44px);
  --pad-y: clamp(52px, 6vw, 92px);
  --pad-y-dark: clamp(56px, 6.5vw, 104px);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Lenis nimmt das Scrollen; ohne JS bleibt natives Smooth-Scroll */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

h1, h2, h3 { margin: 0; }
p { margin: 0; }

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-press); }

button { font: inherit; cursor: pointer; }

img, svg, canvas { display: block; max-width: 100%; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  color: #fff;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  position: relative;
  overflow: hidden;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.995); }

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  background: var(--accent-press);
  border-color: var(--accent-press);
  color: #fff;
  transform: translateY(-1px);
}
/* Wischender Glanz beim Hover — sehr dezent */
.btn--accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .16) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn--accent:hover::after { transform: translateX(120%); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn--sm { min-height: 40px; padding: 10px 17px; font-size: 14.5px; }
.btn--block { width: 100%; margin-top: 4px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper), transparent 8%);
  backdrop-filter: saturate(1.1) blur(10px);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--paper), transparent 2%);
  box-shadow: 0 8px 30px -18px rgba(23, 21, 15, .5);
}

.nav__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.nav__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 15px var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ink);
}
.wordmark:hover { color: var(--ink); }
.wordmark__name {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 21px;
}
.wordmark__tag {
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 2px 5px;
  border-radius: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-weight: 500;
  font-size: 14.5px;
}
.nav__links > a[data-nav-link] {
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
.nav__links > a[data-nav-link]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .3s var(--ease);
}
.nav__links > a[data-nav-link]:hover,
.nav__links > a[data-nav-link].is-active { color: var(--accent); }
.nav__links > a[data-nav-link]:hover::after,
.nav__links > a[data-nav-link].is-active::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.nav__toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 9px 13px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.nav__toggle-bars {
  display: grid;
  gap: 4px;
  width: 16px;
}
.nav__toggle-bars i {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars i:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars i:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 90vh, 940px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(96deg, var(--paper) 4%, color-mix(in oklab, var(--paper), transparent 22%) 40%, transparent 82%),
    linear-gradient(180deg, var(--paper), transparent 14%, transparent 80%, var(--paper));
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) var(--gut);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, .8fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.kicker {
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: .98;
  letter-spacing: -.03em;
  margin: .32em 0 0;
  color: var(--ink);
  text-wrap: balance;
  hyphens: auto;
}

/* Zeilenweise Masken-Reveal — von main.js gesetzt */
.line { display: block; overflow: hidden; }
.line > span { display: block; will-change: transform; }

.hero__lead {
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.5;
  max-width: 50ch;
  color: var(--ink-2);
  margin-top: 24px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust {
  list-style: none;
  margin: 36px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink-2);
}
.trust li { display: flex; align-items: center; gap: 8px; }

.tick {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tick--lift { stroke: var(--accent-lift); }

.hero__price { justify-self: end; text-align: right; }

.pricetag {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
  display: inline-block;
  text-align: right;
}
.pricetag__figure {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(52px, 7vw, 96px);
  line-height: .84;
  letter-spacing: -.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pricetag__unit {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}
.pricetag__note {
  font-size: 16px;
  color: var(--ink-2);
  margin-top: 8px;
}

/* ---------- Section-Gerüst ---------- */
.section { padding: var(--pad-y) var(--gut); }
.section--ruled { border-top: 1px solid var(--line); }

.section--dark {
  background: var(--dark);
  color: var(--dark-paper);
  padding-block: var(--pad-y-dark);
  border-top: 1px solid var(--dark);
}

.section__grid {
  display: grid;
  grid-template-columns: minmax(110px, 180px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 52px);
}

.section__marker { position: relative; }
.section__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.section__num--lift { color: var(--accent-lift); }

.section__label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.section__label--dark { color: var(--dark-muted); }

/* Kurze Regellinie, die beim Reveal aufgezogen wird */
.section__rule {
  display: block;
  height: 1px;
  width: 100%;
  max-width: 120px;
  margin-top: 18px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.section__rule--dark { background: var(--dark-line); }

.h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--ink);
}
.h2--dark { color: var(--dark-paper); max-width: 20ch; }

.lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 12px;
  max-width: 56ch;
}
.lede--dark { color: var(--dark-muted); max-width: 52ch; margin-top: 14px; }

.statement {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 3.1vw, 40px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 24ch;
}
.prose {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 22px;
  max-width: 62ch;
}

/* ---------- Ledger (Leistungen) ---------- */
.ledger { margin-top: 36px; }

.ledger__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px clamp(28px, 4vw, 56px);
  padding: 32px 0;
  border-top: 1px solid var(--line-strong);
  align-items: start;
  transition: background-color .35s var(--ease);
}
.ledger__row--last { border-bottom: 1px solid var(--line-strong); }

/* Akzentlinie fährt beim Hover von links ein */
.ledger__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .5s var(--ease);
}
.ledger__row:hover::before { transform: scaleX(1); }
.ledger__row:hover .ledger__figure { color: var(--accent); }

.ledger__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -.015em;
  color: var(--ink);
}
.ledger__text {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 10px 0 16px;
  max-width: 52ch;
}

.arrowlink {
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.arrowlink__arrow { transition: transform .3s var(--ease); }
.arrowlink:hover .arrowlink__arrow { transform: translateX(5px); }

.ledger__price { text-align: right; min-width: 180px; }
.ledger__figure {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: -.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: color .3s var(--ease);
}
.ledger__figure--tri { font-size: clamp(28px, 3.2vw, 42px); }
.ledger__unit {
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
}
.ledger__note {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 4px;
}

/* ---------- Steps (Ablauf) ---------- */
.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}
.step {
  background: var(--paper);
  padding: 24px 22px 28px;
  transition: background-color .3s var(--ease);
}
.step:hover { background: var(--surface); }
.step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.step__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin: 16px 0 6px;
}
.step__text { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Metrics (Qualität) ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
  margin-top: 36px;
}
.metric {
  background: var(--dark);
  padding: 26px 24px;
  transition: background-color .3s var(--ease);
}
.metric:hover { background: #1E1B14; }
.metric__figure {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 4.4vw, 54px);
  color: var(--dark-paper);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.02em;
}
.metric__text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--dark-muted);
  margin-top: 12px;
}

.trust--dark {
  border-top: 0;
  margin-top: 26px;
  padding-top: 0;
  color: var(--dark-paper);
  font-size: 14.5px;
}

/* ---------- Team & Stack ---------- */
.profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.profile {
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  padding: 22px;
  background: color-mix(in oklab, var(--paper), #fff 45%);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.profile:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.profile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.profile__badge {
  width: 38px;
  height: 38px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
}
.profile__flag {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.profile__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin: 18px 0 3px;
}
.profile__role {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--accent);
  margin-bottom: 8px;
}
.profile__text { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

.stack {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stack__label {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stack__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 16px;
}
.stack__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 12px;
  background: var(--paper);
  color: var(--ink-2);
  transition: color .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
.stack__item:hover {
  color: var(--accent);
  background: var(--surface);
  transform: translateY(-3px);
}
.stack__item svg { height: 29px; width: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 74ch; }

.faq__item {
  border-top: 1px solid var(--line-strong);
}
.faq__item--last { border-bottom: 1px solid var(--line-strong); }

.faq__q {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18.5px;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--accent); }

/* Plus, das beim Öffnen zum Minus rotiert */
.faq__sign {
  position: relative;
  width: 13px;
  height: 13px;
  flex: none;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq__sign::before {
  left: 0;
  top: 6px;
  width: 13px;
  height: 1.5px;
}
.faq__sign::after {
  left: 5.75px;
  top: 0;
  width: 1.5px;
  height: 13px;
}
.faq__item[open] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__item[open] .faq__sign::before { transform: rotate(180deg); }

.faq__a { overflow: hidden; }
.faq__a p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  padding-bottom: 22px;
  max-width: 64ch;
}

/* ---------- Kontakt ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact__title {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1;
  letter-spacing: -.03em;
  text-wrap: balance;
  max-width: none;
}
.contact__lead { font-size: 18px; margin-top: 20px; max-width: 46ch; }

.maillink {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--dark-paper);
  margin-top: 18px;
  border-bottom: 1px solid var(--accent-lift);
  padding-bottom: 3px;
}
.maillink:hover { color: var(--accent-lift); }

.formcard {
  background: var(--paper);
  border-radius: 4px;
  padding: clamp(24px, 3vw, 34px);
}

.form { display: flex; flex-direction: column; gap: 16px; }

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-2);
}
.field__input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 12px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 86%);
}
.field__input--area { resize: vertical; min-height: 88px; }

.field.is-invalid .field__input { border-color: #9B3A2E; }

.form__note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 2px;
}

.formdone__check {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.formdone__check svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.formdone__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  margin: 16px 0 6px;
}
.formdone__text { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__inner {
  padding: 26px var(--gut);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dark-muted);
}
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__nav a { color: var(--dark-paper); }
.footer__nav a:hover { color: var(--accent-lift); }

/* ---------- Rechtstext-Seiten ---------- */
.legal { padding: clamp(48px, 6vw, 88px) var(--gut); }
.legal h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.legal h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  margin: 34px 0 8px;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 68ch;
}
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal__flag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 3px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal__back { display: inline-block; margin-top: 40px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }

  .nav__links {
    position: fixed;
    inset: 61px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gut) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transition: clip-path .45s var(--ease);
  }
  .nav__links.is-open {
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
  }
  .nav__links > a[data-nav-link] {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links > a[data-nav-link]::after { display: none; }
  .nav__links .btn { margin-top: 16px; }

  .hero { min-height: auto; }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hero__price { justify-self: start; text-align: left; }
  .pricetag { text-align: left; }

  .section__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .section__rule { max-width: 100%; }

  .ledger__row { grid-template-columns: minmax(0, 1fr); }
  .ledger__price { text-align: left; min-width: 0; }
}

@media (max-width: 560px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .trust { gap: 10px 18px; }
}

/* ---------- Druck ----------
   Beim Drucken feuert kein ScrollTrigger, deshalb blieben die von GSAP
   auf opacity:0 gesetzten Abschnitte sonst leer. */
@media print {
  .nav, .hero__canvas, .footer { display: none; }

  [data-reveal],
  [data-stagger] > *,
  [data-hero-in],
  .line > span {
    opacity: 1 !important;
    transform: none !important;
  }

  .faq__a { height: auto !important; }
  .section--dark { background: #FFFFFF; color: #17150F; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .section__rule { transform: scaleX(1); }
}
