/* ==========================================================================
   Der Vermeider-Code — Design System
   Farbwelt und Bildsprache direkt vom Buchcover abgeleitet:
   Petrol-Tiefe, Cyan-Naht, Mint-Akzent, schwere geometrische Headlines.
   Dark-first, eine Theme-Ebene (Cover-Treue schlaegt Theme-Vielfalt).
   ========================================================================== */

/* ---------- Fonts (self-hosted, kein externer Request, DSGVO-konform) ---- */
@font-face {
  font-family: 'VC Display';
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'VC Text';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens --------------------------------------------------------- */
:root {
  /* Cover-Palette */
  --deep: #062730;
  --deep-2: #04191f;
  --deep-3: #0a3340;
  --petrol: #0e5a69;
  --petrol-soft: #123f4b;
  --cyan: #4fd3e4;
  --cyan-dim: #2ea9bc;
  --mint: #8fd8e2;
  --ink: #eaf6f8;
  --ink-soft: #c2d9de;
  --muted: #93b2ba;
  --line: rgba(143, 216, 226, 0.16);
  --line-strong: rgba(143, 216, 226, 0.3);

  /* Typo */
  --f-display: 'VC Display', 'Montserrat', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, sans-serif;
  --f-text: 'VC Text', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Rhythmus */
  --measure: 68ch;
  --shell: 1200px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Tiefe */
  --glow: 0 0 60px rgba(79, 211, 228, 0.18);
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Der Cover-Glow: radialer Schein hinter dem oberen Seitenbereich */
body::before {
  content: '';
  position: fixed;
  inset: -20vh 0 auto 0;
  height: 90vh;
  background:
    radial-gradient(60% 55% at 50% 30%, rgba(14, 90, 105, 0.55) 0%, rgba(6, 39, 48, 0) 70%),
    radial-gradient(35% 30% at 50% 22%, rgba(79, 211, 228, 0.12) 0%, rgba(6, 39, 48, 0) 75%);
  pointer-events: none;
  z-index: 0;
}

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

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.05rem); margin-top: 2.6em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); font-weight: 700; margin-top: 2em; }
h4 { font-size: 1.08rem; font-weight: 700; margin-top: 1.6em; }
h2:first-child, h3:first-child { margin-top: 0; }

p { margin: 0 0 1.15em; }
strong { color: #fff; font-weight: 600; }
em { color: var(--mint); font-style: italic; }

a {
  color: var(--cyan);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  border-bottom: 1px solid rgba(79, 211, 228, 0.35);
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
a:hover { color: #fff; border-color: var(--cyan); }
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}

ul, ol { margin: 0 0 1.3em; padding-left: 1.35em; }
li { margin-bottom: .55em; }
li::marker { color: var(--cyan-dim); }

blockquote { margin: 0; }
hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  background: rgba(143, 216, 226, .1);
  padding: .15em .4em;
  border-radius: 4px;
}

.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-link {
  position: absolute; top: -100%; left: 1rem; z-index: 100;
  background: var(--cyan); color: var(--deep-2); padding: .7rem 1.2rem;
  border: 0; border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 0; }

/* ---------- Shell -------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 25, 31, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .shell {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: #fff;
  border: 0;
  text-transform: uppercase;
  flex-shrink: 0;
}
.brand:hover { color: var(--mint); }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__sub { color: var(--cyan); }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.nav a {
  border: 0;
  color: var(--ink-soft);
  font-size: .935rem;
  font-weight: 500;
  padding: .5rem .7rem;
  border-radius: var(--r-sm);
}
.nav a:hover, .nav a[aria-current='page'] {
  color: #fff;
  background: rgba(143, 216, 226, .1);
}
.nav a[aria-current='page'] { color: var(--mint); }

.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: .45rem .7rem;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: var(--deep-2);
    border-bottom: 1px solid var(--line);
    padding: .6rem clamp(1.1rem, 4vw, 2.5rem) 1.1rem;
    margin: 0;
  }
  .nav[hidden] { display: none; }
  .nav a { padding: .7rem .5rem; font-size: 1rem; }
}

/* Sprachwahl */
.langs { display: flex; gap: .25rem; align-items: center; }
.langs a {
  border: 0; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); padding: .3rem .42rem;
  border-radius: 5px;
}
.langs a:hover { color: #fff; background: rgba(143, 216, 226, .12); }
.langs a[aria-current='true'] { color: var(--deep-2); background: var(--mint); }

/* ---------- Hero --------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
}
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); }
.hero__lead {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: 2rem;
}
.hero__cover {
  border-radius: var(--r-md);
  box-shadow: var(--shadow), var(--glow);
  border: 1px solid var(--line-strong);
  margin-inline: auto;
  max-width: 340px;
  width: 100%;
}

/* Eyebrow / Pill — die Mint-Pille vom Cover */
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--mint); color: #06272f;
  font-family: var(--f-display); font-weight: 800;
  font-size: .74rem; letter-spacing: .09em; text-transform: uppercase;
  padding: .42rem .95rem; border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}
