/* =========================================================
   Physio im Rathaus — Stylesheet
   Therapie • Training — individuelle Therapie, gezieltes
   Training, persönliche Begleitung.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3/SourceSans3-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3/SourceSans3-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3/SourceSans3-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3/SourceSans3-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors */
  --color-primary: #520f16;
  --color-primary-light: #6d1b22;
  --color-secondary: #a81815;
  --color-secondary-dark: #8a1310;

  /* Neutrals */
  --color-cream: #faf6f1;
  --color-cream-soft: #f3ece4;
  --color-sand: #ece1d3;
  --color-white: #fffdfb;
  --color-ink: #2a2320;
  --color-ink-soft: #4a423d;
  --color-line: #ded2c3;
  --color-line-soft: #e9e0d4;

  /* Semantic */
  --color-bg: var(--color-cream);
  --color-surface: var(--color-white);
  --color-text: var(--color-ink);
  --color-text-muted: var(--color-ink-soft);
  --color-focus: #2f6fed;

  /* Typography */
  --font-base: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-root: 18px;
  --fs-sm: 1rem;
  --fs-base: 1.125rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5rem;
  --fs-xl: 1.875rem;
  --fs-2xl: 2.375rem;
  --fs-3xl: 3rem;
  --fs-4xl: 3.75rem;
  --lh-body: 1.65;
  --lh-tight: 1.2;

  /* Spacing scale (base 8px) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 80px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Section top padding — controls the distance from a section's background
     edge to its eyebrow/subheadline. Shared across all sections (including
     --tight ones) so that distance stays pixel-identical everywhere. */
  --section-head-gap: 112px;

  /* Layout */
  --content-max: 1240px;
  --text-max: 68ch;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 84px;

  /* Shape */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Elevation (subtle only) */
  --shadow-sm: 0 1px 3px rgba(42, 35, 32, 0.08);
  --shadow-md: 0 8px 24px rgba(42, 35, 32, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 18, 15, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
}

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

html {
  font-size: var(--fs-root);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

svg {
  display: block;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input, textarea {
  font: inherit;
  color: inherit;
}

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--color-primary);
}

h1, h2 {
  font-weight: 400;
}

h1 strong,
h2 strong {
  font-weight: 700;
}

h1 {
  font-size: var(--fs-4xl);
}

h2 {
  font-size: var(--fs-2xl);
}

h3 {
  font-size: var(--fs-lg);
}

h4 {
  font-size: var(--fs-md);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  vertical-align: top;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--sp-2);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-secondary);
  display: inline-block;
}

.eyebrow--on-dark {
  color: #f0b8b0;
}

.eyebrow--on-dark::before {
  background: #f0b8b0;
}

.eyebrow--center {
  justify-content: center;
}

.lede {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  max-width: var(--text-max);
}

