/* NachfolgeStudie landing styles, shared by all pages. Base = nachfolgecheck/template.html (same look). */
/* ── TOKENS (taken from firma-verkaufen.ch) ── */
:root {
  --navy:      #0B1A3A;
  --navy-box:  #26334F;
  --navy-line: rgba(255,255,255,.12);
  --grey:      #F6F6F4;
  --white:     #FFFFFF;
  --soft:      #A8B7DA;   /* second heading line on dark, accents */
  --mute:      #5C6886;   /* second heading line / labels on light */
  --mute-dk:   #CDD4E3;   /* labels on dark */
  --tan:       #AF966D;   /* nav button, hover, stat accents */
  --line:      #E3E5EA;
  --text:      #0B1A3A;
  --wrap:      1400px;
  --gutter:    2.4rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: 'Manrope', Helvetica, sans-serif; font-weight: 300; font-size: 1rem; line-height: 1.75; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ── TYPE ───────────────────────────────── */
h1, h2, h3, h4 { font-weight: 400; line-height: 1.25; }
.overtitle { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--mute); margin-bottom: .7rem; }
.overtitle::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.dark .overtitle { color: var(--mute-dk); }
.h2 { font-size: clamp(1.6rem, 2.4vw, 2.04rem); line-height: 1.22; color: var(--navy); }
.h2 span { display: block; color: var(--mute); }
.dark .h2 { color: var(--white); }
.dark .h2 span { color: var(--soft); }
.lead-text { font-size: 1rem; line-height: 1.75; }
.lead-text p + p { margin-top: 1rem; }

/* ── BUTTONS ────────────────────────────── */
.button {
  display: inline-flex; align-items: center; gap: .75em; border-radius: 40px; border: 2px solid var(--navy);
  background: var(--navy); color: var(--white); font-size: .8rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  padding: .62rem 1.4rem; line-height: 1.25; transition: background-color .3s, border-color .3s, color .3s;
}
.button:hover { background: var(--tan); border-color: var(--tan); color: var(--white); }
.button.light { background: var(--white); border-color: var(--white); color: var(--navy); }
.button.light:hover { background: var(--tan); border-color: var(--tan); color: var(--white); }
.button svg { width: 11px; height: 11px; }

/* ── HEADER ─────────────────────────────── */
.mainhead { position: sticky; top: 0; z-index: 100; background: var(--navy); }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 118px; transition: height .3s; }
.mainhead.small .topbar { height: 78px; }
.logo { display: flex; align-items: center; gap: 14px; color: var(--white); }
.logo svg.tp-logo { height: 44px; width: 252px; }
.mainfoot .logo svg.tp-logo { height: 36px; width: 206px; }
.topnav { display: flex; align-items: center; gap: 2.2rem; }
.topnav a { white-space: nowrap; }
.topnav a.nl { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white); transition: color .25s; }
.topnav a.nl:hover { color: var(--soft); }
.nav-cta { background: var(--tan); color: var(--navy); border-radius: 40px; padding: .55rem 1.4rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: background .3s, color .3s; }
.nav-cta:hover { background: var(--white); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger i, .burger::before, .burger::after { content: ''; position: absolute; left: 9px; right: 9px; height: 2px; background: var(--white); }
.burger::before { top: 13px; } .burger i { top: 19px; } .burger::after { top: 25px; }

/* ── HERO ───────────────────────────────── */
/* Hero + facts strip together fill the first screen, so the facts are visible without scrolling */
.first-screen { display: flex; flex-direction: column; min-height: calc(100vh - 118px); min-height: calc(100svh - 118px); }
.intro { position: relative; flex: 1; display: flex; align-items: center; overflow: hidden; color: var(--white); }
.intro-media { position: absolute; inset: 0; background: url('hero.webp') center 35%/cover no-repeat; }
.intro-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,26,58,.94) 0%, rgba(11,26,58,.82) 45%, rgba(11,26,58,.55) 100%); }
.intro-content { position: relative; width: 100%; padding: 2.5rem 0 4.5rem; }
.intro .overtitle { color: var(--white); margin-bottom: 1.4rem; }
.intro .overtitle:empty { display: none; }
.herotitle { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.12; max-width: 900px; margin-bottom: 1.6rem; }
.herotitle span { display: block; color: var(--soft); }
.herotitle span:empty { display: none; }
.hero-proof { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--soft); font-weight: 400; max-width: 760px; margin: -.4rem 0 1.4rem; }
.hero-proof:empty { display: none; }
.text_lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.75; max-width: 790px; margin-bottom: 2rem; font-weight: 300; }

