/* ==========================================================================
   Monika Rieger – In Verbindung mit dir selbst
   Design-Tokens, Layout, Komponenten
   ========================================================================== */

:root {
  --bg: #f5f4ee;
  --bg-2: #ecebe2;
  --surface: #ffffff;
  --ink: #1b1f1a;
  --ink-2: #4a5148;
  --ink-3: #6b7268;
  --line: rgba(27, 31, 26, 0.1);

  --green-950: #0b1d12;
  --green-900: #10261a;
  --green-800: #173a26;
  --green-700: #234d2e;
  --green-600: #2f6a3b;
  --lime: #c9e27f;
  --leaf: #e4efc4;

  --accent: var(--green-600);
  --accent-ink: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-ink: #1b1f1a;
  --glass-ink-2: rgba(27, 31, 26, 0.58);
  --glass-active: rgba(35, 77, 46, 0.12);
  --glass-shadow: 0 10px 40px rgba(16, 38, 26, 0.18), 0 2px 6px rgba(16, 38, 26, 0.08);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(88px, 13vw, 168px);
  --tabbar-space: calc(108px + env(safe-area-inset-bottom));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c130e;
    --bg-2: #121b14;
    --surface: #152018;
    --ink: #eef2ea;
    --ink-2: #b9c2b5;
    --ink-3: #8e988b;
    --line: rgba(238, 242, 234, 0.1);
    --accent: var(--lime);
    --accent-ink: #10261a;
    --glass-bg: rgba(22, 32, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-ink: #eef2ea;
    --glass-ink-2: rgba(238, 242, 234, 0.6);
    --glass-active: rgba(201, 226, 127, 0.16);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p, li { text-wrap: pretty; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

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

::selection { background: var(--lime); color: var(--green-900); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 26px;
  border: 0;
  line-height: 1.25;
  text-align: center;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, box-shadow 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--light {
  background: #fff;
  color: var(--green-900);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}
.btn--light:hover { background: var(--leaf); }

.btn--glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.24); }

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--accent:hover { filter: brightness(1.08); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--bg-2); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--green-950);
  isolation: isolate;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 50%;
  transform-origin: 50% 40%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 20, 12, 0.55) 0%, rgba(8, 20, 12, 0) 22%),
    linear-gradient(0deg, rgba(8, 20, 12, 0.92) 0%, rgba(8, 20, 12, 0.6) 34%, rgba(8, 20, 12, 0) 66%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: max(20px, env(safe-area-inset-top));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.brand__mark svg { width: 26px; height: 26px; color: var(--leaf); }
.brand__text small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

.topbar__phone { display: none; }

.hero__content {
  margin-top: auto;
  padding-bottom: calc(var(--tabbar-space) + clamp(12px, 4vh, 48px));
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9.4vw, 7.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 11ch;
  margin-bottom: 22px;
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--leaf);
}

.hero__sub {
  max-width: 34ch;
  margin-bottom: 34px;
  font-size: clamp(1.125rem, 2.2vw, 1.4rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: calc(var(--tabbar-space) + 18px);
  display: none;
  width: 28px; height: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  left: 50%; top: 9px;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: #fff;
  animation: scroll-hint 2.2s var(--ease) infinite;
}
@keyframes scroll-hint {
  0% { opacity: 0; transform: translateY(-4px); }
  30% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(14px); }
}

/* ==========================================================================
   Statement / Slogans
   ========================================================================== */
