/* =========================================================
   Zahnarztpraxis Benita Rauch – Stylesheet
   Mobile first. Tokens zuerst, dann Basis, dann Sektionen.
   ========================================================= */

/* ---------- Fonts (lokal, DSGVO) ---------- */
@font-face { font-family: "Outfit"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/outfit-300.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/outfit-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/outfit-500.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/outfit-600.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-600.woff2") format("woff2"); }

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben */
  --c-accent: #2C5A50;
  --c-accent-hover: #1C3B35;
  --c-text: #1F2A27;
  --c-text-2: #4A5653;
  --c-white: #FFFFFF;
  --c-warm: #FBFAF7;
  --c-sand: #EFE9DF;
  --c-sage: #E4ECE8;
  --c-line: #E8E4DC;
  --c-gold: #E8C98F;
  --c-on-accent: #FFFFFF;

  /* Typo */
  --f-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-eyebrow: 0.8125rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4.2vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);

  /* Radien */
  --r-card-sm: 20px;
  --r-card: 24px;
  --r-card-lg: 28px;
  --r-pill: 999px;

  /* Layout */
  --max-w: 1240px;
  --gutter: 20px;
  --section-y: 64px;
  --header-h: 72px;

  /* Effekte */
  --shadow-soft: 0 1px 2px rgba(31, 42, 39, .04), 0 12px 32px -12px rgba(31, 42, 39, .14);
  --shadow-header: 0 1px 0 var(--c-line), 0 8px 24px -16px rgba(31, 42, 39, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; --header-h: 84px; }
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--c-text); text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--c-accent); }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--max-w) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--c-accent); color: var(--c-on-accent);
  padding: 12px 20px; border-radius: var(--r-pill); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

.accent { color: var(--c-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--f-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 1.0625rem; }
.btn-primary { background: var(--c-accent); color: var(--c-on-accent); }
.btn-primary:hover { background: var(--c-accent-hover); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(28, 59, 53, .6); }
.btn-ghost { background: transparent; color: var(--c-accent); border-color: var(--c-accent); }
.btn-ghost:hover { background: var(--c-accent); color: var(--c-on-accent); }

/* ---------- Bild-Platzhalter ---------- */
.ph {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,0) 60%),
    var(--c-sage);
  border-radius: var(--r-card);
  color: var(--c-text-2);
  font-size: .875rem; font-weight: 500; text-align: center;
  padding: 16px;
}
.ph span { max-width: 22ch; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   1. Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s var(--ease);
}
/* Blur auf eigener Ebene – sonst wird das fixe Mobil-Menü im Header eingesperrt */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 250, 247, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  transition: background-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); }
.site-header.is-scrolled::before,
body.nav-open .site-header::before { background: rgba(251, 250, 247, .97); }

.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-text); margin-right: auto; min-height: 44px; }
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-accent); color: var(--c-on-accent);
  font-family: var(--f-head); font-weight: 500; font-size: 1.0625rem; letter-spacing: .04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--f-head); font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-sub { font-size: .75rem; color: var(--c-text-2); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }

.header-cta { display: none; }

/* Burger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 48px; height: 48px; padding: 0;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: 50%;
  cursor: pointer;
}
.burger span { display: block; width: 20px; height: 1.75px; background: var(--c-text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

/* Mobile-Navigation */
.main-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  display: flex; flex-direction: column; gap: 24px;
  padding: 24px var(--gutter) 40px;
  background: var(--c-warm);
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.main-nav ul { display: flex; flex-direction: column; }
.main-nav li + li { border-top: 1px solid var(--c-line); }
.main-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 60px;
  font-family: var(--f-head); font-size: 1.5rem; font-weight: 400;
  color: var(--c-text); text-decoration: none;
}
.main-nav a:not(.btn):hover { color: var(--c-accent); }
.nav-cta-mobile { align-self: stretch; min-height: 56px; }
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .burger, .nav-cta-mobile { display: none; }
  .header-cta { display: inline-flex; }
  .main-nav {
    position: static; inset: auto; padding: 0; background: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none; flex-direction: row;
  }
  .main-nav ul { flex-direction: row; gap: 4px; }
  .main-nav li + li { border: 0; }
  .main-nav a:not(.btn) {
    position: relative; min-height: 44px; padding: 0 14px;
    font-family: var(--f-body); font-size: .9375rem; font-weight: 500; color: var(--c-text);
  }
  .main-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1.5px;
    background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .main-nav a:not(.btn):hover::after { transform: scaleX(1); }
  .header-inner { gap: 24px; }
  .brand { margin-right: auto; }
}

