/* ==========================================================
   Britta Bornhuse – Website-Entwurf
   Schriften lokal (Instrument Serif, Jost, Inter · SIL Open Font License)
   ========================================================== */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  /* ---- Farbvorgaben ---- */
  --cream:      #FAF8F2;   /* Hauptseitenhintergrund */
  --cream-soft: #F8EDCF;   /* abwechselnde Section-Hintergründe */
  --gold:       #E8BF78;   /* Akzente, Formen */
  --yellow:     #FFD21F;   /* knalliges Gelb – gezielte Highlights */
  --brown:      #302B25;   /* Text, Überschriften, Kontaktfläche */
  --violet:     #1A0287;   /* aus der Logodatei – sparsam für Buttons & Links */

  /* abgeleitete Töne */
  --brown-muted: #615849;
  --line:        rgba(48, 43, 37, .14);
  --violet-hover:#13016A;
  --card:        rgba(250, 248, 242, .72);

  /* ---- Typografie ---- */
  --font-serif: "Instrument Serif", "Didot", "Bodoni 72", "Times New Roman", serif;   /* Überschriften */
  --font-label: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;                 /* kleine Labels */
  --font-body:  "Inter", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* ---- Maße ---- */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --r-sm: 16px;
  --r-md: 28px;
  --r-lg: 44px;
  --header-h: 84px;
  --section-y: clamp(90px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, .35vw + 14.6px, 17.5px);
  line-height: 1.75;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.container { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--brown); color: var(--cream); padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-serif); font-weight: 400; color: var(--brown);
  margin: 0; letter-spacing: -.01em; font-kerning: normal;
}
h1 em, h2 em, h3 em { font-style: italic; }
h1 { font-size: clamp(3rem, 6.4vw, 6.1rem); line-height: .98; letter-spacing: -.02em; }
h2 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); line-height: 1.02; margin-bottom: 28px; }
h3 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.08; }

.eyebrow, .kicker, .feature-index {
  font-family: var(--font-label); font-weight: 500; font-size: .76rem; line-height: 1.5;
  letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: none; }
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--violet); margin-bottom: 22px; }
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid currentColor; flex: none; }
.lead { font-size: clamp(1.02rem, 1.1vw, 1.12rem); max-width: 31em; margin: 30px 0 42px; color: var(--brown-muted); }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-label); font-weight: 500; font-size: .8rem; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 30px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 20px 36px; }
.btn-block { width: 100%; }
/* CTA-Buttons: knalliges Gelb */
.btn-primary { background: var(--yellow); color: var(--brown); }
.btn-primary:hover { background: #FFE15C; }
.btn-outline { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn-outline:hover { background: var(--brown); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--brown); }
.btn-light:hover { background: var(--gold); }
.btn-yellow { background: var(--yellow); color: var(--brown); }
.btn-yellow:hover { background: #FFE15C; }
.btn-ghost { border-color: rgba(250,248,242,.35); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-label); font-weight: 500; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--violet); text-decoration: none;
  padding-bottom: 5px; border-bottom: 1px solid var(--gold);
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow:hover { gap: .95em; border-color: var(--violet); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 242, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 36px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-size: 1.55rem; letter-spacing: 0; color: var(--brown); margin: 0; }
.brand-role { font-family: var(--font-label); font-weight: 500; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--brown-muted); margin-top: 6px; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px;
  font-family: var(--font-label); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--brown);
}
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scale(1); }

.menu-toggle { display: none; }

.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  background: var(--cream); border-top: 1px solid var(--line);
  padding: 24px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu ul { margin-bottom: 32px; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 2px;
  font-family: var(--font-serif); font-size: 2rem; line-height: 1.1;
  text-decoration: none; color: var(--brown);
}
.mobile-menu li a::after { content: "→"; font-family: var(--font-body); font-size: 1rem; color: var(--violet); }
.mobile-menu-meta { margin-top: 24px; font-size: .88rem; color: var(--brown-muted); text-align: center; }

/* ---------- Bildformen (nur runde Konturen) ---------- */
.shape { position: relative; margin: 0; overflow: hidden; background: var(--cream-soft); isolation: isolate; }
.shape img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.shape:hover img { transform: scale(1.04); }
.shape.is-placeholder::after {
  content: "Bild folgt"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-label); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown-muted);
}
/* Bogen: oben Halbkreis, unten weich gerundet (Seitenverhältnis 4:5 → 50 % Breite = 40 % Höhe) */
.shape-arch     { aspect-ratio: 4 / 5; border-radius: 50% 50% var(--r-lg) var(--r-lg) / 40% 40% var(--r-lg) var(--r-lg); }
.shape-portrait { aspect-ratio: 3 / 4; border-radius: 50% 50% var(--r-lg) var(--r-lg) / 37.5% 37.5% var(--r-lg) var(--r-lg); }
.shape-oval     { aspect-ratio: 4 / 5; border-radius: 50%; }
.shape-circle   { aspect-ratio: 1 / 1; border-radius: 50%; }

/* dekorative Elemente */
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--gold); pointer-events: none; }
.dot  { position: absolute; border-radius: 50%; pointer-events: none; }
.dot-gold { background: var(--gold); }
.dot-yellow { background: var(--yellow); }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }

