/*
Theme Name: Somatic Restore You
Theme URI: https://restore-you.de
Author: Somatic Web (Jan Wolk)
Author URI: https://somatic-web.de
Description: Child-Theme für restore-you.de. Basiert auf somatic-base 4.0.0. Brand: Restore You – neuroaffektive Meditation (R.E.S.T.). Palette „Retro Sunset" – Türkis als Action-Color, Sand als ruhiger Grund. Headlines in Space Mono lowercase, Body in Plus Jakarta Sans. Harte Regel: border-radius 0, no shadows.
Template: wpdraft
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://somatic-web.de
Text Domain: somatic-restore-you
*/

/* =========================================================================
   SOMATIC RESTORE YOU — BEM Master Stylesheet (basiert auf somatic-base)
   ========================================================================= */

/* === 0. SELF-HOSTED BRAND FONTS ========================================== */
/* Plus Jakarta Sans (200–800 + italics) · Space Mono (400/700 + italics).   */
/* Pfade relativ zum Theme-Verzeichnis. Keine Google-Fonts-CDN — DSGVO ✓.    */

/* ---- Space Mono — Headlines, Eyebrows, R.E.S.T.-Letters ---- */
@font-face {
  font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/space-mono-v17-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/space-mono-v17-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/space-mono-v17-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono"; font-style: italic; font-weight: 700; font-display: swap;
  src: url("assets/fonts/space-mono-v17-latin-700italic.woff2") format("woff2");
}

/* ---- Plus Jakarta Sans — Body (das, was gelesen wird) ---- */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-200.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 200; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-200italic.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 300; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-300italic.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-500italic.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 600; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-600italic.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 700; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-700italic.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-800.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 800; font-display: swap;
  src: url("assets/fonts/plus-jakarta-sans-v12-latin-800italic.woff2") format("woff2");
}

/* === 1. DESIGN TOKENS ==================================================== */
/* Restore You — „Retro Sunset" Palette. Brand-Werte aus design-system/.     */
/* Komponenten-CSS unten referenziert die somatic-base-Variablennamen        */
/* (--crema, --espresso, --ottone, ...) — diese werden hier mit den Restore- */
/* You-Brand-Werten befüllt. Native Restore-You-Aliase (--tuerkis, --sand,   */
/* --tinte, ...) sind zusätzlich definiert, damit BRAND-CUSTOM-Patterns am   */
/* Ende der Datei mit den Original-Brand-Namen arbeiten können.              */
:root {
  /* ---- Restore You — Core („Retro Sunset") ---- */
  --tuerkis:          #069494; /* PRIMARY — Action: Buttons, Links, Emphasis, Fills */
  --tuerkis-tief:     #046E6E; /* Hover + teal TEXT/links on light (AA-safe) */
  --tuerkis-dunkel:   #08403F; /* deep teal — dark section background */
  --orange:           #BE5103; /* verbranntes Orange — warm accent */
  --orange-tief:      #9A3F02;
  --gelb:             #FFCE1B; /* Senfgelb — bright highlight + accent ON DARK only */
  --rost:             #B7410E; /* Rost — deep accent, link-hover, Error-Signal */
  --rost-tief:        #8F310A;

  /* ---- Restore You — Neutrals (sand & tinte) ---- */
  --sand:             #FBF7EE; /* base stage — warm cream */
  --sand-tief:        #F4ECDC; /* alternating sections, card fills */
  --sand-kante:       #D9C6A2; /* leitmotif hairline, stronger border */
  --sand-linie:       #E9DCC4; /* faint hairlines, subtle fills */
  --tinte:            #241B12; /* text — warm coffee near-black */
  --tinte-weich:      #5A4636; /* secondary text, captions */

  /* ---- somatic-base Token-Mapping ---- */
  /* Die Komponenten-CSS (Sektionen 2–28) referenziert diese Namen.          */
  /* Werte hier auf Restore-You-Brand gemappt — Namen bleiben unverändert.   */
  --crema:            #FBF7EE; /* → sand */
  --crema-pura:       #FBF7EE; /* → sand (Restore You hat nichts helleres) */
  --crema-profonda:   #F4ECDC; /* → sand-tief (Hover-Surface) */
  --caffelatte:       #E9DCC4; /* → sand-linie */
  --espresso:         #241B12; /* → tinte */
  --espresso-tenue:   #5A4636; /* → tinte-weich */
  --ottone:           #069494; /* → tuerkis — ACTION COLOR */
  --ottone-scuro:     #046E6E; /* → tuerkis-tief — Hover + AA-safe Links */
  --ottone-chiaro:    #D9C6A2; /* → sand-kante (für ::selection-BG — Senfgelb wäre zu grell) */
  --linea:            #D9C6A2; /* → sand-kante — der leitmotif Hairline */
  --oliva:            #069494; /* → tuerkis (Success-Signal positiv = Aktion) */
  --terracotta:       #B7410E; /* → rost — perfekt als Error-Signal */

  /* Semantische Aliase */
  --bg:               var(--crema);
  --bg-elevated:      var(--crema-pura);
  --bg-hover:         var(--crema-profonda);
  --bg-inverse:       var(--tuerkis-dunkel); /* dunkle Sektionen: Türkis-Dunkel, NICHT pure Tinte */
  --fg:               var(--espresso);
  --fg-muted:         var(--espresso-tenue);
  --fg-inverse:       var(--sand);
  --fg-accent:        var(--ottone-scuro);
  --border:           var(--linea);
  --border-strong:    var(--espresso-tenue);
  --border-accent:    var(--ottone);

  /* Schriften — Plus Jakarta Sans + Space Mono (self-hosted) */
  --font-display: "Space Mono", ui-monospace, "Courier New", monospace;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "Courier New", monospace;
  --font-sans:    "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Type Scale Desktop (Restore-You: kleiner als somatic-base — Mono braucht Platz, */
  /* Brand-Regel „keep headlines short, ~6-8 Wörter") */
  --fs-h1:        46px;
  --fs-h2:        32px;
  --fs-h3:        22px;
  --fs-h4:        20px;
  --fs-body-lg:   21px; /* Lede */
  --fs-body:      19px;
  --fs-small:     15px;
  --fs-label:     13px; /* Eyebrow */

  /* Type Scale Mobile */
  --fs-h1-m:      30px;
  --fs-h2-m:      24px;
  --fs-h3-m:      19px;
  --fs-h4-m:      18px;
  --fs-body-lg-m: 18px;
  --fs-body-m:    17px;
  --fs-small-m:   14px;

  /* Line Heights — Brand-Regel: 1.7 ist „der Atem im Text" */
  --lh-h1:        1.14;
  --lh-h2:        1.20;
  --lh-h3:        1.30;
  --lh-h4:        1.35;
  --lh-body:      1.70;
  --lh-tight:     1.40;

  /* Spacing (8px Grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;

  /* Layout */
  --container: 1200px;
  --reading:   680px;

  /* Radii — HARTE BRAND-REGEL: radius 0 überall, keine Shadows */
  --radius-sharp: 0;
  --radius:       0;     /* Override gegenüber somatic-base 4px-Default */
  --radius-pill:  0;     /* auch Pills sind eckig — Brand-Konsistenz */

  /* Motion — restraint („things settle, like an exhale") */
  --transition:      200ms ease;
  --transition-slow: 800ms cubic-bezier(.2, .7, .2, 1); /* Brand-Entrance-Idiom */

  /* Accent-Stroke — kurze 64px Türkis-Linie unter Eyebrow/Headline */
  --accent-stroke-w: 64px;
  --accent-stroke-h: 1px; /* Hairline-Logik — 1px statt 2px */
}

