/* harmoniaFlow – Stylesheet
   Farben: Beige als Grund, dunkles Warmbraun für Text, Gold nur für Buttons, Linien und Deko.
   Gold ist als Textfarbe zu hell (WCAG) – Links verwenden das dunkle Gold --link. */

@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/nunito-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/nunito-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-latin-600-italic.woff2') format('woff2'); }

:root {
  --sand: #F2E9DC;
  --sand-deep: #EADFCC;
  --paper: #EEE6D7;       /* Papierton des Startbilds */
  --card: #FBF7F0;
  --text: #4A3F2E;
  --heading: #3B2F1E;
  --muted: #5C4E39;
  --gold: #C8A04F;
  --gold-dark: #B8913A;
  --gold-line: #E4D2A6;
  --link: #7D5E1F;
  --link-hover: #5E4515;
  --btn-text: #2F2517;
  --field-border: #957A4B;

  --serif: 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito', 'Segoe UI', system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1280px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
h1, h2, h3 { margin: 0; font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 600; color: var(--heading); line-height: 1.08; }
h1 { font-size: clamp(2.75rem, 1.9rem + 3.4vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); }
h3 { font-size: clamp(1.8rem, 1.6rem + 0.7vw, 2.2rem); line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; }

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  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; left: 12px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: 999px; background: var(--card); color: var(--heading); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--gold); color: var(--btn-text);
  font: 700 1.0625rem/1.2 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--gold-dark); color: var(--btn-text); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-outline {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border: 1.5px solid var(--gold); border-radius: 999px; background: transparent;
  color: var(--heading); font-size: 0.9375rem; font-weight: 700; text-decoration: none;
  transition: background-color .15s ease;
}
.btn-outline:hover { background: var(--gold-line); color: var(--heading); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Marke ---------- */
.brand { display: inline-flex; align-items: center; min-height: 44px; }
/* Logo: Strahlenkranz mit Schriftzug, freigestellt aus Logo.png (358x322) */
.brand-logo { width: 150px; height: auto; }

/* ---------- Kopfbereich ---------- */
.site-header { position: relative; z-index: 10; }
.header-inner {
  position: relative; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  height: 152px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.deko-ecke {
  position: absolute; right: 0; top: 0; width: min(560px, 62vw); height: 180px; pointer-events: none;
  object-fit: cover; object-position: right top;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent), linear-gradient(to top, transparent, #000 40%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, #000 55%, transparent), linear-gradient(to top, transparent, #000 40%);
  mask-composite: intersect;
}

/* Menü – Desktop */
.menu-toggle, .menu-top, .menu-extra, .subnav { display: none; }
.menu-list { list-style: none; padding: 0; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 34px); }
.menu-list > li > a {
  display: inline-block; padding: 12px 0 8px; border-bottom: 2px solid transparent;
  color: var(--heading); font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.menu-list > li > a:hover { border-bottom-color: var(--gold); }
.menu-list > li > a[aria-current] { border-bottom-color: var(--heading); font-weight: 700; }

/* Menü – Mobil */
@media (max-width: 959px) {
  .header-inner { height: 104px; }
  .deko-ecke { height: 130px; }
  .brand-logo { width: 104px; }

  .menu-toggle, .menu-close {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 13px;
    border: 0; border-radius: 999px; background: rgba(251, 247, 240, 0.7); color: var(--heading);
    font: 700 0.9375rem/1 var(--sans); cursor: pointer;
  }
  .menu-toggle svg, .menu-close svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

  /* Ohne JavaScript: Menü einfach unter dem Kopf anzeigen */
  .site-nav { position: static; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .header-inner { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
  html:not(.js) .menu-list { flex-wrap: wrap; gap: 4px 20px; }

  .js .menu { display: none; }
  .js .site-nav.is-open .menu {
    position: fixed; inset: 0; z-index: 100; overflow-y: auto;
    display: flex; flex-direction: column; gap: 8px;
    padding: 16px 12px 16px 20px; background: var(--sand);
  }
  .js .menu-top { display: flex; align-items: center; justify-content: space-between; }
  .js .site-nav.is-open .menu-list { flex-direction: column; align-items: stretch; gap: 0; padding: 14px 12px 0 4px; }
  .js .site-nav.is-open .menu-list > li { border-bottom: 1px solid var(--gold-line); order: 2; }
  .js .site-nav.is-open .menu-list > li.m-home { order: 0; }
  .js .site-nav.is-open .menu-list > li.m-kurse { order: 1; padding-bottom: 8px; }
  .js .site-nav.is-open .menu-list > li > a {
    display: flex; align-items: center; min-height: 56px; padding: 0; border: 0;
    font-family: var(--serif); font-size: 1.875rem; font-weight: 600; line-height: 1;
  }
  .js .site-nav.is-open .menu-list > li > a[aria-current] { color: var(--link); }
  .js .site-nav.is-open .subnav { display: flex; flex-direction: column; list-style: none; padding: 0 0 0 16px; }
  .js .site-nav.is-open .subnav a {
    display: flex; align-items: center; min-height: 44px;
    color: var(--text); font-size: 1rem; font-weight: 600; text-decoration: none;
  }
  .js .site-nav.is-open .subnav a[aria-current] { color: var(--link); text-decoration: underline; }
  .js .site-nav.is-open .menu-extra { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding: 24px 12px 0 4px; }
  .menu-extra-title { font-size: 0.875rem; font-weight: 700; color: var(--heading); }
  .direct-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .menu-legal { display: flex; gap: 20px; }
  .menu-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-size: 0.875rem; font-weight: 600; }
  body.menu-open { overflow: hidden; }
}
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 12px;
  border: 1.5px solid var(--gold); border-radius: 999px; background: var(--card);
  color: var(--heading); font-size: 0.8125rem; font-weight: 700; text-decoration: none;
}
.pill:hover { background: var(--gold-line); color: var(--heading); }
.pill svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Startseite ---------- */
.page-home { background: var(--paper); }
.page-home .site-header--home { position: absolute; top: 0; left: 0; right: 0; }
.page-home .header-inner { justify-content: flex-end; max-width: none; padding: 0 clamp(24px, 4.5vw, 64px); }

.hero {
  --hero-h: max(100vh, 560px);
  position: relative; height: var(--hero-h); overflow: hidden;
}
@supports (height: 100svh) { .hero { --hero-h: max(100svh, 560px); } }
/* Die Bühne hat immer das Seitenverhältnis des Startbilds und füllt den Bildschirm wie "cover".
   So bleibt der Button an einer festen Stelle im Bild – direkt unter dem Leitsatz. */
.hero-stage {
  position: absolute; left: 50%; top: 50%;
  width: max(100vw, calc(var(--hero-h) * 1672 / 941));
  aspect-ratio: 1672 / 941;
  transform: translate(-50%, -50%);
}
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-cta { position: absolute; left: 50%; top: 91.5%; transform: translate(-50%, -50%); white-space: nowrap; }
.hero-deko { display: none; }
.home-legal { position: absolute; right: clamp(16px, 3vw, 40px); bottom: 6px; display: flex; gap: 24px; }
.home-legal a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text); font-size: 0.8125rem; font-weight: 600; }

