/* ================================================================
   Kleinstadtpraxis Vöcklabruck – One-Pager
   Farbwelt abgeleitet aus dem Bestand (#005C82 / #C3DBE9)
   ================================================================ */

/* Schriften lokal, damit keine Anfrage an Google geht */
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* --- Markenblau (aus der bestehenden Seite) --- */
  --ksp-900: #00303F;
  --ksp-800: #00415A;
  --ksp-700: #005481;
  --ksp:     #005C82;
  --ksp-500: #1F87B4;
  --ksp-400: #5DA3C5;
  --ksp-300: #96C0D6;
  --ksp-200: #C3DBE9;   /* Kopfband Bestand */
  --ksp-100: #DCE9F0;
  --ksp-50:  #EEF5F9;

  /* --- warmer Gegenpol, sehr sparsam --- */
  --warm:     #C88A4E;
  --warm-100: #F6EADD;

  /* --- Text & Flächen --- */
  --ink:       #0E2833;
  --ink-soft:  #4A6672;
  --ink-faint: #7C97A3;
  --paper:     #FBFDFE;
  --white:     #FFFFFF;
  --line:      #DCE7ED;

  /* --- Therapieangebote --- */
  --logo-c:   #1F87B4;
  --ergo-c:   #2F8E7E;
  --massage-c:#C08457;
  --kunst-c:  #8C7BA6;
  --psycho-c: #6F9463;

  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(0, 48, 63, .05), 0 6px 16px rgba(0, 48, 63, .05);
  --sh-md: 0 10px 28px rgba(0, 48, 63, .10), 0 2px 8px rgba(0, 48, 63, .06);
  --sh-lg: 0 26px 60px rgba(0, 48, 63, .18), 0 8px 20px rgba(0, 48, 63, .09);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}
html.modal-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(1.95rem, 4.2vw, 3.4rem); font-weight: 400; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.08rem, 1.5vw, 1.28rem); }
p  { margin: 0 0 1.1em; }

::selection { background: var(--ksp-200); color: var(--ksp-900); }

:focus-visible {
  outline: 2px solid var(--ksp-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ksp); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.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;
}

/* ---------- Bausteine ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ksp-700); margin: 0 0 1.1em;
}
.eyebrow svg { width: 15px; height: 15px; color: var(--warm); flex: none; }

.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 13px 15px 13px 26px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: .98rem; font-weight: 600;
  cursor: pointer; transition: all .3s var(--ease);
}
.btn .btn-ico {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: transform .35s var(--ease);
}
.btn .btn-ico svg { width: 13px; height: 13px; }
.btn:hover .btn-ico { transform: rotate(45deg); }

.btn-primary { background: var(--ksp); color: #fff; box-shadow: var(--sh-md); }
.btn-primary .btn-ico { background: rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--ksp-800); transform: translateY(-2px); }

.btn-ghost { background: var(--white); color: var(--ksp-900); border-color: var(--line); }
.btn-ghost .btn-ico { background: var(--ksp-50); color: var(--ksp); }
.btn-ghost:hover { border-color: var(--ksp-300); transform: translateY(-2px); box-shadow: var(--sh-sm); }

section { padding: clamp(68px, 8.5vw, 124px) 0; }

.sec-head { max-width: 62ch; }
.sec-head--tight { margin-bottom: 46px; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: var(--ink-soft); }

/* ================================================================
   Kopfzeile
   ================================================================ */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.site-header.is-stuck {
  background: rgba(251, 253, 254, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 26px rgba(0, 48, 63, .05);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease); }
.site-header.is-stuck .brand img { height: 38px; }
.brand-name {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; line-height: 1.05;
  color: var(--ksp-900);
}
.brand-name span {
  display: block; font-family: var(--font-sans); font-size: .62rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ksp-500); margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .93rem; font-weight: 500; color: var(--ksp-900); position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--ksp-500); transition: right .3s var(--ease);
}
.nav a:hover::after { right: 0; }

.header-cta { padding: 10px 12px 10px 20px; font-size: .9rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--white); border-radius: var(--r-pill); cursor: pointer;
  align-items: center; justify-content: center; gap: 4px; flex-direction: column;
}
.nav-toggle span { display: block; width: 17px; height: 1.6px; background: var(--ksp-900); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ================================================================
   Hero
   ================================================================ */

.hero {
  position: relative;
  padding: clamp(88px, 11vh, 140px) 0 0;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% -10%, var(--ksp-200) 0%, var(--ksp-100) 34%, var(--ksp-50) 62%, var(--paper) 100%);
}
.hero::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: 0; height: 30%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.7) 45%, var(--paper) 100%);
  pointer-events: none;
}
.hero-tower {
  /* Seitenverhältnis wie im Logo: 200 x 371 */
  position: absolute; top: 2%; left: 50%; transform: translateX(-50%);
  width: min(330px, 50vw); color: var(--ksp-500); opacity: .11;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6em;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  padding: 7px 16px 7px 13px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 500; color: var(--ksp-800);
  box-shadow: 0 2px 10px rgba(0,48,63,.06);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--warm); flex: none; }