/* === 2. BASE / RESET ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body-m);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  body { font-size: var(--fs-body); }
}

img, svg, video, picture { max-width: 100%; height: auto; display: block; }

a {
  color: var(--fg-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--transition), text-decoration-color var(--transition);
}
a:hover { color: var(--ottone-scuro); text-decoration-color: var(--ottone); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ottone-scuro);
  outline-offset: 3px;
  border-radius: var(--radius);
}

::selection { background: var(--ottone-chiaro); color: var(--espresso); }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-5) 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration:  0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* === 3. TYPOGRAPHY ======================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg);
  margin: 0 0 var(--space-3);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1-m); line-height: var(--lh-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2-m); line-height: var(--lh-h2); letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3-m); line-height: var(--lh-h3); }
h4 { font-size: var(--fs-h4-m); line-height: var(--lh-h4); }

@media (min-width: 768px) {
  h1 { font-size: var(--fs-h1); }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); }
  h4 { font-size: var(--fs-h4); }
}

/* Editorial Accent: <em> in h1/h2 bleibt normal-weight, italic */
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: inherit;
}

p { margin: 0 0 var(--space-3); max-width: 70ch; }

small, .text-small { font-size: var(--fs-small-m); }
@media (min-width: 768px) { small, .text-small { font-size: var(--fs-small); } }

strong, b { font-weight: 600; }

blockquote {
  margin: var(--space-5) 0;
  padding: 0 0 0 var(--space-4);
  border-left: 1px solid var(--border-accent);
  font-family: var(--font-display);
  font-size: var(--fs-body-lg-m);
  font-style: italic;
  color: var(--fg);
}
@media (min-width: 768px) { blockquote { font-size: var(--fs-body-lg); } }

/* === 4. CONTAINER ======================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 1024px) {
  .container { padding-inline: var(--space-5); }
}

.container--narrow { max-width: var(--reading); }
.container--wide   { max-width: 1400px; }

/* === 5. SECTION ========================================================== */
.section {
  padding-block: var(--space-6);
  background: var(--bg);
}
@media (min-width: 768px)  { .section { padding-block: var(--space-7); } }
@media (min-width: 1024px) { .section { padding-block: var(--space-8); } }

.section--dense { padding-block: var(--space-5); }
@media (min-width: 1024px) { .section--dense { padding-block: var(--space-6); } }