@media (max-width: 640px) {
  html { font-size: 17px; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.7rem; }
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Navbar content runs noticeably wider than the regular content grid,
   so the bar itself still spans the full viewport width. */
.nav-wrap {
  width: min(100% - 64px, 1680px);
  margin-inline: auto;
}

.section {
  padding-top: var(--section-head-gap);
  padding-bottom: 112px;
  position: relative;
}

@media (max-width: 640px) {
  .section {
    --section-head-gap: 72px;
    padding-bottom: 72px;
  }
}

.section--tight {
  /* padding-top intentionally not set here: it inherits var(--section-head-gap)
     from .section above, so the top-to-subheadline distance stays identical
     to every other section. Only the bottom padding is tighter. */
  padding-bottom: var(--sp-7);
}

.section--surface {
  background: var(--color-surface);
}

.section--sand {
  background: var(--color-sand);
}

.section--cream-soft {
  background: var(--color-cream-soft);
}

.section--primary {
  background: var(--color-primary);
  color: var(--color-cream);
}

.section--primary h2,
.section--primary h3 {
  color: var(--color-white);
}

.visually-hidden {
  position: absolute;
  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: var(--sp-2);
  top: -60px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 2000;
  transition: top var(--dur-fast) var(--ease);
}

.skip-link:focus {
  top: var(--sp-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  min-height: 52px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn--primary {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-secondary-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--on-dark {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn--on-dark:hover {
  background: var(--color-cream-soft);
}

.btn--ghost-on-dark {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--color-white);
}

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

.btn--sm {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 1rem;
}

/* =========================================================
   Header / Navigation — full-width bar, transparent over hero
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: 18px;
  transition: padding var(--dur-med) var(--ease);
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0, 0, 0, 0.25));
  transition: filter var(--dur-med) var(--ease);
}

.main-nav__list a {
  color: var(--color-white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: color var(--dur-fast) var(--ease);
}

.header-cta__phone.btn--secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.65);
}

.header-cta__phone.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle__box span {
  background: var(--color-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* Scrolled state: solid, legible bar */
.site-header.is-scrolled {
  background: rgb(250, 246, 241);
  border-bottom-color: var(--color-line-soft);
  box-shadow: 0 4px 20px rgba(42, 35, 32, 0.06);
}

.site-header.is-scrolled .site-header__inner {
  padding-block: 12px;
}

.site-header.is-scrolled .site-header__logo img {
  filter: none;
}

.site-header.is-scrolled .main-nav__list a {
  color: var(--color-ink);
  text-shadow: none;
}

.site-header.is-scrolled .header-cta__phone.btn--secondary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.site-header.is-scrolled .header-cta__phone.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.site-header.is-scrolled .nav-toggle__box span {
  background: var(--color-primary);
  box-shadow: none;
}

/* On non-hero contexts (mobile menu open, no-js fallback) keep header readable */
.main-nav.is-open ~ .header-cta,
.main-nav {
  z-index: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

/* Desktop: let nav links and CTA spread across the wider navbar container
   instead of clustering together against the right edge. */
@media (min-width: 901px) {
  .main-nav {
    flex: 1;
    justify-content: space-between;
  }
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.main-nav__list a {
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 8px 2px;
  position: relative;
}

.main-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}

.main-nav__list a:hover::after,
.main-nav__list a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Between the mobile-menu breakpoint and full desktop width, the nav
   links + phone button + CTA button no longer fit on one line together.
   Collapse the phone button to its icon and shrink the CTA button until
   there is room for everyone again. */
@media (min-width: 901px) and (max-width: 1200px) {
  .header-cta__phone-label {
    display: none;
  }

  .header-cta__phone.btn--sm {
    padding-inline: 14px;
  }

  .header-cta .btn--primary {
    font-size: 0.9rem;
    padding: 12px 18px;
  }

  .main-nav__list {
    gap: var(--sp-3);
  }

  .main-nav__list a {
    font-size: 0.95rem;
  }
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.nav-toggle__box {
  width: 24px;
  height: 18px;
  position: relative;
}

.nav-toggle__box span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-fast) var(--ease), top var(--dur-med) var(--ease), background var(--dur-fast) var(--ease);
}

.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 8px; }
.nav-toggle__box span:nth-child(3) { top: 16px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.main-nav__brand {
  display: none;
}

.main-nav__head {
  display: none;
}

.nav-close {
  display: none;
}

.main-nav__founding-cta {
  display: none;
}

@media (max-width: 900px) {
  .main-nav__list,
  .header-cta__phone {
    display: none;
  }

  .main-nav__founding-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: var(--sp-1);
    padding: 15px 20px;
    background: var(--color-secondary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  }

  .main-nav__founding-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .main-nav__founding-cta:hover,
  .main-nav__founding-cta:focus-visible {
    background: var(--color-secondary-dark);
  }

  .main-nav__founding-cta:active {
    transform: scale(0.98);
  }

  .main-nav__head {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding-top: var(--sp-3);
    margin-bottom: 4px;
    background: var(--color-cream);
  }

  .main-nav__brand {
    display: block;
  }

  .main-nav__brand img {
    height: 52px;
    width: auto;
  }

  .nav-close {
    display: inline-flex;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(168, 24, 21, 0.09);
    color: var(--color-secondary);
    transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  }

  .nav-close:hover,
  .nav-close:focus-visible {
    background: rgba(168, 24, 21, 0.16);
  }

  .nav-close:active {
    transform: scale(0.94);
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Once the drawer is open, its own close button takes over — hide the
     header's hamburger so there's only one, unambiguous close control. */
  .main-nav.is-open ~ .nav-toggle {
    visibility: hidden;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--color-cream);
    flex-direction: column;
    align-items: stretch;
    padding: 0 var(--gutter) var(--sp-6);
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease);
    overflow-y: auto;
    z-index: 800;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav.is-open .main-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav .main-nav__list a {
    display: block;
    padding: 18px 4px;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--color-line-soft);
    color: var(--color-ink) !important;
    text-shadow: none !important;
  }

  .main-nav .header-cta {
    margin-top: var(--sp-1);
    flex-direction: column;
    align-items: stretch;
    display: flex;
  }

  .main-nav .header-cta__phone.btn--secondary {
    display: inline-flex;
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
  }
}

/* =========================================================
   1. HERO — full-bleed emotional entry
   ========================================================= */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-full__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-full__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 32%;
  will-change: transform;
}

.hero-full__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(185deg, rgba(30, 10, 8, 0.05) 0%, rgba(40, 12, 10, 0.5) 72%, rgba(30, 8, 7, 0.8) 100%),
    linear-gradient(102deg, rgba(82, 15, 22, 0.92) 0%, rgba(82, 15, 22, 0.68) 34%, rgba(82, 15, 22, 0.32) 60%, rgba(82, 15, 22, 0.04) 88%);
}

.hero-full__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: calc(var(--header-h) + var(--sp-6)) var(--sp-8);
}

.hero-full__content {
  max-width: 38rem;
}

.hero-full__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-4);
  color: var(--color-white);
}

.hero-full__badge span {
  color: #f0b8b0;
}

.hero-full__title {
  font-size: clamp(2.9rem, 5.4vw, 4.25rem);
  color: var(--color-white);
  margin-bottom: var(--sp-3);
  text-wrap: balance;
}

.hero-full__lede {
  font-size: var(--fs-md);
  color: rgba(255, 253, 251, 0.92);
  max-width: 32rem;
  margin-bottom: var(--sp-5);
}

