/*
Theme Name: Somatic STRESSWISE
Theme URI: https://stress-wise.de
Author: Somatic Web (Jan Wolk)
Author URI: https://somatic-web.de
Description: STRESSWISE-Child-Theme auf Basis von somatic-base. Brand-Tokens im :root-Block aus design-system/colors_and_type.css. Komponenten-CSS unverändert aus somatic-base, Brand-Schärfungen am Ende in Sektion 29.
Template: wpdraft
Version: 1.0.5
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: Proprietary
License URI: https://stress-wise.de
Text Domain: somatic-stresswise
*/

/* === 0. LOCAL FONTS ====================================================== */
/* Fraunces + DM Sans, weights 100–900, normal + italic. DSGVO-konform
   (LG München 2022): kein Google-CDN zur Laufzeit. Dateien liegen unter
   /assets/fonts/, woff2-only. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-100.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-100italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 200; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-200.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 200; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-200italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-300.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-300italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-500italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 600; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-600italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 700; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-700italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-800.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 800; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-800italic.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-900.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 900; font-display: swap; src: url("assets/fonts/fraunces-v38-latin-900italic.woff2") format("woff2"); }

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-100.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 100; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-100italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 200; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-200.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 200; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-200italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-300.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 300; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-300italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-500.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 500; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-500italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-600.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 600; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-600italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-700.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 700; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-700italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-800.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 800; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-800italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-900.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: italic; font-weight: 900; font-display: swap; src: url("assets/fonts/dm-sans-v17-latin-900italic.woff2") format("woff2"); }

/* =========================================================================
   SOMATIC BASE — BEM Master Stylesheet
   ========================================================================= */

/* === 1. DESIGN TOKENS ==================================================== */
/* STRESSWISE Brand-Tokens (aus design-system/colors_and_type.css).
   One magenta. Three cremas. Three espressos. Nothing else.
   Komponenten-CSS unten bleibt unverändert — Brand-Schärfungen kommen
   am Ende in Sektion 29 BRAND-CUSTOM. */
:root {
  /* Cremes (warm off-whites, anchored on #FAF6F1) */
  --crema:            #FAF6F1;   /* Body / global background */
  --crema-pura:       #FFFFFF;   /* Elevated surfaces, cards */
  --crema-profonda:   #F4EDE5;   /* Section backgrounds for separation */
  --caffelatte:       #F4EDE5;   /* Brand hat keinen separaten Caffelatte — mapped auf Crema-Profonda */
  --linea:            #E5E0DB;   /* Borders, hairlines */

  /* Espresso (text — anthracite, never #000) */
  --espresso:         #1A1A1A;   /* Headlines, primary text */
  --espresso-tenue:   #2A2A2A;   /* Body copy (softer than black) */
  --espresso-muted:   #6B6B6B;   /* Sublines, meta, captions */

  /* Ottone — ONE magenta. Logo and Action share this color. */
  --ottone:           #892B64;   /* Brand action: buttons, links, logo */
  --ottone-scuro:     #742456;   /* Hover (functional only) */
  --ottone-chiaro:    var(--crema); /* Brand hat den dritten Magenta-Ton bewusst entfernt — auf Dark-Sections wird Crema verwendet */

  /* Signal-Töne — funktional, nicht decorativ */
  --oliva:            var(--ottone);  /* Success in Brand-Magenta — Brand kennt keine zweite Akzentfarbe */
  --terracotta:       #A14132;        /* Error: einziger Funktions-Ton außerhalb der Brand-Palette, für Form-Validierung */

  /* Focus-Signature — das einzige „Shadow"-Element im System */
  --ring-brand:       0 0 0 12px rgba(137, 43, 100, 0.15);

  /* Semantische Aliase */
  --bg:               var(--crema);
  --bg-elevated:      var(--crema-pura);
  --bg-hover:         var(--crema-profonda);
  --bg-inverse:       var(--espresso);
  --fg:               var(--espresso);
  --fg-muted:         var(--espresso-tenue);
  --fg-inverse:       var(--crema-pura);
  --fg-accent:        var(--ottone);
  --border:           var(--linea);
  --border-strong:    var(--espresso-tenue);
  --border-accent:    var(--ottone);

  /* Schriften */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type Scale Desktop */
  --fs-h1:        72px;
  --fs-h2:        48px;
  --fs-h3:        32px;
  --fs-h4:        24px;
  --fs-body-lg:   20px;
  --fs-body:      17px;
  --fs-small:     14px;
  --fs-label:     12px;

  /* Type Scale Mobile */
  --fs-h1-m:      40px;
  --fs-h2-m:      32px;
  --fs-h3-m:      24px;
  --fs-h4-m:      20px;
  --fs-body-lg-m: 18px;
  --fs-body-m:    16px;
  --fs-small-m:   13px;

  /* Line Heights */
  --lh-h1:        1.05;
  --lh-h2:        1.15;
  --lh-h3:        1.25;
  --lh-h4:        1.3;
  --lh-body:      1.6;
  --lh-tight:     1.4;

  /* 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 — Brand-Schärfung: zwei Werte, dazwischen nichts */
  --radius-sharp: 0;
  --radius:       4px;     /* Cards, Inputs, Surfaces (grounded pole) */
  --radius-pill:  9999px;  /* Buttons (organic pole) — Markensignatur */

  /* Motion — quiet, never bouncy */
  --transition:      220ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-slow: 360ms cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Accent-Stroke (Brand: dünner als Default) */
  --accent-stroke-w: 32px;
  --accent-stroke-h: 1px;
}

