/* =========================================================================
   Psychotherapie Siegfried Koller – Stylesheet
   Selbst gehostete Fonts (keine CDNs), @layer-Architektur, WCAG-AA-Kontraste,
   dezente Animationen (nur transform/opacity), prefers-reduced-motion-sicher.
   ========================================================================= */

/* ---- Selbst gehostete Schriften (lokal, DSGVO-konform) ---- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 600;          /* Variable Font: deckt Regular–SemiBold ab */
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish-latin.woff2") format("woff2");
  font-weight: 400 700;          /* Variable Font: deckt Regular–Bold ab */
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

@layer reset, tokens, base, layout, components, utilities;

/* =========================================================================
   TOKENS
   ========================================================================= */
@layer tokens {
  :root {
    /* Farbschema: verfeinertes Salbeigrün */
    --sage:        #5e6e58;   /* Salbei (Akzentflächen, Rahmen)              */
    --sage-deep:   #45533d;   /* Dunkelgrün (Titel, Links, CTA-Flächen)      */
    --sage-tint:   color-mix(in oklab, var(--sage) 12%, #ffffff);
    --sand:        #b9a88f;   /* warmer Sand-Akzent – nur dekorativ          */

    --bg:          #f6f2ea;   /* Seitenhintergrund (Creme)                   */
    --paper:       #fdfbf6;   /* Karten / Sektionen (warmes Off-White)       */
    --ink:         #2e2e2b;   /* Fließtext – Kontrast auf Paper > 12:1       */
    --muted:       #565046;   /* Sekundärtext – Kontrast auf Paper ~ 6.7:1   */
    --line:        #e7e0d3;   /* feine Trennlinien / Rahmen                  */
    --soft:        #efeadf;   /* zarte Füllflächen (Zitat, Info-Box)         */

    --on-dark:          #ffffff;
    --on-dark-muted:    #eef1ea;

    /* Fluid-Type-Scale (skaliert 320px → 1240px, keine Media-Queries nötig) */
    --step--1: clamp(0.89rem, 0.85rem + 0.18vw, 1.00rem);
    --step-0:  clamp(1.00rem, 0.95rem + 0.26vw, 1.15rem);
    --step-1:  clamp(1.20rem, 1.11rem + 0.44vw, 1.44rem);
    --step-2:  clamp(1.44rem, 1.29rem + 0.73vw, 1.80rem);
    --step-3:  clamp(1.73rem, 1.49rem + 1.16vw, 2.25rem);
    --step-4:  clamp(2.07rem, 1.72rem + 1.72vw, 2.80rem);
    --step-5:  clamp(2.49rem, 1.96rem + 2.56vw, 3.50rem);

    /* Spacing */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs:  0.75rem;
    --space-s:   1rem;
    --space-m:   1.5rem;
    --space-l:   2.25rem;
    --space-xl:  clamp(2.5rem, 1.8rem + 3vw, 4.5rem);

    --measure: 68ch;          /* angenehme Lesezeilenlänge                   */
    --wrap: 1120px;           /* max. Inhaltsbreite                          */

    /* Form */
    --radius:      18px;
    --radius-lg:   26px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgb(47 47 43 / 0.04), 0 3px 10px rgb(47 47 43 / 0.05);
    --shadow-md: 0 12px 34px rgb(47 47 43 / 0.07);
    --shadow-lg: 0 26px 64px rgb(47 47 43 / 0.11);

    --ease-out: cubic-bezier(0.16, 0.84, 0.44, 1);

    --header-h: 4.6rem;

    color-scheme: light;
  }
}

/* =========================================================================
   RESET (modern, 2026)
   ========================================================================= */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
  }

  body {
    min-height: 100svh;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-synthesis: none;
  }

  h1, h2, h3, h4 {
    line-height: 1.14;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;               /* saubere Silbentrennung dt. Komposita */
  }
  p, li { text-wrap: pretty; }

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

  a { color: inherit; }
  ul, ol { padding-inline-start: 1.25em; }

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

  :target { scroll-margin-block-start: calc(var(--header-h) + 1rem); }

  /* Reduced motion: Animationen/Transitions abschalten, nicht nur verlangsamen */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}

/* =========================================================================
   BASE
   ========================================================================= */
