/* ============================================================
   Der Beziehungs-Check — Visuelles System (nach Foto-Vorlage)
   ============================================================ */
:root {
  /* Flächen */
  --cream:        #F3ECE0;   /* Haupt-Hintergrund, warm */
  --cream-2:      #EFE7D9;   /* abwechselnde Sektion */
  --card:         #FBF7EF;   /* helle Karten */
  --paper:        #FFFFFF;
  --ink-band:     #100E0B;   /* schwarze Bänder */
  --ink-band-2:   #16130F;

  /* Schrift */
  --ink:          #211D17;   /* Headlines */
  --text:         #38332B;   /* Fließtext */
  --text-soft:    #6E6557;   /* sekundär */
  --text-faint:   #978B79;
  --on-dark:      #EDE7DB;
  --on-dark-soft: #B4AB99;

  /* Gold */
  --gold:         #AC8748;   /* Akzent auf hell */
  --gold-deep:    #93702F;   /* hover / Linien */
  --gold-bright:  #C9A45C;   /* Akzent auf schwarz */
  --gold-soft:    #D8C49B;

  /* Linien */
  --line:         #DCD2C0;
  --line-soft:    #E6DDCD;
  --line-dark:    #2C2820;

  /* Typ-/Ampel-Farben */
  --green:        #5E7B45;
  --amber:        #C58A2E;
  --red:          #B23A2E;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body:    "Mulish", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --shadow-card: 0 1px 2px rgba(40,32,18,.04), 0 18px 44px -28px rgba(40,32,18,.26);
  --shadow-soft: 0 1px 2px rgba(40,32,18,.05), 0 10px 30px -22px rgba(40,32,18,.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.serif { font-family: var(--font-display); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Eyebrow / Kicker */
.kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: var(--ink-band);
  border: none;
  padding: 20px 34px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-soft);
}
.btn:hover { background: #221d15; transform: translateY(-2px); box-shadow: 0 20px 40px -22px rgba(20,16,8,.7); }
.btn .arrow { color: var(--gold-bright); transition: transform .25s ease; font-size: 17px; line-height: 1; }
.btn:hover .arrow { transform: translateX(6px); }
.btn--gold { background: var(--gold); color: #1c1407; }
.btn--gold:hover { background: var(--gold-deep); }
.btn--gold .arrow { color: #1c1407; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold-deep); transform: translateY(-1px); }
.btn--sm { padding: 13px 22px; font-size: 12.5px; }
.btn--lg { padding: 22px 40px; }

/* Trust-Zeile */
.trust { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.trust .item { display: flex; align-items: center; gap: 11px; }
.trust .item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.trust .item span { font-size: 14.5px; color: var(--text-soft); font-weight: 600; }
.trust .sep { width: 1px; height: 26px; background: var(--line); }
.trust--dark .item span { color: var(--on-dark-soft); }
.trust--dark .item svg { color: var(--gold-bright); }
.trust--dark .sep { background: rgba(255,255,255,.16); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243,236,224,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand .mono { flex: none; }
.brand .bt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand .bt .n { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.brand .bt .s { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); font-weight: 700; }
.nav-cta { display: flex; align-items: center; gap: 20px; flex: none; }
.nav-link { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); text-decoration: none; }
.nav-link:hover { color: var(--gold-deep); }

/* JH Logo */
.jh-logo { flex: none; }
.jh-mono { display: grid; place-items: center; border-radius: 50%; }
.jh-mono svg { width: 100%; height: 100%; }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--cream) 30%, rgba(243,236,224,.78) 50%, rgba(243,236,224,.30) 72%, rgba(243,236,224,.55) 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 420px; gap: 44px; align-items: center; min-height: 560px; padding-top: 40px; padding-bottom: 48px; }
.hero-left { max-width: 560px; }
.hero-eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 800; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 22px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .rule { width: 64px; height: 2px; background: var(--gold); margin: 0 0 24px; border: none; }
.hero .lede { font-size: 18px; line-height: 1.6; color: var(--text-soft); max-width: 460px; margin: 0 0 26px; }
.hero .trust { margin-bottom: 0; }

/* Test-Karte */
.test-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(40,32,18,.06), 0 40px 80px -40px rgba(40,32,18,.5);
  padding: 24px 26px 22px;
}
.tc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tc-badge { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #1c1407; background: var(--gold-soft); padding: 6px 12px; border-radius: 99px; }
.tc-meta { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); }
.tc-q { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.32; color: var(--ink); margin: 0 0 6px; text-wrap: pretty; min-height: 78px; }
.tc-slider { margin: 12px 0 18px; }
.tc-value { display: flex; align-items: baseline; gap: 9px; margin-bottom: 4px; }
.tc-num { font-family: var(--font-display); font-size: 34px; font-weight: 500; color: var(--ink); line-height: 1; min-width: 40px; }
.tc-num.unset { color: var(--line); }
.tc-of { font-size: 14px; color: var(--text-faint); font-weight: 600; }
.tc-lbl { margin-left: auto; font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--gold-deep); }
.tc-cta { width: 100%; justify-content: center; }
.tc-foot { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; font-size: 12.5px; color: var(--text-soft); font-weight: 600; }
.tc-foot svg { width: 15px; height: 15px; color: var(--gold); }
.tc-foot .d { color: var(--line); margin: 0 2px; }

/* ===================== SCHWARZE BÄNDER ===================== */
.band-dark { background: var(--ink-band); color: var(--on-dark); }
.band-q {
  text-align: center; padding: 52px 28px;
}
.band-q h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.7vw, 33px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 auto; max-width: 880px; line-height: 1.28;
}

