/* GAEB Pro — gaeb-pro.de
   Gestaltungslinie „Blaupause & Baustellendokument":
   Navy-Blueprint mit feinem Raster, Inhalte auf Papierbögen,
   Orange als Kran-Akzent, Monospace für OZ und GAEB-Kürzel. */

/* ---------- Schriften (selbst gehostet, DSGVO-sauber) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plexmono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/plexmono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- Token ---------- */
:root {
  --navy-950: #0b1c2c;
  --navy-900: #0e2236;
  --navy-800: #14304a;
  --navy-700: #1e4668;
  --ink: #16344e;
  --ink-soft: #3d5a75;
  --paper: #f7f9fb;
  --paper-warm: #edf2f7;
  --card: #ffffff;
  --line: #d4dde6;
  --orange: #e0791a;
  --orange-bright: #f7a82d;
  --orange-deep: #c2660f;
  --grid-line: rgba(255, 255, 255, 0.05);
  --grid-major: rgba(255, 255, 255, 0.075);
  --sans: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(14, 34, 54, 0.06), 0 12px 32px -12px rgba(14, 34, 54, 0.18);
  --shadow-sheet: 0 2px 6px rgba(11, 28, 44, 0.25), 0 32px 64px -24px rgba(11, 28, 44, 0.55);
  --maxw: 1120px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.blueprint {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(var(--grid-major) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--grid-major) 1.5px, transparent 1.5px),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 256px 256px, 256px 256px, 64px 64px, 64px 64px;
}

/* ---------- Header ---------- */
header.site {
  position: relative;
  z-index: 5;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Nur vertikal: die Kurzform padding: 22px 0 wuerde das horizontale
     Padding aus .wrap ueberschreiben (Logo klebte mobil am Rand). */
  padding-block: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { color: rgba(255, 255, 255, 0.82); }
.nav-links a:hover { color: #fff; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { color: #fff; overflow: hidden; position: relative; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 104px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.022em;
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange-bright);
}
.hero .lede {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34em;
  margin: 0 0 34px;
  font-weight: 400;
}
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.badge-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(224, 121, 26, 0.65);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.badge-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(224, 121, 26, 0.8);
}
.badge-store svg { flex: none; }
.cta-note {
  font-family: var(--mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
}
/* Verweis auf den Rundgang unter dem App-Store-Knopf */
.watch-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  font-size: 16px;
}
.watch-link span { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--orange-bright); }
.watch-link:hover { color: #fff; text-decoration: none; }
.watch-link:hover svg { color: var(--orange-bright); }

/* Hero-Einstiegsanimation */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .rise-1 { animation-delay: 0.05s; }
  .rise-2 { animation-delay: 0.15s; }
  .rise-3 { animation-delay: 0.25s; }
  .rise-4 { animation-delay: 0.35s; }
  .rise-5 { animation-delay: 0.3s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- LV-Blatt (Hero-Visual, reines CSS) ---------- */
.lv-stage { position: relative; }
.lv-sheet {
  background: var(--card);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-sheet);
  transform: rotate(-1.6deg);
  overflow: hidden;
  position: relative;
}
.lv-sheet::before {           /* Eselsohr */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 44px; height: 44px;
  background: linear-gradient(225deg, var(--navy-900) 50%, #c7d4e1 50.5%);
}
.lv-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 18px 22px 14px;
  border-bottom: 2px solid var(--ink);
}
.lv-title { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.lv-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding-right: 30px;
}
.lv-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.lv-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--paper-warm);
  white-space: nowrap;
}
.lv-table td:first-child { padding-left: 18px; }
.lv-table td:last-child { padding-right: 18px; }
.lv-table .oz { font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); }
.lv-table .txt { white-space: normal; min-width: 9em; font-weight: 500; }
.lv-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.lv-table .unit { color: var(--ink-soft); font-size: 12.5px; }
/* Streifen als Schatten der ersten Zelle: ein ::before an der Tabellenzeile
   legt Chrome als zusätzliche Zelle an und verschiebt die ganze Zeile. */
