/* ============================================================
   SmileDent Berlin — Zahnarztpraxis Mariendorf
   Farben aus dem Logo: Grün #5FAF1F · Blau #17549B
   ============================================================ */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
}

:root {
  --blue: #17549B;
  --blue-dark: #0E3A6E;
  --blue-darker: #092A52;
  --blue-light: #EAF1F9;
  --blue-mid: #4A80B8;
  --green: #5FAF1F;
  --green-dark: #4C8F17;
  --green-light: #EEF7E4;
  --ink: #16283C;
  --muted: #5A6B7E;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FB;
  --line: #E3EAF2;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 10px 40px rgba(14, 58, 110, 0.10);
  --shadow-soft: 0 4px 20px rgba(14, 58, 110, 0.07);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
::selection { background: #D5ECBC; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(95, 175, 31, 0.35);
}
.btn-green:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(23, 84, 155, 0.30);
}
.btn-blue:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-white {
  background: #fff;
  color: var(--blue-dark);
}
.btn-white:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--blue-dark);
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: #B4DD8B; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; opacity: .95; }
.topbar-right { display: flex; gap: 24px; align-items: center; }
.topbar-item svg { flex-shrink: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.nav-logo img { height: 48px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2.5px;
  background: var(--green);
  border-radius: 2px;
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 24px; font-size: 15px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  background: var(--blue-dark);
  border-radius: 2px;
  margin: 5px 0;
  transition: all .3s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(95,175,31,.14), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(23,84,155,.10), transparent 60%),
    linear-gradient(180deg, #F7FAFD 0%, #FFFFFF 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-light);
  color: var(--green-dark);
  border: 1px solid #CBE8AB;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-darker);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--green); }
.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-facts {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-fact { display: flex; align-items: center; gap: 12px; }
.hero-fact .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  color: var(--blue);
}
.hero-fact b { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.hero-fact span { font-size: 13.5px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-art { position: relative; max-width: 500px; margin: 0 auto; }

.photo-scene { position: relative; padding: 36px; }
.photo-blob-bg {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background:
    radial-gradient(60% 55% at 28% 22%, rgba(95,175,31,.20), transparent 70%),
    radial-gradient(65% 60% at 76% 78%, rgba(23,84,155,.18), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.photo-ring {
  position: absolute;
  inset: 10px;
  border: 1.5px dashed #9CBCDD;
  border-radius: 50%;
  animation: ringSpin 45s linear infinite;
  z-index: 1;
}
.photo-ring::before {
  content: '';
  position: absolute;
  top: -7px; left: 50%;
  width: 13px; height: 13px;
  margin-left: -6.5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(95,175,31,.8);
}
.photo-ring::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  width: 10px; height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--blue-mid);
}
.photo-blob {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 24px 60px rgba(14, 58, 110, 0.22);
  border-radius: 55% 45% 52% 48% / 50% 55% 45% 50%;
  animation: blobMorph 14s ease-in-out infinite alternate;
  aspect-ratio: 1 / 1.05;
}
.photo-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
  display: block;
  animation: kenBurns 16s ease-in-out infinite alternate;
}
.photo-shine {
  position: absolute;
  top: -25%; left: 0;
  width: 38%; height: 150%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.38), rgba(255,255,255,0));
  transform: skewX(-16deg) translateX(-260%);
  animation: photoShine 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
.photo-sparkle {
  position: absolute;
  z-index: 4;
  animation: twinkle 2.8s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(14,58,110,.25));
}
.ps1 { top: 5%; left: 3%; }
.ps2 { top: 13%; right: 1%; animation-delay: .6s; }
.ps3 { bottom: 17%; right: 5%; animation-delay: 1.3s; }
.ps4 { bottom: 7%; left: 11%; animation-delay: 1.9s; }

@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.55); }
  50% { opacity: 1; transform: scale(1.1); }
}
@keyframes blobMorph {
  0% { border-radius: 55% 45% 52% 48% / 50% 55% 45% 50%; }
  50% { border-radius: 48% 52% 45% 55% / 55% 46% 54% 45%; }
  100% { border-radius: 45% 55% 55% 45% / 46% 52% 48% 54%; }
}
@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.09); }
}
@keyframes photoShine {
  0% { transform: skewX(-16deg) translateX(-260%); }
  55% { transform: skewX(-16deg) translateX(420%); }
  100% { transform: skewX(-16deg) translateX(420%); }
}

.float-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-darker);
  box-shadow: var(--shadow);
  animation: chipFloat 5s ease-in-out infinite;
  white-space: nowrap;
}
.chip1 { top: 14%; right: 0; }
.chip2 { bottom: 12%; left: 0; animation-delay: 2.2s; }
.chip-ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.chip-ico-green { background: var(--green-light); color: var(--green-dark); }
.chip-ico-blue { background: var(--blue-light); color: var(--blue); }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .photo-ring, .photo-blob, .photo-blob img, .photo-shine,
  .photo-sparkle, .float-chip { animation: none; }
}