.hero h1 { margin: 22px auto 0; color: var(--ksp-900); max-width: 18ch; }

.hero-sub {
  max-width: 62ch; margin: 18px auto 0;
  font-size: clamp(1rem, 1.3vw, 1.13rem); color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

.hero-hint {
  margin: 30px 0 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--ksp-500);
  display: inline-flex; align-items: center; gap: .7em;
}
.hero-hint::before, .hero-hint::after {
  content: ""; width: clamp(18px, 5vw, 46px); height: 1px; background: var(--ksp-300);
}

/* ---------- Therapieangebote: fünf gleich große Karten ---------- */

.fan {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
  margin: 20px 0 0;
  padding: 0 0 clamp(52px, 7vw, 92px);
  list-style: none;
  text-align: left;
}
/* Die Karten strecken sich auf die Höhe der höchsten – so bleiben sie
   trotz unterschiedlich langer Texte exakt gleich groß. */
.fan-item { margin: 0; min-width: 0; display: grid; }

.fan-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; height: 100%;
  padding: 20px;
  border: 0; cursor: pointer; text-align: left;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(168deg, color-mix(in srgb, var(--tone) 92%, #fff) 0%, color-mix(in srgb, var(--tone) 100%, #000 14%) 100%);
  box-shadow: var(--sh-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), filter .4s var(--ease);
  filter: saturate(.96);
}
.fan-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(200deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,0) 46%);
  pointer-events: none;
}
.fan-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  pointer-events: none;
}
.fan-card:hover, .fan-card:focus-visible {
  transform: translateY(-7px);
  box-shadow: var(--sh-lg);
  filter: saturate(1.06);
}
.fan-card[aria-pressed="true"] {
  transform: translateY(-7px);
  box-shadow: var(--sh-lg);
  filter: saturate(1.1);
}
.fan-card[aria-pressed="true"]::after { box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }

.fan-ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.2);
  margin-bottom: 16px;
}
.fan-ico svg { width: 58%; height: 58%; }

.fan-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.02rem, 1.3vw, 1.3rem);
  line-height: 1.14; margin: 0 0 5px;
}
.fan-count {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; opacity: .8;
}
.fan-text {
  margin: 14px 0 0;
  font-size: clamp(.83rem, 1.02vw, .92rem); line-height: 1.5;
  color: rgba(255,255,255,.93);
}

/* Fuß: kleine Vorschau der Therapeut:innen plus Pfeil */
.fan-foot {
  margin-top: auto; padding-top: 20px;
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.fan-avatars { display: flex; align-items: center; }
.fan-avatars img {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%; object-fit: cover; object-position: center 20%;
  border: 2px solid rgba(255,255,255,.92);
  background: var(--ksp-100);
  box-shadow: 0 2px 6px rgba(0,48,63,.18);
}
.fan-avatars img + img { margin-left: -11px; }
.fan-go {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.18);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.fan-go svg { width: 16px; height: 16px; }
.fan-card:hover .fan-go, .fan-card:focus-visible .fan-go {
  background: rgba(255,255,255,.92); color: var(--ksp-900); transform: translateX(3px);
}

/* ================================================================
   Team
   ================================================================ */

.team { background: var(--paper); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 40px; }
.chip {
  --tone: var(--ksp);
  display: inline-flex; align-items: center; gap: .55em;
  padding: 9px 17px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--white);
  font-size: .89rem; font-weight: 500; color: var(--ksp-900);
  cursor: pointer; transition: all .28s var(--ease);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); flex: none; }
.chip .num { font-size: .78rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ksp-300); transform: translateY(-1px); }
.chip[aria-pressed="true"] {
  background: var(--tone); border-color: var(--tone); color: #fff;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--tone) 30%, transparent);
}
.chip[aria-pressed="true"] .num { color: rgba(255,255,255,.75); }
.chip[aria-pressed="true"] .dot { background: rgba(255,255,255,.85); }

.team-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.person { position: relative; transition: opacity .4s var(--ease); }
.person.is-hidden { display: none; }
.person.is-enter { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* Karte zeigt nur Bild, Name und Therapieangebot */
.person-card {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--ksp-100); overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 4.9;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.person-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--ksp-200); }
.person-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transition: transform .7s var(--ease);
}
.person-card:hover img { transform: scale(1.05); }