.section--dark {
  background: var(--bg-inverse);
  color: var(--fg-inverse);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--fg-inverse); }
.section--dark a { color: var(--ottone-chiaro); }
.section--dark .eyebrow { color: var(--ottone-chiaro); }

.section--elevated { background: var(--bg-elevated); }

.section--hero {
  padding-block: var(--space-7) var(--space-6);
}
@media (min-width: 1024px) {
  .section--hero { padding-block: var(--space-9) var(--space-8); }
}

/* === 6. EYEBROW LABEL ==================================================== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-3);
}

/* === 7. ACCENT STROKE ==================================================== */
.accent-stroke {
  display: block;
  width: var(--accent-stroke-w);
  height: var(--accent-stroke-h);
  background: var(--border-accent);
  border: 0;
  margin: var(--space-3) 0 var(--space-4);
}
.accent-stroke--center  { margin-inline: auto; }
.accent-stroke--on-dark { background: var(--ottone-chiaro); }

/* === 8. BUTTONS ========================================================== */
.btn {
  --btn-bg:     var(--espresso);
  --btn-fg:     var(--crema-pura);
  --btn-border: var(--espresso);
  --btn-bg-h:   var(--espresso-tenue);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 32px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition),
              color var(--transition),
              border-color var(--transition);
}
.btn:hover  { background: var(--btn-bg-h); color: var(--btn-fg); border-color: var(--btn-bg-h); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.5; cursor: not-allowed; pointer-events: none;
}

.btn--primary {
  --btn-bg: var(--espresso);
  --btn-fg: var(--crema-pura);
  --btn-border: var(--espresso);
  --btn-bg-h: var(--espresso-tenue);
}

.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--espresso);
  --btn-border: var(--espresso);
  --btn-bg-h: var(--espresso);
}
.btn--secondary:hover { color: var(--crema-pura); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-border: transparent;
  --btn-bg-h: var(--bg-hover);
  padding: 12px 20px;
}

.btn--on-dark {
  --btn-bg: var(--crema-pura);
  --btn-fg: var(--espresso);
  --btn-border: var(--crema-pura);
  --btn-bg-h: var(--crema);
}
.btn--on-dark.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--crema-pura);
  --btn-border: var(--crema-pura);
  --btn-bg-h: var(--crema-pura);
}
.btn--on-dark.btn--secondary:hover { color: var(--espresso); }

.btn--block { display: flex; width: 100%; }

.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

/* === 9. HERO ============================================================= */
.hero {
  --hero-headline: clamp(var(--fs-h1-m), 5vw + 1rem, var(--fs-h1));
  padding-block: var(--space-7);
}
@media (min-width: 1024px) { .hero { padding-block: var(--space-9) var(--space-8); } }

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--hero-headline);
  line-height: var(--lh-h1);
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 var(--space-4);
  max-width: 18ch;
}

.hero__lede {
  font-size: var(--fs-body-lg-m);
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0 0 var(--space-5);
}
@media (min-width: 768px) { .hero__lede { font-size: var(--fs-body-lg); } }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero--dark { background: var(--bg-inverse); color: var(--fg-inverse); }
.hero--dark .hero__headline { color: var(--fg-inverse); }
.hero--dark .hero__lede     { color: var(--ottone-chiaro); }

.hero--split .hero__grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero--split .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-7);
  }
}

.hero__media img,
.hero__media picture { border-radius: var(--radius); }

/* === 10. STATS BLOCK ===================================================== */
.stats {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  padding-block: var(--space-5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px)  { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); } }

.stats__item { text-align: left; }
.stats--center .stats__item { text-align: center; }

.stats__value {
  font-family: var(--font-display);
  font-size: var(--fs-h2-m);
  line-height: 1;
  color: var(--fg);
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
}
@media (min-width: 1024px) { .stats__value { font-size: var(--fs-h2); } }

.stats__label {
  font-size: var(--fs-small-m);
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
@media (min-width: 768px) { .stats__label { font-size: var(--fs-small); } }

/* === 11. PROCESS STEPS =================================================== */
.process {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .process { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); } }

.process__step {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.process__number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  letter-spacing: 0.12em;
  color: var(--fg-accent);
  margin-bottom: var(--space-3);
  font-style: italic;
  font-weight: 400;
}

.process__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4-m);
  line-height: var(--lh-h4);
  margin: 0 0 var(--space-2);
}
@media (min-width: 768px) { .process__title { font-size: var(--fs-h4); } }

.process__text {
  color: var(--fg-muted);
  font-size: var(--fs-body-m);
  margin: 0;
}
@media (min-width: 768px) { .process__text { font-size: var(--fs-body); } }

