/* ===========================================================================
   Amazon Listing Optimizer — Marketing-Onepager
   Designtokens gespiegelt aus src/AmazonOptimizer.Web/tailwind.config.js,
   damit Webseite und Anwendung denselben Markenauftritt tragen.

   Regel aus der App uebernommen: #ff9900 traegt auf Weiss nur 2,3:1 Kontrast
   und ist damit KEINE Textfarbe. Fliesstext/Links nutzen --primary-700/800,
   die 500er-Stufe sitzt auf Flaechen, Rahmen und Akzenten. Auf einer
   500er-Flaeche steht dunkle Schrift, kein Weiss.

   Schrift: derselbe Stack wie ozam.de. Bewusst KEIN Google-Fonts-Einbau
   (Drittlandtransfer). Soll Roboto garantiert anliegen, die woff2-Dateien
   nach assets/fonts/ legen und den @font-face-Block unten aktivieren.
   =========================================================================== */

/* @font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap;
     src: url('../fonts/roboto-regular.woff2') format('woff2'); }
   @font-face { font-family: 'Roboto'; font-weight: 700; font-display: swap;
     src: url('../fonts/roboto-bold.woff2') format('woff2'); } */

:root {
  --primary-50:  #fff8eb;
  --primary-100: #ffefcc;
  --primary-200: #ffdd99;
  --primary-300: #ffc966;
  --primary-400: #ffb133;
  --primary-500: #ff9900;
  --primary-600: #f08c00;
  --primary-700: #ad6100;
  --primary-800: #8a4d00;
  --primary-900: #6b3c00;

  --ink-900: #111111;
  --ink-800: #1a1a1a;
  --ink-700: #2a2a2a;

  --page:     #f7f7f7;
  --surface:  #ffffff;
  --border:   #e4e4e4;

  --text:     #2f2f33;
  --text-soft: #5f6066;
  --text-mute: #85868c;

  --good:     #059669;
  --warn:     #d97706;
  --bad:      #dc2626;

  /* Derselbe Stapel wie ozam.de/software. Inter steht vorn, wird aber
     bewusst NICHT geladen — die Seite kommt weiterhin ohne einen einzigen
     Fremd-Request aus. Wer Inter installiert hat, sieht Inter; alle anderen
     die Systemschrift (Windows: Segoe UI, macOS: SF). Genau so macht es die
     Designer-Seite auch. */
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .06), 0 1px 3px rgba(17, 17, 17, .08);
  --shadow-md: 0 4px 6px -1px rgba(17, 17, 17, .07), 0 10px 20px -5px rgba(17, 17, 17, .1);
  --shadow-lg: 0 10px 15px -3px rgba(17, 17, 17, .08), 0 25px 50px -12px rgba(17, 17, 17, .18);
  --radius: 6px;
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

/* Schlagzeilen tragen die Seite. Gross, eng gesetzt und schwer — dieselbe
   Machart wie ozam.de/software (dort 76,8 px bei Gewicht 780, Zeilenabstand
   0,96 und -0,065 em Laufweite). Ab dieser Groesse braucht es negative
   Laufweite, sonst faellt die Zeile auseinander. */
h1, h2, h3, h4 { font-weight: 800; color: var(--ink-900); line-height: 1.05; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.15rem); line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.95rem); line-height: 1.02; letter-spacing: -.035em; }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0 0 1rem; }
a { color: var(--primary-700); text-decoration: none; }
a:hover { color: var(--primary-800); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--ink-900); color: #d9d9dd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--surface { background: var(--surface); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--primary-500); color: var(--ink-900); font-weight: 700;
  padding: 12px 20px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* --- Abschnittskopf im ozam.de-Muster: "Titel | Unterzeile" ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-700); margin-bottom: 16px;
}
/* Der Strich davor ist das Erkennungszeichen der Abschnittskoepfe auf
   ozam.de/software. Rein dekorativ, deshalb kein eigenes Element. */
