/* ============================================================
   PRAVIT COACHING — Landingpage
   Farbwelt und Typografie nach "PRAVIT 2028 Konzept"
   ============================================================ */

/* ---------- Schriften (lokal gehostet, kein Google-CDN) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/InterTight-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('../fonts/InterTight-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- Marken-Token ---------- */
:root {
  --ink:        #0D0D0D;
  --paper:      #FFFFFF;
  --green:      #00A868;
  --green-deep: #006B44;   /* Grün als Schriftfarbe; reines #00A868 liegt unter der Lesbarkeitsschwelle */
  --grey:       #666666;
  --grey-line:  #E4E4E4;
  --surface:    #F2F2F2;
  --gold:       #C9A84C;

  --grey-soft:  #6B6B70;   /* 5,30:1 auf Weiß, 4,73:1 auf #F2F2F2 */
  --gold-ink:   #7A6220;   /* Gold als Schriftfarbe auf hellem Grund, 5,84:1 */

  --on-ink:      #FFFFFF;
  --on-ink-mute: #A0A0A6;
  --on-ink-line: #242424;
  --on-ink-card: #1A1A1A;

  /* Formensprache nach der Trade-Republic-Referenz: weiche Karten mit
     breitem, sehr flachem Schatten statt Haarlinien-Kästen. */
  --r-card:  18px;
  --r-inner: 12px;
  --r-btn:   999px;
  --shadow-card:  0 1px 2px rgba(13, 13, 13, 0.04), 0 6px 20px rgba(13, 13, 13, 0.06);
  --shadow-lift:  0 2px 4px rgba(13, 13, 13, 0.05), 0 14px 36px rgba(13, 13, 13, 0.10);

  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --measure: 68ch;
  --rail: 0px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
}

