/* ==========================================================================
   Praxis Herz & Körper — Bodyart by Miri
   Design System
   ========================================================================== */

/* --- Fonts (selbst gehostet, DSGVO-konform, keine Google-CDN) ------------- */

@font-face {
  font-family: 'Aboreto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Aboreto-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Aboreto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Aboreto-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Jost-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Jost-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Jost-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Jost-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Jost-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Jost-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Jost-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Jost-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */

:root {
  /* Farben */
  --bg: #faf7f3;
  --bg-sand: #f2ebe3;
  --bg-deep: #e4d7c9;
  --taupe: #a99383;
  --taupe-dark: #8a7364;
  --ink: #2a2725;
  --ink-soft: #6b625b;
  --ink-invert: #faf7f3;
  --accent: #d62bc8;
  --accent-dark: #a81c9e;
  --line: rgba(42, 39, 37, 0.13);
  --line-strong: rgba(42, 39, 37, 0.28);

  /* Schrift */
  --font-display: 'Aboreto', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Maße */
  --wrap: 1220px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --section-y: clamp(4.5rem, 11vw, 9.5rem);
  --header-h: 82px;

  /* Bewegung */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Reset --------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* --- Typografie ---------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.16;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  /* Deutsche Komposita ("Lymphdrainage", "Transformationsreise") brauchen
     Trennung, sonst brechen sie mitten im Wort um. */
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* Im Fließtext nur auf schmalen Spalten trennen – auf Desktop erzeugt
   automatische Trennung sonst unschöne Brüche wie "Physiotherapeu-tin". */
@media (max-width: 700px) {
  p,
  li,
  dd {
    hyphens: auto;
    -webkit-hyphens: auto;
  }
}

h1 {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.25rem);
  letter-spacing: 0.1em;
}

h2 {
  font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.85rem);
  letter-spacing: 0.08em;
}

h3 {
  font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.45rem);
  letter-spacing: 0.09em;
}

h4 {
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}

p {
  margin: 0 0 1.15em;
}

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

strong {
  font-weight: 500;
  color: var(--ink);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin: 0 0 1.4rem;
}

.eyebrow--accent {
  color: var(--accent);
}

.lead {
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
}

.muted {
  color: var(--ink-soft);
}

.rule {
  width: 56px;
  height: 1px;
  background: var(--line-strong);
  border: 0;
  margin: 1.75rem 0;
}

.rule--center {
  margin-inline: auto;
}

.rule--light {
  background: rgba(250, 247, 243, 0.35);
}

.text-center {
  text-align: center;
}

.note {
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

.note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.block-after-features {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 46rem;
}

/* --- Layout -------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: clamp(3rem, 7vw, 6rem);
}

/* Erste Sektion auf Seiten ohne Hero – muss unter dem fixen Header beginnen. */
.section--top {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
}

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

.section--deep {
  background: var(--bg-deep);
}

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

.section--ink h2,
.section--ink h3 {
  color: var(--ink-invert);
}

.section--ink .eyebrow {
  color: var(--bg-deep);
}

.section--ink .lead,
.section--ink .muted {
  color: rgba(250, 247, 243, 0.72);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.25rem);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--ink-invert);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  padding: 1.05em 2.3em;
  font-family: var(--font-body);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--ink);
  color: var(--ink-invert);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ink-invert);
}

.btn--light {
  background: var(--ink-invert);
  color: var(--ink);
  border-color: var(--ink-invert);
}

.btn--light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--outline-light {
  border-color: rgba(250, 247, 243, 0.45);
  color: var(--ink-invert);
}

.btn--outline-light:hover {
  background: var(--ink-invert);
  border-color: var(--ink-invert);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.btn-row--center {
  justify-content: center;
}

/* Textlink mit animiertem Unterstrich */
.link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 0.35em;
  position: relative;
}

.link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.45s var(--ease);
}

.link:hover {
  color: var(--accent);
}

.link:hover::after {
  transform-origin: left;
  animation: link-sweep 0.55s var(--ease);
}