/* ---------- Section base ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--blue-darker);
  margin-bottom: 16px;
}
.section-head p { font-size: 17.5px; color: var(--muted); }

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-light), var(--blue-light));
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-darker);
  margin-bottom: 10px;
}
.service-card p { font-size: 15.5px; color: var(--muted); }

/* ---------- Praxis / Philosophie ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--blue-darker);
  margin-bottom: 18px;
}
.split p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.checklist { list-style: none; margin-top: 12px; }
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 16.5px;
  color: var(--ink);
}
.checklist .check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: grid;
  place-items: center;
}
.stat-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat {
  padding: 24px 18px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.stat:nth-child(1) { background: var(--blue-light); }
.stat:nth-child(2) { background: var(--green-light); }
.stat:nth-child(3) { background: var(--green-light); }
.stat:nth-child(4) { background: var(--blue-light); }
.stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--blue-dark);
  margin-bottom: 4px;
}
.stat:nth-child(2) b, .stat:nth-child(3) b { color: var(--green-dark); }
.stat span { font-size: 14.5px; color: var(--muted); line-height: 1.4; display: block; }
.stat .stat-highlight { font-size: 19px; font-weight: 800; color: var(--blue); margin-top: 2px; }

/* ---------- Praxis-Galerie ---------- */
.praxis-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  height: 300px;
  box-shadow: var(--shadow-soft);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9,42,82,.55));
  opacity: .85;
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item figcaption {
  position: absolute;
  left: 20px; bottom: 16px;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gallery-item figcaption::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9,42,82,.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Team ---------- */
.team-banner {
  background: linear-gradient(150deg, var(--blue-dark) 0%, var(--blue) 60%, #2E6BAE 100%);
  border-radius: 28px;
  padding: 64px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-banner::after {
  content: '';
  position: absolute;
  right: -100px; bottom: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(95,175,31,.28);
  filter: blur(16px);
}
.team-banner .eyebrow { color: #B4DD8B; }
.team-banner h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.team-banner p { color: #D7E4F2; font-size: 17px; margin-bottom: 14px; }
.team-points { position: relative; display: flex; flex-direction: column; gap: 14px; }
.team-point {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 500;
  font-size: 16px;
}
.team-point .ico {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--green);
  display: grid;
  place-items: center;
  color: #fff;
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.contact-card, .form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.contact-card h3, .form-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-darker);
  margin-bottom: 24px;
}
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-of-type { border-bottom: none; }
.contact-row .ico {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.contact-row b { display: block; font-size: 15px; color: var(--blue-darker); margin-bottom: 2px; }
.contact-row p, .contact-row a { font-size: 16px; color: var(--muted); }
.contact-row a:hover { color: var(--blue); }

.hours-table { width: 100%; margin-top: 4px; border-collapse: collapse; }
.hours-table td {
  padding: 11px 0;
  font-size: 16px;
  border-bottom: 1px dashed var(--line);
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child { font-weight: 600; color: var(--blue-darker); padding-right: 20px; }
.hours-table td:last-child { text-align: right; color: var(--muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--blue-darker);
  margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(95,175,31,.14);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.captcha-q {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 4px 14px;
  border-radius: 8px;
  letter-spacing: .06em;
  box-shadow: 0 3px 10px rgba(95,175,31,.35);
}
.form-status { margin-top: 14px; font-weight: 600; font-size: 15px; }
.form-status:empty { display: none; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.form-note a { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow-soft); border-color: #CBE8AB; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 17px;
  color: var(--blue-darker);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  transition: transform .25s ease;
}
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--green-light); color: var(--green-dark); }
.faq-item .faq-body {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 16px;
  max-width: 72ch;
}

/* ---------- CTA-Banner ---------- */
.cta-banner {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(95,175,31,.35), transparent 60%),
    linear-gradient(140deg, var(--blue-dark), var(--blue));
  border-radius: 28px;
  padding: 72px 56px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-banner h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.cta-banner p { font-size: 18px; color: #D7E4F2; margin-bottom: 34px; }
.cta-banner .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-darker);
  color: #B9C9DB;
  padding: 64px 0 0;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo img { height: 40px; }
.footer p { font-size: 15px; line-height: 1.7; }
.footer h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #B9C9DB; font-size: 15px; }
.footer a:hover { color: #B4DD8B; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-bottom .links { display: flex; gap: 22px; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 72px 0;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.page-hero p { color: #D7E4F2; font-size: 17px; margin-top: 10px; }
.legal { padding: 72px 0; max-width: 820px; }
.legal h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-darker);
  margin: 40px 0 14px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 19px; font-weight: 700; color: var(--blue-dark); margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { text-decoration: underline; }
.legal strong { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 84px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 20px 24px 28px;
  }
  .nav.open .nav-menu { display: block; }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 18px;
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 17px; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; }

  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .hero-visual { max-width: 540px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .praxis-gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item { height: 250px; }
  .team-banner { grid-template-columns: 1fr; padding: 48px 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .topbar .container { justify-content: center; }
  .topbar .topbar-right { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .praxis-gallery { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .gallery-item.wide { grid-column: auto; }
  .gallery-item { height: 220px; }
  .stat-panel { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 52px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-card { padding: 30px 24px; }
}