.statement {
  position: relative;
  text-align: center;
}
.statement__mark {
  width: 46px; height: 46px;
  margin: 0 auto 36px;
  color: var(--accent);
}
.statement__quote {
  max-width: 22ch;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 5vw, 3.9rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.statement__quote .w {
  transition: opacity 0.5s var(--ease), color 0.5s;
}
.js .statement__quote .w { opacity: 0.18; }
.js .statement__quote .w.is-on { opacity: 1; }

.statement__second {
  display: inline-block;
  margin: clamp(40px, 6vw, 64px) auto 0;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(16, 38, 26, 0.06);
}

/* ==========================================================================
   Ansatz
   ========================================================================== */
.ansatz { padding-top: 0; }

.ansatz__grid {
  display: grid;
  gap: 28px;
  grid-template-areas:
    "head"
    "media"
    "body";
}

.ansatz__head { grid-area: head; }
.ansatz__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.ansatz__lead {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

.ansatz__media {
  grid-area: media;
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--green-800);
  box-shadow: 0 30px 80px rgba(16, 38, 26, 0.18);
}
.ansatz__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ansatz__body {
  grid-area: body;
  color: var(--ink-2);
}
.ansatz__body strong { color: var(--ink); font-weight: 600; }
.ansatz__body .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12em;
  color: var(--accent);
}
.ansatz__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Therapien & Behandlungen
   ========================================================================== */