/* ── FACTS STRIP ────────────────────────── */
.facts { background: var(--grey); padding: 1.3rem 0; }
.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.fact-row > div + div { border-left: 1px solid var(--line); }
.fact-num { font-size: clamp(1.3rem, 1.7vw, 1.5rem); line-height: 1.2; margin-bottom: .2rem; color: var(--navy); font-weight: 400; }
.fact-txt { font-size: .78rem; font-weight: 400; color: var(--navy); }
.fact-num[data-count] { font-variant-numeric: tabular-nums; }
/* Facts sit at the bottom of the first screen: own fade-in right on load (not the scroll reveal) */
.js .fact-row > div { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.js .fact-row > div.in { opacity: 1; transform: none; }
.fact-row > div:nth-child(2) { transition-delay: .1s; }
.fact-row > div:nth-child(3) { transition-delay: .2s; }
.fact-row > div:nth-child(4) { transition-delay: .3s; }

/* ── BLOCKS ─────────────────────────────── */
.block { padding: 5rem 0; }
.block.dark { background: var(--navy); color: var(--white); }
.block.grey { background: var(--grey); }
.lead-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.lead-intro .lead-text { padding-top: .4rem; }

/* value grid (2 × 3, divider lines) */
.value { display: grid; grid-template-columns: 1fr 1fr; margin-top: 4rem; border-top: 1px solid var(--navy-line); }
.value-item { display: grid; grid-template-columns: 72px 1fr; padding: 2.6rem 0; border-bottom: 1px solid var(--navy-line); }
.value-item:nth-child(odd) { border-right: 1px solid var(--navy-line); padding-right: 2.5rem; }
.value-item:nth-child(even) { padding-left: 3.4rem; }
.value-num { font-size: 1.4rem; font-weight: 300; color: var(--soft); line-height: 1.3; }
.value-title { font-size: 1.15rem; font-weight: 500; margin-bottom: 1rem; }
.value-text { font-size: .92rem; color: var(--mute-dk); }

/* comparison */

/* stat cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 4rem; }
.card { background: var(--navy-box); border: 1px solid var(--navy-line); padding: 2rem 2.2rem 2.4rem; }
.card-stat { font-size: 1.3rem; color: var(--tan); margin-bottom: .3rem; }
.card-title { font-size: 1.3rem; font-weight: 500; margin-bottom: .7rem; }
.card-text { font-size: .92rem; color: #fff; line-height: 1.7; }

/* offer rows */
.offer { margin-top: 3.5rem; border-top: 1px solid var(--line); }
.offer-row { display: grid; grid-template-columns: 140px 1fr 1fr; gap: 2rem; padding: 3.4rem 0; border-bottom: 1px solid var(--line); }
.offer-num { font-size: 1.6rem; font-weight: 300; color: var(--mute); line-height: 1.3; }
.offer-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--mute); margin-bottom: .6rem; }
.offer-name { font-size: 1.6rem; line-height: 1.25; max-width: 380px; }
.offer-desc { font-size: .95rem; max-width: 560px; }

