/* ==========================================================================
   Osteopathie Elke Reinke - Design System (v2: ruhig, einfach, groß)
   Marke (Branding-PDF 03/2026): Primärgrün #3d6b4f, Nachtblau #1a1a2e,
   Cremeweiß #faf9f6, Hellgrün #e8f0e8, Salbei #8bb89d.
   Schriften: Newsreader (Überschriften) + Hanken Grotesk (Text), lokal.
   Formen: Container 28px, Buttons Pille. Icons: Lucide (ISC), Strich 1.5.
   ========================================================================== */

/* ---------- Fonts (lokal, kein Google-CDN, DSGVO-sauber) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-normal-latin.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-italic-latin.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/HankenGrotesk-normal-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --green: #3d6b4f;
  --navy: #1a1a2e;
  --cream: #faf9f6;
  --mint: #e8f0e8;

  --bg: #faf9f6;
  --bg-alt: #f3f1ec;
  --bg-mint: #e8f0e8;
  --surface: #ffffff;

  --ink: #1a1a2e;
  --ink-soft: #383b52;
  --ink-mute: #565a70;
  --line: #e3e0d6;

  --accent: #3d6b4f;
  --accent-deep: #2e5540;
  --btn-bg: #3d6b4f;
  --btn-bg-hover: #2e5540;
  --btn-ink: #ffffff;
  --gold: #e0a100;
  --focus: #3d6b4f;

  --cta-bg: #3d6b4f;
  --cta-ink: #ffffff;
  --cta-ink-soft: rgb(255 255 255 / .9);
  --arch: #1a1a2e;

  --shadow: 0 1px 2px rgb(26 38 46 / .05), 0 18px 44px -20px rgb(26 46 38 / .25);

  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* größere, ruhigere Schrift */
  --fs-body: clamp(1.1875rem, 1.12rem + .25vw, 1.3125rem);
  --fs-small: 1.0625rem;
  --fs-lead: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 4.2vw, 5rem);
  --fs-h2: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-h3: clamp(1.5rem, 1.3rem + .7vw, 1.875rem);

  --gutter: clamp(20px, 5vw, 56px);
  --wrap: 1200px;
  --nav-h: 76px;
  --r-lg: 28px;
  --r-md: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --section-y: clamp(72px, 9vw, 128px);

  --z-nav: 100;
  --z-menu: 200;
  --z-banner: 300;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  hyphens: manual;
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  body { hyphens: auto; }
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -80px;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: 999px; z-index: 999;
  text-decoration: none; font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section-y); }

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.018em;
  text-wrap: balance;
  hyphens: manual;
}
h1 { font-size: var(--fs-h1); line-height: 1.05; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 450; }
h1 em, h2 em {
  font-style: italic;
  color: var(--accent);
  padding-bottom: .08em;
}
p { text-wrap: pretty; }

.kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: var(--fs-small); font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.lead { max-width: 52ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); hyphens: manual; }
.sec-head { max-width: 48rem; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { margin-bottom: 20px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .kicker { justify-content: center; }
.sec-head--center .kicker::before { display: none; }
.sec-head--center .lead { margin-inline: auto; }

/* ---------- Buttons / Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 32px;
  border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-ink);
  font-weight: 600; font-size: 1.1875rem; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:active { transform: scale(.98); }
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; padding-block: 12px; line-height: 1.25; }
  .review-cta .btn { width: 100%; }
}
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 1.0625rem; }
.btn--lg { min-height: 64px; padding: 0 38px; font-size: 1.3125rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1.1875rem; color: var(--accent-deep); text-decoration: none;
  padding-block: 10px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
}
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ink);
}
.logo-mark { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.5rem; letter-spacing: -.01em;
}
.logo-sub { font-size: .9375rem; color: var(--ink-mute); }

.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); list-style: none; padding: 0; }
.nav-links a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 1.125rem; color: var(--ink-soft);
  padding-block: 8px;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat;
  transition: color .2s, background-size .35s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--ink); background-size: 100% 2px; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); cursor: pointer; color: var(--ink);
}
.menu-toggle .icon { width: 24px; height: 24px; }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg);
  display: none; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 6px; padding: 96px var(--gutter) 48px;
}
.menu.is-open { display: flex; }
.menu a:not(.btn) {
  font-family: var(--font-display); font-size: clamp(2.25rem, 9vw, 3rem);
  color: var(--ink); text-decoration: none; padding-block: 6px; letter-spacing: -.02em;
}
.menu .btn { margin-top: 28px; }
.menu-close {
  position: absolute; top: 12px; right: var(--gutter);
  width: 52px; height: 52px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); cursor: pointer; color: var(--ink);
}
body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.hero-pill {
  display: inline-block;
  padding: 9px 20px; border-radius: 999px;
  background: var(--bg-mint); color: var(--accent-deep);
  font-size: var(--fs-small); font-weight: 600;
  margin-bottom: 28px;
}
.hero h1 { margin-bottom: 28px; max-width: 13ch; }
.hero-sub { max-width: 34rem; font-size: var(--fs-lead); line-height: 1.55; margin-bottom: 40px; hyphens: manual; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; }

.portrait { width: min(100%, 400px); margin-left: auto; }
.portrait-frame {
  border-radius: var(--r-lg);
  background: var(--arch);
  overflow: hidden; isolation: isolate;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
}
.portrait-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  mix-blend-mode: lighten;
}
.portrait figcaption {
  margin-top: 16px; font-size: var(--fs-small); color: var(--ink-mute);
}
.portrait figcaption strong { color: var(--ink); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { margin-inline: 0; width: min(100%, 420px); }
}

/* ---------- Qualifikation + Bewertung (eine Linie) ---------- */
.proof { border-block: 1px solid var(--line); }
.proof-grid {
  display: grid; grid-template-columns: auto repeat(4, 1fr);
  align-items: stretch;
}
.proof-item {
  padding: 30px clamp(14px, 2vw, 28px);
  display: flex; align-items: center;
  font-family: var(--font-display); font-size: 1.375rem; line-height: 1.25; color: var(--ink);
  hyphens: manual;
}
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-rating {
  padding-left: 0; gap: 16px;
  font-family: var(--font-body); font-size: var(--fs-small); color: var(--ink-mute); line-height: 1.4;
}
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars .icon { width: 20px; height: 20px; fill: currentColor; stroke-width: 1; }
.proof-rating strong { display: block; font-size: 1.1875rem; }
.proof-rating a { color: inherit; text-underline-offset: 3px; }
.proof-rating a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { padding-inline: 0; }
  .proof-item + .proof-item { border-left: 0; }
  .proof-rating { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .proof-item:nth-child(odd):not(.proof-rating) { border-left: 1px solid var(--line); padding-left: 20px; }
  .proof-item:nth-child(n+4):not(.proof-rating) { border-top: 1px solid var(--line); }
}
/* Handy: alle vier Qualifikationen untereinander, jeweils eine volle Zeile */
@media (max-width: 640px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { padding: 20px 0; }
  .proof-rating { padding-block: 22px; }
  .proof-item:nth-child(odd):not(.proof-rating),
  .proof-item:nth-child(even):not(.proof-rating) { border-left: 0; padding-left: 0; }
  .proof-item:not(.proof-rating) { border-top: 1px solid var(--line); font-size: 1.4375rem; }
  .proof-rating { border-bottom: 0; }
}

/* ---------- Beschwerden ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 14px;
}
.card .icon { width: 40px; height: 40px; color: var(--accent); stroke-width: 1.4; margin-bottom: 8px; }
.card p { font-size: 1.1875rem; line-height: 1.6; }

@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Über mich ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 112px); align-items: start;
}
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { font-size: var(--fs-lead); line-height: 1.55; max-width: 36ch; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 48px); }
.fact { padding-block: 28px 32px; border-top: 1px solid var(--line); }
.fact .icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 18px; stroke-width: 1.4; }
.fact h3 { margin-bottom: 8px; }
.fact p { font-size: 1.1875rem; }

.pullquote {
  margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.pullquote p {
  font-family: var(--font-display); font-style: italic; font-weight: 350;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.25; color: var(--ink);
  max-width: 28em; letter-spacing: -.01em; text-wrap: balance;
}
.pullquote cite {
  display: block; margin-top: 20px; font-style: normal; font-weight: 600;
  font-size: var(--fs-small); color: var(--accent-deep);
}

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
}

/* ---------- Ablauf: alle vier Schritte in einer Linie ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.6vw, 40px); align-items: start;
  list-style: none; padding: 0;
}
.step { position: relative; padding-top: 28px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform-origin: left;
}
.step-num {
  display: block;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(4rem, 3rem + 3.6vw, 6rem); line-height: 1;
  color: var(--accent); margin-bottom: 20px; padding-bottom: .06em;
}
.step h3 { margin-bottom: 12px; }
.step p { font-size: 1.1875rem; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Kosten ---------- */
.cost {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.cost-cols { display: grid; grid-template-columns: 1fr 1fr; }
.cost-col { padding: clamp(28px, 4vw, 56px); }
.cost-col + .cost-col { border-left: 1px solid var(--line); }
.cost-col h3 { margin-bottom: 16px; }
.cost-tip {
  display: flex; gap: 20px; align-items: flex-start;
  border-top: 1px solid var(--line);
  background: var(--bg-mint);
  padding: clamp(24px, 3vw, 36px) clamp(28px, 4vw, 56px);
}
.cost-tip .icon { width: 32px; height: 32px; color: var(--accent); margin-top: 2px; }
.cost-tip p { color: var(--ink-soft); }
.cost-tip a { color: var(--accent-deep); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }

@media (max-width: 760px) {
  .cost-cols { grid-template-columns: 1fr; }
  .cost-col + .cost-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Bewertungen (Gestaltung wie in der ursprünglichen Seite, größere Schrift) ---------- */
.reviews { background: var(--bg-alt); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}
.testimonial {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: clamp(26px, 2.6vw, 34px);
  display: flex; flex-direction: column;
}
.testimonial .stars { margin-bottom: 18px; }
.testimonial blockquote { flex: 1; }
.testimonial blockquote p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 1.15rem + .4vw, 1.4375rem); line-height: 1.5; color: var(--ink-soft);
  margin-bottom: 24px; hyphens: manual;
}
.test-name { font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.test-platform { font-size: var(--fs-small); color: var(--ink-mute); }

.test-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px;
  margin-top: 44px;
}
.review-cta {
  margin-top: 44px; text-align: center;
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-mint); border-radius: 18px;
}
.review-cta p {
  font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); color: var(--ink);
  margin-bottom: 22px;
}