/* === 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 ===================================================== */
/* STRESSWISE-spezifische Overrides der somatic-base-Defaults.
   Hier landet alles, was die Brand-Schärfung gegenüber dem
   somatic-base-Default verlangt — ohne Komponenten-CSS zu editieren.
   Quelle: design-system/SKILL.md, README.md, colors_and_type.css. */

/* --- Body-Color: weiches Anthrazit, kein hartes Espresso --- */
body { color: var(--espresso-tenue); }

/* --- Links: Brand-Magenta, unterstrichen, Hover dunkler --- */
a {
  color: var(--ottone);
  text-decoration-color: currentColor;
}
a:hover { color: var(--ottone-scuro); }

/* --- Selection: Brand-Magenta auf Crema --- */
::selection { background: var(--ottone); color: var(--crema); }

/* --- Focus-Signature: 12px Magenta-Glow statt Hard-Outline --- */
:focus-visible {
  outline: none;
  box-shadow: var(--ring-brand);
  border-radius: var(--radius);
}

/* --- Buttons: Pill-Form, kein ALL-CAPS, Brand-Magenta --- */
.btn {
  border-radius: var(--radius-pill);
  text-transform: none;
  letter-spacing: 0.005em;
  font-weight: 500;
  padding: 14px 28px;
  gap: var(--space-2);
}

.btn--primary {
  --btn-bg:     var(--ottone);
  --btn-fg:     var(--crema);
  --btn-border: var(--ottone);
  --btn-bg-h:   var(--ottone-scuro);
}

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

.btn--ghost {
  --btn-fg:     var(--ottone);
  --btn-bg-h:   transparent;
  padding-inline: 0;
  border: 0;
}
.btn--ghost::after {
  content: " →";
  transition: transform var(--transition);
  display: inline-block;
}
.btn--ghost:hover::after { transform: translateX(4px); }

/* --- Header-Brand: Wortmarke + Logo-Mark in Ottone --- */
.site-header__brand {
  color: var(--ottone);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.site-header__brand-mark {
  width: 36px;
  height: 36px;
  display: block;
}
.site-header__brand-text {
  font-family: var(--font-display);
  font-size: var(--fs-h4-m);
  line-height: 1;
}
@media (min-width: 768px) {
  .site-header__brand-text { font-size: var(--fs-h4); }
}

/* --- Site-Nav-Link: Brand-Hover-Border-Color --- */
.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--ottone);
  border-bottom-color: var(--ottone);
}

/* --- Hero-Lede in muted Crema, nicht Ottone --- */
.hero__lede { color: var(--espresso-muted); }
.hero--dark .hero__lede { color: var(--crema); opacity: 0.85; }

/* --- Lead-Paragraph: einleitender Text größer als Body, gedämpft --- */
.lead {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg-m);
  line-height: 1.5;
  color: var(--espresso);
  margin: 0 0 var(--space-3);
  font-weight: 400;
}
@media (min-width: 768px) {
  .lead { font-size: var(--fs-body-lg); }
}

/* --- Eyebrow: in Brand wirkt der Akzent über Ottone, nicht Espresso-Muted --- */
.eyebrow { color: var(--ottone); font-weight: 600; }