/* inline cta bar */
.linkbar { margin-top: 3.5rem; background: var(--white); padding: 1.6rem 2.2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.linkbar p { font-size: 1rem; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2.2rem; margin-top: 4.5rem; }
.tl-item { border-top: 1px solid var(--navy-line); padding: 2.6rem 0 3rem; }
.tl-num { display: block; font-size: clamp(2.5rem, 4vw, 3.4rem); font-weight: 300; line-height: 1; letter-spacing: -.02em; margin-bottom: 2rem; }
.tl-title { font-size: 1.3rem; font-weight: 500; margin-bottom: .8rem; }
.tl-text { font-size: .88rem; color: var(--mute-dk); max-width: 420px; }

/* start / features */
.start-title { font-size: clamp(1.7rem, 2.5vw, 2.1rem); margin-bottom: 1.2rem; }
.start-sub { font-size: 1.15rem; line-height: 1.75; max-width: 820px; margin-bottom: 2rem; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.feat-num { font-size: .8rem; font-weight: 700; color: var(--mute); margin-bottom: .6rem; }
.feat-label { font-size: 1rem; font-weight: 600; margin-bottom: .2rem; }
.feat-sub { font-size: .85rem; color: var(--mute); }

/* quotes */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 3rem; }
.quote { background: var(--grey); padding: 1.6rem; }
.quote-in { background: #F1F2F4; padding: 2.4rem 2.2rem 2rem; height: 100%; display: flex; flex-direction: column; }
.quote-mark { color: var(--soft); font-size: 2rem; line-height: 1; font-weight: 700; margin-bottom: .8rem; }
.quote p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 2.4rem; }
.quote-name { margin-top: auto; font-size: .78rem; font-weight: 500; }
.quote-detail { font-size: .75rem; color: var(--mute); }

/* faq */
.faq { margin-top: 3rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.5rem 0; text-align: left; font-size: 1.15rem; font-weight: 500; color: var(--navy); }
.plus { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex-shrink: 0; transition: background .3s, border-color .3s; }
.plus::before, .plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: var(--navy); transform: translate(-50%,-50%); transition: transform .3s, background .3s; }
.plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .plus { background: var(--navy); border-color: var(--navy); }
.faq-item.open .plus::before, .faq-item.open .plus::after { background: #fff; }
.faq-item.open .plus::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 4rem 1.6rem 0; max-width: 900px; }
.faq-a a { text-decoration: underline; text-underline-offset: 3px; }

