/* Daunder — Werbeseite, beide Fassungen.
 *
 * Die Farbwerte sind nicht gewählt, sondern abgeleitet: dieselben vier
 * Markenanker in OKLCH, Ton und Buntheit stehen, nur die Helligkeit dreht.
 * Quelle ist die vermessene Palette der App
 * (~/Downloads/daunder-website-uebergabe/marke/helle-fassung-farbwerte.md),
 * nicht am Bildschirm abgelesen.
 *
 * Zwei Rollen gelten in beiden Fassungen: Cyan heißt Zustand, Orange heißt
 * Aktion. Die Seite dreht das nicht um.
 */

/* ---------------------------------------------------------------- Schriften */

@font-face {
  font-family: 'Gabarito';
  src: url('../fonts/gabarito-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Gabarito';
  src: url('../fonts/gabarito-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------- Marken */

:root {
  /* Anker — in beiden Fassungen identisch */
  --brand-cyan: #65e8f3;
  --brand-orange: #ff7a2f;
  --brand-midnight: #081012;
  --brand-paper: #f5f1e8;

  /* Gefüllte Flächen tragen die Markenwerte, auch hell */
  --action-fill: var(--brand-orange);
  --on-action-fill: #13120f;
  --state-fill: var(--brand-cyan);
  --on-state-fill: #0a1214;

  --font-title: 'Gabarito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --measure: min(1180px, calc(100% - 2rem));
  --radius-card: 1.6rem;
  --radius-plate: 2.25rem;
}

/* Dunkel ist die Grundhaltung der Marke und damit der Rückfall, wenn das
 * System keine Vorliebe nennt. */
:root {
  color-scheme: dark;
  --ground: #070d0e;
  --surface-1: #0d1719;
  --surface-2: #121e21;
  --surface-3: #172529;
  --text: #f5f1e8;
  --text-muted: #928f89;
  /* Aufgehellt gegenüber der App-Palette (#5A6A6E): dort erreicht der Wert
   * auf der vordersten Fläche nur 2,79:1, und Ränder von Bedienelementen
   * brauchen 3:1. #647478 liegt auf allen vier Flächen darüber. */
  --line: #647478;
  --line-soft: rgba(245, 241, 232, 0.12);
  --state-text: #65e8f3;
  --action-text: #ff7a2f;
  --contour: rgba(245, 241, 232, 0.035);
  --plate-shadow: rgba(0, 0, 0, 0.34);
  --focus: #ff7a2f;
  --inverse-ground: var(--brand-paper);
  --inverse-text: var(--brand-midnight);
  --inverse-muted: #4a595c;
  --inverse-state: #08727d;
}

/* Die helle Fassung, zweimal derselbe Block: einmal für die Systemvorliebe,
 * einmal für die ausdrückliche Wahl. Der Umschalter muss in beide Richtungen
 * gewinnen. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    color-scheme: light;
    --ground: #f0ece3;
    --surface-1: #f6f2e9;
    --surface-2: #faf6ed;
    --surface-3: #fffbf2;
    --text: #081012;
    --text-muted: #6e6b66;
    --line: #78888d;
    --line-soft: rgba(8, 16, 18, 0.14);
    --state-text: #00707a;
    --action-text: #c03f00;
    --contour: rgba(8, 16, 18, 0.045);
    --plate-shadow: rgba(8, 16, 18, 0.18);
    --focus: #c03f00;
    --inverse-ground: #0d1719;
    --inverse-text: var(--brand-paper);
    --inverse-muted: #b2afa9;
    --inverse-state: #65e8f3;
  }
}
:root[data-theme='light'] {
  color-scheme: light;
  --ground: #f0ece3;
  --surface-1: #f6f2e9;
  --surface-2: #faf6ed;
  --surface-3: #fffbf2;
  --text: #081012;
  --text-muted: #6e6b66;
  --line: #78888d;
  --line-soft: rgba(8, 16, 18, 0.14);
  --state-text: #00707a;
  --action-text: #c03f00;
  --contour: rgba(8, 16, 18, 0.045);
  --plate-shadow: rgba(8, 16, 18, 0.18);
  --focus: #c03f00;
  --inverse-ground: #0d1719;
  --inverse-text: var(--brand-paper);
  --inverse-muted: #b2afa9;
  --inverse-state: #65e8f3;
}

/* --------------------------------------------------------------- Grundlagen */

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

/* ⚠️ Muss vor allen display-Regeln stehen und braucht !important.
 * Das hidden-Attribut bringt nur "display: none" aus dem Browser-Vorrat mit,
 * und jede eigene Klasse mit display gewinnt dagegen. Ohne diese Zeile bleibt
 * das Wartelistenformular nach dem Absenden stehen (display: grid) und der
 * Fassungsschalter ist schon vor dem Skript sichtbar (display: inline-grid). */
[hidden] {
  display: none !important;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17 px — 16 px ist der alte Default, nicht die Norm */
  font-weight: 500;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-200%);
  border-radius: 0.6rem;
  background: var(--text);
  color: var(--ground);
  padding: 0.8rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--state-text);
  font-size: 0.8125rem; /* 13 px — Versalien darunter sind unlesbar */
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  width: var(--measure);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-intro {
  max-width: 44ch;
}
.section-intro-centered {
  margin-inline: auto;
  text-align: center;
}
/* Alle Abschnittstitel derselben Ebene tragen dieselbe Größe. Standen hier
 * nur die mit .section-intro, setzte der Browser zwei Titel auf 26 px — ein
 * Bildtest hat es gezeigt, im Quellcode sieht man es nicht. */
.section-intro h2,
.collaboration-copy h2,
.export-copy h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}
.section-lead {
  margin: 1.2rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
}

/* ------------------------------------------------------------------- Knöpfe */

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-title);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}
.button-primary {
  background: var(--action-fill);
  color: var(--on-action-fill);
  box-shadow: 0 12px 30px rgba(255, 122, 47, 0.22);
}
.button-primary:hover {
  filter: brightness(1.06);
}
.button-quiet {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
.button-quiet:hover {
  border-color: var(--text);
}
.button svg {
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
}

/* -------------------------------------------------------------------- Kopf */

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: var(--measure);
  min-height: 5rem;
  margin: 0 auto;
  align-items: center;
  gap: 1rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: auto;
}
.site-nav a {
  display: inline-flex;
  min-height: 2.75rem; /* 44 px Trefferfläche */
  align-items: center;
  border-radius: 999px;
  padding: 0 0.85rem;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover {
  border-color: var(--line);
}
.theme-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
}
/* Sonne in der dunklen Fassung (führt ins Helle), Mond in der hellen. */
.theme-toggle .icon-to-light {
  display: block;
}
.theme-toggle .icon-to-dark {
  display: none;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .theme-toggle .icon-to-light {
    display: none;
  }
  :root:not([data-theme='dark']) .theme-toggle .icon-to-dark {
    display: block;
  }
}
:root[data-theme='light'] .theme-toggle .icon-to-light {
  display: none;
}
:root[data-theme='light'] .theme-toggle .icon-to-dark {
  display: block;
}