@media (min-width: 1180px) { :root { --rail: 104px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

/* ---------- Browser-Oberflächen aus der Palette ---------- */
::selection { background: var(--green); color: #fff; }
:root { accent-color: var(--green); caret-color: var(--green); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: var(--surface); }
  ::-webkit-scrollbar-thumb { background: #C9C9C9; border: 3px solid var(--surface); border-radius: 99px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--grey); }
}
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: #C9C9C9 var(--surface); scrollbar-width: thin; }
}

/* ---------- Typografie-Skala ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
  margin: 0;
  text-wrap: balance;
}

.t-display {
  font-size: clamp(2.85rem, 8.2vw, 6rem);
}
.t-h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  letter-spacing: -0.032em;
}
.t-h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p { margin: 0; }

.t-lead {
  font-size: clamp(1.075rem, 1.9vw, 1.375rem);
  line-height: 1.5;
  color: var(--grey);
  max-width: 34ch;
  text-wrap: pretty;
}
.t-body {
  font-size: clamp(0.98rem, 1.2vw, 1.0625rem);
  line-height: 1.68;
  color: var(--grey);
  max-width: var(--measure);
  text-wrap: pretty;
}
.t-note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--grey);
}

/* Mono ist reserviert für Messwerte, Zeitpunkte und Preise. */
.t-value {
  font-family: var(--mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.t-station {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--grey);
}

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-right: calc(var(--gutter) + var(--rail));
}

.section { padding-block: clamp(4.5rem, 10vw, 9.5rem); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4.25rem); }
.section-head .t-body { margin-top: 1.5rem; }

.rule { border: 0; border-top: 1px solid var(--grey-line); margin: 0; }

.on-ink {
  background: var(--ink);
  color: var(--on-ink);
}
.on-ink .t-body,
.on-ink .t-lead { color: var(--on-ink-mute); }
.on-ink .t-station { color: var(--on-ink-mute); }
.on-ink .rule { border-color: var(--on-ink-line); }

.on-surface { background: var(--surface); }

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1.0625rem 1.75rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.008em;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-btn);
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  transition: background 220ms var(--ease), color 220ms var(--ease),
              border-color 220ms var(--ease), transform 220ms var(--ease),
              box-shadow 220ms var(--ease);
}
.btn:hover { background: var(--green); border-color: var(--green); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn svg { width: 16px; height: 16px; flex: none; }

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

.btn--onink { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--onink:hover { background: var(--green); border-color: var(--green); color: #fff; }

.btn--sm { padding: 0.75rem 1.25rem; font-size: 0.8438rem; }

.btn[disabled] { opacity: 0.45; pointer-events: none; }

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--grey-line);
  transition: text-decoration-color 200ms var(--ease), color 200ms var(--ease);
}
.link-quiet:hover { color: var(--green); text-decoration-color: var(--green); }
.link-quiet svg { width: 14px; height: 14px; transition: transform 220ms var(--ease); }
.link-quiet:hover svg { transform: translateX(3px); }

/* ============================================================
   Kopfzeile
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 260ms var(--ease), background 260ms var(--ease);
}
.header[data-scrolled='true'] { border-bottom-color: var(--grey-line); }

.header__inner {
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-right: calc(var(--gutter) + var(--rail));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.wordmark__name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.03em;
}
.wordmark__sub {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.5rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--grey);
}
.on-ink .wordmark { color: var(--on-ink); }
.on-ink .wordmark__sub { color: var(--on-ink-mute); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.006em;
  position: relative;
  padding-block: 4px;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  position: relative;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: background 200ms var(--ease);
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 300ms var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span::after  { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 55;
  background: var(--paper);
  padding: 1.5rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 260ms;
  overflow-y: auto;
}
.mobile-nav[data-open='true'] { opacity: 1; transform: none; visibility: visible; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.125rem;
  border-bottom: 1px solid var(--grey-line);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}
.mobile-nav a svg { width: 16px; height: 16px; color: var(--grey); }
.mobile-nav .btn { margin-top: 2rem; justify-content: center; }

@media (max-width: 899px) {
  .nav, .nav__actions .btn { display: none; }
  .burger { display: flex; }
}

/* ============================================================
   Fortschritts-Schiene (die Kurve als Navigation)
   ============================================================ */
.rail {
  position: fixed;
  top: 0; right: 0;
  width: var(--rail);
  height: 100vh;
  z-index: 40;
  display: none;
  pointer-events: none;
}
@media (min-width: 1180px) { .rail { display: block; } }

/* Halbtransparent, damit die Schiene sowohl über hellen als auch über
   dunklen Abschnitten lesbar bleibt — sie liegt fest und weiß nicht, was
   gerade hinter ihr durchläuft. */
.rail__track {
  position: absolute;
  top: 96px; bottom: 96px;
  right: 46px;
  width: 1px;
  background: rgba(128, 128, 128, 0.34);
}
.rail__fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: var(--green);
  transform-origin: top;
}
.rail__stations {
  position: absolute;
  top: 96px; bottom: 96px;
  right: 0;
  width: 100%;
  pointer-events: auto;
}
.rail__station {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  width: 100%;
  /* muss den Punkt (right: 42px, 7px breit) freihalten, sonst läuft das
     Etikett hinein; der Überhang nach links liegt im leeren Seitenrand */
  padding-right: 64px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: right;
}
.rail__label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), color 300ms var(--ease);
}
.rail__dot {
  position: absolute;
  right: 42px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.5);
  transition: box-shadow 300ms var(--ease), background 300ms var(--ease), transform 300ms var(--ease);
}
.rail__station:hover .rail__label,
.rail__station[data-active='true'] .rail__label { opacity: 1; transform: none; }
.rail__station[data-passed='true'] .rail__dot { background: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.rail__station[data-active='true'] .rail__dot { transform: scale(1.85); background: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.rail__station[data-active='true'] .rail__label { color: var(--ink); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6.5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(2.5rem, 5vw, 5rem); }
}

.hero h1 { max-width: 11ch; }
.hero__lead { margin-top: clamp(1.5rem, 2.6vw, 2rem); }
.hero__body { margin-top: 1.25rem; max-width: 46ch; }

.hero__cta {
  margin-top: clamp(2rem, 3.4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem 1.25rem;
}

/* Volle Breite unter beiden Spalten: drei Fakten in einer Reihe statt eines
   ausgefransten Umbruchs in der schmalen Textspalte. */
.hero__facts {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem 3.5rem;
}
.hero__fact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.004em;
  color: var(--ink);
}
.hero__fact svg { width: 14px; height: 14px; color: var(--green); flex: none; }

/* --- Die Kurve im Hero --- */
.curve {
  position: relative;
  width: 100%;
}
.curve__svg { width: 100%; height: auto; overflow: visible; }

.curve__grid line { stroke: rgba(13,13,13,0.055); stroke-width: 1; }
.curve__axis  { stroke: rgba(13,13,13,0.09); stroke-width: 1; }

.curve__path {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.curve__area { fill: url(#curveFade); opacity: 0; transition: opacity 900ms var(--ease) 700ms; }
.curve.is-drawn .curve__area { opacity: 1; }

.curve__node circle { fill: var(--paper); stroke: var(--green); stroke-width: 2; }
.curve__node--gold circle { stroke: var(--gold); }
.curve__node text { font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.1em; fill: var(--grey); text-transform: uppercase; }
.curve__node .curve__val { font-size: 12.5px; fill: var(--ink); letter-spacing: 0.02em; }

.curve__flag rect { fill: var(--ink); }
.curve__flag text { font-family: var(--sans); font-weight: 600; font-size: 11px; fill: #fff; letter-spacing: -0.005em; }
.curve__flag--gold rect { fill: var(--gold); }
.curve__flag--gold text { fill: var(--ink); }

.curve__caption {
  margin-top: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  font-size: 0.75rem;
  color: var(--grey);
  line-height: 1.5;
}
.curve__caption b { color: var(--ink); font-weight: 600; }

/* Zeichen-Animation: der eine gestaltete Moment der Seite. */
.curve__path, .curve__node, .curve__flag {
  --draw: 1;
}
.curve.is-animatable .curve__path {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
}
.curve.is-animatable.is-drawn .curve__path {
  transition: stroke-dashoffset 2100ms cubic-bezier(0.22, 0.68, 0.16, 1);
  stroke-dashoffset: 0;
}
.curve.is-animatable .curve__node,
.curve.is-animatable .curve__flag {
  opacity: 0;
  transform: translateY(6px);
  transform-box: fill-box;
  transform-origin: center;
}
.curve.is-animatable.is-drawn .curve__node,
.curve.is-animatable.is-drawn .curve__flag {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  transition-delay: calc(var(--i) * 300ms + 260ms);
}

@media (prefers-reduced-motion: reduce) {
  .curve.is-animatable .curve__path { stroke-dasharray: none; stroke-dashoffset: 0; }
  .curve.is-animatable .curve__node,
  .curve.is-animatable .curve__flag { opacity: 1; transform: none; }
  .curve__area { opacity: 1; }
}

/* ============================================================
   Problem (dunkel)
   ============================================================ */
.problem__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .problem__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
}
.problem h2 { max-width: 16ch; }

.contrast-list { display: grid; gap: 0; }
.contrast-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 1.0625rem;
  border-top: 1px solid var(--on-ink-line);
}
.contrast-row:last-child { border-bottom: 1px solid var(--on-ink-line); }
.contrast-row__old { color: var(--on-ink-mute); font-size: 0.9375rem; text-decoration: line-through; text-decoration-color: #4a4a4a; }
.contrast-row__new { color: var(--on-ink); font-size: 0.9375rem; font-weight: 600; }
.contrast-row__arrow { color: var(--green); }
.contrast-row__arrow svg { width: 15px; height: 15px; }

/* ============================================================
   Ablauf — die Kurve als Inhalt
   ============================================================ */
.flow { position: relative; }
.flow__list { position: relative; margin-top: clamp(1rem, 2vw, 2rem); }

.flow__spine {
  position: absolute;
  left: 5px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--grey-line);
}
.flow__spine-fill {
  position: absolute; inset: 0 auto auto 0;
  width: 100%; height: 0%;
  background: var(--green);
}
@media (prefers-reduced-motion: reduce) { .flow__spine-fill { height: 100% !important; } }

.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0 0 clamp(2.25rem, 4vw, 3.25rem) 2.5rem;
}
.flow__step:last-child { padding-bottom: 0; }
@media (min-width: 860px) {
  .flow__step {
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 0 clamp(2rem, 4vw, 4rem);
    padding-left: 3.25rem;
    align-items: start;
  }
}

.flow__marker {
  position: absolute;
  left: 0; top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--grey-line);
  transition: box-shadow 420ms var(--ease), background 420ms var(--ease);
}
.flow__step[data-reached='true'] .flow__marker { background: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.flow__step--accent[data-reached='true'] .flow__marker { background: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold); }

.flow__when { padding-top: 2px; }
.flow__step--accent .flow__when { color: var(--gold-ink); }
.flow__title { margin-top: 0.25rem; }
@media (min-width: 860px) { .flow__title { margin-top: -2px; } }
.flow__text { margin-top: 0.5rem; font-size: 0.9688rem; line-height: 1.65; color: var(--grey); max-width: 56ch; }

.flow__step--accent .flow__text b { color: var(--ink); font-weight: 600; }

/* ============================================================
   Die App
   ============================================================ */
.app__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 980px) {
  .app__grid { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); align-items: start; gap: clamp(2.5rem, 5vw, 4.5rem); }
}

