/* =============================================================================
   AuditFlow – Marketing-Website · styles.css

   Dieselbe Gestaltung wie das Programm: heller Grund, Tintenblau als einzige
   Akzentfarbe (seit 11.09.2026; vorher Petrol, das zu nah am Tannengruen
   der Dachmarke zehnbyte lag), Archivo für Überschriften, IBM Plex für Text und Zahlen,
   6 px Radien, keine Verläufe und keine Leuchteffekte.

   Der Grund für den Bruch mit der alten Fassung: Wer ein Prüfwerkzeug für
   Qualitätsmanagement kauft, erwartet ein Fachprogramm — kein dunkles
   Startup-Plakat mit blauen Farbverläufen. Die Website muss dasselbe
   versprechen, was das Programm dahinter einlöst.
   ============================================================================= */

/* ---------- Gestaltungsgrößen (identisch mit dem Programm) ---------- */
:root {
  --bg:            #EEF1F6;
  --bg-2:          #E5E9F1;
  --surface:       #FFFFFF;
  --surface-2:     #F5F7FA;
  --surface-solid: #FFFFFF;
  --border:        #D8DEE8;
  --border-strong: #BFC8D6;

  --text:          #394354;
  --text-strong:   #0F1522;
  --text-muted:    #5F6A7D;

  --accent:        #1F4396;
  --accent-hover:  #183576;
  --accent-2:      #2D5BC0;
  --accent-soft:   #E6ECF8;
  --accent-line:   #C5D3EF;
  --ink:           #15285C;

  --success:       #1E7A50;
  --warn:          #A66A00;
  --danger:        #B3261E;

  --radius:        6px;
  --radius-lg:     8px;
  --radius-pill:   3px;

  --shadow:        0 1px 2px rgba(15, 21, 34, 0.06);
  --shadow-raised: 0 2px 8px rgba(15, 21, 34, 0.08);

  --container:     1120px;
  --gutter:        24px;

  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Archivo', var(--font-body);
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-strong);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  font-weight: 600;
}

p { margin: 0; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* =============================================================================
   Schaltflächen
   ============================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600; line-height: 1;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease),
              color .15s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover); border-color: var(--accent-hover); color: #fff;
}
.btn-secondary {
  background: var(--surface); color: var(--accent);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--accent-soft); border-color: var(--accent-2); }
.btn-ghost {
  background: transparent; color: var(--text-strong); border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--text-muted); }
.btn-lg { padding: 13px 24px; font-size: 15px; }
.btn-block { width: 100%; }

/* =============================================================================
   Kopfzeile
   ============================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.nav { display: flex; align-items: center; gap: 28px; height: 60px; }

.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 16.5px;
  color: var(--text-strong); letter-spacing: -0.02em;
  margin-right: auto;
}
.brand:hover { color: var(--text-strong); }
.brand__von {
  font-family: var(--font-body); font-weight: 500; font-size: 12px;
  color: var(--text-muted); letter-spacing: 0; white-space: nowrap;
  padding-left: 9px; margin-left: 1px; border-left: 1px solid var(--border-strong);
}
@media (max-width: 340px) { .brand__von { display: none; } }
.brand__mark {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff; font-size: 14px; font-weight: 700;
  font-family: var(--font-head);
  flex: none;
}

.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--text);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--accent); border-bottom-color: var(--accent-2); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none;
  width: 38px; height: 34px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius); color: var(--text-strong); cursor: pointer;
}
.nav__toggle svg { width: 100%; height: 100%; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav ul { padding: 12px 0 16px; display: grid; gap: 2px; }
.mobile-nav a {
  display: block; padding: 10px 2px; font-size: 15px; font-weight: 500;
  color: var(--text-strong); border-bottom: 1px solid var(--border);
}
.mobile-nav a.btn {
  border-bottom: 0; margin-top: 10px; color: #fff; padding: 11px 20px;
}

/* =============================================================================
   Abschnitte
   ============================================================================= */
.section { padding: 68px 0; }
.section--tight { padding: 44px 0 68px; }

.eyebrow {
  display: inline-block;
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 10px;
}

.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-sub {
  color: var(--text-muted); font-size: 16px; margin-top: 12px; max-width: 62ch;
}
.section-head { max-width: 72ch; }

.accent-text { color: var(--accent); }

/* =============================================================================
   Hero
   ============================================================================= */
