/* ============================================================
   Consulting for Health and foods LLC — 035-Web-01
   Farbschema A „Ruhige Tiefe" · Newsreader + Karla
   Bewegungs-Vokabular: ruhig klärend, langes Easing, kurzer Weg
   ============================================================ */

/* ---------- Fonts (self-hosted, kein CDN) ---------- */
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('../fonts/karla-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('../fonts/karla-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('../fonts/karla-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Farben — Schema A, Kontraste geprüft */
  --primary:       #1F4A47;   /* 9.86:1 auf Weiss  */
  --primary-deep:  #163935;
  --accent:        #C97B4A;   /* 3.06:1 → nur Grosstext / UI */
  --accent-ink:    #8A5A3A;   /* 5.45:1 → Akzent als Fliesstext-Farbe */
  --bg:            #FAF7F0;
  --bg-alt:        #F2ECE1;
  --dark:          #12302E;
  --dark-soft:     #1A3E3B;
  --text:          #3C3A36;   /* 10.61:1 */
  --text-muted:    #5A6B57;   /*  5.34:1 */
  --on-dark:       #F2EFE7;
  --on-dark-muted: #C3D2CE;
  --line:          rgba(31, 74, 71, .16);
  --line-dark:     rgba(242, 239, 231, .18);

  /* Typografie */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step-eyebrow: clamp(.72rem, .68rem + .16vw, .8rem);
  --step-h1:      clamp(2.3rem, 1.55rem + 3.1vw, 4.1rem);
  --step-h2:      clamp(1.7rem, 1.3rem + 1.7vw, 2.6rem);
  --step-h3:      clamp(1.15rem, 1.06rem + .4vw, 1.35rem);
  --step-lead:    clamp(1.06rem, 1rem + .38vw, 1.28rem);
  --step-body:    clamp(1rem, .97rem + .14vw, 1.07rem);

  /* Layout */
  --container: 1180px;
  --section-padding: clamp(4.5rem, 9vw, 8rem);
  --radius: 14px;

  /* Bewegung — langes Easing, kurzer Weg */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-reveal: 800ms;
  --dur-hover: 400ms;
  --dur-state: 300ms;

  /* Sektionsübergänge — nur bei ähnlichen Farben ein Fade, bei Kontrast harte Kante */
  --fade-h: 0px;                               /* hell ↔ dunkel: KEIN Fade (harte Kante, Marco-Vorgabe) */
  --fade-merge: clamp(96px, 14vh, 220px);      /* ähnliche Farben: gross, verschmelzend */

  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Fokus — sichtbar auf hell und dunkel, ≥3:1 */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}
.section--dark :focus-visible,
.hero :focus-visible,
.footer :focus-visible { outline-color: var(--accent); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--primary); color: var(--on-dark);
  padding: .7rem 1.1rem; border-radius: 0 0 8px 8px;
  font-weight: 700; text-decoration: none;
  transition: top var(--dur-state) var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(250, 247, 240, 0);
  transition: background var(--dur-state) var(--ease),
              box-shadow var(--dur-state) var(--ease);
}
.header.is-scrolled,
.header.is-menu-open {
  background: rgba(250, 247, 240, .96);
  box-shadow: 0 1px 0 var(--line);
}
/* Bei offenem Vollflächen-Menü muss der Header mitziehen, sonst steht die
   Wortmarke hell auf hellem Grund. */
.header.is-menu-open { background: var(--bg); }
.header.is-menu-open .brand,
.header.is-menu-open .nav__link { color: var(--primary); }
.header.is-menu-open .burger__line { background: var(--text); }
.header__inner {
  max-width: var(--container); margin-inline: auto;
  padding: 0 clamp(1.1rem, 4vw, 2rem);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--on-dark);
  transition: color var(--dur-state) var(--ease);
}
.header.is-scrolled .brand { color: var(--primary); }
.brand__text {
  font-family: var(--font-display);
  font-size: .95rem; line-height: 1.15; letter-spacing: .01em;
}
.brand__text strong { font-weight: 600; }