.feature-list { display: flex; flex-direction: column; }
.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
  align-items: start;
  width: 100%;
  padding: 1.125rem 0.5rem 1.125rem 0;
  background: none;
  border: 0;
  border-top: 1px solid rgba(13,13,13,0.08);
  text-align: left;
  cursor: pointer;
  color: var(--grey);
  transition: color 220ms var(--ease);
}
.feature:last-child { border-bottom: 1px solid rgba(13,13,13,0.08); }
.feature__icon { width: 19px; height: 19px; margin-top: 1px; color: currentColor; transition: color 220ms var(--ease); }
.feature__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.25;
}
.feature__desc { grid-column: 2; font-size: 0.875rem; line-height: 1.55; margin-top: 0.375rem; }
.feature:hover { color: var(--ink); }
.feature[aria-selected='true'] { color: var(--ink); }
.feature[aria-selected='true'] .feature__icon { color: var(--green); }

/* --- schematische App-Darstellung --- */
.device {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  min-height: 440px;
  display: flex;
  flex-direction: column;
}
.device__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.125rem;
}
.device__chrome-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}
.device__dots { display: flex; gap: 5px; }
.device__dots i { width: 6px; height: 6px; border-radius: 50%; background: #D4D4D4; }

.panel { display: none; }
.panel[data-active='true'] { display: block; animation: panelIn 380ms var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .panel[data-active='true'] { animation: none; } }

.card {
  background: var(--surface);
  border-radius: var(--r-inner);
  padding: 1.125rem 1.25rem;
}
.card + .card { margin-top: 0.75rem; }

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.row + .row { margin-top: 0.9375rem; padding-top: 0.9375rem; border-top: 1px solid rgba(13,13,13,0.07); }
.row__label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.row__sub { font-size: 0.75rem; color: var(--grey-soft); margin-top: 3px; line-height: 1.5; }
.row__val { font-family: var(--mono); font-weight: 500; font-size: 0.875rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row__val--up { color: var(--green-deep); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.6875rem;
  border-radius: 999px;
  background: rgba(0, 168, 104, 0.12);
  color: var(--green-deep);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill--neutral { background: rgba(13,13,13,0.07); color: #56565A; }

.chart { width: 100%; height: 132px; overflow: visible; }
.chart__grid line { stroke: rgba(13,13,13,0.06); stroke-width: 1; }
.chart__line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart__dot { fill: var(--paper); stroke: var(--green); stroke-width: 2; }
.chart__label { font-family: var(--mono); font-size: 9px; fill: var(--grey); letter-spacing: 0.08em; }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; }
.bars i { flex: 1; background: rgba(13,13,13,0.1); border-radius: 999px 999px 3px 3px; }
.bars i[data-fill] { background: var(--green); }

.macro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.macro__cell { background: var(--paper); border-radius: var(--r-inner); padding: 0.8125rem 0.875rem; }
.macro__k { font-size: 0.6875rem; color: var(--grey); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.macro__v { font-family: var(--mono); font-weight: 500; font-size: 1.125rem; margin-top: 0.25rem; font-variant-numeric: tabular-nums; }
.macro__bar { height: 3px; background: rgba(13,13,13,0.09); margin-top: 0.5625rem; border-radius: 999px; }
.macro__bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; }

.device__note {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.6875rem;
  color: var(--grey);
  line-height: 1.5;
}

/* ============================================================
   Philosophie (dunkel)
   ============================================================ */
.principles { display: grid; gap: 0; }
.principle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--on-ink-line);
}
.principle:last-child { border-bottom: 1px solid var(--on-ink-line); }
@media (min-width: 860px) {
  .principle { grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
}
.principle h3 { color: var(--on-ink); }
.principle p { color: var(--on-ink-mute); font-size: 0.9688rem; line-height: 1.68; max-width: 56ch; }

/* ============================================================
   Zielgruppen
   ============================================================ */
.who__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); grid-template-columns: 1fr; }
@media (min-width: 980px) { .who__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

.who-list { display: grid; }
.who-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(13,13,13,0.09);
  align-items: start;
}
.who-item:last-child { border-bottom: 1px solid rgba(13,13,13,0.09); }
.who-item svg { width: 16px; height: 16px; color: var(--green); margin-top: 4px; flex: none; }
.who-item__t { font-weight: 600; font-size: 1rem; color: var(--ink); letter-spacing: -0.012em; }
.who-item__d { grid-column: 2; font-size: 0.875rem; color: var(--grey-soft); margin-top: 0.25rem; line-height: 1.55; }