/* =========================================================
   2. Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: 40px 0 var(--section-y);
  background:
    radial-gradient(60% 50% at 100% 0%, var(--c-sage) 0%, rgba(228, 236, 232, 0) 70%),
    var(--c-warm);
}
.hero-inner { display: grid; gap: 48px; align-items: center; }

.hero h1 { text-wrap: wrap; font-size: var(--fs-h1); font-weight: 400; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 24px; }
.hero h1 .accent { display: block; font-weight: 300; }
.hero-lead { font-size: var(--fs-lead); color: var(--c-text-2); max-width: 34em; margin-bottom: 32px; }

.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }

.trust-list { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.trust-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--c-text); }
.trust-icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-sage); color: var(--c-accent);
}
.trust-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Bildcollage */
.hero-media {
  position: relative;
  display: grid; gap: 12px;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1 / 1.05;
}
.ph-hero-main { grid-row: 1 / 3; border-radius: var(--r-card-lg); background-color: var(--c-sage); }
.ph-hero-top { background-color: var(--c-sand); border-radius: var(--r-card); }
.ph-hero-bottom { background-color: #DCE6E1; border-radius: var(--r-card); }

.hero-badge {
  position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  width: max-content; max-width: calc(100% - 24px);
  padding: 12px 20px;
  background: var(--c-white); border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
  font-size: .875rem; line-height: 1.3; color: var(--c-text-2);
}
.hero-badge-stars { color: var(--c-gold); font-size: 1rem; letter-spacing: 2px; }
.hero-badge strong { color: var(--c-text); font-weight: 600; }

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 768px) {
  .hero { padding-top: 56px; }
  .trust-list { flex-direction: row; flex-wrap: wrap; gap: 16px 32px; }
  .hero-media { aspect-ratio: 16 / 12; }
}

@media (min-width: 1024px) {
  .hero { padding: 48px 0 112px; }
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; }
  .hero-media { aspect-ratio: 1 / 1.08; }
  .hero-badge { left: -28px; bottom: 40px; transform: none; }
  .trust-list { gap: 12px 22px; }
  .trust-list li { font-size: .9375rem; gap: 10px; }
}

/* schmaler Desktop: H1 etwas kleiner, damit „Mit Leidenschaft“ in einer Zeile bleibt */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero h1 { font-size: 3.25rem; }
}

@media (min-width: 1280px) {
  .hero-inner { gap: 88px; }
  .trust-list { flex-wrap: nowrap; gap: 12px 14px; }
  .trust-list li { white-space: nowrap; gap: 8px; }
  .trust-icon { width: 36px; height: 36px; }
}

/* =========================================================
   Gemeinsame Sektions-Bausteine
   ========================================================= */
.section { padding: var(--section-y) 0; }
.section-white { background: var(--c-white); }
.section-warm { background: var(--c-warm); }
.section-sand { background: var(--c-sand); }
.section-sage { background: var(--c-sage); }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.025em; margin-bottom: 18px; }
.section-head h2 .accent { font-weight: 300; }
.section-intro { font-size: var(--fs-lead); color: var(--c-text-2); margin: 0; }

.btn-light { background: var(--c-white); color: var(--c-accent); }
.btn-light:hover { background: var(--c-sand); color: var(--c-accent-hover); transform: translateY(-1px); }

.card-icon {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--c-sage); color: var(--c-accent);
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 768px) {
  .section-head { margin-bottom: 56px; }
}

/* =========================================================
   3. Leistungen
   ========================================================= */
