/* =========================================================
   Marcel Höhne – Landing "Bring me the hard problems"
   Fonts: assets/css/fonts.css (embedded, no Google Fonts requests)
   ========================================================= */

:root {
  --bg: #090b0f;
  --bg-rgb: 9, 11, 15;
  --surface: #12151a;
  --surface-2: #1c1f25;
  --text: #fefdfd;
  --muted: rgba(254, 253, 253, .68);
  --faint: rgba(254, 253, 253, .55);
  --line: rgba(254, 253, 253, .12);
  --accent: #e0dc00;
  --on-accent: #191c1f;

  --font-display: "Alfa Slab One", Georgia, serif;
  --font-text: "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(24px, 7.55vw, 145px);
  --section-y: clamp(72px, 9.4vw, 180px);
  --radius: clamp(16px, 1.25vw, 24px);

  --fs-eyebrow: clamp(13px, 1.25vw, 24px);
  --fs-h1: clamp(46px, 6.25vw, 120px);
  --fs-h2: clamp(40px, 6.25vw, 120px);
  --fs-body: clamp(17px, 1.25vw, 24px);
  --fs-intro: clamp(17px, 1.46vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.page { max-width: 1920px; margin: 0 auto; overflow-x: clip; }
.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-weight: 300; font-size: var(--fs-eyebrow); line-height: 1.2;
  text-transform: uppercase; letter-spacing: .02em; color: var(--accent);
}
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.02em;
  overflow-wrap: normal; hyphens: manual;
}
.h2 { font-size: var(--fs-h2); }
.intro { font-size: var(--fs-intro); color: rgba(254,253,253,.7); max-width: 900px; }
.section-head { display: grid; gap: clamp(12px, 1.25vw, 24px); margin-bottom: clamp(32px, 4.2vw, 80px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-text); font-weight: 700;
  font-size: clamp(16px, .94vw, 18px); line-height: 1.5;
  padding: 16px 32px; border-radius: 999px; text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(224,220,0,.55); }
.btn:focus-visible, .case-toggle:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 4px;
}
.btn--dark { background: var(--on-accent); color: var(--accent); }

/* =========================================================
   HERO with video "mouse follower"
   ========================================================= */
.hero {
  position: relative; min-height: min(100svh, 1080px); height: 56.25vw; max-height: 1080px;
  display: flex; align-items: center; isolation: isolate; overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0 0 0 10%; z-index: -2; background: var(--bg);
}
.hero-media img, .hero-media video, .hero-media canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
.hero-media canvas { opacity: 0; transition: opacity .3s ease; }
.hero-media canvas.is-ready { opacity: 1; }
.hero-media video { opacity: 0; transition: opacity .35s ease; }
.hero-media video.is-visible { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(var(--bg-rgb),1) 0%, rgba(var(--bg-rgb),1) 13%,
    rgba(var(--bg-rgb),.55) 38%, rgba(var(--bg-rgb),0) 63%);
}
.lang-switch {
  position: absolute; z-index: 3; top: clamp(20px, 2.5vw, 48px); right: calc(var(--gutter) - var(--hero-inset, 0px));
  display: flex; gap: .25em; font-weight: 600; font-size: clamp(13px, .94vw, 18px); letter-spacing: .06em;
}
.lang-switch a { color: rgba(254,253,253,.6); text-decoration: none; padding: .35em .5em; border-radius: 999px; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="page"] { color: var(--on-accent); background: var(--accent); }
.lang-switch a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hero-content { width: min(780px, 100%); display: grid; gap: 16px; }
/* Desktop/tablet: text sits in the lower part of the hero instead of the vertical centre */
@media (min-width: 721px) { .hero { align-items: flex-end; } .hero-content { padding-bottom: clamp(48px, 6.25vw, 120px); } }
.hero .eyebrow { color: var(--text); }
.hero h1 { font-size: var(--fs-h1); }
@media (min-width: 721px) { .hero h1 { width: max-content; max-width: calc(100vw - 2 * var(--gutter)); } } /* lines break only at <br> (DE: „den harten“) */
@media (max-width: 720px) { html[lang="de"] .hero h1 { font-size: clamp(34px, 11vw, 46px); } } /* DE: „den harten“ fits on one line on phones */
.hero-body { color: rgba(254,253,253,.85); }
.hero .btn { justify-self: start; margin-top: 8px; }