/* Steht auf grauem Abschnittsgrund — deshalb weiß, nicht grau. */
.who-not {
  align-self: start;
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: clamp(1.625rem, 3vw, 2.125rem);
}
.who-not h3 { margin-bottom: 0.875rem; }
.who-not ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.who-not li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  font-size: 0.9062rem;
  color: var(--grey);
  line-height: 1.55;
}
.who-not li svg { width: 15px; height: 15px; color: var(--ink); margin-top: 3px; }

/* ============================================================
   Über mich
   ============================================================ */
.about__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); } }

/* Das Portrait steht auf Studioweiß und geht randlos in den Seitengrund über —
   kein Rahmen, kein Kasten. Der Platzhalter darunter greift nur, solange kein Bild da ist. */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border-radius: var(--r-card);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait:has(.portrait__ph) { background: var(--surface); }
.portrait__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}
.portrait__ph svg { width: 34px; height: 34px; color: #C4C4C4; }
.portrait__ph span { font-family: var(--mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); line-height: 1.7; }

.about__meta { margin-top: 1.75rem; display: grid; }
.about__meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9375rem;
  border-top: 1px solid rgba(13,13,13,0.09);
  font-size: 0.875rem;
}
.about__meta-row:last-child { border-bottom: 1px solid rgba(13,13,13,0.09); }
.about__meta-row dt { color: var(--grey-soft); }
.about__meta-row dd { margin: 0; font-weight: 600; text-align: right; color: var(--ink); }