/* ── MARKTBILD (anonymous aggregates, numbers from scripts/market-snapshot.ts) ── */
.mk { --rot: #B4232F; --gelb: #B98326; --gruen: #1F8A57; }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mk-stat { padding: 2rem 2rem 2.1rem 0; }
.mk-stat + .mk-stat { border-left: 1px solid var(--line); padding-left: 2rem; }
.mk-num { font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.1; color: var(--navy); font-weight: 400; font-variant-numeric: tabular-nums; }
.mk-txt { font-size: .95rem; line-height: 1.55; color: var(--mute); margin-top: .5rem; max-width: 320px; }
.mk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 3rem; }
.mk-card { border: 1px solid var(--line); padding: 2rem 2.2rem 2.2rem; display: flex; flex-direction: column; }
.mk-card h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 500; color: var(--navy); }
.mk-sub { font-size: .82rem; color: var(--mute); margin: .35rem 0 1.6rem; }
.mk [data-tip] { position: relative; }
.mk [data-tip]:hover::after, .mk [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 6px); background: var(--navy); color: var(--white); font-size: .75rem; font-weight: 500; line-height: 1.3; padding: .3rem .55rem; border-radius: 3px; white-space: nowrap; z-index: 5; pointer-events: none; }
.mk [data-tip]:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
/* dot matrix: Auswertung layout (Quadrant I top left), split at 55 points */
.mk-sc { display: grid; grid-template-columns: 1.4rem 1fr; grid-template-rows: auto auto auto auto; gap: 4px 6px; }
.mk-ax { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.mk-ax-top { grid-column: 2; display: flex; justify-content: space-between; }
.mk-ax-left { grid-row: 2; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; justify-content: space-between; }
.mk-plot { grid-column: 2; grid-row: 2; position: relative; aspect-ratio: 100 / 80; }
.mk-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mk-plot rect { fill: var(--grey); }
.mk-plot circle { fill: var(--navy); fill-opacity: .72; stroke: var(--white); stroke-width: .35; }
.mk-qr { position: absolute; font-size: .72rem; font-weight: 700; color: var(--mute); pointer-events: none; }
.mk-qr.q1 { left: 1.6%; top: 2%; } .mk-qr.q2 { left: 46.6%; top: 2%; }
.mk-qr.q3 { left: 1.6%; top: 47.4%; } .mk-qr.q4 { left: 46.6%; top: 47.4%; }
.mk-qs { grid-column: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: .9rem; }
.mk-qs div { border-top: 2px solid var(--navy); padding-top: .5rem; }
.mk-qs b { display: block; font-size: 1.35rem; font-weight: 400; line-height: 1.2; color: var(--navy); font-variant-numeric: tabular-nums; }
.mk-qs span { display: block; font-size: .76rem; line-height: 1.35; color: var(--mute); }
.mk-sc-note { grid-column: 2; font-size: .75rem; color: var(--mute); }
/* expectation gap (full width) */
.mk-wide { grid-column: 1 / -1; }
.mk-gap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
.mk-gap-num { font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; color: var(--navy); font-weight: 400; margin-bottom: .8rem; font-variant-numeric: tabular-nums; }
.mk-gap .mk-sub { margin-bottom: 0; }
.mk-seg.above { background: #B07D2A; color: var(--navy); }
.mk-seg.within { background: #3F5594; }
.mk-seg.below { background: #86A5F0; color: var(--navy); border-radius: 0 4px 4px 0; }
.mk-gap .mk-legend { margin-top: 1rem; }
.mk-gap .mk-note { margin-top: 1.2rem; }
.mk-card > .mk-note { margin-top: auto; }
.mk-legend + .mk-note { margin-top: 1.8rem; }
/* ampel: 100% stacked bars, 2px surface gap */
.mk-st + .mk-st { margin-top: 1.6rem; }
.mk-st-head { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; margin-bottom: .5rem; }
.mk-st-head span { color: var(--mute); font-size: .85rem; }
.mk-stack { display: flex; gap: 2px; height: 24px; }
.mk-seg { flex: var(--v) 1 0; min-width: 0; color: var(--white); font-size: .75rem; font-weight: 600; line-height: 24px; white-space: nowrap; container-type: inline-size; }
.mk-seg span { display: block; padding-left: .5rem; }
@container (max-width: 2.6rem) { .mk-seg span { display: none; } }
.mk-seg.rot { background: var(--rot); }
.mk-seg.gelb { background: var(--gelb); color: var(--navy); }
.mk-seg.gruen { background: var(--gruen); border-radius: 0 4px 4px 0; }
.mk-note { margin-top: auto; padding: 1rem 1.2rem; background: var(--grey); font-size: .9rem; line-height: 1.5; color: var(--navy); }
.mk-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.4rem; font-size: .8rem; color: var(--mute); }
.mk-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.mk-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
/* horizontal bars, value at the tip */
.mk-bars { display: grid; grid-template-columns: max-content 1fr; column-gap: 1.2rem; row-gap: .75rem; align-items: center; }
.mk-bl { font-size: .88rem; color: var(--navy); }
.mk-bt { display: flex; align-items: center; gap: .5rem; }
.mk-b { height: 18px; width: calc((100% - 3rem) * var(--v) / var(--max)); background: var(--navy); border-radius: 0 4px 4px 0; flex: none; }
.mk-bv { font-size: .82rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.mk-foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2.5rem; background: var(--grey); padding: 1.6rem 2.2rem; }
.mk-foot p { font-size: 1rem; }
.mk-source { font-size: .8rem; color: var(--mute); margin-top: 1.2rem; }

/* ── FOOTER ─────────────────────────────── */
.mainfoot { background: var(--navy); color: var(--white); padding: 4.5rem 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 4rem; }
.foot-claim { font-size: 1.3rem; line-height: 1.4; margin-top: 2.6rem; max-width: 340px; }
.foot-claim span { color: var(--soft); }
.foot-hd { font-size: .78rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--soft); margin-bottom: 1.3rem; }
.foot-links { display: flex; flex-direction: column; gap: .3rem; font-size: .92rem; }
.foot-links a:hover { color: var(--soft); }
.foot-bottom { border-top: 1px solid var(--navy-line); padding: 1.6rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; font-weight: 600; }
.foot-bottom nav { display: flex; gap: 1.3rem; }
.foot-bottom span { font-weight: 300; color: var(--mute-dk); }


/* ── REVEAL ─────────────────────────────── */
.js .slideup { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .slideup.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1240px) {
  .topnav { gap: 1.4rem; }
  .topnav a.nl { letter-spacing: .1em; }
}
@media (max-width: 1020px) {
  .topnav .nl { display: none; }
  .lead-intro { grid-template-columns: 1fr; gap: 1.6rem; }
  .value { grid-template-columns: 1fr; }
  .value-item:nth-child(odd) { border-right: none; padding-right: 0; }
  .value-item:nth-child(even) { padding-left: 0; }
  .cards, .timeline { grid-template-columns: 1fr 1fr; }
  .offer-row { grid-template-columns: 80px 1fr; }
  .offer-desc { grid-column: 2; }
  .feats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mk-stats { grid-template-columns: 1fr; }
  .mk-stat { padding: 1.4rem 0; }
  .mk-stat + .mk-stat { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .mk-grid { grid-template-columns: 1fr; }
  .mk-card { padding: 1.6rem 1.3rem 1.7rem; }
  .mk-qs { grid-template-columns: 1fr 1fr; }
  .mk-sc .mk-ax { font-size: .56rem; letter-spacing: .06em; }
  .mk-sc { grid-template-columns: 1rem 1fr; }
  .mk-gap { grid-template-columns: 1fr; gap: 1.6rem; }
  .mk-bars { grid-template-columns: 1fr; row-gap: .2rem; }
  .mk-bt { margin-bottom: .55rem; }
  .mk-foot { flex-direction: column; align-items: flex-start; padding: 1.4rem 1.3rem; }
  :root { --gutter: 1.4rem; }
  .topbar { height: 78px; }
  .logo svg.tp-logo { height: 30px; width: 172px; }
  .nav-cta { padding: .5rem 1rem; font-size: .7rem; letter-spacing: .1em; }
  .first-screen { min-height: calc(100vh - 78px); min-height: calc(100svh - 78px); }
  .intro-content { padding: 1.6rem 0 2.2rem; }
  .herotitle { font-size: 2.05rem; margin-bottom: 1.1rem; }
  .text_lead { line-height: 1.6; margin-bottom: 1.5rem; }
  .hero-proof { font-size: 1.1rem; margin: -.2rem 0 1rem; }
  .block { padding: 3.5rem 0; }
  .facts { padding: 1rem 0; }
  .fact-row { grid-template-columns: 1fr 1fr; row-gap: .9rem; }
  .fact-row > div:nth-child(3) { border-left: none; }
  .value-item { grid-template-columns: 48px 1fr; padding: 1.8rem 0; }
  .cards, .timeline, .quotes, .feats { grid-template-columns: 1fr; }
  .offer-row { grid-template-columns: 1fr; gap: .6rem; padding: 2.2rem 0; }
  .offer-desc { grid-column: auto; }
  .linkbar { flex-direction: column; align-items: flex-start; }
  .faq-a p { padding-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .intro-content { padding: .9rem 0 1.2rem; }
  .facts { padding: .7rem 0; }
  .fact-row { row-gap: .6rem; }
}

/* ── NACHFOLGESTUDIE ADDITIONS ──────────── */
/* hero overtitles without the leading line */
.intro .overtitle::before, .page-hero .overtitle::before { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button.outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.button.outline-light:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.teaser-foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2.5rem; }
.teaser-foot p { font-size: .9rem; color: var(--mute); }

/* sub pages (Ergebnisse, Impressum, Datenschutz) */
.page-hero { background: var(--navy); color: var(--white); padding: 4.5rem 0 5rem; border-top: 1px solid var(--navy-line); }
.page-hero .overtitle { color: var(--mute-dk); margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 400; line-height: 1.1; }
.page-hero h1 span { display: block; color: var(--soft); }
.page-hero h1 small { display: block; color: var(--soft); font-size: .55em; line-height: 1.35; margin-top: .6rem; }
.page-hero .text_lead { margin: 1.6rem 0 0; }
.page-hero .version { margin-top: 1.4rem; font-size: .85rem; color: var(--mute-dk); }
.res-meta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; font-size: .85rem; color: var(--mute-dk); }
.res-meta b { color: var(--white); font-weight: 600; }
.res-toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.4rem; }
.res-toc a { border: 1px solid var(--navy-line); border-radius: 40px; padding: .4rem 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--white); transition: background .25s, color .25s; }
.res-toc a:hover { background: var(--white); color: var(--navy); }

.legal-wrap { padding-top: 4.5rem; padding-bottom: 5.5rem; }
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 400; line-height: 1.3; color: var(--navy); margin: 3rem 0 1rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p { color: var(--navy); font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { font-weight: 600; }

@media (max-width: 640px) {
  .teaser-foot { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 3rem 0 3.4rem; }
  .legal-wrap { padding-top: 3rem; padding-bottom: 4rem; }
  .legal-content h2 { margin-top: 2.4rem; padding-top: 1.8rem; }
  .hero-actions .button { justify-content: center; }
}

/* ── STUDY REPORT (/ergebnisse, charts from charts.js) ── */
.st-sec { padding: 5rem 0; }
.st-sec.grey { background: var(--grey); }
.st-sec + .st-sec:not(.grey) { border-top: 1px solid var(--line); }
.st-num { font-size: .8rem; font-weight: 700; letter-spacing: .15em; color: var(--tan); margin-bottom: .4rem; }
.st-body { max-width: 820px; }
.st-body p + p { margin-top: 1rem; }
.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 3rem; }
.st-card { border: 1px solid var(--line); background: var(--white); padding: 2rem 2.2rem 1.6rem; display: flex; flex-direction: column; min-width: 0; }
.st-card.wide { grid-column: 1 / -1; }
.st-card h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 500; color: var(--navy); }
.st-card .mk-sub { margin-bottom: 1.4rem; }
/* takeaway above the table toggle */
.st-card > .st-take { order: 1; }
.st-card > .st-tbl { order: 2; }
.st-take { margin-top: auto; padding-top: 1.4rem; font-size: .9rem; line-height: 1.55; color: var(--navy); }
.st-take b { font-weight: 600; }