/* === 12. CARD ============================================================ */
.card {
  --card-bg:     var(--bg-elevated);
  --card-fg:     var(--fg);
  --card-border: transparent;
  --card-pad:    var(--space-4);

  background: var(--card-bg);
  color: var(--card-fg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: var(--card-pad);
  transition: border-color var(--transition), background-color var(--transition);
}
@media (min-width: 768px) { .card { --card-pad: var(--space-5); } }

.card__eyebrow { margin-bottom: var(--space-2); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  color: var(--fg-accent);
}
.card__icon svg { width: 24px; height: 24px; }

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4-m);
  line-height: var(--lh-h4);
  margin: 0 0 var(--space-2);
}
@media (min-width: 768px) { .card__title { font-size: var(--fs-h4); } }

.card__text { color: var(--fg-muted); margin: 0 0 var(--space-3); }
.card__text:last-child { margin-bottom: 0; }

.card__actions { margin-top: var(--space-4); display: flex; gap: var(--space-3); flex-wrap: wrap; }

.card--bordered { --card-border: var(--border); --card-bg: transparent; }
.card--elevated { --card-border: var(--border); }
.card--dark     { --card-bg: var(--bg-inverse); --card-fg: var(--fg-inverse); }
.card--dark .card__title { color: var(--fg-inverse); }
.card--dark .card__text  { color: var(--ottone-chiaro); }

.card--interactive { cursor: pointer; }
.card--interactive:hover { --card-border: var(--border-strong); }
.card--interactive:has(a:focus-visible) { --card-border: var(--ottone-scuro); }

/* === 13. CARD GRID ======================================================= */
.card-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .card-grid { gap: var(--space-5); } }

@media (min-width: 768px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 768px)  { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 768px)  { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* === 14. PRICING CARD ==================================================== */
.pricing-card {
  --pc-bg:     var(--bg-elevated);
  --pc-border: var(--border);
  --pc-fg:     var(--fg);

  display: flex;
  flex-direction: column;
  background: var(--pc-bg);
  color: var(--pc-fg);
  border: 1px solid var(--pc-border);
  border-radius: var(--radius);
  padding: var(--space-5);
  transition: border-color var(--transition);
}
@media (min-width: 1024px) { .pricing-card { padding: var(--space-6); } }

.pricing-card__tier {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 var(--space-3);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--fs-h2-m);
  line-height: 1;
  margin: 0 0 var(--space-2);
  letter-spacing: -0.02em;
  font-weight: 600;
}
@media (min-width: 1024px) { .pricing-card__price { font-size: var(--fs-h2); } }

.pricing-card__price-suffix {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0;
}

.pricing-card__description {
  color: var(--fg-muted);
  margin: 0 0 var(--space-4);
  font-size: var(--fs-body-m);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-body-m);
  line-height: var(--lh-body);
}
.pricing-card__feature-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--fg-accent);
  margin-top: 4px;
}

.pricing-card__cta { margin-top: auto; }

.pricing-card--highlighted {
  --pc-bg: var(--bg-inverse);
  --pc-fg: var(--fg-inverse);
  --pc-border: var(--espresso);
}
.pricing-card--highlighted .pricing-card__tier         { color: var(--ottone-chiaro); }
.pricing-card--highlighted .pricing-card__description  { color: var(--ottone-chiaro); }
.pricing-card--highlighted .pricing-card__features     { border-top-color: var(--espresso-tenue); }
.pricing-card--highlighted .pricing-card__feature-icon { color: var(--ottone-chiaro); }

/* === 15. TESTIMONIAL ===================================================== */
.testimonial {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}
@media (min-width: 1024px) { .testimonial { padding: var(--space-6); } }

.testimonial__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--ottone);
  margin-bottom: var(--space-3);
}
.testimonial__stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }

.testimonial__quote {
  font-family: var(--font-display);
  font-size: var(--fs-body-lg-m);
  line-height: 1.5;
  font-style: italic;
  margin: 0 0 var(--space-4);
  color: var(--fg);
}
@media (min-width: 768px) { .testimonial__quote { font-size: var(--fs-body-lg); } }

.testimonial__attribution {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial__author {
  display: block;
  font-weight: 600;
  font-size: var(--fs-body-m);
  color: var(--fg);
  margin: 0;
}

.testimonial__role {
  display: block;
  font-size: var(--fs-small-m);
  color: var(--fg-muted);
  margin: 0;
}
@media (min-width: 768px) { .testimonial__role { font-size: var(--fs-small); } }

/* === 16. FAQ ACCORDION (native <details>/<summary>) ====================== */
.faq { display: flex; flex-direction: column; }

.faq__item {
  border-top: 1px solid var(--border);
}
.faq__item:last-child { border-bottom: 1px solid var(--border); }

.faq__question { list-style: none; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { content: ""; }

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-h4-m);
  line-height: var(--lh-h4);
  color: var(--fg);
  font-weight: 600;
  transition: color var(--transition);
}
@media (min-width: 768px) { .faq__question { font-size: var(--fs-h4); padding: var(--space-5) 0; } }

.faq__question:hover { color: var(--fg-accent); }
.faq__question:focus-visible {
  outline: 2px solid var(--ottone-scuro);
  outline-offset: 4px;
}

.faq__question::after {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}
.faq__item[open] > .faq__question::after { transform: rotate(-135deg) translateY(-2px); }