.pill--ghost {
  background: transparent; color: var(--mint);
  border: 1px solid var(--line-strong);
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-display); font-weight: 800; font-size: .97rem;
  letter-spacing: -0.01em;
  padding: .95rem 1.6rem; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer;
  text-align: center; line-height: 1.2;
  transition: transform .14s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--cyan); color: #04191f;
  box-shadow: 0 10px 30px -12px rgba(79, 211, 228, .75);
}
.btn--primary:hover { background: #6fe0ee; color: #04191f; box-shadow: 0 16px 40px -14px rgba(79, 211, 228, .9); }
.btn--ghost {
  background: rgba(143, 216, 226, .07); color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(143, 216, 226, .14); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ---------- Die Naht: Divider-Motiv vom Cover ---------------------------- */
.seam {
  position: relative; height: 1px; margin: clamp(3rem, 7vw, 5rem) 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}
.seam::after {
  content: ''; position: absolute; left: 50%; top: -14px;
  width: 2px; height: 29px; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px 3px rgba(79, 211, 228, .55);
  border-radius: 2px;
}

/* ---------- Artikel-Layout ---------------------------------------------- */
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 4rem;
}
@media (min-width: 1080px) {
  .article-shell { grid-template-columns: minmax(0, 1fr) 260px; }
  .article-shell > .toc { order: 2; }
  .article-shell > article { order: 1; }
}
/* min-width: 0 ist Pflicht — sonst zwingt die min-width der Tabellen
   das Grid-Item auf seine min-content-Breite und die Seite laeuft ueber. */
.article-shell > * { min-width: 0; }
/* Seiten ohne Inhaltsverzeichnis: keine 260px-Spalte reservieren */
.article-shell.article-shell--single { grid-template-columns: minmax(0, 1fr); }

.article { max-width: var(--measure); min-width: 0; }
.article > * { max-width: var(--measure); }

.crumbs {
  font-size: .84rem; color: var(--muted); margin: 1.75rem 0 1.25rem;
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  list-style: none; padding: 0;
}
.crumbs li { margin: 0; display: flex; gap: .4rem; align-items: center; }
.crumbs li + li::before { content: '/'; color: rgba(147, 178, 186, .5); }
.crumbs a { color: var(--muted); border: 0; }
.crumbs a:hover { color: var(--mint); }

.meta {
  display: flex; flex-wrap: wrap; gap: .35rem 1.1rem;
  font-size: .845rem; color: var(--muted);
  padding-bottom: 1.6rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.meta a { color: var(--muted); }
.meta strong { color: var(--ink-soft); font-weight: 500; }

.lead {
  font-size: clamp(1.1rem, 2.1vw, 1.24rem);
  line-height: 1.62; color: var(--ink-soft); font-weight: 400;
  margin-bottom: 2rem;
}

/* ---------- GEO/AEO-Bausteine ------------------------------------------- */

/* Der Antwort-Chunk: 40-60 Woerter direkt unter der H2, extrahierbar */
.answer {
  background: linear-gradient(180deg, rgba(14, 90, 105, .4), rgba(14, 90, 105, .22));
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.15rem 1.35rem;
  margin: 0 0 1.75rem;
  font-size: 1.035rem;
}
.answer > *:last-child { margin-bottom: 0; }
.answer__label {
  display: block; font-family: var(--f-display); font-weight: 800;
  font-size: .7rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--mint); margin-bottom: .45rem;
}

/* Definitionsbox — fuettert Featured Snippets und LLM-Zitate */
.def {
  background: rgba(4, 25, 31, .6);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 1.3rem 1.45rem;
  margin: 2rem 0;
}
.def dt {
  font-family: var(--f-display); font-weight: 800; color: #fff;
  font-size: 1.05rem; margin-bottom: .4rem;
}
.def dd { margin: 0; color: var(--ink-soft); }
.def dd + dt { margin-top: 1.1rem; }

/* Hinweis / Disclaimer */
.note {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  margin: 2rem 0;
  font-size: .95rem; color: var(--ink-soft);
  background: rgba(143, 216, 226, .04);
}
.note strong { color: var(--mint); }
.note > *:last-child { margin-bottom: 0; }

/* Buchzitat mit Cyan-Naht */
.pull {
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-family: var(--f-display);
  font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.42rem);
  line-height: 1.42; letter-spacing: -0.02em; color: #fff;
}
.pull::before {
  content: ''; position: absolute; left: 0; top: .25em; bottom: .25em;
  width: 2px; background: linear-gradient(180deg, transparent, var(--cyan) 15%, var(--cyan) 85%, transparent);
  box-shadow: 0 0 14px 2px rgba(79, 211, 228, .4);
}
.pull cite {
  display: block; font-family: var(--f-text); font-style: normal;
  font-size: .87rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0; margin-top: .7rem;
}

