/* Bohlen & Schiedges — Praxis für Physiotherapie, Köln-Rondorf.
   Erste Gesundheits-Site: hell, ruhig, viel Weißraum — Salbeigrün + warmer Sand,
   Fraunces (warme Serife, lokal 500/600). Bewusst KEIN dunkles Hero (Praxis-Regel). */

@font-face {
  font-family: "Fraunces";
  src: url("fraunces-600.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf8f4;
  --card: #ffffff;
  --ink: #2b3330;
  --muted: #6e7a74;
  --line: #e5e1d8;
  --sage: #5b7365;
  --sage-deep: #46594e;
  --sage-soft: #8aa896;
  --sand: #d8c6a5;
  --amber: #c99a3f;
  --display: "Fraunces", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; color: var(--sage-deep); }
h3 { font-size: 19px; color: var(--sage-deep); }

.demo-banner { background: var(--sage-deep); color: #d9e2dc; text-align: center; font-size: 12.5px; padding: 7px 16px; letter-spacing: 0.02em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(250 248 244 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--sage-deep); text-decoration: none; line-height: 1.15; }
.brand span { display: block; font-family: var(--body); font-weight: 600; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: #57635d; text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color 180ms ease; }
.nav-links a:hover { color: var(--sage); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; border: 0; font-family: var(--body); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.btn-primary { background: linear-gradient(120deg, var(--sage), var(--sage-deep)); color: #fff; box-shadow: 0 6px 18px rgb(91 115 101 / 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(91 115 101 / 0.36); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--sage-deep); background: var(--card); }
.btn-ghost:hover { border-color: var(--sage); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn-nav { margin-left: 4px; white-space: nowrap; }
.nav-call { display: none; }

/* ── Hero (hell!) ────────────────────────────────────── */
.hero { background: linear-gradient(165deg, #f4efe6, var(--bg) 55%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.kicker { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.08; color: var(--ink); margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--sage); }
.hero .sub { font-size: 17.5px; color: #4c5751; max-width: 50ch; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: 13.5px; color: var(--muted); }
.stars-inline { color: var(--amber); letter-spacing: 1px; }

/* WOW 1: Wirbelsäule richtet sich auf — Foto + überlagerte Punkte-Kette */
.spine-wrap { position: relative; justify-self: center; }
.hero-photo { margin: 0; }
.hero-photo img { border-radius: 20px; box-shadow: 0 20px 50px rgb(70 89 78 / 0.22); }
.spine { position: absolute; right: -26px; top: 50%; transform: translateY(-50%); width: 72px; height: auto; background: var(--card); border: 1px solid var(--line); border-radius: 40px; box-shadow: 0 10px 30px rgb(70 89 78 / 0.14); padding: 6px 0; }
.spine-line { fill: none; stroke: var(--line); stroke-width: 3; }
.sd { fill: var(--sage-soft); transform-box: fill-box; transform-origin: center; }
/* gekrümmter Startzustand: Punkte seitlich versetzt, richten sich nacheinander mittig auf */
html.js .sd { transform: translateX(0); }
html.js .d1 { transform: translateX(9px); }
html.js .d2 { transform: translateX(14px); }
html.js .d3 { transform: translateX(10px); }
html.js .d4 { transform: translateX(3px); }
html.js .d5 { transform: translateX(-5px); }
html.js .d6 { transform: translateX(-9px); }
html.js .d7 { transform: translateX(-4px); }
html.js.gate-open .sd { animation: spine-align 1.6s cubic-bezier(0.33, 1, 0.68, 1) forwards; }
html.js.gate-open .d1 { animation-delay: 0.5s; }
html.js.gate-open .d2 { animation-delay: 0.62s; }
html.js.gate-open .d3 { animation-delay: 0.74s; }
html.js.gate-open .d4 { animation-delay: 0.86s; }
html.js.gate-open .d5 { animation-delay: 0.98s; }
html.js.gate-open .d6 { animation-delay: 1.1s; }
html.js.gate-open .d7 { animation-delay: 1.22s; }
@keyframes spine-align {
  60% { fill: var(--sage); }
  100% { transform: translateX(0); fill: var(--sage); }
}

/* ── Trust (WOW 3: Atem-Kreis) ───────────────────────── */
.trust { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 22px 20px; }
.trust-item { display: flex; align-items: center; gap: 13px; justify-content: center; }
.trust-item strong { display: block; font-size: 15.5px; line-height: 1.3; color: var(--sage-deep); }
.trust-item span:last-child { font-size: 13px; color: var(--muted); }
.t-ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #eef3ef; color: var(--sage); flex-shrink: 0; position: relative; }
.breath-ic::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--sage-soft); opacity: 0.5; }
html.js .breath-item.in .breath-ic::before { animation: breath 4.5s ease-in-out infinite; }
@keyframes breath {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.16); opacity: 0.15; }
}

/* ── Sektionen ───────────────────────────────────────── */
.section { padding: 84px 0; }
.section.alt { background: #f2efe8; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 10px; font-size: 17px; }

html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* WOW 2: Bewegungsradius-Bogen — Arm hebt sich, Bogen füllt sich */
.rom-demo { max-width: 420px; margin: 0 auto 46px; text-align: center; }
.rom-svg { width: 100%; height: auto; display: block; }
.rom-track { fill: none; stroke: var(--line); stroke-width: 7; stroke-linecap: round; }
.rom-fill { fill: none; stroke: var(--sage-soft); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.rom-limb { stroke: var(--sage-deep); stroke-width: 7; stroke-linecap: round; }
.rom-hand { fill: var(--amber); }
.rom-joint { fill: var(--sage-deep); stroke: #fff; stroke-width: 3; }
.rom-arm { transform-origin: 150px 150px; }
.rom-hidden { display: none; }
html.js .rom-demo.in .rom-arm { animation: rom-lift 2.2s cubic-bezier(0.33, 1, 0.68, 1) 0.4s forwards; }
html.js .rom-demo.in .rom-fill { animation: rom-fill 2.2s cubic-bezier(0.33, 1, 0.68, 1) 0.4s forwards; }
@keyframes rom-lift {
  0% { transform: rotate(0); }
  45% { transform: rotate(70deg); } 58% { transform: rotate(62deg); }
  100% { transform: rotate(160deg); }
}
@keyframes rom-fill {
  0% { stroke-dashoffset: 100; }
  45% { stroke-dashoffset: 61; } 58% { stroke-dashoffset: 65; }
  100% { stroke-dashoffset: 11; }
}
.rom-caption { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.rom-label { font-family: var(--body); font-size: 11px; font-weight: 700; fill: var(--sage); text-anchor: end; letter-spacing: 0.04em; text-transform: uppercase; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgb(70 89 78 / 0.12); border-color: #d3cfc4; }
.card-ic { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: #eef3ef; color: var(--sage); margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: #4c5751; }
html.js .cards .reveal:nth-child(2) { transition-delay: 90ms; }
html.js .cards .reveal:nth-child(3) { transition-delay: 180ms; }
html.js .cards .reveal:nth-child(4) { transition-delay: 270ms; }

.cta-row { margin-top: 44px; text-align: center; }
.cta-row p { color: var(--muted); margin-bottom: 14px; }
.first-visit { max-width: 60ch; margin: 18px auto 0; font-size: 13.5px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }

/* ── WOW 5: Faszien-Linien ───────────────────────────── */
.fascia { height: 60px; overflow: hidden; }
.fascia-svg { width: 100%; height: 100%; display: block; }
.fl { fill: none; stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: 100; }
.f1 { stroke: var(--sage-soft); }
.f2 { stroke: var(--sand); }
.f3 { stroke: var(--line); }
html.js .fascia.in .fl { animation: fascia-draw 1.8s ease forwards; }
html.js .fascia.in .f2 { animation-delay: 0.25s; }
html.js .fascia.in .f3 { animation-delay: 0.5s; }
@keyframes fascia-draw { to { stroke-dashoffset: 0; } }

/* ── Patientenstimmen ────────────────────────────────── */
.rating-panel { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; background: var(--sage-deep); color: #fff; border-radius: 24px; padding: 48px 52px; }
.rating-big { text-align: center; }
.rating-big strong { font-family: var(--display); font-size: 92px; font-weight: 600; line-height: 1; display: block; }
.rating-stars { color: var(--amber); font-size: 24px; letter-spacing: 4px; display: block; margin-top: 6px; }
.rating-sub { display: block; font-size: 13.5px; color: #b9c7be; margin-top: 8px; }
.rating-copy h2 { color: #fff; }
.rating-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.rating-panel .btn-ghost { background: transparent; border-color: rgb(255 255 255 / 0.3); color: #eef3ef; }
.rating-panel .btn-ghost:hover { border-color: #fff; }

/* WOW 4: Termin-Häkchen zeichnet sich am Zitat */
.quote { display: flex; gap: 16px; align-items: flex-start; background: rgb(255 255 255 / 0.08); border-radius: 16px; padding: 18px 20px; margin-top: 14px; }
.q-chk { width: 40px; height: 40px; flex-shrink: 0; margin-top: 2px; }
.q-cal { fill: none; stroke: #b9c7be; stroke-width: 1.6; }
.q-cal-line { fill: none; stroke: #b9c7be; stroke-width: 1.6; stroke-linecap: round; }
.q-tick { fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
html.js .quote-check.in .q-tick { animation: tick-draw 0.7s ease 0.8s forwards; }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
.quote p { font-size: 16.5px; line-height: 1.6; color: #eef3ef; font-style: italic; }
.quote cite { display: block; margin-top: 8px; font-size: 12.5px; font-style: normal; color: #b9c7be; }

/* ── Praxis / Kontakt ────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.about-copy p { margin-top: 14px; color: #3f4a44; }
.about-cta { margin-top: 24px; }
.about-photo img { border-radius: 20px; box-shadow: 0 18px 44px rgb(70 89 78 / 0.18); }
.about-photo figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.contact-card, .contact-form-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; }
.contact-card h3, .contact-form-wrap h3 { margin-bottom: 10px; }
.contact-card p { font-size: 15px; color: #4c5751; margin-bottom: 16px; }
.cc-note { color: var(--muted); font-size: 14px; }
.contact-form { display: grid; gap: 16px; margin-top: 6px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--sage-deep); }
.contact-form input[type="text"], .contact-form textarea { padding: 12px 14px; font-size: 16px; font-family: var(--body); border: 1.5px solid var(--line); border-radius: 10px; background: #fdfcf9; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgb(91 115 101 / 0.14); }
.contact-form button { justify-content: center; }
.form-note { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.form-note a { color: var(--sage); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--sage-deep); color: #b9c7be; padding: 30px 0; font-size: 13.5px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.site-footer a { color: #d9e2dc; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: #fff; }
.made-by a { margin: 0; }

.sticky-call { display: none; }

/* ── Responsiv ───────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; padding-bottom: 56px; }
  .spine { right: 8px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { order: 2; }
  .rating-panel { grid-template-columns: 1fr; gap: 28px; padding: 38px 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .btn-nav { margin-left: auto; }
  .nav-num { display: none; }
  .nav-call { display: inline; }
  .cards { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; gap: 14px; }
  .trust-item { justify-content: flex-start; }
  .section { padding: 60px 0; }
  .sticky-call { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 25; text-align: center; padding: 15px 18px; border-radius: 14px; background: linear-gradient(120deg, var(--sage), var(--sage-deep)); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgb(91 115 101 / 0.4); }
  body { padding-bottom: 76px; }
}

/* Reduzierte Bewegung: Animationen aus, Endzustände sofort */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js.gate-open .sd, html.js .breath-item.in .breath-ic::before,
  html.js .rom-demo.in .rom-arm, html.js .rom-demo.in .rom-fill,
  html.js .fascia.in .fl, html.js .quote-check.in .q-tick,
  .btn, .card {
    animation: none !important;
    transition: none !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  html.js .sd, .sd { transform: translateX(0); fill: var(--sage); }
  .rom-arm { transform: rotate(160deg); }
  .rom-fill { stroke-dashoffset: 11; }
  .fl { stroke-dashoffset: 0; }
  .q-tick { stroke-dashoffset: 0; }
}