/* Logo-Baum als Hintergrundmotiv */
.tree-mark {
  position: absolute; z-index: 0; pointer-events: none;
  aspect-ratio: 1 / 1; background: center / contain no-repeat;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero-copy { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }

.hero-visual { position: relative; width: 100%; max-width: 500px; justify-self: end; }
.hero-media img { object-position: 95% center; }
.sun-hero { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); right: -17%; bottom: 4%; z-index: -1; pointer-events: none; }
.ring-hero { width: 112%; aspect-ratio: 1; top: -9%; right: -16%; z-index: -1; }
.tree-hero {
  background-image: url("../img/logo-baum-violett.png"); opacity: .07;
  width: min(68vw, 900px); right: -12vw; top: 50%; transform: translateY(-48%);
}

.seal {
  position: absolute; left: -64px; bottom: 56px; width: 148px; height: 148px; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center;
  box-shadow: 0 18px 50px -20px rgba(48,43,37,.35);
}
.seal svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 32s linear infinite; }
.seal text { font-family: var(--font-label); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; fill: var(--brown); }
.seal img { width: 62px; height: 62px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Laufband ---------- */
.ribbon { overflow: hidden; border-block: 1px solid var(--line); background: var(--cream); padding: 22px 0; }
.ribbon-track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 42s) linear infinite; will-change: transform; }
.ribbon-group { display: flex; flex-shrink: 0; align-items: center; gap: 34px; padding-right: 34px; }
.ribbon span { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1; white-space: nowrap; }
.ribbon i { font-style: normal; color: var(--gold); font-size: 1.1rem; }
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------- Sektionen ---------- */
.section { padding: var(--section-y) 0; position: relative; overflow: hidden; }
.bg-base { background: var(--cream); }
.bg-soft { background: var(--cream-soft); }
.section-intro { max-width: 820px; margin: 0 auto clamp(70px, 9vw, 130px); text-align: center; }
.section-intro .kicker { justify-content: center; }
.section-lead { font-size: 1.05rem; max-width: 36em; margin: 0 auto; color: var(--brown-muted); }

/* Ästhetik – Features */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 130px); align-items: center;
  margin-bottom: clamp(100px, 12vw, 170px);
}
.feature-reverse .feature-visual { order: 2; }
.feature-visual { position: relative; width: 100%; max-width: 460px; justify-self: center; }
.feature-media { position: relative; z-index: 1; }
.media-meso img  { object-position: 50% center; }
.media-micro img { object-position: 40% center; }
.big-num {
  position: absolute; z-index: 0; top: -.32em; left: -.42em;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(9rem, 16vw, 15rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
  pointer-events: none; user-select: none;
}
.feature-reverse .big-num { left: auto; right: -.35em; }
.feature .dot-yellow { width: 26%; aspect-ratio: 1; right: -6%; bottom: 8%; z-index: 2; mix-blend-mode: multiply; }
.ring-small { width: 46%; aspect-ratio: 1; left: -14%; bottom: -6%; z-index: 2; }
.feature-copy { max-width: 500px; }
.feature-index { color: var(--violet); margin-bottom: 16px; }
.feature h3 { margin-bottom: 24px; }
.feature h3 em, .feature-band h3 em { display: inline-block; }
.facts { margin: 28px 0 36px; display: grid; gap: 10px; }
.facts li {
  position: relative; padding: 12px 20px 12px 46px; font-size: .95rem; line-height: 1.5;
  background: var(--cream-soft); border-radius: 999px;
}
.facts li::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px);
}

.feature-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 80px); align-items: center;
  background: var(--cream-soft); border-radius: var(--r-lg);
  padding: clamp(36px, 6vw, 80px);
}
.feature-band > div { position: relative; z-index: 1; }
.feature-band p { margin-bottom: 26px; max-width: 34em; }
.band-sun { position: absolute; z-index: 0; width: 180px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); right: -50px; top: -60px; pointer-events: none; }
.tree-band { background-image: url("../img/logo-baum-gold.png"); opacity: .45; width: 360px; left: -70px; bottom: -150px; }

/* Ablauf */
.steps-head { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.steps-head .kicker { justify-content: center; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); text-align: center; }
.steps::before {
  content: ""; position: absolute; top: 48px; left: 16.66%; right: 16.66%; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(48,43,37,.35) 0 5px, transparent 5px 11px);
}
.steps li { position: relative; }
.step-num {
  position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 26px;
  border-radius: 50%; background: var(--yellow); border: 0;
  font-family: var(--font-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--brown);
}
.steps h3 { font-size: 2rem; margin-bottom: 10px; }
.steps p { font-size: .97rem; max-width: 20em; margin: 0 auto; color: var(--brown-muted); }

/* Über mich */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 140px); align-items: center; }
.about-visual { position: relative; width: 100%; max-width: 430px; justify-self: center; }
.about-media { position: relative; z-index: 1; }
.blob-gold { width: 78%; aspect-ratio: 1; background: var(--gold); left: -18%; bottom: -10%; z-index: 0; opacity: .75; }
.ring-about { width: 50%; aspect-ratio: 1; right: -16%; top: -6%; z-index: 2; }
.tree-about { background-image: url("../img/logo-baum-violett.png"); opacity: .05; width: 760px; right: -220px; top: 50%; transform: translateY(-50%); }
.about-copy { max-width: 580px; }
.about-lead { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.22; margin-bottom: 26px; }
.draft-note {
  font-size: .88rem; line-height: 1.6; color: var(--brown);
  border: 1px dashed rgba(26,2,135,.4); background: rgba(26,2,135,.035); border-radius: var(--r-sm);
  padding: 16px 20px; margin: 8px 0 34px;
}
.draft-note strong { color: var(--violet); font-weight: 600; }
.inline-ph {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-label); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  color: var(--violet); border: 1px dashed rgba(26,2,135,.45); padding: 4px 12px; border-radius: 999px;
}