.focus-grid { display: grid; gap: 20px; margin-bottom: 20px; }

.focus-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-card-lg); overflow: hidden;
}
.focus-body { display: flex; flex-direction: column; align-items: flex-start; padding: 32px 24px; flex: 1; }
.focus-card h3 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); font-weight: 400; margin-bottom: 14px; }
.focus-card p { margin-bottom: 22px; }
.focus-label {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--r-pill);
}
.focus-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.focus-tags li { padding: 7px 14px; font-size: .875rem; font-weight: 500; border-radius: var(--r-pill); }
.focus-body .btn { margin-top: auto; }
.focus-media { aspect-ratio: 16 / 10; border-radius: 0; }

/* grün gefüllt */
.focus-card--green { background: var(--c-accent); color: var(--c-on-accent); }
.focus-card--green h3 { color: var(--c-on-accent); }
.focus-card--green p { color: rgba(255, 255, 255, .88); }
.focus-card--green .focus-label { background: rgba(255, 255, 255, .14); color: var(--c-on-accent); }
.focus-card--green .focus-tags li { border: 1px solid rgba(255, 255, 255, .3); color: var(--c-on-accent); }
.focus-card--green .focus-media { background-color: #3A6A5F; color: rgba(255, 255, 255, .9); }
.focus-card--green :focus-visible { outline-color: var(--c-white); }

/* hell */
.focus-card--sage { background: var(--c-sage); }
.focus-card--sage p { color: var(--c-text-2); }
.focus-card--sage .focus-label { background: var(--c-white); color: var(--c-accent); }
.focus-card--sage .focus-tags li { background: rgba(255, 255, 255, .7); color: var(--c-text); }
.focus-card--sage .focus-media { background-color: #D3E0DA; }

/* kleine Karten */
.service-grid { display: grid; gap: 16px; }
.service-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 28px 24px;
  background: var(--c-warm); border: 1px solid var(--c-line); border-radius: var(--r-card-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: transparent; background: var(--c-white); }
.service-card .card-icon { margin-bottom: 16px; }
.service-card h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.service-card p { color: var(--c-text-2); font-size: 1rem; margin: 0; }

@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .focus-body { padding: 44px 40px; }
}

/* Tablet: Text und Bild nebeneinander, damit die Karten nicht zu hoch werden */
@media (min-width: 768px) and (max-width: 1023px) {
  .focus-card { flex-direction: row; }
  .focus-body { flex: 1 1 58%; }
  .focus-media { flex: 0 0 38%; aspect-ratio: auto; }
}

@media (min-width: 1024px) {
  .focus-grid { grid-template-columns: 1.15fr 1fr; gap: 24px; margin-bottom: 24px; }
  .focus-media { aspect-ratio: 16 / 9; }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .service-card { padding: 32px 28px; }
}

/* =========================================================
   4. Angst-Block
   ========================================================= */
.anxiety-inner { display: grid; gap: 40px; align-items: center; }
.anxiety-content .section-intro { margin-bottom: 32px; }
.anxiety h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.025em; margin-bottom: 18px; }
.anxiety h2 .accent { display: block; font-weight: 300; }
.anxiety-media { aspect-ratio: 4 / 3; border-radius: var(--r-card-lg); background-color: #E4DCCD; }

.check-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--c-text-2); }
.check-list strong { color: var(--c-text); font-weight: 600; }
.check {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; margin-top: -2px; border-radius: 50%;
  background: var(--c-accent); color: var(--c-on-accent);
}
.check svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 768px) {
  .anxiety-media { aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .anxiety-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; }
  .anxiety-media { aspect-ratio: 4 / 5; }
}

/* =========================================================
   5. Philosophie
   ========================================================= */
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }

.values-grid { display: grid; gap: 16px; }
.value {
  position: relative;
  padding: 32px 28px;
  background: var(--c-warm); border-radius: var(--r-card);
}
.value-icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; margin-bottom: 24px; border-radius: 50%;
  background: var(--c-accent); color: var(--c-on-accent);
}
.value-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.value-num {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--f-head); font-size: 2.5rem; font-weight: 300; line-height: 1;
  color: var(--c-line);
}
.value h3 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); font-weight: 400; margin-bottom: 12px; }
.value p { color: var(--c-text-2); margin: 0; }

