/* =========================================================
   Blutbild-Report — Manuel Ruep
   Schwarz/Gold Editorial · konsistent zu PDF-Serie
   ========================================================= */

:root {
  /* Farben — identisch zur PDF-Reihe */
  --bg:         #FAF8F3;  /* off-white warm */
  --surface:    #F3F0E8;  /* subtle warm panel */
  --surface-dk: #1C1B19;  /* near-black warm */
  --ink:        #1C1B19;
  --ink-2:      #3A3733;
  --ink-3:      #6C665E;
  --paper:      #FAF8F3;
  --paper-dim:  #D9D3C7;
  --accent:     #B8892E;  /* gold */
  --accent-dk:  #8F6A1F;
  --red:        #A13544;
  --green:      #4A7A2E;
  --line:       #D9D3C7;
  --line-dk:    #2E2C28;

  /* Typo-Scale */
  --text-xs:   0.75rem;   /* 12 */
  --text-sm:   0.875rem;  /* 14 */
  --text-base: 1rem;      /* 16 */
  --text-lg:   1.125rem;  /* 18 */
  --text-xl:   clamp(1.375rem, 2vw + 1rem, 1.75rem);    /* 22-28 */
  --text-2xl:  clamp(1.75rem, 3vw + 1rem, 2.5rem);      /* 28-40 */
  --text-3xl:  clamp(2.25rem, 5vw + 1rem, 3.75rem);     /* 36-60 */
  --text-hero: clamp(3rem, 8vw + 1rem, 6.5rem);         /* 48-104 */

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  --container: 1200px;
  --radius: 2px;
  --radius-lg: 6px;
}

/* ============ BASIS ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@supports (font-variation-settings: normal) {
  body { font-family: 'Inter var', -apple-system, sans-serif; }
}

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.02em;
  color: inherit;
  font-weight: 700;
}
p { margin: 0; }
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  margin: 0 auto;
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__logo { flex-shrink: 0; }
.header__name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}
.header__nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.header__nav a:hover { color: var(--accent); }
.header__cta {
  padding: 8px 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg) !important;
  border-radius: var(--radius);
}
.header__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface-dk) !important;
}
@media (max-width: 720px) {
  .header__nav a:not(.header__cta) { display: none; }
}

/* ============ UTILITIES ============ */
.kicker,
.section__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-6);
}
.section__kicker--dark { color: var(--accent); }

.btn {
  display: inline-block;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
}
.btn--primary {
  background: var(--accent);
  color: var(--surface-dk);
  border: 1px solid var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  color: var(--paper);
}
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--paper);
}
.btn--ghost:hover {
  background: var(--paper);
  color: var(--surface-dk);
}
.btn--block {
  display: block;
  width: 100%;
}
.btn--lg {
  padding: 22px 38px;
  font-size: var(--text-base);
}

.section {
  padding-block: clamp(3rem, 8vw, 6rem);
}
.section--surface {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--dark {
  background: var(--surface-dk);
  color: var(--paper);
}
.section--final {
  background: var(--surface-dk);
  color: var(--paper);
  text-align: center;
  padding-block: clamp(4rem, 10vw, 8rem);
  border-top: 1px solid var(--line-dk);
}
.section__h2 {
  font-size: var(--text-2xl);
  line-height: 1.1;
  max-width: 24ch;
  margin-bottom: var(--sp-10);
}
.section__h2--dark { color: var(--paper); }

/* ============ HERO ============ */
.hero {
  background: var(--bg);
  padding-block: clamp(4rem, 10vw, 9rem) clamp(3rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -8%;
  width: 40vw;
  height: 40vw;
  max-width: 640px; max-height: 640px;
  background: radial-gradient(circle at center, rgba(184,137,46,0.08), transparent 65%);
  pointer-events: none;
}
.hero .kicker { margin-bottom: var(--sp-8); }
.hero__h1 {
  font-size: var(--text-hero);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: var(--sp-10);
  max-width: 14ch;
}
.hero__accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.hero__sub {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: var(--sp-10);
}
.sub__strong {
  display: block;
  margin-top: var(--sp-3);
  color: var(--ink);
  font-weight: 600;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
  max-width: 720px;
}
@media (max-width: 640px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
}
.meta-box {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-box__n {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.meta-box__l {
  font-size: var(--text-xs);
  color: var(--ink-3);
  line-height: 1.4;
}
.hero__cta {
  margin-bottom: var(--sp-4);
}
.hero__disclaimer {
  font-size: var(--text-xs);
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

/* ============ GRID-SPLIT ============ */
.grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 820px) {
  .grid-split { grid-template-columns: 1fr; }
}

/* ============ BULLETS ============ */
.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  font-size: var(--text-base);
  line-height: 1.5;
}
.bullets li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-2);
}
.bullets--for li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 1.5px;
  background: var(--accent);
}
.bullets--against li::before {
  content: '✕';
  position: absolute;
  left: 0; top: 0;
  color: var(--paper-dim);
  font-size: 14px;
  font-weight: 600;
  width: 14px;
}

/* ============ PANEL ============ */
.panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
}
.panel--dark {
  background: var(--surface-dk);
  color: var(--paper);
}
.panel__kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.panel--dark .bullets li { color: var(--paper-dim); }

/* ============ 4-BLOCK (Was im PDF) ============ */
.blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sp-10) var(--sp-8);
}
.block {
  position: relative;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}
