/* Grundea landing — components on top of `tokens.css` (design spec §2/§3).
   Load order in every page: tokens.css → fonts/fonts.css → site.css.
   No framework, no build step: what is written here is what ships. */

/* ─── base ──────────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 1.375rem; line-height: 1.27; font-weight: 500; letter-spacing: 0; }
h4 { font-size: 1.0625rem; line-height: 1.41; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

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

strong, b { font-weight: 600; color: var(--ink); }

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

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

/* Anchors must clear the 72 px sticky header. */
section[id] { scroll-margin-top: 6rem; }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-control);
  color: var(--ink);
  font-weight: 500;
}
.skip-link:focus { left: 16px; top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ─── layout ────────────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: 1168px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 96px; }
.section-tight { padding-block: 64px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head { max-width: 46rem; }
.section-head h2 { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }

.lead {
  font-size: 1.125rem;
  line-height: 1.56;
  color: var(--muted);
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ─── eyebrow (Höhenkote) ───────────────────────────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  line-height: 1.33;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .level {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  color: var(--ink-2);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.eyebrow.is-accent .level {
  background: var(--accent-soft);
  border-color: var(--accent-soft-border);
  /* accent-strong reaches only 4.36:1 on the soft wash — the hover tone is the
     accessible accent on accent-soft (5.8:1) */
  color: var(--accent-hover);
}

/* ─── buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding-inline: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-lg { height: 48px; padding-inline: 20px; font-size: 0.9375rem; }

.btn-primary { background: var(--accent-strong); color: var(--ink-inverse); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary { background: var(--surface); border-color: var(--border-strong); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); }

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

.btn svg { flex: none; }

/* ─── chips & cards ─────────────────────────────────────────────────────── */

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  color: var(--ink-2);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  line-height: 1.33;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }

.card-hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-strong);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.icon-tile svg { width: 20px; height: 20px; }

.check-list { display: grid; gap: 10px; }
.check-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.check-item svg { width: 16px; height: 16px; margin-top: 3px; color: var(--success); }

.bg-grid {
  background-image:
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ─── header ────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.lockup:hover { text-decoration: none; }
.lockup img { width: 28px; height: 28px; }
.wordmark {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-link {
  position: relative;
  padding-block: 6px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav-link:hover { color: var(--ink); text-decoration: none; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5px; height: 5px;
  border-radius: 1.5px;
  background: var(--accent);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity .15s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { opacity: 1; }

.nav-cta { margin-left: 8px; }

/* mobile header pill (design spec §5 "Mobile landing"): shown instead of the
   drawer CTA below 960 px */
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-left: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

/* ─── hero ──────────────────────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; padding-block: 72px 96px; }

.hero-contours {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  color: var(--ink);
  opacity: .06;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 48px;
}

.hero h1 { margin-top: 20px; }
.hero h1 .accent { color: var(--accent-strong); }
.hero .lead { margin-top: 20px; max-width: 34rem; }

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.trust-row svg { width: 16px; height: 16px; color: var(--success); flex: none; }

/* browser-like frame around the plan visual */
.frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}
.frame-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.frame-bar .frame-title {
  margin-left: 10px;
  /* One line always: the bar is a fixed 36 px and the project name is long
     enough to wrap at 390 px. */
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.frame-body { display: block; }
/* The hero artwork is a real product export (assets/hero-*.svg, generated by
   scripts/gen-hero-svg.mjs); `width`/`height` on the <img> reserve the box, so
   `height: auto` only scales it down on narrow viewports. */
.frame-body svg, .frame-body img { display: block; width: 100%; height: auto; }
.frame-body-split { border-top: 1px solid var(--border); }
.frame-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ─── steps (Ablauf) ────────────────────────────────────────────────────── */

.steps { margin-top: 48px; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-index {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--accent-strong);
  padding-top: 6px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ─── document cards ────────────────────────────────────────────────────── */

.doc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.doc-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
/* The 1 px frame and paper ground are drawn inside the SVG itself — no CSS border here. */
.doc-thumb {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
.doc-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; }
.doc-card p { font-size: 0.875rem; }

.note-card {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  margin-top: 24px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft-border);
  box-shadow: none;
}
.note-card svg { width: 24px; height: 24px; color: var(--accent-strong); }
.note-card p { color: var(--ink-2); }

/* ─── audience cards ────────────────────────────────────────────────────── */

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ─── pricing ───────────────────────────────────────────────────────────── */

.toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
}
.toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding-inline: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}
.toggle button[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent-soft-border);
  color: var(--accent-hover); /* 5.8:1 on accent-soft; accent-strong misses AA */
}
.toggle .save {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.toggle button[aria-pressed="true"] .save { color: var(--accent-hover); }

.plans { margin-top: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }

.plan { position: relative; display: flex; flex-direction: column; gap: 20px; height: 100%; }
.plan-featured { border-color: var(--accent); box-shadow: var(--shadow-lift); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-strong);
  color: var(--ink-inverse);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.plan-name { font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.plan-claim { color: var(--muted); font-size: 0.9375rem; }

.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; min-height: 48px; }
.price-value {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 2.25rem;
  line-height: 1.11;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  /* the currency sign follows a (non-breaking) space, which is a full em in a
     monospaced face — pull it back to typographic width */
  word-spacing: -0.28em;
}
.price-unit { font-size: 0.9375rem; color: var(--muted); }
.price-eq {
  flex-basis: 100%;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--muted);
}

/* the interval toggle only switches which price block is visible */
#preise[data-interval="year"] [data-interval-show="month"],
#preise[data-interval="month"] [data-interval-show="year"] { display: none; }

.plan .btn { width: 100%; margin-top: auto; }
.plan-features { padding-top: 4px; }

.price-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}
.price-note svg { width: 16px; height: 16px; flex: none; }

/* ─── FAQ ───────────────────────────────────────────────────────────────── */

.faq { margin-top: 40px; max-width: 52rem; }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq .answer { padding-bottom: 20px; max-width: 46rem; color: var(--muted); }

/* ─── CTA panel ─────────────────────────────────────────────────────────── */

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 64px 28px;
  border: 1px solid var(--accent-soft-border);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  text-align: center;
}
.cta-panel > * { position: relative; }
.cta-panel .bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .6;
}
.cta-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 176px;
  margin: 0 auto 28px;
}
.cta-rail span { flex: 1; height: 1px; background: var(--accent-soft-border); }
.cta-rail i { width: 8px; height: 8px; border-radius: 1.5px; background: var(--accent); }
.cta-panel h2 { max-width: 36rem; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: center;
  margin-top: 24px;
}
.cta-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.cta-meta svg { width: 16px; height: 16px; color: var(--success); flex: none; }