/* Marken-Signet: die atmende Linie als Motiv */
.brand__mark {
  width: 26px; height: 26px; flex: none; position: relative;
}
.brand__mark::before,
.brand__mark::after {
  content: ''; position: absolute; left: 0; right: 0;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.brand__mark::before { top: 8px;  animation: breathe 4s var(--ease) infinite; }
.brand__mark::after  { top: 16px; width: 60%; animation: breathe 4s var(--ease) infinite .5s; }
.brand__mark--static::before,
.brand__mark--static::after { animation: none; }

@keyframes breathe {
  0%, 100% { transform: scaleX(.72); opacity: .68; }
  50%      { transform: scaleX(1);   opacity: 1; }
}
.brand__mark::before, .brand__mark::after { transform-origin: left center; }

/* ---------- Navigation ---------- */
.nav__list {
  list-style: none; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.9rem);
  margin: 0; padding: 0;
}
.nav__link {
  color: var(--on-dark); text-decoration: none;
  font-size: .93rem; font-weight: 500; letter-spacing: .01em;
  padding: .35rem 0; position: relative;
  transition: color var(--dur-state) var(--ease);
}
.header.is-scrolled .nav__link { color: var(--text); }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-hover) var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

.nav__link--cta {
  border: 1.5px solid currentColor; border-radius: 99px;
  padding: .45rem 1.1rem;
  transition: background var(--dur-hover) var(--ease),
              color var(--dur-hover) var(--ease),
              border-color var(--dur-hover) var(--ease);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover, .nav__link--cta:focus-visible {
  background: var(--accent); border-color: var(--accent); color: var(--dark);
}

.burger {
  display: none; width: 44px; height: 44px; flex: none;
  background: none; border: 0; cursor: pointer;
  padding: 10px; position: relative;
}
.burger__line {
  display: block; height: 2px; border-radius: 2px;
  background: var(--on-dark); margin: 5px 0;
  transition: transform var(--dur-state) var(--ease),
              opacity var(--dur-state) var(--ease),
              background var(--dur-state) var(--ease);
}
.header.is-scrolled .burger__line, .nav.is-open ~ * .burger__line { background: var(--text); }
.burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2rem) clamp(1.1rem, 4vw, 2rem) clamp(3rem, 8vh, 5rem);
  overflow: hidden;
  background: var(--dark);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 38%;
}
/* Lesbarkeits-Overlay: links dicht, rechts offen — Bildmotiv bleibt sichtbar */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(18,48,46,.94) 0%, rgba(18,48,46,.82) 38%, rgba(18,48,46,.42) 68%, rgba(18,48,46,.28) 100%);
}
/* Unterkante in die Folgesektion überführen */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--fade-h); z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(18,48,46,.85));
}

.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin-inline: auto; width: 100%;
}
.hero__title {
  font-size: var(--step-h1);
  color: var(--on-dark);
  margin: .3em 0 .45em;
  max-width: 15ch;
}
.hero__lead {
  font-size: var(--step-lead);
  color: var(--on-dark-muted);
  max-width: 52ch;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Atmende Akzentlinie am Hero-Fuss */
.hero__pulse {
  position: absolute; left: clamp(1.1rem, 4vw, 2rem); bottom: clamp(1.6rem, 4vh, 2.6rem);
  width: clamp(56px, 8vw, 96px); height: 2px; border-radius: 2px;
  background: var(--accent); transform-origin: left center;
  animation: breathe 4s var(--ease) infinite;
  z-index: 2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .96rem; font-weight: 700; letter-spacing: .01em;
  padding: .85rem 1.7rem; border-radius: 99px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background var(--dur-hover) var(--ease),
              color var(--dur-hover) var(--ease),
              border-color var(--dur-hover) var(--ease),
              transform var(--dur-hover) var(--ease);
}
.btn--primary { background: var(--accent); color: #23180F; border-color: var(--accent); }
.btn--primary:hover, .btn--primary:focus-visible { background: #DB8C58; border-color: #DB8C58; transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(242,239,231,.5); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--on-dark); background: rgba(242,239,231,.1); }

/* ---------- Sektionen ---------- */
.section {
  position: relative;
  padding-block: var(--section-padding);
  isolation: isolate;
}
.section__inner {
  max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
  position: relative; z-index: 2;
}
.section__inner--narrow { max-width: 760px; }

.section--light { background: var(--bg); color: var(--text); }
.section--alt   { background: var(--bg-alt); color: var(--text); }
.section--dark  { background: var(--dark); color: var(--on-dark-muted); }

/* Fade-Regel: der Übergang liegt immer auf der HELLEREN Sektion.
   Hell ↔ Dunkel → kleiner, definierter Fade (--fade-h). */
.section--fade-top::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0;
  height: var(--fade-h); z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(18,48,46,.85), transparent);
}
.section--light + .section--dark { /* Anker bleibt rein */ }

/* Helle Sektion, die in eine dunkle läuft: Fade an der Unterkante */
#problem::after,
#haltung::after,
#kontakt::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--fade-h); z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(18,48,46,.85));
}