.eyebrow::before {
  content: ""; width: 30px; height: 2px; flex: 0 0 auto;
  background: var(--primary-500); border-radius: 2px;
}
.sec-head--center .eyebrow { justify-content: center; }
.section--dark .eyebrow { color: var(--primary-400); }
.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .pipe { color: var(--primary-500); font-weight: 400; padding: 0 .25em; }
.sec-head .sub { font-size: 1.08rem; color: var(--text-soft); margin: 0; }
.section--dark .sec-head .sub { color: #a9aab1; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 800; font-size: .95rem;
  /* Pillenform statt 6-px-Radius — der auffaelligste Einzelgriff der
     Designer-Seite. Der Radius-Token bleibt bei 6 px, den brauchen Karten
     und Eingabefelder weiterhin. */
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
  text-align: center; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { flex: 0 0 auto; }
/* Dunkle Schrift auf Markenorange — wie im Button.tsx der Anwendung. */
/* Der warme Schein unter dem Hauptknopf. Bewusst kein grauer Schatten:
   die Farbe des Knopfes strahlt nach unten aus, das traegt den offensiveren
   Auftritt mehr als jede Groessenaenderung. */
.btn--primary {
  background: var(--primary-500); color: var(--ink-900);
  box-shadow: 0 12px 34px rgba(255, 153, 0, .34);
}
.btn--primary:hover {
  background: var(--primary-600); color: var(--ink-900);
  box-shadow: 0 16px 40px rgba(255, 153, 0, .42);
}
.btn--ghost { background: transparent; color: var(--ink-900); border-color: #c9c9cc; }
.btn--ghost:hover { background: #fff; border-color: var(--ink-900); color: var(--ink-900); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--on-dark:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--sm { padding: 9px 18px; font-size: .88rem; border-width: 1px; }

/* --- Kopfzeile ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink-900);
  border-bottom: 1px solid var(--ink-700);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { color: #fff; font-size: .98rem; letter-spacing: -.01em; }
.brand-text span { color: var(--primary-400); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { color: #c9cad0; font-size: .93rem; font-weight: 500; }
.nav a:hover { color: var(--primary-400); text-decoration: none; }

/* `.nav a` faerbt jeden Link in der Kopfzeile grau — und steht spaeter im
   Stylesheet als die Knopfregeln, gewinnt also gegen sie. Auf dem orangen
   CTA landete dadurch #c9cad0: rund 1,6:1 Kontrast und praktisch unlesbar,
   genau der Fehler, den die Regel "dunkle Schrift auf Orange" verhindern
   soll. Beim Ueberfahren wurde daraus sogar Orange auf Orange. Hier holen
   wir die Knopffarben zurueck. */
.nav a.btn--primary,
.nav a.btn--primary:hover { color: var(--ink-900); }
.nav a.btn--on-dark,
.nav a.btn--on-dark:hover { color: #fff; }
/* Der Login-Knopf sitzt in der dunklen Kopfzeile und darf der orangen CTA
   nicht die Aufmerksamkeit nehmen — deshalb nur Umriss, keine Flaeche.
   Der Abstand ist kleiner als die uebrigen 26px: Login und CTA gehoeren
   optisch zusammen und stehen gemeinsam abgesetzt von den Sprungmarken. */
.nav-login { margin-left: -12px; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius); color: #fff; padding: 8px 10px; cursor: pointer;
}

@media (max-width: 940px) {
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--ink-800); border-bottom: 1px solid var(--ink-700);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--ink-700); }
  .nav .btn { margin-top: 14px; }
  .nav .nav-login { margin-left: 0; margin-top: 10px; }
  .nav-toggle { display: block; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1100px 460px at 88% -8%, rgba(255, 153, 0, .16), transparent 65%),
    linear-gradient(180deg, #fff 0%, var(--page) 100%);
  border-bottom: 1px solid var(--border);
  padding: 76px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.16rem; color: var(--text-soft); max-width: 42ch; }
.hero h1 mark { background: none; color: var(--primary-700); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-note { font-size: .88rem; color: var(--text-mute); display: flex; align-items: center; gap: 8px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--text); }
.hero-points svg { color: var(--primary-700); flex: 0 0 auto; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 52px 0 60px; }
}

/* --- Kennzahlen-Leiste unter dem Hero -----------------------------------
   Vier harte Zahlen direkt unter dem Kopf, durch duenne Linien getrennt.
   Nach ozam.de/software. Alle vier sind belegbar: die Skala 0-100, die
   sechs bewerteten Bereiche aus ScoreCalculator.cs, die neun Amazon-
   Bildplaetze aus ImageSlots.Amazon und die SP-API-Uebertragung.
   ------------------------------------------------------------------- */
.kennzahlen {
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.kennzahlen .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 24px; }
/* Direkte Kinder, nicht `.kennzahlen div`: der .wrap-Container ist selbst ein
   div und bekaeme sonst dieselbe Polsterung und den Rahmen ab — die erste
   Zahl klebte dann am Fensterrand. */
