/* ==========================================================================
   Physiodome Berlin – Rückenzentrum Nord
   ========================================================================== */

:root {
  /* Markenfarben */
  --yellow: #f7c325;
  --yellow-deep: #e5ad10;
  --yellow-soft: #fdf3d3;
  --yellow-bg: #fefaee;
  --red: #e23e33;

  --navy: #0f2a43;
  --navy-soft: #16375a;
  --blue: #1d4e79;
  --blue-mid: #2e6da4;
  --blue-soft: #e9f1f8;

  --ink: #1c2c3a;
  --muted: #5b6b7a;
  --line: #e6e9ee;
  --bg: #ffffff;

  --radius: 20px;
  --shadow-sm: 0 2px 10px rgba(15, 42, 67, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 42, 67, 0.1);
  --shadow-lg: 0 18px 50px rgba(15, 42, 67, 0.16);

  --header-h: 74px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system,
    Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-mid);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

section {
  scroll-margin-top: calc(var(--header-h) + 32px);
}

/* --------------------------------------------------------------------------
   Header – schwebende Pill, klar vom Inhalt abgehoben
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding-inline: 1rem;
}

.site-header .bar {
  width: min(1120px, 100%);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.1rem 0 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 42, 67, 0.07);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
}

.brand:hover {
  text-decoration: none;
}

.brand .logo-mark {
  width: 46px;
  height: 46px;
  flex: none;
}

.brand .brand-name {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand .brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
  background: var(--yellow-soft);
  text-decoration: none;
}

.main-nav a.nav-cta {
  margin-left: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 3px 12px rgba(247, 195, 37, 0.45);
}

.main-nav a.nav-cta svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.main-nav a.nav-cta .cta-label {
  display: none;
}

.main-nav a.nav-cta:hover {
  background: var(--yellow-deep);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: var(--yellow-soft);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  stroke-width: 2.2;
  stroke-linecap: round;
  fill: none;
}

.menu-btn .icon-close {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -180px -10vw auto auto;
  width: 720px;
  height: 720px;
  background: radial-gradient(
    closest-side,
    var(--yellow-soft) 0%,
    rgba(253, 243, 211, 0.55) 55%,
    transparent 100%
  );
  border-radius: 50%;
  z-index: -1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.hero h1 .accent {
  color: transparent;
  background: linear-gradient(120deg, var(--blue-mid), var(--blue));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero .lead {
  margin-top: 1.3rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(247, 195, 37, 0.5);
}

.btn-primary:hover {
  background: var(--yellow-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue-mid);
}

.btn-secondary:hover {
  background: var(--blue-soft);
}

.hero-art {
  position: relative;
}

.hero-art .logo-hero {
  width: min(420px, 100%);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Abschnitte allgemein
   -------------------------------------------------------------------------- */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--yellow-bg);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Praxis
   -------------------------------------------------------------------------- */

.praxis-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: stretch;
}

.praxis-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem;
}

.praxis-card h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 0.15rem;
}

.praxis-card .sub,
.contact-card .sub {
  color: var(--blue-mid);
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 1.05rem;
}

.info-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.info-list .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--yellow-soft);
  display: grid;
  place-items: center;
}

.info-list .ico svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.info-list .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-list .value {
  color: var(--ink);
  font-weight: 500;
}

.info-list .value a {
  color: var(--blue);
  font-weight: 600;
}

/* Deko: stilisierte Wirbelsäule */

.spine-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  text-align: center;
  color: #fff;
}

.spine-card svg {
  width: 120px;
  height: auto;
}

.spine-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 22rem;
}

.spine-card strong {
  color: var(--yellow);
}

/* --------------------------------------------------------------------------
   Leistungen
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(247, 195, 37, 0.7);
}

.service .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.service .ico svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service h3 {
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.3;
}

/* Zusatzleistungen */

.extra {
  margin-top: 2.6rem;
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.4rem;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.extra::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(247, 195, 37, 0.08);
}

.extra h3 {
  font-size: 1.25rem;
  margin-bottom: 1.4rem;
  color: var(--navy);
}

.extra-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  position: relative;
}

.extra-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
}

.extra-item .ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--yellow);
  display: grid;
  place-items: center;
}

.extra-item .ico svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.extra-item p {
  color: var(--ink);
  font-weight: 500;
  overflow-wrap: break-word;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Kontakt & Anfahrt
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem;
}

.contact-card h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}

.transit {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.transit li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.transit .mode {
  flex: none;
  font-weight: 700;
  color: var(--navy);
  min-width: 7.5rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge {
  display: inline-block;
  padding: 0.18rem 0.65rem;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.badge.sbahn {
  background: #348e5c;
}

.badge.ubahn {
  background: #1d5c9e;
}

.badge.bus {
  background: #8f2a6e;
}

.transit .note {
  color: var(--muted);
  font-size: 0.95rem;
  width: 100%;
  padding-left: calc(7.5rem + 0.9rem);
  margin-top: -0.5rem;
}

/* --------------------------------------------------------------------------
   Footer – dunkel, klar abgesetzt
   -------------------------------------------------------------------------- */

.footer-wave {
  display: block;
  width: 100%;
  height: 70px;
  margin-bottom: -1px;
  background: var(--yellow-bg);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.2rem 0 2.6rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.footer-brand .logo-mark {
  width: 52px;
  height: 52px;
  flex: none;
}

.footer-brand strong {
  color: #fff;
  font-size: 1.1rem;
  display: block;
}

.footer-brand .sub {
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 20rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.footer-contact {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--yellow);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Impressum
   -------------------------------------------------------------------------- */

.impressum-main {
  min-height: 55vh;
  display: grid;
  place-items: center;
  padding: 5rem 0;
}

.impressum-box {
  max-width: 44rem;
  text-align: center;
}

.impressum-box h1 {
  color: var(--navy);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  margin-bottom: 1.2rem;
}

.impressum-box p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    text-align: center;
  }

  .hero .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art .logo-hero {
    width: min(340px, 80%);
  }

  .praxis-grid,
  .contact-grid,
  .extra-items {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .menu-btn {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(var(--header-h) + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(15, 42, 67, 0.07);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 0.8rem;
    display: none;
  }

  .main-nav a {
    text-align: center;
    padding: 0.85rem;
  }

  .main-nav a.nav-cta {
    margin-left: 0;
    margin-top: 0.3rem;
    padding: 0.85rem;
  }

  .main-nav a.nav-cta .cta-label {
    display: inline;
  }

  body.nav-open .main-nav {
    display: flex;
  }

  body.nav-open .menu-btn .icon-burger {
    display: none;
  }

  body.nav-open .menu-btn .icon-close {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .brand .brand-sub {
    display: none;
  }

  .transit .note {
    padding-left: 0;
    margin-top: 0;
  }

  .section {
    padding: 3.5rem 0;
  }
}