@layer base {
  body {
    font-family: "Mulish", system-ui, -apple-system, Segoe UI, sans-serif;
    font-size: var(--step-0);
    color: var(--ink);
    background-color: var(--bg);
    /* zarte, ruhige Atmosphäre: zwei sehr weiche Lichtflecken auf Creme */
    background-image:
      radial-gradient(60rem 40rem at 85% -10%, color-mix(in oklab, var(--sage) 14%, transparent), transparent 60%),
      radial-gradient(50rem 40rem at -10% 20%, color-mix(in oklab, var(--sand) 16%, transparent), transparent 55%);
    background-attachment: fixed;
    background-repeat: no-repeat;
  }

  h1, h2, h3, h4 {
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-weight: 500;
    color: var(--sage-deep);
    letter-spacing: 0.005em;
  }
  h1 { font-size: var(--step-5); font-weight: 400; }
  h2 { font-size: var(--step-3); margin-block-end: var(--space-m); }
  h3 {
    font-size: var(--step-1);
    font-weight: 600;
    margin-block-start: var(--space-l);
    margin-block-end: var(--space-2xs);
  }

  p { margin-block-end: var(--space-s); max-width: var(--measure); }

  a {
    color: var(--sage-deep);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
    text-decoration-color: color-mix(in oklab, var(--sage-deep) 45%, transparent);
    transition: color 0.2s var(--ease-out), text-decoration-color 0.2s var(--ease-out);
  }
  a:hover { text-decoration-color: currentColor; }

  strong { font-weight: 700; }
  ::selection { background: color-mix(in oklab, var(--sage) 30%, transparent); }
}

/* =========================================================================
   LAYOUT
   ========================================================================= */
@layer layout {
  .skip-link {
    position: absolute;
    inset-inline-start: 1rem;
    inset-block-start: -100%;
    z-index: 100;
    background: var(--sage-deep);
    color: var(--on-dark);
    padding: 0.7rem 1.1rem;
    border-radius: 0 0 var(--radius) var(--radius);
    text-decoration: none;
    transition: inset-block-start 0.2s var(--ease-out);
  }
  .skip-link:focus-visible { inset-block-start: 0; }

  /* ---- Header / Navigation ---- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in oklab, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border-block-end: 1px solid transparent;
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
                background-color 0.3s var(--ease-out);
  }
  .site-header[data-scrolled="true"] {
    border-block-end-color: var(--line);
    box-shadow: var(--shadow-sm);
    background: color-mix(in oklab, var(--bg) 92%, transparent);
  }

  .nav {
    max-width: var(--wrap);
    margin-inline: auto;
    min-height: var(--header-h);
    padding: 0.6rem clamp(1rem, 3vw, 1.75rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
    position: relative;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--sage-deep);
  }
  .brand img { width: 46px; height: auto; }
  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .brand-name {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.12rem;
    font-weight: 500;
  }
  .brand-role {
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 1.4rem);
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .nav-list a {
    display: inline-block;
    padding: 0.5rem 0.35rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.98rem;
    position: relative;
  }
  .nav-list a::after {
    content: "";
    position: absolute;
    inset-inline: 0.35rem;
    inset-block-end: 0.18rem;
    height: 2px;
    background: var(--sage);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-out);
  }
  .nav-list a:hover,
  .nav-list a[aria-current="page"] { color: var(--sage-deep); }
  .nav-list a:hover::after,
  .nav-list a[aria-current="page"]::after { transform: scaleX(1); }

  .nav-toggle { display: none; }

  /* ---- Hero ---- */
  .hero {
    position: relative;
    isolation: isolate;
    min-height: min(78svh, 640px);
    display: grid;
    place-items: center;
    text-align: center;
    padding: var(--space-xl) clamp(1.25rem, 5vw, 3rem);
    color: var(--on-dark);
    background-image: url("img/hero.jpg");   /* Fallback für ältere Browser */
    background-image: image-set(
      url("img/hero.webp") type("image/webp"),
      url("img/hero.jpg")  type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /* stärkeres, verlaufendes Overlay → weißer Text erreicht AA unabhängig vom Bild */
    background:
      linear-gradient(180deg,
        rgb(28 34 24 / 0.42) 0%,
        rgb(28 34 24 / 0.34) 42%,
        rgb(24 30 20 / 0.62) 100%);
  }
  .hero-inner { max-width: 820px; }
  .hero .eyebrow {
    display: inline-block;
    font-family: "Mulish", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--on-dark);
    opacity: 0.92;
    margin-block-end: var(--space-s);
  }
  .hero h1 {
    color: var(--on-dark);
    font-weight: 400;
    -webkit-hyphens: none;
    hyphens: none;
    text-shadow: 0 2px 20px rgb(20 26 16 / 0.35);
    margin-block-end: var(--space-m);
  }
  .hero-subtitle {
    font-size: var(--step-1);
    color: var(--on-dark);
    max-width: 40ch;
    margin-inline: auto;
    margin-block-end: var(--space-l);
    text-shadow: 0 2px 14px rgb(20 26 16 / 0.4);
  }

  /* ---- Main / Sektionen ---- */
  main {
    max-width: var(--wrap);
    margin-inline: auto;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 1.75rem);
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }

  section {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4.5vw, 3.5rem);
    box-shadow: var(--shadow-sm);
  }

  .split {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: center;
  }
  .split--media-first { grid-template-columns: 300px 1fr; }

  .split-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
  }
  /* Porträt: Hochformat, Bildausschnitt nach oben → Kopf bleibt vollständig */
  #ueber-mich .split-media img { object-position: 50% 15%; }
  /* Waldweg ist ein Querformat-Foto → natürlicheres 4:3 statt Hochformat-Crop */
  #themen .split-media img { aspect-ratio: 4 / 3; }

  .two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-s);
    margin-block-start: var(--space-m);
  }

  .process-block,
  .framework-block {
    margin-block-start: var(--space-l);
  }

  .process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-s);
    padding: 0;
    margin: var(--space-m) 0 0;
  }

  .process-steps li {
    position: relative;
    padding: var(--space-m);
    background: var(--soft);
    border-radius: var(--radius);
  }

  .step-number {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin-block-end: var(--space-s);
    border-radius: 50%;
    background: var(--sage-deep);
    color: var(--on-dark);
    font-weight: 700;
  }

  .process-steps strong {
    display: block;
    font-family: "Fraunces", Georgia, serif;
    color: var(--sage-deep);
    margin-block-end: 0.35rem;
  }

  .process-steps p {
    margin: 0;
    color: var(--muted);
  }

  /* ---- Footer ---- */
  .site-footer {
    max-width: var(--wrap);
    margin-inline: auto;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.75rem) 3.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-s);
    border-block-start: 1px solid var(--line);
  }
  .site-footer a { color: var(--muted); text-decoration: none; }
  .site-footer a:hover { color: var(--sage-deep); text-decoration: underline; }
  .site-footer nav { display: flex; gap: 0.35rem; flex-wrap: wrap; }
}