.kennzahlen .wrap > div {
  padding: 30px 28px 32px;
  border-left: 1px solid var(--border);
}
.kennzahlen .wrap > div:first-child { border-left: 0; padding-left: 0; }
.kennzahlen b {
  display: block; font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.05; color: var(--ink-900);
}
.kennzahlen span { display: block; margin-top: 7px; font-size: .88rem; color: var(--text-soft); }

@media (max-width: 760px) {
  .kennzahlen .wrap { grid-template-columns: repeat(2, 1fr); }
  /* Bei zwei Spalten braucht die dritte Kachel wieder eine linke Kante,
     die erste jeder Zeile dagegen keine. */
  .kennzahlen .wrap > div { padding: 22px 18px; }
  .kennzahlen .wrap > div:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* --- Vorher/Nachher-Bildvergleich (Hero) ---------------------------------
   Beide Bilder liegen deckungsgleich uebereinander; das Originalbild wird
   per clip-path von rechts beschnitten. Die Schnittkante steckt in --posn,
   damit Bild, Trennlinie und Griff garantiert dieselbe Position benutzen.
   Ohne JavaScript bleibt --posn bei den 50 aus dem style-Attribut stehen —
   der Vergleich ist dann statisch, aber vollstaendig lesbar.
   ------------------------------------------------------------------------ */
.compare-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.compare-card__head {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, #fafafa);
  font-size: .82rem;
}
.compare-card__head svg { color: var(--primary-700); flex: 0 0 auto; }
.compare-card__head b { color: var(--ink-900); }
.compare-card__head span { color: var(--text-mute); }
.compare-card__head span::before { content: '·'; margin-right: 7px; }
/* Auf schmalen Geraeten faellt der Zusatz weg, sonst bricht die Kopfzeile um. */
@media (max-width: 480px) { .compare-card__head span { display: none; } }

.compare {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  touch-action: pan-y;          /* waagerechtes Ziehen gehoert dem Regler */
  cursor: ew-resize;
  user-select: none;
}
.compare__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.compare__img--vorher { clip-path: inset(0 calc(100% - var(--posn) * 1%) 0 0); }

/* Die Zuordnung steht unter dem Bild statt darauf: beide Motive sind bis in die
   Ecken bedruckt, eine Beschriftung im Bild verdeckt dort immer etwas. */
.compare__legende {
  display: flex; justify-content: space-between; gap: 12px;
  margin: 0; padding: 11px 15px 0;
  font-size: .78rem; color: var(--text-soft);
}
.compare__legende span { display: flex; align-items: flex-start; gap: 7px; }
.compare__punkt {
  width: 9px; height: 9px; margin-top: .42em; border-radius: 50%; flex: 0 0 auto;
}
.compare__punkt--vorher { background: #d8d8dc; border: 1px solid #bfbfc4; }
.compare__punkt--nachher { background: var(--primary-500); }

.compare__line {
  position: absolute; top: 0; bottom: 0; left: calc(var(--posn) * 1%);
  width: 2px; margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, .3);
  pointer-events: none;
}
.compare__grip {
  position: absolute; top: 50%; left: calc(var(--posn) * 1%);
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--primary-500);
  color: var(--ink-900);
  box-shadow: 0 2px 5px rgba(17, 17, 17, .25), 0 8px 22px rgba(17, 17, 17, .22);
  cursor: ew-resize;
  padding: 0;
  transition: transform .16s;
}
.compare__grip:hover { transform: translate(-50%, -50%) scale(1.07); }
.compare__grip:focus-visible { outline: 3px solid var(--ink-900); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .compare__grip { transition: none; }
}

.compare__facts {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 15px 0;
}
.compare__facts li {
  font-size: .8rem; color: var(--text-soft);
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: 20px;
  padding: 4px 12px;
}
.compare__facts b { color: var(--primary-800); }

.compare-card figcaption {
  padding: 12px 15px 15px;
  font-size: .84rem; line-height: 1.5; color: var(--text-mute);
}

@media (max-width: 940px) {
  .compare { max-height: 78vh; }
}

