/* Fussruhe – Praxis für Podologie Nevena Seitz, Witten-Mitte.
   Gesundheits-Site: hell, ruhig, viel Weißraum (Praxis-Regel). Petrol + warmer Sand
   (kein Logo bekannt, Farben frei gewählt: „Ruhe" = Wasser/Petrol, Wärme = Sand).
   Nunito (OFL, lokal, variabel 600–900): rund, freundlich, nicht klinisch. */

@font-face {
  font-family: "Nunito";
  src: url("nunito.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f5f0;
  --card: #ffffff;
  --ink: #22302f;
  --muted: #6b7776;
  --line: #e4ded3;
  --petrol: #1d6b68;
  --petrol-deep: #154f4d;
  --petrol-soft: #5aa39f;
  --petrol-pale: #e3efee;
  --sand: #e9dcc6;
  --sand-pale: #f4ede0;
  --amber: #d99a4e;
  --display: "Nunito", "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.015em; }
h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; color: var(--petrol-deep); }
h3 { font-size: 18.5px; color: var(--petrol-deep); letter-spacing: -0.01em; }
h1.page-title { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; color: var(--petrol-deep); }

.demo-banner { background: var(--petrol-deep); color: #d6e6e5; 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(247 245 240 / 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; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 21px; color: var(--petrol-deep); line-height: 1.1; }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.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: #4f5b5a; text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color 180ms ease; }
.nav-links a:hover { color: var(--petrol); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; 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(--petrol), var(--petrol-deep)); color: #fff; box-shadow: 0 6px 18px rgb(29 107 104 / 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(29 107 104 / 0.36); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--petrol-deep); background: var(--card); }
.btn-ghost:hover { border-color: var(--petrol-soft); 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 ────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: linear-gradient(170deg, #eef4f2 0%, var(--bg) 60%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.kicker { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--petrol); font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.06; color: var(--petrol-deep); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--ink); }
.hero .sub { font-size: 17.5px; color: #4a5654; 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(--amber); letter-spacing: 1px; }

/* WOW 1: Schritt für Schritt. Fußabdrücke erscheinen nacheinander (Loop nach Gate-Öffnung) */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.hero-photo { margin: 0; position: relative; z-index: 1; }
.hero-photo::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; background: var(--sand); border-radius: 26px; z-index: -1; }
.hero-photo img { border-radius: 22px; box-shadow: 0 24px 56px rgb(21 79 77 / 0.2); }
.steps-card { position: relative; z-index: 2; margin: -40px -40px 0 auto; width: 340px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px 12px; box-shadow: 0 14px 34px rgb(21 79 77 / 0.16); }
.sc-head { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--petrol-deep); margin-bottom: 6px; }
.steps-card svg { width: 100%; height: auto; display: block; }
.fp { fill: var(--petrol-soft); opacity: 0; transform-box: fill-box; transform-origin: center; }
.fp.r { fill: var(--petrol); }
html.js.gate-open .fp { animation: fp-step 7s ease-in-out infinite; }
html.js.gate-open .fp.s1 { animation-delay: 0.4s; }
html.js.gate-open .fp.s2 { animation-delay: 0.9s; }
html.js.gate-open .fp.s3 { animation-delay: 1.4s; }
html.js.gate-open .fp.s4 { animation-delay: 1.9s; }
html.js.gate-open .fp.s5 { animation-delay: 2.4s; }
html.js.gate-open .fp.s6 { animation-delay: 2.9s; }
@keyframes fp-step {
  0% { opacity: 0; transform: scale(0.6); }
  7% { opacity: 1; transform: scale(1); }
  62% { opacity: 1; transform: scale(1); }
  74% { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.6); }
}
.sc-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

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

/* ── Sektionen ───────────────────────────────────────── */
.section { padding: 84px 0; }
.section.alt { background: var(--sand-pale); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head h2, .about-copy h2, .calm h2 { text-wrap: balance; }
.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 { 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(21 79 77 / 0.12); border-color: #cfdcda; }
.card-ic { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: var(--petrol-pale); color: var(--petrol); margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; overflow-wrap: anywhere; }
.card p { font-size: 14.5px; color: #4a5654; }
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: 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: Ruhe-Bühne mit Wellenringen ──────────────── */
.calm { position: relative; overflow: hidden; background: var(--petrol-deep); color: #fff; }
.calm-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.ripple { position: relative; width: 380px; height: 380px; background: radial-gradient(circle, rgb(255 255 255 / 0.10), transparent 62%); }
.ripple svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rg { fill: none; stroke: #fff; stroke-width: 2.2; opacity: 0; transform-box: view-box; transform-origin: 150px 150px; }
html.js .calm.in .rg { animation: ring 6s ease-out infinite; }
html.js .calm.in .rg.g2 { animation-delay: 1.5s; }
html.js .calm.in .rg.g3 { animation-delay: 3s; }
html.js .calm.in .rg.g4 { animation-delay: 4.5s; }
@keyframes ring { 0% { transform: scale(0.22); opacity: 0.95; } 100% { transform: scale(1.12); opacity: 0; } }
.rp-foot { fill: var(--sand); }
.calm h2 { color: #fff; }
.calm p { color: #d6e6e5; max-width: 56ch; margin-top: 12px; }
.themes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.themes li { background: rgb(255 255 255 / 0.08); border-left: 3px solid var(--sand); padding: 10px 14px; font-size: 15px; color: #eef4f2; border-radius: 0 10px 10px 0; }
.calm .src { font-size: 12.5px; color: #9fbdbb; margin-top: 12px; }
.calm .rating-line { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: #d6e6e5; }
.calm .rating-line strong { font-family: var(--display); font-size: 40px; font-weight: 900; color: #fff; line-height: 1; }
.calm .rating-line .stars-inline { font-size: 18px; }
.calm .btn-primary { background: #fff; color: var(--petrol-deep); box-shadow: 0 6px 18px rgb(0 0 0 / 0.18); margin-top: 22px; }
.calm .btn-ghost { background: transparent; border-color: rgb(255 255 255 / 0.35); color: #fff; margin-top: 22px; margin-left: 10px; }

/* ── WOW 3: Erster Termin in drei Schritten, Häkchen zeichnen sich ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; position: relative; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--petrol-pale); color: var(--petrol); font-family: var(--display); font-weight: 900; font-size: 18px; margin-bottom: 14px; position: relative; }
.step-no svg { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); }
.tick-ring { fill: none; stroke: var(--petrol); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 100; }
html.js .steps.in .step:nth-child(1) .tick-ring { animation: draw 1s ease 0.2s forwards; }
html.js .steps.in .step:nth-child(2) .tick-ring { animation: draw 1s ease 0.9s forwards; }
html.js .steps.in .step:nth-child(3) .tick-ring { animation: draw 1s ease 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: #4a5654; }

/* ── Praxis / Kontakt ────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.about-copy p { margin-top: 14px; color: #4a5654; }
.about-cta { margin-top: 24px; }
.about-photo img { border-radius: 20px; box-shadow: 0 18px 44px rgb(21 79 77 / 0.16); }
.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; color: var(--petrol-deep); }

.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: #4a5654; 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; color: var(--petrol-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: 12px; background: #fdfcfa; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--petrol-soft); box-shadow: 0 0 0 3px rgb(29 107 104 / 0.16); }
.contact-form button { justify-content: center; }
.form-note { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.form-note a { color: var(--petrol); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--petrol-deep); color: #b9d2d0; 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: #e3efee; 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; }
  .hero-photo::before { inset: 18px -14px -14px 18px; }
  .steps-card { margin: 34px 0 0; width: 100%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .calm-grid { grid-template-columns: 1fr; gap: 24px; }
  .ripple { width: 240px; height: 240px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { order: 2; }
  .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; }
  .brand { font-size: 18px; }
  .cards { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; gap: 14px; }
  .trust-item { justify-content: flex-start; }
  .section { padding: 60px 0; }
  .themes { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .calm .btn-ghost { margin-left: 0; }
  .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: 999px; background: linear-gradient(120deg, var(--petrol), var(--petrol-deep)); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgb(29 107 104 / 0.4); }
  .sticky-call.show { opacity: 1; pointer-events: auto; transform: none; }
  html:not(.js) .sticky-call { opacity: 1; pointer-events: auto; transform: none; }
  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 .fp, html.js .calm.in .rg, .tick-ring, .btn, .card { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .fp { opacity: 1; transform: none; }
  .rg { opacity: 0.25; transform: scale(0.8); }
  .tick-ring { stroke-dashoffset: 0; }
}
