/* ============================================================
   KINELLA – Design-System
   Farben zentral hier anpassen (z. B. nach Logo).
   ============================================================ */
:root {
  /* Markenfarben – Lila aus dem KinElla-Logo, Salbeigrün aus der Praxis */
  --brand: #75639D;
  --brand-600: #66538F;
  --brand-700: #4E3E73;
  --brand-50: #F4F1F8;
  --brand-100: #E6E0EF;
  --accent: #7C8F73;        /* Salbeigrün */
  --accent-700: #4F6148;
  --accent-50: #EEF2EB;

  /* Neutrale Farben – EINE Textfarbe für die ganze Seite */
  --bg: #FAF9F7;
  --surface: #FFFFFF;
  --text: #2A2533;          /* Haupttext & Überschriften */
  --text-muted: #57516A;    /* Nebentext (Kontrast > 7:1) */
  --line: #E8E5EC;

  /* Typografie – EINE Schrift für alles */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-body: 1.0625rem;
  --lh-body: 1.7;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(42, 37, 51, .05), 0 2px 8px rgba(42, 37, 51, .04);
  --shadow: 0 2px 4px rgba(42, 37, 51, .04), 0 12px 32px rgba(42, 37, 51, .08);
  --container: 1180px;
  --header-h: 76px;
  --tabbar-h: 68px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
h1, h2 { hyphens: manual; -webkit-hyphens: manual; text-wrap: balance; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--text); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2, .h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.4rem); }
h3, .h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1em; height: 1em; }
.icon-xs { width: .8em; height: .8em; }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--text-muted); line-height: 1.6; }
.badge { display: inline-block; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-700); background: var(--accent-50); padding: .25em .7em; border-radius: 99px; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--surface); --b-fg: var(--text); --b-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .75em 1.4em;
  font: 700 1rem/1.2 var(--font); text-decoration: none;
  color: var(--b-fg); background: var(--b-bg); border: 1.5px solid var(--b-bd); border-radius: 999px;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--b-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { --b-bg: var(--brand); --b-fg: #fff; --b-bd: var(--brand); box-shadow: 0 6px 18px rgba(117, 99, 157, .28); }
.btn-primary:hover { --b-bg: var(--brand-600); --b-bd: var(--brand-600); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--text); --b-bd: var(--line); }
.btn-ghost:hover { --b-bg: var(--surface); --b-bd: var(--brand-100); }
.btn-soft { --b-bg: var(--brand-50); --b-fg: var(--brand-700); --b-bd: transparent; }
.btn-soft:hover { --b-bg: var(--brand-100); }
.btn-light { --b-bg: #fff; --b-fg: var(--brand-700); --b-bd: #fff; }
.btn-outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.5); }
.btn-outline-light:hover { --b-bg: rgba(255,255,255,.1); }
.btn-sm { min-height: 42px; padding: .55em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 247, .85);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
  padding-top: env(safe-area-inset-top);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(42,37,51,.05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; font-weight: 800; font-size: 1.2rem; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand-logo { height: 54px; width: auto; }
.footer-brand .brand-logo { height: 72px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 99px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; }
.main-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.main-nav a[aria-current="page"] { color: var(--brand); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  list-style: none; margin: 0; padding: 10px; min-width: 300px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: flex; width: 100%; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 600; }
.sub-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.sub .badge { margin-left: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 0; z-index: 90;
  background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 8px 0 calc(var(--tabbar-h) + 32px + env(safe-area-inset-bottom));
  animation: mm-in .22s ease;
}
@keyframes mm-in { from { opacity: 0; transform: translateY(-8px); } }
.mobile-menu-inner { padding: 0 20px; max-width: 560px; margin: 0 auto; }
.mm-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin: 20px 0 10px; }
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mm-tile { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--text); text-decoration: none; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.mm-tile:active { background: var(--brand-50); }
.mm-tile:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.mm-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mm-list li + li { border-top: 1px solid var(--line); }
.mm-list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: var(--text); text-decoration: none; font-weight: 600; }
.mm-list .icon { color: var(--brand); }
.mm-actions { display: grid; gap: 10px; margin-top: 22px; }
body.menu-open { overflow: hidden; }

/* ---------- Icon-Kacheln ---------- */
.tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); flex: none; }
.tile-icon .icon { width: 24px; height: 24px; }
.tile-icon.sm { width: 38px; height: 38px; border-radius: 11px; }
.tile-icon.sm .icon { width: 20px; height: 20px; }
.tile-icon.xl { width: 76px; height: 76px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.tile-icon.xl .icon { width: 36px; height: 36px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 32px 0 0; color: var(--text-muted); font-size: .95rem; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--brand); }

