:root {
  --bg: #f5f8f7;
  --surface: #ffffff;
  --surface-soft: #eaf3f0;
  --text: #1d2926;
  --muted: #60706b;
  --primary: #216b5c;
  --primary-dark: #164f44;
  --accent: #d7e9e4;
  --border: #d9e4e0;
  --warning: #fff7df;
  --warning-border: #e3b949;
  --shadow: 0 12px 34px rgba(28, 76, 65, .09);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: 76px; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .8rem;
  color: var(--text); text-decoration: none; font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 43px; height: 43px; border-radius: 14px;
  display: grid; place-items: center;
  color: #fff; background: var(--primary);
  font-size: 1.45rem; box-shadow: var(--shadow);
}
.brand small {
  display: block; color: var(--muted); font-size: .78rem;
  font-weight: 650; letter-spacing: 0;
}
.site-nav { display: flex; gap: .25rem; align-items: center; }
.site-nav a {
  color: var(--text); text-decoration: none; padding: .65rem .72rem;
  border-radius: 10px; font-size: .94rem; font-weight: 700;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--surface-soft); color: var(--primary-dark);
}
.menu-toggle {
  display: none; border: 1px solid var(--border); background: var(--surface);
  border-radius: 12px; padding: .65rem .8rem; font: inherit; cursor: pointer;
}

.hero {
  padding: 5.4rem 0 4rem;
  background:
    radial-gradient(circle at 84% 20%, rgba(33,107,92,.13), transparent 25rem),
    linear-gradient(180deg, #fafdfc 0%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 3rem; align-items: center; }
.eyebrow {
  margin: 0 0 .7rem; color: var(--primary); font-weight: 850;
  text-transform: uppercase; font-size: .78rem; letter-spacing: .12em;
}
h1,h2,h3 { line-height: 1.15; letter-spacing: -.03em; }
h1 { font-size: clamp(2.35rem, 6vw, 4.7rem); max-width: 13ch; margin: 0 0 1.2rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 0 0 1rem; }
h3 { font-size: 1.16rem; margin: 0 0 .45rem; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 64ch; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  padding: .75rem 1.05rem; border-radius: 12px; text-decoration: none;
  font-weight: 800; border: 1px solid transparent;
}
.button-primary { color: #fff; background: var(--primary); }
.button-primary:hover { color: #fff; background: var(--primary-dark); }
.button-secondary { color: var(--text); border-color: var(--border); background: var(--surface); }

.hero-card,.card,.notice,.contact-box,.legal-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-card,.contact-box,.legal-box { padding: 1.45rem; }
.hero-card dl { margin: 0; }
.hero-card dl > div {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem;
  padding: .86rem 0; border-bottom: 1px solid var(--border);
}
.hero-card dl > div:last-child { border-bottom: 0; }
.hero-card dt { color: var(--muted); }
.hero-card dd { margin: 0; font-weight: 800; text-align: right; }

.alert {
  margin-top: 1rem; padding: .9rem 1rem; border-radius: 14px;
  background: var(--warning); border: 1px solid var(--warning-border);
}
.alert strong { display: block; margin-bottom: .15rem; }

.section { padding: 4.25rem 0; }
.section-soft { background: var(--surface-soft); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }

.grid-3,.grid-2 { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.card { padding: 1.35rem; }
.card p:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.15rem; margin-bottom: 0; }

.icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid;
  place-items: center; background: var(--accent); margin-bottom: 1rem;
  font-size: 1.18rem;
}
.page-hero { padding: 4.4rem 0 2.6rem; }
.page-hero h1 { font-size: clamp(2.2rem,5vw,4rem); max-width: 18ch; }
.prose { max-width: 840px; }
.prose h2 { margin-top: 2.35rem; }
.prose h3 { margin-top: 1.55rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .35rem; }
.muted { color: var(--muted); }

.notice {
  padding: 1rem 1.15rem; border-left: 5px solid var(--primary); box-shadow: none;
}
.schedule {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
}
.schedule th,.schedule td {
  text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--border);
}
.schedule th { background: var(--surface-soft); }
.schedule tr:last-child td { border-bottom: 0; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li + li { margin-top: .78rem; }

.jump-links {
  display: flex; gap: .55rem; flex-wrap: wrap; margin: 1.25rem 0 2rem;
}
.jump-links a {
  text-decoration: none; background: var(--surface); border: 1px solid var(--border);
  padding: .55rem .75rem; border-radius: 999px; font-weight: 700;
}
.detail-section { scroll-margin-top: 100px; }

.site-footer {
  border-top: 1px solid var(--border); padding: 2rem 0;
  background: #fff; color: var(--muted);
}
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { color: inherit; }

@media (max-width: 900px) {
  .hero-grid,.grid-3,.grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 3.7rem; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 1rem; right: 1rem; top: 69px;
    flex-direction: column; align-items: stretch; padding: .65rem;
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem; }
}
@media (max-width: 540px) {
  .brand small { display: none; }
  .hero-card dl > div { grid-template-columns: 1fr; gap: .2rem; }
  .hero-card dd { text-align: left; }
  .section { padding: 3.2rem 0; }
}


/* Hero with practice image */
.hero-photo {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 5.8rem 0 5rem;
  background: #20322d;
}

.hero-photo-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("../img/praxis-titelbild.png");
  background-size: cover;
  background-position: center 52%;
  transform: scale(1.01);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(15, 31, 27, .82) 0%,
      rgba(15, 31, 27, .63) 42%,
      rgba(15, 31, 27, .22) 68%,
      rgba(15, 31, 27, .08) 100%),
    linear-gradient(180deg,
      rgba(11, 29, 25, .08) 0%,
      rgba(11, 29, 25, .20) 100%);
}

.hero-photo-content {
  position: relative;
  z-index: 1;
}

.hero-copy-panel {
  max-width: 720px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.hero-copy-panel .eyebrow {
  color: #d9efe9;
}

.hero-copy-panel h1 {
  max-width: 12ch;
}

.hero-copy-panel .lead {
  color: rgba(255,255,255,.88);
  max-width: 58ch;
}

.hero-secondary {
  background: rgba(255,255,255,.94);
  border-color: rgba(255,255,255,.65);
}

.hero-secondary:hover {
  background: #fff;
}

.hero-hours {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,.46);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

@media (max-width: 900px) {
  .hero-photo {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }

  .hero-photo-overlay {
    background:
      linear-gradient(180deg,
        rgba(15,31,27,.80) 0%,
        rgba(15,31,27,.68) 52%,
        rgba(15,31,27,.46) 100%);
  }

  .hero-photo-media {
    background-position: 58% center;
  }

  .hero-copy-panel {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-photo {
    padding-top: 3.6rem;
  }

  .hero-photo-media {
    background-position: 62% center;
  }

  .hero-copy-panel h1 {
    max-width: 11ch;
  }
}





.appointment-cta {
  padding: 1.15rem 0 1.4rem;
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.appointment-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1.1rem;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(33,107,92,.14);
  border-radius: 16px;
}

.appointment-cta-copy {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  flex-wrap: wrap;
}

.appointment-cta-kicker {
  color: var(--primary);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.appointment-cta-copy strong {
  font-size: 1rem;
  letter-spacing: -.01em;
}

.appointment-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: .65rem 1rem;
  color: #fff;
  background: #176fbd;
  border-color: #176fbd;
  box-shadow: none;
}

.appointment-button:hover {
  color: #fff;
  background: #115c9f;
  border-color: #115c9f;
}

@media (max-width: 700px) {
  .appointment-cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .appointment-button {
    width: 100%;
  }
}
