/* =========================================================
   safeTwatch — design tokens
   ========================================================= */
:root {
  --paper: #F6F4EE;
  --paper-dim: #EDEAE0;
  --ink: #12141A;
  --ink-soft: #4B4E58;
  --ink-faint: #8A8D96;
  --line: rgba(18, 20, 26, 0.10);

  /* Always-dark chrome — console, footer. Independent of the light/dark toggle:
     the Daylight-First Rule reserves darkness for real product surfaces. */
  --console: #0E1016;
  --console-raised: #171A22;
  --console-line: rgba(255, 255, 255, 0.08);
  --console-text: #E7E6E0;
  --console-text-dim: #9497A3;

  --accent: #EB5C38;
  --accent-strong: #BC4A2D;
  --accent-soft: rgba(235, 92, 56, 0.10);
  /* Text/icon/line-art tint for the brand accent sitting directly on --paper/--ink.
     Plain --accent is too dark to read on the dark-mode page surface, so this
     token brightens in dark mode; .console and .funktion re-pin it locally
     since their background stays dark regardless of the page theme. */
  --accent-ink: var(--accent);
  --signal-ok: #2FBF71;

  --font-display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  /* Type scale — every literal font-size in this file resolves to one of these steps */
  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-sm-alt: 14px;
  --text-body-sm: 14.5px;
  --text-body: 16px;
  --text-md: 15px;
  --text-lg: 17px;
  --text-xl: 18px;
  --text-title-sm: 20px;
  --text-title: 24px;
  --text-2xl: 30px;
  --text-headline: clamp(28px, 4vw, 44px);
  --text-headline-lg: clamp(30px, 4.5vw, 50px);
  --text-display: clamp(42px, 6vw, 76px);

  --container: 1160px;
  --edge: clamp(24px, 5vw, 64px);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark mode: system preference by default, explicit toggle always wins.
   Only the "paper" side of the system flips — console/accent/footer chrome
   stays fixed, per the Daylight-First Rule. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14161B;
    --paper-dim: #1B1E25;
    --ink: #F3F1EA;
    --ink-soft: #B9BBC4;
    --ink-faint: #83868F;
    --line: rgba(255, 255, 255, 0.12);
    --accent-ink: #FF7A52;
  }
}
:root[data-theme="dark"] {
  --paper: #14161B;
  --paper-dim: #1B1E25;
  --ink: #F3F1EA;
  --ink-soft: #B9BBC4;
  --ink-faint: #83868F;
  --line: rgba(255, 255, 255, 0.12);
  --accent-ink: #FF7A52;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; } /* Lenis owns smooth scrolling; native smooth would double up */

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.section-index {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-ink);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.section-index--light { color: rgba(255,255,255,0.7); }

/* faint film-grain overlay to keep flat colour fields from feeling sterile */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px var(--edge) 0;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 60%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled .nav__inner {
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(18, 20, 26, 0.06);
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav__logo em { font-style: normal; color: var(--accent-ink); }
.nav__logo img { width: 24px; height: 28px; }

/* =========================================================
   Theme toggle + logo light/dark swap
   ========================================================= */
.logo-dark-mode { display: none; }
:root[data-theme="dark"] .logo-light-mode { display: none; }
:root[data-theme="dark"] .logo-dark-mode { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light-mode { display: none; }
  :root:not([data-theme="light"]) .logo-dark-mode { display: block; }
}

.nav__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}
.lang-switch__sep { color: var(--line); }
.lang-switch__option {
  background: none;
  border: none;
  padding: 0;
  color: var(--ink-faint);
  cursor: default;
}
.lang-switch__option:disabled { cursor: not-allowed; }
.lang-switch__option.is-active { color: var(--ink); font-weight: 600; }

@media (max-width: 720px) {
  .lang-switch { display: none; }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.theme-toggle__icon--moon { display: none; }
:root[data-theme="dark"] .theme-toggle__icon--sun { display: none; }
:root[data-theme="dark"] .theme-toggle__icon--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__icon--sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle__icon--moon { display: block; }
}

@media (max-width: 720px) {
  .theme-toggle { width: 32px; height: 32px; }
}
.nav__links {
  display: flex;
  gap: 32px;
  font-size: var(--text-sm-alt);
  color: var(--ink-soft);
}
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav__cta:hover { background: var(--accent); transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: var(--text-md);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--accent); }
.btn--primary.btn--light { background: #F6F4EE; color: var(--accent-strong); }
.btn--primary.btn--light:hover { background: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 160px var(--edge) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__hexgraph {
  position: absolute;
  right: 18%;
  top: 50%;
  transform: translateY(-50%);
  width: 32%;
  height: auto;
  min-width: 200px;
  opacity: 0.2;
}
@media (max-width: 920px) {
  .hero__hexgraph { width: 46%; right: 50%; top: 82%; transform: translate(50%, -50%); opacity: 0.16; }
}

.hexgraph__line {
  stroke-width: 1.1;
  stroke-dasharray: 16 340;
  animation: hexflow 4.2s linear infinite;
}
.hexgraph__line--1 { animation-delay: -0.3s; }
.hexgraph__line--2 { animation-delay: -1.1s; }
.hexgraph__line--3 { animation-delay: -1.9s; }
.hexgraph__line--4 { animation-delay: -0.7s; }
.hexgraph__line--5 { animation-delay: -2.6s; }
.hexgraph__line--6 { animation-delay: -1.5s; }
.hexgraph__line--7 { animation-delay: -3.3s; }
@keyframes hexflow {
  to { stroke-dashoffset: -712; }
}

.hexgraph__node {
  transform-box: fill-box;
  transform-origin: center;
  animation: hexpulse 5.4s ease-in-out infinite;
}
.hexgraph__node--1 { animation-delay: -0.2s; }
.hexgraph__node--2 { animation-delay: -1.1s; }
.hexgraph__node--3 { animation-delay: -2s; }
.hexgraph__node--4 { animation-delay: -2.9s; }
.hexgraph__node--5 { animation-delay: -3.8s; }
.hexgraph__node--6 { animation-delay: -4.7s; }
@keyframes hexpulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.14); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: var(--accent-soft);
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(235,92,56,0.35); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(235,92,56,0); }
}