/* Larger screens: hero as a rounded "card" with a small inset */
@media (min-width: 1280px) {
  :root {
    --hero-inset: clamp(12px, 1.05vw, 24px);
    --hero-radius: clamp(20px, 1.67vw, 32px);
  }
  .hero {
    margin: var(--hero-inset) var(--hero-inset) 0;
    border-radius: var(--hero-radius);
    clip-path: inset(0 round var(--hero-radius)); /* reliable clipping of video/canvas in Safari */
    height: calc((100vw - 2 * var(--hero-inset)) * .5625);
  }
  .hero .wrap { padding-inline: calc(var(--gutter) - var(--hero-inset)); } /* keep text on the page grid */
}
@media (min-width: 1280px) {
  /* Method + House rules as the same rounded card */
  .method, .rules-section {
    margin-inline: var(--hero-inset);
    padding-inline: calc(var(--gutter) - var(--hero-inset));
    border-radius: var(--hero-radius);
    clip-path: inset(0 round var(--hero-radius));
  }
}
@media (min-width: 1968px) { /* page is capped at 1920px – keep the 16:9 ratio inside the cap */
  .hero { height: calc((1920px - 2 * var(--hero-inset)) * .5625); }
}

/* =========================================================
   PERSONAL BESTS
   ========================================================= */
.ai-note { margin-top: clamp(12px, 1.05vw, 20px); color: var(--faint); font-weight: 300; font-size: clamp(12px, .83vw, 16px); line-height: 1.45; }
@media (max-width: 720px) { .ai-note { margin-top: 0; } }
.bests { padding-top: clamp(48px, 6.25vw, 120px); padding-bottom: clamp(24px, 2vw, 40px); }
.bests .eyebrow { margin-bottom: clamp(24px, 2.5vw, 48px); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 1px solid rgba(254,253,253,.18); padding-top: 32px; display: grid; gap: 12px; align-content: start; }
.stat-num { font-family: var(--font-display); font-size: clamp(40px, 5vw, 96px); line-height: 1; }
.stat-label { color: var(--muted); font-size: clamp(14px, 1.15vw, 22px); line-height: 1.4; }
.trust { margin-top: clamp(24px, 2.5vw, 48px); color: var(--faint); font-weight: 300; font-size: clamp(13px, 1.05vw, 20px); }
.trust span + span::before { content: "·"; margin: 0 .75em; }

/* =========================================================
   PROBLEMS
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.1vw, 40px); display: grid; gap: 20px; align-content: start;
}
.card-num { font-family: var(--font-display); color: var(--accent); font-size: clamp(28px, 2.1vw, 40px); line-height: 1; }
.card h3 { font-weight: 700; font-size: clamp(21px, 1.56vw, 30px); line-height: 1.2; }
.card p { color: var(--muted); font-size: clamp(16px, 1.15vw, 22px); }

/* =========================================================
   METHOD
   ========================================================= */
.method {
  background:
    linear-gradient(to bottom, rgba(var(--bg-rgb),.15) 0%, rgba(var(--bg-rgb),.55) 45%, rgba(var(--bg-rgb),1) 100%),
    url("../img/method.webp") center 20% / cover no-repeat;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.step { border-top: 3px solid var(--accent); padding-top: 40px; display: grid; gap: 16px; align-content: start; }
.step-num { font-family: var(--font-display); color: var(--accent); font-size: clamp(18px, 1.46vw, 28px); line-height: 1; }
.step h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(40px, 3.75vw, 72px); line-height: .9; }
.step p { color: var(--muted); }