@media (max-width: 960px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 56rem; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0;
  font-family: var(--font-display); font-weight: 450;
  font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); line-height: 1.3; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon {
  width: 30px; height: 30px; color: var(--accent);
  transition: transform .4s var(--ease);
}
.qa[open] summary .icon { transform: rotate(45deg); }
.qa summary:hover .icon { color: var(--ink); }
.qa-body { padding: 0 clamp(0px, 4vw, 56px) 32px 0; display: grid; gap: 16px; }
.qa-body p { max-width: 62ch; }

@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content {
    block-size: 0; overflow: clip;
    transition: block-size .45s var(--ease), content-visibility .45s allow-discrete;
  }
  .qa[open]::details-content { block-size: auto; }
}

/* ---------- Termin ---------- */
.cta-panel {
  background: var(--cta-bg); color: var(--cta-ink);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 80px);
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.cta-panel h2 { color: var(--cta-ink); }
.cta-copy p { color: var(--cta-ink-soft); font-size: var(--fs-lead); margin-top: 22px; max-width: 24ch; hyphens: manual; }
.cta-box {
  background: var(--surface); color: var(--ink-soft);
  border-radius: 22px; padding: clamp(26px, 3vw, 44px);
}
.cta-box h3 { margin-bottom: 6px; }
.cta-box-sub { font-size: var(--fs-small); color: var(--ink-mute); margin-bottom: 26px; }
.cta-box .btn { width: 100%; }
.cta-mail {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 10px; min-height: 52px;
  color: var(--accent-deep); font-weight: 600; font-size: 1.125rem; text-decoration: none; word-break: break-all;
}
.cta-mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta-address {
  font-style: normal;
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: var(--fs-small); color: var(--ink-mute); line-height: 1.5;
}
.cta-address .icon { margin-top: 2px; color: var(--accent); }

@media (max-width: 960px) {
  .cta-panel { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 48px; margin-top: clamp(24px, 4vw, 48px); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 32px; list-style: none; padding: 0; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: var(--fs-small); padding-block: 10px; display: inline-block; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-copy { font-size: var(--fs-small); color: var(--ink-mute); }
.footer-credit { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.footer-credit p { font-size: var(--fs-small); color: var(--ink-mute); }
.footer-credit a { color: inherit; text-underline-offset: 3px; display: inline-block; padding-block: 8px; }
.footer-credit a:hover { color: var(--ink); }

/* ---------- Cookie-Hinweis (blockiert die Seite, bis er bestätigt ist) ---------- */
.cookie {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto; padding: clamp(26px, 4vw, 40px);
  border: 0; border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink-soft);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  font-size: 1.1875rem; line-height: 1.55;
  overflow: auto;
}
.cookie[open] { display: grid; gap: 20px; }
.cookie::backdrop {
  background: rgb(14 16 28 / .6);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.cookie p { margin: 0; }
.cookie-links { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: var(--fs-small); }
.cookie-links a { color: var(--accent-deep); font-weight: 600; text-underline-offset: 3px; padding-block: 8px; }
.cookie .btn { width: 100%; }
body.cookie-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .cookie[open] { animation: rise .6s var(--ease) both; }
  .cookie[open]::backdrop { animation: fade-in .4s ease both; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px); }
.legal-inner { max-width: 48rem; }
.legal .back {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-deep); font-weight: 600; font-size: 1.125rem; text-decoration: none; padding-block: 10px;
  margin-bottom: 28px;
}
.legal .back .icon { transition: transform .3s var(--ease); }
.legal .back:hover .icon { transform: translateX(-4px); }
.legal h1 { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.75rem); margin-bottom: 36px; }
.legal h2 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); margin: 44px 0 12px; }
.legal p, .legal li { font-size: 1.1875rem; line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 1.2em; margin-bottom: 16px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Bewegung ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: no-preference) {
  .hero [data-rise] { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }

  .js [data-reveal] {
    opacity: 0; transform: translateY(20px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .step::before { transform: scaleX(0); }
  .js .step.is-in::before { animation: draw 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
}