/* Ähnliche Farben (bg → bg-alt): grosser Fade, damit sie zu EINER Fläche verschmelzen */
.section--merge-top::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0;
  height: var(--fade-merge); z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, var(--bg), rgba(242,236,225,0));
}

.eyebrow {
  display: block;
  font-size: var(--step-eyebrow);
  text-transform: uppercase; letter-spacing: .14em; font-weight: 700;
  color: var(--accent-ink);
  margin: 0 0 .9rem;
}
.eyebrow--light { color: var(--accent); }

.section__title { font-size: var(--step-h2); color: var(--primary); max-width: 22ch; }
.section__title--light { color: var(--on-dark); }
.section__lead {
  font-size: var(--step-lead); max-width: 56ch; margin-top: 1rem;
  color: var(--on-dark-muted);
}

.prose { margin-top: 1.5rem; max-width: 65ch; }
.prose p { font-size: var(--step-body); }
.prose strong { color: var(--primary); font-weight: 700; }

/* ---------- Ansatz (Bild-Hintergrund) ---------- */
.section--bgimage { overflow: hidden; }
.section__bg { position: absolute; inset: 0; z-index: -2; }
.section__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: .3;
  /* Ränder weich auslaufen lassen, damit keine harte Bildkante entsteht */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.section--bgimage::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--dark) 0%, rgba(18,48,46,.86) 30%, rgba(18,48,46,.86) 70%, var(--dark) 100%);
}

.steps {
  list-style: none; margin: 3rem 0 0; padding: 0;
  display: grid; gap: clamp(1.6rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step;
}
.step { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); }
.step__num {
  display: block;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  color: var(--accent); margin-bottom: .7rem; letter-spacing: .06em;
}
.step__title { font-size: var(--step-h3); color: var(--on-dark); margin-bottom: .6rem; }
.step__text { color: var(--on-dark-muted); font-size: .98rem; margin: 0; }

/* ---------- Cards ---------- */
.cards {
  display: grid; gap: clamp(1.2rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2.8rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; flex-direction: column;
  transition: transform var(--dur-hover) var(--ease),
              box-shadow var(--dur-hover) var(--ease),
              border-color var(--dur-hover) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px -18px rgba(31, 74, 71, .45);
  border-color: rgba(201, 123, 74, .5);
}
.card__title { font-size: var(--step-h3); color: var(--primary); margin-bottom: .8rem; }
.card__text { color: var(--text); font-size: .98rem; }
.card__list {
  list-style: none; margin: 1.2rem 0 1.6rem; padding: 0;
  display: grid; gap: .55rem;
}
.card__list li {
  position: relative; padding-left: 1.5rem;
  font-size: .94rem; color: var(--text-muted);
}
.card__list li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 12px; height: 2px; border-radius: 2px; background: var(--accent);
}
.card__link {
  margin-top: auto; align-self: flex-start;
  font-weight: 700; font-size: .95rem; color: var(--accent-ink);
  text-decoration: none; border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease);
}
.card__link:hover, .card__link:focus-visible { border-color: var(--accent); color: var(--primary); }

/* ---------- Split (Haltung / Kontakt) ---------- */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}
.split--form { align-items: start; }
.split__media img {
  width: 100%; height: 100%; max-height: 560px;
  object-fit: cover; border-radius: var(--radius);
}

/* ---------- FAQ ---------- */
.faq { margin-top: 2.6rem; border-top: 1px solid var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__q { margin: 0; font-family: var(--font-body); }
.faq__btn {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.25rem 0;
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 600;
  color: var(--on-dark); text-align: left; line-height: 1.35;
  transition: color var(--dur-state) var(--ease);
}
.faq__btn:hover { color: var(--accent); }
.faq__icon { position: relative; width: 15px; height: 15px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 2px; border-radius: 2px; background: var(--accent);
  transform: translateY(-50%);
  transition: transform var(--dur-state) var(--ease), opacity var(--dur-state) var(--ease);
}
.faq__icon::after { transform: translateY(-50%) rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.faq__a { padding: 0 0 1.4rem; max-width: 62ch; }
.faq__a p { color: var(--on-dark-muted); font-size: .98rem; margin: 0; }

/* ---------- Formular ---------- */
.form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-size: .88rem; font-weight: 700;
  color: var(--primary); margin-bottom: .4rem; letter-spacing: .01em;
}
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 9px;
  padding: .75rem .9rem; line-height: 1.5;
  transition: border-color var(--dur-state) var(--ease), background var(--dur-state) var(--ease);
}
.field input:hover, .field textarea:hover { border-color: rgba(31,74,71,.34); }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--primary); outline-offset: 1px;
  border-color: var(--primary); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field--hp { position: absolute; left: -9999px; }