/* ===================== PAIN-COLUMNS ===================== */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.section { padding: 84px 0; }
.section--tight { padding: 64px 0; }
.pain { background: var(--paper); }
.pain .cols3 > .col {
  text-align: center; padding: 22px 40px;
  border-right: 1px solid var(--line-soft);
}
.pain .cols3 > .col:last-child { border-right: none; }
.icon-ring {
  width: 76px; height: 76px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; margin: 0 auto 24px;
}
.icon-ring svg { width: 32px; height: 32px; }
.pain .col h3 { font-family: var(--font-body); font-weight: 800; font-size: 18px; color: var(--ink); margin: 0 0 8px; letter-spacing: .005em; }
.pain .col p { font-size: 15.5px; color: var(--text-soft); margin: 0; max-width: 240px; margin: 0 auto; }

/* ===================== QUOTE ===================== */
.quote { background: var(--cream-2); text-align: center; padding: 92px 28px; }
.quote .qmark { font-family: var(--font-display); font-size: 92px; line-height: .4; color: var(--gold); display: block; height: 48px; }
.quote .lbl { font-family: var(--font-display); font-style: italic; font-size: 23px; color: var(--gold-deep); margin: 8px 0 14px; }
.quote h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.28; color: var(--ink);
  margin: 0 auto; max-width: 760px; letter-spacing: -.01em;
}
.quote .rule { width: 70px; height: 2px; background: var(--gold); border: none; margin: 34px auto 0; }

/* ===================== PROMISE CARDS ===================== */
.promise { background: var(--paper); }
.promise .cols3 > .col { text-align: center; padding: 14px 40px; border-right: 1px solid var(--line-soft); }
.promise .cols3 > .col:last-child { border-right: none; }
.icon-solid {
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 26px; color: #fff;
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.4);
}
.icon-solid svg { width: 34px; height: 34px; }
.promise .col h3 { font-family: var(--font-body); font-weight: 800; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; line-height: 1.3; }
.promise .col p { font-size: 15.5px; color: var(--text-soft); margin: 0 auto; max-width: 250px; }

/* ===================== EDITORIAL BILDBAND ===================== */
.imgsplit { background: var(--paper); }
.imgsplit + .imgsplit { border-top: 1px solid var(--line-soft); }
.is-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.imgsplit--flip .is-media { order: 2; }
.is-media { position: relative; }
.is-media image-slot {
  display: block; width: 100%; height: clamp(320px, 34vw, 440px);
  border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.imgsplit--tall .is-media image-slot { height: clamp(420px, 42vw, 600px); }
.is-frame {
  position: absolute; pointer-events: none;
  width: 64px; height: 64px;
  border: 2px solid var(--gold);
  bottom: -16px; right: -16px; border-radius: 4px;
}
.imgsplit--flip .is-frame { right: auto; left: -16px; }
.is-text .kicker { display: block; margin-bottom: 16px; }
.is-text h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.14; letter-spacing: -.01em;
  color: var(--ink); margin: 0 0 18px; text-wrap: pretty;
}
.is-body { font-size: 17px; line-height: 1.66; color: var(--text-soft); margin: 0 0 24px; max-width: 460px; }
.is-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.is-points li { position: relative; padding-left: 26px; font-size: 16px; color: var(--text); font-weight: 600; }
.is-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--dot, var(--gold));
}