.hero {
  padding: 62px 0 60px;
  background: var(--ink);
  color: #C9D3EA;
}
/* Dunkles Tintenblau als ruhige Flaeche - ohne Verlauf, ohne Leuchten. Es
   trennt das Produkt sichtbar von zehnbyte.de (hell, Tannengruen); beide
   duerfen verwandt aussehen, aber nicht wie dieselbe Seite. */
.hero h1 { color: #fff; }
.hero .accent-text { color: #A9C1F5; }
.hero .hero__sub { color: #C9D3EA; }
.hero .badge-pill {
  color: #DCE5F8; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18);
}
.hero .badge-pill .dot { background: #A9C1F5; }
.hero .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn-primary:hover { background: #E6ECF8; border-color: #E6ECF8; color: var(--ink); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.hero .hero__trust { border-top-color: rgba(255,255,255,.16); }
.hero .hero__trust li { color: #B9C5E0; }
.hero .hero__trust svg { color: #8FD3B0; }
.hero .shot { box-shadow: 0 12px 32px rgba(0,0,0,.28); }
.hero .container {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.hero__inner { max-width: 56ch; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.hero__sub { font-size: 17px; color: var(--text); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  margin-bottom: 18px;
}
.badge-pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2);
  flex: none;
}

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.hero__trust li {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-muted); font-weight: 500;
}
.hero__trust svg { width: 15px; height: 15px; color: var(--success); flex: none; }

.hero__visual {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-raised);
}
/* Traegt die Huelle bereits einen Berichtsausschnitt, bringt der seinen
   eigenen Rahmen mit - sonst stehen zwei Rahmen ineinander. */
.hero__visual:has(.shot) {
  border: 0; background: none; box-shadow: none; overflow: visible;
}

/* =============================================================================
   Karten und Raster
   ============================================================================= */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-muted); }

.card__icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-line);
}
.card__icon svg { width: 19px; height: 19px; }
/* Die alten Farbvarianten bleiben als Klasse bestehen, tragen aber dieselbe
   ruhige Optik: eine Akzentfarbe genügt einem Fachprogramm. */
.card__icon.green, .card__icon.violet, .card__icon.amber {
  background: var(--accent-soft); color: var(--accent);
}

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

.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px; align-items: start;
}

/* ---------- Problem- und Lösungsliste ---------- */
.problem-list { display: grid; gap: 12px; margin-top: 18px; }
.problem-list li {
  display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px;
}
.ic {
  display: grid; place-items: center; flex: none;
  width: 20px; height: 20px; margin-top: 2px;
  border-radius: 3px;
}
.ic svg { width: 13px; height: 13px; }
.ic--bad  { background: #FCEEED; color: var(--danger); }
.ic--good { background: #EAF4EF; color: var(--success); }

/* ---------- Schritte ---------- */
.steps .card { padding-top: 22px; }
.step__head { margin-bottom: 12px; }
.step__num {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-line); border-radius: 3px;
  padding: 2px 7px; letter-spacing: .04em;
}
.step__icon {
  display: grid; place-items: center;
  width: 32px; height: 32px; margin-bottom: 12px;
  color: var(--accent-2);
}
.step__icon svg { width: 24px; height: 24px; }

/* =============================================================================
   Produktansichten
   ============================================================================= */
.showcase { display: grid; gap: 46px; margin-top: 44px; }
.showcase__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 36px; align-items: center;
}
.showcase__row.reverse { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.showcase__row.reverse .showcase__text { order: 2; }
.showcase__row.reverse .showcase__media { order: 1; }
.showcase__text h3 { font-size: 20px; margin-bottom: 10px; }
.showcase__text p { color: var(--text-muted); font-size: 15px; }

.frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
  box-shadow: var(--shadow-raised);
  min-height: 160px;
}
.frame img { position: relative; z-index: 1; }
.frame img.is-broken { display: none; }
/* Platzhalter, solange oder falls das Bild nicht lädt. */
.frame__ph {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center;
  color: var(--border-strong);
}

/* =============================================================================
   Vorteile
   ============================================================================= */
.benefits {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px; margin-top: 34px;
}
.benefit { display: flex; gap: 13px; align-items: flex-start; }
.benefit__check {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; margin-top: 2px;
  border-radius: var(--radius);
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid var(--accent-line);
}
.benefit__check svg { width: 14px; height: 14px; }
.benefit h3 { font-size: 15.5px; margin-bottom: 4px; }
.benefit p { font-size: 14.5px; color: var(--text-muted); }

/* =============================================================================
   Lizenzen
   ============================================================================= */