.hero-full__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.hero-full__scrollcue {
  position: absolute;
  left: 50%;
  bottom: var(--sp-4);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.hero-full__scrollcue svg {
  animation: scrollcue 2.2s var(--ease) infinite;
}

@keyframes scrollcue {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(7px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-full__scrollcue svg { animation: none; }
}

@media (max-width: 900px) {
  .hero-full {
    min-height: 82vh;
  }

  .hero-full__media img {
    object-position: 72% 28%;
  }

  .hero-full__inner {
    padding-block: calc(var(--header-h) + var(--sp-4)) var(--sp-6);
  }

  .hero-full__scrollcue {
    display: none;
  }
}

/* =========================================================
   1.5 WAS MÖCHTEN SIE ERREICHEN — Tab-Orientierung
   ========================================================= */
.goals-tabs {
  position: relative;
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  padding: 8px;
  background: var(--color-cream-soft);
  border-radius: 999px;
  margin-inline: auto;
  margin-bottom: var(--sp-7);
}

.goals-tabs__indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  width: 0;
  border-radius: 999px;
  background: var(--color-secondary);
  transition: transform var(--dur-med) var(--ease), width var(--dur-med) var(--ease);
  z-index: 0;
}

.goals-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease);
}

.goals-tab:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.goals-tab.is-active {
  color: var(--color-white);
}

.goals-tab__num {
  display: inline-block;
  flex-shrink: 0;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: currentColor;
  opacity: 0.45;
  transition: opacity var(--dur-fast) var(--ease), font-weight var(--dur-fast) var(--ease);
}

.goals-tab.is-active .goals-tab__num {
  opacity: 1;
  font-weight: 400;
}

.goals-panels {
  position: relative;
}

.goals-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-8);
  align-items: center;
}

.goals-panel[hidden] {
  display: none;
}

.goals-panel.is-animating {
  animation: goalsPanelIn 450ms var(--ease);
}

@keyframes goalsPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.goals-panel__content .eyebrow {
  margin-bottom: var(--sp-1);
}

.goals-panel__hook {
  font-weight: 400;
  font-size: var(--fs-xl);
  line-height: var(--lh-tight);
  color: var(--color-primary);
  margin-bottom: var(--sp-2);
}

.goals-panel__hook strong {
  font-weight: 700;
}

.goals-panel__content p {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-3);
}

.goals-panel__list {
  display: grid;
  gap: 10px;
  margin-bottom: var(--sp-4);
}

.goals-panel__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--color-text);
}

.goals-panel__list svg {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.goals-panel__audience {
  margin-bottom: var(--sp-4);
}

.goals-panel__audience-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-2);
}

.goals-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.goals-panel__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-secondary-dark);
  background: rgba(168, 24, 21, 0.09);
  border-radius: 999px;
  padding: 8px 14px;
}

.goals-panel__chip svg {
  color: var(--color-secondary);
  opacity: 0.7;
  flex-shrink: 0;
}

.goals-panel__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.goals-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.goals-panel__media:hover img {
  transform: scale(1.035);
}

.goals-note {
  position: relative;
  margin-top: var(--sp-8);
  padding: var(--sp-7) var(--sp-6);
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  background: var(--color-cream-soft);
  border-radius: var(--radius-lg);
}

.goals-note__lead {
  font-weight: 400;
  font-size: var(--fs-xl);
  line-height: var(--lh-tight);
  color: var(--color-primary);
  margin-bottom: var(--sp-4);
}

.goals-note__lead strong {
  font-weight: 700;
}

.goals-note__paths {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--sp-4);
}

.goals-note__path {
  display: inline-flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-secondary);
  border-radius: 999px;
  padding: 12px 24px;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.goals-note__path:hover,
.goals-note__path:focus-visible {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
}

.goals-note__arrow {
  flex-shrink: 0;
  color: var(--color-text-muted);
  opacity: 0.6;
}

.goals-note__text {
  color: var(--color-text-muted);
  font-size: 1rem;
}

@media (max-width: 640px) {
  .goals-note__paths {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .goals-note__path {
    justify-content: center;
    width: 100%;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
  }

  .goals-note__arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .goals-panel.is-animating {
    animation: none;
  }
  .goals-tabs__indicator {
    transition: none;
  }
}

@media (max-width: 960px) {
  .goals-panel {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .goals-panel__media {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 640px) {
  .goals-tabs {
    display: grid;
    width: 100%;
    gap: 8px;
    padding: 0;
    background: none;
    border-radius: 0;
  }

  .goals-tabs__indicator {
    display: none;
  }

  .goals-tab {
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--color-cream-soft);
    color: var(--color-text);
  }

  .goals-tab.is-active {
    background: var(--color-secondary);
    color: var(--color-white);
  }
}

/* =========================================================
   1.6 SO BEGLEITEN WIR SIE — Gesundheitsweg als Editorial-Index
   ========================================================= */
.journey-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-8);
  align-items: start;
}

.journey-index {
  display: grid;
}

.journey-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--color-line);
  align-items: baseline;
  transition: margin-left var(--dur-med) var(--ease);
}

.journey-row:first-child {
  padding-top: 0;
}

.journey-row:last-child {
  border-bottom: none;
}