.lv-row-alert { background: rgba(224, 121, 26, 0.07); }
.lv-row-alert td:first-child { box-shadow: inset 3px 0 0 rgba(224, 121, 26, 0.6); }
.lv-row-alert .missing {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--orange-deep);
}
.lv-sum td {
  border-bottom: none;
  border-top: 2px solid var(--ink);
  font-weight: 800;
  padding-top: 13px;
  padding-bottom: 16px;
}
.lv-sum .num { font-size: 14px; }
.lv-chip {
  position: absolute;
  bottom: -18px;
  left: 26px;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(11, 28, 44, 0.6);
  transform: rotate(-1.6deg);
}
.lv-chip b { color: var(--orange-bright); font-weight: 500; }
.icon-float {
  position: absolute;
  top: -26px;
  right: -14px;
  width: 92px;
  height: 92px;
  border-radius: 22.37%;
  box-shadow: 0 16px 40px -10px rgba(11, 28, 44, 0.7);
  transform: rotate(2.5deg);
}

/* ---------- Formatband ---------- */
.tape {
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
}
.tape span { padding: 0 14px; opacity: 0.92; }

/* ---------- App-Screenshots ---------- */
.shot { margin: 0; position: relative; }
/* width + height: auto — die width/height-Attribute dienen nur als
   Platzhalter; ohne height: auto würde das Bild beim Verkleinern verzerrt. */