/* Toolkit (below the method steps) */
.toolkit { margin-top: clamp(48px, 5vw, 96px); display: grid; gap: clamp(16px, 1.25vw, 24px); }
.toolkit-label { font-weight: 300; font-size: var(--fs-eyebrow); line-height: 1.2; text-transform: uppercase; color: var(--faint); }
.toolkit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tool { border-top: 1px solid rgba(254,253,253,.18); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
.tool h3 { font-weight: 700; font-size: clamp(17px, 1.25vw, 24px); line-height: 1.25; }
.tool p { color: var(--muted); font-size: clamp(15px, 1.05vw, 20px); line-height: 1.45; }
@media (max-width: 1100px) { .toolkit-list { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }
@media (max-width: 720px)  { .toolkit-list { grid-template-columns: 1fr; row-gap: 20px; } .tool { padding-top: 16px; } }

/* =========================================================
   WORK / CASES
   ========================================================= */
.cases { display: grid; gap: 40px; }
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(16px, 2.1vw, 40px);
  display: grid; grid-template-columns: minmax(0, 760fr) minmax(0, 750fr); gap: clamp(24px, 3.3vw, 64px); align-items: start;
}
.case-visual { border-radius: 16px; overflow: hidden; aspect-ratio: 760 / 560; background: var(--surface-2); }
.case-visual img { width: 100%; height: 100%; object-fit: cover; }
.case-body { display: grid; gap: clamp(16px, 1.9vw, 36px); align-content: start; }
.case-tag { color: var(--accent); font-weight: 300; text-transform: uppercase; font-size: clamp(12px, 1.05vw, 20px); line-height: 1.3; }
.case h3 { font-weight: 700; font-size: clamp(22px, 2.3vw, 44px); line-height: 1.15; }
.fields { display: grid; gap: clamp(16px, 1.5vw, 28px); margin: 0; }
.field dt { color: rgba(254,253,253,.7); text-transform: uppercase; font-size: clamp(12px, .94vw, 18px); line-height: 1.3; margin-bottom: 6px; }
.field dd { margin: 0; color: rgba(254,253,253,.88); font-size: clamp(16px, 1.25vw, 24px); line-height: 1.45; }

/* Featured cases: alternating image left / right, no card frame */
.cases:has(.case--feature) { gap: clamp(56px, 6.25vw, 120px); }
.case--feature {
  background: none; border: 0; padding: 0; border-radius: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 4.2vw, 80px); align-items: center;
}
.case--feature .case-visual { border-radius: var(--radius); }
.case--feature:nth-of-type(even) .case-visual { order: 2; }
.case--feature .case-body { gap: clamp(16px, 1.5vw, 28px); }
/* image slides in from its own side */
@media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
  .case--feature.reveal { transform: none; }
  .case--feature .case-visual { transform: translateX(-48px); opacity: 0; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity .8s ease; }
  .case--feature:nth-of-type(even) .case-visual { transform: translateX(48px); }
  .case--feature.is-in .case-visual { transform: none; opacity: 1; }
  .case--feature .case-body { transition: opacity .8s ease .15s; }
}

/* Case fields: the uncomfortable truth gets the accent, the result follows with an arrow */
.field--truth { border-left: 3px solid var(--accent); padding-left: clamp(14px, 1.05vw, 20px); }
.field--truth dt { color: var(--accent); }
.field--result dd::before { content: "→\00a0" / ""; color: var(--accent); font-weight: 700; }

.mid-cta { justify-self: start; margin-top: clamp(8px, 1vw, 16px); }

/* compact cases: 2 columns on desktop, accordion on mobile */
.more { display: grid; gap: 16px; }
.more-label { display: none; color: var(--faint); font-weight: 300; text-transform: uppercase; font-size: 13px; }
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.case--compact {
  grid-template-columns: 1fr; display: flex; flex-direction: column; gap: 28px;
  padding: clamp(16px, 1.67vw, 32px);
}
.case--compact .case-visual { aspect-ratio: 729 / 540; order: 0; flex: none; width: 100%; } /* definite width → space is reserved before the lazy image loads */
.case--compact .case-head { order: 1; }
.case--compact .case-panel { order: 2; }
.case-toggle {
  all: unset; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  cursor: default; padding: 0 8px;
}
.case-toggle .case-heading { display: grid; gap: 12px; }
.case--compact h3 { font-size: clamp(18px, 1.88vw, 36px); line-height: 1.15; }
.case-icon { display: none; font-weight: 700; font-size: 28px; color: var(--accent); line-height: 1; width: 1ch; text-align: center; }
.case-panel { padding: 0 8px 8px; }

/* =========================================================
   HOUSE RULES
   ========================================================= */
.rules-section { background: url("../img/rules.jpg") right center / cover no-repeat; }
.rules { list-style: none; margin: 0; padding: 0; counter-reset: rule; }
.rule {
  display: grid; grid-template-columns: clamp(40px, 5.2vw, 100px) 1fr; gap: clamp(16px, 2.1vw, 40px);
  padding-block: clamp(20px, 1.9vw, 36px); border-bottom: 1px solid rgba(254,253,253,.14);
  align-items: baseline;
}
.rule-num { font-family: var(--font-display); color: var(--accent); font-size: clamp(22px, 2.1vw, 40px); line-height: 1.1; }
.rule p { font-weight: 700; font-size: clamp(19px, 2.1vw, 40px); line-height: 1.2; }

