/* Claus Kuhn Physiotherapie – Stylesheet
   Schriften lokal gehostet (SIL Open Font License), keine externen Ressourcen. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #13213D;        /* Text */
  --petrol: #123E8A;     /* Markenfarbe */
  --petrol-deep: #0B2960;
  --sage: #8FA3C8;       /* gedämpfte Akzente */
  --mist: #EEF2F9;       /* Flächen */
  --paper: #FBFCFE;      /* Seitenhintergrund */
  --line: #D3DBEA;
  --sun: #F2B33D;        /* Handlungsfarbe (Buttons) */
  --sun-hover: #F6C462;
  --muted: #4D5B77;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --r-sm: 6px;
  --r-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--petrol); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol-deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 650; font-size: 1rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-hover); color: var(--ink); }
.btn-line { border-color: currentColor; color: var(--petrol); }
.btn-line:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.on-dark .btn-line { color: #fff; }
.on-dark .btn-line:hover { background: #fff; border-color: #fff; color: var(--petrol-deep); }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.brand img { width: 128px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .98rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--petrol); border-color: var(--sage); }
.nav a[aria-current="page"] { color: var(--petrol); border-color: var(--petrol); }
.nav .btn { padding: .6rem 1.1rem; border-bottom: 2px solid transparent; }
.nav .btn:hover { border-color: transparent; }

.mnav { display: none; position: relative; }
.mnav summary {
  list-style: none; cursor: pointer; font-weight: 650;
  padding: .55rem 1rem; border: 2px solid var(--petrol); border-radius: 999px; color: var(--petrol);
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { background: var(--petrol); color: #fff; }
.mnav nav {
  position: absolute; right: 0; top: calc(100% + .6rem); width: min(19rem, 86vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 18px 40px -18px rgba(19, 33, 61, .35);
  padding: .5rem; display: flex; flex-direction: column;
}
.mnav nav a { padding: .8rem 1rem; text-decoration: none; color: var(--ink); font-weight: 550; border-radius: 10px; }
.mnav nav a:hover { background: var(--mist); }
.mnav nav .btn { margin-top: .4rem; }

@media (max-width: 900px) {
  .nav { display: none; }
  .mnav { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 4.1rem);
  font-weight: 600;
  max-width: 15.5em;
  position: relative; z-index: 1;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; position: relative; z-index: 1; }
.hero-note { margin-top: 1.25rem; color: var(--muted); font-size: .98rem; position: relative; z-index: 1; }

/* Winkelmesser (Goniometer) – das wiederkehrende Bildmotiv */
.gonio {
  position: absolute; z-index: 0; pointer-events: none;
  right: -16rem; top: 50%; transform: translateY(-50%);
  width: min(42rem, 62vw); color: var(--sage); opacity: .45;
}
.gonio .needle { transform-origin: 300px 300px; transform: rotate(-58deg); }
@media (prefers-reduced-motion: no-preference) {
  .gonio .needle { animation: swing 2.4s cubic-bezier(.3, .7, .2, 1) .2s both; }
  @keyframes swing { from { transform: rotate(-178deg); } to { transform: rotate(-58deg); } }
}
@media (max-width: 700px) {
  .gonio { right: -40vw; top: auto; bottom: -22vw; transform: none; width: 110vw; opacity: .3; }
}

/* ---------- Sektionen ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-mist { background: var(--mist); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--muted); max-width: 34rem; margin: 0; }

/* Standortliste */
.loc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.loc-list li { border-bottom: 1px solid var(--line); }
.loc-row {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: .4rem 2rem; align-items: baseline;
  padding: 1.35rem .25rem; text-decoration: none; color: var(--ink);
}
.loc-row:hover { background: #fff; }
.loc-row:hover .loc-name { color: var(--petrol); }
.loc-name { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -.015em; }
.loc-addr { color: var(--muted); }
.loc-meta { display: flex; flex-direction: column; gap: .15rem; font-size: .95rem; }
@media (max-width: 760px) {
  .loc-row { grid-template-columns: 1fr; }
}

/* Öffnungsstatus (wird per JavaScript im Browser berechnet) */
.status { font-size: .92rem; font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); }
.status:empty { display: none; }
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #B8C5C1; flex: none; }
.status.is-open { color: #1E6B45; }
.status.is-open::before { background: #2FA36B; }

/* Grundsatz */
.principle { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: start; }
.principle h2 { font-size: 1.15rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; color: var(--petrol); padding-top: .6rem; }
.principle blockquote { margin: 0; }
.principle blockquote p {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.8rem, 4.2vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em;
  margin: 0 0 1.75rem; max-width: 18em; text-wrap: balance;
}
@media (max-width: 760px) { .principle { grid-template-columns: 1fr; } .principle h2 { padding-top: 0; } }

/* Therapiemethoden-Liste */
.method-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
.method-list li { border-top: 1px solid var(--line); }
.method-list a { display: block; padding: 1.2rem 0 1.4rem; text-decoration: none; color: var(--ink); }
.method-list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; margin-bottom: .2rem; }
.method-list span { color: var(--muted); font-size: .96rem; }
.method-list a:hover strong { color: var(--petrol); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
@media (max-width: 900px) { .method-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .method-list { grid-template-columns: 1fr; } }

/* Dunkles Band */
.band { background: var(--petrol); color: #fff; position: relative; overflow: hidden; }
.band .wrap { position: relative; z-index: 1; }
.band h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 550; max-width: 22em; margin-bottom: 2rem; }
.band .gonio { color: #fff; opacity: .09; right: -10rem; width: min(38rem, 70vw); }

/* CTA */
.cta { padding: clamp(3rem, 7vw, 5rem) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Unterseiten ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { opacity: .6; }
.page-head h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 600; position: relative; z-index: 1; }
.page-head .lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--muted); margin: 1rem 0 0; max-width: 38rem; position: relative; z-index: 1; }
.page-head .gonio { width: min(30rem, 60vw); right: -8rem; opacity: .35; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem 4rem; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.prose { max-width: 40rem; }
.prose p { font-size: 1.1rem; line-height: 1.7; }
.prose p:first-child { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.prose h2 { font-size: 1.6rem; margin: 2.25rem 0 .9rem; }
.prose h3 { font-size: 1.2rem; margin: 1.75rem 0 .5rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35rem; }
.aside { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-box { background: var(--mist); border-radius: var(--r-lg); padding: 1.5rem; }
.aside-box h2 { font-family: var(--body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: .6rem; }
.aside-box p { color: var(--muted); font-size: .97rem; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li a { display: block; padding: .45rem 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.aside-box li:last-child a { border-bottom: 0; }
.aside-box li a:hover { color: var(--petrol); }
.aside-box li a[aria-current="page"] { color: var(--petrol); font-weight: 650; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } }

/* Standort-Detail */
.loc-detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.loc-detail h2 { font-family: var(--body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; color: var(--petrol); margin-bottom: .75rem; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.25rem; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact-lines { display: flex; flex-direction: column; gap: .35rem; }
.contact-lines a { font-weight: 600; }
.big-phone { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
@media (max-width: 860px) { .loc-detail { grid-template-columns: 1fr; } }

.other-locs { display: flex; flex-wrap: wrap; gap: .6rem; }
.other-locs a { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; }
.other-locs a:hover { border-color: var(--petrol); color: var(--petrol); }

/* Kontaktseite */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 0 2.5rem; }
.contact-item { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; }
.contact-item h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.contact-item .loc-addr { margin-bottom: .9rem; }

/* Partner */
.partner-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.partner-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .3rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.partner-list strong { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; }
.partner-list span { color: var(--muted); }
@media (max-width: 700px) { .partner-list li { grid-template-columns: 1fr; } }

/* Rechtstexte */
.legal { max-width: 46rem; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .7rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #2C3B57; }
.legal ul { padding-left: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-deep); color: #D3DDF0; padding: 3.5rem 0 2rem; font-size: .96rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-top img { width: 150px; margin-bottom: 1rem; }
.footer-top h2 { font-family: var(--body); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: #fff; margin-bottom: .8rem; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .9rem; color: #A9B9D9; }
.footer-bottom nav { display: flex; gap: 1.5rem; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }

/* Zeitleiste (Über uns) */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; border-top: 2px solid var(--petrol); }
.timeline div { padding: 1.1rem 0 1.5rem; position: relative; }
.timeline div::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--petrol); }
.timeline strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.9rem; letter-spacing: -.02em; color: var(--petrol); }
.timeline span { color: var(--muted); font-size: .98rem; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; } }

/* Formular */
.form { display: flex; flex-direction: column; gap: 1.25rem; max-width: 40rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 650; font-size: .98rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem 1rem; width: 100%;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(18, 62, 138, .18); }
.hint { color: var(--muted); font-size: .9rem; margin: 0; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--petrol); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; border: 0; cursor: pointer; }
.phone-list { list-style: none; margin: 0; padding: 0; }
.aside-box .phone-list li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.aside-box .phone-list li:last-child { border-bottom: 0; }
.aside-box .phone-list li a { border: 0; padding: .5rem 0; }
.aside-box .phone-list li a + a { font-variant-numeric: tabular-nums; color: var(--petrol); font-weight: 600; white-space: nowrap; }
.aside-box .phone-list li { font-size: .94rem; gap: .5rem; }

/* ---------- Bilder ---------- */
.page-head.has-img .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.ph-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--mist); }
@media (max-width: 860px) { .page-head.has-img .wrap { grid-template-columns: 1fr; } .ph-img { aspect-ratio: 16 / 10; } }

.loc-row { grid-template-columns: 8.5rem minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.loc-thumb { width: 8.5rem; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
@media (max-width: 760px) {
  .loc-row { grid-template-columns: 6.5rem minmax(0, 1fr); gap: .3rem 1rem; }
  .loc-thumb { width: 6.5rem; grid-row: span 3; align-self: start; }
}

.method-list { gap: 2.25rem 2rem; }
.method-list li { border-top: 0; }
.method-list a { padding: 0; }
.method-list img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: .9rem; background: var(--mist); }
.method-list a:hover img { filter: brightness(1.04) saturate(1.05); }

/* Standortliste mit kompakten Öffnungszeiten */
.loc-row { grid-template-columns: 8.5rem minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
.loc-main { display: flex; flex-direction: column; gap: .15rem; }
.loc-main .loc-addr { font-size: .96rem; }
.loc-hours { display: flex; flex-direction: column; gap: .1rem; font-size: .95rem; font-variant-numeric: tabular-nums; }
.loc-hours b { font-weight: 650; display: inline-block; min-width: 4.6rem; }
.loc-phone { font-weight: 600; }
@media (max-width: 760px) {
  .loc-row { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .loc-thumb { grid-row: span 3; }
}
.footer-bottom .credit { color: #A9B9D9; }
.footer-bottom .credit a { color: #D3DDF0; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); }
.footer-bottom .credit a:hover { color: #fff; }

/* Brotkrumen: immer direkt unter der Header-Linie, feste Höhe */
.crumbs-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.crumbs-bar .crumbs { margin: 0; padding: .8rem 0; font-size: .9rem; }
.page-head { padding-top: clamp(2rem, 5vw, 3.5rem); }

/* Seitentitel: etwas kleiner, lange Wörter sauber trennen */
.page-head h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  hyphens: auto; -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
.page-head.has-img h1 { font-size: clamp(2rem, 3.8vw, 3rem); }

/* ===== Header: zwei Buttons ===== */
.nav { gap: 1.35rem; }
.nav-btns { display: flex; gap: .5rem; margin-left: .4rem; }
.btn-sm { padding: .6rem 1.05rem; font-size: .95rem; }
.nav .btn-line { border-bottom-width: 2px; }
.nav .btn-line:hover { border-color: var(--petrol); }
@media (max-width: 1080px) { .nav { display: none; } .mnav { display: block; } }
.mnav nav .btn + .btn { margin-top: .4rem; }

/* ===== Hero ===== */
.hero h1 { max-width: 14em; }
.hero-brand {
  display: block; font-family: var(--body); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: 0; color: var(--petrol); margin-bottom: .9rem;
}
.hero-sub { font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--muted); margin: 1.1rem 0 0; position: relative; z-index: 1; }

/* ===== Karte + Standort-Karussell ===== */
.loc-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 2.5rem; align-items: start; }
.loc-split-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 900px) { .loc-split, .loc-split-grid { grid-template-columns: 1fr; } }
.map { margin: 0; position: sticky; top: 6rem; }
@media (max-width: 900px) { .map { position: static; max-width: 26rem; margin: 0 auto; } }
.map svg { width: 100%; height: auto; overflow: visible; }
.map-land { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.section-mist .map-land { fill: #F7F9FD; }
.map-kessel { fill: rgba(18, 62, 138, .05); stroke: var(--sage); stroke-width: 1; stroke-dasharray: 3 5; }
.map-road { fill: none; stroke: #DDE4F1; stroke-width: 5; stroke-linecap: round; }
.map-river { fill: none; stroke: #A9C3E8; stroke-width: 7; stroke-linecap: round; }
.map-label { font: italic 500 13px var(--body); fill: #6E86B0; }
.map-district { font: 600 12px var(--body); fill: #9AA8C2; letter-spacing: .06em; }
.pin { cursor: pointer; }
.pin-halo { fill: rgba(18, 62, 138, .12); transition: r .2s, fill .2s; }
.pin-dot { fill: var(--petrol); stroke: #fff; stroke-width: 3; }
.pin text { font: 700 15px var(--display); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.pin:hover .pin-halo, .pin:focus-visible .pin-halo, .pin.is-active .pin-halo { r: 26; fill: rgba(242, 179, 61, .45); }
.pin.is-active .pin-dot { fill: var(--ink); }
.map figcaption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .4rem; }

/* Karussell (generisch) */
.carousel { position: relative; min-width: 0; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(21rem, 86%);
  gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .25rem .25rem 1rem; margin: -.25rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.track > * { scroll-snap-align: start; }
.track:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .track { scroll-behavior: auto; } }
.carousel-nav { display: flex; gap: .6rem; margin-top: .9rem; }
.cbtn {
  width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 2px solid var(--petrol); background: transparent;
  color: var(--petrol); cursor: pointer; display: grid; place-items: center;
}
.cbtn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cbtn:hover:not(:disabled) { background: var(--petrol); color: #fff; }
.cbtn:disabled { opacity: .3; cursor: default; }

/* Standort-Karte */
.loc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.loc-card.is-active { border-color: var(--petrol); box-shadow: 0 0 0 2px var(--petrol); }
.loc-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.loc-card-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.loc-card h3 { font-size: 1.4rem; }
.loc-facts { margin: 0; display: grid; gap: .7rem; }
.loc-facts dt { font-size: .82rem; font-weight: 700; color: var(--petrol); margin-bottom: .1rem; }
.loc-facts dd { margin: 0; font-size: .95rem; line-height: 1.5; }
.loc-facts .loc-hours { font-size: .95rem; }
.loc-facts a { color: var(--ink); text-decoration: none; }
.loc-facts a:hover { color: var(--petrol); text-decoration: underline; }
.loc-card-status { margin: 0; min-height: 1.4em; }
.loc-card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }

/* Team-Karussell */
.team .track { grid-auto-columns: min(13.5rem, 62%); }
.team-card { margin: 0; }
.team-photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: linear-gradient(180deg, #E4EAF5, #D3DBEA); display: grid; place-items: end center; overflow: hidden; }
.team-photo svg { width: 78%; fill: #B7C4DD; }
.team-card figcaption { padding-top: .8rem; display: flex; flex-direction: column; }
.team-card strong { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.team-card span { color: var(--muted); font-size: .94rem; }

/* Fix: Kontur-Button im Header vollständig umrandet */
.nav .btn-line { border: 2px solid var(--petrol); padding: .6rem 1.05rem; }
.nav .btn-line:hover { border-color: var(--petrol); }
.loc-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }

.carousel-nav { justify-content: center; }

.cta { border-block: 1px solid var(--line); }

/* ===== Termin-Trenner in Logofarben (Blau + Grün) ===== */
:root { --logo-blue: #32277F; --logo-green: #0A9343; }
.cta.section-mist {
  background: var(--logo-blue); color: #fff; border-block: 0;
  position: relative; overflow: hidden; isolation: isolate;
}
.cta.section-mist .wrap { position: relative; z-index: 1; }
.cta.section-mist h2 { color: #fff; }
/* grüner Bogen wie im Logo */
.cta.section-mist::before {
  content: ""; position: absolute; z-index: 0; width: 22rem; height: 22rem; right: 6%; top: 50%;
  transform: translateY(-50%) rotate(-35deg); border-radius: 50%;
  border: 1.4rem solid var(--logo-green); border-left-color: transparent; border-bottom-color: transparent;
  opacity: .9;
}
/* grüner Punkt wie im Logo */
.cta.section-mist::after {
  content: ""; position: absolute; z-index: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--logo-green); left: max(16px, calc((100% - var(--wrap)) / 2 + var(--gutter)) - 2.4rem); top: 1.4rem;
}
.cta.section-mist .btn-sun:hover { background: var(--sun-hover); }
@media (max-width: 700px) {
  .cta.section-mist::before { width: 14rem; height: 14rem; right: -4rem; border-width: 1rem; opacity: .55; }
  .cta.section-mist::after { display: none; }
}
.cta.section-mist::before { right: -2rem; }
.cta.section-mist::after { left: auto; right: 15.5rem; top: 1.1rem; }
.cta.section-mist .cta-actions { margin-right: 4rem; }
@media (max-width: 900px) { .cta.section-mist .cta-actions { margin-right: 0; } }
.cta.section-mist::after { right: 21.5rem; top: .9rem; }

/* Galerie-Karussell auf Standortseiten */
.gal-title { font-size: 1.6rem; margin-bottom: 1.25rem; }
.gal .track { grid-auto-columns: min(34rem, 88%); }
.gal-item { margin: 0; }
.gal-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); background: var(--mist); }

/* ===== Untermenüs ===== */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { display: inline-flex; align-items: center; gap: .3rem; }
.chev { width: .75rem; height: .75rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.has-sub:hover .chev, .has-sub:focus-within .chev { transform: rotate(180deg); }
.sub {
  position: absolute; top: 100%; left: -1rem; min-width: 15rem; padding: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -18px rgba(19, 33, 61, .35);
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s; z-index: 30;
}
.has-sub::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: .9rem; }
.sub { margin-top: .9rem; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { padding: .55rem .8rem; border: 0; border-radius: 8px; font-weight: 500; white-space: nowrap; }
.nav .sub a:hover { background: var(--mist); color: var(--petrol); }
.msub { display: flex; flex-direction: column; padding-left: .9rem; margin: -.2rem 0 .3rem; border-left: 2px solid var(--line); margin-left: 1rem; }
.mnav nav .msub a { padding: .45rem .8rem; font-weight: 450; font-size: .95rem; color: var(--muted); }
.mnav nav { max-height: calc(100vh - 6rem); overflow-y: auto; }

/* ===== FAQ ===== */
.faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; align-items: start; }
@media (max-width: 1000px) { .faq { grid-template-columns: 1fr; max-width: 46rem; } }
.faq-group h3 { font-size: 1.25rem; color: var(--petrol); margin-bottom: .6rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1rem 2.2rem 1rem 0; position: relative;
  font-weight: 650; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: .65rem; height: .65rem;
  border-right: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--petrol); }
.faq-a { padding: 0 0 1.1rem; color: #2C3B57; font-size: .98rem; }
.faq-a p { margin: 0 0 .5rem; }
.faq-a ul { margin: 0 0 .5rem; padding-left: 1.2rem; }
.faq-a li { margin-bottom: .2rem; }

/* ===== Weitere Standorte als Kacheln ===== */
.other-locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.other-locs a.other-tile {
  display: flex; align-items: center; gap: .85rem; padding: .55rem; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink);
}
.other-tile img { width: 5.5rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; flex: none; }
.other-tile span { display: flex; flex-direction: column; min-width: 0; }
.other-tile strong { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.other-tile small { color: var(--muted); font-size: .88rem; }
.other-locs a.other-tile:hover { border-color: var(--petrol); }
.other-locs a.other-tile:hover strong { color: var(--petrol); }

/* ===== Google Maps (Zwei-Klick) ===== */
.gmap { border-radius: var(--r-lg); overflow: hidden; background: var(--mist); border: 1px solid var(--line); aspect-ratio: 16 / 7; min-height: 20rem; position: relative; }
@media (max-width: 700px) { .gmap { aspect-ratio: auto; min-height: 24rem; } }
.gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gmap-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; gap: .2rem;
  background-image: radial-gradient(circle at 1px 1px, #D3DBEA 1px, transparent 0); background-size: 18px 18px; }
.gmap-consent svg { width: 2.4rem; height: 2.4rem; fill: none; stroke: var(--petrol); stroke-width: 1.8; margin-bottom: .4rem; }
.gmap-consent p { margin: 0 0 .4rem; max-width: 34rem; }
.gmap-note { font-size: .9rem; color: var(--muted); }
.gmap-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .6rem; }
.gmap-actions .btn { border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 650; }
.gmap-actions .btn-line { border-color: var(--petrol); }

/* Sprungziele unter dem fixierten Header */
#anfrage, #faq { scroll-margin-top: 6.5rem; }

/* Anfahrt-Kacheln */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
@media (max-width: 800px) { .ways { grid-template-columns: 1fr; } }
.way { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem 1.25rem 1.1rem; }
.way-ico { width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--mist); display: grid; place-items: center; margin-bottom: .8rem; }
.way-ico svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--petrol); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.way h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.way p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Navigation mit mehr Punkten */
@media (max-width: 1240px) { .nav { gap: 1.05rem; } .nav a { font-size: .94rem; } }
@media (max-width: 1160px) { .nav { display: none; } .mnav { display: block; } }

/* ===== Praxis in Zahlen ===== */
.stats { position: relative; overflow: hidden; color: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0; text-align: center; isolation: isolate; }
.stats-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 41, 96, .82), rgba(50, 39, 127, .78)); }
.stats h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: #fff; }
.stats-sub { color: #D3DDF0; margin: .5rem 0 2.25rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 15rem)); justify-content: center; gap: 1.25rem; }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; } }
.stat {
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--r-lg);
  padding: 1.6rem 1rem 1.4rem; display: flex; flex-direction: column; align-items: center; gap: .3rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.stat svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .3rem; }
.stat strong { font-family: var(--display); font-weight: 650; font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .95rem; color: #E3EAF7; }
@media (max-width: 700px) { .stat { padding: 1.1rem .4rem; } .stat span { font-size: .8rem; } .stat svg { width: 1.7rem; height: 1.7rem; } }
.stats-note { margin: 1.5rem 0 0; font-size: .8rem; color: #B9C6E2; }

/* ===== Mission ===== */
.mission { max-width: 44rem; }
.mission-claim { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1.25rem; color: var(--ink); }
.mission-text { font-size: 1.08rem; line-height: 1.7; color: #2C3B57; }
.mission .btn { margin-top: .5rem; }

/* ===== Kundenmeinungen ===== */
.reviews .track { grid-auto-columns: min(22rem, 86%); }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }
.review-head { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 3rem; height: 3rem; border-radius: 50%; background: var(--mist); color: var(--petrol); display: grid; place-items: center; font-family: var(--display); font-weight: 650; font-size: 1.2rem; flex: none; }
.review figcaption { display: flex; flex-direction: column; }
.review figcaption span { color: var(--muted); font-size: .9rem; }
.stars { display: inline-flex; gap: .15rem; }
.stars svg { width: 1.15rem; height: 1.15rem; }
.stars .on { fill: var(--sun); }
.stars .off { fill: var(--line); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; color: #2C3B57; }
.reviews-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 1rem 0 0; }

/* Leistungsliste: 10 Einträge sauber verteilen */
.method-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.method-list strong { font-size: 1.12rem; }
@media (max-width: 1100px) { .method-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .method-list { grid-template-columns: 1fr; } }

/* ===== Karriere ===== */
.job-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem 4rem; align-items: center; }
@media (max-width: 860px) { .job-intro { grid-template-columns: 1fr; } }
.job-intro .ph-img { aspect-ratio: 4 / 5; }
.job-intro h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 1.5rem 0 .8rem; }
.job-intro p { max-width: 40rem; color: #2C3B57; font-size: 1.05rem; }
.job-lead { font-size: 1.3rem !important; color: var(--ink) !important; font-weight: 600; }
.job-quote { font-family: var(--display); font-size: 1.35rem !important; color: var(--petrol) !important; font-weight: 600; border-left: 4px solid var(--logo-green); padding-left: 1rem; }
.req-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 800px) { .req-grid { grid-template-columns: 1fr; } }
.req { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.req h3 { font-size: 1.4rem; color: var(--petrol); margin-bottom: .7rem; }
.req h4 { font-size: 1rem; margin: 1rem 0 .4rem; }
.req ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.req li { margin-bottom: .3rem; }
.req p { color: #2C3B57; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.benefit { border-top: 3px solid var(--logo-green); padding-top: 1rem; }
.benefit h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.benefit p { color: var(--muted); margin: 0; }
.apply-note { text-align: center; font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.7; color: var(--ink); max-width: 46rem; margin: 0 auto; }
.apply-note a { font-weight: 600; }

/* Menü-Schaltflächen: Textfarbe beim Hover nicht von .nav a:hover überschreiben lassen */
.nav .btn-line:hover, .mnav .btn-line:hover { color: #fff; background: var(--petrol); border-color: var(--petrol); }
.nav .btn-sun:hover, .mnav .btn-sun:hover { color: var(--ink); }

/* Standortkarten: Bild und Titel führen zur Standortseite */
.loc-card-img { display: block; overflow: hidden; }
.loc-card-img img { transition: transform .35s ease; }
.loc-card-img:hover img { transform: scale(1.04); }
.loc-card h3 a { color: inherit; text-decoration: none; }
.loc-card h3 a:hover { color: var(--petrol); text-decoration: underline; text-underline-offset: .2em; }

/* Management (statt Team-Karussell) */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 14rem)); gap: 1.25rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 520px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Footer: Telefonliste der Praxen */
.site-footer .footer-call { color: #fff; font-weight: 700; margin: 0 0 .5rem; }
.footer-top ul.footer-phones { gap: 0; max-width: 17rem; margin-bottom: 1rem; }
.footer-phones li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-phones li:last-child { border-bottom: 0; }
.footer-phones li a:first-child { color: #D3DDF0; }
.footer-phones li a:last-child { font-weight: 650; white-space: nowrap; }

/* Bewerbungshinweis: saubere Zeilen */
.apply-note p { margin: 0 0 .9rem; }
.apply-note p:last-child { margin-bottom: 0; }
.apply-note a { white-space: nowrap; }

/* Footer: 4 Spalten (Logo/E-Mail, Direkt anrufen, Standorte, Navigation) */
.footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.footer-top ul.footer-phones { max-width: 16rem; margin-bottom: 0; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }

/* Footer: 3 Spalten (Logo/E-Mail, Unsere Praxen, Navigation zweispaltig) */
.footer-top { grid-template-columns: auto auto auto; justify-content: space-between; gap: 3rem; }
.footer-top > div:first-child { max-width: 17rem; }
.footer-top ul.footer-phones { width: 16rem; max-width: 100%; }
.footer-top ul.footer-nav { display: grid; grid-template-rows: repeat(4, auto); grid-auto-flow: column; justify-content: start; column-gap: 2.5rem; row-gap: .45rem; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: auto auto; justify-content: start; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } .footer-top > div:first-child { max-width: none; } }

/* nur für Screenreader/Suchmaschinen sichtbar */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