/* Tablet: Icon links, Text rechts – drei Spalten wären hier zu schmal */
@media (min-width: 640px) and (max-width: 1023px) {
  .value { display: grid; grid-template-columns: 60px 1fr; column-gap: 24px; padding: 32px; }
  .value-icon { grid-row: 1 / 3; margin-bottom: 0; }
  .value-num { top: 32px; right: 32px; }
}

@media (min-width: 1024px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .value { padding: 44px 36px; }
  .value-num { top: 36px; right: 36px; font-size: 3rem; }
}

/* =========================================================
   6. Team
   ========================================================= */
.team-inner { display: grid; gap: 40px; align-items: center; }
.team h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.025em; margin-bottom: 32px; }
.team h2 .accent { font-weight: 300; }

.team-quote {
  position: relative; margin: 0 0 28px;
  padding: 32px 28px 28px;
  background: var(--c-white); border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
}
.quote-mark { width: 40px; height: 30px; margin-bottom: 16px; fill: var(--c-accent); opacity: .9; }
.team-quote blockquote { margin: 0 0 24px; }
.team-quote blockquote p {
  margin: 0;
  font-family: var(--f-head); font-weight: 300; line-height: 1.3; letter-spacing: -0.015em;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); color: var(--c-text);
}
.team-quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.team-quote figcaption strong { display: block; font-weight: 600; color: var(--c-text); }
.team-quote figcaption span span { font-size: .9375rem; color: var(--c-text-2); }
.team-avatar {
  width: 52px; height: 52px; flex: none; padding: 0;
  border-radius: 50%; background-color: var(--c-sand);
  font-size: .625rem;
}

.team-text { color: var(--c-text-2); margin-bottom: 28px; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(44, 90, 80, .18);
  border-radius: var(--r-pill);
  font-size: .875rem; font-weight: 600; color: var(--c-accent);
}

.team-media { aspect-ratio: 3 / 2; border-radius: var(--r-card-lg); background-color: #D3E0DA; }

@media (min-width: 768px) {
  .team-quote { padding: 40px 40px 32px; }

}

@media (min-width: 1024px) {
  .team-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .team-media { align-self: center; }
}

/* =========================================================
   7. Service
   ========================================================= */
.service-head { display: grid; gap: 16px; margin-bottom: 40px; }
.service-head h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.025em; margin: 0; }
.service-head h2 .accent { font-weight: 300; }

.perks { display: grid; gap: 0; }
.perk { padding: 28px 0; border-top: 1px solid var(--c-line); }
.perk:last-child { border-bottom: 1px solid var(--c-line); }
.perk .card-icon { margin-bottom: 18px; }
.perk h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.perk p { color: var(--c-text-2); font-size: 1rem; margin: 0; }

