/* Farbwelt: schwarz */
/* Farbwelt „Schwarz“, abgeleitet vom Buchcover: Schwarz als Grund, warmes
   Weiß für Schrift, ein Verlauf von Cyan über Blau nach Violett als einzige
   Farbe. Chart-Konvention auf Schwarz: Persönlichkeit Cyan, Design Violett,
   definierte Zentren Weiß. Im Druck gilt wieder Schwarz und Rot. */

:root {
  --paper: #060608;
  --paper-2: #0E0E14;
  --paper-3: #16161F;

  --ink: #F5F4F0;
  --ink-2: #C4C3CD;
  --ink-3: #8F8E9C;
  --line: #23232E;

  --cyan: #0CF1F6;
  --blue: #5CA3F4;
  --violet: #9F3BEF;
  --grad: linear-gradient(90deg, #0CF1F6 0%, #5CA3F4 50%, #9F3BEF 100%);
  --grad-soft: linear-gradient(135deg, rgba(12, 241, 246, .18), rgba(159, 59, 239, .18));

  --night: #060608;
  --night-2: #0E0E14;
  --night-ink: #F5F4F0;
  --night-ink-2: #C4C3CD;
  --night-line: #23232E;

  --accent: #0CF1F6;
  --accent-2: #5CA3F4;
  --accent-ink: #4FE6F0;
  --link: #5FE4EE;
  --accent-soft: rgba(12, 241, 246, .09);
  --btn: #F5F4F0;
  --on-btn: #060608;

  --gold: #0CF1F6;
  --gold-ink: #4FE6F0;
  --gold-soft: rgba(12, 241, 246, .09);

  --hd-p: #0CF1F6;
  --hd-d: #B35CFF;
  --bg-def: #F5F4F0;
  --bg-def-ink: #060608;

  --calm: #0CF1F6;
  --calm-ink: #7FEFF4;
  --calm-soft: rgba(12, 241, 246, .07);
  --warn-soft: #1C1708;
  --warn-line: #5A4A1E;
  --warn-ink: #E8C56B;

  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 20px 50px -20px rgba(0, 0, 0, .9);
  --glow: 0 0 0 1px rgba(12, 241, 246, .25), 0 10px 40px -10px rgba(92, 163, 244, .45);
  --radius: 12px;
  --radius-btn: 999px;
  --shell: 74rem;
  --measure: 40rem;
}

/* Human Design verstehen. Ein Stylesheet, keine Abhängigkeiten.
   Schwarz als Grund, Weiß für Schrift, ein Verlauf von Cyan nach Violett als
   einzige Farbe. Schriften selbst gehostet: Montserrat für Titel, Inter für Text.
   Die Palette steht in assets/css/themes/<name>.css und wird beim Build vorangestellt. */

@font-face { font-family: 'HD Display'; src: url('../fonts/montserrat-latin-900-normal.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'HD Display'; src: url('../fonts/montserrat-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'HD Display'; src: url('../fonts/montserrat-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'HD Display'; src: url('../fonts/montserrat-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'HD Text'; src: url('../fonts/inter-latin.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink); overflow-x: clip;
  font-family: 'HD Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand__name { font-family: 'HD Display', system-ui, sans-serif; font-weight: 800; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem); margin: 0 0 .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); margin: 2.6rem 0 .8rem; }
h3 { font-size: 1.15rem; margin: 1.9rem 0 .5rem; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
p, ul, ol { margin: 0 0 1.15rem; }
/* Hervorhebung im Titel: der Verlauf als Schriftfarbe, wie die Linie unter dem Buchtitel. */
h1 em, h2 em, .grad-text {
  font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
a {
  color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em;
  text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent);
  transition: color .14s ease, text-decoration-color .14s ease;
}
a:hover { color: var(--ink); text-decoration-color: currentColor; }
::selection { background: rgba(12, 241, 246, .25); color: var(--ink); }
strong { font-weight: 650; color: var(--ink); }
img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.shell { width: min(100% - 2.4rem, var(--shell)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: .5rem; z-index: 99; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* Lesefortschritt */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--grad); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ------------------------------------------------------------------ Kopf */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line); transition: border-color .3s ease;
}
.is-scrolled .site-header { border-bottom-color: rgba(92, 163, 244, .35); }
.site-header .shell { display: flex; align-items: center; gap: 1rem; min-height: 4.2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.brand__mark { display: block; flex: none; border-radius: 50%; }
.brand__name { font-size: 1rem; letter-spacing: .06em; white-space: nowrap; font-weight: 900; text-transform: uppercase; }
.brand__a { color: var(--ink); }
.brand__b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; letter-spacing: .12em; }
@media (max-width: 26rem) { .brand__name { font-size: .82rem; } }
.brand--foot { margin-bottom: .8rem; }

.nav { margin-left: auto; display: flex; gap: 1.4rem; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.nav a[aria-current="page"] { color: var(--ink); border-image: var(--grad) 1; border-bottom: 2px solid; }
.nav-toggle { display: none; margin-left: auto; font: inherit; font-size: .9rem; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); border-radius: 9px; padding: .45rem .85rem; cursor: pointer; }
@media (max-width: 61rem) {
  .nav-toggle { display: block; }
  .nav { position: absolute; inset: 4.2rem 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.2rem 1.2rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav[data-open="1"] { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-image: none; border-bottom: 1px solid var(--line); color: var(--cyan); }
}

/* ------------------------------------------------------------------ Hero */
.hero { padding: clamp(2.6rem, 1rem + 6vw, 5rem) 0 1.5rem; max-width: 54rem; }
.hero--slim { padding-bottom: .5rem; }
.hero .lead, .lead { font-family: 'HD Display', system-ui, sans-serif; font-weight: 300; font-size: 1.18rem; line-height: 1.6; color: var(--ink-2); max-width: var(--measure); }
.hero h1::after, .article-head h1::after { content: ""; display: block; width: 7rem; height: 3px; margin: 1.1rem 0 1.2rem; background: var(--grad); border-radius: 2px; }
.kicker { display: inline-block; font-family: 'HD Display', system-ui, sans-serif; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--cyan); margin-bottom: .8rem; }

/* Nachtflächen: auf Schwarz sind sie Flächen mit Ring und Leuchten. */
.night-band { position: relative; margin-inline: calc(50% - 50vw); background: var(--paper); color: var(--ink); overflow: hidden; isolation: isolate; }
.night-band > .shell { position: relative; z-index: 2; padding: clamp(2.6rem, 1rem + 5vw, 5rem) 0; }
.night-band::before {
  content: ""; position: absolute; z-index: 0; width: min(64rem, 120vw); aspect-ratio: 1; right: -28rem; top: 50%; translate: 0 -50%;
  background: url('../img/ring.svg') center / contain no-repeat; opacity: .5; pointer-events: none;
  animation: spin 160s linear infinite;
}
.night-band::after {
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background:
    radial-gradient(42rem 28rem at 8% 20%, rgba(12, 241, 246, .14), transparent 60%),
    radial-gradient(40rem 30rem at 92% 85%, rgba(159, 59, 239, .18), transparent 60%);
}
@media (max-width: 61rem) { .night-band::before { right: -34rem; width: 58rem; opacity: .35; } }
@keyframes spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .night-band::before { animation: none; } }
.stars { position: relative; }
.night { background: var(--paper); color: var(--ink); }

.hero-split { display: grid; gap: clamp(1.6rem, 1rem + 3vw, 3.4rem); align-items: center; }
@media (min-width: 62rem) { .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); } }
.hero-split .hero { max-width: 38rem; }

/* Erscheinen beim Scrollen */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* --------------------------------------------------------------- Knöpfe */
.btn {
  font-family: 'HD Text', system-ui, sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: var(--radius-btn); text-decoration: none; font-size: .98rem; font-weight: 700; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; position: relative;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .25s ease, transform .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn); color: var(--on-btn); }
.btn--primary:hover { background: #fff; color: var(--on-btn); box-shadow: var(--glow); transform: translateY(-1px); }
.btn--gold, .btn--grad { background: var(--grad); color: #060608; }
.btn--gold:hover, .btn--grad:hover { color: #060608; box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 12px 40px -10px rgba(12, 241, 246, .55); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink-3); background: var(--paper-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 .6rem; }
.badge { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--cyan); background: var(--accent-soft); padding: .3rem .65rem; border-radius: 999px; margin-bottom: .6rem; }
.pill { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; padding: .3rem .65rem; border-radius: 999px; background: var(--accent-soft); color: var(--cyan); }

/* Buchzeile, Cover */
.buchzeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 2rem; margin: 2.4rem 0 0; padding: 1.3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buchzeile p { margin: 0; max-width: 38rem; color: var(--ink-2); }
.buchzeile .btn-row { margin: 0; }
.cover { justify-self: center; width: min(20rem, 100%); position: relative; }
.cover::before { content: ""; position: absolute; inset: 10% -10% -10% -10%; background: var(--grad-soft); filter: blur(40px); z-index: 0; }
.cover__link { display: block; text-decoration: none; position: relative; z-index: 1; }
.cover__note { margin: .9rem 0 0; text-align: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); position: relative; z-index: 1; }
.cover img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.6), 0 30px 60px -20px rgba(0,0,0,.9); transform: rotate(-1.2deg); transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease; border: 1px solid rgba(255,255,255,.08); }
.cover__link:hover img, .cover__link:focus-visible img { transform: rotate(0deg) translateY(-6px); box-shadow: 0 2px 3px rgba(0,0,0,.6), 0 40px 80px -24px rgba(92,163,244,.5); }
@media (prefers-reduced-motion: reduce) { .cover img { transition: none; transform: none; } }
@media (max-width: 55rem) { .cover { width: min(15rem, 62%); justify-self: start; } }