.journey-row:nth-child(even) {
  margin-left: var(--sp-6);
}

.journey-row__num {
  display: inline-block;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--color-secondary);
  opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease), font-weight var(--dur-fast) var(--ease);
}

.journey-row:hover .journey-row__num,
.journey-row:focus-within .journey-row__num {
  opacity: 1;
  font-weight: 700;
}

.journey-row h3 {
  position: relative;
  display: inline-block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.journey-row h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 28px;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-fast) var(--ease);
}

.journey-row:hover h3::after,
.journey-row:focus-within h3::after {
  transform: scaleX(1);
}

.journey-row p {
  color: var(--color-text-muted);
}

.journey-media {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-3));
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.journey-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.journey-media:hover img {
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .journey-row,
  .journey-row__num,
  .journey-row h3::after,
  .journey-media img {
    transition: none;
  }
}

@media (max-width: 960px) {
  .journey-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .journey-row:nth-child(even) {
    margin-left: 0;
  }

  .journey-media {
    position: static;
    aspect-ratio: 3 / 4;
  }
}

/* =========================================================
   2. VERSTÄNDNIS & ORIENTIERUNG — asymmetric image bleed
   ========================================================= */
.story {
  overflow: hidden;
}

.story__row {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  align-items: start;
}

.story__media {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-sm);
  align-self: center;
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms var(--ease);
}

.story__media:hover img {
  transform: scale(1.035);
}

.story__content {
  padding: 0 var(--gutter) var(--sp-6) var(--sp-7);
  max-width: 34rem;
}

.story__content .lede {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.story__points {
  display: grid;
  gap: var(--sp-3);
}

.story__point {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--color-line-soft);
}

.story__point:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.story__point svg {
  flex-shrink: 0;
  color: var(--color-secondary);
  margin-top: 3px;
}

.story__point strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.story__point p {
  color: var(--color-text-muted);
}

@media (max-width: 960px) {
  .story__row {
    grid-template-columns: 1fr;
  }

  .story__media {
    width: calc(100% - 2 * var(--gutter));
    max-width: none;
    margin-inline: var(--gutter);
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
  }

  .story__content {
    padding: var(--sp-6) var(--gutter);
    max-width: none;
  }
}

/* =========================================================
   3. THERAPIE — wide editorial banner + overlapping caption card
   ========================================================= */
.therapie-banner {
  position: relative;
  margin-bottom: var(--sp-8);
}

.therapie-banner__media {
  aspect-ratio: 1376 / 768;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.therapie-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 700ms var(--ease);
}

.therapie-banner__media:hover img {
  transform: scale(1.035);
}

.therapie-banner__caption {
  position: relative;
  margin: calc(-1 * var(--sp-7)) 0 0;
  max-width: 30rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-5) var(--sp-6);
}

.therapie-banner__caption .lede {
  margin-top: var(--sp-2);
}

@media (max-width: 720px) {
  .therapie-banner__caption {
    margin-top: calc(-1 * var(--sp-4));
    max-width: none;
    padding: var(--sp-4);
  }
}

.therapie-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--sp-6);
}

.therapie-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--color-line-soft);
  align-items: baseline;
}

.therapie-list > .therapie-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.therapie-item__num {
  display: inline-block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--color-secondary);
  opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease), font-weight var(--dur-fast) var(--ease);
}

.therapie-item:hover .therapie-item__num,
.therapie-item:focus-within .therapie-item__num {
  opacity: 1;
  font-weight: 700;
}

.therapie-item h3 {
  font-size: 1.15rem;
  margin-bottom: 3px;
}

.therapie-item p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.therapie-note {
  margin-top: var(--sp-5);
  padding: var(--sp-3) var(--sp-4);
  background: var(--color-cream-soft);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 1.02rem;
  max-width: 46rem;
}

@media (max-width: 900px) {
  .therapie-list {
    grid-template-columns: 1fr;
  }

  .therapie-list > .therapie-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--color-line-soft);
  }

  .therapie-list > .therapie-item:last-child {
    border-bottom: none;
  }
}

/* =========================================================
   4. BRIDGE — big centered statement (quote band)
   ========================================================= */
.bridge {
  text-align: center;
}

.bridge__mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(240, 184, 176, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0b8b0;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
}

.bridge__mark--custom {
  width: 112px;
  height: 112px;
}

.bridge__mark--therapie svg {
  transform: translateY(-3px);
}

.bridge__quote {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--color-white);
  max-width: 46rem;
  margin-inline: auto;
  line-height: 1.35;
}

.bridge__quote span {
  color: #f0b8b0;
}

.bridge__sub {
  margin-top: var(--sp-3);
  color: rgba(250, 246, 241, 0.78);
  max-width: 40rem;
  margin-inline: auto;
}

/* =========================================================
   5.5 GRÜNDUNGSMITGLIED — light CTA/offer card inside the Training section
   ========================================================= */
#gruendungsmitglied {
  scroll-margin-top: calc(var(--header-h) + var(--sp-6));
}

.training-cta {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-7);
  margin-top: var(--sp-8);
  text-align: center;
}

@media (max-width: 640px) {
  .training-cta {
    padding: var(--sp-5) var(--sp-4);
  }
}