@media (min-width: 640px) {
  .perks { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .perk:nth-last-child(2) { border-bottom: 1px solid var(--c-line); }
}

@media (min-width: 768px) {
  .service-head { margin-bottom: 56px; }
}

@media (min-width: 1024px) {
  .service-head { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
  .perks { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .perk { padding: 36px 0 8px; border-bottom: 0 !important; }
}

/* =========================================================
   8. Praxis-Galerie
   ========================================================= */
.gallery-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
.gallery-item { margin: 0; aspect-ratio: 1 / 1; border-radius: var(--r-card-sm); }
.gallery-item--a { grid-column: 1 / -1; aspect-ratio: 4 / 3; background-color: var(--c-sage); }
.gallery-item--b { background-color: var(--c-sand); }
.gallery-item--c { background-color: #DCE6E1; }
.gallery-item--d { grid-column: 1 / -1; aspect-ratio: 16 / 9; background-color: #E6DFD2; }

@media (min-width: 768px) {
  .gallery-grid { gap: 16px; grid-template-columns: repeat(3, 1fr); }
  .gallery-item { aspect-ratio: auto; border-radius: var(--r-card); }
  .gallery-item--a { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; min-height: 440px; }
  .gallery-item--b, .gallery-item--c { grid-column: 3; min-height: 212px; }
  .gallery-item--d { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
}

@media (min-width: 1024px) {
  .gallery-grid { gap: 20px; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 280px 280px; }
  .gallery-item--a { grid-column: 1; grid-row: 1 / 3; min-height: 0; border-radius: var(--r-card-lg); }
  .gallery-item--b { grid-column: 2; grid-row: 1; min-height: 0; }
  .gallery-item--c { grid-column: 3; grid-row: 1; min-height: 0; }
  .gallery-item--d { grid-column: 2 / 4; grid-row: 2; aspect-ratio: auto; }
}

/* =========================================================
   9. Bewertung
   ========================================================= */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.review {
  position: relative; overflow: hidden;
  background: var(--c-accent); color: var(--c-on-accent);
}
/* dezente Lichtfläche für Tiefe */
.review::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -240px; top: -320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.08), rgba(255,255,255,0) 65%);
  pointer-events: none;
}
.review-inner { position: relative; max-width: 960px; text-align: center; }
.review-stars { margin: 0 0 28px; color: var(--c-gold); font-size: 1.75rem; letter-spacing: 6px; line-height: 1; }
.review-quote { margin: 0 0 40px; }
.review-quote blockquote { margin: 0 0 20px; }
.review-quote blockquote p {
  margin: 0;
  font-family: var(--f-head); font-weight: 300; line-height: 1.3; letter-spacing: -0.015em;
  font-size: clamp(1.625rem, 1.2rem + 1.9vw, 2.75rem); color: var(--c-on-accent);
}
.review-quote figcaption { font-size: .9375rem; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }

.review-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.btn-outline-light { background: transparent; color: var(--c-on-accent); border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--c-white); }
.review :focus-visible { outline-color: var(--c-white); }

@media (min-width: 560px) {
  .review-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

/* =========================================================
   10. Karriere-Banner
   ========================================================= */
.career-card {
  display: grid; overflow: hidden;
  background: var(--c-sand); border-radius: var(--r-card-lg);
}
.career-content { padding: 36px 24px 40px; }
.career h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.025em; margin-bottom: 18px; }
.career h2 .accent { display: block; font-weight: 300; }
.career-content > p:not(.eyebrow) { color: var(--c-text-2); max-width: 36em; margin-bottom: 24px; }
.career-tags li { background: rgba(255, 255, 255, .7); color: var(--c-text); }
.career-media { aspect-ratio: 4 / 3; border-radius: 0; background-color: #E4DCCD; }

@media (min-width: 768px) {
  .career-content { padding: 56px 48px; }
  .career-media { aspect-ratio: 16 / 8; }
}

@media (min-width: 1024px) {
  .career-card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
  .career-content { padding: 72px 64px; }
  .career h2 { font-size: clamp(2.25rem, 1.4rem + 1.5vw, 2.875rem); }
  .career-media { aspect-ratio: auto; min-height: 100%; }
}

/* =========================================================
   11. Kontakt
   ========================================================= */
.contact h2 { font-size: var(--fs-h2); font-weight: 400; letter-spacing: -0.025em; }
.contact h2 .accent { font-weight: 300; }
.contact-grid { display: grid; gap: 24px; align-items: start; }

/* Anruf-Karte */
.contact-call {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; margin-bottom: 24px;
  background: var(--c-accent); color: var(--c-on-accent);
  border-radius: var(--r-card); text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.contact-call:hover { background: var(--c-accent-hover); transform: translateY(-2px); }
.contact-call:focus-visible { outline-color: var(--c-accent-hover); }
.contact-call-icon {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14);
}
.contact-call-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-call-label { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.contact-call-number { display: block; font-family: var(--f-head); font-size: 1.5rem; font-weight: 400; line-height: 1.25; }

/* Kontaktliste */
.contact-list { margin: 0; display: grid; gap: 12px; }
.contact-item { padding: 22px 24px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-card-sm); }
.contact-item dt { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--f-head); font-size: 1.125rem; font-weight: 500; }
.contact-item .card-icon { width: 40px; height: 40px; border-radius: 12px; }
.contact-item .card-icon svg { width: 20px; height: 20px; }
.contact-item dd { margin: 0; color: var(--c-text-2); }
.contact-item address { font-style: normal; margin-bottom: 8px; }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--c-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
  word-break: break-word;
}
.text-link:hover { color: var(--c-accent-hover); }

.hours { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.hours th, .hours td { padding: 7px 0; text-align: left; border-bottom: 1px solid var(--c-line); }
.hours th { font-weight: 600; color: var(--c-text); width: 45%; }
.hours td { color: var(--c-text-2); }
.hours-note { margin: 12px 0 0; font-size: .875rem; }

/* Formular-Karte */
.contact-form-card {
  padding: 32px 22px;
  background: var(--c-white); border-radius: var(--r-card-lg);
  box-shadow: var(--shadow-soft);
}
.contact-form-card h3 { font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem); font-weight: 400; margin-bottom: 8px; }
.form-hint { color: var(--c-text-2); font-size: .9375rem; margin-bottom: 28px; }

.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--c-text); }
.req { color: var(--c-accent); }