/* Sehr breite Bildschirme: Bild nicht mehr beschneiden, Ränder weich auslaufen lassen */
@media (min-aspect-ratio: 2/1) and (min-width: 960px) and (orientation: landscape) {
  .hero-stage { width: calc(var(--hero-h) * 1672 / 941); }
  .hero-img picture {
    display: block; height: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  }
  }

/* Mobil / Hochformat: eigener Bildausschnitt mit Logo und Leitsatz */
@media (max-width: 959px), (orientation: portrait) {
  .hero { height: auto; min-height: var(--hero-h); display: flex; flex-direction: column; justify-content: center; padding: 76px 0 64px; }
  .hero-stage {
    position: static; transform: none; width: 100%; aspect-ratio: auto;
    display: flex; flex-direction: column; align-items: center;
  }
  .hero-img { position: relative; inset: auto; width: min(100%, 720px); aspect-ratio: 900 / 658; }
  .hero-img picture {
    display: block; height: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
  }
  .hero-deko { display: block; position: absolute; pointer-events: none; height: auto; }
  .hero-deko--oben {
    right: 0; top: 0; width: min(75vw, 460px);
    -webkit-mask-image: linear-gradient(to left, #000 50%, transparent), linear-gradient(to top, transparent, #000 45%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to left, #000 50%, transparent), linear-gradient(to top, transparent, #000 45%);
    mask-composite: intersect;
  }
  .hero-deko--unten {
    left: 0; bottom: 0; width: min(80vw, 480px);
    -webkit-mask-image: linear-gradient(to right, #000 50%, transparent), linear-gradient(to bottom, transparent, #000 45%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, #000 50%, transparent), linear-gradient(to bottom, transparent, #000 45%);
    mask-composite: intersect;
  }
  .hero-stage, .home-legal { z-index: 1; }
  .hero-cta { position: static; transform: none; margin-top: 20px; }
    .home-legal { right: 16px; bottom: 4px; }
  .page-home .header-inner { height: 76px; padding: 0 12px; }
}

/* ---------- Unterseiten ---------- */
main { display: block; }
.page-sub main { padding-bottom: clamp(72px, 9vw, 112px); }
.page-intro { max-width: 760px; margin: 0 auto; padding-top: clamp(32px, 5vw, 64px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.page-intro p { font-size: 1.1875rem; }
.eyebrow { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lead-italic { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1vw, 1.95rem); line-height: 1.3; color: var(--heading); }

.section { margin-top: clamp(64px, 8vw, 96px); }
.section-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.section-head p { font-size: 1.0625rem; }

.breadcrumb ol { list-style: none; margin: 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.9375rem; }
.breadcrumb a { font-weight: 600; }
.breadcrumb li[aria-hidden] { color: var(--link); }

/* Bilder mit Rahmenform */
.media { position: relative; margin: 0; overflow: hidden; background: var(--sand-deep); }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.arch {
  /* Halbrunder Bogen oben: horizontal halbe Breite, vertikal halbe Breite in % der Höhe (--arch) */
  border-top-left-radius: 50% var(--arch, 42%);
  border-top-right-radius: 50% var(--arch, 42%);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* Hinweis "Von der Krankenkasse gefördert" als halbtransparente Leiste unten im Kursbild */
.kassen-hinweis {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(251, 247, 240, 0.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--heading); font-size: 0.8125rem; font-weight: 700; line-height: 1.3;
}
.kassen-hinweis svg { width: 22px; height: 22px; fill: none; stroke: var(--link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Kurskarten */
.course-grid { display: grid; gap: 32px; }
.course-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 540px), 1fr)); }
.course-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.course-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--card); }
.course-card .media { height: 250px; flex-shrink: 0; }
.course-card-body { flex-grow: 1; display: flex; flex-direction: column; gap: 14px; padding: 30px 30px 30px; }
.course-card-body p { font-size: 1.03rem; line-height: 1.65; }
.course-card-body .btn-outline { margin-top: auto; align-self: flex-start; }
@media (min-width: 700px) {
  .course-card--wide { flex-direction: row; min-height: 340px; }
  .course-card--wide .media { width: 42%; height: auto; }
  .course-card--wide .media img { position: absolute; inset: 0; }
  .course-card--wide .course-card-body { padding: 36px; }
}
.closing-note { margin-top: clamp(64px, 8vw, 96px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.closing-note p { max-width: 760px; font-variant-numeric: lining-nums; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); line-height: 1.3; color: var(--heading); }

/* Kursseite */
.course-hero { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); align-items: center; gap: clamp(40px, 5vw, 72px); }
.course-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.course-hero-text > p { max-width: 620px; }
.course-hero .media { aspect-ratio: 540 / 640; }
.facts { margin: 6px 0 0; display: flex; flex-wrap: wrap; row-gap: 16px; }
.facts div { display: flex; flex-direction: column; gap: 4px; padding: 0 28px; border-left: 1px solid var(--gold-line); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; font-weight: 600; color: var(--heading); }
@media (max-width: 959px) {
  .course-hero { grid-template-columns: 1fr; }
  .course-hero .media { order: -1; width: 100%; max-width: 540px; aspect-ratio: 4 / 3; --arch: 45%; }
}
@media (max-width: 520px) {
  .facts div { padding: 0 16px; }
  .facts dd { font-size: 1.45rem; }
}

.card-grid { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); border-radius: 22px; background: var(--card); }
.card h2 { font-size: clamp(1.9rem, 1.6rem + 0.9vw, 2.4rem); }
.dot-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dot-list li { position: relative; padding-left: 22px; line-height: 1.6; }
.dot-list li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.gold-note { margin-top: 32px; display: flex; align-items: center; gap: 22px; padding: 28px 36px; border: 1.5px solid var(--gold); border-radius: 22px; }
.gold-note svg { width: 30px; height: 30px; fill: none; stroke: var(--link); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gold-note a { font-weight: 700; }

.cta-band { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 56px); border-radius: 22px; background: var(--sand-deep); }
.cta-band-text { display: flex; flex-direction: column; gap: 10px; }
.cta-band .price { font-size: 1.1875rem; font-weight: 600; color: var(--heading); }
.cta-band small { font-size: 1rem; }
.cta-band .btn { flex-shrink: 0; min-height: 56px; padding: 0 34px; font-size: 1.125rem; }
@media (max-width: 759px) { .cta-band { flex-direction: column; align-items: flex-start; } }