.header-signin {
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  font-size: 1rem;
}

/* -------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  width: var(--measure);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.88fr) minmax(min(420px, 100%), 1.12fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4rem, 7vw, 6rem);
}

/* Die Höhenlinien aus dem Hintergrund der App — die Signatur der Seite.
 * Konzentrische Ringe, nicht ein Verlauf: ein Verlauf wäre Dekoration. */
.hero::before {
  position: absolute;
  z-index: -1;
  right: -18vw;
  top: -12%;
  width: 78vw;
  height: 78vw;
  max-width: 1100px;
  max-height: 1100px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    var(--contour) 0 1px,
    transparent 1px 34px
  );
  mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 78%);
  content: '';
  pointer-events: none;
}

.hero h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  line-height: 0.98;
}
.hero h1 span {
  color: var(--state-text);
}
.hero-lead {
  max-width: 46ch;
  margin: 1.6rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 2rem;
}
.launch-note {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.hero-points svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--action-text);
}

/* Das Motiv bringt seinen eigenen dunklen Grund mit und bleibt deshalb in
 * beiden Fassungen dasselbe Bild — hell sitzt es als Platte auf dem Papier. */
.hero-visual {
  position: relative;
  margin: 0;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-plate);
  box-shadow: 0 28px 70px var(--plate-shadow);
}
.hero-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-plate);
  content: '';
  pointer-events: none;
}
.hero-visual figcaption {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* ------------------------------------------------------- Vertrauensleiste */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
}
.trust-strip > div {
  display: flex;
  min-height: 7rem;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: var(--surface-1);
  padding: 1.5rem;
  text-align: left;
}
.trust-strip svg {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--state-text);
}
.trust-strip span {
  color: var(--text-muted);
  font-size: 1rem;
}
.trust-strip strong {
  display: block;
  color: var(--text);
  font-family: var(--font-title);
  font-weight: 600;
}