/* Weitere Behandlungen */
.further-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.further-head { position: sticky; top: calc(var(--header-h) + 40px); }
.further-head > p { margin-bottom: 40px; color: var(--brown-muted); max-width: 30em; }
.further-visual { position: relative; width: 78%; max-width: 380px; }
.further-media img { object-position: 50% center; }
.ring-further { inset: -7%; z-index: -1; }
.treatment-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.treatment-list li {
  background: var(--card); border-radius: var(--r-md); padding: 30px 30px 32px;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.treatment-list li:hover { transform: translateY(-4px); background: var(--cream); }
.treatment-list h3 { font-size: clamp(1.65rem, 2vw, 1.95rem); margin-bottom: 12px; }
.treatment-list p { margin: 0; font-size: .95rem; line-height: 1.65; color: var(--brown-muted); }
.treatment-list .treatment-cta {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  background: var(--brown); color: var(--cream);
}
.treatment-list .treatment-cta:hover { background: var(--brown); }
.treatment-cta p { font-family: var(--font-serif); font-style: italic; font-size: 1.9rem; line-height: 1.1; color: var(--cream); }
.treatment-cta .btn { align-self: flex-start; }

/* Kontakt – dunkle Fläche mit Logo-Baum */
.contact { background: var(--brown); color: rgba(250,248,242,.86); }
.contact :focus-visible { outline-color: var(--gold); }
.contact h2 { color: var(--cream); }
.contact h2 em { color: var(--yellow); }
.contact .kicker { color: var(--gold); }
.tree-contact { background-image: url("../img/logo-baum-hell.png"); opacity: .06; width: 980px; left: -260px; top: 50%; transform: translateY(-50%); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.contact-copy > p { max-width: 32em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.contact-hint {
  margin: 18px 0 0; font-size: .9rem; color: var(--cream);
  background: rgba(250,248,242,.08); border: 1px solid rgba(232,191,120,.45); border-radius: var(--r-sm);
  padding: 12px 18px; display: inline-block;
}
.contact-details {
  margin: 44px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;
  border: 1px solid rgba(250,248,242,.14); border-radius: var(--r-md); padding: 10px 28px;
}
.contact-details > div { padding: 18px 0; border-bottom: 1px solid rgba(250,248,242,.1); }
.contact-details > div:nth-last-child(-n+1) { border-bottom: 0; }
.contact-details dt {
  font-family: var(--font-label); font-weight: 500; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.contact-details dd { margin: 0; font-size: .97rem; line-height: 1.55; color: var(--cream); }
.contact-details dd a { text-decoration: none; color: var(--cream); border-bottom: 1px solid var(--gold); }
.ph-value { opacity: .72; }
.ph-tag {
  display: inline-block; margin-left: 6px; vertical-align: 2px;
  font-family: var(--font-label); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  color: var(--violet); border: 1px dashed rgba(26,2,135,.5); padding: 2px 8px; border-radius: 999px;
}
.contact .ph-tag { color: var(--gold); border-color: rgba(232,191,120,.6); }

.contact-visual { position: relative; width: 100%; max-width: 420px; justify-self: center; }
.contact-media img { object-position: 50% 60%; }
.contact-caption {
  position: absolute; z-index: 2; right: -28px; bottom: 40px; margin: 0;
  background: var(--yellow); color: var(--brown); border-radius: 999px; padding: 14px 24px;
  font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.1; white-space: nowrap;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.5);
}
.contact-caption span { font-style: italic; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--cream-soft); padding: 40px 0 30px; }
.footer-word {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(3.6rem, 13vw, 12rem); line-height: 1;
  color: rgba(48,43,37,.07); white-space: nowrap; text-align: center; margin-bottom: 30px;
  user-select: none; letter-spacing: -.02em;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .brand-mark { width: 56px; height: 56px; }
.footer-meta { margin: 6px 0 0; font-size: .88rem; color: var(--brown-muted); }
.footer-nav, .footer-legal { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-legal a {
  font-family: var(--font-label); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--brown);
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--violet); }
.tag-draft {
  font-size: .58rem; letter-spacing: .12em; color: var(--violet);
  border: 1px dashed rgba(26,2,135,.5); padding: 2px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 1px;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--brown-muted); }
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; }

/* ---------- Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* Hero erscheint sofort beim Laden, unabhängig vom Scroll-Beobachter */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1.1s var(--ease) both; }
.hero .hero-visual { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .seal svg, .ribbon-track, .hero .reveal { animation: none; }
  * { transition-duration: .01ms !important; }
}