.encourage { margin-top: 32px; max-width: 760px; font-size: 1.1875rem; }

.combo { margin-top: clamp(72px, 9vw, 112px); display: flex; align-items: center; gap: clamp(32px, 5vw, 64px); }
.combo .media { flex-shrink: 0; width: 360px; aspect-ratio: 360 / 420; --arch: 43%; }
.combo-text { max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 759px) {
  .combo { flex-direction: column; align-items: flex-start; }
  .combo .media { width: 100%; max-width: 360px; aspect-ratio: 4 / 3; --arch: 45%; }
}
.back-link { margin-top: 48px; }

/* Über mich */
.about { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: start; gap: clamp(40px, 6vw, 88px); }
.about .media { aspect-ratio: 863 / 1300; --arch: 33%; }
.about-text { display: flex; flex-direction: column; gap: 22px; padding-top: 12px; }
.about-text .lead-italic { margin-top: 4px; }
.about-text .btn { align-self: flex-start; margin-top: 12px; }
@media (max-width: 859px) {
  .about { grid-template-columns: 1fr; }
  .about .media { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; --arch: 40%; }
}

/* Infos */
.info-boxes { margin: clamp(48px, 6vw, 72px) auto 0; max-width: 900px; display: flex; flex-direction: column; gap: 32px; }
.gold-box { padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); border: 1.5px solid var(--gold); border-radius: 22px; background: var(--card); display: flex; flex-direction: column; gap: 18px; }
.gold-box h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.8rem, 1.5rem + 0.9vw, 2.3rem); }
.gold-box h2 svg { width: 30px; height: 30px; fill: none; stroke: var(--link); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gold-box .hint { padding-top: 16px; border-top: 1px solid var(--gold-line); font-size: 1.03rem; }
.info-contact { margin: 56px auto 0; max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.info-contact p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); line-height: 1.3; color: var(--heading); }