.faq__answer {
  padding: 0 0 var(--space-5);
  color: var(--fg-muted);
  font-size: var(--fs-body-m);
  line-height: var(--lh-body);
  max-width: 70ch;
}
@media (min-width: 768px) { .faq__answer { font-size: var(--fs-body); } }
.faq__answer > :last-child { margin-bottom: 0; }

/* Progressive Enhancement: details-content Animation wo unterstützt */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    block-size: 0;
    overflow: clip;
    opacity: 0;
    transition: block-size var(--transition-slow),
                opacity var(--transition),
                content-visibility var(--transition-slow) allow-discrete;
  }
  .faq__item[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

/* === 17. CTA BLOCK ======================================================= */
.cta-block {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
@media (min-width: 1024px) { .cta-block { padding: var(--space-8) var(--space-6); } }

.cta-block--dark {
  background: var(--bg-inverse);
  color: var(--fg-inverse);
  border-color: var(--espresso);
}
.cta-block--dark .cta-block__title { color: var(--fg-inverse); }
.cta-block--dark .cta-block__text  { color: var(--ottone-chiaro); }

.cta-block__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2-m);
  line-height: var(--lh-h2);
  margin: 0 auto var(--space-3);
  max-width: 20ch;
}
@media (min-width: 1024px) { .cta-block__title { font-size: var(--fs-h2); } }

.cta-block__text {
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0 auto var(--space-5);
  font-size: var(--fs-body-lg-m);
}
@media (min-width: 768px) { .cta-block__text { font-size: var(--fs-body-lg); } }

.cta-block__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* === 18. CONTACT INFO ==================================================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-body-m);
  color: var(--fg);
}
@media (min-width: 768px) { .contact-info__item { font-size: var(--fs-body); } }

.contact-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--fg-accent);
  background: var(--bg-elevated);
  border-radius: var(--radius);
}
.contact-info__icon svg { width: 20px; height: 20px; }

.contact-info__label {
  display: block;
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 2px;
}

.contact-info__value { color: var(--fg); }
.contact-info__value a { color: inherit; text-decoration-color: var(--border-accent); }

/* === 19. NEWSLETTER ====================================================== */
.newsletter {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}
@media (min-width: 1024px) { .newsletter { padding: var(--space-6); } }

.newsletter--inline {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.newsletter__title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  margin: 0 0 var(--space-2);
}

.newsletter__text {
  color: var(--fg-muted);
  margin: 0 0 var(--space-4);
  font-size: var(--fs-body-m);
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
@media (min-width: 768px) {
  .newsletter__form { flex-direction: row; align-items: stretch; }
}

.newsletter__input {
  flex: 1 1 auto;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-body-m);
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.newsletter__input::placeholder { color: var(--fg-muted); }
.newsletter__input:focus-visible {
  outline: 2px solid var(--ottone-scuro);
  outline-offset: 2px;
  border-color: var(--espresso);
}

/* === 20. AUTHOR / CURATOR TAG ============================================ */
.author-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}
.author-tag__avatar {
  width: 20px; height: 20px;
  border-radius: var(--radius-pill);
  object-fit: cover;
}
.author-tag__name { color: var(--fg); }

.author-tag--quiet { border-color: transparent; background: transparent; padding-inline: 0; }

/* === 21. HAIRLINE DIVIDER ================================================ */
.hairline {
  border: 0;
  border-top: 1px solid var(--border);
  margin: var(--space-5) 0;
  height: 0;
}
.hairline--strong { border-top-color: var(--border-strong); }
.hairline--short  { width: 64px; }
.hairline--center { margin-inline: auto; }

/* === 22. IMAGES ========================================================== */
.image--rounded { border-radius: var(--radius); }
.image--avatar {
  border-radius: var(--radius-pill);
  width: 96px; height: 96px;
  object-fit: cover;
}
.image--full  { width: 100%; height: auto; display: block; }
.image--frame { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-2); background: var(--bg-elevated); }

/* === 23. FORM FIELDS ===================================================== */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-field__label {
  font-size: var(--fs-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 600;
}

.form-field__input,
.form-field__textarea,
.form-field__select {
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--fs-body-m);
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  width: 100%;
}
.form-field__textarea { min-height: 140px; resize: vertical; }

.form-field__input:focus-visible,
.form-field__textarea:focus-visible,
.form-field__select:focus-visible {
  outline: 2px solid var(--ottone-scuro);
  outline-offset: 2px;
  border-color: var(--espresso);
}

.form-field__hint  { font-size: var(--fs-small-m); color: var(--fg-muted); }
.form-field__error { font-size: var(--fs-small-m); color: var(--terracotta); font-weight: 600; }

.form-field:has(:user-invalid) .form-field__input,
.form-field:has(:user-invalid) .form-field__textarea {
  border-color: var(--terracotta);
}

/* === 24. HEADER & NAV ==================================================== */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.site-header__brand {
  font-family: var(--font-display);
  font-size: var(--fs-h4-m);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}