.hero__headline {
  font-size: var(--text-display);
  margin-bottom: 26px;
}
.hero__headline .hl { color: var(--accent-ink); }
.hero__headline--logo img {
  width: min(100%, 460px);
  height: auto;
  aspect-ratio: 595.11 / 342.71;
}

.eyebrow,
.hero__sub,
.hero__meta,
.btn--ghost {
  transition: color 220ms var(--ease), background-color 220ms var(--ease), border-color 220ms var(--ease);
}

@media (max-width: 920px) {
  .hero__headline--logo img { width: min(100%, 360px); }
}

.hero__sub {
  font-size: var(--text-xl);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__meta { font-size: var(--text-sm); color: var(--ink-faint); font-family: var(--font-mono); }

/* console mockup */
.hero__console { perspective: 1400px; }
.console {
  --accent-ink: #FF7A52; /* always-dark surface: stay bright regardless of page theme */
  background: var(--console);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(14, 16, 22, 0.45), 0 0 0 1px rgba(255,255,255,0.04);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.console__mock { display: block; width: 100%; height: auto; }
.hero__console:hover .console { transform: rotateY(-2deg) rotateX(0deg); }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .console { transform: none; }
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-dim);
  padding: 22px 0;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  gap: 20px;
  width: max-content;
  animation: scroll-x 26s linear infinite;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.marquee__track span:nth-child(2n) { color: var(--accent-ink); }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Problem
   ========================================================= */
.problem {
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px var(--edge);
}
.problem__headline {
  font-size: var(--text-headline);
  max-width: 22ch;
  color: var(--ink-soft);
  margin-bottom: 70px;
}
.problem__headline::first-line { color: var(--ink); }

.problem__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.problem-card {
  background: var(--paper);
  padding: 36px;
}
.problem-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-ink);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: var(--text-title-sm);
  margin-bottom: 10px;
}
.problem-card p {
  font-size: var(--text-body-sm);
  line-height: 1.55;
  color: var(--ink-faint);
  max-width: 38ch;
}
@media (max-width: 760px) {
  .problem__cards { grid-template-columns: 1fr; }
}