/* Referenzen – Laufband von rechts nach links, Karten schweben leicht. main.js setzt je Reihe
   --weg (eine Reihenbreite) und --dauer und legt die Kopien an.
   Ohne JS bzw. bei "Bewegung reduzieren" stehen die Karten still und umbrechen (.marquee ohne .is-animated). */
.marquee { margin-top: clamp(40px, 5vw, 64px); }
.marquee-rows { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); }
.marquee-row { overflow: hidden; padding: 14px 0 44px; margin-bottom: -30px; }
.marquee-track { display: flex; }
.marquee-group {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: calc(var(--maxw) + 2 * var(--gutter));
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px;
}
.marquee-group > li { display: flex; }

.quote {
  position: relative; margin: 0; width: min(340px, 82vw); padding: 30px 30px 26px;
  border: 1px solid var(--gold-line); border-radius: 24px; background: rgba(251, 247, 240, 0.72);
  box-shadow: 0 18px 40px -28px rgba(94, 69, 21, 0.35);
  display: flex; flex-direction: column; gap: 14px;
}
.quote--wide { width: min(460px, 86vw); }
.quote--short { width: min(280px, 76vw); }
@media (max-width: 599px) {
  .marquee.is-animated .quote { width: 72vw; }
  .marquee.is-animated .quote--wide { width: 80vw; }
  .marquee.is-animated .quote--short { width: 60vw; }
}
.quote::before { content: '“'; font-family: var(--serif); font-size: 3.4rem; line-height: 0.5; height: 18px; color: var(--gold); }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.3rem; line-height: 1.45; color: var(--heading); }
.quote figcaption { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 700; color: var(--text); }
.quote figcaption::before { content: ''; width: 22px; height: 1.5px; background: var(--gold); }