.training-cta__title {
  font-weight: 400;
  font-size: var(--fs-2xl);
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-2);
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.training-cta__title strong {
  font-weight: 700;
}

.training-cta__text {
  color: var(--color-text-muted);
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: var(--sp-4);
}

.offer-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  background: var(--color-cream-soft);
  border-radius: var(--radius-lg);
}

.offer-price__amount {
  font-size: clamp(3rem, 6vw, 4.25rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.offer-price__period {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 6px;
  margin-bottom: 10px;
}

.offer-price__compare {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.offer-price__compare s {
  color: var(--color-ink-soft);
  text-decoration-color: var(--color-secondary);
  text-decoration-thickness: 1.5px;
}

.training-cta__benefits {
  display: grid;
  gap: 10px;
  max-width: 28rem;
  margin: 0 auto var(--sp-5);
  text-align: left;
}

.training-cta__benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--color-text);
}

.training-cta__benefits svg {
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.training-cta .btn {
  white-space: normal;
  text-align: center;
}

.training-cta__fineprint {
  margin-top: var(--sp-3);
  max-width: 34rem;
  margin-inline: auto;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* =========================================================
   5. TRAINING — sand background, editorial numbered index
   ========================================================= */
.training-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--sp-6);
}

.training-head__text {
  max-width: 34rem;
  text-align: right;
}

.training-head__text .eyebrow {
  justify-content: flex-end;
}

.training-head__text .eyebrow::before {
  order: 2;
}

.training-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-8);
  align-items: start;
}

.training-index {
  display: grid;
}

.training-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--color-line);
  align-items: baseline;
}

.training-row:first-child {
  padding-top: 0;
}

.training-row:last-child {
  border-bottom: none;
}

.training-row__num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
}

.training-row h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.training-row p {
  color: var(--color-text-muted);
}

.training-row__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 8px;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.98rem;
  margin-top: var(--sp-1);
}

.training-media {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-3));
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.training-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.training-media:hover img {
  transform: scale(1.035);
}

@media (max-width: 960px) {
  .training-head {
    justify-content: flex-start;
  }

  .training-head__text {
    text-align: left;
    max-width: none;
  }

  .training-head__text .eyebrow,
  .training-head__text .eyebrow::before {
    justify-content: flex-start;
    order: initial;
  }

  .training-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .training-media {
    position: static;
    max-width: none;
    aspect-ratio: 3 / 4;
  }
}

/* =========================================================
   6. PERSÖNLICHE BEGLEITUNG — dark panel, overlap + timeline
   ========================================================= */
.companion {
  background: var(--color-primary);
  color: var(--color-cream);
  overflow: visible;
}

.companion__row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-8);
  align-items: start;
}

.companion__quote {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.28;
  margin-bottom: var(--sp-3);
}

.companion__text {
  color: rgba(250, 246, 241, 0.86);
  max-width: 34rem;
  margin-bottom: var(--sp-3);
}

.companion__list {
  display: grid;
  gap: 10px;
  margin-top: var(--sp-2);
}

.companion__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(250, 246, 241, 0.92);
}

.companion__list svg {
  color: #e8a6a3;
  flex-shrink: 0;
  margin-top: 3px;
}

.companion__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.companion__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.companion__media:hover img {
  transform: scale(1.035);
}

.companion__timeline {
  margin-top: var(--sp-9);
  padding-top: var(--sp-7);
  border-top: 1px solid rgba(250, 246, 241, 0.18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  position: relative;
}

.companion__step {
  position: relative;
  padding-left: var(--sp-6);
}

.companion__step-num {
  position: absolute;
  left: 0;
  top: -8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 184, 176, 0.7);
  color: #f0b8b0;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.companion__step h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.companion__step p {
  color: rgba(250, 246, 241, 0.78);
  font-size: 1rem;
}

@media (max-width: 960px) {
  .companion__row {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .companion__media {
    margin-top: 0;
    max-width: none;
    aspect-ratio: 4 / 5;
  }

  .companion__timeline {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
}

/* =========================================================
   7. MENSCHEN & PRAXIS — alternating profiles + gallery
   ========================================================= */
.people-head {
  margin-bottom: var(--sp-7);
  max-width: 40rem;
}

.profile-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-6);
  align-items: center;
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--color-line-soft);
}

.profile-row:first-child {
  padding-top: 0;
}

.profile-row:last-of-type {
  border-bottom: none;
}

.profile-row--reverse {
  grid-template-columns: 1fr auto;
}

.profile-row--reverse .profile-row__avatar {
  order: 2;
}

.profile-row__avatar {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  object-fit: cover;
}

.profile-row--reverse .profile-row__body {
  text-align: right;
}

.profile-row--reverse .profile-row__quals {
  justify-content: flex-end;
}

.profile-row__role {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--sp-2);
}

.profile-row__body p {
  max-width: 42rem;
}

.profile-row--reverse .profile-row__body p {
  margin-left: auto;
}

.profile-row__quals {
  margin-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-row__quals li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-secondary-dark);
  background: rgba(168, 24, 21, 0.09);
  border-radius: 999px;
  padding: 7px 14px;
}