.form__submit { width: 100%; margin-top: .4rem; }
.form__status {
  margin: .9rem 0 0; font-size: .92rem; font-weight: 500; min-height: 1.2em;
}
.form__status.is-ok    { color: #1F6B3F; }
.form__status.is-error { color: #A33A2A; }
.form__note {
  margin: 1rem 0 0; font-size: .82rem; color: var(--text-muted); line-height: 1.55;
}

.email-link { font-weight: 700; }

/* ---------- Footer ---------- */
.footer {
  /* markeneigenes Higgsfield-Kräuter-Motiv unter dunklem Overlay → Text bleibt lesbar */
  background:
    linear-gradient(rgba(18, 48, 46, 0.90), rgba(18, 48, 46, 0.94)),
    url('../img/footer-bg.webp') center / cover no-repeat;
  color: var(--on-dark-muted);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__inner {
  max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
  display: grid; gap: 2.2rem;
  grid-template-columns: 1fr auto;
}
.footer__brand .brand__mark { margin-bottom: .9rem; }
.footer__name { font-family: var(--font-display); font-size: 1.05rem; color: var(--on-dark); margin-bottom: .5rem; }
.footer__addr { font-size: .9rem; line-height: 1.7; margin: 0; }

.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__nav a {
  color: var(--on-dark-muted); text-decoration: none; font-size: .92rem;
  transition: color var(--dur-state) var(--ease);
}
.footer__nav a:hover, .footer__nav a:focus-visible { color: var(--accent); }

.footer__disclaimer {
  grid-column: 1 / -1;
  font-size: .82rem; line-height: 1.65;
  color: rgba(195, 210, 206, .82);
  border-top: 1px solid var(--line-dark);
  padding-top: 1.6rem; margin: 0;
  max-width: 90ch;
}
.footer__disclaimer strong { color: var(--on-dark); }
.footer__copy {
  grid-column: 1 / -1;
  font-size: .82rem; margin: 0; color: rgba(195, 210, 206, .65);
}

/* ---------- Scroll-Reveal „Aufklaren" ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-reveal) var(--ease),
              transform var(--dur-reveal) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }

  .burger { display: block; }

  /* Vollflächiges Overlay: deckend (kein Alpha) und über die ganze Resthöhe,
     damit kein Seiteninhalt durchscheint und der Fokus im Menü bleibt. */
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    z-index: 90;
    background: var(--bg);
    padding: 1.6rem clamp(1.1rem, 4vw, 2rem) 2rem;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur-state) var(--ease),
                transform var(--dur-state) var(--ease),
                visibility var(--dur-state) var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav__link {
    display: block;                 /* sonst endet die Trennlinie an der Textbreite */
    color: var(--text); padding: .9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav__link::after { display: none; }
  .nav__link--cta {
    border: 1.5px solid var(--primary); color: var(--primary);
    text-align: center; margin-top: 1rem; padding: .8rem 1.1rem;
  }

  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split__media img { max-height: 420px; }

  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { min-height: 100svh; }
  .hero__title { max-width: 18ch; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .section__title { max-width: none; }
  .hero__media img { object-position: 58% 42%; }

  /* Auf schmalen Viewports liegt der Text über dem Motiv statt daneben.
     Der seitliche Verlauf trägt hier nicht mehr — vertikal abdunkeln,
     damit der Lead-Text auch über der hellen Bete sicher lesbar bleibt. */
  .hero::before {
    background:
      linear-gradient(180deg, rgba(18,48,46,.92) 0%, rgba(18,48,46,.80) 45%, rgba(18,48,46,.88) 100%);
  }
}

/* ---------- Reduzierte Bewegung (WCAG 2.3.3) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* Inhalte dürfen niemals unsichtbar bleiben */
  .reveal { opacity: 1 !important; transform: none !important; }
  .brand__mark::before, .brand__mark::after,
  .hero__pulse { transform: scaleX(1); opacity: 1; }
  .card:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .burger, .hero__media, .hero__pulse, .form { display: none; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