.about__body { display: grid; gap: 1.25rem; }
.about__body .t-body { max-width: 58ch; }

.pull {
  margin-top: 1.25rem;
  padding: 1.75rem 0 0;
  border-top: 2px solid var(--gold);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.125rem, 2vw, 1.4375rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 40ch;
}

/* ============================================================
   Pakete
   ============================================================ */
/* Freistehende Karten statt Tabellenraster — Formensprache der Referenz. */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
@media (min-width: 760px)  { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .plans { grid-template-columns: repeat(3, 1fr); } }
/* Fünf nebeneinander erst, wenn jede Karte ihre Merkmalzeilen einzeilig trägt. */
@media (min-width: 1560px) { .plans { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; } }

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.625rem 1.375rem 1.5rem;
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 280ms var(--ease), transform 280ms var(--ease);
}
.plan:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.plan--featured { box-shadow: 0 0 0 1.5px var(--ink), var(--shadow-lift); }
.plan--featured:hover { box-shadow: 0 0 0 1.5px var(--ink), var(--shadow-lift); transform: translateY(-3px); }

.plan--single { background: var(--ink); color: var(--on-ink); }
.plan--single .plan__name,
.plan--single .plan__price,
.plan--single .plan__feat li { color: var(--on-ink); }
.plan--single .plan__unit,
.plan--single .plan__for { color: var(--on-ink-mute); }
.plan--single .plan__feat li svg { color: var(--green); }
.plan--single:hover { background: #161616; }

.plan__flag {
  align-self: flex-start;
  margin-bottom: 0.875rem;
  padding: 0.25rem 0.5rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 999px;
}
.plan__flag--hollow { background: transparent; color: transparent; box-shadow: none; user-select: none; }

.plan__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.plan__for { margin-top: 0.375rem; font-size: 0.8125rem; line-height: 1.45; color: var(--grey); min-height: 2.35em; }

.plan__price {
  margin-top: 1.125rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.plan__unit { font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0; color: var(--grey); }

.plan__pt {
  margin-top: 0.75rem;
  padding: 0.5625rem 0.75rem;
  background: rgba(0, 168, 104, 0.1);
  border-radius: var(--r-inner);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 0.4375rem;
}
.plan__pt svg { width: 13px; height: 13px; flex: none; }
.plan--single .plan__pt { background: rgba(255,255,255,0.08); color: #6EDCA9; }

.plan__feat {
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.625rem;
  flex: 1;
}
.plan__feat li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5625rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink);
}
.plan__feat li svg { width: 13px; height: 13px; color: var(--green); margin-top: 3px; }

.plan .btn { justify-content: center; width: 100%; }

.plans-note {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.5rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; max-width: 860px; }
.faq__item { border-top: 1px solid rgba(13,13,13,0.09); }
.faq__item:last-child { border-bottom: 1px solid rgba(13,13,13,0.09); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.375rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.3;
}
.faq__sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq__sign::before, .faq__sign::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
}
.faq__sign::before { left: 0; top: 6.25px; width: 14px; height: 1.5px; }
.faq__sign::after  { top: 0; left: 6.25px; width: 1.5px; height: 14px; }
.faq__q[aria-expanded='true'] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__q[aria-expanded='true'] .faq__sign::before { background: var(--green); }