.profile-row__quals svg {
  color: var(--color-secondary);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .profile-row,
  .profile-row--reverse {
    grid-template-columns: 1fr;
    text-align: left;
    gap: var(--sp-3);
  }

  .profile-row--reverse .profile-row__avatar {
    order: 0;
  }

  .profile-row__avatar {
    width: 120px;
    height: 120px;
    font-size: 1.8rem;
  }

  .profile-row--reverse .profile-row__body,
  .profile-row--reverse .profile-row__body p,
  .profile-row--reverse .profile-row__quals,
  .profile-row--reverse .profile-row__quals li {
    text-align: left;
    justify-content: flex-start;
    flex-direction: row;
    margin-left: 0;
  }
}

.gallery-intro {
  max-width: 34rem;
  margin-top: var(--sp-9);
  padding-top: var(--sp-7);
  margin-bottom: var(--sp-6);
  border-top: 1px solid var(--color-line-soft);
}

.gallery-intro h3 {
  font-weight: 400;
  font-size: var(--fs-2xl);
  margin-top: 2px;
  margin-bottom: 6px;
}

.gallery-intro h3 strong {
  font-weight: 700;
}

.gallery-intro p {
  color: var(--color-text-muted);
}

/* ---------- Editorial composition (desktop / tablet) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(44px, 4vw, 64px);
  gap: clamp(14px, 2vw, 28px);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--color-sand);
  box-shadow: var(--shadow-sm);
  display: block;
  padding: 0;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.gallery__item:hover,
.gallery__item:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--ease);
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.035);
}

.gallery__item--lead {
  grid-column: 1 / 8;
  grid-row: 1 / 8;
  border-radius: var(--radius-xl);
}

.gallery__item--a {
  grid-column: 8 / 13;
  grid-row: 1 / 5;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-md) var(--radius-lg);
  position: relative;
  z-index: 2;
  margin-bottom: -18px;
}

.gallery__item--b {
  grid-column: 8 / 13;
  grid-row: 5 / 8;
  border-radius: var(--radius-md) var(--radius-lg) var(--radius-lg) var(--radius-lg);
}

.gallery__item--c {
  grid-column: 1 / 6;
  grid-row: 8 / 12;
  border-radius: var(--radius-lg);
}

.gallery__item--close {
  grid-column: 6 / 13;
  grid-row: 8 / 12;
  border-radius: var(--radius-xl);
}

/* Staggered, slow fade-in as the composition scrolls into view */
.gallery__item.reveal:nth-child(1) { transition-delay: 0ms; }
.gallery__item.reveal:nth-child(2) { transition-delay: 90ms; }
.gallery__item.reveal:nth-child(3) { transition-delay: 170ms; }
.gallery__item.reveal:nth-child(4) { transition-delay: 240ms; }
.gallery__item.reveal:nth-child(5) { transition-delay: 310ms; }

.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(to top, rgba(20, 12, 10, 0.66), transparent 72%);
}

.gallery__item--lead .gallery__caption,
.gallery__item--close .gallery__caption {
  font-size: 1.08rem;
  padding: 22px 24px;
}

.gallery__expand {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), background var(--dur-fast) var(--ease);
}

.gallery__item:hover .gallery__expand,
.gallery__item:focus-visible .gallery__expand {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item:hover .gallery__expand {
  background: rgba(255, 255, 255, 0.3);
}

/* ---------- Mobile: swipeable story strip, not a shrunk grid ---------- */
@media (max-width: 900px) {
  .gallery {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--sp-3);
    padding-bottom: var(--sp-2);
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
  }

  .gallery__item {
    flex: 0 0 auto;
    width: 78vw;
    max-width: 360px;
    scroll-snap-align: start;
    margin-bottom: 0;
    z-index: auto;
  }

  .gallery__item--lead,
  .gallery__item--close,
  .gallery__item--c {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
  }

  .gallery__item--a {
    aspect-ratio: 5 / 4;
    border-radius: var(--radius-lg);
  }

  .gallery__item--b {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
  }

  .gallery__expand {
    opacity: 1;
    transform: none;
    background: rgba(255, 255, 255, 0.22);
  }
}

/* =========================================================
   7.5 BEWERTUNGEN — testimonial slider
   ========================================================= */
#bewertungen {
  scroll-margin-top: calc(var(--header-h) + var(--sp-3));
}

.testimonial-slider {
  margin-top: var(--sp-2);
}

.testimonial-slider__viewport {
  overflow: hidden;
  transition: height 400ms var(--ease);
}

.testimonial-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 500ms var(--ease);
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-inline: var(--sp-4);
}

.testimonial-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: stretch;
  max-width: 68rem;
  margin-inline: auto;
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-7) var(--sp-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-4);
  min-width: 0;
}

.testimonial-card__stars {
  color: var(--color-secondary);
  font-size: 1.4rem;
  letter-spacing: 5px;
  line-height: 1;
}

.testimonial-card__quote {
  width: 100%;
  margin: 0;
}