/* =========================================================
   Funktion
   ========================================================= */
.funktion {
  --accent-ink: #FF7A52; /* always-dark surface: stay bright regardless of page theme */
  background: var(--console);
  color: var(--console-text);
}

/* Pinned scroll sequence: the whole viewport (heading + steps + mockup) stays
   fixed while .funktion__pin's extra height is scrolled through; only once
   the sequence completes does the page continue past the section. */
.funktion__pin { height: 240vh; position: relative; }
.funktion__viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
}

.funktion__intro { margin-bottom: 48px; }
.funktion__intro h2 { font-size: var(--text-headline); margin-bottom: 12px; }
.funktion__intro p { color: var(--console-text-dim); max-width: 46ch; font-size: var(--text-body); }
.funktion__intro .section-index { color: var(--accent-ink); }

.funktion__sequence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.funktion__steps { display: grid; }
.step {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.step.is-active { opacity: 1; pointer-events: auto; }
/* Opacity/transform above is set inline per scroll frame once JS runs (see
   main.js): the crossfade must track scroll position 1:1, not run on its own
   CSS-transition timeline, or it drifts out of sync with Lenis's easing and
   feels like it skips a step. The class rule above is the no-JS fallback. */
.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.step h3 { font-size: var(--text-title-sm); margin-bottom: 10px; }
.step p { color: var(--console-text-dim); font-size: var(--text-body-sm); line-height: 1.6; max-width: 38ch; }

.funktion__dots { grid-area: 2 / 1; display: flex; gap: 8px; margin-top: 32px; }
.funktion__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--console-line); transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.funktion__dot.is-active { background: var(--accent-ink); transform: scale(1.4); }

.funktion__screen {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--console-raised);
  border: 1px solid var(--console-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.screen-mock {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
}
.screen-mock.is-active { opacity: 1; }
.screen-mock__icon { color: var(--accent-ink); margin-bottom: 8px; }
.screen-mock__row { height: 12px; border-radius: 6px; background: var(--console-line); }
.screen-mock__row--accent { background: var(--accent-soft); border: 1px solid var(--accent-ink); }
.screen-mock__row--ok { background: rgba(47,191,113,0.12); border: 1px solid var(--signal-ok); }
.screen-mock__tag { margin-top: auto; font-family: var(--font-mono); font-size: var(--text-2xs); letter-spacing: 0.06em; color: var(--console-text-dim); }

@media (max-width: 860px) {
  .funktion__pin { height: auto; }
  .funktion__viewport { position: relative; height: auto; padding: 100px var(--edge); }
  .funktion__sequence { grid-template-columns: 1fr; }
  .funktion__steps { display: block; }
  .step { position: static; opacity: 1; transform: none; pointer-events: auto; margin-bottom: 40px; }
  .funktion__dots { display: none; }
  .funktion__screen { margin-top: 8px; }
}

/* =========================================================
   Status / roadmap
   ========================================================= */
.status { padding: 140px var(--edge); max-width: var(--container); margin: 0 auto; }
.status__inner h2 { font-size: var(--text-headline); margin-bottom: 14px; }
.status__sub { color: var(--ink-soft); max-width: 46ch; margin-bottom: 70px; font-size: var(--text-body); }

.timeline { position: relative; padding-left: 32px; }
.timeline__line {
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline__progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-ink);
  transform-origin: top;
  transform: scaleY(0);
}
.timeline__item { position: relative; padding-bottom: 56px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -32px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink-faint);
}
.timeline__dot--done { background: var(--accent-ink); border-color: var(--accent-ink); }
.timeline__dot--active {
  background: var(--paper);
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline__phase {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-ink);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.timeline__item h4 { font-size: var(--text-title-sm); margin-bottom: 8px; }
.timeline__item p { color: var(--ink-faint); font-size: var(--text-body-sm); }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  padding: 140px var(--edge);
}
.cta__inner { max-width: 880px; margin: 0 auto; text-align: left; }
.cta__inner h2 { font-size: var(--text-headline-lg); margin-bottom: 18px; }
.cta__inner > p { color: rgba(255,255,255,0.8); font-size: var(--text-lg); max-width: 60ch; margin-bottom: 48px; }