.block__num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.block__h {
  font-size: var(--text-lg);
  margin-bottom: var(--sp-3);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.block p {
  font-size: var(--text-base);
  color: var(--ink-2);
  line-height: 1.55;
}

/* ============ STEPS ============ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-8);
  max-width: 780px;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--line-dk);
}
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step__num {
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--accent);
  font-feature-settings: 'tnum';
  line-height: 1;
}
.step h3 {
  font-size: var(--text-lg);
  margin-bottom: 6px;
  color: var(--paper);
  font-weight: 700;
}
.step p {
  font-size: var(--text-base);
  color: var(--paper-dim);
  line-height: 1.55;
}

/* ============ GRID-4 (Nope) ============ */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
}
.nope {
  padding: var(--sp-6);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.nope__x {
  font-size: 22px;
  color: var(--red);
  margin-bottom: var(--sp-3);
  line-height: 1;
}
.nope__t {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 6px;
}
.nope__b {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.5;
}

/* ============ KAUFEN ============ */
.kauf__sub {
  font-size: var(--text-base);
  color: var(--paper-dim);
  max-width: 62ch;
  margin-bottom: var(--sp-10);
}
.kauf__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
@media (max-width: 820px) {
  .kauf__grid { grid-template-columns: 1fr; }
}
.kauf__col {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dk);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.kauf__col--primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.kauf__col h3 {
  font-size: var(--text-xl);
  letter-spacing: -0.015em;
}
.kauf__tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.kauf__col--primary .kauf__tag { color: var(--accent-dk); }
.kauf__desc {
  font-size: var(--text-base);
  line-height: 1.55;
  color: inherit;
  opacity: 0.85;
}
.kauf__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--text-sm);
}
.kauf__list li {
  padding-left: 20px;
  position: relative;
  opacity: 0.85;
}
.kauf__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 10px; height: 1.5px;
  background: var(--accent);
}
.kauf__fine {
  font-size: var(--text-xs);
  opacity: 0.6;
  letter-spacing: 0.02em;
}

/* ============ FAQ ============ */
.faq {
  max-width: 780px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: var(--sp-6);
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  padding-right: 40px;
  position: relative;
  outline: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0; top: -2px;
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.2s ease;
  font-weight: 300;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  margin-top: var(--sp-4);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 65ch;
}

/* ============ ABOUT ============ */
.about__body {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: var(--sp-4);
  max-width: 56ch;
}
.quote {
  margin: 0;
  padding: var(--sp-10) var(--sp-8);
  background: var(--surface-dk);
  color: var(--paper);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}
.quote p {
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-4);
  color: var(--paper);
}
.quote cite {
  font-size: var(--text-sm);
  color: var(--accent);
  font-style: normal;
  letter-spacing: 0.08em;
}

/* ============ FINAL ============ */
.final__h {
  font-size: var(--text-3xl);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-10);
}
.final__fine {
  margin-top: var(--sp-4);
  font-size: var(--text-xs);
  color: var(--paper-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--surface-dk);
  color: var(--paper-dim);
  padding-block: var(--sp-8);
  border-top: 1px solid var(--line-dk);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-6);
}
.footer__brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--paper);
}
.footer__small {
  font-size: var(--text-xs);
  margin-top: 4px;
  color: var(--paper-dim);
}
.footer__nav {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: var(--text-xs);
  color: var(--paper-dim);
  letter-spacing: 0.06em;
}
.footer__nav a:hover { color: var(--accent); }

/* ============ WIZARD (Fragebogen) ============ */
.wizard {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.wizard--open { display: block; }
.wizard__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 27, 25, 0.6);
  backdrop-filter: blur(4px);
}
.wizard__panel {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(640px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow-y: auto;
  border-top: 3px solid var(--accent);
  align-self: center;
}
@media (min-width: 640px) {
  .wizard--open { display: flex; align-items: center; justify-content: center; }
  .wizard__panel { position: relative; inset: auto; margin: 0; }
}
.wizard__close {
  position: absolute;
  top: 16px; right: 16px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--ink-3);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.wizard__close:hover { color: var(--ink); }
.wizard__progress {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}
.wizard__progress-bar {
  height: 100%;
  background: var(--accent);
  width: 14%;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.wizard__step-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-6);
  font-weight: 600;
}

.slide {
  display: none;
  animation: fadeIn 0.3s ease-out;
}
.slide--active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.slide h3 {
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}
.slide__sub {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin-bottom: var(--sp-6);
}
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--sp-4);
}
.option {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  transition: all 0.15s ease;
}
.option:hover {
  background: var(--bg);
  border-color: var(--accent);
  transform: translateX(2px);
}
.option.option--selected {
  background: var(--surface-dk);
  color: var(--paper);
  border-color: var(--surface-dk);
}
.options--multi { margin-bottom: var(--sp-2); }
.next-btn {
  padding: 12px 22px;
  background: var(--accent);
  color: var(--surface-dk);
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--sp-4);
}
.next-btn:hover { background: var(--accent-dk); color: var(--paper); }
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.form-group label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.form-group input {
  padding: 12px 14px;
  font-size: var(--text-base);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}

/* Result */
.slide--result { text-align: left; }
.result__tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}
.result__text {
  font-size: var(--text-base);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}
.result__box {
  padding: var(--sp-6);
  background: var(--surface-dk);
  color: var(--paper);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-4);
  border-left: 3px solid var(--accent);
}
.result__box-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.result__box-price {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}
.result__box-fine {
  font-size: var(--text-xs);
  color: var(--paper-dim);
  margin-top: var(--sp-3);
  letter-spacing: 0.02em;
}
.wizard__restart {
  background: transparent;
  border: none;
  color: var(--ink-3);
  font-size: var(--text-xs);
  text-decoration: underline;
  padding: 0;
}
.wizard__restart:hover { color: var(--ink); }