.testimonial-card__quote p {
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--color-text);
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.testimonial-card__author {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.testimonial-card__author::before {
  content: "— ";
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}

.testimonial-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-line);
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.testimonial-arrow:hover,
.testimonial-arrow:focus-visible {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.testimonial-arrow:active {
  transform: translateY(0);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-line);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.testimonial-dot:hover {
  background: var(--color-secondary-dark);
}

.testimonial-dot.is-active {
  background: var(--color-secondary);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .testimonial-pair {
    grid-template-columns: 1fr;
    max-width: 34rem;
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: var(--sp-6) var(--sp-4);
  }

  .testimonial-nav {
    gap: var(--sp-3);
    margin-top: var(--sp-4);
  }
}

/* =========================================================
   7.6 FAQ — Häufige Fragen (native details/summary)
   ========================================================= */
.faq-list {
  max-width: 46rem;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-line);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-4);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q:hover {
  color: var(--color-secondary);
}

.faq-item__q:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--dur-fast) var(--ease);
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.faq-item__a {
  padding-bottom: var(--sp-4);
  padding-right: var(--sp-7);
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__icon::before,
  .faq-item__icon::after {
    transition: none;
  }
}

@media (max-width: 640px) {
  .faq-item__a {
    padding-right: 0;
  }
}

/* =========================================================
   8. KONTAKT — closing, floating card on soft backdrop
   ========================================================= */
.closing {
  background: var(--color-cream-soft);
}

.closing-head {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: var(--sp-7);
}

.closing-head .eyebrow {
  justify-content: center;
}

.closing-head h2 {
  margin-bottom: var(--sp-3);
}

#contact-form {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + var(--sp-3));
}

.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}

.contact-info__list {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}

.contact-info__item {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
}

.contact-info__item svg {
  flex-shrink: 0;
  color: var(--color-secondary);
  margin-top: 4px;
}

.contact-info__item h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.contact-info__item a,
.contact-info__item p {
  color: var(--color-text-muted);
}

.contact-info__item a {
  font-weight: 600;
  color: var(--color-primary);
}

.contact-info__item a:hover {
  color: var(--color-secondary);
}

.contact-info__actions {
  margin-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.form-field {
  margin-bottom: var(--sp-3);
}

.form-field label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  font-size: 1.0625rem;
  transition: border-color var(--dur-fast) var(--ease);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-field--checkbox input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-secondary);
}

.form-field--checkbox label {
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.form-field--checkbox a,
.form-field--checkbox button {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: underline;
}

.form-error {
  color: var(--color-secondary-dark);
  font-size: 0.92rem;
  margin-top: 6px;
  min-height: 1.2em;
}

.form-status {
  margin-top: var(--sp-2);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-cream-soft);
  color: var(--color-primary);
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: rgba(168, 24, 21, 0.09);
  color: var(--color-secondary-dark);
}

.form-field--hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    padding: var(--sp-5);
  }
}

/* ---------- Standort (closing strip) ---------- */
.locate-strip {
  margin-top: var(--sp-7);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-6);
  align-items: center;
}

.locate-strip__text h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}

.locate-strip__text h3 svg {
  color: var(--color-secondary);
  flex-shrink: 0;
}

.locate-strip__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-3);
}

.map-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-line-soft);
  box-shadow: var(--shadow-md);
}

.map-placeholder {
  position: relative;
  min-height: 300px;
  background-color: var(--color-sand);
  background-image:
    radial-gradient(rgba(82, 15, 22, 0.10) 1.5px, transparent 1.5px),
    radial-gradient(circle at 78% 12%, rgba(168, 24, 21, 0.16), transparent 55%);
  background-size: 22px 22px, 100% 100%;
  background-position: 0 0, 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-6);
  gap: var(--sp-3);
  overflow: hidden;
}

.map-placeholder__pin {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.map-placeholder__pin::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(168, 24, 21, 0.35);
  animation: pin-pulse 2.6s var(--ease) infinite;
}

@keyframes pin-pulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  70%, 100% { transform: scale(1.25); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .map-placeholder__pin::before {
    animation: none;
    display: none;
  }
}

.map-placeholder p {
  max-width: 40ch;
  color: var(--color-text-muted);
}

.map-placeholder .btn {
  white-space: normal;
  text-align: center;
}

@media (max-width: 640px) {
  .map-placeholder {
    padding: var(--sp-5) var(--sp-4);
  }
}

.map-embed {
  min-height: 280px;
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .locate-strip {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--color-primary);
  color: rgba(250, 246, 241, 0.85);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--sp-6);
  padding-block: var(--sp-7);
}

.site-footer__brand img {
  height: clamp(42px, 2.5vw + 22px, 56px);
  width: auto;
  margin-bottom: var(--sp-2);
  filter: brightness(0) invert(1);
}

@media (max-width: 640px) {
  .site-footer__brand img {
    height: 58px;
  }
}

.site-footer__brand p {
  max-width: 34ch;
  color: rgba(250, 246, 241, 0.72);
}

.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: var(--sp-3);
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(250, 246, 241, 0.35);
  color: rgba(250, 246, 241, 0.85);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.site-footer h4 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: var(--sp-2);
}

.site-footer__list {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.site-footer__list a {
  color: rgba(250, 246, 241, 0.82);
  font-size: 1.02rem;
}

.site-footer__list a:hover {
  color: var(--color-white);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-1) var(--sp-4);
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(250, 246, 241, 0.15);
}