/* ------------------------------------------------------------------ Ablauf */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step-card {
  display: flex;
  flex-direction: column;
  min-height: 19rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--surface-1);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--state-text);
}
.card-top span {
  font-family: var(--font-title);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.card-top svg {
  width: 2rem;
  height: 2rem;
  color: var(--action-text);
}
.step-card h3 {
  margin: auto 0 0.7rem;
  padding-top: 4.5rem;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}
.step-card p {
  margin: 0;
  color: var(--text-muted);
}

/* ----------------------------------------------------------- Gemeinsam */

.collaboration-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(min(480px, 100%), 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  border-top: 1px solid var(--line-soft);
}
.collaboration-features {
  display: grid;
  gap: 1rem;
}
.collaboration-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1.25rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--surface-1);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.collaboration-card > svg {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--state-text);
}
.collaboration-card-accent {
  border-color: color-mix(in oklab, var(--action-fill) 40%, transparent);
}
.collaboration-card-accent > svg {
  color: var(--action-text);
}
.collaboration-card h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.collaboration-card p {
  margin: 0;
  color: var(--text-muted);
}

/* ------------------------------------------------------------ Bildschirme */

.screens-section {
  border-top: 1px solid var(--line-soft);
}
.screens-grid {
  display: grid;
  margin: 3.5rem 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem);
}
.screen {
  margin: 0;
}
/* Die Aufnahmen sind nackte Bildschirme ohne Gerätrahmen — der Rahmen kommt
 * deshalb hier, dünn, nicht als Aufkleber. */
.screen picture {
  display: block;
  border: 1px solid var(--line);
  border-radius: 1.9rem;
  background: var(--surface-2);
  overflow: hidden;
  box-shadow: 0 20px 48px var(--plate-shadow);
}
.screen img {
  width: 100%;
  height: auto;
}
.screen figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.1rem 0.25rem 0;
}
.screen figcaption strong {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
}
.screen figcaption span {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.screens-note {
  margin: 2.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------- Deine Daten */

.evidence-section {
  border-top: 1px solid var(--line-soft);
}
.evidence-grid {
  display: grid;
  margin: 2.5rem 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.evidence-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  background: var(--surface-1);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
}
.evidence-card svg {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--state-text);
}
.evidence-card h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.2rem;
}
.evidence-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ Export */