.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.way {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.way__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}
.way h3 { font-size: var(--text-lg); color: #fff; }
.way p { font-size: var(--text-sm); color: rgba(255,255,255,0.7); line-height: 1.5; flex-grow: 1; }
.way__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  margin-top: 4px;
}
.way__link svg { transition: transform 0.2s var(--ease); }
.way:hover .way__link svg { transform: translateX(3px); }

.cta__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.cta__field { display: flex; flex-direction: column; gap: 8px; }
.cta__field--wide, .cta__field:last-of-type { grid-column: span 2; }
.cta__field label { font-size: var(--text-xs); color: var(--ink-soft); font-family: var(--font-mono); }
.cta__field input, .cta__field select, .cta__field textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  resize: vertical;
}
.cta__field input::placeholder, .cta__field textarea::placeholder { color: var(--ink-faint); }
.cta__consent {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-xs);
  color: var(--ink-soft);
  line-height: 1.4;
}
.cta__consent input { margin-top: 2px; }
.cta__form .btn { grid-column: span 2; justify-content: center; margin-top: 6px; }
.cta__note {
  grid-column: span 2;
  font-size: var(--text-xs);
  color: var(--ink-faint);
  text-align: center;
}

@media (max-width: 760px) {
  .ways { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cta__form { grid-template-columns: 1fr; }
  .cta__field--wide, .cta__field:last-of-type { grid-column: span 1; }
  .cta__consent, .cta__form .btn, .cta__note { grid-column: span 1; }
}

/* =========================================================
   Umfrage
   ========================================================= */
.umfrage { padding: 140px var(--edge); max-width: var(--container); margin: 0 auto; }
.umfrage__inner h2 { font-size: var(--text-headline); margin-bottom: 14px; }
.umfrage__sub { color: var(--ink-soft); font-size: var(--text-body); max-width: 50ch; margin-bottom: 56px; }
.umfrage__inner--teaser { text-align: center; }
.umfrage__inner--teaser h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.umfrage__inner--teaser .umfrage__sub { margin-left: auto; margin-right: auto; }
.umfrage__inner--teaser .btn { margin: 0 auto; }

.survey {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.survey__q { border-top: 1px solid var(--line); padding-top: 28px; }
.survey__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-ink);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.survey__q h3 { font-size: var(--text-xl); margin-bottom: 18px; max-width: 42ch; }
.survey__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.survey__options label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-body-sm);
  color: var(--ink-soft);
  cursor: pointer;
}
.survey__options input { accent-color: var(--accent-ink); width: 16px; height: 16px; flex-shrink: 0; }
.survey__contact { display: flex; gap: 14px; flex-wrap: wrap; }
.survey__contact input {
  flex: 1 1 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--ink);
}
.survey > .btn { align-self: flex-start; }
.survey .cta__note { color: var(--ink-faint); text-align: left; }

@media (max-width: 640px) {
  .survey__options { grid-template-columns: 1fr; }
}

/* =========================================================
   Umfrage — standalone wizard page (umfrage.html)
   ========================================================= */
.survey-page {
  padding: 160px var(--edge) 80px;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.survey-page__inner {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.survey-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 64px; }
.survey-progress__track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.survey-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-ink);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.survey-progress__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-faint);
  white-space: nowrap;
}

.survey-steps { position: relative; flex: 1; }
.survey-step {
  display: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  scroll-margin-top: 120px;
}
.survey-step.is-active { display: block; }
.survey-step.is-active.is-shown { opacity: 1; transform: translateY(0); }
.survey-step__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-ink);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.survey-step h1 { font-size: var(--text-headline); margin-bottom: 36px; max-width: 22ch; }