/* =========================================================================
   COMPONENTS
   ========================================================================= */
@layer components {
  /* ---- Buttons ---- */
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--sage-deep);
    background: transparent;
    color: var(--sage-deep);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out),
                background-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
  }
  .button:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .button:active { transform: translateY(0) scale(0.99); }

  .button--primary {
    background: var(--sage-deep);          /* 7.7:1 mit Weiß → AAA           */
    color: var(--on-dark);
    border-color: var(--sage-deep);
  }
  .button--primary:hover {
    background: color-mix(in oklab, var(--sage-deep) 88%, #000);
  }

  /* Sekundärer Button auf dem dunklen Hero → hell für ausreichenden Kontrast */
  .hero .button:not(.button--primary) {
    border-color: var(--on-dark);
    color: var(--on-dark);
    background: rgb(255 255 255 / 0.08);
  }
  .hero .button:not(.button--primary):hover {
    background: var(--on-dark);
    color: var(--sage-deep);
  }

  .button-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    margin-block-start: var(--space-l);
  }
  .button-row--center { justify-content: center; }

  /* ---- Lead / Zitat ---- */
  .lead {
    font-size: var(--step-1);
    line-height: 1.5;
    color: var(--muted);
    max-width: 60ch;
  }

  .eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage);
    margin-block-end: var(--space-2xs);
  }
  /* Hero-Eyebrow muss hell bleiben – steht in derselben (späteren) Ebene wie
     die .eyebrow-Basisregel, damit die Kaskade zuverlässig greift. */
  .hero .eyebrow { color: var(--on-dark); }

  .quote {
    background: var(--soft);
    border-inline-start: 4px solid var(--sage);
    padding: var(--space-m) var(--space-l);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: var(--step-1);
    font-style: italic;
    color: var(--sage-deep);
    margin-block-start: var(--space-m);
    max-width: none;
  }

  /* ---- Themen-Liste (Chips) ---- */
  .feeling-list {
    list-style: none;
    padding: 0;
    margin-block-start: var(--space-m);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs) var(--space-xs);
  }
  .feeling-list li {
    background: var(--sage-tint);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-pill);
    font-size: 0.98rem;
    line-height: 1.3;
  }

  /* ---- Ausbildungs-/Erfahrungs-Listen ---- */
  .clean-list { list-style: none; padding: 0; margin-block-start: var(--space-2xs); }
  .clean-list li {
    position: relative;
    padding-inline-start: 1.5rem;
    margin-block-end: 0.55rem;
  }
  .clean-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0.68em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--sand);
  }

  /* ---- Info-Boxen (Rahmen & Ablauf) ---- */
  .info-box {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-m);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  }
  .info-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .info-box strong {
    display: block;
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    color: var(--sage-deep);
    margin-block-end: 0.35rem;
  }
	  .cancellation-note {
    max-width: 65ch;
    margin: var(--space-s) auto 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: center;
  }

  /* ---- Kontakt-Sektion (invertiert) ---- */
  .contact {
    background:
      radial-gradient(40rem 30rem at 80% -20%, color-mix(in oklab, var(--sage) 55%, transparent), transparent 60%),
      var(--sage-deep);
    border-color: var(--sage-deep);
    color: var(--on-dark);
    text-align: center;
  }
  .contact h2 { color: var(--on-dark); }
  .contact p { color: var(--on-dark-muted); margin-inline: auto; }
  .contact a { color: var(--on-dark); }
  .contact-details {
    margin-block-start: var(--space-m);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 1.05rem;
  }
  .contact .button {
    border-color: var(--on-dark);
    color: var(--on-dark);
  }
  .contact .button:hover {
    background: var(--on-dark);
    color: var(--sage-deep);
  }

  /* ---- Rechtstext-Seiten ---- */
  .legal { max-width: 80ch; }
  .legal h1 { font-size: var(--step-4); }
  .legal h2 { margin-block-end: var(--space-s); }
  .legal p, .legal li { max-width: none; }
  .legal .updated {
    font-size: 0.9rem;
    color: var(--muted);
    margin-block-start: var(--space-l);
  }
  .note {
    background: var(--soft);
    border: 1px dashed var(--sand);
    border-radius: var(--radius);
    padding: var(--space-s) var(--space-m);
    font-size: 0.95rem;
    color: var(--muted);
    margin-block-start: var(--space-m);
  }
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-block-end: var(--space-m);
    text-decoration: none;
    font-weight: 600;
  }
  .back-link:hover { text-decoration: underline; }

  /* ---- Scroll-Reveal (nur wenn JS aktiv & Motion erlaubt) ---- */
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: transform, opacity;
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  @media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; }
  }
}