/* ===================== MONOGRAM BAND ===================== */
.mono-band { padding: 56px 0; }
.mono-band .row { display: flex; align-items: center; gap: 48px; }
.mono-band .mono-wrap { flex: none; }
.mono-band .mb-text { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2.4vw, 29px); line-height: 1.42; }
.mono-band .mb-text .l1 { color: var(--gold-bright); }
.mono-band .mb-text .l2 { color: var(--on-dark); }
.mono-band .mb-text .l3 { color: #fff; font-weight: 600; }

/* ===================== FINAL CTA ===================== */
.final { background: var(--cream-2); text-align: center; padding: 86px 28px; }
.final h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 3.1vw, 38px); letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink); margin: 0 auto 36px; max-width: 720px; line-height: 1.3;
}
.final .trust { justify-content: center; margin-top: 34px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink-band); color: var(--on-dark-soft); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.site-footer h4 { font-family: var(--font-body); font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); margin: 0 0 18px; }
.site-footer p, .site-footer a { font-size: 15px; line-height: 1.7; color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.footer-brand .fb-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand .fb-head .n { font-family: var(--font-display); font-size: 21px; color: var(--on-dark); }
.footer-brand .claim { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--gold-soft); max-width: 320px; }
.foot-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; flex-wrap: wrap; }
.foot-bottom .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom .legal-links a { font-size: 13.5px; }
.foot-bottom .copy { font-size: 13px; color: var(--text-faint); }
.disclaimer { font-size: 12.5px; color: var(--text-faint); line-height: 1.6; max-width: 620px; margin: 22px auto 0; text-align: center; }

/* ============================================================
   QUIZ OVERLAY
   ============================================================ */
.quiz-screen {
  position: fixed; inset: 0; z-index: 100;
  background: var(--cream);
  display: flex; flex-direction: column;
  animation: fadeUp .4s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.quiz-top { border-bottom: 1px solid var(--line-soft); background: rgba(243,236,224,.9); backdrop-filter: blur(8px); }
.quiz-top .bar { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.quiz-top .close { background: none; border: none; cursor: pointer; color: var(--text-soft); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.quiz-top .close:hover { color: var(--ink); }
.progress-wrap { flex: 1; max-width: 420px; margin: 0 32px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 7px; }
.progress-track { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 99px; transition: width .5s cubic-bezier(.22,.8,.2,1); }

.quiz-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 28px 72px; }
.quiz-card { width: 100%; max-width: 720px; }
.q-index { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--gold); margin-bottom: 14px; }
.q-text {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(25px, 3.4vw, 36px); line-height: 1.32; color: var(--ink);
  letter-spacing: -.01em; margin: 0 0 8px; text-wrap: pretty;
}
.q-anim { animation: qIn .42s cubic-bezier(.22,.8,.2,1) both; }
@keyframes qIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Slider */
.slider-block { margin-top: 52px; }
.slider-value-row { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin-bottom: 6px; }
.slider-num { font-family: var(--font-display); font-size: 64px; font-weight: 500; color: var(--ink); line-height: 1; min-width: 76px; text-align: center; }
.slider-num.unset { color: var(--line); }
.slider-of { font-size: 17px; color: var(--text-faint); font-weight: 600; }
.slider-label { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold-deep); min-height: 28px; margin-bottom: 30px; transition: color .2s ease; }
.slider-label.unset { color: var(--text-faint); font-style: normal; font-size: 16px; }

.range { position: relative; padding: 18px 0 10px; }
.range input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  background: transparent; cursor: pointer; margin: 0; position: relative; z-index: 2;
}
.range .track-bg { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: 6px; background: var(--line); border-radius: 99px; }
.range .track-fill { position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 6px; background: var(--gold); border-radius: 99px; pointer-events: none; z-index: 1; transition: width .12s ease; }
.range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink-band); border: 3px solid var(--cream);
  box-shadow: 0 3px 10px rgba(20,16,8,.32), 0 0 0 1px var(--gold);
  cursor: grab; transition: transform .15s ease;
}
.range input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
.range input[type=range]::-moz-range-thumb {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink-band); border: 3px solid var(--cream);
  box-shadow: 0 3px 10px rgba(20,16,8,.32), 0 0 0 1px var(--gold); cursor: grab;
}
.range .ticks { display: flex; justify-content: space-between; margin-top: 16px; }
.range .ticks span { font-size: 12px; color: var(--text-faint); font-weight: 600; width: 18px; text-align: center; }
.scale-ends { display: flex; justify-content: space-between; margin-top: 4px; }
.scale-ends span { font-size: 12.5px; color: var(--text-faint); }