.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 380ms var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__item[data-open='true'] .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding-bottom: 1.5rem; font-size: 0.9375rem; line-height: 1.68; color: var(--grey); max-width: 62ch; }
@media (prefers-reduced-motion: reduce) { .faq__a { transition: none; } }

/* ============================================================
   Kontakt / Formular
   ============================================================ */
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); grid-template-columns: 1fr; }
@media (min-width: 980px) { .contact__grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); } }

.contact h2 { max-width: 13ch; }

.contact__direct { margin-top: clamp(2rem, 4vw, 3rem); display: grid; }
.contact__direct a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding-block: 1.0625rem;
  border-top: 1px solid var(--on-ink-line);
  color: var(--on-ink);
  text-decoration: none;
  transition: transform 260ms var(--ease);
}
.contact__direct a:last-child { border-bottom: 1px solid var(--on-ink-line); }
.contact__direct a:hover { transform: translateX(6px); }
.contact__direct svg:first-child { width: 17px; height: 17px; color: var(--green); }
.contact__direct .arrow { width: 14px; height: 14px; color: var(--on-ink-mute); }
.contact__k { display: block; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-ink-mute); font-family: var(--mono); }
.contact__v { display: block; font-size: 0.9375rem; font-weight: 600; margin-top: 3px; }

.form { display: grid; gap: 1.125rem; }
.form__row { display: grid; gap: 1.125rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4375rem; }
.field > label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-ink-mute);
}
.field .req { color: var(--green); }

.input, .select, .textarea {
  width: 100%;
  padding: 0.9375rem 1rem;
  background: rgba(255,255,255,0.045);
  border: 1.5px solid transparent;
  border-radius: var(--r-inner);
  color: var(--on-ink);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #8A8A8E; }
.input:hover, .select:hover, .textarea:hover { background: rgba(255,255,255,0.075); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(0, 168, 104, 0.07);
}
.textarea { resize: vertical; min-height: 116px; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8125rem center;
  background-size: 15px;
  padding-right: 2.5rem;
}
.select option { background: var(--ink); color: var(--on-ink); }

.input:user-invalid, .select:user-invalid, .textarea:user-invalid { border-color: #E5484D; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-top: 0.25rem;
}
.consent input { width: 17px; height: 17px; margin: 2px 0 0; flex: none; }
.consent label { font-size: 0.8125rem; line-height: 1.55; color: var(--on-ink-mute); }
.consent a { color: var(--on-ink); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: #4A4A4A; }
.consent a:hover { text-decoration-color: var(--green); }

.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 0.5rem; }
.form__hint { font-size: 0.75rem; color: var(--on-ink-mute); }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ============================================================
   Fußbereich
   ============================================================ */
.footer { background: var(--ink); color: var(--on-ink); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer .wordmark { color: var(--on-ink); }
.footer .wordmark__sub { color: var(--on-ink-mute); }
.footer__top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--on-ink-line);
}
@media (min-width: 800px) { .footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 3rem; } }

.footer__tag { margin-top: 1.25rem; font-size: 0.875rem; color: var(--on-ink-mute); max-width: 34ch; line-height: 1.6; }

.footer__col h4 { font-family: var(--sans); font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink-mute); margin-bottom: 1rem; }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6875rem; }
.footer__col a { color: var(--on-ink); text-decoration: none; font-size: 0.875rem; transition: color 200ms var(--ease); }
.footer__col a:hover { color: var(--green); }

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--on-ink-mute);
}
.footer__bottom a { color: var(--on-ink-mute); text-decoration: none; }
.footer__bottom a:hover { color: var(--on-ink); }

/* ============================================================
   Rechtsseiten / Danke
   ============================================================ */