.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: inherit; font-size: 1rem; color: var(--c-text);
  background: var(--c-warm); border: 1.5px solid var(--c-line); border-radius: 14px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C5A50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #6B7673; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CFC8BB; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-accent); background-color: var(--c-white);
  box-shadow: 0 0 0 4px rgba(44, 90, 80, .14);
}
.field [aria-invalid="true"] { border-color: #B3261E; background-color: #FDF6F5; }
.field-error { margin: 0; font-size: .875rem; font-weight: 500; color: #B3261E; }
.field-error:empty { display: none; }
.field-note { margin: -6px 0 0; font-size: .875rem; color: var(--c-text-2); }

.field-check { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 6px; align-items: start; }
.field-check input {
  width: 24px; height: 24px; min-height: 0; padding: 0; margin: 2px 0 0;
  border-radius: 7px; cursor: pointer; background: var(--c-warm);
}
.field-check input:checked {
  background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: var(--c-accent);
}
.field-check label { font-weight: 400; font-size: .9375rem; color: var(--c-text-2); line-height: 1.5; cursor: pointer; }
.field-check label a { color: var(--c-accent); font-weight: 600; }
.field-check .field-error { grid-column: 2; }

.form-submit { width: 100%; margin-top: 4px; }
.form-submit[disabled] { opacity: .7; cursor: progress; transform: none; }

.form-status:empty { display: none; }
.form-status { padding: 16px 20px; border-radius: 14px; font-weight: 500; line-height: 1.5; }
.form-status:focus { outline: none; }
.form-status.is-success { background: var(--c-sage); color: var(--c-accent-hover); }
.form-status.is-error { background: #FDF0EE; color: #8C1D18; }

/* Honeypot verstecken (nicht display:none, das erkennen manche Bots) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 640px) and (max-width: 1023px) {
  .contact-list { grid-template-columns: 1fr 1fr; }
  .contact-item:last-child { grid-column: 1 / -1; }
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-submit { width: auto; justify-self: start; }
}

@media (min-width: 768px) {
  .contact-form-card { padding: 44px 40px; }
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
  .contact-form-card { padding: 48px; }
}

/* =========================================================
   12. Footer
   ========================================================= */
.site-footer {
  background: var(--c-accent-hover); color: rgba(255, 255, 255, .82);
  padding: 64px 0 24px; font-size: .9375rem;
}
.site-footer a:not(.btn) { color: var(--c-white); text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--c-white); }

.footer-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.brand--light { color: var(--c-white); margin: 0 0 16px; }
.brand--light .brand-mark { background: var(--c-white); color: var(--c-accent-hover); }
.brand--light .brand-sub { color: rgba(255, 255, 255, .75); }
.footer-brand p { margin: 0; font-family: var(--f-head); font-weight: 300; font-size: 1.25rem; color: var(--c-white); }

.footer-title {
  margin: 0 0 14px; font-family: var(--f-body); font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.footer-col ul { display: grid; gap: 2px; }
.footer-col li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-col address { font-style: normal; line-height: 2; }
.footer-col address a { display: inline-block; padding: 6px 0; line-height: 1.5; }
.footer-cta p { margin-bottom: 16px; }

.footer-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; font-size: .875rem; color: rgba(255, 255, 255, .75); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 1024px) {
  .site-footer { padding-top: 80px; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 48px; }
}

/* =========================================================
   Unterseiten (Impressum, Datenschutz)
   ========================================================= */
.legal { padding: 48px 0 var(--section-y); background: var(--c-white); }
.legal .container { max-width: calc(820px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); font-weight: 400; letter-spacing: -0.025em; margin-bottom: 12px; }
.legal h2 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); font-weight: 500; margin: 48px 0 12px; }
.legal h3 { font-size: 1.125rem; font-weight: 600; font-family: var(--f-body); letter-spacing: 0; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--c-text-2); }
.legal ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; color: var(--c-text-2); margin-bottom: 1em; }
.legal-note {
  margin: 24px 0 8px; padding: 16px 20px; border-radius: 14px;
  background: var(--c-sand); color: var(--c-text); font-size: .9375rem;
}
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 16px; font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-inner--sub .header-cta { display: inline-flex; }
@media (max-width: 479px) {
  .header-inner--sub .header-cta { padding: 10px 16px; min-height: 44px; font-size: .9375rem; }
  .header-inner--sub .brand-sub { display: none; }
}
.header-inner--sub .header-cta, .header-inner--sub .brand-name { white-space: nowrap; }
@media (max-width: 479px) {
  .hide-xs { display: none; }
}
/* Footer-Kontaktlinks: Touch-Ziel ≥ 44px */
.footer-col address a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.hours th, .hours td { vertical-align: top; }
.hours-extra { font-size: .8125rem; color: var(--c-text-2); }