/* -------------------------------------------------------------- Artikel */
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 0 3.2rem; align-items: start; padding: 2.2rem 0 3rem; }
.article-head { grid-column: 1 / -1; max-width: var(--measure); }
.article-head h1 { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.9rem); }
.article-shell > .article { grid-column: 1; grid-row: 2; }
.article-shell > .toc { grid-column: 2; grid-row: 2; }
@media (max-width: 61rem) {
  .article-shell { grid-template-columns: 1fr; }
  .article-head { order: 1; }
  .article-shell > .toc { order: 2; grid-column: 1; grid-row: auto; }
  .article-shell > .article { order: 3; grid-column: 1; grid-row: auto; }
}
.article { max-width: var(--measure); min-width: 0; }
.article > p, .article > ul, .article > ol { max-width: var(--measure); }
.article ul, .article ol { padding-left: 1.15rem; }
.article li { margin-bottom: .45rem; }
.article li::marker { color: var(--cyan); }
.article h2 { padding-top: .4rem; }

.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.1rem; font-size: .84rem; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }

.meta { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .86rem; color: var(--ink-3); border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.8rem; font-variant-numeric: tabular-nums; }
.meta strong { color: var(--ink-2); font-weight: 600; }
.meta a { color: var(--ink-2); }

.answer { background: var(--calm-soft); border: 1px solid rgba(12, 241, 246, .28); border-radius: var(--radius); padding: 1.05rem 1.25rem .35rem; margin: 1.2rem 0 1.6rem; position: relative; }
.answer::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 3px; background: var(--grad); border-radius: 2px; }
.answer__label { display: block; font-family: 'HD Display', system-ui, sans-serif; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--cyan); margin-bottom: .35rem; }
.answer p { margin-bottom: .8rem; }

