/* Claudia Wenzel Physiotherapie, Duisburg-Duissern.
   Farben aus dem ECHTEN Logo der Praxis (Rot #c8161d + Orange #f08a24), sonst hell,
   ruhig, viel Weißraum (Praxis-Regel: kein dunkles Hero). Manrope (OFL, lokal) als
   Display-Schrift, weil das Logo eine breite, klare Grotesk nutzt. */

@font-face {
  font-family: "Manrope";
  src: url("manrope.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fdfaf6;
  --card: #ffffff;
  --ink: #2a2523;
  --muted: #736860;
  --line: #ece2d8;
  --red: #c8161d;
  --red-deep: #a11218;
  --orange: #f08a24;
  --orange-soft: #fbe6cf;
  --orange-pale: #fdf3e6;
  --display: "Manrope", "Helvetica Neue", Arial, sans-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; scroll-padding-top: 80px; }
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: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; color: var(--ink); }
h3 { font-size: 18.5px; color: var(--ink); letter-spacing: -0.01em; }
h1.page-title { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; }

.demo-banner { background: var(--red-deep); color: #fbe3e4; 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(253 250 246 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; border-radius: 6px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: #5a4f48; text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color 180ms ease; }
.nav-links a:hover { color: var(--red); }

/* 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(--red), var(--red-deep)); color: #fff; box-shadow: 0 6px 18px rgb(200 22 29 / 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(200 22 29 / 0.36); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--orange); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn-nav { margin-left: 4px; white-space: nowrap; }
.nav-call { display: none; }

/* ── Hero ────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: linear-gradient(170deg, #fff4e8 0%, var(--bg) 60%); }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgb(240 138 36 / 0.22), transparent 62%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 110px; }
.kicker { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .sub { font-size: 17.5px; color: #4f453f; max-width: 52ch; 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(--orange); letter-spacing: 1px; }

/* WOW 1: Verspannung wird Entspannung. Eine gezackte Linie zeichnet sich aus,
   eine ruhige Welle zeichnet sich ein (nach Gate-Öffnung). */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.hero-photo { margin: 0; }
.hero-photo img { border-radius: 22px; box-shadow: 0 24px 56px rgb(120 60 20 / 0.22); }
.tension { position: absolute; left: -60px; bottom: -58px; width: 320px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px 10px; box-shadow: 0 14px 34px rgb(120 60 20 / 0.16); }
.tension svg { width: 100%; height: auto; display: block; }
.t-tense { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; opacity: 0.9; }
.t-calm { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.t-head { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 4px; }
.t-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.t-label span:last-child { color: var(--orange); }
/* Loop (12 s): Zickzack zeichnet sich aus, Welle zeichnet sich ein, hält, kehrt zurück */
html.js.gate-open .t-tense { animation: t-out 12s ease-in-out 0.6s infinite; }
html.js.gate-open .t-calm { animation: t-in 12s ease-in-out 0.6s infinite; }
@keyframes t-out { 0% { stroke-dashoffset: 0; opacity: 0.9; } 14% { stroke-dashoffset: -100; opacity: 0.2; } 72% { stroke-dashoffset: -100; opacity: 0.2; } 90% { stroke-dashoffset: 0; opacity: 0.9; } 100% { stroke-dashoffset: 0; opacity: 0.9; } }
@keyframes t-in { 0% { stroke-dashoffset: 100; } 8% { stroke-dashoffset: 100; } 24% { stroke-dashoffset: 0; } 72% { stroke-dashoffset: 0; } 84% { stroke-dashoffset: 100; } 100% { stroke-dashoffset: 100; } }

/* ── Vertrauensleiste ────────────────────────────────── */
.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; }
.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: var(--orange-pale); color: var(--red); flex-shrink: 0; }

/* ── Sektionen ───────────────────────────────────────── */
.section { padding: 84px 0; }
.section.alt { background: #f8f1ea; }
.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; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; 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; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgb(120 60 20 / 0.12); border-color: #e8cfb4; }
.card-ic { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: var(--orange-pale); color: var(--red); margin-bottom: 16px; position: relative; }
.card h3 { margin-bottom: 8px; overflow-wrap: anywhere; hyphens: auto; }
.card p { font-size: 14.5px; color: #4f453f; }
html.js .cards .reveal:nth-child(2), html.js .cards .reveal:nth-child(6) { transition-delay: 90ms; }
html.js .cards .reveal:nth-child(3), html.js .cards .reveal:nth-child(7) { transition-delay: 180ms; }
html.js .cards .reveal:nth-child(4), html.js .cards .reveal:nth-child(8) { transition-delay: 270ms; }

/* WOW 3: Die Fango-Karte atmet Wärme (ruhiger Glow, 5s) */
.card-warm::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgb(240 138 36 / 0.35), transparent 65%); opacity: 0.5; pointer-events: none; }
html.js .card-warm.in::after { animation: warm 5s ease-in-out infinite; }
@keyframes warm { 0%, 100% { transform: scale(1); opacity: 0.45; } 50% { transform: scale(1.25); opacity: 0.85; } }