/* Person ohne Foto: Initialen auf dem Farbton des Therapieangebots */
.person-initialen {
  position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 22%;
  background: linear-gradient(168deg, color-mix(in srgb, var(--tone) 70%, #fff) 0%, var(--tone) 100%);
  color: rgba(255,255,255,.92); font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 6vw, 4.4rem); letter-spacing: .02em;
}
.person-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,48,63,0) 42%, rgba(0,48,63,.78) 100%);
}

.person-meta {
  position: absolute; z-index: 2; left: 18px; right: 66px; bottom: 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px; text-align: left;
}
.person-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.08rem, 1.4vw, 1.24rem); line-height: 1.18; color: #fff;
}
.person-cat {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--tone); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.person-cat svg { width: 12px; height: 12px; flex: none; }

.person-open {
  position: absolute; z-index: 2; right: 16px; bottom: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--ksp-900);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.person-open svg { width: 16px; height: 16px; }
.person-card:hover .person-open { background: var(--tone); color: #fff; transform: rotate(90deg); }

.person-flag {
  position: absolute; z-index: 2; left: 14px; top: 14px;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.94); color: var(--ksp-800);
  font-size: .71rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: var(--sh-sm);
}

/* Volltext steckt im Markup und wandert per JS in den Dialog */
html.js .person-detail { display: none; }
.person-detail { margin-top: 18px; }

.team-empty { display: none; padding: 60px 0; color: var(--ink-faint); }

/* ---------- Kontaktzeilen (Karte im Dialog) ---------- */

.person-links { display: grid; gap: 9px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.person-links a {
  display: inline-flex; align-items: center; gap: .65em;
  font-size: .94rem; color: var(--ksp-800); width: fit-content;
  transition: color .2s;
}
.person-links a svg { width: 15px; height: 15px; color: var(--tone); flex: none; }
.person-links a:hover { color: var(--ksp-500); text-decoration: underline; }

.person-social { display: flex; gap: 8px; margin-top: 16px; }
.person-social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ksp-700); transition: all .25s var(--ease);
}
.person-social a svg { width: 15px; height: 15px; }
.person-social a:hover { background: var(--tone); border-color: var(--tone); color: #fff; }

/* ================================================================
   Profil-Dialog
   ================================================================ */

.modal {
  --tone: var(--ksp);
  padding: 0; border: 0; background: transparent;
  width: min(100% - 28px, 680px); max-height: min(88vh, 900px);
  overflow: visible;
}
.modal::backdrop { background: rgba(0, 48, 63, .58); backdrop-filter: blur(3px); }

.modal-inner {
  background: var(--white); border-radius: var(--r-lg);
  max-height: min(88vh, 900px); overflow-y: auto;
  box-shadow: var(--sh-lg);
}
.modal[open] { animation: modalIn .34s var(--ease) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }

.modal-close {
  position: absolute; top: -14px; right: -14px; z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ksp-900);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--sh-md); transition: all .25s var(--ease);
}
.modal-close svg { width: 17px; height: 17px; }
.modal-close:hover { background: var(--ksp-900); color: #fff; border-color: var(--ksp-900); }

.modal-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 18px;
  padding: 20px clamp(20px, 3.4vw, 34px);
  background: var(--white); border-bottom: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.modal-head img {
  width: 74px; height: 88px; flex: none;
  object-fit: cover; object-position: center 20%;
  border-radius: 14px; background: var(--ksp-100);
}
.modal-head img[hidden] { display: none; }
.modal-cat {
  margin: 0 0 5px; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--tone);
}
.modal-name { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--ksp-900); }

.modal-body { padding: 26px clamp(20px, 3.4vw, 34px) clamp(26px, 3.4vw, 34px); }
.modal-body p { color: var(--ink-soft); font-size: .98rem; }
.modal-body p:last-of-type { margin-bottom: 0; }
.modal-body strong { color: var(--ksp-800); }
.modal-body ul { margin: 0 0 1.1em; padding: 0; list-style: none; display: grid; gap: 7px; }
.modal-body li {
  position: relative; padding-left: 20px; color: var(--ink-soft); font-size: .96rem;
}
.modal-body li::before {
  content: ""; position: absolute; left: 2px; top: .66em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--tone);
}
.modal-body .person-detail { margin-top: 0; }

/* ================================================================
   Standort
   ================================================================ */

.place { background: var(--white); border-top: 1px solid var(--line); }
.place-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 72px); align-items: center; }