/* Tabellen — immer horizontal scrollbar in eigenem Container */
.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  -webkit-overflow-scrolling: touch;
}
table { border-collapse: collapse; width: 100%; font-size: .945rem; min-width: 34rem; }
th, td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th {
  background: rgba(14, 90, 105, .45);
  font-family: var(--f-display); font-weight: 800; font-size: .8rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--mint);
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(143, 216, 226, .04); }
td strong { color: #fff; }

/* Nummerierte Schritte */
.steps { list-style: none; padding: 0; counter-reset: s; margin: 2rem 0; }
.steps > li {
  counter-increment: s;
  position: relative;
  padding-left: 3.1rem;
  margin-bottom: 1.5rem;
}
.steps > li::before {
  content: counter(s);
  position: absolute; left: 0; top: -.1rem;
  width: 2.15rem; height: 2.15rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(79, 211, 228, .12);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-family: var(--f-display); font-weight: 800; font-size: .95rem;
}
.steps h3, .steps h4 { margin-top: 0; margin-bottom: .35rem; }

/* Checkliste / Anzeichen */
.checks { list-style: none; padding: 0; margin: 2rem 0; }
.checks > li {
  position: relative; padding-left: 1.9rem; margin-bottom: .85rem;
}
.checks > li::before {
  content: ''; position: absolute; left: .1rem; top: .62em;
  width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 1px rgba(79, 211, 228, .6);
}

/* Zwei-Spalten-Gegenüberstellung (falsch / richtig) */
.compare { display: grid; gap: 1rem; margin: 2rem 0; }
@media (min-width: 680px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__box {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.15rem 1.25rem; background: rgba(4, 25, 31, .45);
}
.compare__box h4 { margin: 0 0 .6rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.compare__box--no { border-color: rgba(226, 122, 122, .3); }
.compare__box--no h4 { color: #e79191; }
.compare__box--yes { border-color: rgba(143, 216, 226, .38); }
.compare__box--yes h4 { color: var(--mint); }
.compare__box p:last-child { margin-bottom: 0; }
.compare__box p { font-size: .97rem; }

/* Quellen */
.sources {
  margin: 3rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.sources summary {
  cursor: pointer; font-family: var(--f-display); font-weight: 800;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint); list-style: none;
}
.sources summary::-webkit-details-marker { display: none; }
.sources summary::before { content: '▸ '; color: var(--cyan); }
.sources[open] summary::before { content: '▾ '; }
.sources ol { margin: 1.2rem 0 0; font-size: .89rem; color: var(--muted); }
.sources li { margin-bottom: .7rem; }

/* FAQ */
.faq { margin: 2rem 0; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: .7rem;
  background: rgba(4, 25, 31, .4);
}
.faq summary {
  cursor: pointer; padding: 1rem 1.2rem; list-style: none;
  font-family: var(--f-display); font-weight: 700; color: #fff;
  font-size: 1.01rem; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cyan); font-size: 1.3rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq__body { padding: 1.1rem 1.2rem; }
.faq__body > *:last-child { margin-bottom: 0; }

/* ---------- TOC ---------------------------------------------------------- */
.toc { align-self: start; }
@media (min-width: 1080px) {
  .toc { position: sticky; top: 5.75rem; max-height: calc(100vh - 8rem); overflow-y: auto; }
}
.toc__inner {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  background: rgba(4, 25, 31, .5);
  font-size: .89rem;
}
.toc__title {
  font-family: var(--f-display); font-weight: 800; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--mint);
  margin: 0 0 .8rem;
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.toc li { margin-bottom: .1rem; }
.toc a {
  border: 0; color: var(--ink-soft); display: block;
  padding: .38rem .6rem; border-radius: 6px;
  border-left: 2px solid transparent; line-height: 1.4;
}
.toc a:hover { color: #fff; background: rgba(143, 216, 226, .07); }
.toc a.is-active {
  color: var(--mint); border-left-color: var(--cyan);
  background: rgba(79, 211, 228, .08);
}

/* ---------- Karten / Artikel-Gitter ------------------------------------- */
.cards {
  display: grid; gap: 1.1rem; margin: 2rem 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.25rem 1.35rem;
  background: linear-gradient(180deg, rgba(14, 90, 105, .22), rgba(4, 25, 31, .35));
  display: flex; flex-direction: column; gap: .55rem;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card__kicker {
  font-family: var(--f-display); font-weight: 800; font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cyan);
}
.card h3 { margin: 0; font-size: 1.08rem; line-height: 1.3; }
.card h3 a { border: 0; color: #fff; }
.card h3 a:hover { color: var(--mint); }
.card p { margin: 0; font-size: .93rem; color: var(--muted); }

/* Cluster-Ueberschrift */
.cluster-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem;
  margin: 3.5rem 0 1.2rem;
}
.cluster-head h2 { margin: 0; }
.cluster-head p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Buch-CTA ---------------------------------------------------- */
.book-cta {
  margin: 3rem 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(14, 90, 105, .6), rgba(4, 25, 31, .75));
  box-shadow: var(--shadow);
  display: grid; gap: 1.6rem; align-items: center;
  max-width: none !important;
}
@media (min-width: 700px) {
  .book-cta { grid-template-columns: 150px 1fr; }
}
.book-cta__cover {
  border-radius: var(--r-sm);
  box-shadow: 0 12px 34px -14px rgba(0, 0, 0, .85);
  border: 1px solid var(--line);
}
.book-cta h2, .book-cta h3 { margin: 0 0 .5rem; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.book-cta p { color: var(--ink-soft); font-size: .98rem; }
.book-cta p:last-of-type { margin-bottom: 1.2rem; }
.book-cta__note { font-size: .82rem !important; color: var(--muted) !important; margin: .8rem 0 0 !important; }

/* Naechster-Schritt-Block */
.next {
  margin: 3rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.next__title {
  font-family: var(--f-display); font-weight: 800; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--mint);
  margin: 0 0 .9rem;
}
.next ul { list-style: none; padding: 0; margin: 0; }
.next li { margin-bottom: .6rem; padding-left: 1.4rem; position: relative; }
.next li::before {
  content: '→'; position: absolute; left: 0; color: var(--cyan); font-weight: 700;
}

/* ---------- Test / Quiz ------------------------------------------------- */
.quiz {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 2rem);
  background: rgba(4, 25, 31, .55);
  margin: 2rem 0;
}
.quiz__progress {
  height: 4px; border-radius: 2px; background: rgba(143, 216, 226, .14);
  overflow: hidden; margin-bottom: 1.6rem;
}
.quiz__bar {
  height: 100%; width: 0%; background: var(--cyan);
  box-shadow: 0 0 12px rgba(79, 211, 228, .7);
  transition: width .3s ease;
}
.quiz__count {
  font-family: var(--f-display); font-weight: 800; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--mint);
  margin-bottom: .7rem;
}
.quiz__q { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.25; margin: 0 0 1.4rem; color: #fff; }
.quiz__opts { display: grid; gap: .6rem; }
.quiz__opt {
  text-align: left; font: inherit; color: var(--ink);
  background: rgba(143, 216, 226, .05);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .95rem 1.15rem; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .12s ease;
  line-height: 1.45;
}
.quiz__opt:hover { border-color: var(--cyan); background: rgba(79, 211, 228, .09); transform: translateX(3px); }
.quiz__nav { margin-top: 1.4rem; display: flex; gap: .8rem; align-items: center; }
.quiz__back {
  background: none; border: 0; color: var(--muted); font: inherit;
  font-size: .9rem; cursor: pointer; padding: .4rem 0;
}
.quiz__back:hover { color: var(--mint); }
.quiz__result h3 { margin-top: 0; }
.quiz__badge {
  display: inline-block; background: var(--mint); color: #06272f;
  font-family: var(--f-display); font-weight: 800;
  padding: .35rem .9rem; border-radius: var(--r-pill);
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---------- Newsletter -------------------------------------------------- */
.optin {
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: radial-gradient(90% 130% at 80% 0%, rgba(14, 90, 105, .55), rgba(4, 25, 31, .7));
  margin: 3rem 0;
}
.optin h2, .optin h3 { margin-top: 0; }
.optin form { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.optin input[type='email'] {
  flex: 1 1 15rem; font: inherit; font-size: 1rem;
  background: rgba(4, 25, 31, .8); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: .9rem 1.3rem;
}
.optin input[type='email']::placeholder { color: var(--muted); }
.optin input[type='email']:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.optin__legal { font-size: .78rem; color: var(--muted); margin: 1rem 0 0; }

/* ---------- Footer ------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--deep-2);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  font-size: .92rem;
}
.site-footer .shell { display: grid; gap: 2rem; }
@media (min-width: 780px) {
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
}
.site-footer h3 {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mint); margin-bottom: .9rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--ink-soft); border: 0; }
.site-footer a:hover { color: var(--cyan); }
.site-footer p { color: var(--muted); font-size: .88rem; }
.footer-legal {
  border-top: 1px solid var(--line); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  color: var(--muted); font-size: .84rem;
}

/* ---------- Utility ----------------------------------------------------- */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack-lg > * + * { margin-top: 1.5rem; }
.full { max-width: none !important; }
/* Auf Übersichtsseiten darf das Karten-Gitter die ganze Breite nutzen */
.article.full > * { max-width: none; }
.article.full > p, .article.full > .lead { max-width: var(--measure); }