@media (min-width: 768px) { .site-header__brand { font-size: var(--fs-h4); } }

.site-nav { display: none; }
@media (min-width: 1024px) {
  .site-nav { display: flex; align-items: center; gap: var(--space-5); }
}

.site-nav__list {
  list-style: none;
  display: flex;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
}
.site-nav__link {
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  color: var(--fg);
  text-decoration: none;
  padding: var(--space-2) 0;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--fg-accent);
  border-bottom-color: var(--border-accent);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}
.menu-toggle:hover { background: var(--bg-hover); border-color: var(--border-strong); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.menu-toggle__bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.menu-toggle__bar::before,
.menu-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--transition), top var(--transition);
}
.menu-toggle__bar::before { top: -6px; }
.menu-toggle__bar::after  { top:  6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after  { top: 0; transform: rotate(-45deg); }

.site-nav--mobile {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4);
  z-index: 50;
}
.site-header:has(.menu-toggle[aria-expanded="true"]) .site-nav--mobile { display: block; }
@media (min-width: 1024px) { .site-nav--mobile { display: none !important; } }

.site-nav--mobile .site-nav__list { flex-direction: column; gap: var(--space-3); }

/* === 25. FOOTER ========================================================== */
.site-footer {
  background: var(--bg-inverse);
  color: var(--fg-inverse);
  padding-block: var(--space-7) var(--space-5);
  font-size: var(--fs-small-m);
}
@media (min-width: 768px) { .site-footer { font-size: var(--fs-small); } }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 768px)  { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); } }

.site-footer__column { display: flex; flex-direction: column; gap: var(--space-3); }

.site-footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ottone-chiaro);
  margin: 0 0 var(--space-2);
  font-weight: 600;
}

.site-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }

.site-footer a {
  color: var(--crema-pura);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.site-footer a:hover { color: var(--ottone-chiaro); border-bottom-color: var(--ottone); }

.site-footer__bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--espresso-tenue);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--ottone-chiaro);
}
@media (min-width: 768px) {
  .site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* === 26. ICON UTILITIES (für inline Lucide SVG) ========================== */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
}
.icon--sm { font-size: 16px; }
.icon--md { font-size: 20px; }
.icon--lg { font-size: 24px; }
.icon--xl { font-size: 32px; }

/* === 27. ACCESSIBILITY HELPERS =========================================== */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-3);
  padding: 12px 16px;
  background: var(--espresso);
  color: var(--crema-pura);
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
  border-radius: var(--radius);
  transition: top var(--transition);
}
.skip-link:focus-visible { top: var(--space-3); }