.survey__options--stack { display: flex; flex-direction: column; gap: 12px; }
.survey__options--stack label {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.survey__options--stack label:hover { border-color: var(--accent-ink); }
.survey__options--stack label:has(input:checked) {
  border-color: var(--accent-ink);
  background: var(--accent-soft);
}

.survey__contact--stack { flex-direction: column; }
.survey__contact--stack input { flex: none; width: 100%; }

.survey-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; }
.survey-nav .btn { min-width: 132px; justify-content: center; }
.survey-nav .btn[data-hidden] { visibility: hidden; }

.survey-page__note { margin-top: 28px; text-align: center; }

.survey-step--thanks { text-align: center; }
.survey-thanks__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 28px;
}
.survey-step--thanks h1 { max-width: none; }
.survey-step--thanks p {
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 auto 32px;
}
.survey-step--thanks .btn { margin: 0 auto; }

@media (max-width: 640px) {
  .survey-page { padding-top: 130px; }
  .survey-nav { flex-direction: column-reverse; }
  .survey-nav .btn { width: 100%; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--paper-dim); padding: 140px var(--edge); }
.faq__inner { max-width: 780px; margin: 0 auto; }
.faq__inner h2 { font-size: var(--text-headline); margin-bottom: 48px; }

.faq__list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item { background: var(--paper); padding: 22px 24px; }
.faq__item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: var(--text-title-sm);
  color: var(--accent-ink);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin-top: 14px;
  font-size: var(--text-body-sm);
  color: var(--ink-faint);
  line-height: 1.6;
  max-width: 60ch;
}

/* =========================================================
   Vertrauen
   ========================================================= */
.vertrauen { padding: 140px var(--edge); max-width: var(--container); margin: 0 auto; }
.vertrauen__inner h2 { font-size: var(--text-headline); margin-bottom: 14px; }
.vertrauen__sub { color: var(--ink-faint); font-size: var(--text-body-sm); margin-bottom: 60px; }

.vertrauen__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.vertrauen__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--accent-ink);
  margin-bottom: 4px;
}
.vertrauen__stat-label { font-size: var(--text-sm); color: var(--ink-faint); }

.people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 24px 16px 20px;
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.person__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px dashed var(--line);
  background: var(--paper-dim);
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.person__name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); }
.person__role { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--ink-faint); }

@media (max-width: 760px) {
  .vertrauen__stats { grid-template-columns: 1fr; gap: 24px; }
  .people { grid-template-columns: 1fr 1fr; }
}

.vertrauen__contact {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 56px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.vertrauen__contact-intro .way__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.vertrauen__contact-intro h3 { font-size: var(--text-xl); margin-bottom: 10px; }
.vertrauen__contact-intro p { color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.55; max-width: 30ch; }

@media (max-width: 760px) {
  .vertrauen__contact { grid-template-columns: 1fr; gap: 28px; }
  .vertrauen__contact-intro p { max-width: none; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--console); color: rgba(255,255,255,0.6); padding: 80px var(--edge) 32px; }
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col a { font-size: var(--text-sm); color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__col a[href^="mailto:"],
.footer__col a[target="_blank"] { display: inline-flex; align-items: center; gap: 8px; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}
.footer__logo { display: inline-flex; }
.footer__logo img { height: 28px; width: auto; }
.footer__tagline { font-size: var(--text-sm); line-height: 1.5; margin-top: 4px; }

.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 24px; font-size: var(--text-sm); }
.footer__legal a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer__legal a:hover { color: #fff; }
.footer .lang-switch__option { color: rgba(255,255,255,0.45); }
.footer .lang-switch__option.is-active { color: #fff; }
.footer .lang-switch__sep { color: rgba(255,255,255,0.2); }
.footer .theme-toggle { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.6); }
.footer .theme-toggle:hover { border-color: #fff; color: #fff; }

@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], .eyebrow__dot, .marquee__track, .hexgraph__line, .hexgraph__node {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hexgraph__line { stroke-dasharray: none !important; }
}