.export-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(min(500px, 100%), 1.18fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
  border-top: 1px solid var(--line-soft);
}
.export-copy {
  position: sticky;
  top: 2rem;
}
.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-muted);
}
.check-list svg {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.25rem;
  color: var(--state-text);
}
.export-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.export-card {
  border: 1px solid var(--line-soft);
  border-radius: 1.35rem;
  background: var(--surface-1);
  padding: 1.6rem;
}
.export-card svg {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--action-text);
}
.export-card h3 {
  margin: 1.9rem 0 0.35rem;
  font-size: 1.15rem;
}
.export-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Das vermessene Musterbuch — der Beleg unter dem Versprechen. */
.sample-note {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 1.6rem 0 0;
  border: 1px solid var(--line-soft);
  border-radius: 1.1rem;
  background: var(--surface-2);
  padding: 1.1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.sample-note svg {
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.15rem;
  color: var(--state-text);
}

/* --------------------------------------------------------------- Eigentum */

.ownership-section {
  display: grid;
  grid-template-columns: minmax(170px, 0.5fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  border-block: 1px solid var(--line-soft);
}
.ownership-mark {
  display: grid;
  min-height: 16rem;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--state-fill) 16%, transparent),
    transparent 68%
  );
}
.ownership-mark img {
  width: 8rem;
  height: 8rem;
  border-radius: 1.9rem;
  box-shadow: 0 22px 55px var(--plate-shadow);
}
.ownership-section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}
.ownership-section p {
  max-width: 52ch;
  margin: 1.2rem 0 0;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------- FAQ */

.faq-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}
.faq-list {
  border-top: 1px solid var(--line-soft);
}
.faq-list details {
  border-bottom: 1px solid var(--line-soft);
}
.faq-list summary {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--state-text);
  transition: transform 160ms ease;
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-list details p {
  max-width: 62ch;
  margin: -0.25rem 2.5rem 1.5rem 0;
  color: var(--text-muted);
}

/* ------------------------------------------------------------------- Beta */

.beta-section {
  display: grid;
  width: var(--measure);
  margin: 0 auto 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(min(360px, 100%), 1.1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-plate);
  background: var(--state-fill);
  color: var(--on-state-fill);
  padding: clamp(1.75rem, 5vw, 4rem);
  scroll-margin-top: 1.5rem;
}
.beta-section .eyebrow {
  color: #095c65;
}
.beta-section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}
.beta-section > div > p {
  max-width: 44ch;
  margin: 1.2rem 0 0;
  color: #213e42;
}

/* Der Weg in die App für alle, die schon ein Konto haben. Im Kopf steht der
 * Knopf ohnehin; hier fängt er die, die bis zur Warteliste gescrollt sind und
 * merken, dass sie gar nicht auf die Liste gehören. */
.beta-signin {
  margin: 1.75rem 0 0;
  color: #213e42;
  font-size: 1rem;
}
.beta-signin a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-midnight);
  font-weight: 600;
  text-underline-offset: 0.25em;
}
.beta-signin svg {
  width: 1.05em;
  height: 1.05em;
}

.waitlist-form {
  display: grid;
  gap: 0.85rem;
  border-radius: 1.4rem;
  background: var(--brand-paper);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 22px 55px rgba(8, 16, 18, 0.18);
}
.waitlist-fields {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0.75rem;
}
.waitlist-form label {
  display: grid;
  gap: 0.35rem;
  color: #213e42;
  font-size: 0.875rem;
  font-weight: 600;
}
.waitlist-form input {
  width: 100%;
  min-height: 3.1rem;
  border: 1px solid #8d877c;
  border-radius: 0.75rem;
  background: #fffcf3;
  color: var(--brand-midnight);
  padding: 0 0.9rem;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
}
.waitlist-form input:focus-visible {
  outline: 3px solid #c03f00;
  outline-offset: 2px;
  border-color: var(--brand-midnight);
}
.waitlist-form input[aria-invalid='true'] {
  border-color: #b8471b;
  background: #fff6f2;
}
.waitlist-form button {
  background: var(--brand-midnight);
  color: var(--brand-paper);
  box-shadow: none;
}
.waitlist-form button:hover {
  background: #16343a;
}
.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}
.waitlist-privacy {
  margin: 0;
  color: #496164;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.waitlist-privacy a {
  color: #0b4f57;
}
.field-error {
  margin: 0;
  color: #9f2d1f;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Die Meldezone steht dauerhaft im Dokument und wird nur gefüllt. Eine
 * Live-Region, die erst mit ihrem Inhalt erscheint, liest kaum ein
 * Screenreader vor. */
.waitlist-status:empty {
  display: none;
}
.waitlist-status {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  border-radius: 1.4rem;
  background: var(--brand-paper);
  color: var(--brand-midnight);
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: 0 22px 55px rgba(8, 16, 18, 0.18);
}
.waitlist-status svg {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  color: #087a67;
}
.waitlist-status[data-state='error'] svg {
  color: #9f2d1f;
}
.waitlist-status h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}
.waitlist-status p {
  margin: 0;
  color: #496164;
  font-size: 0.9375rem;
}

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