/* =========================================================
   VOICES
   ========================================================= */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 2.9vw, 56px) clamp(24px, 2.9vw, 56px); display: grid; gap: 32px; align-content: space-between;
}
.quote blockquote { margin: 0; font-size: clamp(19px, 1.67vw, 32px); line-height: 1.4; }
.quote figcaption { color: var(--muted); font-weight: 300; text-transform: uppercase; font-size: clamp(12px, 1.05vw, 20px); line-height: 1.4; }

/* =========================================================
   SPARRING CTA
   ========================================================= */
.cta { overflow: hidden; isolation: isolate; }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media picture { display: contents; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 25%; }
/* the photo already fades out to the left – this only blends its dark tone into the page background */
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--bg-rgb),1) 0%, rgba(var(--bg-rgb),.85) 30%, rgba(var(--bg-rgb),0) 58%);
}
.cta .h2 { color: var(--accent); max-width: 11ch; }
.cta .intro { color: rgba(254,253,253,.8); max-width: min(900px, 50vw); }
.cta .btn { margin-top: clamp(8px, 1vw, 16px); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-block: 56px; border-top: 1px solid var(--line);
}
.footer-brand { font-weight: 700; font-size: clamp(14px, 1.05vw, 20px); }
.footer-sign { font-family: var(--font-display); text-transform: uppercase; color: var(--accent); font-size: clamp(20px, 1.25vw, 24px); }
.footer-links { color: var(--muted); font-weight: 300; font-size: clamp(14px, 1.05vw, 20px); display: flex; gap: 1.5em; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
/* "The weights": cards rise one after another (desktop/tablet – on mobile they enter one by one anyway) */
.cards .reveal, .steps .reveal { transform: translateY(40px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.cards .reveal.is-in, .steps .reveal.is-in { transform: none; }
@media (min-width: 721px) {
  .cards .reveal:nth-child(2), .steps .reveal:nth-child(2), .toolkit-list .reveal:nth-child(2) { transition-delay: .12s; }
  .cards .reveal:nth-child(3), .steps .reveal:nth-child(3), .toolkit-list .reveal:nth-child(3) { transition-delay: .24s; }
  .cards .reveal:nth-child(4), .toolkit-list .reveal:nth-child(4) { transition-delay: .36s; }
}
/* "House rules": rules slide in from the left, one after another – like being read out */
.rules .reveal { transform: translateX(-32px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.rules .reveal.is-in { transform: none; }
@media (min-width: 721px) {
  .rules .reveal:nth-child(2) { transition-delay: .1s; }
  .rules .reveal:nth-child(3) { transition-delay: .2s; }
  .rules .reveal:nth-child(4) { transition-delay: .3s; }
  .rules .reveal:nth-child(5) { transition-delay: .4s; }
}
@media (prefers-reduced-motion: reduce) { .reveal, .cards .reveal, .steps .reveal, .rules .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .case { grid-template-columns: 1fr; }
  .case--feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .quotes { grid-template-columns: 1fr; }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 720px) {
  .hero { height: auto; min-height: 0; max-height: none; display: block; padding: 400px var(--gutter) 56px; }
  .hero-media { inset: 0 -20px auto 0; height: 520px; } /* 20px wider to the right → face moves 10px right, into the centre */
  .hero-media img, .hero-media video, .hero-media canvas { object-position: 50% 10%; }
  .hero::before { background: linear-gradient(to bottom, rgba(var(--bg-rgb),0) 0, rgba(var(--bg-rgb),0) 200px, rgba(var(--bg-rgb),1) 480px); }
  .hero-content { gap: 20px; }
  .hero .wrap { padding-inline: 0; } /* .hero already has the side gutter on phones */

  .stats { gap: 16px; row-gap: 24px; }
  .stat { padding-top: 16px; gap: 8px; }
  .trust span { display: inline; }

  .cards, .steps { grid-template-columns: 1fr; }
  .cards { gap: 12px; }
  .steps { gap: 28px; }
  .step { padding-top: 20px; gap: 8px; }

  .method { background:
    linear-gradient(to bottom, rgba(var(--bg-rgb),.2) 0, rgba(var(--bg-rgb),1) 340px),
    url("../img/method.webp") 60% 0 / auto 360px no-repeat; }

  .cases { gap: 16px; }
  .case { padding: 16px 16px 24px; gap: 16px; }
  .case--feature { padding: 0; gap: 20px; grid-template-columns: 1fr; }
  .case--feature .case-visual { order: 0 !important; }
  .case-visual { aspect-ratio: 358 / 246; border-radius: 12px; }
  .case-body { padding: 4px 8px 0; gap: 16px; }

  .more-label { display: block; padding-top: 16px; }
  .more-grid { grid-template-columns: 1fr; gap: 12px; }
  .case--compact { padding: 20px; gap: 20px; border-radius: 16px; }
  .case--compact .case-head { order: 0; }
  .case--compact .case-visual { order: 1; aspect-ratio: 302 / 220; }
  .case--compact .case-panel { order: 2; padding: 0; }
  .case-toggle { cursor: pointer; padding: 0; }
  .case-icon { display: block; }
  .case--compact:not(.is-open) .case-visual,
  .case--compact:not(.is-open) .case-panel { display: none; }
  .case--compact h3 { font-size: 18px; }

  .rules-section { background: var(--bg); }
  .rule { gap: 16px; }

  .cta { padding-top: 0; }
  .cta-media { position: relative; inset: auto; width: 100%; aspect-ratio: 1 / 1; z-index: 0; }
  .cta-media img { object-position: 50% 50%; }
  .cta-media::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 35%;
    background: linear-gradient(to bottom, rgba(var(--bg-rgb),0), rgba(var(--bg-rgb),1));
  }
  .cta::before { display: none; }
  .cta .wrap { padding-top: 40px; }
  .cta .intro { max-width: none; }

  .footer { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 32px 40px; }
  .footer-sign { order: -1; }
}

/* =========================================================
   LEGAL PAGES (imprint.html, privacy.html)
   ========================================================= */
.legal-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.legal-home { font-family: var(--font-display); text-transform: uppercase; text-decoration: none; font-size: clamp(18px, 1.25vw, 24px); }
.legal-back { color: var(--muted); text-decoration: none; font-weight: 300; font-size: clamp(14px, 1.05vw, 20px); }
.legal-back:hover, .legal-home:hover { color: var(--accent); }
.legal { padding-block: clamp(56px, 6vw, 120px); max-width: calc(860px + 2 * var(--gutter)); }
.legal .eyebrow { margin-bottom: 16px; }
.legal h1 { margin-bottom: clamp(32px, 3.5vw, 64px); overflow-wrap: anywhere; hyphens: manual; }
.legal h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(22px, 1.9vw, 34px); line-height: 1.1; margin: 2.2em 0 .8em; color: var(--accent); }
.legal h3 { font-weight: 700; font-size: clamp(18px, 1.35vw, 26px); margin: 1.8em 0 .6em; }
.legal h4 { font-weight: 600; font-size: inherit; margin: 1.4em 0 .4em; }
.legal p, .legal ul { color: var(--muted); margin: 0 0 1em; }
.legal p strong { color: var(--text); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .6em; }
.legal a { color: var(--text); text-underline-offset: .2em; overflow-wrap: anywhere; }
.legal a:hover { color: var(--accent); }
.legal-source { margin-top: 3em !important; font-size: .85em; }
/* Platzhalter – vor dem Livegang ersetzen */
.todo { background: var(--accent); color: var(--on-accent); padding: 0 .25em; border-radius: 3px; }

/* Sections focused by in-page links (tabindex="-1") – no focus ring around the whole section */
section[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }

/* ---------- Text selection in brand colours ---------- */
::selection { background: var(--accent); color: var(--on-accent); }
/* text that is already yellow → select in white, so it doesn't vanish */
:is(.eyebrow, .card-num, .step-num, .rule-num, .case-tag, .field--truth dt, .cta .h2, .footer-sign, .legal h2) ::selection,
:is(.eyebrow, .card-num, .step-num, .rule-num, .case-tag, .field--truth dt, .cta .h2, .footer-sign, .legal h2)::selection { background: var(--text); color: var(--bg); }
.hero .eyebrow::selection { background: var(--accent); color: var(--on-accent); } /* hero eyebrow is white */
/* yellow buttons / active language → dark selection */
:is(.btn, .skip-link, .lang-switch a[aria-current="page"])::selection,
:is(.btn, .skip-link, .lang-switch a[aria-current="page"]) ::selection { background: var(--on-accent); color: var(--accent); }