/* key findings */
.st-keys { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border-top: 1px solid var(--line); }
.st-key { padding: 2rem 2rem 2.2rem 0; border-bottom: 1px solid var(--line); }
.st-key:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--line); }
.st-key .mk-num { margin-bottom: .6rem; }
.st-key h3 { font-size: 1.05rem; font-weight: 500; line-height: 1.4; color: var(--navy); margin-bottom: .5rem; }
.st-key p { font-size: .9rem; line-height: 1.6; color: var(--mute); }

/* typical company */
.st-typ { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; margin-top: 3rem; background: var(--navy); color: var(--white); padding: 2.6rem 2.8rem; }
.st-typ h3 { font-size: 1.5rem; font-weight: 400; line-height: 1.3; }
.st-typ h3 span { display: block; color: var(--soft); }
.st-typ p { margin-top: 1rem; font-size: .92rem; color: var(--mute-dk); }
.st-typ dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; }
.st-typ dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--navy-line); font-size: .9rem; }
.st-typ dt { color: var(--mute-dk); }
.st-typ dd { font-weight: 600; text-align: right; }

/* columns + histogram */
.st-colplot { display: grid; grid-template-columns: repeat(var(--k, 20), 1fr); gap: 2px; align-items: end; height: 190px; border-bottom: 1px solid var(--line); position: relative; }
.st-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.st-col i { display: block; width: 100%; max-width: 46px; min-height: 1px; border-radius: 4px 4px 0 0; }
.st-col:hover i, .st-col:focus-visible i { opacity: .82; }
.st-cv { font-size: .75rem; color: var(--mute); margin-bottom: .25rem; font-variant-numeric: tabular-nums; }
.st-collbl { display: grid; grid-template-columns: repeat(var(--k), 1fr); gap: 2px; margin-top: .45rem; }
.st-collbl span { font-size: .72rem; line-height: 1.25; color: var(--mute); text-align: center; }
.st-unit { font-size: .72rem; color: var(--mute); text-align: center; margin-top: .3rem; }
.st-hplot { --k: 20; gap: 1px; height: 170px; }
.st-hplot .st-col i { max-width: none; border-radius: 2px 2px 0 0; }
.st-med { position: absolute; top: -.2rem; bottom: 0; border-left: 1.5px solid var(--navy); pointer-events: none; }
.st-med b { position: absolute; left: .4rem; top: 0; font-size: .72rem; font-weight: 600; color: var(--navy); white-space: nowrap; background: var(--white); padding: 0 .2rem; }
.st-haxis { position: relative; height: 1.2rem; margin-top: .3rem; }
.st-haxis span { position: absolute; transform: translateX(-50%); font-size: .72rem; color: var(--mute); }
.st-haxis span:first-child { transform: none; }
.st-haxis span:last-child { transform: translateX(-100%); }