.hero-visual { position: relative; aspect-ratio: 4 / 4.6; border-radius: 32px; overflow: hidden; background: linear-gradient(160deg, var(--brand-100), var(--brand-50) 45%, var(--accent-50)); box-shadow: var(--shadow); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-visual .b1 { width: 70%; aspect-ratio: 1; right: -18%; top: -12%; background: radial-gradient(circle at 30% 30%, rgba(117,99,157,.35), rgba(117,99,157,0) 70%); }
.hero-visual .b2 { width: 60%; aspect-ratio: 1; left: -15%; bottom: -10%; background: radial-gradient(circle at 60% 40%, rgba(124,143,115,.35), rgba(124,143,115,0) 70%); }
.hero-visual .rings { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-visual .rings span { position: absolute; border: 1.5px solid rgba(117,99,157,.18); border-radius: 50%; }
.hero-visual .rings span:nth-child(1) { width: 38%; aspect-ratio: 1; }
.hero-visual .rings span:nth-child(2) { width: 62%; aspect-ratio: 1; }
.hero-visual .rings span:nth-child(3) { width: 86%; aspect-ratio: 1; }
.hero-visual .core { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-visual .core .brand-mark { width: 96px; height: 96px; font-size: 2.6rem; border-radius: 28px; box-shadow: 0 16px 40px rgba(78,62,115,.3); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 99px; box-shadow: var(--shadow); font-weight: 700; font-size: .92rem; color: var(--text); white-space: nowrap; }
.float-chip .tile-icon { width: 34px; height: 34px; border-radius: 50%; }
.float-chip .tile-icon .icon { width: 18px; height: 18px; }
.float-chip.c1 { top: 12%; left: 8%; }
.float-chip.c2 { top: 30%; right: 6%; }
.float-chip.c3 { bottom: 30%; left: 5%; }
.float-chip.c4 { bottom: 12%; right: 10%; }
.hero-card { position: absolute; left: 20px; bottom: 20px; display: flex; flex-direction: column; padding: 14px 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 16px; box-shadow: var(--shadow); line-height: 1.4; }
.hero-card span { color: var(--text-muted); font-size: .9rem; }
.hero-visual .float-chip.c1 { top: 20px; left: 20px; }
a.chip-link { text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.chip-link:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(42,37,51,.18); }
.chip-more { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding-left: 10px; border-left: 1px solid var(--line); color: var(--brand); font-size: .85em; }
.chip-more .icon { width: 1em; height: 1em; }

/* ---------- Seitenkopf mit Foto (Angebotsseiten) ---------- */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--brand-50); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.slideshow { position: relative; }
.slideshow img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slideshow img.is-active { opacity: 1; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slide-dots button { width: 10px; height: 10px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(255,255,255,.35); box-shadow: 0 1px 4px rgba(0,0,0,.3); cursor: pointer; transition: background .2s, transform .2s; }
.slide-dots button[aria-current="true"] { background: #fff; transform: scale(1.15); }
@media (prefers-reduced-motion: reduce) { .slideshow img { transition: none; } }
.inline-photo { margin: 1.4em 0; max-width: 340px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.inline-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.person-card h3, .person-card h4 { margin: 0 0 .2em; font-size: 1.1rem; }
.person-card p { margin: 0; color: var(--text-muted); }
.person-card p + p { margin-top: .6em; }
.person-card .role { color: var(--brand); font-weight: 700; font-size: .92rem; }
.avatar { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; }
.prose .person-card { margin-bottom: 1.2em; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; height: clamp(320px, 38vw, 460px); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--brand-50); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }

/* ---------- Service-Karten ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 0 24px 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.service-card .card-link { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card-media { position: relative; margin: 0 -24px 20px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-50); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .card-media img { transform: scale(1.04); }
.card-media.no-photo { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, var(--brand-100), transparent 60%), linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; }
.card-media .media-icon .icon { width: 72px; height: 72px; stroke-width: 1.3; opacity: .9; }
.card-media .badge { position: absolute; top: 14px; left: 14px; background: #fff; }
.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
/* Einzelne Karte in der letzten Reihe: über die ganze Breite, Bild links */
@media (min-width: 1081px) {
  .service-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 28px; padding: 0 28px 0 0; }
  .service-card:last-child:nth-child(3n+1) .card-media { grid-row: 1 / span 3; margin: 0; aspect-ratio: auto; min-height: 220px; }
  .service-card:last-child:nth-child(3n+1) .card-top { margin-top: 28px; }
  .service-card:last-child:nth-child(3n+1) .card-foot { margin-bottom: 24px; }
  .po-item:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
@media (min-width: 641px) and (max-width: 1080px) {
  .service-card:last-child:nth-child(odd), .po-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.service-card h3 { margin: 0; }
.service-card p { color: var(--text-muted); font-size: .98rem; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; font-size: .95rem; }
.price-from { color: var(--text); }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); }
.service-card:hover .more .icon { transform: translateX(3px); }
.more .icon { transition: transform .2s; }

/* ---------- Ansatz / Steps ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.pillar .tile-icon { margin-bottom: 18px; background: var(--accent-50); color: var(--accent); }
.pillar p { color: var(--text-muted); margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 28px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.steps p { color: var(--text-muted); margin: 0; }

/* ---------- About-Teaser / Split ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, var(--brand-100), var(--accent-50)); box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand); font-weight: 800; font-size: 4rem; letter-spacing: -0.04em; opacity: .5; }
.portrait-tag { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 14px 18px; background: rgba(255,255,255,.94); border-radius: 16px; box-shadow: var(--shadow-sm); }
.portrait-tag strong { display: block; }
.portrait-tag span { color: var(--text-muted); font-size: .92rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375639D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 64px); background: linear-gradient(180deg, var(--brand-50), var(--bg)); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.service-hero { display: flex; gap: 22px; align-items: center; }
.service-hero h1 { margin-bottom: .15em; }
.service-hero h1.long { font-size: clamp(1.5rem, .9rem + 1.9vw, 2.15rem); }
.service-hero > div, .hero-split > div, .card-top h3 { min-width: 0; }
.service-hero .lead { margin: 0; }
.service-hero .badge { margin-bottom: 8px; }
.page-hero .lead { max-width: 680px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 28px 0 0; }
.facts li { display: flex; flex-direction: column; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; min-width: 140px; }
.facts span { font-size: .8rem; color: var(--text-muted); font-weight: 600; }
.facts strong { font-size: 1.05rem; }

/* ---------- Service-Detail ---------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin-top: 1.8em; }
.prose ul { margin: 0 0 1.2em; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.feature-list li { padding: 16px 18px 16px 52px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.feature-list li::before { content: ''; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375639D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.card-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 1.2em; }
.mini-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.mini-card h4 { margin-bottom: .35em; }
.mini-card p { margin: 0; color: var(--text-muted); font-size: .98rem; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.topic h4 { color: var(--brand); }
.topic ul { margin: 0; padding-left: 1.1em; font-size: .96rem; }
.topic li { margin-bottom: 4px; }
.quote { margin: 2em 0; padding: 26px 28px; background: var(--accent-50); border-radius: var(--radius); border-left: 4px solid var(--accent); }
.quote p { font-size: 1.15rem; font-weight: 600; margin: 0 0 .5em; }
.quote cite { font-style: normal; color: var(--text-muted); font-weight: 600; }

.price-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 12px; }
.price-card h2 { margin: 0; }
.price-rows { margin: 0 0 8px; }
.price-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-rows div:last-child { border-bottom: 0; }
.price-rows dt { color: var(--text-muted); }
.price-rows dd { margin: 0; font-weight: 800; white-space: nowrap; }
.note { display: flex; gap: 10px; margin: 6px 0 0; font-size: .88rem; color: var(--text-muted); line-height: 1.5; }
.note .icon { margin-top: 2px; color: var(--accent); }

/* ---------- Preisübersicht ---------- */
.price-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.po-item { display: flex; flex-direction: column; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.po-item .price-rows { flex: 1; }
.po-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.po-head h3 { margin: 0; font-size: 1.1rem; }
.po-head a { color: var(--text); text-decoration: none; }
.po-head a:hover { color: var(--brand); }

/* ---------- Timeline (Über uns) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--brand-100); }
.timeline li { position: relative; padding: 0 0 26px 44px; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.timeline .when { display: block; font-size: .85rem; font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.timeline strong { display: block; font-size: 1.08rem; }
.timeline p { margin: .2em 0 0; color: var(--text-muted); }
.hobbies { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hobbies li { padding: 10px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; font-weight: 700; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { color: var(--text); border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.contact-card small { display: block; color: var(--text-muted); font-size: .85rem; font-weight: 600; }
.contact-card strong { display: block; font-size: 1.05rem; line-height: 1.4; }
.form-card { padding: clamp(22px, 4vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 16px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357516A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { display: none; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.form-status.ok { display: block; background: var(--brand-50); color: var(--brand-700); }
.form-status.err { display: block; background: #FBECEA; color: #8A2A1E; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal address { font-style: normal; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 1.5em; }

/* ---------- CTA & Footer ---------- */
.cta-band { padding: clamp(44px, 6vw, 72px) 0; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.site-footer { background: #272033; color: rgba(255,255,255,.78); padding: 64px 0 0; font-size: .97rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; }
.social { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: var(--brand-100); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }

/* ---------- Tab-Bar (App-Ansicht Handy) ---------- */
.tabbar { display: none; }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .service-grid, .price-overview { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .hero-grid, .split, .contact-grid, .service-layout { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16 / 10; border-radius: 24px; }
  .float-chip { font-size: .82rem; padding: 7px 12px 7px 7px; }
  .float-chip .tile-icon { width: 28px; height: 28px; }
  .hero-visual .core .brand-mark { width: 72px; height: 72px; font-size: 2rem; border-radius: 22px; }
  .pillars, .steps { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .portrait { aspect-ratio: 4 / 3.4; max-height: 460px; }
  .brand-logo { height: 44px; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 22px; }

  /* App-artige Tab-Bar unten */
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding: 0 6px env(safe-area-inset-bottom);
    background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(42,37,51,.06);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--tabbar-h); color: var(--text-muted); text-decoration: none; font-size: .72rem; font-weight: 700; -webkit-tap-highlight-color: transparent; }
  .tabbar a .icon { width: 23px; height: 23px; }
  .tabbar a.is-active { color: var(--brand); }
  .tab-book { position: relative; }
  .tab-book-btn { display: grid; place-items: center; width: 54px; height: 54px; margin-top: -26px; border-radius: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; box-shadow: 0 8px 20px rgba(117,99,157,.4); border: 4px solid var(--bg); }
  .tabbar .tab-book { color: var(--brand); }
}

@media (max-width: 640px) {
  :root { --fs-body: 1rem; --radius: 18px; }
  .container { padding: 0 16px; }
  .service-grid, .price-overview, .card-list, .topic-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card { padding: 0 20px 20px; }
  .card-media { margin: 0 -20px 18px; }
  .team-grid { grid-template-columns: 1fr; }
  .person-card { padding: 18px; gap: 14px; }
  .avatar { width: 56px; height: 56px; font-size: 1.1rem; }
  .gallery { grid-template-columns: 1fr 1fr; height: auto; }
  .gallery figure { aspect-ratio: 3 / 4; }
  .gallery .g-wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .hero-card { left: 12px; bottom: 12px; padding: 10px 14px; }
  .hero-card span { font-size: .8rem; }
  .hero-visual .float-chip.c1 { top: 12px; left: 12px; }
  .footer-brand .brand-logo { height: 60px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero { padding-top: 28px; }
  .hero-visual { aspect-ratio: 16 / 11; }
  .hero .eyebrow { font-size: .72rem; letter-spacing: .1em; }
  .trust { gap: 8px 16px; font-size: .9rem; }
  .float-chip.c2, .float-chip.c3 { display: none; }
  .service-hero { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tile-icon.xl { width: 60px; height: 60px; border-radius: 18px; }
  .facts li { flex: 1 1 calc(50% - 6px); min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-top: 44px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
}

/* ---------- Praxisräume & Rundgang (Über uns) ---------- */
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 220px); gap: 16px; }
.rooms figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--brand-50); }
.rooms .r-big { grid-column: span 2; grid-row: span 2; }
.rooms .r-wide { grid-column: span 2; }
.rooms img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rooms figure:hover img { transform: scale(1.03); }
.rooms figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--text); font-size: .85rem; font-weight: 700; padding: .35em .85em; border-radius: 99px; }
.tour { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: clamp(40px, 6vw, 72px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.tour-text .h2 { margin-bottom: .4em; }
.tour-frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; background: var(--brand-50); }
.tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-start { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: none; }
.tour-start img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); transition: filter .3s, transform .6s ease; }
.tour-start:hover img { filter: brightness(.72); transform: scale(1.02); }
.tour-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .55em; background: #fff; color: var(--brand-700); font: 800 1.05rem/1 var(--font); padding: .95em 1.5em; border-radius: 99px; box-shadow: 0 10px 30px rgba(0,0,0,.25); white-space: nowrap; }
.tour-play svg { width: 1.2em; height: 1.2em; }
.tour-note { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--text-muted); }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .rooms { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .rooms .r-big { grid-row: span 2; }
  .rooms figcaption { left: 8px; bottom: 8px; font-size: .75rem; }
  .tour-frame { aspect-ratio: 4 / 5; }
}

/* ---------- Diashow Startseite (Praxisräume, 2 Sek. pro Bild) ---------- */
.hero-visual.slideshow img { transition-duration: .7s; }
.hero-visual .slide-dots { left: auto; right: 20px; bottom: 30px; justify-content: flex-end; gap: 6px; }
.hero-visual .slide-dots button { width: 8px; height: 8px; }
@media (max-width: 640px) { .hero-visual .slide-dots { right: 12px; bottom: 20px; } }