.pricing-note {
  max-width: 78ch; margin-top: 16px;
  font-size: 14.5px; color: var(--text-muted);
}
.pricing-note strong { color: var(--text-strong); font-weight: 600; }

/* Freigabe-Schalter (script.js): ohne Freigabe - oder ohne JavaScript - ist
   das Pilotangebot unsichtbar. Sicher im Zweifel: aus. */
html:not(.freigabe-pilot) [data-freigabe="pilot"] { display: none !important; }
html.freigabe-pilot [data-ohne="pilot"] { display: none !important; }

/* Dezente Rueckmeldung beim Zeigen - kein Hüpfen, nur ein spuerbares Anheben. */
.btn { transition: background-color .15s var(--ease), border-color .15s var(--ease),
       color .15s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px -4px rgba(15, 21, 34, .22); }
.btn:active { transform: translateY(0); box-shadow: none; }
.plan, .card, .card-soft, .shot__box {
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.plan:hover, .card:hover, .card-soft:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-raised); border-color: var(--accent-line);
}
.faq__q { transition: color .15s var(--ease); }
.faq__q:hover { color: var(--accent); }

/* Kostenlose Testpruefung - steht vor den Tarifen, weil sie fuer Neue der
   erste Schritt ist. */
.trial {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin: 28px 0 8px; padding: 24px 28px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-left: 4px solid var(--accent); border-radius: var(--radius-lg);
}
.trial h3 { font-family: var(--font-head); font-size: 21px; color: var(--text-strong); margin: 4px 0 8px; }
.trial p { margin: 0; max-width: 68ch; font-size: 15px; color: var(--text); }
.trial__tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.trial .btn { flex-shrink: 0; }
@media (max-width: 760px) {
  .trial { flex-direction: column; align-items: flex-start; padding: 20px; }
  .trial .btn { width: 100%; }
}

.plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin-top: 34px; align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.plan--featured {
  border-color: var(--accent);
  border-top: 3px solid var(--accent);
}
.plan__tag {
  position: absolute; top: 0; right: 16px;
  transform: translateY(-50%);
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent); color: #fff;
  border-radius: 3px; padding: 3px 8px;
}
.plan h3 { font-size: 17px; }
.plan__for { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.plan__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
  margin: 18px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.plan__price .amount {
  font-family: var(--font-head); font-size: 30px; font-weight: 700;
  color: var(--text-strong); letter-spacing: -0.02em; line-height: 1.1;
}
.plan__price .per { font-size: 13px; color: var(--text-muted); }
.plan__list { display: grid; gap: 10px; margin: 18px 0 22px; flex: 1; }
.plan__list li {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px;
}
.plan__list svg {
  width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--success);
}

/* =============================================================================
   FAQ
   ============================================================================= */
.faq {
  margin-top: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq__item + .faq__item { border-top: 1px solid var(--border); }
.faq__item h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left;
  padding: 16px 20px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 15.5px; font-weight: 600;
  color: var(--text-strong);
}
.faq__q:hover { background: var(--surface-2); }
.faq__q svg {
  width: 17px; height: 17px; flex: none; color: var(--text-muted);
  transition: transform .18s var(--ease);
}
.faq__item[data-open="true"] .faq__q svg { transform: rotate(180deg); }
.faq__a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14.5px; color: var(--text-muted); max-width: 82ch;
}
.faq__item[data-open="true"] .faq__a { display: block; }

/* =============================================================================
   Abschluss-Aufruf
   ============================================================================= */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-banner h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.cta-banner p {
  color: var(--text-muted); margin-top: 10px;
  max-width: 58ch; margin-inline: auto;
}
.cta-banner .hero__cta { justify-content: center; }

/* =============================================================================
   Fußzeile
   ============================================================================= */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 44px 0 24px;
  margin-top: 20px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px;
}
.footer__brandcol p {
  font-size: 13.5px; color: var(--text-muted); margin-top: 12px; max-width: 42ch;
}
.footer h4 {
  font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px; font-weight: 600;
}
.footer nav ul, .footer div > ul { display: grid; gap: 8px; }
.footer a { font-size: 14px; color: var(--text); }
.footer a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  justify-content: space-between;
  margin-top: 34px; padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-muted);
}

/* =============================================================================
   Berichtsausschnitte

   Dieselben Bausteine wie im Programm: Kopfleiste mit Zustand, Feldraster,
   Urteilskarte mit Messlatte, Feststellungstabelle mit Schweregrad-Kante.
   Wer die Seite und danach die App sieht, erkennt dieselbe Oberflaeche.
   ============================================================================= */
