/* ==========================================================================
   Erft-Physio – Startseite
   Modernes Rebuild nach Design "Erft-Physio_desktop-modern"
   ========================================================================== */

:root {
  --lime: #8ac200;
  --lime-strong: #7aac00;
  --olive: #588526;
  --forest: #243a23;
  --forest-soft: #2e4a2c;
  --red: #ee1414;
  --ink: #141414;
  --ink-soft: #2a2a2a;
  --muted: #6b7075;
  --muted-light: #9aa0a4;
  --line: #e7e7e3;
  --card: #f3f3f1;
  --card-dark: #1c1c1c;
  --white: #ffffff;

  --container: 1200px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', 'Inter', system-ui, sans-serif;

  --shadow-sm: 0 4px 18px rgba(20, 20, 20, .06);
  --shadow-md: 0 18px 50px rgba(20, 20, 20, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

.section-pad { padding-block: clamp(64px, 9vw, 130px); }

/* ---- Kicker / Eyebrow ---- */
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--lime);
  margin-bottom: 14px;
}
.kicker--muted { color: var(--muted); }

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  letter-spacing: -.03em;
}

.lead { color: var(--muted); font-size: 1.05rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn-pill i { font-size: 1rem; }

.btn-lime {
  background: var(--lime);
  color: #fff;
}
.btn-lime:hover { background: var(--lime-strong); transform: translateY(-2px); }

.btn-lime .btn-arrow {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  margin: -6px -10px -6px 4px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: transform .25s var(--ease);
}
.btn-lime:hover .btn-arrow { transform: translateX(3px); }

.btn-light {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-light:hover { transform: translateY(-2px); }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: .9rem;
  text-align: center;
  padding: 10px 16px;
}
.topbar__wrap { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.topbar__badge {
  background: var(--lime);
  color: #143a00;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 5px;
}
.topbar strong { font-weight: 700; }
.topbar__wrap span.sep { color: var(--muted-light); }
.topbar .muted { color: #c9cdca; font-weight: 400; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .0);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 50px; width: auto; display: block; }

.nav__menu { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  transition: color .2s;
}
.nav__menu a:hover, .nav__menu a.active { color: var(--lime-strong); }

.nav__toggle {
  display: none;
  background: none; border: none; font-size: 1.7rem; color: var(--ink); cursor: pointer;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: 28px; padding-bottom: 44px; overflow: hidden; }
.hero__text { position: relative; z-index: 2; max-width: 680px; }
.hero__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; }
.hero__rating small { color: var(--muted); font-weight: 500; font-family: var(--font-display); }

.hero__intro { color: var(--muted); font-size: 1.02rem; max-width: 460px; margin-bottom: 22px; }

.hero__title {
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  letter-spacing: -.045em;
  line-height: .92;
  margin-bottom: 10px;
}
.hero__title .accent { color: var(--ink); }
.hero__sub-title { display: block; font-weight: 700; font-size: clamp(1.7rem, 4vw, 3.15rem); line-height: 1.06; letter-spacing: -.03em; color: var(--ink); }
.hero__lead { color: var(--muted); font-size: 1.1rem; margin: 22px 0 30px; }

.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  width: min(52%, 820px);
  z-index: 1;
  pointer-events: none;
}
.hero__media img { width: 100%; height: auto; display: block; }

/* Stats strip */
.hero-stats { border-top: 1px solid var(--line); margin-top: 40px; }
.hero-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-block: clamp(48px, 6vw, 86px) 0;
}
.hero-stat { text-align: center; }
.hero-stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  letter-spacing: -.03em;
  line-height: 1;
}
.hero-stat__num sub, .hero-stat__num .unit { font-size: .45em; font-weight: 600; vertical-align: baseline; }
.hero-stat__label { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--ink-soft); font-size: 1.02rem; }
.check {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--lime); color: #143a00; font-size: .8rem;
}

/* ==========================================================================
   Leistungen (Cards)
   ========================================================================== */
.head-block { margin-bottom: 48px; }
.head-block .section-title { max-width: 720px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.leistung-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 20px;
}
.leistung-card h3 { font-size: 1.55rem; margin-bottom: 18px; letter-spacing: -.02em; }
.leistung-card .btn-pill { font-size: .9rem; padding: 11px 20px; }

.dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: #cfcfca; }
.dots span.active { background: var(--olive); width: 22px; border-radius: 5px; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { text-align: center; }
.team-card__photo {
  width: 100%; max-width: 300px; aspect-ratio: 1; margin-inline: auto;
  border-radius: 50%; object-fit: cover;
}
.team-card__role { color: var(--lime); font-family: var(--font-display); font-weight: 600; font-size: .85rem; margin: 22px 0 8px; }
.team-card__name { font-size: 1.7rem; letter-spacing: -.02em; }

/* ==========================================================================
   Weg zur Besserung (Timeline)
   ========================================================================== */
.weg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.weg__lead { color: var(--muted); font-size: 1.08rem; margin-top: 22px; max-width: 380px; }
.weg .section-title { font-size: clamp(2rem, 4vw, 3.1rem); }

.timeline { position: relative; }
.tl-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding-bottom: 60px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 6px; width: 2px; background: var(--lime);
}
.tl-item:last-child::before { display: none; }
.tl-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  position: relative; z-index: 1;
}
.tl-body h3 { font-size: 1.7rem; margin-bottom: 8px; letter-spacing: -.02em; }
.tl-body.is-red h3 { color: var(--red); }
.tl-body p { color: var(--muted); margin: 0 0 16px; max-width: 380px; }
.tl-body .btn-pill { font-size: .9rem; padding: 11px 20px; }

/* ==========================================================================
   Behandlungsbereiche
   ========================================================================== */
.center-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.center-head .lead { margin-top: 16px; }

.bereich-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.bereich-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; margin-bottom: 24px; }
.bereich-card h3 { font-size: 1.5rem; margin-bottom: 12px; padding-inline: 4px; }
.bereich-card p { color: var(--muted); padding-inline: 4px; margin-bottom: 24px; }
.bereich-card .btn-pill { font-size: .9rem; padding: 11px 20px; margin: 0 4px; }

/* ==========================================================================
   Praxis
   ========================================================================== */
.praxis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.praxis__img img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.praxis__text .section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 26px; }
.praxis__text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 20px; }

/* ==========================================================================
   Nordic Walking (dark)
   ========================================================================== */
.nordic { background: var(--forest); color: #eef1ec; }
.nordic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nordic h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.nordic__sub { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 16px 0 20px; }
.nordic p { color: #c3cdbf; font-size: 1.05rem; max-width: 480px; margin-bottom: 30px; }
.nordic__img img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }

/* ==========================================================================
   Erfahrungen / Reviews
   ========================================================================== */
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.reviews__img img { width: 100%; border-radius: var(--radius-lg); }
.reviews__text .hero__rating { margin-bottom: 22px; }
.reviews__text .section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 30px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__head { margin-bottom: 40px; }
.faq__head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.faq__head p { color: var(--muted); font-family: var(--font-display); font-weight: 500; margin-top: 12px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 30px 4px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: -.02em; color: var(--ink); text-align: left;
}
.faq-q__icon { color: var(--lime); font-size: 1.6rem; flex: none; transition: transform .3s var(--ease); }
.faq-q[aria-expanded="true"] .faq-q__icon { transform: rotate(45deg); }
.faq-a { padding: 0 4px 30px; max-width: 820px; }
.faq-a p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta { }
.cta__box {
  position: relative;
  background: var(--forest);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.cta__img {
  position: absolute; inset: 0 0 0 auto;
  width: 58%; height: 100%;
  object-fit: cover;
  -webkit-clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.cta__content { position: relative; z-index: 2; padding: clamp(40px, 6vw, 70px); max-width: 560px; }
.cta__content h2 { color: #f4f6f1; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.03em; }
.cta__content p { color: #c3cdbf; font-size: 1.08rem; margin: 20px 0 30px; max-width: 400px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding-block: clamp(60px, 7vw, 96px) 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 40px;
}
.footer h6 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  color: var(--ink); margin: 0 0 26px; display: flex; align-items: center; gap: 14px;
}
.footer h6 .fb { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.footer strong { display: block; font-weight: 600; margin-bottom: 4px; }
.footer p, .footer a, .footer li { color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 12px; }
.footer a:hover { color: var(--lime-strong); }
.footer__block + .footer__block { margin-top: 34px; }
.footer__route { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }

.footer__bottom {
  margin-top: 60px;
  display: flex; justify-content: center; gap: 34px;
  color: var(--muted); font-size: .95rem;
}
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--ink); }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--lime); color: #143a00; font-size: 1.2rem; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease); box-shadow: var(--shadow-md);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .nav__inner .btn-pill { display: none; }

  .hero { padding-top: 20px; }
  .hero__text { max-width: none; }
  .hero__media { position: static; width: auto; margin: -30px -24px 28px; }
  .hero__title { font-size: clamp(2.8rem, 15vw, 5rem); line-height: .95; }
  .hero__sub-title { font-size: clamp(1.5rem, 7vw, 2.6rem); line-height: 1.08; }

  .weg-grid, .praxis-grid, .nordic-grid, .reviews-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards-3, .team-grid { grid-template-columns: 1fr 1fr; }

  .cta__img { width: 100%; opacity: .28; clip-path: none; }
  .cta__content { max-width: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .cards-3, .team-grid, .hero-stats__grid, .footer__grid { grid-template-columns: 1fr; }
  .hero-stats__grid { gap: 34px; }
  .team-card__photo { max-width: 240px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Mobile nav open */
.nav__menu.is-open {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 24px; box-shadow: var(--shadow-md);
}