/* ---------- Navigation: aktive Seite & Dropdown „Ästhetik“ ---------- */
.main-nav a[aria-current="page"]::after, .main-nav .has-sub.is-active > .sub-toggle::after { transform: scale(1); }
.has-sub { position: relative; }
.sub-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  font-family: var(--font-label); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brown); background: none; border: 0; cursor: pointer;
}
.sub-toggle::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .3s var(--ease);
}
.caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 50%; display: block; min-width: 230px; padding: 10px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: 0 22px 50px -24px rgba(48,43,37,.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.main-nav .sub-menu a { padding: 12px 16px; border-radius: 10px; }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a[aria-current="page"] { background: var(--cream-soft); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.has-sub:hover .caret, .has-sub.is-open .caret { transform: translateY(1px) rotate(225deg); }
.mobile-group { padding: 16px 2px 8px; }
.mobile-group-label { font-family: var(--font-label); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--violet); }
.mobile-group ul { margin: 4px 0 0; }
.mobile-group li { border: 0; }
.mobile-menu .mobile-group li a { font-size: 1.6rem; padding: 10px 2px 10px 18px; }
.mobile-menu a[aria-current="page"] { color: var(--violet); }

/* Linkgruppen auf der Startseite */
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.link-muted { color: var(--brown); border-color: var(--line); }
.link-light { color: var(--cream); }
.link-light:hover { border-color: var(--yellow); }
.contact-more { margin: 26px 0 0; }

/* ---------- Unterseiten: schlichtes Gerüst ---------- */
.stub-page { padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); }
.stub-page .container { max-width: 820px; }
.stub-page h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.draft-flag {
  display: inline-block; margin: 22px 0 56px; padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-label); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); border: 1px dashed rgba(26,2,135,.5);
}
.stub { padding: 30px 0; border-top: 1px solid var(--line); }
.stub h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 12px; }
.stub li { color: var(--brown-muted); }
.ph { background: var(--cream-soft); border-radius: 8px; padding: 2px 8px; color: var(--brown); }
.stub-back { margin-top: 50px; }


/* ---------- Wegweiser: Problem → möglicher Weg ---------- */
.match-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.match-head .kicker { justify-content: center; }
.match-head p:last-child { color: var(--brown-muted); margin: 0; }
.tree-match { background-image: url("../img/logo-baum-gold.png"); opacity: .35; width: 520px; right: -160px; bottom: -200px; }
.match-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.match-tabs { display: grid; gap: 10px; align-content: start; }
.match-tab {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer;
  padding: 18px 24px; border-radius: 999px; border: 1px solid transparent; background: var(--card);
  font-family: var(--font-serif); font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.2; color: var(--brown);
  transition: background-color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.match-tab:hover { transform: translateX(4px); border-color: var(--gold); }
.match-check { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); position: relative; transition: background-color .3s var(--ease); }
.match-tab[aria-selected="true"] { background: var(--brown); color: var(--cream); }
.match-tab[aria-selected="true"] .match-check { background: var(--yellow); border-color: var(--yellow); }
.match-tab[aria-selected="true"] .match-check::after {
  content: ""; position: absolute; left: 8px; top: 5px; width: 7px; height: 12px;
  border-right: 2px solid var(--brown); border-bottom: 2px solid var(--brown); transform: rotate(45deg);
}
.match-panels { position: relative; }
.match-panel {
  height: 100%; background: var(--cream); border-radius: var(--r-lg); padding: clamp(30px, 4vw, 54px);
  display: flex; flex-direction: column; box-shadow: 0 30px 60px -40px rgba(48,43,37,.4);
  animation: rise .5s var(--ease) both;
}
.match-panel[data-hidden] { display: none; }
.match-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-label); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.match-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
.match-panel h3 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); margin-bottom: 18px; }
.match-panel > p:not(.match-label):not(.match-note) { color: var(--brown-muted); margin-bottom: 30px; max-width: 32em; }
.match-note { margin: auto 0 0; padding-top: 28px; font-size: .84rem; color: var(--brown-muted); border-top: 1px solid var(--line); margin-top: 32px; }
@media (max-width: 900px) {
  .match-grid { grid-template-columns: minmax(0, 1fr); }
  .match-tab { border-radius: var(--r-md); padding: 16px 20px; }
  .match-panel { border-radius: var(--r-md); }
}
@media (prefers-reduced-motion: reduce) { .match-panel { animation: none; } }