.therapien {
  position: relative;
  background: var(--green-900);
  color: #eef2ea;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.therapien::before,
.therapien::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.therapien::before {
  width: 900px; height: 900px;
  top: -440px; right: -320px;
  background: radial-gradient(closest-side, rgba(201, 226, 127, 0.16), transparent);
}
.therapien::after {
  width: 700px; height: 700px;
  bottom: -380px; left: -280px;
  background: radial-gradient(closest-side, rgba(79, 138, 58, 0.22), transparent);
}
.therapien .eyebrow { color: var(--lime); }

.therapien__head { margin-bottom: clamp(40px, 6vw, 72px); }

.therapy-grid {
  display: grid;
  gap: 16px;
}

.therapy {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.025) 55%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.therapy:hover {
  border-color: rgba(201, 226, 127, 0.28);
  transform: translateY(-4px);
}

.therapy__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.therapy__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 17px;
  background: linear-gradient(145deg, #d8eb98, var(--lime));
  color: var(--green-900);
  box-shadow: 0 8px 24px rgba(201, 226, 127, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.therapy__icon svg { width: 28px; height: 28px; }
.therapy__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.therapy__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.therapy__list li {
  position: relative;
  padding: 15px 0 15px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.therapy__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.45em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 226, 127, 0.12);
}
.therapy__name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.therapy__note {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(238, 242, 234, 0.58);
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.kontakt { background: var(--bg); }

.kontakt__head { margin-bottom: clamp(40px, 6vw, 64px); }

.kontakt__grid {
  display: grid;
  gap: 16px;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 32px);
}

.card__label {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.place {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.place__top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.place__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 15px;
  background: var(--green-700);
  color: var(--leaf);
}
.place__icon svg { width: 24px; height: 24px; }
.place__name {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.place__address { color: var(--ink-2); line-height: 1.5; }

.map {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(79, 138, 58, 0.18), transparent 55%),
    var(--bg-2);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.map__placeholder p { margin: 0; max-width: 34ch; }
.map__placeholder a { color: var(--ink); }
.map.is-loaded .map__placeholder { display: none; }

.place__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.reach { display: grid; gap: 4px; }
.reach__row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 10px 14px 10px 10px;
  margin-inline: -10px;
  border-radius: 18px;
  text-decoration: none;
  transition: background-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.reach__row:hover { background: var(--bg-2); }
.reach__row:active { background: var(--bg-2); }
.reach__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}
.reach__icon svg { width: 22px; height: 22px; }
.reach__value {
  min-width: 0;
  font-size: clamp(1.05rem, 2.6vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}
.reach__chev {
  margin-left: auto;
  flex: none;
  width: 18px; height: 18px;
  color: var(--ink-3);
}

.tarif p { margin: 0; color: var(--ink-2); }
.tarif strong { color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 56px 0 calc(var(--tabbar-space) + 24px);
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-3);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.footer .brand { color: var(--ink); }
.footer .brand__mark {
  background: var(--green-700);
  border: 0;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__links li {
  display: flex;
  align-items: center;
  min-height: 40px;
}
.footer__links a,
.footer__links button {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-2);
  text-decoration: none;
  cursor: pointer;
}
.footer__links a:hover,
.footer__links button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__copy {
  width: 100%;
  margin: 8px 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink-3);
}
.footer__copy a { color: var(--ink-2); text-underline-offset: 3px; }
.footer__x { margin: 0 0.25em; }

/* ==========================================================================
   Tab-Bar (Navigation unten, Liquid-Glass)
   ========================================================================== */
.tabbar {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100vw - 24px);
  transform: translateX(-50%);
  --tb-h: 60px;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}

.tabbar.is-dark {
  --glass-bg: rgba(16, 30, 21, 0.55);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-ink: #f2f6ee;
  --glass-ink-2: rgba(242, 246, 238, 0.66);
  --glass-active: rgba(255, 255, 255, 0.14);
}

.tabbar__pill {
  position: relative;
  display: flex;
  min-width: 0;
  height: var(--tb-h);
  padding: 5px;
  gap: 2px;
  border-radius: 999px;
  color: var(--glass-ink);
}

.tab {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: calc(var(--tb-h) - 10px);
  height: 100%;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--glass-ink-2);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.45s var(--ease), color 0.3s, padding 0.5s var(--ease), gap 0.5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.tab svg { width: 24px; height: 24px; flex: none; transition: transform 0.4s var(--ease); }
.tab:hover { color: var(--glass-ink); }
.tab:active svg { transform: scale(0.88); }

.tab__label {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.5s var(--ease), opacity 0.3s;
}

.tab[aria-current="true"] {
  gap: 8px;
  padding: 0 18px 0 15px;
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(35, 77, 46, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.tab[aria-current="true"] .tab__label { max-width: 7.5em; opacity: 1; }

.tabbar.is-dark .tab[aria-current="true"] {
  background: var(--leaf);
  color: var(--green-900);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@media (prefers-color-scheme: dark) {
  .tab[aria-current="true"] {
    background: var(--leaf);
    color: var(--green-900);
  }
}

.tabbar__call {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--tb-h);
  min-width: var(--tb-h);
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(160deg, #3f8a4c 0%, var(--green-600) 55%, var(--green-700) 100%);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(35, 77, 46, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.35s var(--ease), filter 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.tabbar__call::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1.5px solid rgba(201, 226, 127, 0.55);
  opacity: 0;
  pointer-events: none;
}
.tabbar__call:hover { filter: brightness(1.1); }
.tabbar__call:active { transform: scale(0.94); }
.tabbar__call svg { width: 24px; height: 24px; }
.tabbar__call span { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .tabbar__call::after { animation: call-ring 3.6s var(--ease) 2s infinite; }
}
@keyframes call-ring {
  0% { opacity: 0.9; transform: scale(1); }
  45%, 100% { opacity: 0; transform: scale(1.35); }
}

@media (max-width: 359px) {
  .tabbar { --tb-h: 56px; gap: 8px; }
  .tab { padding: 0 10px; }
  .tab[aria-current="true"] { gap: 0; padding: 0 14px; }
  .tab[aria-current="true"] .tab__label { max-width: 0; opacity: 0; }
}

/* ==========================================================================
   Consent-Banner
   ========================================================================== */
.consent {
  position: fixed;
  z-index: 60;
  left: 12px; right: 12px;
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + 76px);
  max-width: 440px;
  margin-inline: auto;
  padding: 22px;
  border-radius: 28px;
  color: var(--glass-ink);
  --glass-bg: color-mix(in srgb, var(--surface) 88%, transparent);
  animation: sheet-in 0.6s var(--ease) both;
}
.consent[hidden] { display: none; }
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
}
.consent__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.consent__text {
  margin: 0 0 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.consent__text a { color: var(--ink); }

.consent__prefs {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.consent__prefs[hidden] { display: none; }
.pref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg-2);
  font-size: 0.875rem;
  line-height: 1.4;
}
.pref strong { display: block; font-size: 0.9375rem; }
.pref span { color: var(--ink-3); }

.switch {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 51px; height: 31px;
  margin: 0;
  border-radius: 999px;
  background: rgba(120, 120, 128, 0.32);
  cursor: pointer;
  transition: background-color 0.25s;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 27px; height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16);
  transition: transform 0.3s var(--ease);
}
.switch:checked { background: #34c759; }
.switch:checked::after { transform: translateX(20px); }
.switch:disabled { opacity: 0.55; cursor: not-allowed; }

.consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.consent__actions .btn { min-height: 46px; padding: 0 14px; font-size: 0.9375rem; }
.consent__more {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 4px;
  padding: 6px 10px;
  border: 0;
  background: none;
  font-size: 0.875rem;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutz, 404)
   ========================================================================== */
.legal-header {
  padding: max(20px, env(safe-area-inset-top)) 0 0;
}
.legal-header .brand { color: var(--ink); }
.legal-header .brand__mark { background: var(--green-700); border: 0; }

.legal {
  padding-block: clamp(48px, 8vw, 96px) var(--section-y);
}
.legal__inner { max-width: 760px; }
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.legal__intro {
  font-size: 1.1875rem;
  color: var(--ink-2);
  margin-bottom: 48px;
}
.legal h2 {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
}
.legal h3 {
  font-size: 1.0625rem;
  margin: 28px 0 8px;
}
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal a.btn { text-decoration: none; }
.legal a.btn--accent { color: var(--accent-ink); }

.legal-card {
  margin: 0 0 16px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.legal-card p:last-child { margin-bottom: 0; }

.dl {
  display: grid;
  grid-template-columns: minmax(120px, max-content) 1fr;
  gap: 8px 24px;
  margin: 0;
}
.dl dt { color: var(--ink-3); }
.dl dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 479px) {
  .dl { grid-template-columns: 1fr; gap: 2px; }
  .dl dd { margin-bottom: 12px; }
  .dl dd:last-child { margin-bottom: 0; }
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.back-link svg { width: 18px; height: 18px; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (max-width: 639px) {
  .reach__chev { display: none; }
}

@media (min-width: 640px) {
  .kontakt__grid { grid-template-columns: 1fr 1fr; }
  .kontakt__grid .card--wide { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .topbar__phone { display: inline-flex; }
  .hero__scroll { display: block; }

  .tabbar { --tb-h: 58px; }
  .tab { gap: 8px; padding: 0 18px 0 15px; }
  .tab svg { width: 20px; height: 20px; }
  .tab__label { max-width: 7.5em; opacity: 1; }
  .tabbar__call { padding: 0 22px 0 18px; }
  .tabbar__call svg { width: 20px; height: 20px; }
  .tabbar__call span { display: inline; }

  .consent {
    left: 24px; right: auto;
    bottom: 24px;
    margin: 0;
    width: 420px;
  }
}

@media (min-width: 960px) {
  .ansatz__grid {
    grid-template-columns: 5fr 7fr;
    column-gap: clamp(48px, 7vw, 112px);
    row-gap: 40px;
    grid-template-areas:
      "media head"
      "media body";
    align-items: start;
  }
  .ansatz__media {
    position: sticky;
    top: 32px;
    aspect-ratio: 4 / 5;
  }
  .kontakt__grid { grid-template-columns: repeat(12, 1fr); }
  .kontakt__grid .place { grid-column: span 6; }
  .kontakt__grid .reach-card { grid-column: span 7; }
  .kontakt__grid .tarif { grid-column: span 5; }
}

@media (min-width: 720px) {
  .therapy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .therapy-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Bewegung – Scroll-getriebene Effekte (progressiv)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hero__media img {
      animation: hero-zoom linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
    .hero__content {
      animation: hero-fade linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 70%;
    }
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}
@keyframes hero-zoom { to { transform: scale(1.12) translateY(6%); } }
@keyframes hero-fade { to { opacity: 0; transform: translateY(-40px); } }
@keyframes reveal {
  from { opacity: 0; transform: translateY(36px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@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 .statement__quote .w { opacity: 1; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { --glass-bg: var(--surface); }
  .tabbar.is-dark { --glass-bg: var(--green-900); }
}

@media print {
  .tabbar, .consent, .hero__scroll, .skip-link { display: none !important; }
  .hero { min-height: auto; color: #000; background: none; }
  .hero::after, .hero__media { display: none; }
}