@keyframes link-sweep {
  0% {
    transform: scaleX(1);
    transform-origin: right;
  }
  49% {
    transform: scaleX(0);
    transform-origin: right;
  }
  50% {
    transform: scaleX(0);
    transform-origin: left;
  }
  100% {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  /* Muss über .mobile-nav (110) liegen: der Header ist positioniert und bildet
     einen eigenen Stacking-Context, ein z-index am Toggle allein reicht nicht,
     um den Schließen-Button über das Overlay zu heben. */
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    height 0.4s var(--ease);
}

.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 16, 14, 0.42), transparent);
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.site-header.is-solid,
.site-header.is-opaque {
  background: rgba(250, 247, 243, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
  height: 70px;
}

.site-header.is-solid::after,
.site-header.is-opaque::after {
  opacity: 0;
}

.header-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: auto;
  transition: width 0.4s var(--ease);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.94rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  white-space: nowrap;
}

/* Header über dem Hero: helle Schrift */
.site-header:not(.is-solid):not(.is-opaque) .brand-name,
.site-header:not(.is-solid):not(.is-opaque) .nav a,
.site-header:not(.is-solid):not(.is-opaque) .nav-toggle {
  color: #fff;
}

.site-header:not(.is-solid):not(.is-opaque) .brand-sub {
  color: rgba(255, 255, 255, 0.75);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
}

.nav a {
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  padding-block: 0.35rem;
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav a[aria-current='page'] {
  color: var(--accent);
}

.nav .btn {
  padding: 0.85em 1.7em;
  font-size: 0.7rem;
}

.nav .btn::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  margin: 5px auto;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--header-h) var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5%);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    visibility 0.4s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 7vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), padding-left 0.35s var(--ease);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current='page'] {
  color: var(--accent);
  padding-left: 0.5rem;
}

.mobile-nav .mobile-meta {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.mobile-nav .mobile-meta a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: none;
  border: 0;
  padding: 0;
  display: block;
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--taupe);
}

.hero--short {
  min-height: min(62svh, 560px);
  align-items: center;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease) forwards;
}

@keyframes hero-drift {
  to {
    transform: scale(1);
  }
}

/* Zwei Verläufe: oben/unten für Header und Anschluss, links als Lesehilfe
   für den Titel — sonst steht heller Text auf hellem Wasser/Himmel. */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to right,
      rgba(24, 19, 16, 0.62) 0%,
      rgba(24, 19, 16, 0.34) 34%,
      rgba(24, 19, 16, 0) 62%
    ),
    linear-gradient(
      to bottom,
      rgba(24, 19, 16, 0.38) 0%,
      rgba(24, 19, 16, 0.05) 34%,
      rgba(24, 19, 16, 0.5) 100%
    );
}

.hero--short .hero-media::after {
  background: linear-gradient(
    to bottom,
    rgba(24, 19, 16, 0.55) 0%,
    rgba(24, 19, 16, 0.42) 50%,
    rgba(24, 19, 16, 0.5) 100%
  );
}