/* --- Accent-Stroke: dünner, Brand-Magenta --- */
.accent-stroke {
  background: var(--ottone);
  height: 1px;
}

/* --- Stats-Wert in Brand-Magenta --- */
.stats__value { color: var(--ottone); }

/* --- Process-Number: italic Brand-Akzent --- */
.process__number { color: var(--ottone); }

/* --- Footer auf Crema-Profonda (nicht dark), Brand-konform --- */
.site-footer {
  background: var(--crema-profonda);
  color: var(--espresso-tenue);
  border-top: 1px solid var(--linea);
}
.site-footer a {
  color: var(--espresso-tenue);
  border-bottom: 1px solid transparent;
}
.site-footer a:hover {
  color: var(--ottone);
  border-bottom-color: var(--ottone);
}
.site-footer__heading { color: var(--ottone); }
.site-footer__bottom {
  border-top-color: var(--linea);
  color: var(--espresso-muted);
}

/* --- Card-Headline in Brand-Heading-Style (Fraunces 500, kein 600) --- */
h1, h2, h3, h4 { font-weight: 500; }

/* ============================================================
   ANTITHESE — die zentrale Brand-Komponente
   Jeder Page-Inhalt sollte mindestens eine enthalten.
   Pattern: Gewinner groß+dunkel in Fraunces, „statt" als Pivot,
   Verlierer im Body-Sans mit Strikethrough.
   ============================================================ */
.antithese {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-family: var(--font-body);
}
.antithese__win {
  font-family: var(--font-display);
  font-size: var(--fs-h2-m);
  font-weight: 500;
  color: var(--espresso);
  line-height: var(--lh-h2);
  letter-spacing: -0.015em;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}
@media (min-width: 768px) {
  .antithese__win { font-size: var(--fs-h2); }
}
.antithese__pivot {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso-muted);
}
.antithese__lose {
  font-family: var(--font-body);
  font-size: var(--fs-body-m);
  color: var(--espresso-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--espresso-muted);
}
@media (min-width: 768px) {
  .antithese__lose { font-size: var(--fs-body); }
}

/* Antithese-Grid: mehrere Antithesen in einer Sektion */
.antithese-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5) var(--space-4);
  margin-top: var(--space-4);
}
@media (min-width: 768px) {
  .antithese-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PILL / TAG — Crema-Profonda-Hintergrund, Ottone-Text
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--crema-profonda);
  color: var(--ottone);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ============================================================
   TRIO — Team-Cards (Lena, Anne, Jan)
   ============================================================ */
.trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) { .trio { grid-template-columns: repeat(3, 1fr); } }

.profile {
  background: var(--crema-pura);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.profile__photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--crema-profonda);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  object-fit: cover;
  display: block;
}
.profile__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h4-m);
  color: var(--espresso);
  margin: 0 0 var(--space-1);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .profile__name { font-size: var(--fs-h4); } }
.profile__role {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ottone);
  margin: 0 0 var(--space-2);
}
.profile__bio {
  font-family: var(--font-body);
  font-size: var(--fs-body-m);
  line-height: var(--lh-body);
  color: var(--espresso-tenue);
  margin: 0;
}

/* ============================================================
   FORMATS — die 4 STRESSWISE-Workshop-Formate
   ============================================================ */
.formats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 768px) { .formats { grid-template-columns: repeat(2, 1fr); } }

.format {
  background: var(--crema-pura);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
@media (min-width: 768px) { .format { padding: var(--space-5); } }

.format__num {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  color: var(--ottone);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.format__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3-m);
  color: var(--espresso);
  letter-spacing: -0.015em;
  line-height: var(--lh-h3);
  margin: 0;
}
@media (min-width: 768px) { .format__title { font-size: var(--fs-h3); } }
.format__desc {
  font-size: var(--fs-body-m);
  color: var(--espresso-tenue);
  line-height: var(--lh-body);
  margin: 0;
}
.format__meta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: auto;
}

/* ============================================================
   BYLINE — Beitragsanfang (ersetzt sw_byline aus dem alten Snippet)
   ============================================================ */