/* === 28. PRINT =========================================================== */
@media print {
  :root {
    --bg: #fff;
    --bg-elevated: #fff;
    --bg-inverse: #fff;
    --fg: #000;
    --fg-muted: #333;
    --fg-inverse: #000;
    --border: #999;
    --border-strong: #000;
  }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.4; }
  .site-header, .site-footer, .menu-toggle, .site-nav,
  .newsletter, .cta-block, .hero__actions {
    display: none !important;
  }
  .section, .section--dark { background: #fff !important; color: #000 !important; padding-block: 12pt; }
  h1, h2, h3, h4 { color: #000 !important; page-break-after: avoid; }
  p, blockquote, .card, .pricing-card { page-break-inside: avoid; orphans: 3; widows: 3; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .btn { border: 1px solid #000 !important; background: #fff !important; color: #000 !important; padding: 4pt 8pt; }
  .faq__item > .faq__answer { display: block; padding: 4pt 0 8pt; }
  .faq__question::after { display: none; }
}

/* === 29. BRAND-CUSTOM ===================================================== */
/* Restore-You-spezifische Brand-Regeln, die nicht über :root-Tokens machbar  */
/* sind. Alles hier ist Override gegenüber somatic-base-Defaults. Komponenten-*/
/* CSS in Sektion 2–28 bleibt unverändert.                                   */

/* ---- Headlines: lowercase (H1/H2) + Brand-Typografie ---- */
/* H3 bleibt sentence-case (Brand-Rule: „H3 starts with a capital").          */
h1, .h1, h2, .h2 {
  text-transform: lowercase;
}
h1, .h1, h2, .h2, h3, .h3 {
  font-weight: 400; /* Mono-Headlines laufen 400, nicht 600 wie somatic-base-Default */
}
h3, .h3 {
  font-weight: 700; /* Außer H3: 700 — Brand-Spec */
  text-transform: none;
}
h4, .h4 {
  font-family: var(--font-body); /* H4 läuft in Sans, nicht Mono — Brand-Spec */
  font-weight: 600;
  text-transform: none;
}

/* ---- Eyebrow: Mono UPPERCASE in Türkis (statt Ottone) ---- */
/* Die Komponenten-Klasse .eyebrow ist bereits korrekt — diese Override-Regel */
/* schärft die Brand-Spec: Tracking +0.08em, Türkis als Action-Color.          */
.eyebrow {
  letter-spacing: 0.08em;
  color: var(--tuerkis);
}
.eyebrow.eyebrow--muted,
.eyebrow--muted {
  color: var(--tinte-weich);
}

/* ---- Accent-Stroke: 64px Türkis 1px-Linie ---- */
/* Die somatic-base-Default-Stroke ist 32px × 2px Ottone — wir überschreiben  */
/* mit Brand-Spec 64px × 1px Türkis. Tokens sind in :root schon angepasst.    */
.accent-stroke {
  background: var(--tuerkis);
}
.accent-stroke--on-dark {
  background: var(--gelb); /* Senfgelb auf dunklen Sektionen */
}

/* ---- Buttons: Brand-Hover (Türkis → Türkis-Tief, kein Lift, kein Shadow) ---- */
/* somatic-base übernimmt das schon via --ottone-scuro = --tuerkis-tief.       */
/* Hier nur sicherstellen: kein transform, keine Schatten.                    */
.btn,
.btn--primary,
.btn--secondary,
.btn--ghost {
  border-radius: 0; /* explizit, falls --radius irgendwo nicht greift */
  box-shadow: none;
  transform: none;
}
.btn:hover,
.btn:focus-visible {
  transform: none;
  box-shadow: none;
}

/* ---- Link-Hover: Türkis-Tief → Rost („warm shift") ---- */
a:hover {
  color: var(--rost);
}

/* ---- Form-Focus: Hairline wechselt Sand-Kante → Türkis ---- */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--tuerkis);
  box-shadow: none;
}

/* ---- Dunkle Sektionen: Türkis-Dunkel als Field, Senfgelb als Accent ---- */
/* somatic-base setzt --bg-inverse auf Espresso — wir haben in :root schon    */
/* --bg-inverse = --tuerkis-dunkel gesetzt. .section--dark zieht das.         */
.section--dark .eyebrow,
.section--dark .accent-stroke {
  color: var(--gelb);
  background: var(--gelb);
}
.section--dark a {
  color: var(--gelb);
}
.section--dark a:hover {
  color: var(--sand);
}

/* ---- Dark-CTA-Block: nackte h1-h4 + p müssen invertiert sein ---- */
/* somatic-base stylt nur .cta-block__title / .cta-block__text — wenn jemand  */
/* nackte h2/p im .cta-block--dark schreibt, blieb der Text in dunkler Tinte. */
/* Diese Regel fängt das auf, plus die Eyebrow-Akzent-Farbe in der CTA.       */
.cta-block--dark,
.cta-block--dark h1, .cta-block--dark h2,
.cta-block--dark h3, .cta-block--dark h4,
.cta-block--dark p,
.cta-block--dark .cta-block__title,
.cta-block--dark .cta-block__text {
  color: var(--sand);
}
.cta-block--dark .eyebrow {
  color: var(--gelb);
}
.cta-block--dark a:not(.btn) {
  color: var(--gelb);
}
.cta-block--dark a:not(.btn):hover {
  color: var(--sand);
}

/* ---- Dark-Section: nackte blockquote + cite ---- */
.section--dark blockquote,
.section--dark blockquote p,
.section--dark blockquote cite {
  color: var(--sand);
}

/* ---- Hairline-Divider: 1px Sand-Kante (das leitmotif) ---- */
.hairline,
hr {
  border: 0;
  border-top: 1px solid var(--sand-kante);
  margin: var(--space-5) 0;
}

/* ---- Selection: Türkis-Tief Background, Sand-Text ---- */
::selection {
  background: var(--tuerkis-tief);
  color: var(--sand);
}

/* ---- R.E.S.T.-Letters: große Space-Mono-Glyphen in Brand-Akzenten ---- */
/* Komponenten-Klasse für die vier R/E/S/T-Letters auf Hero + Methode-Seite.  */
/* Jeder Buchstabe nimmt eine andere Akzent-Farbe — Brand-Spec.               */
.rest-letter {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(96px, 18vw, 240px);
  line-height: 1;
  text-transform: lowercase; /* Auch die R.E.S.T.-Letters laufen klein */
  letter-spacing: -0.04em;
}
/* Farb-Reihenfolge verbindlich aus RestArc.jsx: R=Orange, E=Senfgelb,        */
/* S=Türkis, T=Rost. Bitte synchron halten mit .rest-arc__letter--* unten.    */
.rest-letter--r { color: var(--orange); }
.rest-letter--e { color: var(--gelb); }
.rest-letter--s { color: var(--tuerkis); }
.rest-letter--t { color: var(--rost); }

/* ---- Spur-Line: Brand-Signatur unter Hero-Headlines ---- */
/* 1px Sand-Kante, horizontal mit weichem Senfgelb-Fade in der Mitte.         */
.spur-line {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--sand-kante) 20%,
    var(--orange) 50%,
    var(--sand-kante) 80%,
    transparent 100%
  );
  border: 0;
  width: 100%;
  max-width: 480px;
  margin-block: var(--space-5);
}