/* ─── footer ────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: 64px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.6fr;
  gap: 40px 32px;
}
.footer-col h2 {
  margin-bottom: 16px;
  line-height: 1.33;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--ink-2); font-size: 0.9375rem; }
.footer-col a:hover { color: var(--accent-strong); }
.footer-brand p { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); max-width: 22rem; }
.footer-brand .byline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--accent-strong);
}
.footer-brand .byline:hover { color: var(--accent-hover); }
/* Anbieter column: the company name carries the block, so it is set as running
   text rather than as the mono eyebrow the link columns use. <address> is
   italic by default — that is what made the block look like a quotation. */
.footer-provider h2 {
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.footer-imprint {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}
.footer-imprint span:nth-child(3) { margin-top: 10px; }
.footer-provider .footer-mail {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--accent-strong);
}
.footer-provider .footer-mail:hover { color: var(--accent-hover); }

/* Links that leave the site carry the same ↗ as the Figma footer. */
.footer-brand .byline::after,
.footer-col a[href^="https://app."]::after {
  content: "↗";
  font-size: 0.8em;
  line-height: 1;
}
.footer-col a[href^="https://app."] { display: inline-flex; align-items: center; gap: 4px; }
.footer-domain { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 48px;
  padding-block: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ─── reveal ────────────────────────────────────────────────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:active { transform: none; }
  .card-hover:hover { transform: none; }
}

/* ─── responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .doc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 16px 24px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
  }
  .nav.is-open { display: flex; }
  /* legal pages: the header carries only the CTA — no drawer, no toggle */
  .nav.nav-simple {
    position: static;
    display: flex;
    flex-direction: row;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav.nav-simple .nav-cta { margin: 0; }
  .nav-link { padding-block: 12px; font-size: 1.0625rem; }
  .nav-link::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: inline-flex; margin-left: 8px; }
  .nav-cta-mobile {
    display: inline-flex;
    height: 36px;
    margin-left: auto;
    padding-inline: 16px;
    border-radius: var(--radius-pill);
  }
  .nav .nav-cta { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero .lead { max-width: none; }
  .grid-3, .plans { grid-template-columns: minmax(0, 1fr); }
  /* Produkt and Rechtliches stay side by side all the way down; the brand and
     the Anbieter block take the full row. */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-provider { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .hero { padding-block: 48px 64px; }
  .wrap { padding-inline: 16px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .step-index { padding-top: 0; }
  .cta-panel { padding: 48px 20px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }

  /* One promise per line — two of them side by side read as one sentence. */
  .trust-row { flex-direction: column; gap: 10px; }

  /* Five sheets stacked is a long scroll past the same card. Side by side in a
     swipeable row instead: the next sheet peeks in, so the gesture is obvious.
     Negative margin bleeds the row to the screen edge while the first card
     stays flush with the heading above it. */
  .doc-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding: 4px 16px 12px;
    scrollbar-width: thin;
  }
  .doc-card {
    flex: 0 0 78%;
    max-width: 300px;
    scroll-snap-align: start;
  }
  .doc-thumb { max-width: 190px; }

  /* Produkt and Rechtliches are short lists — they belong next to each other.
     Brand and Anbieter keep the full width. */
  .footer-grid { gap: 32px 24px; }
}