/* ---------- Karte & Anfahrt ---------- */
.map-card {
  position: relative; z-index: 1; margin-top: clamp(70px, 9vw, 120px);
  display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid rgba(250,248,242,.14); background: rgba(250,248,242,.04);
}
.map-info { padding: clamp(30px, 4vw, 54px); }
.map-info h3 { color: var(--cream); margin-bottom: 22px; }
.map-info h3 em { color: var(--yellow); }
.map-address { font-style: normal; font-size: 1.05rem; line-height: 1.6; color: var(--cream); margin-bottom: 30px; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.map-hint { margin: 28px 0 0; font-size: .86rem; color: rgba(250,248,242,.65); }
.map-frame { position: relative; min-height: 420px; background:
  radial-gradient(circle at 30% 40%, rgba(232,191,120,.18) 0 2px, transparent 3px) 0 0 / 26px 26px,
  linear-gradient(135deg, #3a342d, #2a2520); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) sepia(.15); }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 30px; text-align: center; }
.map-consent p { max-width: 24em; margin: 0; font-size: .9rem; color: rgba(250,248,242,.75); }
.map-pin {
  position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 14px rgba(255,210,31,.15), 0 0 0 30px rgba(255,210,31,.07);
  animation: pulse 2.6s var(--ease) infinite;
}
.map-pin img { width: 66px; height: 66px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 20px rgba(255,210,31,.12), 0 0 0 42px rgba(255,210,31,.04); } }
@media (max-width: 900px) {
  .map-card { grid-template-columns: minmax(0, 1fr); border-radius: var(--r-md); }
  .map-frame { min-height: 340px; }
}
@media (max-width: 560px) { .map-actions .btn { width: 100%; } .map-actions .link-arrow { margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .map-pin { animation: none; } }

/* ---------- Runde Übergänge zwischen Sections ---------- */
.curve-top::before {
  content: ""; position: absolute; z-index: 0; left: -15%; right: -15%; top: -1px;
  height: clamp(50px, 7vw, 110px); border-radius: 0 0 50% 50%; background: var(--curve-from, var(--cream));
  pointer-events: none;
}
.steps-section.curve-top { --curve-from: var(--cream); padding-top: calc(var(--section-y) + 30px); }
.contact.curve-top { --curve-from: var(--cream-soft); padding-top: calc(var(--section-y) + 50px); }
.site-footer.curve-top { --curve-from: var(--brown); padding-top: clamp(80px, 9vw, 130px); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px;
    border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; padding: 0;
  }
  .menu-icon { position: relative; width: 20px; height: 12px; display: block; }
  .menu-icon span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--brown); transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu-icon span:first-child { top: 1px; }
  .menu-icon span:last-child { top: 9px; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { top: 5px; transform: rotate(-45deg); }
  .treatment-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .hero-grid, .feature, .about-grid, .further-grid, .contact-grid, .feature-band { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 34px; }
  .hero-visual { justify-self: center; max-width: 380px; margin-top: 10px; }
  .ring-hero { right: -10%; }
  .tree-hero { width: 130vw; right: -55vw; top: auto; bottom: -10%; transform: none; }
  .seal { left: -22px; bottom: 30px; width: 116px; height: 116px; }
  .seal text { font-size: 12px; }
  .seal img { width: 48px; height: 48px; }

  .feature-reverse .feature-visual { order: 0; }
  .feature-visual { max-width: 360px; }
  .feature-copy, .about-copy { max-width: none; }
  .about-visual { max-width: 340px; }
  .tree-about { width: 520px; right: -260px; top: 22%; transform: none; }
  .further-head { position: static; }
  .further-visual { width: 70%; max-width: 300px; margin: 0 auto 10px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { top: 48px; bottom: 48px; left: 50%; right: auto; width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(48,43,37,.35) 0 5px, transparent 5px 11px); }
  .steps li { background: var(--cream-soft); padding-bottom: 6px; }
  .contact-visual { max-width: 340px; order: -1; margin-bottom: 10px; }
  .contact-caption { right: -12px; bottom: 26px; font-size: 1.15rem; padding: 12px 20px; }
  .tree-contact { width: 640px; left: -200px; top: auto; bottom: -120px; transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.35rem; }
  .brand-role { font-size: .58rem; }
  h1 { font-size: clamp(2.6rem, 12vw, 3.3rem); }
  h2 { font-size: clamp(2.1rem, 9.5vw, 2.6rem); overflow-wrap: break-word; hyphens: auto; }
  .eyebrow { font-size: .68rem; letter-spacing: .14em; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-arrow { margin: 0 auto; }
  .big-num { font-size: 8rem; }
  .facts li { border-radius: var(--r-sm); }
  .feature-band { border-radius: var(--r-md); }
  .treatment-list li { padding: 26px 24px; }
  .treatment-cta .btn { width: 100%; }
  .contact-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .contact-details { grid-template-columns: 1fr; padding: 6px 22px; }
  .contact-details > div:nth-last-child(-n+1) { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Rechtliche Entwurfsseiten ---------- */
.legal-page { padding: clamp(50px, 8vw, 100px) 0; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); }
.draft-banner { border: 1px dashed var(--violet); background: rgba(26,2,135,.035); border-radius: var(--r-md); padding: 22px 28px; margin: 28px 0 40px; }
.draft-banner strong { color: var(--violet); }
.legal-page h2 { font-size: 2rem; margin: 40px 0 14px; }
.legal-ph { background: var(--cream-soft); border-radius: var(--r-md); padding: 20px 26px; color: var(--brown); }
.legal-ph ul { list-style: disc; padding-left: 20px; margin-top: 8px; }

/* Kopfzeile: Navigation einzeilig halten */
.header-inner { gap: 24px; }
.brand-name, .main-nav a, .sub-toggle { white-space: nowrap; }
.main-nav a, .sub-toggle { padding-left: 11px; padding-right: 11px; letter-spacing: .14em; }
.main-nav .sub-menu a { padding: 12px 16px; }
@media (max-width: 1240px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px;
    border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; padding: 0;
  }
  .menu-icon { position: relative; width: 20px; height: 12px; display: block; }
  .menu-icon span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--brown); transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu-icon span:first-child { top: 1px; }
  .menu-icon span:last-child { top: 9px; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { top: 5px; transform: rotate(-45deg); }
}
.no-js .match-panel[data-hidden] { display: flex; margin-top: 16px; }
@media (max-width: 560px) {
  .match-panel .btn { width: 100%; white-space: normal; text-align: center; }
  .match-panel .link-row .link-arrow { margin: 0 auto; }
}

/* ---------- Demo-Scroll-Effekt „Iris“ (Über mich) ----------
   --p läuft beim Hereinscrollen von 0 → 1 (gesetzt in main.js) */
.fx-iris {
  --p: 1;
  clip-path: circle(calc(12% + var(--p) * 100%) at 50% 45%);
  will-change: clip-path;
}
.fx-iris .about-media { transform: scale(calc(1.35 - var(--p) * .35)) rotate(calc((1 - var(--p)) * -6deg)); transition: none; }
.fx-iris .about-copy  { transform: translateX(calc((1 - var(--p)) * 120px)); opacity: calc(.2 + var(--p) * .8); }
.fx-iris .blob-gold   { transform: scale(calc(.4 + var(--p) * .6)); }
.fx-iris .reveal { transition: none; }
@media (prefers-reduced-motion: reduce) { .fx-iris { clip-path: none; } .fx-iris * { transform: none !important; opacity: 1 !important; } }

/* ---------- CTA „strahlend“: Verlauf, feiner Rand, Glow ---------- */
.btn-primary {
  background: linear-gradient(100deg, #F2B700 0%, #FFD21F 45%, #FFE266 70%, #F5C400 100%);
  border: 1px solid rgba(48, 43, 37, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65),
    inset 0 -2px 6px rgba(160, 110, 0, .25),
    0 0 0 4px rgba(255, 210, 31, .14),
    0 10px 34px -6px rgba(255, 196, 0, .65),
    0 0 60px rgba(255, 210, 31, .35);
  transition: box-shadow .35s ease, transform .35s ease, filter .35s ease;
}
.btn-primary:hover, .btn-primary:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .75),
    inset 0 -2px 6px rgba(160, 110, 0, .25),
    0 0 0 5px rgba(255, 210, 31, .2),
    0 14px 40px -6px rgba(255, 196, 0, .8),
    0 0 80px rgba(255, 210, 31, .5);
}
.contact .btn-primary { border-color: rgba(255, 240, 180, .55); }

/* ---------- Termin-Popup (Demo) ---------- */
body.bk-open { overflow: hidden; }
.bk { border: 0; padding: 0; background: transparent; max-width: min(860px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); }
.bk::backdrop { background: rgba(48,43,37,.55); backdrop-filter: blur(6px); }
.bk[open] { animation: bkIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes bkIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.bk-box { position: relative; background: var(--cream); color: var(--brown); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(232,191,120,.6); box-shadow: 0 40px 90px -20px rgba(0,0,0,.45); overflow: auto; max-height: calc(100dvh - 24px); }
.bk-close { position: absolute; top: 16px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card, #fff); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--brown); }
.bk-demo { display: inline-block; font-family: var(--font-label, inherit); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--yellow); padding: 6px 12px; border-radius: 999px; margin: 0 0 14px; }
.bk h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 18px; line-height: 1.05; }
.bk-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.bk-chip, .bk-slot { border: 1px solid var(--line); background: var(--card, #fff); color: var(--brown); border-radius: 999px;
  padding: 9px 16px; font: inherit; font-size: .92rem; cursor: pointer; transition: background .2s, border-color .2s; }
.bk-chip[aria-pressed="true"], .bk-slot[aria-pressed="true"] { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.bk-chip:hover, .bk-slot:hover { border-color: var(--gold); }
.bk-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.bk-cal { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.bk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-family: var(--font-serif); font-size: 1.35rem; }
.bk-head strong { font-weight: 400; }
.bk-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.2rem; color: var(--brown); }
.bk-nav:disabled { opacity: .3; cursor: default; }
.bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk-dow { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .55; padding: 6px 0; }
.bk-day { aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; font: inherit; color: inherit; cursor: pointer; position: relative; }
.bk-day:disabled { opacity: .28; cursor: default; }
.bk-day.has-free::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.bk-day.has-free:hover { background: var(--cream-soft); }
.bk-day.is-today { box-shadow: inset 0 0 0 1px var(--gold); }
.bk-day[aria-pressed="true"] { background: var(--yellow); font-weight: 600; }
.bk-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin: 4px 0 12px; }
.bk-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bk-hint { grid-column: 1 / -1; opacity: .6; margin: 0; }
.bk-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.bk-summary { margin: 0; }
.bk-go:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.bk-done { position: absolute; inset: 0; background: var(--cream); border-radius: inherit; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; padding: clamp(28px, 6vw, 70px); gap: 6px; }
.bk-done[hidden] { display: none; }
.bk-done-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
@media (max-width: 700px) {
  .bk-body { grid-template-columns: 1fr; gap: 18px; }
  .bk-slots { grid-template-columns: repeat(3, 1fr); }
  .bk-foot .btn { width: 100%; }
}

/* Wegweiser + Ablauf teilen den Hintergrund: Abstand zusammenziehen */
.match + .steps-section { padding-top: clamp(20px, 3vw, 40px); }

/* ---------- Bewertungs-Karte im Hero (Beispiel-Integration) ---------- */
.review-card { margin: clamp(28px, 4vw, 44px) 0 0; max-width: 470px; background: var(--card, #fff);
  border: 1px solid rgba(232,191,120,.55); border-radius: var(--r-md); padding: 18px 22px 16px;
  box-shadow: 0 18px 40px -22px rgba(48,43,37,.35); }
.review-top { display: flex; align-items: center; gap: 12px; }
.review-top strong { display: block; font-weight: 600; font-size: .98rem; }
.review-src { font-size: .8rem; opacity: .6; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--violet); color: #fff; font-weight: 600; }
.review-stars { margin-left: auto; color: #F5B400; letter-spacing: 2px; font-size: 1.05rem; }
.review-card blockquote { margin: 12px 0 8px; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; }
.review-card figcaption { font-size: .74rem; opacity: .55; }

/* =====================================================================
   UNTERSEITEN
   ===================================================================== */
.subpage .site-footer.curve-top { --curve-from: var(--cream); }
.subpage:has(main > section.bg-soft:last-child) .site-footer.curve-top { --curve-from: var(--cream-soft); }

/* Seiten-Hero */
.phero { position: relative; overflow: hidden; background: var(--cream); padding: clamp(36px, 5vw, 70px) 0 clamp(70px, 8vw, 120px); }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.phero-noimg .phero-grid { grid-template-columns: 1fr; max-width: 900px; }
.phero h1 { font-size: clamp(2.8rem, 5.6vw, 5.3rem); }
.phero-visual { position: relative; width: 100%; max-width: 460px; justify-self: end; isolation: isolate; }
.phero .reveal { opacity: 1; transform: none; transition: none; animation: rise 1.1s var(--ease) both; }
.phero .phero-visual { animation-delay: .15s; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--font-label); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brown-muted); margin-bottom: 26px; }
.crumbs a { color: var(--violet); text-decoration: none; }
.crumbs span { opacity: .4; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -18px 0 36px; }
.chips li { border: 1px solid rgba(232,191,120,.7); background: rgba(255,210,31,.12); border-radius: 999px; padding: 7px 14px; font-size: .85rem; }

/* Inhaltsnavigation */
.toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; margin: 0 auto clamp(60px, 8vw, 110px); }
.toc span { font-family: var(--font-label); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brown-muted); margin-right: 8px; }
.toc a { text-decoration: none; color: var(--brown); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: .9rem; transition: background .25s, border-color .25s; }
.toc a:hover { background: var(--cream-soft); border-color: var(--gold); }
html { scroll-padding-top: 110px; }
.feature-noimg { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }

/* Info-Karten */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(26px, 3vw, 38px); transition: transform .35s var(--ease), box-shadow .35s; }
.info-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(48,43,37,.4); }
.info-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); font-size: 1.3rem; margin-bottom: 22px; }
.info-card h3 { font-size: 1.9rem; margin-bottom: 10px; }
.info-card p { margin: 0; color: var(--brown-muted); font-size: .97rem; }

/* Platzhalter inline */
.inline-ph { display: inline-block; font-size: .78rem; font-family: var(--font-label); letter-spacing: .06em; background: rgba(26,2,135,.07); color: var(--violet); border: 1px dashed rgba(26,2,135,.35); border-radius: 999px; padding: 3px 10px; margin-left: 4px; vertical-align: middle; }

/* Kosten-Karte */
.price-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; background: var(--card, #fff); border: 1px solid rgba(232,191,120,.6); border-radius: var(--r-lg); padding: clamp(30px, 5vw, 64px); box-shadow: 0 30px 70px -45px rgba(48,43,37,.45); }
.price-card h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 18px; }
.price-card p { color: var(--brown-muted); margin: 0; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list div:last-child { border: 0; }
.price-list dt { font-family: var(--font-serif); font-size: 1.35rem; }
.med-note { max-width: 760px; margin: 34px auto 0; text-align: center; font-size: .86rem; color: var(--brown-muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head h2 { font-size: clamp(2.6rem, 4.6vw, 4rem); margin-bottom: 18px; }
.faq-head p { color: var(--brown-muted); margin-bottom: 28px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--font-serif); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); position: relative; transition: background .3s, transform .4s var(--ease); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--brown); transform: translate(-50%,-50%); }
.faq-item summary i::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] summary i { background: var(--yellow); border-color: var(--yellow); transform: rotate(180deg); }
.faq-item[open] summary i::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a { padding: 0 60px 26px 0; color: var(--brown-muted); }
.faq-item[open] .faq-a { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* Verwandte Seiten */
.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.rel-card { display: flex; align-items: center; gap: 22px; padding: 16px 26px 16px 16px; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--brown); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.rel-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 22px 50px -30px rgba(48,43,37,.45); }
.rel-media { width: 92px; flex: none; aspect-ratio: 1; border-radius: 50%; margin: 0; overflow: hidden; }
.rel-card small { display: block; font-family: var(--font-label); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); margin-bottom: 4px; }
.rel-card strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.rel-card i { margin-left: auto; font-style: normal; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); transition: transform .35s var(--ease); }
.rel-card:hover i { transform: translateX(4px); }