.byline {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-5);
  padding: 0 0 var(--space-3);
  border-bottom: 1px solid var(--linea);
}
.byline__photo-link { display: block; flex: 0 0 auto; line-height: 0; }
.byline__photo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.byline__text { display: flex; flex-direction: column; gap: 2px; }
.byline__name {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--espresso);
}
.byline__name a {
  color: var(--ottone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.byline__name a:hover { border-bottom-color: var(--ottone); }
.byline__date {
  font-family: var(--font-body);
  font-size: var(--fs-small-m);
  color: var(--espresso-muted);
}
.byline__date time { font-style: normal; }

/* ============================================================
   AUTHOR-BOX — Beitragsende (ersetzt sw_autorenbox aus dem alten Snippet)
   ============================================================ */
.author-box {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-1);
  padding: var(--space-4);
  background: var(--crema-profonda);
  border-left: 3px solid var(--ottone);
  border-radius: var(--radius);
}
@media (min-width: 768px) {
  .author-box {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
  }
}
.author-box__photo {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
@media (min-width: 768px) {
  .author-box__photo { width: 112px; height: 112px; }
}
.author-box__text { display: flex; flex-direction: column; }
.author-box__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ottone);
  margin: 0 0 var(--space-1);
}
.author-box__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h4-m);
  line-height: var(--lh-h4);
  color: var(--espresso);
  margin: 0 0 var(--space-1);
}
@media (min-width: 768px) { .author-box__name { font-size: var(--fs-h4); } }
.author-box__role {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ottone);
  margin: 0 0 var(--space-2);
}
.author-box__bio {
  font-family: var(--font-body);
  font-size: var(--fs-body-m);
  line-height: var(--lh-body);
  color: var(--espresso-tenue);
  margin: 0 0 var(--space-3);
}
.author-box__links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.author-box__link {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ottone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.author-box__link:hover { border-bottom-color: var(--ottone); }
.author-box__icon {
  display: inline-flex;
  color: var(--ottone);
  line-height: 0;
  transition: opacity var(--transition);
}
.author-box__icon:hover { opacity: 0.65; }

/* ============================================================
   TOC — Inhaltsverzeichnis aus H2/H3 (ersetzt sw_inhaltsverzeichnis)
   ============================================================ */
.toc {
  margin: 0 0 var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: var(--crema-pura);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
}
.toc__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h4-m);
  color: var(--espresso);
  margin: 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after {
  content: '';
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 2px;
  border-right: 1.5px solid var(--ottone);
  border-bottom: 1.5px solid var(--ottone);
  transform: rotate(45deg);
  transition: transform var(--transition);
}
.toc__details[open] .toc__title::after { transform: rotate(-135deg); }
.toc__details[open] .toc__list { margin-top: var(--space-3); }
.toc__list, .toc__sub { list-style: none; margin: 0; padding: 0; }
.toc__list > li { margin: 0 0 var(--space-1); }
.toc__sub { margin: 6px 0 6px 18px; }
.toc__sub > li { margin: 0 0 6px; }
.toc a {
  font-family: var(--font-body);
  font-size: var(--fs-body-m);
  line-height: 1.4;
  color: var(--espresso-tenue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.toc a:hover {
  color: var(--ottone);
  border-bottom-color: var(--ottone);
}
.toc__sub a {
  font-size: var(--fs-small);
  color: var(--espresso-muted);
}

/* Sprungziele etwas Abstand geben (Wert an Sticky-Header anpassen) */
.entry-content h2,
.entry-content h3 { scroll-margin-top: 100px; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============================================================
   CTA-SPACING — Buttons immer mit Luft zum Vorherigen
   ----------------------------------------------------------------
   Greift überall, wo ein <p> einen .btn (oder .btn--*) enthält.
   Löst sowohl „Alle Formate ansehen klebt am Grid" als auch
   „Exposé-Download klebt an Pills" in einem Aufwasch.
   ============================================================ */
p:has(> .btn),
p:has(> a.btn) {
  margin-top: var(--space-5);
}
@media (min-width: 768px) {
  p:has(> .btn),
  p:has(> a.btn) {
    margin-top: var(--space-6);
  }
}

/* Fallback ohne :has() — für ältere Browser, gezielt nach typischen
   Vorgänger-Containern: */
.formats + p,
.trio + p,
.antithese-grid + p,
.card-grid + p,
.feature + p,
.posts + p,
.format__meta + p {
  margin-top: var(--space-5);
}
@media (min-width: 768px) {
  .formats + p,
  .trio + p,
  .antithese-grid + p,
  .card-grid + p,
  .feature + p,
  .posts + p,
  .format__meta + p {
    margin-top: var(--space-6);
  }
}

/* wp:post-template rendert als <ul>. List-Style raus, padding raus,
   damit unser card-grid--N als reines Grid-Container greift. */
.wp-block-post-template {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wp-block-post-template > li { list-style: none; }

/* Blog-Index Card-Tweaks — Post-Title als h2 nutzt Heading-CSS,
   das ist auf Card-Größe etwas zu groß. */
.card .wp-block-post-title,
.card h2.wp-block-post-title {
  font-size: var(--fs-h4-m);
  line-height: var(--lh-h4);
  margin: var(--space-2) 0 var(--space-2);
}
@media (min-width: 768px) {
  .card .wp-block-post-title,
  .card h2.wp-block-post-title {
    font-size: var(--fs-h4);
  }
}
.card .wp-block-post-title a {
  color: var(--espresso);
  text-decoration: none;
  border: 0;
}
.card .wp-block-post-title a:hover { color: var(--ottone); }

.card .wp-block-post-date,
.card .wp-block-post-date time {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--espresso-muted);
}

.card .wp-block-post-excerpt__excerpt {
  font-size: var(--fs-body-m);
  line-height: var(--lh-body);
  color: var(--espresso-tenue);
  margin: var(--space-2) 0;
}
.card .wp-block-post-excerpt__more-link {
  color: var(--ottone);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Query-Pagination: zentriert, mit Abstand zum Card-Grid */
.wp-block-query-pagination {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--espresso-tenue);
  text-decoration: none;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 8px 14px;
  transition: border-color var(--transition), color var(--transition);
}
.wp-block-query-pagination a:hover {
  color: var(--ottone);
  border-color: var(--ottone);
}
.wp-block-query-pagination .page-numbers.current {
  background: var(--ottone);
  color: var(--crema);
  border-color: var(--ottone);
}

/* ============================================================
   FEATURE — 2-Spalten Bild+Text, alternierbar
   Für Format-Detail-Seiten, Methoden-Erläuterungen, etc.
   Mobile: 1-spaltig, Text zuerst, Bild darunter.
   Desktop (≥1024px): 2-spaltig, default Text links / Bild rechts.
   --reverse-Modifier dreht das Layout auf Desktop um.
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 1024px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
  }
  .feature__text  { order: 0; }
  .feature__media { order: 1; }
  .feature--reverse .feature__text  { order: 1; }
  .feature--reverse .feature__media { order: 0; }
}
.feature__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
.feature__text {
  display: flex;
  flex-direction: column;
}
.feature__eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ottone);
  margin: 0 0 var(--space-2);
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2-m);
  color: var(--espresso);
  letter-spacing: -0.015em;
  line-height: var(--lh-h2);
  margin: 0 0 var(--space-3);
}
@media (min-width: 768px) {
  .feature__title { font-size: var(--fs-h2); }
}

/* Brand-Liste mit Em-Dash-Bullets (keine Disc, keine Emojis) */
.list-dashed {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.list-dashed li {
  padding-left: 28px;
  position: relative;
  color: var(--espresso-tenue);
  font-size: var(--fs-body-m);
  line-height: var(--lh-body);
}
@media (min-width: 768px) {
  .list-dashed li { font-size: var(--fs-body); }
}
.list-dashed li::before {
  content: "—";
  position: absolute;
  left: 0;
  width: 20px;
  color: var(--ottone);
  font-weight: 500;
}

/* ============================================================
   QUOTE — Brand-Zitat-Komponente (für Team-Detail und Hero-Quotes)
   ============================================================ */
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-body-lg-m);
  line-height: 1.4;
  color: var(--espresso);
  padding: var(--space-3) 0 var(--space-3) var(--space-4);
  border-left: 2px solid var(--ottone);
  margin: var(--space-4) 0;
  max-width: 56ch;
}
@media (min-width: 768px) {
  .quote { font-size: var(--fs-body-lg); }
}
.quote__attribution {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--fs-meta, var(--fs-label));
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso-muted);
  margin-top: var(--space-2);
}

/* ============================================================
   CONTACT-INFO Brand-Override (Icons in Brand-Magenta-Box)
   somatic-base nutzt --fg-accent, das ist bei uns --ottone — passt.
   Override hier nur, weil somatic-base .contact-info__icon einen
   bg-elevated-Hintergrund hat, der mit unserem Crema-Pura konfligiert.
   ============================================================ */
.contact-info__icon {
  background: var(--crema-profonda);
  color: var(--ottone);
}