.marquee-controls { display: flex; justify-content: center; margin-bottom: 4px; }
.marquee-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--gold); border-radius: 999px; background: transparent;
  color: var(--heading); font: 700 0.875rem/1 var(--sans); cursor: pointer;
}
.marquee-toggle[hidden] { display: none; }
.marquee-toggle:hover { background: var(--gold-line); }
.marquee-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.marquee-toggle .icon-play { fill: currentColor; stroke-width: 1.5; }
.marquee-toggle .icon-play, .marquee.is-paused .marquee-toggle .icon-pause { display: none; }
.marquee.is-paused .marquee-toggle .icon-play { display: block; }

/* Laufband aktiv */
.marquee.is-animated .marquee-row {
  --rand: clamp(16px, 7%, 100px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--rand), #000 calc(100% - var(--rand)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--rand), #000 calc(100% - var(--rand)), transparent);
}
.marquee.is-animated .marquee-track { width: max-content; animation: laufband var(--dauer, 70s) linear infinite; }
.marquee.is-animated .marquee-row--2 .marquee-track { animation-delay: calc(var(--dauer, 70s) * -0.4); }
.marquee:not(.is-animated) .marquee-copy { display: none; }
.marquee.is-animated .marquee-group { flex-wrap: nowrap; margin: 0; max-width: none; padding: 0 28px 0 0; }
.marquee.is-animated .quote { animation: schweben 7s ease-in-out infinite alternate; }
.marquee.is-animated li:nth-child(2n) .quote { animation-duration: 9s; animation-delay: -3s; }
.marquee.is-animated li:nth-child(3n) .quote { animation-duration: 8s; animation-delay: -5s; }
.marquee.is-animated .marquee-rows:hover :is(.marquee-track, .quote),
.marquee.is-paused :is(.marquee-track, .quote) { animation-play-state: paused; }

@media print {
  .marquee-copy, .marquee-controls { display: none !important; }
  .marquee .marquee-row { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .marquee .marquee-track, .marquee .quote { animation: none !important; transform: none !important; }
  .marquee .marquee-track { width: auto; }
  .marquee .marquee-group { flex-wrap: wrap; }
  .quote { break-inside: avoid; box-shadow: none; }
}
@keyframes laufband { to { transform: translateX(var(--weg, -50%)); } }
@keyframes schweben { from { transform: translateY(-7px); } to { transform: translateY(7px); } }

/* Kontakt */
.contact { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 4vw, 44px); border-radius: 22px; background: var(--card); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; color: var(--heading); font-size: 1rem; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--field-border); border-radius: 12px;
  background: #fff; color: var(--heading); font: 400 1.0625rem/1.5 var(--sans);
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--heading); outline-offset: 1px; border-color: var(--heading); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.55; }
.check input { flex-shrink: 0; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--link); }
.req { color: var(--link); }
.form-note { font-size: 0.9375rem; color: var(--muted); }
.form .btn { align-self: flex-start; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; padding: 16px 20px; border: 1.5px solid #9B3B2B; border-radius: 12px; background: #FBEDE8; color: #5E2217; font-weight: 600; }
.form-error.is-visible { display: block; }
.contact-aside { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4vw, 40px); border: 1.5px solid var(--gold); border-radius: 22px; }
.contact-aside h2 { font-size: 2rem; }
.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.contact-list a { display: flex; align-items: center; gap: 14px; min-height: 48px; font-weight: 700; overflow-wrap: anywhere; }
.contact-list svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-weight: 600; color: var(--muted); font-size: 0.875rem; }

/* Textseiten (Impressum, Datenschutz) */
.prose { max-width: 780px; margin: clamp(32px, 5vw, 56px) auto 0; }
.prose h1 { margin-bottom: 32px; }
.prose h2 { margin: 44px 0 14px; font-size: clamp(1.7rem, 1.5rem + 0.6vw, 2.1rem); }
.prose h3 { margin: 28px 0 10px; font-family: var(--sans); font-size: 1.125rem; font-weight: 700; line-height: 1.4; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 1.3em; }
.prose address { font-style: normal; margin-bottom: 14px; }

/* Danke, 404 */
.message { min-height: 60vh; max-width: 680px; margin: 0 auto; padding-top: clamp(40px, 8vw, 96px); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.message p { font-size: 1.1875rem; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--sand-deep); }
.footer-inner { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 30px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.footer-brand .brand-logo { width: 116px; }
.footer-brand p { font-size: 0.9375rem; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.footer-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--heading); font-size: 0.9375rem; font-weight: 600; }
.footer-nav svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
