/* =========================================================
   Osteopathie Anna Bergen – Stylesheet
   Farben aus der Visitenkarte: Türkis (Oval) + Himmelblau (Band)
   ========================================================= */

/* ---------- Schriften (lokal, DSGVO-freundlich) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --teal-50: #EEF8F6;
  --teal-100: #D5EFE9;
  --teal-300: #8AD2C3;
  --teal-500: #45AE9B;   /* Oval der Karte */
  --teal-600: #2F9584;
  --teal-700: #22796B;
  --teal-800: #18594F;
  --blue-50: #EEF5FC;
  --blue-100: #D6E7F8;
  --blue-400: #5FA6E3;
  --blue-500: #3A8FD8;   /* Band der Karte */
  --blue-700: #1F5F9E;

  --ink: #12303A;
  --ink-2: #415C66;
  --ink-3: #6B828A;
  --bg: #FFFFFF;
  --bg-soft: #F5FAF9;
  --line: #DFEBE8;

  --grad: linear-gradient(110deg, var(--teal-500), var(--blue-500));
  --grad-text: linear-gradient(100deg, var(--teal-600) 10%, var(--blue-500) 90%);
  --grad-btn: linear-gradient(115deg, var(--teal-700), var(--blue-700));
  --grad-deep: linear-gradient(140deg, #1E7366 0%, #22708F 55%, #1F5F9E 100%);

  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(18, 48, 58, .05), 0 6px 18px -6px rgba(18, 48, 58, .08);
  --shadow-md: 0 24px 60px -24px rgba(18, 48, 58, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 78px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 420; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
em { font-style: italic; }
::selection { background: var(--teal-100); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 8px; }

.nb { white-space: nowrap; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 300; background: #fff; padding: .7em 1.1em; border-radius: 12px; box-shadow: var(--shadow-md); }
.skip-link:focus { left: 16px; }

.section { position: relative; padding-block: clamp(84px, 11vw, 140px); overflow-x: clip; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--teal-50), var(--blue-50)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  margin: 0 0 1.2rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: rgba(255, 255, 255, .7); }

.h2 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); margin-bottom: 1.2rem; }
.h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.24rem); line-height: 1.6; color: var(--ink-2); }
.accent, .h2 em, .hero__title em {
  font-style: italic;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding: 0 1.55em;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .3s, color .3s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--lg { --h: 58px; padding: 0 1.8em; font-size: 1.04rem; }
.btn--primary { color: #fff; background: var(--grad-btn); box-shadow: 0 12px 30px -12px rgba(34, 121, 107, .7); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, var(--blue-700), var(--teal-700));
  opacity: 0; transition: opacity .45s var(--ease);
}
.btn--primary::after { /* Lichtreflex */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg); transition: left .8s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(31, 95, 158, .7); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover::after { left: 120%; }
.btn--ghost { color: var(--ink); background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(6px); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--teal-500); }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; background: var(--grad-btn);
}
.icon-btn svg { width: 20px; height: 20px; }

.text-link {
  display: inline-flex; align-items: center; gap: .5em; margin-top: .4rem;
  font-weight: 700; color: var(--teal-700); text-decoration: none;
}
.text-link svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.text-link:hover svg { transform: translateX(5px); }