.shot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.5;
}
.shot__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 13px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.shot__cap {
  font-size: 10px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
}
.shot__state {
  font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 700; padding: 2px 7px; border-radius: 3px; border: 1px solid;
  color: var(--warn); background: #FDF5E7; border-color: #EEDCBD;
  white-space: nowrap;
}
.shot__state.is-ok { color: var(--success); background: #EAF4EF; border-color: #C8E1D5; }

/* ---- Feldraster des Prüfauftrags ---- */
.shot__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 -1px -1px 0; padding: 0; overflow: hidden;
}
.shot__grid > div {
  padding: 8px 13px; min-width: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.shot__grid > div.is-wide { grid-column: span 2; }
.shot__grid dt {
  font-size: 9px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600; margin-bottom: 2px;
}
.shot__grid dd {
  margin: 0; font-size: 12.5px; color: var(--text-strong); font-weight: 500;
  overflow-wrap: anywhere;
}
.shot__grid dd.is-mono {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--accent);
}

/* ---- Urteilskarte ---- */
.shot__verdict {
  display: flex; align-items: center; gap: 20px;
  padding: 14px 13px;
  border-bottom: 1px solid var(--border);
}
.shot__num {
  font-family: var(--font-head); font-size: 30px; font-weight: 700;
  color: var(--danger); line-height: 1; letter-spacing: -0.02em;
  flex: none;
}
.shot__num sup { font-size: 14px; font-weight: 600; margin-left: 1px; }
.shot__meter { flex: 1; min-width: 0; }
.shot__meter b { display: block; font-size: 13.5px; color: var(--text-strong); }
.shot__track {
  display: block; position: relative;
  height: 6px; margin: 8px 0 6px;
  background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 3px;
}
.shot__track i { display: block; height: 100%; background: var(--danger); }
.shot__track u {
  position: absolute; top: -3px; bottom: -3px; width: 1px;
  background: var(--text-muted);
}
.shot__meter em {
  font-style: normal; font-size: 11px; color: var(--text-muted);
}

/* ---- Feststellungstabelle ---- */
/* Karten mit Tabelle duerfen notfalls in sich scrollen - eine Tabelle, die
   aus ihrer Karte in den Text daneben laeuft, ist ein sichtbarer Fehler. */
/* Nur die breite Massnahmentabelle braucht das - beim Berichtskopf erzeugte
   die Regel eine sichtbare Bildlaufleiste ohne Not. */
.shot:has(.shot__table.is-plan) { overflow-x: auto; }
.shot__table { border-collapse: collapse; width: 100%; }
.shot__table th {
  background: var(--surface-2); border-bottom: 1px solid var(--border);
  font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600; text-align: left;
  padding: 7px 11px; white-space: nowrap;
}
.shot__table td {
  padding: 9px 11px; vertical-align: top; font-size: 12.5px;
  color: var(--text-strong);
}
.shot__table tbody tr + tr td { border-top: 1px solid var(--border); }
.shot__table td.sev { border-left: 3px solid transparent; padding-left: 8px; }
.shot__table tr.is-major td.sev { border-left-color: var(--danger); }
.shot__table tr.is-minor td.sev { border-left-color: var(--warn); }
.shot__table td b { display: block; font-weight: 600; }
.shot__table td > span { display: block; color: var(--text-muted); font-size: 12px; }
.shot__clause {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  background: var(--accent-soft); border-radius: 3px; padding: 1px 5px;
  white-space: nowrap;
}
.shot__pill {
  display: inline-block; font-size: 10.5px; font-weight: 600;
  padding: 2px 6px; border-radius: 3px; border: 1px solid; white-space: nowrap;
}
.shot__pill.is-major { color: var(--danger); background: #FCEEED; border-color: #F0CFCC; }
.shot__pill.is-minor { color: var(--warn); background: #FDF5E7; border-color: #EEDCBD; }
.shot__ev {
  margin-top: 5px; padding-left: 8px;
  border-left: 2px solid var(--accent-soft);
  color: var(--text-strong) !important; font-size: 11.5px !important;
}
.shot__ev i {
  font-style: normal; font-size: 9px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 600;
  margin-right: 5px;
}
.shot__ev.is-none { color: var(--text-muted) !important; font-style: italic; }

/* ---- Maßnahmenplan ---- */
.shot__table.is-plan td, .shot__table.is-plan th { padding: 7px 9px; font-size: 11.5px; }
.shot__table.is-plan td { color: var(--text); white-space: normal; }
.shot__box {
  display: inline-grid; place-items: center;
  width: 13px; height: 13px; border-radius: 2px;
  border: 1px solid var(--border-strong); background: var(--surface);
  font-size: 9px; color: transparent;
}
.shot__box.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---- Kapitelübersicht ---- */
.shot__chapters { padding: 4px 0; }
.shot__chapters > div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto 42px;
  grid-template-areas: "no nm st vl" "br br br br";
  align-items: center; gap: 2px 10px;
  padding: 8px 13px;
}
.shot__chapters > div + div { border-top: 1px solid var(--border); }
.shot__chapters .no {
  grid-area: no; font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted);
}
.shot__chapters .nm { grid-area: nm; font-size: 12.5px; color: var(--text-strong); }
.shot__chapters .st { grid-area: st; font-size: 11px; font-weight: 600; }
.shot__chapters .vl {
  grid-area: vl; font-family: var(--font-mono); font-size: 11.5px;
  text-align: right; color: var(--text-strong);
}
.shot__chapters .br {
  grid-area: br; display: block; height: 3px; margin-top: 4px;
  background: var(--surface-2); border-radius: 2px;
}
.shot__chapters .br i { display: block; height: 100%; border-radius: 2px; }
.shot__chapters .is-major { color: var(--danger); }
.shot__chapters .is-minor { color: var(--warn); }
.shot__chapters .is-note  { color: var(--text-muted); }
.shot__chapters i.is-major { background: var(--danger); }
.shot__chapters i.is-minor { background: var(--warn); }
.shot__chapters i.is-note  { background: var(--border-strong); }