.note { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.05rem 1.2rem .1rem; margin: 1.8rem 0; font-size: .97rem; }
.note--key { background: var(--accent-soft); border-color: rgba(12, 241, 246, .3); }
.note--med { background: var(--warn-soft); border-color: var(--warn-line); }

.foto { margin: 1.6rem 0 1.8rem; max-width: var(--measure); }
.foto img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.foto figcaption { margin-top: .6rem; font-size: .88rem; color: var(--ink-3); line-height: 1.5; }

.legalbox { border-radius: var(--radius); padding: 1rem 1.15rem .25rem; margin: 1.4rem 0; font-size: .93rem; line-height: 1.6; border: 1px solid var(--line); max-width: var(--measure); background: var(--paper-2); }
.legalbox p { margin-bottom: .75rem; }
.legalbox__title { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; margin-bottom: .4rem !important; color: var(--ink-3); }
.legalbox__more { font-size: .88rem; }
.legalbox--med { background: var(--warn-soft); border-color: var(--warn-line); }
.legalbox--med .legalbox__title { color: var(--warn-ink); }
.legalbox--ad { color: var(--ink-2); }

.med-band { border-top: 1px solid var(--line); margin: 2.2rem 0 0; padding-top: 1.2rem; font-size: .86rem; color: var(--ink-2); }
.med-band strong { color: var(--ink); font-weight: 650; }
.med-band a { margin-left: .4rem; }