.doc { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(4rem, 8vw, 7rem); }
.doc__inner { max-width: 74ch; }
.doc h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); margin-bottom: 2.5rem; }
.doc h2 { font-size: clamp(1.25rem, 2.4vw, 1.625rem); margin-top: 3rem; margin-bottom: 0.875rem; }
.doc h3 { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; margin-top: 1.75rem; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
.doc p, .doc li { font-size: 0.9375rem; line-height: 1.72; color: var(--grey); }
.doc p + p { margin-top: 1rem; }
.doc ul { margin: 1rem 0 0; padding-left: 1.125rem; display: grid; gap: 0.5rem; }
.doc strong { color: var(--ink); font-weight: 600; }
/* :not(.btn) — sonst überschreibt diese Regel die Schaltflächenfarbe und der
   Text steht schwarz auf schwarzer Pille (404- und Danke-Seite). */
.doc a:not(.btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: var(--grey-line); }
.doc a:not(.btn):hover { text-decoration-color: var(--green); color: var(--green); }
.doc address { font-style: normal; color: var(--grey); font-size: 0.9375rem; line-height: 1.72; }

.todo {
  display: inline-block;
  padding: 0.0625rem 0.4375rem;
  background: rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  color: #6B5312;
  font-family: var(--mono);
  font-size: 0.8125em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.notice {
  margin: 2rem 0;
  padding: 1.375rem 1.5rem;
  background: var(--surface);
  border-radius: var(--r-inner);
}
.notice strong { display: block; margin-bottom: 0.375rem; color: var(--ink); }
.notice strong::before {
  content: "";
  display: block;
  width: 26px; height: 2px;
  background: var(--gold);
  margin-bottom: 0.625rem;
}
.notice p { font-size: 0.875rem; color: var(--ink); }
.notice strong { display: block; margin-bottom: 0.375rem; }

.thanks { min-height: 70vh; display: flex; align-items: center; }
.thanks__mark { width: 56px; height: 56px; color: var(--green); margin-bottom: 2rem; }

/* ---------- Hilfsklassen ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink); color: var(--paper);
  font-size: 0.875rem; font-weight: 600;
  text-decoration: none;
  transition: transform 220ms var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

[hidden] { display: none !important; }

/* ============================================================
   Korrekturen aus der Abschlussprüfung
   ============================================================ */

/* Einwilligungsfeld: Der Systemvorgabe-Haken zeichnet auf dunklem Grund ein
   gefülltes weißes Quadrat und liest sich dadurch als bereits gesetzt.
   Bei einer rechtlich nötigen Einwilligung ist das nicht hinnehmbar. */
.consent input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  width: 19px; height: 19px;
  margin: 1px 0 0;
  border: 1.5px solid #5A5A5E;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: background 180ms var(--ease), border-color 180ms var(--ease);
}
.consent input[type='checkbox']::before {
  content: '';
  width: 10px; height: 10px;
  transform: scale(0);
  transform-origin: center;
  transition: transform 160ms var(--ease);
  background: var(--ink);
  clip-path: polygon(14% 46%, 0 60%, 40% 100%, 100% 22%, 86% 8%, 38% 70%);
}
.consent input[type='checkbox']:hover { border-color: #7C7C82; }
.consent input[type='checkbox']:checked {
  background: var(--green);
  border-color: var(--green);
}
.consent input[type='checkbox']:checked::before { transform: scale(1); }

/* Die Platzhalter-Auszeichnung ist Redaktionsmarke, nicht Markenakzent.
   Gestrichelter Rahmen statt goldener Fläche — auffällig, aber nicht Gold. */
.todo {
  display: inline-block;
  padding: 0.0625rem 0.4375rem;
  background: rgba(13, 13, 13, 0.05);
  border: 1px dashed #9A8A5E;
  border-radius: 4px;
  color: #5E5545;
  font-family: var(--mono);
  font-size: 0.8125em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Meistgewählt-Marke: Sperrung ohne Wortabstand las sich als ein Wort. */
.plan__flag { word-spacing: 0.22em; }

/* Beschreibungszeile auf gleiche Höhe, damit Preis und PT-Pille
   über alle Karten auf einer Linie sitzen. */
.plan__for { min-height: 3.5em; }
@media (min-width: 760px) and (max-width: 1559px) { .plan__for { min-height: 2.9em; } }

/* Hero unter 980px: die Textspalte darf die volle Breite nehmen, sonst steht
   rechts ein Drittel leer und die Kurve rutscht unter die Falz. */
@media (max-width: 979px) {
  .hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3rem)); }
  .hero__grid { gap: clamp(2rem, 4vw, 3rem); }
  .hero h1 { max-width: none; }
  .hero__lead { max-width: 40ch; }
  .hero__body { max-width: 62ch; }
  .hero__facts { margin-top: clamp(2rem, 4vw, 2.75rem); }
}