/* CTA-Band */
.cta-band-wrap { background: var(--cream); padding: clamp(60px, 8vw, 110px) 0; }
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; background: var(--brown); color: rgba(250,248,242,.85); border-radius: var(--r-lg); padding: clamp(36px, 6vw, 80px); }
.cta-band::before { content: ""; position: absolute; width: 420px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); opacity: .14; right: -120px; top: -180px; }
.cta-band > div { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); font-size: clamp(2.6rem, 5vw, 4.4rem); margin-bottom: 16px; }
.cta-band h2 em { color: var(--yellow); }
.cta-band .kicker { color: var(--gold); }
.cta-band p { max-width: 32em; margin: 0; }
.cta-band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* Weitere Behandlungen – Kacheln */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.t-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); min-height: 360px; transition: transform .4s var(--ease), background .4s, box-shadow .4s; }
.t-tile:hover { transform: translateY(-6px); background: var(--cream-soft); box-shadow: 0 30px 60px -40px rgba(48,43,37,.5); }
.t-tile:first-child { grid-column: span 2; background: var(--brown); color: rgba(250,248,242,.85); border-color: var(--brown); }
.t-tile:first-child h2 { color: var(--cream); }
.t-tile:first-child .feature-index, .t-tile:first-child .link-arrow { color: var(--gold); }
.t-tile:first-child .t-num { color: rgba(255,210,31,.16); }
.t-num { position: absolute; right: 20px; top: 0; font-family: var(--font-serif); font-style: italic; font-size: 7rem; line-height: 1; color: rgba(232,191,120,.28); pointer-events: none; }
.t-tile h2 { font-size: clamp(2rem, 2.6vw, 2.5rem); margin: 6px 0 14px; }
.t-tile p { color: inherit; opacity: .9; font-size: .97rem; }
.t-tile .t-open { margin-top: auto; }
.t-tile .link-arrow { align-self: flex-start; margin-top: 12px; }