.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 1.85rem; margin-bottom: .6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 1.05rem; height: .55rem; border-left: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan); transform: rotate(-45deg); }

.steps { counter-reset: s; list-style: none; padding-left: 0; }
.steps > li { counter-increment: s; position: relative; padding-left: 2.9rem; margin-bottom: 1.1rem; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -.05rem; width: 2rem; height: 2rem; border-radius: 999px; background: var(--grad); color: #060608; font-weight: 800; font-size: .92rem; display: grid; place-items: center; font-family: 'HD Display', sans-serif; }

.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 30rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-weight: 700; color: var(--ink); background: var(--paper-2); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

blockquote { margin: 1.8rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 2px solid; border-image: var(--grad) 1; color: var(--ink-2); font-size: 1.08rem; }
.quote { font-family: 'HD Display', system-ui, sans-serif; font-weight: 300; font-size: 1.4rem; line-height: 1.45; color: var(--ink); max-width: 36rem; margin: 1.5rem 0; }
.quote cite { display: block; font-style: normal; font-family: 'HD Text', sans-serif; font-size: .85rem; color: var(--ink-3); margin-top: .6rem; }

/* ----------------------------------------------------------------- TOC */
.toc { position: sticky; top: 5.4rem; font-size: .88rem; border-left: 1px solid var(--line); padding-left: 1.2rem; }
.toc__title { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .7rem; font-weight: 800; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin-bottom: .55rem; line-height: 1.45; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a[data-active="1"] { color: var(--cyan); font-weight: 600; }
@media (max-width: 61rem) { .toc { position: static; border-left: 0; padding: 1.1rem 1.2rem .3rem; background: var(--paper-2); border-radius: var(--radius); margin-bottom: 2rem; } }

/* ----------------------------------------------------------------- FAQ */
.faq { margin: 1rem 0 2rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative; font-weight: 600; color: var(--ink); transition: color .14s ease; }
.faq__item summary:hover { color: var(--cyan); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: .2rem; top: .85rem; font-size: 1.4rem; color: var(--cyan); line-height: 1; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding-bottom: .4rem; color: var(--ink-2); }

.sources { margin-top: 2.6rem; font-size: .89rem; color: var(--ink-3); }
.sources h2 { font-size: 1.05rem; margin-bottom: .7rem; }
.sources ol { padding-left: 1.2rem; }
.sources li { margin-bottom: .5rem; line-height: 1.55; }

/* --------------------------------------------------------------- Karten */
.cards { display: grid; gap: 1rem; margin: 1.2rem 0 2rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.card, .type-card, .kv__item, .stat, .chartform, .upsell, .bookcta, .panel {
  background: linear-gradient(var(--paper-2), var(--paper-2)) padding-box, var(--line) border-box;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}
.card:hover, .type-card:hover { background: linear-gradient(var(--paper-3), var(--paper-3)) padding-box, var(--grad) border-box; transform: translateY(-3px); box-shadow: var(--shadow); }
.card { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; padding: 1.2rem 1.25rem; color: var(--ink); }
.card:hover { color: var(--ink); }
.card__kicker { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--cyan); font-family: 'HD Display', sans-serif; }
.card__title { font-family: 'HD Display', system-ui, sans-serif; font-weight: 800; font-size: 1.02rem; line-height: 1.3; }
.card__teaser { font-size: .9rem; color: var(--ink-3); line-height: 1.55; }
.related { margin-top: 2.8rem; }
.related h2 { margin-bottom: .4rem; }

.bookcta { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.6rem; align-items: center; padding: 1.6rem; margin: 2.6rem 0; }
.bookcta__cover img { border-radius: 6px; box-shadow: var(--shadow); display: block; width: 100%; height: auto; }
.bookcta h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
.bookcta p { margin-bottom: .8rem; font-size: .98rem; color: var(--ink-2); }
.bookcta__actions { margin: 0 0 .4rem; }
.bookcta__note { font-size: .78rem; color: var(--ink-3); margin: 0; }
@media (max-width: 40rem) { .bookcta { grid-template-columns: 1fr; } .bookcta__cover { max-width: 8.5rem; } }

/* -------------------------------------------------------------- Startseite */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 55rem) { .split { grid-template-columns: 1fr; gap: 1.8rem; } }
.section { padding: clamp(3rem, 2.2rem + 2.5vw, 4.6rem) 0; border-top: 1px solid var(--line); }
.section__intro { max-width: var(--measure); }
.section__intro > p { color: var(--ink-2); }
.panel { padding: 1.5rem 1.6rem .5rem; }
.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1.5rem 0; }
.stat { padding: 1.2rem 1.3rem; }
.stat__num { display: block; font-family: 'HD Display', sans-serif; font-size: 2.1rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; margin-bottom: .4rem; font-variant-numeric: tabular-nums; }
.stat__label { display: block; font-size: .9rem; color: var(--ink-3); line-height: 1.5; }