.quiz-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 56px; }
.link-back { background: none; border: none; cursor: pointer; color: var(--text-soft); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; padding: 10px 0; }
.link-back:hover { color: var(--ink); }
.link-back:disabled { opacity: .3; cursor: default; }
.hint-tap { font-size: 13px; color: var(--text-faint); }

/* ===================== EMAIL GATE ===================== */
.gate { max-width: 600px; width: 100%; }
.gate .lock { width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: grid; place-items: center; margin: 0 auto 26px; }
.gate .lock svg { width: 26px; height: 26px; }
.gate h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 40px); color: var(--ink); text-align: center; margin: 0 0 12px; line-height: 1.18; }
.gate .sub { text-align: center; color: var(--text-soft); font-size: 16.5px; max-width: 460px; margin: 0 auto 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 8px; }
.field input[type=text], .field input[type=email] {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 16px 18px; background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 4px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(172,135,72,.14); }
.field input.invalid { border-color: var(--red); }
.consent { display: flex; gap: 13px; align-items: flex-start; margin: 14px 0; }
.consent input[type=checkbox] { flex: none; width: 21px; height: 21px; margin-top: 1px; accent-color: var(--gold-deep); cursor: pointer; }
.consent label { font-size: 13.5px; color: var(--text-soft); line-height: 1.55; cursor: pointer; }
.consent label a { color: var(--gold-deep); text-decoration: underline; }
.consent .req { color: var(--red); }
.gate .err { color: var(--red); font-size: 13.5px; margin: 6px 0 0; min-height: 18px; }
.gate .submit { width: 100%; justify-content: center; margin-top: 14px; }
.gate .privacy-note { font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 20px; line-height: 1.6; }
.gate .privacy-note svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; color: var(--gold); }

/* ============================================================
   RESULT
   ============================================================ */
.result-screen { position: fixed; inset: 0; z-index: 100; background: var(--cream); overflow-y: auto; animation: fadeUp .45s ease both; }
.result-inner { max-width: 880px; margin: 0 auto; padding: 0 28px 96px; }
.result-hero { text-align: center; padding: 70px 0 50px; }
.result-hero .kicker { margin-bottom: 18px; display: block; }
.result-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5vw, 58px); color: var(--ink); line-height: 1.08; margin: 0 0 10px; letter-spacing: -.015em; }
.result-hero h1 .name { font-style: italic; color: var(--gold-deep); display: block; }
.result-hero .greet { color: var(--text-soft); font-size: 17px; margin-top: 16px; }

.r-section { margin-top: 30px; }
.r-section + .r-section { margin-top: 56px; }
.r-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.r-head .num { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold); }
.r-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 32px); color: var(--ink); margin: 0; }
.r-head .ln { flex: 1; height: 1px; background: var(--line); }

/* Primärtyp-Karte */
.primary-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 8px; padding: 0; overflow: hidden; box-shadow: var(--shadow-card); }
.primary-card .pc-top { padding: 38px 40px 32px; border-top: 5px solid var(--accent, var(--gold)); }
.primary-card .pc-tag { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent, var(--gold)); }
.primary-card .pc-name { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 40px); color: var(--ink); margin: 10px 0 6px; line-height: 1.1; }
.primary-card .pc-sub { font-size: 14px; color: var(--text-faint); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.primary-card .pc-score { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; }
.primary-card .pc-score .v { font-family: var(--font-display); font-size: 38px; color: var(--ink); line-height: 1; }
.primary-card .pc-score .o { color: var(--text-faint); font-size: 18px; }
.primary-card .pc-score .badge { margin-left: auto; }
.pc-body { padding: 0 40px 38px; }
.leitsatz { font-family: var(--font-display); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--text); border-left: 3px solid var(--accent, var(--gold)); padding: 4px 0 4px 22px; margin: 28px 0 30px; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pc-grid h4 { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin: 0 0 14px; }
.pc-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.pc-grid li { position: relative; padding-left: 22px; font-size: 15px; color: var(--text); line-height: 1.5; }
.pc-grid li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--gold)); }
.pc-grid li.impulse::before { border-radius: 2px; background: none; border: 1.6px solid var(--accent, var(--gold)); }
.risk-box { margin-top: 28px; background: rgba(178,58,46,.05); border: 1px solid rgba(178,58,46,.16); border-radius: 6px; padding: 18px 22px; }
.risk-box h4 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: 0 0 7px; }
.risk-box p { margin: 0; font-size: 14.5px; color: var(--text); line-height: 1.55; }

.badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; }
.badge.kaum   { background: #ECEAE3; color: #8A8270; }
.badge.leicht { background: #EAF0E0; color: #5E7B45; }
.badge.deutlich { background: #F6E8CE; color: #A9791F; }
.badge.stark  { background: #F3DCD8; color: #B23A2E; }

/* Score-Balken */
.bars { display: flex; flex-direction: column; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 230px 1fr auto; align-items: center; gap: 18px; }
.bar-row .bl { font-size: 14.5px; color: var(--text); font-weight: 700; }
.bar-row .bl .sb { display: block; font-size: 11.5px; color: var(--text-faint); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.bar-track { height: 12px; background: var(--line-soft); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; width: 0; transition: width 1.1s cubic-bezier(.22,.85,.2,1); }
.bar-row .bv { font-family: var(--font-display); font-size: 17px; color: var(--ink); min-width: 56px; text-align: right; }
.bar-row.is-primary .bl { color: var(--ink); }
.bar-row.is-primary .bl .star { color: var(--gold); }

/* Ampel / Passung */
.match-grid { display: flex; flex-direction: column; gap: 12px; }
.match-row { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line-soft); border-radius: 8px; padding: 20px 22px; box-shadow: var(--shadow-soft); }
.match-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; box-shadow: 0 0 0 4px rgba(0,0,0,.04); }
.match-dot.gruen { background: var(--green); }
.match-dot.gelb { background: var(--amber); }
.match-dot.rot { background: var(--red); }
.match-main { flex: 1; }
.match-main .mt { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 5px; }
.match-main .mt .nm { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.match-main .mt .self { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-soft); padding: 2px 8px; border-radius: 99px; }
.match-level { font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.match-level.gruen { color: var(--green); }
.match-level.gelb { color: var(--amber); }
.match-level.rot { color: var(--red); }
.match-main p { margin: 7px 0 0; font-size: 14.5px; color: var(--text-soft); line-height: 1.55; }

.ampel-legend { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.ampel-legend .le { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-soft); }
.ampel-legend .le b { color: var(--text); font-weight: 700; }
.ampel-legend .ad { width: 11px; height: 11px; border-radius: 50%; }

/* CTA in result */
.result-cta { margin-top: 60px; background: var(--ink-band); border-radius: 10px; padding: 48px 44px; text-align: center; color: var(--on-dark); }
.result-cta h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 3vw, 33px); color: #fff; margin: 0 0 12px; line-height: 1.2; }
.result-cta p { color: var(--on-dark-soft); font-size: 16px; max-width: 480px; margin: 0 auto 28px; }
.result-cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.result-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.result-disclaimer { font-size: 12.5px; color: var(--text-faint); text-align: center; max-width: 600px; margin: 34px auto 0; line-height: 1.6; }

.result-foot { background: var(--ink-band); padding: 28px 0; text-align: center; }
.result-foot .brand { justify-content: center; }
.result-foot .brand .n { color: var(--on-dark); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 820px) {
  .wrap { max-width: 496px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding-top: 36px; padding-bottom: 48px; justify-items: center; text-align: center; }
  .hero-left { max-width: 100%; width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
  .hero-eyebrow { text-align: center; }
  .hero h1 { text-align: center; }
  .hero .rule { margin-left: auto; margin-right: auto; }
  .hero .lede { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero .trust { justify-content: center; flex-wrap: wrap; }
  .hero-right { width: 100%; display: flex; justify-content: center; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(243,236,224,.55) 0%, rgba(243,236,224,.82) 55%, var(--cream) 100%); }
  .test-card { max-width: 100%; width: 100%; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .mono-band .row { gap: 28px; }
  .is-grid { grid-template-columns: 1fr; gap: 40px; }
  .imgsplit--flip .is-media { order: 0; }
  .is-media image-slot { height: clamp(260px, 60vw, 360px); }
  .imgsplit--tall .is-media image-slot { height: clamp(360px, 90vw, 520px); }
  .is-body { max-width: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .cols3 { grid-template-columns: 1fr; }
  .pain .cols3 > .col, .promise .cols3 > .col { border-right: none; border-bottom: 1px solid var(--line-soft); padding: 34px 20px; }
  .pain .cols3 > .col:last-child, .promise .cols3 > .col:last-child { border-bottom: none; }
  .section { padding: 60px 0; }
  .pc-grid { grid-template-columns: 1fr; gap: 26px; }
  .bar-row { grid-template-columns: 1fr auto; grid-template-areas: "label val" "bar bar"; gap: 8px 14px; }
  .bar-row .bl { grid-area: label; } .bar-row .bv { grid-area: val; } .bar-row .bar-track { grid-area: bar; }
  .pc-top, .pc-body { padding-left: 26px; padding-right: 26px; }
  .tc-q { min-height: 0; font-size: 20px; }
  .nav-cta .nav-link { display: none; }
  .progress-wrap { margin: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mono-band .row { flex-direction: column; text-align: center; }
  .result-cta { padding: 38px 24px; }
}

/* ===================== SCHMALE HANDYS (≤520px) ===================== */
@media (max-width: 520px) {
  .wrap { padding: 0 20px; max-width: 456px; }
  .site-header .bar { height: 64px; gap: 8px; }
  .brand { gap: 9px; }
  .brand .bt .s { display: none; }
  .brand .bt .n { font-size: 14.5px; line-height: 1.1; white-space: normal; overflow: visible; text-overflow: clip; }
  .site-header .brand .jh-logo { width: 40px !important; height: 40px !important; }
  .nav-cta { gap: 10px; }
  .btn--sm { padding: 11px 15px; font-size: 11px; letter-spacing: .08em; gap: 8px; }
  .cta-rest { display: none; }
  .hero-eyebrow { font-size: 10.5px; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero .lede { font-size: 16px; }
  .test-card { padding: 30px 22px 26px; border-radius: 16px; }
  .tc-head { flex-direction: column; align-items: flex-start; gap: 11px; margin-bottom: 22px; }
  .tc-badge { font-size: 10px; padding: 6px 13px; letter-spacing: .12em; white-space: nowrap; }
  .tc-meta { font-size: 11px; letter-spacing: .14em; }
  .tc-q { font-size: 20px; line-height: 1.45; margin-bottom: 10px; }
  .tc-slider { margin: 20px 0 24px; }
  .tc-value { margin-bottom: 10px; gap: 8px; }
  .tc-num { font-size: 30px; }
  .tc-lbl { font-size: 15px; }
  .tc-cta.btn--lg { padding: 19px 18px; font-size: 12px; letter-spacing: .04em; gap: 9px; line-height: 1.2; white-space: nowrap; }
  .tc-foot { gap: 8px 10px; font-size: 11.5px; margin-top: 20px; }
  .tc-foot .d { margin: 0; }
  .final { padding: 60px 22px; }
  .final h2 { font-size: clamp(22px, 6.4vw, 30px); letter-spacing: .015em; line-height: 1.32; margin-bottom: 30px; }
  .final .btn--lg { padding: 18px 26px; font-size: 12px; letter-spacing: .04em; gap: 11px; line-height: 1.4; text-wrap: balance; }
  .final .trust { flex-direction: column; align-items: center; gap: 16px; margin-top: 30px; }
  .final .trust .item span { font-size: 15px; }
  .band-q { padding: 40px 18px; }
  .quiz-top .bar { gap: 8px; }
  .quiz-top .close { font-size: 0; }
  .quiz-top .close span { font-size: 13px; }
  .q-text { font-size: clamp(21px, 6.4vw, 28px); }
  .slider-num { font-size: 50px; }
  .gate h2 { font-size: clamp(24px, 7vw, 32px); }
  .result-hero h1 { font-size: clamp(28px, 9vw, 44px); }
  .primary-card .pc-name { font-size: clamp(24px, 7vw, 34px); }
  .trust { gap: 14px; }
  .trust .sep { display: none; }
  .qt-logo { display: none !important; }
  .quiz-body { padding: 32px 18px 56px; }
}

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal-main { max-width: 820px; margin: 0 auto; padding: 56px 28px 90px; }
.legal-back { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); text-decoration: none; margin-bottom: 38px; }
.legal-back:hover { color: var(--gold-deep); }
.legal-main h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5vw, 52px); color: var(--ink); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 8px; }
.legal-main .lead { color: var(--text-soft); font-size: 17px; margin: 0 0 16px; }
.legal-main hr.div { border: none; height: 1px; background: var(--line); margin: 34px 0; }
.legal-main h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(23px, 3vw, 30px); color: var(--ink); margin: 46px 0 14px; padding-top: 8px; }
.legal-main h3 { font-family: var(--font-body); font-weight: 800; font-size: 17px; color: var(--ink); margin: 30px 0 8px; letter-spacing: .005em; }
.legal-main h4 { font-family: var(--font-body); font-weight: 800; font-size: 14.5px; color: var(--text); margin: 22px 0 6px; }
.legal-main p { font-size: 15.5px; line-height: 1.72; color: var(--text); margin: 0 0 14px; }
.legal-main a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal-main ul { margin: 0 0 16px; padding-left: 22px; }
.legal-main li { font-size: 15.5px; line-height: 1.7; color: var(--text); margin-bottom: 8px; }
.legal-main blockquote { margin: 16px 0; padding: 16px 20px; background: var(--cream-2); border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0; }
.legal-main blockquote p { font-size: 13.5px; color: var(--text-soft); margin: 0 0 10px; }
.legal-main blockquote p:last-child { margin: 0; }
.legal-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 8px; padding: 28px 30px; margin: 22px 0; box-shadow: var(--shadow-soft); }
.legal-card p { margin: 0 0 6px; }
.legal-card .label { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.legal-toc { background: var(--card); border: 1px solid var(--line-soft); border-radius: 8px; padding: 22px 26px; margin: 28px 0 8px; }
.legal-toc .label { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc li { font-size: 14.5px; margin-bottom: 6px; }
.legal-toc a { color: var(--text); text-decoration: none; }
.legal-toc a:hover { color: var(--gold-deep); }
.legal-header { border-bottom: 1px solid var(--line-soft); background: var(--cream); }

/* ===================== LEGAL MODAL (In-Page) ===================== */
.legal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 16, 8, .5);
  backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  animation: fadeUp .3s ease both;
}
.legal-modal {
  width: 100%; max-width: 820px;
  background: var(--cream);
  border-radius: 12px;
  box-shadow: 0 30px 90px -30px rgba(20,16,8,.7);
  overflow: hidden;
  margin: auto;
}
.legal-modal-top {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 18px;
  padding: 16px 24px;
  background: rgba(243,236,224,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.lm-brand { display: flex; align-items: center; gap: 11px; }
.lm-brand span { font-family: var(--font-display); font-size: 16px; color: var(--ink); white-space: nowrap; }
.lm-tabs { display: flex; gap: 6px; margin-left: auto; }
.lm-tabs button {
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-soft); background: none; border: none;
  padding: 8px 14px; border-radius: 99px; cursor: pointer; transition: all .2s ease;
}
.lm-tabs button:hover { color: var(--ink); }
.lm-tabs button.active { background: var(--ink-band); color: var(--on-dark); }
.lm-close {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--text-soft); cursor: pointer; display: grid; place-items: center;
  transition: all .2s ease;
}
.lm-close:hover { background: var(--ink-band); color: var(--on-dark); border-color: var(--ink-band); }
.lm-close svg { width: 18px; height: 18px; }
.legal-modal-body { padding: 8px 44px 56px; }
.legal-modal-body .legal-main { max-width: none; margin: 0; padding: 24px 0 0; }
.legal-modal-body .legal-main h1 { margin-top: 14px; }

@media (max-width: 720px) {
  .legal-overlay { padding: 0; }
  .legal-modal { max-width: none; border-radius: 0; min-height: 100%; }
  .legal-modal-body { padding: 8px 22px 48px; }
  .lm-brand span { display: none; }
}

/* ===================== PRINT ===================== */
@media print {
  body { background: #fff; }
  .quiz-top, .result-foot, .result-cta, .result-actions, .close, .btn { display: none !important; }
  .result-screen { position: static; overflow: visible; }
  .primary-card, .match-row { box-shadow: none; break-inside: avoid; }
  .bar-fill { transition: none !important; }
}