/* ---------- Kopfzeile ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: transform .55s var(--ease), background-color .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-105%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { --h: 46px; padding: 0 1.3em; font-size: .93rem; }
.header__call { display: none; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo__mark { width: 54px; height: auto; flex: none; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.05); }
.logo__name { display: block; font-family: var(--serif); font-size: 1.16rem; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.logo__claim { display: block; margin-top: 3px; font-size: .66rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--teal-700); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.nav__link { position: relative; padding: 6px 0; font-size: .94rem; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: color .3s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none; position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line);
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 20px) var(--gutter) 28px;
  background: linear-gradient(165deg, #fff 0%, var(--teal-50) 55%, var(--blue-50) 100%);
  overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 39px);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 39px); visibility: visible; transition: clip-path .8s var(--ease); }
.menu nav { display: flex; flex-direction: column; }
.menu__link, .menu__foot {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menu__link { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.2rem); text-decoration: none; }
.menu__foot { display: grid; gap: 10px; }
.menu.is-open .menu__link, .menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .05s); }
.menu-open .header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Einblend-Animationen ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translate3d(40px, 0, 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Linien-Icons, die sich zeichnen */
.js .draw path { stroke-dasharray: 1 1.1; stroke-dashoffset: 1.05; transition: stroke-dashoffset 1.8s var(--ease) .25s; }
.js .is-in .draw path, .js .is-in.draw path { stroke-dashoffset: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 clamp(150px, 15vw, 200px);
  background: linear-gradient(180deg, #fff 0%, var(--teal-50) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; animation: drift 24s ease-in-out infinite alternate; }
.blob--1 { width: 560px; height: 560px; top: -200px; right: -160px; background: var(--teal-300); }
.blob--2 { width: 460px; height: 460px; bottom: -160px; left: -180px; background: var(--blue-100); animation-duration: 28s; animation-delay: -6s; }
.blob--3 { width: 320px; height: 320px; top: 34%; left: 42%; background: #CDE6F6; opacity: .6; animation-duration: 32s; animation-delay: -12s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(50px, -40px, 0) scale(1.1); }
  100% { transform: translate3d(-40px, 40px, 0) scale(.94); }
}
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__lines g { animation: sway 14s ease-in-out infinite alternate; }
.hero__lines path { fill: none; stroke: var(--teal-500); stroke-width: 1.2; opacity: .28; vector-effect: non-scaling-stroke; }
.js .hero__lines path { stroke-dasharray: 1 1.1; stroke-dashoffset: 1.05; }
.js.is-loaded .hero__lines path { animation: drawLine 3.2s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .18s); }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes sway { from { transform: translateY(-18px); } to { transform: translateY(18px); } }

.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(40px, 6vw, 90px); }
.hero__title { font-size: clamp(3rem, 7.4vw, 6rem); font-weight: 380; line-height: 1.02; letter-spacing: -.03em; margin: 0 0 1.6rem; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .12em; margin: -.04em -.02em -.12em; }
.hero__title .w--em { padding-right: .12em; }
.js .hero__title .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(.15s + var(--i) * .1s); }
.js.is-loaded .hero__title .w > span { transform: none; }
.hero__lead { max-width: 34em; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__call { display: flex; align-items: center; gap: .55em; margin: 1.6rem 0 0; color: var(--ink-2); font-size: .97rem; }
.hero__call svg { width: 18px; height: 18px; color: var(--teal-700); }
.hero__call a { font-weight: 700; color: var(--ink); text-decoration: none; background: linear-gradient(var(--teal-300), var(--teal-300)) 0 100% / 100% 2px no-repeat; transition: background-size .4s var(--ease); }
.hero__call a:hover { background-size: 100% 100%; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 460px); }
.hero__parallax { position: relative; transition: transform 1s var(--ease); transform: translate3d(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 14px), 0); }
.orbit { position: absolute; inset: -5% -6%; width: 112%; height: 110%; overflow: visible; pointer-events: none; }
.orbit ellipse { fill: none; stroke: var(--teal-300); stroke-width: 1.2; stroke-dasharray: 3 7; opacity: .9; }
.orbit__dot { fill: var(--blue-500); filter: drop-shadow(0 0 6px rgba(58, 143, 216, .7)); }

.portrait {
  position: relative; z-index: 1; margin: 0;
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 50% 50% 47% 53% / 46% 48% 52% 54%;
  background: linear-gradient(155deg, var(--teal-300), var(--teal-500) 45%, var(--blue-500));
  box-shadow: 0 40px 80px -30px rgba(31, 95, 158, .45);
  animation: morph 16s ease-in-out infinite;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph {
  0%, 100% { border-radius: 50% 50% 47% 53% / 46% 48% 52% 54%; }
  33%      { border-radius: 55% 45% 52% 48% / 50% 44% 56% 50%; }
  66%      { border-radius: 46% 54% 50% 50% / 44% 52% 48% 56%; }
}
.portrait__ph { position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: 14px; color: #fff; text-align: center; }
.portrait.no-photo .portrait__ph { display: grid; }
.portrait__ph svg { width: 150px; color: rgba(255, 255, 255, .9); }
.portrait__ph-name { font-family: var(--serif); font-size: 2rem; }
.portrait__ph-hint { font-size: .78rem; letter-spacing: .06em; opacity: .8; }

.chip { position: absolute; z-index: 2; }
.chip__in {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -16px rgba(18, 48, 58, .35);
  font-size: .86rem; font-weight: 700; line-height: 1.25;
  animation: float 7s ease-in-out infinite;
}
.chip--a { left: -10%; bottom: 14%; }
.chip--b { right: -8%; top: 10%; }
.chip--b .chip__in { animation-delay: -3.5s; }
.chip__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: var(--grad-btn); }
.chip__icon--blue { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }
.chip__icon svg { width: 18px; height: 18px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Zahlen ---------- */
.facts { position: relative; z-index: 3; margin-top: clamp(-120px, -10vw, -80px); }
.facts__card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: clamp(22px, 3vw, 38px) clamp(10px, 1.5vw, 20px);
  border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md);
}
.fact { padding: 6px clamp(14px, 2vw, 30px); border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact__num { display: flex; align-items: baseline; gap: .25em; min-height: 3.1rem; font-family: var(--serif); font-size: clamp(2.3rem, 3.8vw, 3.1rem); line-height: 1; color: var(--teal-700); font-variant-numeric: tabular-nums; }
.fact__num small { font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.fact__num--icon { align-items: center; }
.fact__badge { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-btn); }
.fact__badge svg { width: 22px; height: 22px; }
.fact__label { margin-top: 12px; font-weight: 800; font-size: .98rem; }
.fact__sub { font-size: .86rem; color: var(--ink-3); }

/* ---------- Osteopathie ---------- */
.statement { max-width: 17em; margin-bottom: clamp(48px, 7vw, 88px); font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 400; }
.statement em { font-style: italic; }
.js .statement .word { color: #C5D6D2; transition: color .5s var(--ease); }
.js .statement .word.on { color: var(--ink); }
.js .statement em .word.on { color: var(--teal-700); }

.osteo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.osteo__text p:not(.lead) { color: var(--ink-2); }
.principles { display: grid; gap: 16px; }
.principle {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), background-color .55s, opacity 1s var(--ease);
}
.principle::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 174, 155, .22), transparent 70%);
  transform: scale(.4); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.principle:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow-md); }