.shot img { width: 100%; height: auto; }
.shot-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(11, 28, 44, 0.08), 0 36px 72px -28px rgba(11, 28, 44, 0.35);
}
.shot-bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; }
.shot-bar i:nth-child(1) { background: #f2635a; }
.shot-bar i:nth-child(2) { background: #f5bd4f; }
.shot-bar i:nth-child(3) { background: #61c454; }

/* Rundgang: Video im gleichen Rahmen wie das Hauptbild, ohne Fensterleiste.
   Der Abschnitt geht ohne vollen Abstand in „Ein Blick in GAEB Pro“ über. */
section.rundgang { padding-bottom: 24px; }
.video-frame { position: relative; background: var(--navy-900); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy-900); }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px 16px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: 700 17px/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(224, 121, 26, 0.8);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.video-play[hidden] { display: none; }
.video-play span { font-family: var(--mono); font-weight: 500; font-size: 14px; opacity: 0.85; }
.video-play:hover { transform: translate(-50%, calc(-50% - 2px)); box-shadow: 0 16px 34px -8px rgba(224, 121, 26, 0.9); }
.video-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Chip am Hauptbild, gleiche Machart wie der GAEB-Prüfungs-Chip im Hero */
.shot-chip {
  position: absolute;
  bottom: -16px;
  left: 26px;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(11, 28, 44, 0.6);
}
.shot-chip b { color: var(--orange-bright); font-weight: 500; }
/* Am Video oben, sonst läge der Chip über der Bedienleiste des Players */
.shot-chip.chip-top { top: -16px; bottom: auto; z-index: 1; }

/* Detail-Collage: links zwei breite Ausschnitte, rechts der Import-Dialog */
.shot-mosaic {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 18px;
  margin-top: 44px;
  align-items: start;
}
.mosaic-col {
  display: grid;
  gap: 18px;
  align-content: start;
}
/* Rechnungen: volle Breite unter der Collage, damit die Beträge lesbar bleiben */
.shot-wide { margin-top: 44px; }
.detail-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.detail-chip {
  position: absolute;
  top: -11px;
  left: 16px;
  z-index: 1;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(194, 102, 15, 0.55);
}

/* ---------- Abschnitte ---------- */
section.block { padding: 88px 0; }
.block-head { max-width: 640px; margin-bottom: 52px; }
.block h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.block .sub { font-size: 18px; color: var(--ink-soft); margin: 0; }

/* Funktionen */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(14, 34, 54, 0.06), 0 20px 44px -16px rgba(14, 34, 54, 0.26);
}
.feature .no {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--orange-deep);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}
.feature h3 { font-size: 18.5px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.feature p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ---------- Preis ---------- */
.pricing { background: var(--paper-warm); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  gap: 18px;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.price-card.featured { border: 2px solid var(--orange); }
.price-card .plan { font-weight: 700; font-size: 17px; }
.price-card .price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0 2px;
  font-variant-numeric: tabular-nums;
}
.price-card .per { color: var(--ink-soft); font-size: 14.5px; }
.save-badge {
  position: absolute;
  top: -13px;
  right: 20px;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 46em;
}
.price-note .fine { font-family: var(--mono); font-size: 12px; display: block; margin-top: 8px; }

/* ---------- Footer ---------- */
footer.site {
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 40px;
  font-size: 14.5px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; }
.foot-brand img { width: 28px; height: 28px; border-radius: 7px; }
.foot-col p { margin: 10px 0 0; max-width: 30em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-links a { color: rgba(255, 255, 255, 0.75); }
.foot-links a:hover { color: #fff; }
.foot-legal {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Rechtsseiten ---------- */
.doc-hero { color: #fff; padding-bottom: 64px; }
.doc-hero .eyebrow { margin-top: 40px; }
.doc-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.doc-sheet {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  padding: 48px 52px;
  margin: -36px auto 88px;
  max-width: 820px;
  position: relative;
}
.doc-sheet h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.doc-sheet h2:first-child { margin-top: 0; }
.doc-sheet h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.doc-sheet p, .doc-sheet li { font-size: 16px; line-height: 1.7; color: #2b455c; }
.doc-sheet .addr { line-height: 1.7; font-style: normal; }
.doc-sheet .stand {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--paper-warm);
}

/* ---------- Ratgeber (ratgeber/) ---------- */
/* Kopf: Brotkrümel, Rubrik, Überschrift, Stand. Der Artikel steht auf
   demselben Papierbogen wie die Rechtsseiten, nur mit größerer Schrift. */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}
.crumbs a { color: rgba(255, 255, 255, 0.78); }
.crumbs a:hover { color: #fff; }
.doc-hero .crumbs + .eyebrow { margin-top: 22px; }
.article-hero h1 { max-width: 19em; line-height: 1.12; }
.article-meta {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.doc-sheet.article { padding: 52px 60px 56px; margin-bottom: 64px; }
.doc-sheet.article p, .doc-sheet.article li { font-size: 17px; line-height: 1.75; }
.doc-sheet.article p.lead { font-size: 19px; line-height: 1.65; color: var(--ink); }
.doc-sheet.article h2 { font-size: 25px; line-height: 1.25; letter-spacing: -0.015em; margin: 52px 0 14px; }
.doc-sheet.article h3 { font-size: 18.5px; margin: 32px 0 8px; }
.doc-sheet.article ul, .doc-sheet.article ol { padding-left: 1.3em; }
.doc-sheet.article li + li { margin-top: 6px; }
.doc-sheet.article strong { color: var(--ink); }

/* Bilder aus der App im selben Rahmen wie auf der Startseite */
.article figure { margin: 34px 0 38px; }
.article figure.narrow { max-width: 440px; margin-left: auto; margin-right: auto; }
/* Breite App-Bilder ragen auf großen Bildschirmen in den Rand des Bogens */
@media (min-width: 761px) {
  .article figure:not(.narrow) { margin-left: -32px; margin-right: -32px; }
}
.article figure img { width: 100%; height: auto; }
.article figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Schritte, nummeriert wie Ordnungszahlen */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0 !important;
}
.steps > li {
  counter-increment: step;
  position: relative;
  margin: 0 !important;
  padding: 16px 20px 16px 66px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 17px;
  width: 34px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
}
.steps > li strong { display: block; margin-bottom: 2px; }

/* Tabellen: Formate und Begriffe */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.article table { width: 100%; border-collapse: collapse; }
.article th, .article td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px;
  border-bottom: 1px solid var(--paper-warm);
  font-size: 15px;
  line-height: 1.5;
  color: #2b455c;
}
.article th {
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.article tr:last-child td { border-bottom: 0; }
.article td.k { font-family: var(--mono); font-weight: 500; white-space: nowrap; color: var(--ink); }

/* App-Hinweis am Ende des Artikels */
.article-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 52px 0 0;
  padding: 28px 30px;
  border-radius: 16px;
  color: #fff;
}
.article-cta img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 22.37%;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.6);
}
.doc-sheet.article .article-cta h2 { margin: 0 0 6px; font-size: 21px; color: #fff; }
.doc-sheet.article .article-cta p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.article-cta .cta-row { gap: 16px; }
.article-cta .badge-store { font-size: 15px; padding: 12px 20px; }

.sources {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--paper-warm);
}
.doc-sheet.article .sources h2 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.doc-sheet.article .sources p, .doc-sheet.article .sources li { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* Artikelkarten: Übersicht, Startseite und „Weitere Artikel“ */
.guide-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
}
.guide-list.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.guide-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(14, 34, 54, 0.06), 0 20px 44px -16px rgba(14, 34, 54, 0.26);
}
.guide-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}
.guide-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.guide-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.guide-card h3 { margin: 8px 0 8px; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.guide-list.three .guide-card h3 { font-size: 17px; }
.guide-card p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.guide-more { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--orange-deep); }
.guide-page { margin-top: -36px; padding-bottom: 88px; position: relative; }
.more-articles { padding-bottom: 88px; }
.more-articles h2 { margin: 0 0 22px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }

/* ---------- Video-Seite (rundgang.html) ---------- */
.watch-lede { margin: 16px 0 0; max-width: 40em; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.watch-video { margin-top: -36px; }
.watch-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 36px; }
.watch-cta .cta-note { color: var(--ink-soft); }
.doc-sheet.transcript { margin: 48px 0 88px; max-width: none; }
.transcript-more { margin-top: 28px; font-weight: 600; }
/* Startseite: Verweis unter dem Video auf die eigene Seite */
.video-more { margin: 30px 0 0; font-size: 15px; font-weight: 600; }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  /* minmax(0, …): 1fr allein schrumpft nie unter die Min-Content-Breite
     der LV-Tabelle → Seite würde horizontal überlaufen. */
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 64px; padding-bottom: 88px; }
  .lv-stage { max-width: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  /* Neun Karten in zwei Spalten: die letzte nicht allein stehen lassen */
  .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .guide-list.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .guide-list, .guide-list.three { grid-template-columns: minmax(0, 1fr); }
  .doc-sheet.article { padding: 34px 22px 38px; }
  .doc-sheet.article p, .doc-sheet.article li { font-size: 16.5px; }
  .doc-sheet.article p.lead { font-size: 18px; }
  .doc-sheet.article h2 { font-size: 22px; margin-top: 42px; }
  .article-cta { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .steps > li { padding: 52px 16px 14px 16px; }
  .steps > li::before { left: 16px; top: 14px; }
  .shot-mosaic { grid-template-columns: 1fr; gap: 28px; }
  .mosaic-col { gap: 28px; }
  .shot-wide { margin-top: 28px; }
  .shot-chip { font-size: 11px; padding: 7px 12px; left: 16px; bottom: -14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .doc-sheet { padding: 32px 24px; margin-top: -24px; }
  /* Schmale Screens: nur OZ · Text · EP zeigen (Menge und GP ausblenden).
     Der Summenbetrag steht dafür absolut unten rechts im Blatt: mit seinem
     colspan spannte die Summenzeile sonst weiter fünf Spalten auf, die
     Textspalte wurde zu schmal und lange Wörter liefen in den EP.
     Ohne table-layout: fixed wird keine Spalte schmaler als ihr längstes Wort. */
  .lv-table { font-size: 12px; }
  .lv-table td { padding: 9px 6px; white-space: normal; }
  .lv-table td:nth-child(3), .lv-table td:nth-child(5) { display: none; }
  .lv-table td:nth-child(4) { padding-right: 18px; }
  .lv-table .txt { min-width: 0; }
  /* Mehr Luft unter der Summe: der Prüfungs-Chip ragt von unten ins Blatt */
  .lv-sum td { padding-top: 13px; padding-bottom: 24px; }
  .lv-sum .num { position: absolute; right: 0; bottom: 0; border-top: 0; }
  /* Chip von oben verankert (gleiche Lage wie bottom: -18px): bricht sein
     Text um, wächst er nach unten statt über die Summe. */
  .lv-chip { top: calc(100% - 19px); bottom: auto; }
  .lv-sheet { transform: rotate(-1deg); }
  .icon-float { width: 72px; height: 72px; top: -20px; right: -6px; }
  section.block { padding: 64px 0; }
  section.rundgang { padding-bottom: 16px; }
  .video-play { font-size: 15px; padding: 12px 18px 12px 14px; gap: 8px; }
  .video-play svg { width: 18px; height: 18px; }
}
@media (max-width: 480px) {
  /* Kopf des LV-Blatts untereinander, rechts frei für das App-Icon */
  .lv-head { flex-direction: column; gap: 4px; padding-right: 80px; }
  .lv-tag { padding-right: 0; }
  /* Abspielknopf kleiner, damit er auch in 320 px einzeilig bleibt */
  .video-play { font-size: 14px; padding: 10px 16px 10px 12px; }
}