.site-footer__legal button {
  text-align: left;
  color: rgba(250, 246, 241, 0.82);
  font-size: 1.02rem;
}

.site-footer__legal button:hover {
  color: var(--color-white);
}

.site-footer__bottom {
  border-top: 1px solid rgba(250, 246, 241, 0.15);
  padding-block: var(--sp-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: 0.92rem;
  color: rgba(250, 246, 241, 0.6);
}

@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
}

/* =========================================================
   Modals (Impressum / Datenschutz)
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transform: translateY(12px);
  transition: transform var(--dur-fast) var(--ease);
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--color-line-soft);
}

.modal__header h2 {
  font-size: var(--fs-lg);
}

.modal__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-primary);
  flex-shrink: 0;
}

.modal__close:hover {
  background: var(--color-cream-soft);
}

.modal__body {
  padding: var(--sp-4);
  overflow-y: auto;
}

.modal__body h3 {
  font-size: 1.15rem;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-1);
}

.modal__body h3:first-child {
  margin-top: 0;
}

.modal__body p,
.modal__body li {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-2);
}

.modal__body ul {
  padding-left: 1.2em;
  list-style: disc;
}

.modal__body a[href^="tel:"],
.modal__body a[href^="mailto:"] {
  color: var(--color-secondary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(138, 19, 16, 0.35);
  text-underline-offset: 2px;
}

.modal__body a[href^="tel:"]:hover,
.modal__body a[href^="mailto:"]:hover,
.modal__body a[href^="tel:"]:focus-visible,
.modal__body a[href^="mailto:"]:focus-visible {
  text-decoration-color: currentColor;
}

.modal__note {
  background: var(--color-cream-soft);
  border-left: 3px solid var(--color-secondary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.98rem;
  color: var(--color-primary);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 8, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  max-width: min(1100px, 92vw);
  transform: scale(0.97) translateY(8px);
  opacity: 0;
  transition: transform 420ms var(--ease), opacity 420ms var(--ease);
}

.lightbox.is-open .lightbox__figure {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox__caption {
  color: rgba(250, 246, 241, 0.88);
  font-size: 1rem;
  text-align: center;
  max-width: 46rem;
}

.lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: var(--sp-3);
  transform: translateX(-50%);
  color: rgba(250, 246, 241, 0.6);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

.lightbox__close {
  top: var(--sp-3);
  right: var(--sp-3);
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: var(--sp-3);
}

.lightbox__nav--next {
  right: var(--sp-3);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Keep navigation subtle: fade in on hover/focus for pointer devices,
   stay softly visible by default on touch devices where hover doesn't apply. */
@media (hover: hover) and (pointer: fine) {
  .lightbox__nav {
    opacity: 0;
  }

  .lightbox:hover .lightbox__nav,
  .lightbox__nav:focus-visible {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .lightbox__nav--prev { left: var(--sp-2); }
  .lightbox__nav--next { right: var(--sp-2); }
}

/* =========================================================
   Floating CTA
   ========================================================= */
.floating-cta {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 970;
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 10px);
  background: var(--color-secondary);
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(0.82rem, 2.6vw, 1rem);
  padding: clamp(10px, 2.4vw, 16px) clamp(16px, 4vw, 26px);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), bottom var(--dur-med) var(--ease);
}

.floating-cta:hover,
.floating-cta:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 28px 64px rgba(30, 18, 15, 0.32);
  background: var(--color-secondary-dark);
}

.floating-cta:active {
  transform: translateY(-1px) scale(1.01);
}

.cta-icon {
  width: clamp(16px, 4vw, 22px);
  height: clamp(16px, 4vw, 22px);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta {
    transition: none;
  }
}

/* On mobile the CTA lives inside the nav drawer instead (.main-nav__founding-cta)
   so it never floats over page content. */
@media (max-width: 900px) {
  .floating-cta {
    display: none;
  }
}

/* =========================================================
   Cookie consent (privacy)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: var(--sp-2);
  right: var(--sp-2);
  bottom: var(--sp-2);
  max-width: 640px;
  margin-inline: auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--sp-4);
  z-index: 950;
  transform: translateY(140%);
  transition: transform var(--dur-med) var(--ease);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner p {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-3);
  font-size: 1rem;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Images: fade in with a gentle rise + settle from a slight zoom */
.reveal.reveal--img {
  transform: translateY(16px) scale(1.045);
}

.reveal.reveal--img.is-visible {
  transform: translateY(0) scale(1);
}

/* Card / list groups: children cascade in one after another */
.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 550ms var(--ease), transform 550ms var(--ease);
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 70ms; }
.stagger > *:nth-child(3) { transition-delay: 140ms; }
.stagger > *:nth-child(4) { transition-delay: 210ms; }
.stagger > *:nth-child(5) { transition-delay: 280ms; }
.stagger > *:nth-child(6) { transition-delay: 350ms; }
.stagger > *:nth-child(7) { transition-delay: 420ms; }
.stagger > *:nth-child(n+8) { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal--img,
  .stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Utility spacing
   ========================================================= */
.stack-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
  justify-content: center;
}

.text-center {
  text-align: center;
  margin-inline: auto;
}