@media (max-width: 860px) {
  .hero-media::after {
    background: linear-gradient(
      to bottom,
      rgba(24, 19, 16, 0.42) 0%,
      rgba(24, 19, 16, 0.2) 30%,
      rgba(24, 19, 16, 0.68) 100%
    );
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(4rem, 9vw, 7rem);
  color: #fff;
}

.hero--short .hero-inner {
  padding-block: calc(var(--header-h) + 2rem) clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.hero-title {
  color: #fff;
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.hero--short .hero-title {
  max-width: none;
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: clamp(1rem, 0.94rem + 0.4vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3);
}

.hero--short .hero-sub {
  margin-inline: auto;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero .btn-row {
  margin-top: 2.5rem;
}

.hero--short .btn-row {
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 2;
  transform: translateX(-50%);
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.scroll-cue::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

/* --- Announcement Bar ---------------------------------------------------- */

.announce {
  background: var(--ink);
  color: var(--ink-invert);
  text-align: center;
  padding: 1.1rem var(--gutter);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.announce strong {
  color: #fff;
  font-weight: 500;
}

.announce a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease);
}

.announce a:hover {
  color: var(--accent);
}

.announce .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-inline: 0.85rem;
  vertical-align: middle;
}

/* --- Split (Bild + Text) ------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.split--rev .split-media {
  order: 2;
}

.split-body {
  max-width: 34rem;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split-media--tall img {
  aspect-ratio: 3 / 4;
}

.split-media--wide img {
  aspect-ratio: 4 / 3;
}

/* Für sehr hochformatige Aufnahmen (das Studiofoto ist 702×1600) – ein
   4:5-Rahmen würde davon fast die Hälfte wegschneiden. */
.split-media--portrait img {
  aspect-ratio: 2 / 3;
}

/* dünner Rahmen, versetzt */
.split-media--framed::before {
  content: '';
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--line-strong);
  z-index: -1;
}

.split--rev .split-media--framed::before {
  inset: 1.5rem 1.5rem -1.5rem -1.5rem;
}

/* --- Karten -------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 1040px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.card {
  background: var(--bg);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background-color 0.4s var(--ease);
}

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

.card:hover {
  background: #fff;
}

.card-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.card h3 {
  font-size: 1.15rem;
}

.card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.card .link {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 0.5rem;
}

.card--soon {
  position: relative;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.42em 0.9em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
}

.tag--accent {
  border-color: var(--accent);
  color: var(--accent);
}

/* Tag, das über einer Überschrift steht */
.tag--lead {
  margin-bottom: 1.5rem;
}

.text-center .tag {
  align-self: center;
}

/* --- Merkmale (Icon-Liste) ----------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature h4 {
  margin-bottom: 0.6rem;
}

.feature p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.feature-mark {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 1.4rem;
}

/* --- Kennzahlen ---------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section--ink .stat-label {
  color: rgba(250, 247, 243, 0.6);
}

/* --- Kursplan ------------------------------------------------------------ */

.schedule {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.course {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
}

.section--sand .course {
  background: #fff;
}

.course-head {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
}

.course h3 {
  font-size: 1.2rem;
}

.course-note {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.slots {
  list-style: none;
  margin: 0;
  padding: 0;
}

.slots li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.97rem;
}

.slots li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.slot-day {
  font-weight: 500;
  letter-spacing: 0.04em;
}

.slot-time {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --- Preis --------------------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.price-card {
  border: 1px solid var(--line-strong);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  background: var(--bg);
}

.section--sand .price-card {
  background: #fff;
}

.price-card--highlight {
  border-color: var(--ink);
  position: relative;
}

.price-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.1rem);
  line-height: 1;
  margin-block: 1.25rem 0.6rem;
}

.price-unit {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price-card .eyebrow {
  margin-bottom: 0;
}

.price-card p {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* --- Hinweisbox (Krankenkasse, Lizenz) ----------------------------------- */

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border: 1px solid var(--line-strong);
  background: var(--bg);
}

.section--sand .notice {
  background: #fff;
}

.section--ink .notice {
  background: rgba(250, 247, 243, 0.05);
  border-color: rgba(250, 247, 243, 0.28);
}

.notice-seal {
  width: clamp(64px, 9vw, 88px);
  height: clamp(64px, 9vw, 88px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  line-height: 1.35;
  padding: 0.5rem;
}

.notice h3 {
  margin-bottom: 0.9rem;
}

.notice p {
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.section--ink .notice p {
  color: rgba(250, 247, 243, 0.72);
}

.notice .btn-row {
  margin-top: 1.6rem;
}

.notice--after-cards {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.notice-fineprint {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0.85;
}

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

/* --- Zitat --------------------------------------------------------------- */

.quote {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.7vw, 2.1rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: none;
}

.quote figcaption {
  margin-top: 2rem;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--taupe-dark);
}

.section--ink .quote figcaption {
  color: var(--bg-deep);
}

/* --- CTA-Band ------------------------------------------------------------ */

.cta-band {
  position: relative;
  isolation: isolate;
  text-align: center;
  color: #fff;
  padding-block: clamp(5rem, 12vw, 9rem);
  overflow: hidden;
}

.cta-band .cta-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band .cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.cta-band .cta-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24, 19, 16, 0.55);
}

.cta-band h2 {
  color: #fff;
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 40ch;
  margin-inline: auto;
  margin-top: 1.5rem;
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

/* --- Kontakt ------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.contact-list dd {
  margin: 0;
}

.contact-list dt,
.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 0.4rem;
}

.contact-value {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
}

a.contact-value:hover {
  color: var(--accent);
}

.form-title {
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  margin-bottom: 1.75rem;
}

/* Formular */
.form {
  display: grid;
  gap: 1.35rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-dark);
}

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.7rem 0;
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 1.75rem;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.65;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(107, 98, 91, 0.5);
}

.form-note {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form .btn {
  justify-self: start;
}

/* Wird von main.js nach dem Absenden befüllt – bleibt sonst leer und unsichtbar. */
.form-status:empty {
  display: none;
}

.form-status {
  color: var(--accent-dark);
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 243, 0.72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(250, 247, 243, 0.14);
}

.footer-brand img {
  width: 132px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand p {
  max-width: 30ch;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--ink-invert);
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.24em;
  margin-bottom: 1.3rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.footer-col a {
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(250, 247, 243, 0.5);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* --- WhatsApp-Button (fix) ----------------------------------------------- */

.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 30px rgba(42, 39, 37, 0.28);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.fab:hover {
  transform: scale(1.07);
  background: var(--accent);
}

.fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* --- Rechtstexte (Impressum / Datenschutz) ------------------------------- */

.legal {
  max-width: var(--wrap-narrow);
}

.legal h2 {
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem);
  margin-top: 3.25rem;
  margin-bottom: 1.1rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal h3 {
  font-size: 1rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal ul {
  margin: 0 0 1.15em;
  padding-left: 1.2em;
}

.legal li {
  margin-bottom: 0.4em;
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal address {
  font-style: normal;
  line-height: 1.8;
}

/* --- Bildausschnitt ------------------------------------------------------
   Alle Fotos laufen mit object-fit: cover in Rahmen mit fixem Seitenverhältnis.
   Ohne Fokuspunkt schneidet der Browser mittig – und schneidet dabei je nach
   Bild Köpfe oder Füße ab. Diese Klassen legen fest, welcher Teil des Bildes
   auf jeden Fall sichtbar bleibt. Stehen bewusst am Dateiende, damit sie die
   Vorgaben aus .hero-media img und .split-media img überschreiben. */

img.focus-top {
  object-position: center 20%;
}
img.focus-upper {
  object-position: center 34%;
}
img.focus-center {
  object-position: center 50%;
}
img.focus-lower {
  object-position: center 64%;
}
img.focus-bottom {
  object-position: center 80%;
}

/* --- Scroll-Reveal ------------------------------------------------------- */

/* Nur ausblenden, wenn JavaScript läuft — sonst bliebe die halbe Seite
   unsichtbar, falls das Skript nicht lädt. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay='1'] {
  transition-delay: 0.1s;
}
.reveal[data-delay='2'] {
  transition-delay: 0.2s;
}
.reveal[data-delay='3'] {
  transition-delay: 0.3s;
}
.reveal[data-delay='4'] {
  transition-delay: 0.4s;
}

/* --- Responsive ---------------------------------------------------------- */

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

  .split--rev .split-media {
    order: 0;
  }

  .split-media--framed::before {
    display: none;
  }

  .split-body {
    max-width: none;
  }

  .hero {
    min-height: min(88svh, 720px);
  }

  .hero-title {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .brand-sub {
    display: none;
  }

  /* Scroll-Hinweis kollidiert auf schmalen Screens mit den Buttons. */
  .scroll-cue {
    display: none;
  }

  /* .32em Sperrung sprengt bei "Praxis Herz & Körper · Radolfzell" die Zeile. */
  .eyebrow {
    letter-spacing: 0.22em;
  }

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

  .btn {
    padding: 1em 1.7em;
    font-size: 0.74rem;
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }

  .announce {
    font-size: 0.8rem;
  }

  .announce .dot {
    display: none;
  }

  .announce br.mobile-break {
    display: block;
  }
}

/* --- Reduzierte Bewegung ------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    transform: none;
  }
}

/* --- Druck --------------------------------------------------------------- */

@media print {
  .site-header,
  .mobile-nav,
  .fab,
  .scroll-cue,
  .cta-band {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