/* Über mich */
.about-page { max-width: 1040px; }
.quote-block { position: relative; text-align: center; margin-bottom: clamp(60px, 8vw, 110px); }
.quote-mark { display: block; font-family: var(--font-serif); font-size: 9rem; line-height: .6; color: var(--yellow); }
.big-quote { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; color: var(--brown); max-width: 18em; margin: 10px auto 0; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); }
.timeline { border-left: 1px solid var(--gold); padding-left: 26px; display: grid; gap: 26px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px var(--cream); }
.timeline p { margin: 6px 0 0; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; height: clamp(420px, 50vw, 620px); }
.gallery .shape { margin: 0; border-radius: var(--r-lg); overflow: hidden; height: 100%; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-a { grid-row: span 2; }
.g-c { display: grid; place-items: center; text-align: center; padding: 20px; border: 1px dashed rgba(26,2,135,.3); border-radius: var(--r-lg); background: var(--cream-soft); }

@media (max-width: 1000px) {
  .t-grid, .info-cards { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 900px) {
  .phero-grid { grid-template-columns: 1fr; }
  .phero-visual { max-width: 340px; justify-self: center; order: -1; }
  .price-card, .about-cols, .cta-band, .rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .t-grid, .info-cards { grid-template-columns: 1fr; }
  .t-tile:first-child { grid-column: auto; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 260px 200px auto; height: auto; }
  .g-a { grid-row: auto; }
  .toc { justify-content: flex-start; }
  .rel-card { border-radius: var(--r-md); }
  .faq-a { padding-right: 0; }
}
.t-tile:first-child .inline-ph, .contact .inline-ph, .cta-band .inline-ph { background: rgba(255,210,31,.12); color: var(--yellow); border-color: rgba(255,210,31,.45); }
.brand-role { line-height: 1.55; white-space: nowrap; }

/* ---------- Kontakt-Auswahl (Termin anfragen) ---------- */
.ck { border: 0; padding: 0; background: transparent; width: 100%; max-width: min(520px, calc(100vw - 24px)); }
.ck::backdrop { background: rgba(48,43,37,.55); backdrop-filter: blur(6px); }
.ck[open] { animation: bkIn .35s cubic-bezier(.2,.8,.2,1); }
.ck-box { position: relative; background: var(--cream); color: var(--brown); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(232,191,120,.6); box-shadow: 0 40px 90px -20px rgba(0,0,0,.45); }
.ck h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.05; margin: 0 0 12px; }
.ck-lead { color: var(--brown-muted); margin: 0 0 24px; font-size: .96rem; }
.ck-list { display: grid; gap: 12px; }
.ck-opt { display: flex; align-items: center; gap: 16px; padding: 14px 20px 14px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card, #fff); color: var(--brown); text-decoration: none; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
a.ck-opt:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 18px 36px -24px rgba(48,43,37,.45); }
.ck-opt strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.ck-opt small { font-size: .84rem; color: var(--brown-muted); }
.ck-opt i { margin-left: auto; font-style: normal; font-size: 1.1rem; }
.ck-ic { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cream-soft); }
.ck-ic svg { width: 24px; height: 24px; }
.ck-wa .ck-ic { background: #25D366; color: #fff; }
.ck-tel .ck-ic { background: var(--yellow); }
.ck-wa { border-color: rgba(37,211,102,.45); }
.ck-opt.is-off { opacity: .5; }

/* ---------- Schwebender WhatsApp-Button ---------- */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 0; height: 60px; padding: 0 18px;
  border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7), 0 0 0 6px rgba(37,211,102,.14); transition: transform .3s var(--ease), gap .35s var(--ease); }
.wa-fab svg { width: 26px; height: 26px; flex: none; }
.wa-fab-label { order: -1; max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--font-label); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; transition: max-width .4s var(--ease); }
.wa-fab:hover, .wa-fab:focus-visible { transform: translateY(-3px); gap: 10px; }
.wa-fab:hover .wa-fab-label, .wa-fab:focus-visible .wa-fab-label { max-width: 120px; }
.wa-fab::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid #25D366; animation: waPulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes waPulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
body.menu-open .wa-fab, body.bk-open .wa-fab { opacity: 0; pointer-events: none; }
@media (max-width: 620px) { .wa-fab { right: 14px; bottom: 14px; height: 54px; padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab::before { animation: none; } }
.footer-note p { font-size: .8rem; line-height: 1.6; opacity: .6; max-width: 62em; margin: 0 0 18px; }

/* Galerie: zwei echte Bilder */
.gallery { grid-template-rows: 1fr; }
.g-a { grid-row: auto; }
@media (max-width: 760px) { .gallery { grid-template-rows: 280px 240px; } }

/* Kennzeichnung KI-Bilder: dezent unter dem Bild */
.symbol-tag { display: block; margin-top: 6px; font-size: 10px; line-height: 1.2; letter-spacing: .04em;
  color: var(--brown, #6b5f55); opacity: .5; text-align: right; pointer-events: none; }