/* ---- Prüfvermerk ---- */
.shot__signoff {
  padding: 14px 13px;
  border-left: 3px solid var(--success);
  margin: 12px 13px;
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.shot__signoff b { display: block; font-size: 12.5px; color: var(--text-strong); }
.shot__signoff span { font-size: 11.5px; color: var(--text-muted); }
.shot__files {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 0 13px 14px;
}
.shot__files span {
  font-size: 11px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  border-radius: 3px; padding: 3px 9px;
}

/* ---- Dokumententwurf ---- */
.shot__doc { padding: 16px 18px; }
.shot__doc h4 {
  font-size: 15px; margin-bottom: 8px;
  padding-bottom: 6px; border-bottom: 1px solid var(--border);
}
.shot__doc p { font-size: 12.5px; color: var(--text); margin-bottom: 10px; }
.shot__doc p.dim { color: var(--text-muted); font-size: 11.5px; margin-bottom: 0; }

@media (max-width: 620px) {
  .shot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot__table.is-plan { font-size: 10.5px; }
  .shot { font-size: 12px; }
}

/* =============================================================================
   Einblenden beim Scrollen — sehr zurückhaltend
   ============================================================================= */
/* Der Inhalt ist standardmaessig SICHTBAR. Erst wenn das Skript laeuft und
   den Beobachter eingerichtet hat, setzt es die Marke am <html>-Element und
   die Abschnitte blenden sich ein. Ohne diese Umkehrung bleibt die Seite
   leer, sobald das Skript nicht laedt oder der Beobachter einen Sprung ins
   Seitenmitte verpasst - genau das ist beim Testen passiert. */
.reveal { transition: opacity .45s var(--ease), transform .45s var(--ease); }
/* Sanftes Einblenden, aber nie unsichtbar: Bildschirmfotos und langsame
   Handys sahen bei Deckkraft 0 leere Abschnitte. */
.js-reveal .reveal { opacity: .55; transform: translateY(12px); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* =============================================================================
   Schmale Fenster
   ============================================================================= */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__inner { max-width: none; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan--featured { order: -1; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .showcase__row,
  .showcase__row.reverse { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* Auf schmalen Fenstern steht der Text immer über dem Bild. */
  .showcase__row.reverse .showcase__text { order: 1; }
  .showcase__row.reverse .showcase__media { order: 2; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .section { padding: 48px 0; }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero__cta .btn { width: 100%; }
  .cta-banner { padding: 28px 20px; }
  .plan__price .amount { font-size: 26px; }
}

/* =============================================================================
   Druck
   ============================================================================= */
@media print {
  .site-header, .mobile-nav, .hero__cta, .cta-banner, .nav__toggle { display: none; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