/* =========================================================================
   UTILITIES
   ========================================================================= */
@layer utilities {
  .visually-hidden:not(:focus):not(:active) {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .center { text-align: center; }
  .stack-lg > * + * { margin-block-start: var(--space-l); }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 820px) {
  /* Mobile-Navigation: barrierefreies Aufklapp-Menü statt display:none */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 1;                 /* visuell ans Ende → Button ganz rechts */
    width: 2.9rem;
    height: 2.9rem;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--sage-deep);
    cursor: pointer;
  }
  .nav-toggle .bars,
  .nav-toggle .bars::before,
  .nav-toggle .bars::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
  }
  .nav-toggle .bars { position: relative; }
  .nav-toggle .bars::before { position: absolute; inset-block-start: -6px; }
  .nav-toggle .bars::after  { position: absolute; inset-block-start: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after  { transform: translateY(-6px) rotate(-45deg); }

  .nav-list {
    position: absolute;
    inset-inline: 0;
    inset-block-start: calc(100% + 1px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem clamp(1rem, 3vw, 1.75rem) 1rem;
    background: var(--paper);
    border-block-end: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    /* geschlossen: unsichtbar & nicht fokussierbar */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out),
                visibility 0.25s var(--ease-out);
  }
  .site-header[data-nav-open="true"] .nav-list {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    padding: 0.85rem 0.35rem;
    font-size: 1.05rem;
    border-block-end: 1px solid var(--line);
  }
  .nav-list li:last-child a { border-block-end: 0; }
  .nav-list a::after { display: none; }

  /* Layout stapelt */
  .split,
  .split--media-first,
  .two-col,
  .info-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  .split-media { max-width: 340px; margin-inline: auto; }
  .hero { min-height: 70svh; }
}