/* =========================================================
   Echte Fotos
   ========================================================= */
.ph-hero-main img { object-position: 50% 18%; }
.career-media img { object-position: 50% 40%; }
.team-avatar img { object-position: 50% 20%; border-radius: 50%; }

/* Team-Porträts */
.team-people { margin-top: 56px; }
.team-people-title { font-size: var(--fs-h3); font-weight: 500; margin-bottom: 24px; }
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
.person img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-card-sm); background: #D3E0DA; margin-bottom: 12px;
}
.person-name { margin: 0; font-family: var(--f-head); font-size: 1.125rem; font-weight: 500; color: var(--c-text); line-height: 1.3; }
.person-role { margin: 2px 0 0; font-size: .9375rem; color: var(--c-text-2); }

@media (min-width: 640px) {
  .people-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
}
@media (min-width: 1024px) {
  .team-people { margin-top: 80px; }
  .people-grid { grid-template-columns: repeat(6, 1fr); gap: 20px; }
}
.ph-hero-top img { object-position: 50% 80%; }
.gallery-item--a img { object-position: 40% 60%; }
.gallery-item--c img { object-position: 50% 70%; }
.ph-hero-bottom img { object-position: 50% 30%; }
.anxiety-media img { object-position: 50% 35%; }

/* Bewertungs-Badge als Link, Sterne anteilig gefüllt */
a.hero-badge { text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
a.hero-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(31, 42, 39, .3); }
@media (max-width: 1023px) { a.hero-badge:hover { transform: translateX(-50%) translateY(-2px); } }
.stars { position: relative; display: inline-block; font-size: 1rem; letter-spacing: 2px; line-height: 1; color: #DDD5C7; white-space: nowrap; }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--c-gold); }
.team-content > :last-child { margin-bottom: 0; }

/* Praxislogo */
.brand-logo { display: block; height: 40px; width: auto; }
@media (min-width: 768px) { .brand-logo { height: 48px; } }
.brand--light .brand-logo { height: 52px; }