.types { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1.4rem 0 2rem; }
.type-card { text-decoration: none; color: inherit; padding: 1.3rem 1.3rem 1.2rem; display: grid; gap: .3rem; }
.type-card:hover { color: inherit; }
.type-card__pct { font-family: 'HD Display', sans-serif; font-size: 2rem; font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.type-card__name { font-family: 'HD Display', sans-serif; font-size: 1.05rem; font-weight: 800; margin-top: .3rem; }
.type-card__meta { font-size: .86rem; color: var(--ink-3); }

.steps-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 1.4rem 0; counter-reset: sg; }
.steps-grid > div { counter-increment: sg; border-top: 2px solid; border-image: var(--grad) 1; padding-top: 1rem; }
.steps-grid > div::before { content: counter(sg, decimal-leading-zero); font-family: 'HD Display', sans-serif; font-weight: 900; color: var(--cyan); font-size: 1.2rem; display: block; margin-bottom: .4rem; letter-spacing: .05em; }
.steps-grid h3 { margin: 0 0 .3rem; font-size: 1.08rem; }
.steps-grid p { font-size: .95rem; color: var(--ink-2); margin: 0; }

/* ============================================================ Formular */
.chartform { padding: 1.5rem 1.6rem 1.6rem; box-shadow: var(--shadow); background: linear-gradient(var(--paper-2), var(--paper-2)) padding-box, var(--grad) border-box; }
.chartform h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.chartform p { margin: 0 0 1rem; font-size: .92rem; color: var(--ink-2); }
.field { display: grid; gap: .35rem; margin-bottom: .9rem; }
.field label { font-size: .8rem; font-weight: 700; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.field input, .field select { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; width: 100%; color-scheme: dark; transition: border-color .15s ease, box-shadow .15s ease; }
.field input::placeholder { color: var(--ink-3); }
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(12, 241, 246, .18); }
.field__hint { font-size: .8rem; color: var(--ink-3); margin: 0; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 30rem) { .field--row { grid-template-columns: 1fr; } }
.place { position: relative; }
.place__list { list-style: none; margin: 0; padding: .3rem; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); z-index: 5; max-height: 14rem; overflow: auto; }
.place__list:empty { display: none; }
.place__list li { padding: .55rem .65rem; border-radius: 7px; cursor: pointer; font-size: .93rem; color: var(--ink); }
.place__list li:hover, .place__list li[aria-selected="true"] { background: var(--accent-soft); }
.place__list small { display: block; color: var(--ink-3); font-size: .8rem; }
.chartform .btn { width: 100%; margin-top: .4rem; }
.form-error { color: #FF8C7A; font-size: .9rem; margin: .6rem 0 0; }

/* ============================================================ Ergebnis */
.result { display: none; }
.result[data-ready="1"] { display: block; animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.result-head { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 62rem) { .result-head { grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); } }
.result-head h1 { margin-bottom: .4rem; }
.result-head .who { color: var(--ink-2); margin: 0 0 1.4rem; font-size: .95rem; }
.kv { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin: 1.4rem 0; }
.kv__item { padding: .95rem 1.05rem; }
.kv__label { display: block; font-family: 'HD Display', sans-serif; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); font-weight: 800; margin-bottom: .3rem; }
.kv__value { display: block; font-family: 'HD Display', sans-serif; font-weight: 800; font-size: 1.12rem; line-height: 1.25; }
.kv__sub { display: block; font-size: .84rem; color: var(--ink-3); margin-top: .25rem; }