.principle:hover::after { transform: scale(1); opacity: 1; }
.principle__num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.principle h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.principle p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ---------- Leistungen ---------- */
.pillars { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.venn { width: 100%; max-width: 500px; margin-inline: auto; }
.venn svg { width: 100%; height: auto; overflow: visible; }
.venn__breath { transform-box: fill-box; transform-origin: center; animation: breathe 7.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.venn__c {
  mix-blend-mode: multiply; opacity: .3; cursor: pointer;
  transform-box: fill-box; transform-origin: center;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.venn__c--a { fill: var(--teal-500); }
.venn__c--b { fill: var(--blue-500); }
.venn__c--c { fill: #7CC6A6; }
.venn__c:hover { opacity: .5; }
.venn__c.is-active { opacity: .78; transform: scale(1.04); }
.venn__labels { pointer-events: none; }
.venn__t { font-family: var(--serif); font-size: 21px; text-anchor: middle; fill: var(--ink); }
.venn__s { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-anchor: middle; fill: var(--ink-2); }
.venn__pill { fill: #fff; filter: drop-shadow(0 6px 14px rgba(18, 48, 58, .2)); }
.venn__center { font-family: var(--sans); font-size: 12.5px; font-weight: 800; text-anchor: middle; fill: var(--teal-800); }

.pillar-list { display: grid; gap: 14px; }
.pillar { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), border-color .5s, opacity 1s var(--ease), transform 1s var(--ease); }
.pillar.is-open { border-color: transparent; box-shadow: var(--shadow-md), inset 0 0 0 2px var(--teal-500); }
.pillar__btn { width: 100%; display: flex; align-items: center; gap: 18px; padding: 18px 20px; text-align: left; background: none; border: 0; border-radius: var(--radius); }
.pillar__head { flex: 1; min-width: 0; }
.pillar__title { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.pillar__sub { display: block; font-size: .88rem; color: var(--ink-3); }
.pillar__chev { width: 22px; height: 22px; flex: none; color: var(--ink-3); transition: transform .5s var(--ease); }
.pillar.is-open .pillar__chev { transform: rotate(180deg); color: var(--teal-700); }
.pillar__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.pillar__body > div { overflow: hidden; padding: 0 22px 0 92px; }
.pillar.is-open .pillar__body { grid-template-rows: 1fr; }
.pillar__body p { margin: 0 0 14px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 0 22px; list-style: none; }
.tags li { padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--teal-800); background: var(--teal-50); }

.icon {
  width: 66px; height: 66px; border-radius: 20px; flex: none;
  display: grid; place-items: center; margin-bottom: 24px;
  color: var(--teal-700); background: linear-gradient(140deg, var(--teal-50), var(--blue-50));
  transition: transform .6s var(--ease), background .6s;
}
.icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 54px; height: 54px; border-radius: 16px; margin: 0; }
.icon--sm svg { width: 34px; height: 34px; }
.pillar.is-open .icon { color: #fff; background: var(--grad-btn); }

.extras-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin: clamp(72px, 9vw, 116px) 0 28px; }
.extras-head p { margin: 0; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.card {
  position: relative; overflow: hidden;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s, opacity 1s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }
.card:hover .icon { transform: rotate(-6deg) scale(1.06); }
.card h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ---------- Ablauf ---------- */
.process { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.steps { position: relative; margin: 0; padding: 0; list-style: none; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; width: 2px; border-radius: 2px; top: var(--t, 28px); }
.steps::before { height: var(--len, calc(100% - 56px)); background: var(--line); }
.steps::after { height: var(--h, 0); background: linear-gradient(180deg, var(--teal-500), var(--blue-500)); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding-bottom: 46px; }
.step:last-child { padding-bottom: 0; }
.step__dot {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink-3);
  background: #fff; border: 2px solid var(--line);
  transition: color .5s, background .5s, border-color .5s, box-shadow .6s var(--ease), transform .6s var(--ease);
}
.step.is-active .step__dot { color: #fff; border-color: transparent; background: var(--grad-btn); box-shadow: 0 0 0 8px var(--teal-50); transform: scale(1.04); }
.step h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 12px 0 8px; }
.step p { margin: 0; color: var(--ink-2); }

.aside-card { position: sticky; top: calc(var(--header-h) + 28px); padding: clamp(26px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.aside-card h3 { font-size: 1.5rem; margin-bottom: 1.1rem; }
.checklist { margin: 0 0 1.6rem; padding: 0; list-style: none; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); font-size: .97rem; }
.checklist svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; color: #fff; background: var(--teal-500); margin-top: 1px; }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__text p:not(.lead):not(.eyebrow) { color: var(--ink-2); }
.quote {
  position: relative; margin: 2rem 0 0; padding: 1.6rem 0 0 0;
  border-top: 1px solid rgba(18, 48, 58, .12);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35;
}
.cv { position: relative; overflow: hidden; padding: clamp(28px, 3.6vw, 46px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.cv__orn { position: absolute; width: 220px; right: -40px; top: 18px; color: var(--teal-100); }
.cv h3 { position: relative; font-size: 1.55rem; margin-bottom: 1.2rem; }
.cv ol { margin: 0; padding: 0; list-style: none; }
.cv li { display: grid; grid-template-columns: 82px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.cv__year { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; color: var(--teal-700); }
.cv__title { display: block; font-weight: 700; line-height: 1.4; }
.cv__sub { display: block; font-size: .9rem; color: var(--ink-3); }
.js .cv li { opacity: 0; transform: translateX(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .cv.is-in li { opacity: 1; transform: none; }
.js .cv.is-in li:nth-child(1) { transition-delay: .25s; }
.js .cv.is-in li:nth-child(2) { transition-delay: .37s; }
.js .cv.is-in li:nth-child(3) { transition-delay: .49s; }
.js .cv.is-in li:nth-child(4) { transition-delay: .61s; }

/* ---------- Kosten ---------- */
.costs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.price-card { padding: clamp(28px, 3.6vw, 46px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.price-card h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.price-row__name { display: block; font-weight: 800; }
.price-badge[hidden] { display: none; }
.price-badge { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; vertical-align: 2px; color: var(--teal-800); background: var(--teal-50); white-space: nowrap; }
.price-row__meta { display: block; font-size: .9rem; color: var(--ink-3); }
.price-row__val { font-family: var(--serif); font-size: 1.75rem; color: var(--teal-700); white-space: nowrap; }
.price-card__note { margin: 1.4rem 0 0; font-size: .93rem; color: var(--ink-2); }

.kasse { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 3.6vw, 46px); border-radius: var(--radius-lg); color: #fff; background: var(--grad-deep); }
.kasse::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(138, 210, 195, .45), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.kasse__badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.2rem; padding: 7px 14px 7px 8px; border-radius: 999px; font-size: .82rem; font-weight: 800; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); }
.kasse__badge svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: var(--teal-700); background: #fff; }
.kasse h3 { font-size: 1.55rem; margin-bottom: .8rem; }
.kasse p { color: rgba(255, 255, 255, .9); }
.kasse__steps { margin: 1.4rem 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.kasse__steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: .97rem; }
.kasse__steps span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.05rem; color: var(--teal-800); background: #fff; }
.kasse__small { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .78) !important; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; border: 0; background: none; text-align: left;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.3;
  transition: color .3s;
}
.faq__q:hover { color: var(--teal-700); }
.faq__icon { position: relative; width: 42px; height: 42px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .5s var(--ease), box-shadow .5s, transform .6s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease), background .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--grad-btn); box-shadow: none; transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 64px 26px 0; color: var(--ink-2); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- Kontakt ---------- */
.contact { padding-top: clamp(84px, 10vw, 130px); }
.contact__panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 7vw, 96px) clamp(22px, 6vw, 88px) clamp(32px, 5vw, 56px);
  border-radius: clamp(26px, 4vw, 44px);
  color: #fff; background: var(--grad-deep);
}
.contact__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob--c1 { width: 520px; height: 520px; right: -140px; top: -200px; background: rgba(138, 210, 195, .55); opacity: .7; }
.blob--c2 { width: 420px; height: 420px; left: -160px; bottom: -220px; background: rgba(95, 166, 227, .6); opacity: .7; animation-delay: -10s; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact h2 { color: #fff; }
.contact h2 em { background: none; color: #fff; -webkit-background-clip: border-box; background-clip: border-box; }
.contact .lead { color: rgba(255, 255, 255, .88); margin: 0; }
.contact__actions { display: grid; gap: 14px; }
.action {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px; border-radius: 22px;
  color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.action > span:nth-child(2) { flex: 1; min-width: 0; }
.action:hover { color: var(--ink); background: #fff; transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); }
.action__icon { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--teal-700); background: #fff; transition: background .45s, color .45s; }
.action__icon svg { width: 24px; height: 24px; }
.action:hover .action__icon { color: #fff; background: var(--grad-btn); }
.action__label { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.action__value { display: block; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.25; overflow-wrap: break-word; }
.action__arrow { width: 22px; height: 22px; flex: none; transition: transform .45s var(--ease); }
.action:hover .action__arrow { transform: translateX(5px); }
.contact__info { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .22); }
.info { display: flex; gap: 14px; align-items: flex-start; }
.info > svg { width: 24px; height: 24px; flex: none; margin-top: 2px; opacity: .9; }
.info strong, .info span, .info a { display: block; }
.info strong { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.info a { margin-top: 4px; font-weight: 700; color: #fff; text-underline-offset: 3px; }

/* ---------- Fußzeile ---------- */
.footer { padding: 72px 0 30px; color: rgba(255, 255, 255, .72); background: #0E2A30; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.footer a:hover { background-size: 100% 1px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer h4 { margin-bottom: 14px; font-family: var(--sans); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-300); }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; color: #fff; font-family: var(--serif); font-size: 1.35rem; }
.footer__brand svg { width: 70px; color: var(--teal-300); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }

/* ---------- Mobile Terminleiste ---------- */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 80;
  display: none; gap: 10px; padding: 10px;
  border-radius: 22px; background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 16px 44px -12px rgba(18, 48, 58, .4);
  transform: translateY(150%); transition: transform .65s var(--ease);
}
.callbar.is-visible { transform: none; }
.callbar .btn { --h: 50px; flex: 1; padding: 0 1em; }

/* ---------- Rechtliche Seiten ---------- */
.legal-page .header { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 var(--line); }
.legal { padding: calc(var(--header-h) + 56px) 0 96px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.45rem; margin: 2.4rem 0 .8rem; }
.legal h3 { font-family: var(--sans); font-size: 1rem; font-weight: 800; margin: 1.4rem 0 .4rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--teal-700); }
.todo { padding: 1px 6px; border-radius: 6px; background: #FFF2C6; color: #6B4E00; font-size: .92em; }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .header__call { display: grid; }
}
@media (max-width: 960px) {
  .hero__grid, .osteo, .pillars, .process, .about, .costs, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(78%, 400px); margin-top: 12px; }
  .chip--a { left: -12%; }
  .chip--b { right: -12%; }
  .aside-card { position: static; }
  .venn { max-width: 420px; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .facts__card { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .fact:nth-child(3) { border-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .callbar { display: flex; }
  .footer { padding-bottom: 110px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .logo__mark { width: 46px; }
  .logo__name { font-size: 1.02rem; white-space: normal; max-width: 9em; }
  .logo__claim { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { width: 74%; }
  .chip__in { padding: 9px 14px 9px 9px; font-size: .78rem; gap: 9px; }
  .chip__icon { width: 32px; height: 32px; }
  .chip--a { left: -8%; bottom: 8%; }
  .chip--b { right: -8%; top: 6%; }
  .fact { padding-inline: 14px; }
  .principle { grid-template-columns: 1fr; gap: 10px; }
  .pillar__btn { padding: 16px; gap: 14px; }
  .pillar__body > div { padding: 0 18px; }
  .cards { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; gap: 18px; }
  .step__dot { width: 48px; height: 48px; font-size: 1.2rem; }
  .steps::before, .steps::after { left: 23px; }
  .price-row { align-items: flex-start; }
  .faq__a p { padding-right: 0; }
  .action { padding: 16px; gap: 14px; }
  .action__icon { width: 48px; height: 48px; }
  .action__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero__lines path, .js .draw path { stroke-dashoffset: 0; }
}