.addr-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.addr-row { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.addr-row:last-child { border-bottom: 0; }
.addr-row .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--ksp-50); color: var(--ksp); display: grid; place-items: center; }
.addr-row .ico svg { width: 18px; height: 18px; }
.addr-row h3 { margin: 0 0 4px; font-size: 1.05rem; }
.addr-row p { margin: 0; font-size: .94rem; color: var(--ink-soft); }
.addr-row strong { color: var(--ksp-800); font-weight: 600; }

.map-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3.4; border: 1px solid var(--line); box-shadow: var(--sh-md);
  background: var(--ksp-50);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }

/* ================================================================
   Fußzeile
   ================================================================ */

.site-footer { background: var(--ksp-900); color: var(--ksp-200); padding: clamp(52px, 6vw, 80px) 0 26px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.site-footer .footer-head {
  font-family: var(--font-sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ksp-400); margin: 0 0 16px; font-weight: 700;
}
.site-footer a:hover { color: #fff; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .94rem; }
.footer-claim { font-size: .98rem; color: var(--ksp-200); line-height: 1.6; max-width: 40ch; margin: 0 0 20px; }
.footer-logo { height: 58px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: .9; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; transition: all .25s var(--ease);
}
.socials a svg { width: 16px; height: 16px; }
.socials a:hover { background: #fff; color: var(--ksp-900); border-color: #fff; }

.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .84rem; color: var(--ksp-400);
}

/* ================================================================
   Einblendungen beim Scrollen
   ================================================================ */

/* Nur ausblenden, wenn JavaScript läuft – sonst bleibt alles sichtbar */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ================================================================
   Unterseiten (Datenschutz usw.)
   ================================================================ */

.subpage { padding-top: clamp(120px, 14vw, 170px); background: var(--paper); }
.subpage-wrap { max-width: 820px; }
.page-title { color: var(--ksp-900); margin-bottom: .8em; }
.page-content { color: var(--ink-soft); }
.page-content h2, .page-content h3, .page-content h4 { color: var(--ksp-900); margin-top: 1.6em; }
.page-content h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.page-content a { color: var(--ksp-700); text-decoration: underline; text-underline-offset: 2px; }
.page-content a.btn { color: #fff; text-decoration: none; }
.page-content ul, .page-content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.page-content img { height: auto; border-radius: var(--r-md); }

/* ================================================================
   WordPress-Admin-Leiste
   ================================================================ */

.admin-bar .site-header { top: 32px; }
html.admin-bar { scroll-padding-top: 124px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

/* ================================================================
   Responsiv
   ================================================================ */

@media (max-width: 1080px) {
  .place-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; inset: calc(100% + 8px) var(--gutter) auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--sh-lg); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all .3s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 12px 14px; border-radius: var(--r-sm); }
  .nav a:hover { background: var(--ksp-50); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; order: 3; }
  .header-cta { order: 2; }
  .site-header { background: rgba(251,253,254,.9); backdrop-filter: blur(12px); }
}

@media (max-width: 860px) {
  .fan { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand-name { display: none; }

  /* Kopf-CTA wird zur runden Schaltfläche (Name über aria-label) */
  .header-cta .cta-label { display: none; }
  .header-cta { width: 46px; height: 46px; padding: 0; gap: 0; justify-content: center; }
  .header-cta .btn-ico { background: transparent; width: 20px; height: 20px; }
  .header-cta .btn-ico svg { width: 15px; height: 15px; }

  /* Therapieangebote als volle, gut treffbare Karten untereinander */
  .fan { grid-template-columns: 1fr; gap: 12px; }
  .fan-name { font-size: 1.14rem; }
  .fan-text { font-size: .92rem; }

  .team-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
  .person-meta { left: 14px; right: 14px; bottom: 13px; }
  .person-open { right: 12px; top: 12px; bottom: auto; width: 34px; height: 34px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 104px; }
  /* Kompakter, damit die Zeile auch mit „am Stadtplatz“ einzeilig bleibt; längere Texte brechen sauber um */
  .hero-badge { font-size: .72rem; padding: 7px 13px; border-radius: 16px; text-align: center; }
  .hero-badge svg { display: none; }

  .modal { width: 100%; max-height: 92vh; margin: auto 0 0; }
  .modal-inner { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92vh; }
  .modal-close { top: -52px; right: 12px; }
  .modal-head { gap: 14px; padding: 16px 20px; }
  .modal-head img { width: 60px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .fan, .nav-toggle, .map-frame, .modal { display: none !important; }
  body { background: #fff; }
  html.js .person-detail { display: block; }
}