/* ---- Sticky Top-Bar: Blur-Protection-Layer ---- */
/* Brand-Spec: backdrop-filter: blur(8px) auf rgba(251,247,238,0.86).          */
.site-header {
  background: rgba(251, 247, 238, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---- Subtle paper grain (optional, 2-3% opacity) ---- */
/* Brand-Regel: feines Rauschen 2–3% opacity als Hintergrund-Textur.           */
/* Opt-in via .has-grain auf section oder body.                               */
.has-grain {
  position: relative;
  isolation: isolate;
}
.has-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* ---- Wordmark: „restore you" mit „you" in 700 ---- */
/* Brand-Regel: das Logo-Lockup hat „you" fett im Wordmark.                   */
.wordmark {
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}
.wordmark__strong {
  font-weight: 700;
}

/* ---- Em-Accent: nicht-italic Türkis-Hervorhebung in Body-Text ---- */
/* Brand-Regel aus Sections.jsx: <Em> = Türkis, font-style normal, weight 500.*/
/* Globales <em> bleibt klassisch italic (somatic-base h1 em / h2 em). Wer    */
/* die Brand-Variante will, nutzt <em class="em--accent">.                    */
.em--accent {
  font-style: normal;
  font-weight: 500;
  color: var(--tuerkis);
}

/* ---- Button Variant: --glow (Senfgelb auf Dunkel) ---- */
/* Brand-Spec: nur in dunklen Sektionen, ersetzt --primary, wenn auf dem      */
/* mid-Türkis zu wenig Kontrast wäre. Hover: Sand-Linie statt Senfgelb.       */
.btn--glow {
  background: var(--gelb);
  color: var(--tinte);
  border: 1px solid transparent;
}
.btn--glow:hover,
.btn--glow:focus-visible {
  background: var(--sand-linie);
  color: var(--tinte);
}

/* ---- Course-Facts: dl-Grid mit Hairline-Separators ---- */
/* Brand-Pattern aus CourseSection.jsx: zweispaltiges Definition-List         */
/* (Label · Wert) mit 1px Sand-Linie zwischen den Zeilen.                    */
.course-facts {
  margin: 0;
  padding: 0;
  list-style: none;
}
.course-facts__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-4);
  padding: 20px 0;
  border-bottom: 1px solid var(--sand-linie);
}
.course-facts__row:first-child {
  border-top: 1px solid var(--sand-linie);
}
.course-facts__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tinte-weich);
  margin: 0;
}
.course-facts__value {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--tinte);
  margin: 0;
}
@media (max-width: 768px) {
  .course-facts__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}

/* ---- REST-Arc: 4-Phasen-Grid (R/E/S/T) ---- */
/* Brand-Pattern aus RestArc.jsx: vier gleich große Sand-Karten, durch        */
/* 1px-Hairlines getrennt, jede mit großem Mono-Buchstaben in eigener         */
/* Akzent-Farbe (Orange / Senfgelb / Türkis / Rost).                          */
.rest-arc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sand-linie);
  border: 1px solid var(--sand-linie);
}
@media (max-width: 900px) {
  .rest-arc { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .rest-arc { grid-template-columns: 1fr; }
}
.rest-arc__phase {
  background: var(--sand);
  padding: 40px 32px 44px;
}
.rest-arc__letter {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 24px;
  text-transform: lowercase; /* Brand-Konsistenz: alle Mono-Headlines klein */
}
.rest-arc__letter--r { color: var(--orange); }
.rest-arc__letter--e { color: var(--gelb); }
.rest-arc__letter--s { color: var(--tuerkis); }
.rest-arc__letter--t { color: var(--rost); }
.rest-arc__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  color: var(--tinte);
  margin: 0 0 10px;
  text-transform: none;
}
.rest-arc__body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--tinte-weich);
  margin: 0;
}

/* ---- Hero-Glow: weicher Senfgelb-Radial-Schein (das einzige erlaubte Glow) ---- */
.hero--restore {
  position: relative;
  overflow: hidden;
  padding-block: 120px 104px;
}
.hero--restore__glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 206, 27, 0.30), rgba(255, 206, 27, 0) 68%);
  z-index: 0;
  pointer-events: none;
}
.hero--restore .container { position: relative; z-index: 2; }
.hero--restore .spur-line {
  position: absolute;
  top: 42%;
  left: 0;
  right: 0;
  max-width: none;
  z-index: 1;
  opacity: 0.85;
  margin: 0;
}

/* ---- Eyebrow + Section-Num Combination ---- */
/* Brand-Pattern: Eyebrow als kleine Sektions-Nummer (z.B. „01 — Die Methode").*/
.eyebrow--num {
  color: var(--tinte-weich); /* gedämpft, weil Nummer kein Akzent */
}

/* ---- FAQ-Question: Plus-Icon dreht zu × beim Open ---- */
/* somatic-base nutzt native <details>/<summary> — das ::after-Icon ist da.   */
/* Hier nur Brand-Override für Farbe und Mono-Look.                            */
.faq__question::after {
  font-family: var(--font-mono);
  color: var(--tuerkis);
}