.cta-row { margin-top: 44px; text-align: center; }
.cta-row p { color: var(--muted); margin-bottom: 14px; }
.first-visit { max-width: 62ch; 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 2: Hausbesuch, der Weg zeichnet sich von der Praxis zu Ihnen ── */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.visit-copy p { margin-top: 14px; color: #4f453f; }
.visit-copy .btn { margin-top: 24px; }
.visit-map { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 18px 44px rgb(120 60 20 / 0.12); }
.visit-map svg { width: 100%; height: auto; display: block; }
.vm-street { stroke: #efe6dc; stroke-width: 14; stroke-linecap: round; fill: none; }
.vm-path { fill: none; stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 8 8; }
.vm-path-draw { fill: none; stroke: var(--red); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.vm-pin { fill: var(--red); }
.vm-pin-in { fill: #fff; }
.vm-house { fill: #fff; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.vm-house-roof { fill: var(--orange); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.vm-ring { fill: none; stroke: var(--orange); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.vm-label { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--muted); }
.vm-label.strong { fill: var(--ink); }
html.js .visit-map.in .vm-path-draw { animation: vm-draw 2.4s cubic-bezier(0.33, 1, 0.68, 1) 0.3s forwards; }
html.js .visit-map.in .vm-ring { animation: vm-ring 2.6s ease-out 2.4s infinite; }
@keyframes vm-draw { to { stroke-dashoffset: 0; } }
@keyframes vm-ring { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ── Patientenstimmen ────────────────────────────────── */
.rating-panel { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; background: var(--red-deep); color: #fff; border-radius: 24px; padding: 48px 52px; position: relative; overflow: hidden; }
.rating-panel::after { z-index: 0; content: ""; position: absolute; right: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgb(240 138 36 / 0.45), transparent 65%); pointer-events: none; }
.rating-big { text-align: center; position: relative; z-index: 1; }
.rating-big strong { font-family: var(--display); font-size: 92px; font-weight: 800; line-height: 1; display: block; letter-spacing: -0.03em; }
.rating-stars { color: var(--orange); font-size: 24px; letter-spacing: 4px; display: block; margin-top: 6px; }
.rating-sub { display: block; font-size: 13.5px; color: #f3c7c9; margin-top: 8px; }
.rating-copy { position: relative; z-index: 1; }
.rating-copy h2 { color: #fff; }
.rating-copy p { margin-top: 12px; color: #fbe3e4; max-width: 56ch; }
.rating-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.rating-panel .btn-primary { background: #fff; color: var(--red-deep); box-shadow: 0 6px 18px rgb(0 0 0 / 0.18); }
.rating-panel .btn-ghost { background: transparent; border-color: rgb(255 255 255 / 0.35); color: #fff; }
.rating-panel .btn-ghost:hover { border-color: #fff; }

/* ── Praxis / Kontakt ────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.about-copy p { margin-top: 14px; color: #4f453f; }
.about-cta { margin-top: 24px; }
.about-photo img { border-radius: 20px; box-shadow: 0 18px 44px rgb(120 60 20 / 0.18); }
.about-photo figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.fact strong { display: block; font-family: var(--display); font-weight: 800; font-size: 15px; }

.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: #4f453f; margin-bottom: 16px; }
.cc-note { color: var(--muted); font-size: 14px; }
.cc-links { display: grid; gap: 10px; }
.cc-links .btn { justify-content: flex-start; }
.contact-form { display: grid; gap: 16px; margin-top: 6px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.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: #fffdfa; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgb(240 138 36 / 0.2); }
.contact-form button { justify-content: center; }
.form-note { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.form-note a { color: var(--red); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: #2a2523; color: #cdbfb4; 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: #ede2d8; 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: 44px; padding-top: 52px; padding-bottom: 56px; }
  .hero-visual { max-width: 560px; }
  .tension { left: 12px; bottom: -40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .visit-grid, .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; }
  .brand img { height: 40px; }
  .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; }
  .tension { position: static; width: 100%; margin-top: 14px; }
  .hero-grid { padding-bottom: 64px; }
  .about-facts { grid-template-columns: 1fr; }
  .sticky-call { display: block; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 250ms ease, transform 250ms ease; 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(--red), var(--red-deep)); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgb(200 22 29 / 0.4); }
  .sticky-call.show { opacity: 1; pointer-events: auto; transform: none; }
  html:not(.js) .sticky-call { opacity: 1; pointer-events: auto; transform: none; }
  .vm-label { font-size: 13.5px; }
  .visit-map { padding: 20px 16px; }
  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 .t-tense, html.js.gate-open .t-calm,
  html.js .card-warm.in::after, html.js .visit-map.in .vm-path-draw, html.js .visit-map.in .vm-ring,
  .btn, .card { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .t-tense { opacity: 0.25; stroke-dashoffset: -100; }
  .t-calm { stroke-dashoffset: 0; }
  .vm-path-draw { stroke-dashoffset: 0; }
  .vm-ring { opacity: 0.5; transform: scale(1.2); }
}