/* --- Browserrahmen fuer Screenshots -------------------------------------- */
.frame {
  background: #fff; border: 1px solid var(--border); border-radius: 9px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.frame-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; background: #f1f1f2; border-bottom: 1px solid var(--border);
}
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d3d6; flex: 0 0 auto; }
.frame-url {
  margin-left: 8px; font-size: .74rem; color: var(--text-mute);
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 3px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.frame-body { display: block; }
.frame-body img { width: 100%; display: block; }

/* Platzhalter, solange kein Screenshot hinterlegt ist. */
.shot-placeholder {
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center;
  background:
    repeating-linear-gradient(45deg, #fafafa 0 12px, #f2f2f3 12px 24px);
  color: var(--text-mute); font-size: .86rem;
}
.shot-placeholder b { display: block; color: var(--text-soft); font-size: .95rem; }
.shot-placeholder svg { color: #c2c2c6; }

/* --- Statistik-Kacheln --------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 3px solid var(--primary-500);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 2.1rem; line-height: 1.1; color: var(--ink-900); letter-spacing: -.02em; }
.stat span { display: block; font-size: .9rem; color: var(--text-soft); margin-top: 6px; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* --- Vorher / Nachher ---------------------------------------------------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 940px) { .ba-grid { grid-template-columns: 1fr; } }

.ba-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; height: 100%;
}
.ba-card--after { border-color: var(--primary-300); box-shadow: var(--shadow-md); }
.ba-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 22px; border-bottom: 1px solid var(--border); background: #fbfbfb;
}
.ba-card--after .ba-head { background: var(--primary-50); border-bottom-color: var(--primary-200); }
.ba-head h3 { margin: 0; font-size: 1rem; letter-spacing: .01em; }
.ba-body { padding: 22px; }

.score-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 20px;
  border: 1px solid transparent; white-space: nowrap;
}
.score-pill--bad  { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.score-pill--warn { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.score-pill--good { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.score-pill i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.score-pill--bad i  { background: var(--bad); }
.score-pill--warn i { background: var(--warn); }
.score-pill--good i { background: var(--good); }

.field-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute); display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin: 22px 0 8px;
}
.field-label:first-child { margin-top: 0; }
.counter { font-size: .74rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.counter--over { color: var(--bad); }
.counter--ok { color: var(--good); }

.title-box {
  font-size: .95rem; line-height: 1.5; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--border); background: #fcfcfc; word-break: break-word;
}
.ba-card--after .title-box { border-color: var(--primary-200); background: var(--primary-50); }

.bullets { display: grid; gap: 8px; }
.bullets li {
  display: flex; gap: 10px; font-size: .88rem; line-height: 1.55; color: var(--text-soft);
}
.bullets li svg { flex: 0 0 auto; margin-top: 4px; }
.bullets--before li svg { color: #c2c2c6; }
.bullets--after li svg { color: var(--good); }
.bullets b { color: var(--text); font-weight: 700; }
.empty-hint {
  font-size: .88rem; color: var(--bad); background: #fef2f2; border: 1px dashed #fecaca;
  border-radius: var(--radius); padding: 12px 14px;
}
.kw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kw-chips span {
  font-size: .78rem; background: var(--primary-50); color: var(--primary-800);
  border: 1px solid var(--primary-200); border-radius: 20px; padding: 3px 10px;
}

.ba-verdict {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 26px; padding: 22px; background: var(--surface);
  border: 1px solid var(--border); border-left: 3px solid var(--primary-500);
  border-radius: var(--radius);
}
.ba-verdict div b { display: block; font-size: 1.45rem; color: var(--ink-900); line-height: 1.2; }
.ba-verdict div span { font-size: .86rem; color: var(--text-soft); }
@media (max-width: 700px) { .ba-verdict { grid-template-columns: 1fr; gap: 14px; } }

/* --- Ablauf in 5 Schritten ---------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px 22px; position: relative; box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary-500); color: var(--ink-900);
  font-weight: 700; font-size: .95rem; margin-bottom: 14px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .88rem; color: var(--text-soft); margin: 0; }
.step-tag {
  display: inline-block; margin-top: 10px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute);
}
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }

/* --- Funktionen --------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.feature:hover { border-color: var(--primary-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--primary-50); color: var(--primary-700);
  border: 1px solid var(--primary-200); margin-bottom: 16px;
}
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature p { font-size: .89rem; color: var(--text-soft); margin: 0; }
@media (max-width: 1040px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .features { grid-template-columns: 1fr; } }

/* --- Diagramm ----------------------------------------------------------- */
.chart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 940px) { .chart-layout { grid-template-columns: 1fr; gap: 30px; } }

.chart-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 26px 20px; box-shadow: var(--shadow-sm);
}
.chart-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.chart-card .chart-sub { font-size: .86rem; color: var(--text-mute); margin: 0 0 18px; }
.chart-card figure { margin: 0; }
.chart-card figcaption {
  font-size: .78rem; color: var(--text-mute); margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.chart-svg { width: 100%; height: auto; overflow: visible; }
.chart-grid line { stroke: #ececee; stroke-width: 1; }
.chart-axis text { font-size: 11px; fill: var(--text-mute); font-family: var(--font); }
.chart-line { fill: none; stroke: var(--primary-700); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-line--flat { stroke: #b9babf; stroke-dasharray: 5 4; }
.chart-marker line { stroke: var(--ink-900); stroke-width: 1; stroke-dasharray: 4 3; }
.chart-marker text { font-size: 11px; font-weight: 700; fill: var(--ink-900); font-family: var(--font); }
.chart-dot { fill: var(--primary-700); stroke: #fff; stroke-width: 2; }
.chart-endlabel { font-size: 12px; font-weight: 700; fill: var(--ink-900); font-family: var(--font); }

.chart-side li {
  display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border);
}
.chart-side li:last-child { border-bottom: 0; }
.chart-side b { display: block; font-size: .98rem; color: var(--ink-900); }
.chart-side span { font-size: .88rem; color: var(--text-soft); }
.chart-side svg { flex: 0 0 auto; color: var(--primary-700); margin-top: 3px; }

/* --- Zielgruppen -------------------------------------------------------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud-card {
  background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column;
}
.aud-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.aud-card .aud-role {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-400); margin-bottom: 14px; display: block;
}
.aud-card p { font-size: .92rem; color: #a9aab1; }
.aud-card ul { margin-top: auto; padding-top: 16px; display: grid; gap: 9px; }
.aud-card li { display: flex; gap: 9px; font-size: .88rem; color: #d9d9dd; }
.aud-card li svg { flex: 0 0 auto; margin-top: 4px; color: var(--primary-400); }
@media (max-width: 940px) { .audience { grid-template-columns: 1fr; } }

/* --- Screenshot-Galerie ------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 12px; font-size: .88rem; color: var(--text-soft); }
.gallery figcaption b { color: var(--ink-900); display: block; font-size: .95rem; }
.gallery__wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* --- Honigtopf ---------------------------------------------------------
   Nicht display:none — manche Bots ueberspringen ausgeblendete Felder.
   Absolut aus dem Sichtfeld geschoben wirkt es fuer sie wie ein echtes Feld.
   ------------------------------------------------------------------- */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* --- Kontakt / Demo ----------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; gap: 34px; } }

.contact-info li { display: flex; gap: 13px; margin-bottom: 20px; align-items: flex-start; }
.contact-info svg { flex: 0 0 auto; color: var(--primary-500); margin-top: 3px; }
.contact-info b { display: block; color: #fff; font-size: .95rem; }
.contact-info a, .contact-info span { color: #a9aab1; font-size: .92rem; }
.contact-info a:hover { color: var(--primary-400); }

.form-card {
  background: var(--surface); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.field .req { color: var(--bad); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .94rem; color: var(--text);
  padding: 11px 13px; border: 1px solid #d4d4d8; border-radius: var(--radius);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, .22);
}
.field textarea { resize: vertical; min-height: 96px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--primary-500); }
.consent label { font-size: .82rem; color: var(--text-soft); font-weight: 400; line-height: 1.5; }
.form-card .btn { width: 100%; }
.form-hint { font-size: .8rem; color: var(--text-mute); text-align: center; margin: 14px 0 0; }
.form-status {
  margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius); font-size: .88rem;
  background: var(--primary-50); border: 1px solid var(--primary-200); color: var(--primary-800);
}
.form-status[hidden] { display: none; }

/* --- Fusszeile ---------------------------------------------------------- */
.site-footer { background: var(--ink-900); color: #85868c; padding: 52px 0 28px; border-top: 1px solid var(--ink-700); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: #fff; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer p { font-size: .9rem; margin: 0 0 8px; }
.site-footer li { margin-bottom: 9px; font-size: .9rem; }
.site-footer a { color: #a9aab1; }
.site-footer a:hover { color: var(--primary-400); }
.footer-bottom {
  border-top: 1px solid var(--ink-700); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .84rem;
}

@media print {
  .site-header, .nav-toggle, .form-card { box-shadow: none; }
  .section { padding: 24px 0; }
}