/* Auf schmalen Geräten skaliert die SVG-Beschriftung mit herunter und wird
   unlesbar. Die Fahnen wandern deshalb unter das Diagramm als echter Text. */
.curve__annot { display: none; }
@media (max-width: 700px) {
  .curve__flag { display: none; }
  .curve__node text { font-size: 15px; }
  .curve__node .curve__val { font-size: 15px; }
  .curve__annot {
    display: grid;
    gap: 0.625rem;
    margin-top: 1.125rem;
  }
  .curve__annot li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.625rem;
    align-items: start;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--grey);
  }
  .curve__annot i {
    width: 9px; height: 9px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: inset 0 0 0 2px var(--green);
  }
  .curve__annot li[data-gold] i { box-shadow: inset 0 0 0 2px var(--gold); }
  .curve__annot b { color: var(--ink); font-weight: 600; }
}

/* Rechtsseiten: Ein Absatz direkt nach einer Liste klebte an der letzten
   Aufzählung, und der Textlauf ging bei 1440px auf rund 90 Zeichen. */
.doc__inner { max-width: 72ch; }
.doc ul + p,
.doc ul + h2,
.doc ul + h3 { margin-top: 1.25rem; }
.doc address + p { margin-top: 1rem; }

/* Offene Stelle im dunklen Fußbereich: sichtbar markiert statt als toter Link. */
.footer__pending {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--on-ink-mute);
}
.todo--onink {
  background: rgba(255, 255, 255, 0.06);
  border-color: #8A7A50;
  color: #D8C48A;
}

/* Achsen-Einheit: klein im Normalfall, auf schmalen Geräten mitwachsend. */
.curve__unit { font-size: 9.5px; letter-spacing: 0.14em; }
@media (max-width: 700px) { .curve__unit { font-size: 13px; } }

/* ============================================================
   Echte App-Aufnahmen im Gerätrahmen
   ============================================================ */
.phone { display: flex; flex-direction: column; align-items: center; }

.phone__frame {
  width: 100%;
  max-width: 340px;
  padding: 11px;
  background: linear-gradient(160deg, #2A2A2E 0%, #141416 46%, #232327 100%);
  border-radius: 42px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 2px 5px rgba(13,13,13,0.14),
    0 22px 54px rgba(13,13,13,0.22);
}
.phone__screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #F2F3F5;
  aspect-ratio: 390 / 844;
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }


.phone__pending {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 2rem 1.5rem;
  background: var(--paper);
  text-align: center;
}
.phone__pending p { font-size: 0.8125rem; line-height: 1.6; color: var(--grey); }
.phone__pending strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
}
.phone__pending strong::before {
  content: '';
  display: block;
  width: 26px; height: 2px;
  background: var(--gold);
  margin: 0 auto 0.75rem;
}

.phone__note {
  margin-top: 1.5rem;
  max-width: 34ch;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--grey);
}

@media (min-width: 980px) {
  .phone { align-items: flex-start; }
  .phone__frame { max-width: 330px; }
  .phone__note { text-align: left; margin-left: 4px; }
}

/* ============================================================
   Eigener Verlauf — Videobeleg
   ============================================================ */
.proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .proof { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.proof h2 { max-width: 12ch; }

.proof__note {
  margin-top: 2rem;
  padding: 1.25rem 1.375rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-inner);
  max-width: 52ch;
}
.proof__note p { font-size: 0.8125rem; line-height: 1.6; color: var(--on-ink-mute); }
.proof__note strong { display: block; margin-bottom: 0.375rem; color: var(--on-ink); }
.proof__note strong::before {
  content: '';
  display: block;
  width: 26px; height: 2px;
  background: var(--gold);
  margin-bottom: 0.625rem;
}
.proof__note code {
  font-family: var(--mono);
  font-size: 0.9em;
  color: var(--on-ink);
}

.proof__media { margin: 0; justify-self: center; width: 100%; max-width: 340px; }
.proof__media video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-card);
  background: #000;
  box-shadow: 0 2px 6px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.45);
}
.proof__media figcaption {
  margin-top: 1.125rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--on-ink-mute);
}
.proof__media figcaption b { color: var(--on-ink); font-weight: 600; }