/* donut */
.st-donut { display: grid; grid-template-columns: 170px 1fr; gap: 1.8rem; align-items: center; }
.st-donut svg { width: 170px; height: 170px; }
.st-donut circle:hover { opacity: .85; }
.st-dc { font-size: 15px; font-weight: 500; fill: var(--navy); }
.st-dl { font-size: 6.5px; fill: var(--mute); }
.st-dlg { list-style: none; display: grid; gap: .55rem; }
.st-dlg li { display: grid; grid-template-columns: 12px 1fr auto; gap: .6rem; align-items: center; font-size: .88rem; color: var(--navy); }
.st-dlg i { width: 12px; height: 12px; border-radius: 2px; }
.st-dlg b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* stacked rows */
.st-stk + .st-stk { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.st-stk .mk-st-head { font-size: .92rem; color: var(--navy); }
.st-stk .mk-legend { margin-top: .7rem; }
.st-stk .mk-seg:first-child { border-radius: 4px 0 0 4px; }
.st-stk .mk-seg:last-child { border-radius: 0 4px 4px 0; }

/* group comparison (median markers) */
.st-clg { margin: 0 0 1.4rem; }
.mk-legend i.st-k { width: 11px; height: 11px; border-radius: 50%; }
.mk-legend i.st-k.nwu { background: #2F55A4; }
.mk-legend i.st-k.nfa { background: #C47F1F; border-radius: 2px; }
.mk-legend i.st-k.guide { width: 2px; height: 12px; border-radius: 0; background: #C9CDD6; }
.st-cmp { display: grid; grid-template-columns: minmax(150px, 230px) 1fr 70px; column-gap: 1.2rem; row-gap: .25rem; align-items: center; }
.st-csub { grid-column: 1 / -1; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding-top: 1rem; }
.st-csub:first-child { padding-top: 0; }
.st-cl { font-size: .88rem; line-height: 1.3; color: var(--navy); padding: .35rem 0; }
.st-cl small { display: block; font-size: .72rem; color: var(--mute); }
.st-ct { position: relative; height: 28px; }
.st-ct::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.st-cg { position: absolute; top: 3px; bottom: 3px; width: 1px; background: #C9CDD6; }
.st-cbar { position: absolute; top: calc(50% - 1.5px); height: 3px; background: #C9CDD6; }
.st-ct .st-cm { position: absolute; display: block; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; box-shadow: 0 0 0 2px var(--white); }
.st-cm::before { content: ""; position: absolute; inset: -6px; }
.st-cm.nwu { background: #2F55A4; border-radius: 50%; }
.st-cm.nfa { background: #C47F1F; border-radius: 2px; }
.st-cv2 { font-size: .82rem; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-cv2 b { color: var(--navy); font-weight: 600; }
.st-cax { position: relative; height: 1.1rem; }
.st-cax span { position: absolute; transform: translateX(-50%); font-size: .72rem; color: var(--mute); }
.st-cax span:first-child { transform: none; }
.st-cax span:last-child { transform: translateX(-100%); }

/* tables */
.st-tbl { margin-top: 1.2rem; font-size: .82rem; }
.st-tbl summary { cursor: pointer; color: var(--mute); font-weight: 600; width: max-content; }
.st-tbl summary:hover { color: var(--navy); }
.st-tbl table { width: 100%; border-collapse: collapse; margin-top: .7rem; }
.st-tbl caption { text-align: left; color: var(--mute); padding-bottom: .4rem; }
.st-tbl th, .st-tbl td { text-align: left; padding: .35rem .5rem .35rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.st-tbl th { font-weight: 600; color: var(--navy); }
.st-tbl td:not(:first-child), .st-tbl th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }

/* method + limitations */
.st-list { margin-top: 1.4rem; display: grid; gap: .8rem; max-width: 900px; }
.st-list li { list-style: none; position: relative; padding-left: 1.4rem; }
.st-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 1px; background: var(--navy); }

@media (max-width: 1020px) {
  .st-keys { grid-template-columns: 1fr 1fr; }
  .st-key:not(:nth-child(3n+1)) { padding-left: 0; border-left: none; }
  .st-key:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
  .st-typ { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 640px) {
  .st-sec { padding: 3.5rem 0; }
  .st-grid, .st-keys { grid-template-columns: 1fr; }
  .st-key, .st-key:nth-child(even) { padding: 1.6rem 0; border-left: none; }
  .st-card { padding: 1.5rem 1.2rem 1.3rem; }
  .st-typ { padding: 1.8rem 1.3rem; }
  .st-typ dl { grid-template-columns: 1fr; }
  .st-donut { grid-template-columns: 1fr; justify-items: center; }
  .st-dlg { width: 100%; }
  .st-colplot { height: 150px; }
  .st-cv { font-size: .6rem; }
  .st-collbl span { font-size: .6rem; }
  .st-cmp { grid-template-columns: 1fr 58px; }
  .st-cl { grid-column: 1 / -1; padding-bottom: 0; }
  .st-cmp > div:empty { display: none; }
}