/* ------------------------------------------------------------------- Fuß */

.site-footer {
  width: var(--measure);
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
  padding: 3rem 0 3.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.footer-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}
.footer-links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  border-radius: 999px;
  padding: 0 0.85rem;
  text-decoration: none;
}
.footer-links a:hover {
  background: var(--surface-2);
  color: var(--text);
}
.footer-tagline {
  margin: 2rem 0 0;
  color: var(--text);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.footer-note {
  max-width: 68ch;
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
}

/* ------------------------------------------------------------ Textseiten */

.prose {
  width: min(46rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 0 5rem;
}
.prose h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
}
.prose h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.5rem;
}
.prose p,
.prose li {
  color: var(--text-muted);
}
.prose li {
  margin-bottom: 0.4rem;
}
.prose a {
  color: var(--state-text);
}
.prose dl {
  margin: 0;
}
.prose dt {
  margin-top: 1rem;
  color: var(--text);
  font-weight: 600;
}
.prose dd {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
}

/* Offene Stellen sind sichtbar offen — eine stille Lücke wird übersehen. */
.todo {
  display: block;
  border-left: 3px solid var(--action-fill);
  background: var(--surface-2);
  padding: 0.9rem 1.1rem;
  color: var(--text);
  font-size: 0.9375rem;
}
.todo strong {
  color: var(--action-text);
}

/* ------------------------------------------------------------- Breakpoints */

@media (max-width: 1000px) {
  .hero,
  .collaboration-section,
  .export-section,
  .faq-section,
  .beta-section {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 1.5rem;
  }
  .hero-copy,
  .hero-visual {
    max-width: 46rem;
  }
  .export-copy {
    position: static;
  }
  .evidence-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-card {
    min-height: 0;
  }
  .step-card h3 {
    padding-top: 2.5rem;
  }
  .trust-strip {
    grid-template-columns: 1fr;
  }
  .trust-strip > div {
    min-height: 5.5rem;
    justify-content: flex-start;
  }
  .ownership-section {
    grid-template-columns: 1fr;
  }
  .ownership-mark {
    min-height: 12rem;
  }
  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  /* Der Kopf bekommt zwei Zeilen statt eines Menüs hinter einem Knopf.
   * Die Navigation wird waagerecht schiebbar — kein Punkt verschwindet. */
  .site-header {
    flex-wrap: wrap;
    padding-top: 0.75rem;
  }
  .site-nav {
    order: 3;
    width: 100%;
    margin: 0 -1rem;
    padding: 0 1rem 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }
  .header-tools {
    margin-left: auto;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.8rem);
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-points {
    flex-direction: column;
    align-items: flex-start;
  }
  .export-grid,
  .waitlist-fields {
    grid-template-columns: 1fr;
  }
  .screens-grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }
  .collaboration-card {
    grid-template-columns: 1fr;
  }
  .beta-section {
    width: calc(100% - 1.5rem);
    border-radius: 1.5rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .faq-list summary svg,
  .button-primary {
    transition: none;
  }
}