.gate-wrap { position: relative; }
.gate-wrap[data-locked="1"] .bodygraph { filter: blur(7px); opacity: .5; }
.gate-wrap[data-locked="1"] .gate-lock { display: grid; }
.gate-lock { display: none; position: absolute; inset: 0; place-items: center; padding: 1rem; }
.gate-lock__box { background: linear-gradient(var(--paper-2), var(--paper-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; color: var(--ink); border-radius: var(--radius); padding: 1.3rem 1.4rem; max-width: 22rem; box-shadow: var(--shadow); text-align: center; }
.gate-lock__box h3 { margin: 0 0 .4rem; }
.gate-lock__box p { font-size: .9rem; color: var(--ink-2); margin-bottom: .9rem; }
.gate-lock__box .btn { width: 100%; }
.gate-lock__fine { font-size: .72rem; color: var(--ink-3); margin: .7rem 0 0; }

/* ============================================================ Bodygraph */
.bodygraph { width: 100%; height: auto; display: block; }
.bg-channel { fill: none; stroke: #2A2A38; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bg-gate { fill: none; stroke-width: 5; stroke-linecap: butt; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.3,.6,.2,1) forwards; }
.bg-gate:nth-child(4n+1) { animation-delay: .15s; } .bg-gate:nth-child(4n+2) { animation-delay: .35s; } .bg-gate:nth-child(4n+3) { animation-delay: .55s; } .bg-gate:nth-child(4n) { animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bg-gate--p { stroke: var(--hd-p); filter: drop-shadow(0 0 4px rgba(12, 241, 246, .55)); }
.bg-gate--d { stroke: var(--hd-d); filter: drop-shadow(0 0 4px rgba(179, 92, 255, .55)); }
.bg-gate--both { stroke: url(#bg-both); }
.bg-p-fill { fill: var(--hd-p); }
.bg-d-fill { fill: var(--hd-d); }
.bg-center { stroke-width: 1.6; stroke-linejoin: round; animation: fadein .8s ease both; animation-delay: .9s; }
@keyframes fadein { from { opacity: .2; } to { opacity: 1; } }
.bg-center--open { fill: var(--paper); stroke: #6E6E82; }
.bg-center--defined { fill: var(--bg-def); stroke: #fff; }
.bg-num { font-family: 'HD Text', system-ui, sans-serif; font-size: 7.8px; fill: var(--ink-3); text-anchor: middle; font-weight: 500; }
.bg-num--on { fill: var(--ink); font-weight: 700; }
.bg-center--defined ~ .bg-gatenums .bg-num { fill: inherit; }
@media (prefers-reduced-motion: reduce) { .bg-gate, .bg-center { animation: none; stroke-dashoffset: 0; } }

.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .82rem; color: var(--ink-2); margin: 1rem 0 0; }
.legend span::before { content: ""; display: inline-block; width: .9rem; height: .35rem; border-radius: 2px; margin-right: .45rem; vertical-align: middle; }
.legend .l-p::before { background: var(--hd-p); }
.legend .l-d::before { background: var(--hd-d); }
.legend .l-def::before { background: var(--bg-def); height: .9rem; }

/* ============================================================= Report */
.report { padding: 2rem 0 3rem; }
.report-grid { display: grid; gap: 2.4rem; }
@media (min-width: 62rem) { .report-grid { grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; } }
.report-side { position: sticky; top: 5.2rem; }
.report section + section { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.6rem; }
.report h2 { margin-top: 0; }
.report .kicker { margin-bottom: .3rem; }
.planets { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; min-width: 0; }
.planets th, .planets td { padding: .45rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.planets th { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); background: transparent; }
.planets .p { color: var(--hd-p); font-weight: 700; } .planets .d { color: var(--hd-d); font-weight: 700; }
.centers-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.centers-list li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .7rem; align-items: start; }
.dot { width: .85rem; height: .85rem; border-radius: 3px; margin-top: .35rem; border: 1.5px solid var(--ink-3); }
.dot--def { background: var(--bg-def); border-color: #fff; }
.channel-list { list-style: none; padding: 0; margin: 1rem 0; }
.channel-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .8rem; align-items: baseline; }
.channel-list .num { font-family: 'HD Display', sans-serif; font-weight: 800; color: var(--cyan); min-width: 4.2rem; }
.upsell { padding: 1.3rem 1.4rem; margin-top: 1.4rem; }
.upsell h3 { margin: .4rem 0 .4rem; }
.upsell p { font-size: .92rem; color: var(--ink-2); }
.upsell .price { font-family: 'HD Display', sans-serif; font-weight: 900; font-size: 1.6rem; color: var(--ink); }
.upsell .price s { color: var(--ink-3); font-size: 1rem; margin-left: .4rem; font-weight: 500; }
.print-row { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1rem 0; }

/* ------------------------------------------------------------------ Fuß */
.site-footer { position: relative; background: var(--paper-2); border-top: 1px solid var(--line); padding: 3rem 0 2rem; margin-top: 3rem; font-size: .92rem; color: var(--ink-2); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad); opacity: .8; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr repeat(4, 1fr); }
@media (max-width: 72rem) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 55rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3 { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .7rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a { color: var(--ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--cyan); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; border-top: 1px solid var(--line); margin-top: 2.2rem; padding-top: 1.2rem; font-size: .82rem; color: var(--ink-3); }
.footer-legal a { color: var(--ink-3); }
.footer-legal__note { flex-basis: 100%; line-height: 1.5; }

/* ============================================================= Druck */
@media print {
  @page { size: A4; margin: 16mm; }
  :root { --paper: #fff; --paper-2: #fff; --paper-3: #f3f3f3; --ink: #111; --ink-2: #333; --ink-3: #555; --line: #ccc; --cyan: #111; --hd-p: #111; --hd-d: #C8463A; --bg-def: #e8e8e8; --grad: linear-gradient(90deg, #111, #111); }
  html, body { background: #fff !important; color: #111 !important; font-size: 10.5pt; }
  .site-header, .site-footer, .nav-toggle, .print-row, .upsell, .gate-lock, .result-head .btn-row, .legend, #rechner, #erklaerung, .crumbs, .progress { display: none !important; }
  .night-band::before, .night-band::after { display: none; }
  .report-grid { display: flex; flex-direction: column; }
  .report-side { order: -1; position: static; }
  .report { padding-top: 0; }
  .report section { break-inside: avoid; }
  .bodygraph { max-width: 11cm; margin: 0 auto; }
  .bg-gate, .bg-center { animation: none; stroke-dashoffset: 0; filter: none; }
  .bg-channel { stroke: #ddd; }
  .bg-center--open { fill: #fff; stroke: #666; }
  .bg-center--defined { fill: #ddd; stroke: #111; }
  .bg-num { fill: #777; } .bg-num--on { fill: #111; }
  .reveal { opacity: 1 !important; transform: none !important; }
  h1 em, h2 em, .grad-text, .stat__num, .type-card__pct, .brand__b { color: #111; background: none; -webkit-text-fill-color: #111; }
  .card, .kv__item, .stat, .chartform, .upsell, .bookcta, .panel { background: #fff; border: 1px solid #ccc; }
  .answer { background: #f3f3f3; border-color: #ccc; }
  .answer__label, .kv__label, .kicker, .channel-list .num { color: #111; }
  a { color: inherit; text-decoration: none; }
}
