/* ==========================================================================
   Pflege Timmer – Designsystem
   Farben aus Logo (#5F2579) und bisheriger Website übernommen.
   Display: Newsreader (selbst gehostet) · Text: Figtree (selbst gehostet)
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-display.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-display-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  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: "Figtree";
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marke */
  --plum: #602579;          /* Logo / Website-Akzent */
  --plum-700: #4c1d61;
  --plum-900: #2f1040;
  --plum-950: #1f0a2b;
  --orchid: #a03ec9;        /* Hover-Akzent der bisherigen Website */
  --lilac: #bc83cb;         /* Hintergrund der Mitarbeiterfotos */
  --lilac-200: #e4d4ec;
  --lilac-100: #efe6f4;
  --lilac-50: #f7f2fa;

  /* Neutrale (bisherige Website) */
  --ink: #061829;
  --text: #3e4955;
  --muted: #626c77;
  --mist: #f1f6fb;
  --line: #dbe5ee;
  --line-strong: #c6d2de;
  --white: #ffffff;

  --ok: #1d7a4e;
  --err: #b42318;

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgb(6 24 41 / .05), 0 4px 14px -6px rgb(6 24 41 / .10);
  --shadow: 0 1px 2px rgb(6 24 41 / .04), 0 18px 48px -18px rgb(6 24 41 / .22);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --sky-h: clamp(62px, 7.5vw, 100px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* Kein grauer Kasten beim Antippen (iOS/Android) – vererbt sich auf alle Links, Buttons, Chips usw. */
html { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--plum-700); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; }
strong { color: var(--ink); font-weight: 650; }
::selection { background: var(--lilac-200); color: var(--ink); }

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

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--plum); color: #fff; padding: 12px 18px; border-radius: var(--radius-s); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--plum);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--lilac-200); }

.h2 {
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(2rem, 1.25rem + 2.5vw, 3.3rem);
  line-height: 1.07;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin-bottom: .5em;
}
.h2 em, .page-head__title em, .hero__title em { font-style: italic; color: var(--plum); font-weight: 420; }
.h3 { font-family: var(--font-sans); font-size: 1.22rem; font-weight: 700; line-height: 1.35; margin: 1.6em 0 .5em; }
.lead { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.32rem); line-height: 1.55; color: var(--text); }

/* ---------- Buttons & Links ---------- */
.btn {
  --btn-h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 22px;
  border: 1.5px solid transparent; border-radius: var(--radius-s);
  font-family: var(--font-sans); font-size: 1rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover .icon[class*="arrow"], .btn:hover use[href="#i-arrow-right"] { transform: translateX(3px); }
.btn:hover > .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { --btn-h: 58px; padding: 0 28px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--plum); color: #fff; }
.btn--primary:hover { background: var(--plum-700); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--plum); color: var(--plum); }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: var(--lilac-50); color: var(--plum-700); }
.btn--outline-light { border-color: rgb(255 255 255 / .45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); color: #fff; }
.btn--quiet { background: none; color: var(--plum); padding-inline: 8px; text-decoration: underline; text-underline-offset: .25em; }
.btn--quiet:hover { color: var(--plum-700); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--primary:focus-visible, .btn--light:focus-visible { outline-color: var(--orchid); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-weight: 700; color: var(--plum); text-decoration: none;
}
.link-arrow .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Bürostatus: grün = geöffnet, rot = geschlossen (<html data-office>, siehe site.js) ---------- */
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3fbf7f; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #3fbf7f; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
[data-office="closed"] .pulse { background: #e5484d; }
[data-office="closed"] .pulse::after { display: none; }
.office-state { color: var(--ok); }
[data-office="closed"] .office-state { color: var(--err); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* Unschärfe auf Pseudo-Element, damit das mobile Menü (position: fixed) nicht im Header eingeschlossen wird */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(255 255 255 / .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(6 24 41 / .4); }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 72px; }
/* Logo (partials/brand.php): immer ein einziges Element. Die SVG-Varianten skalieren mit font-size,
   das Original hat feste Höhen. */
.brand { display: inline-flex; font-size: 1.5rem; }
.brand__logo { display: block; width: auto; }
.brand--original .brand__logo { height: 39px; }
.brand--newsreader .brand__logo { height: 1.6em; }
.brand--gestapelt .brand__logo { height: 1.8em; }
/* 1.6rem ab 1440 px, darunter schrumpfend auf 1.4rem (ab 1240 px), damit Navigation + Telefon + CTA Platz haben */
.header__logo { flex: none; font-size: clamp(1.4rem, .16rem + 1.6vw, 1.6rem); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; list-style: none; }
.nav__link {
  position: relative; display: block; padding: 10px 14px;
  color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 8px; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--plum); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--plum); }
.nav__mobile-extra { display: none; }
.header__cta { flex: none; }
.header__burger, .header__phone, .quick, .scrim { display: none; }

/* Büro-Telefon mit Status im Header (Desktop) */
.header__call {
  flex: none; display: flex; align-items: center; gap: 12px;
  padding-left: 24px; border-left: 1px solid var(--line);
  color: var(--ink); text-decoration: none; line-height: 1.2;
}
.header__call-icon {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--lilac-50); color: var(--plum); transition: background-color .2s, color .2s;
}
.header__call-icon .icon { width: 19px; height: 19px; }
.header__call-icon .pulse { position: absolute; top: 1px; right: 1px; box-shadow: 0 0 0 2px var(--white); }
.header__call-text { display: grid; gap: 3px; }
.header__call-label { font-size: .8rem; font-weight: 650; white-space: nowrap; }
.header__call-num { font-size: 1.02rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; transition: color .2s; }
.header__call:hover { color: var(--ink); }
.header__call:hover .header__call-num { color: var(--plum); }
.header__call:hover .header__call-icon { background: var(--plum); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 92px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(2.3rem, .9rem + 4.3vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.028em;
  color: var(--ink);
}
.hero__title .hero__line { display: block; }
.hero__eyebrow { display: flex; margin-bottom: 26px; font-family: var(--font-sans); letter-spacing: .14em; line-height: 1.2; }
.hero__aside { padding-bottom: .6em; }
.hero__lead { font-size: clamp(1.15rem, 1rem + .45vw, 1.38rem); line-height: 1.5; color: var(--text); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .btn--lg { padding: 0 20px; }

.hero__media { position: relative; margin: 0; height: clamp(380px, 64vh, 700px); overflow: hidden; background: #d8d2cc; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(31 10 43 / .62) 0%, rgb(31 10 43 / .28) 34%, rgb(31 10 43 / 0) 58%),
              linear-gradient(0deg, rgb(31 10 43 / .35) 0%, rgb(31 10 43 / 0) 40%);
}
.hero__quote {
  position: absolute; z-index: 1;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  bottom: clamp(28px, 5vw, 64px);
  max-width: min(520px, 80vw);
  color: #fff;
}
.hero__quote blockquote {
  margin: 0 0 12px;
  font-family: var(--font-display); font-style: italic; font-weight: 420;
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); line-height: 1.18; letter-spacing: -.01em;
  text-wrap: balance;
}
.hero__quote cite { font-style: normal; font-size: .82rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac-200); }
.hero__quote cite::before { content: "— "; }

.video-toggle {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(20px, 3vw, 32px);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / .5); background: rgb(31 10 43 / .35); color: #fff; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .2s;
}
.video-toggle:hover { background: rgb(31 10 43 / .6); }
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle .icon--play, .video-toggle.is-paused .icon--pause { display: none; }
.video-toggle.is-paused .icon--play { display: block; }
/* unten links steht das Zitat, unten rechts der Pause-Knopf → Kennzeichnung oben rechts */
.hero__media .ai-label { top: clamp(20px, 3vw, 32px); right: var(--gutter); bottom: auto; }

/* ---------- Signatur: Schwanenburg-Linie ---------- */
.skyline {
  display: grid; grid-template-columns: minmax(0, 7fr) auto minmax(0, 3fr);
  align-items: end; height: var(--sky-h); color: var(--plum);
  pointer-events: none;
}
.skyline__line { height: max(1px, calc(var(--sky-h) * .015)); background: currentColor; margin-bottom: calc(var(--sky-h) * .0214 - max(1px, calc(var(--sky-h) * .015)) / 2); transform-origin: left; }
.skyline__tower { height: var(--sky-h); width: auto; overflow: visible; }
.skyline__tower path { fill: none; stroke: currentColor; stroke-width: .5; stroke-linejoin: round; stroke-linecap: round; }
.skyline--hero { --sky-h: clamp(76px, 9vw, 124px); margin-top: clamp(36px, 5vw, 72px); }
.skyline--footer { position: absolute !important; left: 0; right: 0; top: calc(-1 * var(--sky-h)); grid-template-columns: minmax(0, 2fr) auto minmax(0, 8fr); }
/* Der Turm ragt aus dem Footer nach oben: der letzte Abschnitt jeder Seite hält dafür
   immer Turmhöhe + Luft frei, damit z. B. die lila Beratungs-Card ihn nicht verdeckt */
main > :last-child { padding-bottom: calc(var(--sky-h) + clamp(28px, 4vw, 56px)); }

.js .skyline__line--l, .js .skyline__line--r { transform: scaleX(0); }
.js .skyline__tower path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .skyline.is-drawn .skyline__line--l { animation: draw-x 1s var(--ease) forwards; }
.js .skyline.is-drawn .skyline__tower path { animation: draw-path 1.3s cubic-bezier(.5, .1, .3, 1) .8s forwards; }
.js .skyline.is-drawn .skyline__line--r { animation: draw-x .9s var(--ease) 1.9s forwards; }
@keyframes draw-x { to { transform: scaleX(1); } }
@keyframes draw-path { to { stroke-dashoffset: 0; } }

/* ---------- Erreichbarkeit ---------- */
.reach { border-bottom: 1px solid var(--line); }
.reach__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); }
.reach__item { padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 44px); }
.reach__item:first-child { padding-left: 0; }
.reach__item + .reach__item { border-left: 1px solid var(--line); }
.reach__title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.reach__title .icon { width: 18px; height: 18px; color: var(--plum); }
.reach__big {
  display: inline-block; font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 460; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); text-decoration: none;
  font-variant-numeric: lining-nums tabular-nums;
}
.reach__big:hover { color: var(--plum); }
.reach__big--link { display: inline-flex; align-items: center; gap: 12px; color: var(--plum); }
.reach__big--link .icon { width: .75em; height: .75em; transition: transform .3s var(--ease); }
.reach__big--link:hover .icon { transform: translateX(5px); }
.reach__meta { margin: 8px 0 0; font-size: .98rem; color: var(--muted); }
.reach__meta a { color: var(--text); }

.status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
  padding: 5px 12px 5px 10px; border-radius: 999px; font-size: .85rem; font-weight: 650;
  background: #e9f6ef;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
[data-office="closed"] .status { background: #fdeceb; }

.hours { margin: 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; }
.hours dt { white-space: nowrap; }
.hours dd { white-space: nowrap; }
.hours dt { color: var(--text); }
.hours dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.hours .is-today dt, .hours .is-today dd { color: var(--plum); font-weight: 700; }
.hours--compact div { padding: 0; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(76px, 10vw, 140px); }
.section--mist { background: var(--mist); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--tight { padding-block: clamp(40px, 6vw, 88px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head .h2 { margin-bottom: 0; max-width: 20ch; }

/* Split-Layouts */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.split--jobs { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split__copy > .h2 { max-width: 16ch; }

.frame { margin: 0; border-radius: var(--radius-l); overflow: hidden; background: var(--lilac-100); }
.frame__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover .frame__img { transform: scale(1.025); }

/* Kennzeichnung KI-generierter Bilder (Art. 50 Abs. 4 KI-VO) – immer sichtbar, auch mobil.
   Hintergrund deckt so stark, dass weiße Schrift selbst auf reinweißem Bild 6:1 Kontrast hat. */
.frame, .wide-media, .cta__media { position: relative; }
.ai-label {
  position: absolute; z-index: 2; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px; border-radius: 999px;
  font-family: var(--font-sans); font-size: .75rem; font-weight: 600; line-height: 1.25; letter-spacing: .01em;
  color: #fff; white-space: nowrap; pointer-events: none;
  background: rgb(31 10 43 / .66);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ai-label .icon { width: 13px; height: 13px; }

.values { list-style: none; margin: 32px 0 24px; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.values .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--lilac-50); color: var(--plum); }
.values strong { display: block; margin-bottom: 2px; font-size: 1.05rem; }
.values span { display: block; font-size: .98rem; color: var(--muted); line-height: 1.55; }

/* ---------- Leistungen ---------- */
.services {
  list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong);
}
.service { border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
/* Drei pro Reihe (6er-Raster); bleiben in der letzten Reihe zwei übrig, teilen sie sich die volle Breite */
.service { grid-column: span 2; }
.service:nth-child(3n+1):nth-last-child(2), .service:nth-child(3n+2):last-child { grid-column: span 3; }
/* Startseite: die vier Leistungsbereiche zwei pro Reihe */
.services--areas > .service { grid-column: span 3; }
.service__link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: clamp(26px, 3vw, 40px); color: inherit; text-decoration: none;
  transition: background-color .35s var(--ease);
}
.service__icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 26px;
  border-radius: 14px; background: var(--white); color: var(--plum);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s;
}
.section:not(.section--mist) .service__icon { background: var(--lilac-50); box-shadow: none; }
.service__icon .icon { width: 26px; height: 26px; }
.service__title { font-family: var(--font-display); font-weight: 480; font-size: clamp(1.45rem, 1.2rem + .5vw, 1.75rem); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 12px; }
.service__text { flex: 1; margin: 0 0 22px; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.service__more { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 700; color: var(--plum); }
.service__more .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.service__link:hover { background: var(--white); }
.section:not(.section--mist) .service__link:hover { background: var(--lilac-50); }
.service__link:hover .service__icon { background: var(--plum); color: #fff; box-shadow: none; }
.service__link:hover .service__more .icon { transform: translateX(5px); }
.service__link:focus-visible { outline-offset: -3px; }

/* ---------- Leistungsbereiche (/dienstleistungen) ----------
   Vier Karten untereinander: Überschrift und Einführung immer sichtbar, Details in einem
   nativen <details> (Tastatur/Screenreader ohne JavaScript, mehrere gleichzeitig offen). */
.areas { display: grid; gap: clamp(18px, 2vw, 26px); }
.area {
  --pad: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 5vw, 80px);
  border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white); box-shadow: var(--shadow-s);
}
.area:has(> .area__more[open]) { border-color: var(--lilac-200); }
.area__head { padding: var(--pad) 0 var(--pad) var(--pad); }
.area__body { align-self: center; padding: var(--pad) var(--pad) var(--pad) 0; }
.area__icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px;
  border-radius: 14px; background: var(--lilac-50); color: var(--plum);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.area__icon .icon { width: 26px; height: 26px; }
.area:has(> .area__more[open]) .area__icon { background: var(--plum); color: #fff; }
.area__title {
  font-family: var(--font-display); font-weight: 480;
  font-size: clamp(1.6rem, 1.25rem + 1vw, 2.15rem); line-height: 1.15; letter-spacing: -.012em;
  text-wrap: balance; hyphens: manual; overflow-wrap: break-word;
}
.area__name { color: var(--plum); }
.area__tag { display: inline-block; margin: 14px 0 0; padding: 5px 13px; border-radius: var(--radius-s); background: var(--lilac-100); color: var(--plum-900); font-size: .92rem; font-weight: 650; line-height: 1.4; }
.area__intro { max-width: 60ch; margin: 0; font-size: clamp(1.12rem, 1.06rem + .2vw, 1.22rem); line-height: 1.6; color: var(--text); text-wrap: pretty; }
.area__note { display: flex; gap: 10px; max-width: 60ch; margin: 18px 0 0; padding: 12px 16px; border-radius: var(--radius-s); background: var(--mist); font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
.area__note .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--plum); }
.area__action { margin-top: 24px; }

.area__more { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.area__toggle { display: block; list-style: none; cursor: pointer; border-radius: 0 0 calc(var(--radius-l) - 1px) calc(var(--radius-l) - 1px); transition: background-color .25s; }
.area__toggle::-webkit-details-marker { display: none; }
.area__toggle::marker { content: ""; }
.area__more[open] > .area__toggle { border-radius: 0; }
.area__toggle-inner { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px var(--pad); font-size: 1.06rem; font-weight: 700; color: var(--plum); }
.area__chevron { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s; }
.area__chevron .icon { width: 20px; height: 20px; }
.area__toggle:hover { background: var(--lilac-50); }
.area__toggle:hover .area__chevron, .area__more[open] .area__chevron { background: var(--plum); border-color: var(--plum); color: #fff; }
.area__more[open] .area__chevron { transform: rotate(180deg); }
.area__toggle:focus-visible { outline-offset: -3px; }
.area__more[open] .area__show, .area__more:not([open]) .area__hide { display: none; }

.area__details { padding: 6px var(--pad) var(--pad); }
.area__more[open] .area__details { animation: area-in .45s var(--ease); }
@keyframes area-in { from { opacity: 0; transform: translateY(-6px); } }
/* Auf- und Zuklappen weich animieren, wo der Browser es kann (sonst springt es einfach) */
.area__more { interpolate-size: allow-keywords; }
.area__more::details-content { block-size: 0; overflow-y: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.area__more[open]::details-content { block-size: auto; }
.area__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(28px, 4vw, 56px); margin: 0; }
.area__list li { font-size: 1.05rem; color: var(--text); }
.area__list strong { display: block; margin-bottom: 2px; }
.area__extra { max-width: 70ch; margin: 0; color: var(--text); }
.area__list:has(+ .area__extra) { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.area__list + .area__extra { margin-top: 18px; }
.area__hint { display: flex; gap: 12px; max-width: 70ch; margin: 24px 0 0; padding: 14px 18px; border-radius: var(--radius); background: var(--lilac-50); color: var(--ink); }
.area__hint .icon { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--plum); }
.area__hint a { font-weight: 700; text-decoration: underline; }
/* Sprung aus einem anderen Bereich (z. B. „Mehr zur Verhinderungspflege“): Ziel kurz hervorheben */
.area:target { animation: area-target 2.6s var(--ease); }
@keyframes area-target { 0%, 40% { border-color: var(--plum); box-shadow: 0 0 0 4px rgb(96 37 121 / .16), var(--shadow-s); } }

/* ---------- Rufbereitschaft (nur Kontaktseite, bewusst zurückhaltend) ---------- */
.oncall {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: start;
  padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white);
}
.oncall__copy { max-width: 68ch; }
.oncall__title { font-family: var(--font-display); font-weight: 480; font-size: clamp(1.45rem, 1.2rem + .6vw, 1.8rem); line-height: 1.2; margin-bottom: 14px; }
.oncall__copy p:not(.eyebrow) { color: var(--text); }
.oncall__note { display: flex; gap: 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.oncall__note .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--muted); }
.oncall__note a { color: var(--ink); font-weight: 650; }
.oncall__contact { padding: 18px 22px; border-radius: var(--radius); background: var(--mist); }
.oncall__label { margin: 0 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.oncall__num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 460; color: var(--ink); text-decoration: none; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.oncall__num:hover { color: var(--plum); }

/* ---------- Team ---------- */
.team-strip { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.team-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }

.member { scroll-margin-top: calc(var(--header-h) + 24px); }
.member__photo {
  position: relative; aspect-ratio: 664 / 812; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(120% 85% at 50% 16%, #fdfbfe 0%, #f1e8f5 46%, #dfcde9 100%);
}
.member__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(96 37 121 / .06); pointer-events: none; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transform-origin: 50% 100%; transition: transform .8s var(--ease); }
.member:hover .member__photo img { transform: scale(1.035); }
.photo-pending { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; padding-bottom: 6%; }
/* höhere Spezifität als „.member__photo img“ bzw. „.preview .member__photo img“ */
.member__photo .photo-pending .photo-pending__mark { width: 46%; height: auto; object-fit: contain; opacity: .92; filter: drop-shadow(0 10px 18px rgb(96 37 121 / .14)); transform: none; }
.photo-pending__text { font-family: var(--font-display); font-weight: 460; font-size: clamp(1.05rem, .8rem + .9vw, 1.5rem); letter-spacing: -.01em; color: var(--plum); }
.member__body { padding-top: 16px; }
.member__name { font-family: var(--font-display); font-weight: 480; font-size: 1.42rem; line-height: 1.15; letter-spacing: -.01em; }
.member__position { margin: 4px 0 0; font-size: .98rem; font-weight: 600; color: var(--plum); }
.member__duties { margin: 6px 0 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.member__contact { display: flex; gap: 8px; margin-top: 14px; }
.member__contact a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--plum); transition: background .2s, color .2s, border-color .2s; }
.member__contact a:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
.member__contact .icon { width: 18px; height: 18px; }
.member--compact .member__name { font-size: 1.2rem; }
.member--compact .member__position { font-size: .88rem; font-weight: 600; }

.team-more {
  display: flex; flex-direction: column; justify-content: space-between; width: 100%;
  aspect-ratio: 664 / 812; padding: 22px; border-radius: var(--radius);
  background: var(--plum); color: #fff; text-decoration: none; transition: background .3s;
}
.team-more:hover { background: var(--plum-700); color: #fff; }
.team-more__count { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.team-more__text { font-weight: 600; line-height: 1.35; font-size: 1rem; }
.team-more .icon { width: 26px; height: 26px; transition: transform .3s var(--ease); }
.team-more:hover .icon { transform: translateX(6px); }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--radius-l); background: var(--plum); color: #fff; }
.cta__copy { padding: clamp(32px, 5vw, 76px); align-self: center; }
.cta__title { color: #fff; font-family: var(--font-display); font-weight: 440; font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 18px; text-wrap: balance; }
.cta__text { color: rgb(255 255 255 / .86); max-width: 42ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta__media { min-height: 320px; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Jobs ---------- */
.job-list { list-style: none; margin: 32px 0 28px; border-top: 1px solid var(--line-strong); }
.job {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title arrow" "meta arrow";
  align-items: center; column-gap: 20px; padding: 22px 4px;
  border-bottom: 1px solid var(--line-strong); color: inherit; text-decoration: none;
}
.job__title { grid-area: title; font-family: var(--font-display); font-weight: 480; font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); line-height: 1.2; color: var(--ink); transition: color .2s; }
.job__meta { grid-area: meta; margin-top: 2px; font-size: .95rem; color: var(--muted); }
.job__arrow { grid-area: arrow; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--plum); transition: all .3s var(--ease); }
.job__arrow .icon { width: 20px; height: 20px; }
.job:hover .job__title { color: var(--plum); }
.job:hover .job__arrow { background: var(--plum); border-color: var(--plum); color: #fff; transform: translateX(4px); }

.benefits { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.benefits li { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-s); font-weight: 600; color: var(--ink); line-height: 1.45; }
.benefits .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--lilac-100); color: var(--plum); }

.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { padding: 18px 20px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts strong { display: block; margin-top: 4px; font-size: 1.05rem; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro .h2 { max-width: 14ch; }
.contact-aside { margin-top: 36px; }
.contact-aside__q { font-size: 1.05rem; color: var(--text); max-width: 36ch; }
.contact-aside__actions { display: grid; gap: 10px; margin-top: 20px; }
.contact-tile {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.contact-tile:hover { border-color: var(--lilac); box-shadow: var(--shadow-s); transform: translateY(-1px); color: inherit; }
.contact-tile__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--lilac-50); color: var(--plum); }
.contact-tile__icon .icon { width: 22px; height: 22px; }
.contact-tile__label { display: block; font-size: .85rem; color: var(--muted); }
.contact-tile__value { display: block; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }

.form-card { position: relative; padding: clamp(24px, 4vw, 52px); border-radius: var(--radius-l); background: var(--white); box-shadow: var(--shadow); }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field__label { padding: 0; font-weight: 650; font-size: .98rem; color: var(--ink); }
legend.field__label { margin-bottom: 8px; } /* legend ist kein Grid-Item, bekommt den gap nicht */
.req { color: var(--plum); }
.field__hint { margin: -10px 0 0; font-size: .88rem; color: var(--muted); }
.field .field__hint { margin: 0; }
.input {
  width: 100%; min-height: 54px; padding: 12px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--white); color: var(--ink);
  font: inherit; font-size: 1.05rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #8b949e; }
.input:hover { border-color: #a9b6c4; }
.input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgb(96 37 121 / .14); }
.input[aria-invalid="true"] { border-color: var(--err); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgb(180 35 24 / .14); }
.input--area { min-height: 150px; resize: vertical; }
.field__error { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: .92rem; font-weight: 600; color: var(--err); }
.field__error .icon { width: 18px; height: 18px; margin-top: 2px; }
.field__error[hidden] { display: none; }
.form__error { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: var(--radius-s); background: #fdf0ef; color: var(--err); font-weight: 600; }
.form__error[hidden] { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: .98rem; font-weight: 600; color: var(--text); transition: all .2s; }
.chip:hover span { border-color: var(--plum); color: var(--plum); }
.chip input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orchid); outline-offset: 2px; }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .95rem; line-height: 1.55; cursor: pointer; }
.check input { appearance: none; width: 24px; height: 24px; margin: 1px 0 0; border: 1.5px solid var(--line-strong); border-radius: 6px; background: var(--white); cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.check input::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--plum); border-color: var(--plum); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input[aria-invalid="true"] { border-color: var(--err); }

/* Formular passt sich dem Anliegen an (data-mode am .form-card: default | apply) */
.form-card[data-mode="apply"] [data-when="default"],
.form-card:not([data-mode="apply"]) [data-when="apply"] { display: none; }
.js .form-card:not([data-mode="apply"]) [data-apply] { display: none; }
.js .apply__nojs { display: none; }
.field__opt { font-weight: 500; color: var(--muted); }

.apply { display: grid; gap: 20px; margin: 0; padding: 22px clamp(18px, 2.4vw, 26px) 24px; border: 1px solid var(--lilac-200); border-radius: var(--radius); background: var(--lilac-50); min-width: 0; }
.js .form-card[data-mode="apply"] .apply { animation: apply-in .45s var(--ease); }
@keyframes apply-in { from { opacity: 0; transform: translateY(-6px); } }
/* float: Legende wird zum normalen Grid-Element statt auf dem Rahmen zu sitzen */
.apply__title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; float: left; width: 100%; margin: 0 0 -4px; padding: 0; font-weight: 700; color: var(--plum); }
.apply__title .icon { width: 20px; height: 20px; }
.apply__note { flex-basis: 100%; font-size: .88rem; font-weight: 500; color: var(--muted); }
.apply .input { background-color: var(--white); }

.input--select {
  appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23602579' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 20px;
}

.chips--s .chip span { min-height: 40px; padding: 0 14px; font-size: .94rem; }
.chip input[type="checkbox"]:checked + span::before { content: ""; width: 10px; height: 6px; margin: -3px 8px 0 0; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.upload { display: grid; gap: 10px; }
.js .upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload__drop { display: none; }
.js .upload__drop {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-s); background: var(--white);
  cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.upload__drop:hover, .upload__drop.is-over { border-color: var(--plum); background: var(--lilac-50); }
.upload__input:focus-visible + .upload__drop { border-color: var(--plum); box-shadow: 0 0 0 4px rgb(96 37 121 / .14); }
.upload__input[aria-invalid="true"] + .upload__drop { border-color: var(--err); }
.upload__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--lilac-100); color: var(--plum); }
.upload__icon .icon { width: 22px; height: 22px; }
.upload__text strong { color: var(--plum); font-weight: 650; }
.upload__or { color: var(--muted); }
@media (hover: none) { .upload__or { display: none; } }
.upload__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.upload__list:empty { display: none; }
.upload__file { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); }
.upload__file > .icon { flex: none; width: 22px; height: 22px; color: var(--plum); }
.upload__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
.upload__size { flex: none; font-size: .88rem; color: var(--muted); }
.upload__remove { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.upload__remove:hover { background: #fdf0ef; color: var(--err); }
.upload__remove .icon { width: 18px; height: 18px; }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__note { margin: 0; font-size: .88rem; color: var(--muted); }
.form [data-submit][aria-busy="true"] { opacity: .7; pointer-events: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding: 24px 8px; }
.form-success:focus { outline: none; }
.form-success__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e9f6ef; color: var(--ok); margin-bottom: 8px; }
.form-success__icon .icon { width: 36px; height: 36px; }
.form-success .h3 { margin-top: 12px; }

.route { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.route__address { font-size: 1.15rem; line-height: 1.7; margin-bottom: 24px; }
.route .small { margin-top: 14px; }

/* ---------- Unterseiten ---------- */
.page-head { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(48px, 7vw, 96px); }
.crumbs { margin-bottom: clamp(28px, 4vw, 56px); font-size: .88rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--plum); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-head__grid { display: grid; gap: clamp(20px, 2.2vw, 30px); }
.page-head__title {
  font-family: var(--font-display); font-weight: 450;
  font-size: clamp(2.6rem, 1.3rem + 4.2vw, 4.9rem); line-height: 1.02; letter-spacing: -.028em;
  text-wrap: balance; hyphens: manual;
}
.page-head__kicker { display: flex; line-height: 1.2; text-wrap: wrap; }
.page-head__aside { max-width: 76ch; }
.page-head__aside .lead { margin-bottom: 0; text-wrap: pretty; }
.page-head__aside .lead + .btn, .page-head__aside .lead + .btn-row { margin-top: 24px; }
.page-head__icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 28px; border-radius: 18px; background: var(--lilac-50); color: var(--plum); }
.page-head__icon .icon { width: 34px; height: 34px; }

.wide-media { margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 21 / 9; background: var(--lilac-100); }
.wide-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }

.story { display: grid; gap: clamp(80px, 11vw, 160px); }
.story__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.story__row--flip .story__media { order: 2; }
.story__copy .h2 { max-width: 15ch; }
.story__row > .frame:not(.frame--wide) { max-width: 480px; }
.quote-line { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 1.1rem + .8vw, 1.85rem); line-height: 1.25; color: var(--plum); }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.detail__subtitle { margin-top: 0; }
.detail__media { margin-top: 48px; }
.detail__action { margin-top: 8px; }
/* Unter der Überschrift: zu welchem Bereich der Übersicht die Leistung gehört */
.area-link {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px;
  border-radius: var(--radius); background: var(--lilac-50); color: var(--text); text-decoration: none; line-height: 1.4;
  transition: background-color .25s;
}
.area-link > .icon { width: 22px; height: 22px; color: var(--plum); }
.area-link > .icon:last-child { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.area-link strong { font-weight: 650; }
.area-link:hover { background: var(--lilac-100); color: var(--text); }
.area-link:hover > .icon:last-child { transform: translateX(4px); }
.detail__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 28px; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.aside-card .eyebrow { margin-bottom: 12px; }
.aside-card__title { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
.aside-card__text { font-size: .98rem; }
.aside-card__phone { display: flex; align-items: center; gap: 10px; margin: 6px 0 20px; font-family: var(--font-display); font-size: 1.75rem; color: var(--ink); text-decoration: none; }
.aside-card__phone .icon { width: 22px; height: 22px; color: var(--plum); }
.aside-card__phone:hover { color: var(--plum); }
.aside-card__small { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-card__small span { white-space: nowrap; }
.aside-person { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.aside-person img { width: 64px; height: 78px; object-fit: cover; object-position: bottom; border-radius: 12px; background: radial-gradient(120% 85% at 50% 16%, #fdfbfe 0%, #f1e8f5 46%, #dfcde9 100%); }
.aside-person strong { display: block; }
.aside-person span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.4; }

.prose { max-width: 70ch; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.05em; }
.prose h2 { font-family: var(--font-display); font-weight: 480; font-size: clamp(1.6rem, 1.3rem + .8vw, 2.05rem); line-height: 1.15; letter-spacing: -.015em; margin: 1.9em 0 .55em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 1.1rem; font-weight: 700; margin: 1.7em 0 .45em; color: var(--ink); }
.prose a { overflow-wrap: anywhere; }
.prose--lead > p:first-child { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.5; color: var(--ink); }
.checklist { list-style: none; display: grid; gap: 10px; margin: 6px 0 1.4em; }
.checklist li { position: relative; padding-left: 34px; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--lilac-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23602579' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.checklist--terms strong { display: block; }

/* Rechtsseiten: gleiches Raster wie Überschrift und Brotkrumen – Text startet bündig links */
.legal--toc { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal--toc .toc { order: 2; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; border-radius: var(--radius); background: var(--mist); font-size: .95rem; }
.toc__title { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc ol { padding-left: 1.3em; display: grid; gap: 6px; color: var(--muted); }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--plum); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--mist); color: var(--text); font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: 56px; }
.footer__claim { margin: 20px 0 22px; max-width: 32ch; color: var(--muted); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--plum); border: 1px solid var(--line); transition: all .2s; }
.footer .footer__social a:hover, .footer .footer__social a:focus-visible { background: var(--plum); color: #fff; border-color: var(--plum); }
.footer__social .icon { width: 20px; height: 20px; }
.footer__title { margin-bottom: 16px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer address { margin-bottom: 14px; line-height: 1.6; }
.footer__list { list-style: none; display: grid; gap: 8px; }
.footer__list li { display: flex; align-items: center; gap: 10px; }
.footer__list .icon { width: 18px; height: 18px; color: var(--plum); }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--plum); text-decoration: underline; }
.footer .brand--original .brand__logo { height: 36px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-strong); font-size: .9rem; color: var(--muted); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; }
.footer__bottom a, .footer__bottom .linklike { color: var(--muted); text-decoration: none; }
.footer__bottom a:hover, .footer__bottom .linklike:hover { color: var(--plum); text-decoration: underline; }
.footer__bottom p { margin: 0; }

/* ---------- Nach oben ---------- */
.to-top {
  position: fixed; z-index: 40; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px);
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 50%; background: var(--plum); color: #fff; cursor: pointer;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .35), 0 12px 28px -10px rgb(31 10 43 / .55);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--plum-700); }
.to-top:hover .icon { transform: translateY(-2px); }
.to-top .icon { width: 22px; height: 22px; transition: transform .25s var(--ease); }
/* Unter 1440 px reicht der Seitenrand nicht: Platz rechts in der Fußleiste freihalten */
@media (max-width: 1439px) { .footer__bottom { padding-right: calc(clamp(16px, 2.4vw, 32px) + 68px); } }

/* ---------- Cookie-Consent ---------- */
.consent { position: fixed; z-index: 120; left: 20px; bottom: 20px; width: min(460px, calc(100vw - 32px)); }
.consent[hidden] { display: none; }
.consent__box:focus { outline: none; }
.consent__box {
  max-height: calc(100vh - 40px); overflow: auto;
  padding: 26px; border-radius: 20px; background: var(--white);
  box-shadow: 0 2px 6px rgb(6 24 41 / .06), 0 30px 80px -20px rgb(31 10 43 / .45);
  border: 1px solid var(--line);
  animation: consent-in .6s var(--ease) both;
}
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
.consent__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.consent__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lilac-50); color: var(--plum); }
.consent__icon .icon { width: 22px; height: 22px; }
.consent__title { font-family: var(--font-display); font-weight: 480; font-size: 1.45rem; }
.consent__text { font-size: .95rem; line-height: 1.55; color: var(--text); margin-bottom: 18px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn--consent { --btn-h: 48px; padding: 0 14px; background: var(--plum); color: #fff; }
.btn--consent:hover { background: var(--plum-700); color: #fff; }
.consent__more { grid-column: 1 / -1; justify-self: center; min-height: 40px; }
.consent__save { grid-column: 1 / -1; }
.consent.is-customizing .consent__more { display: none; }
.consent__prefs { display: grid; gap: 4px; margin: 0 0 18px; border-top: 1px solid var(--line); }
.toggle { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.toggle__label { display: block; font-weight: 700; color: var(--ink); font-size: .98rem; }
.toggle__label em { font-style: normal; font-weight: 600; font-size: .78rem; color: var(--ok); margin-left: 6px; }
.toggle__desc { display: block; font-size: .86rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__switch { position: relative; width: 46px; height: 28px; border-radius: 999px; background: var(--line-strong); transition: background .25s; }
.toggle__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .2); transition: transform .25s var(--ease); }
.toggle input:checked + .toggle__switch { background: var(--plum); }
.toggle input:checked + .toggle__switch::after { transform: translateX(18px); }
.toggle input:disabled + .toggle__switch { opacity: .55; }
.toggle input:focus-visible + .toggle__switch { outline: 3px solid var(--orchid); outline-offset: 2px; }

/* ---------- Wartungsseite (app/views/maintenance.php, ohne JavaScript) ---------- */
.maint-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: radial-gradient(90% 55% at 50% 0%, var(--lilac-50) 0%, var(--white) 70%); }
.maint { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(24px, 4vw, 40px); }
.maint > :last-child { padding-bottom: 0; }
.maint__inner { display: grid; gap: clamp(40px, 9vh, 104px); }
.maint .brand { justify-self: start; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.6rem); }
.maint__body { max-width: 780px; }
.maint__title { margin-bottom: .45em; }
.maint__body .lead { max-width: 60ch; text-wrap: pretty; }
.maint__until { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 6px 0 0; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--lilac-100); color: var(--plum-900); font-size: 1rem; font-weight: 600; }
.maint__until .icon { width: 20px; height: 20px; color: var(--plum); }
.maint__until strong { color: var(--plum); }
.maint__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 5vw, 48px); }
.maint__card { min-width: 0; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.maint__card .status { margin: 10px 0 0; }
.maint__card .reach__meta span { white-space: nowrap; }
.maint__mail { font-size: clamp(1.3rem, 1.05rem + .7vw, 1.65rem); overflow-wrap: anywhere; }
.maint__more { margin-top: 22px; }
.maint .skyline { margin-top: clamp(48px, 8vh, 96px); }
.maint__foot { background: var(--mist); font-size: .9rem; color: var(--muted); }
.maint__foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 24px; }
.maint__foot p { margin: 0; }
.maint__foot ul { display: flex; gap: 22px; list-style: none; }
.maint__foot a { color: var(--muted); text-decoration: none; }
.maint__foot a:hover { color: var(--plum); text-decoration: underline; }

/* Vorschau aus der Verwaltung (/admin/wartung/vorschau) */
.maint-preview { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 10px 16px; background: var(--plum-950); color: #e6d9ee; font-size: .92rem; text-align: center; }
.maint-preview .icon { width: 18px; height: 18px; color: var(--lilac); }
.maint-preview strong { color: #fff; }
.maint-preview a { color: #fff; font-weight: 650; }
.maint-preview a:hover { color: var(--lilac-200); }

/* Hinweis für die angemeldete Verwaltung, solange sie die Website trotz Wartung sieht */
.maint-pill {
  position: fixed; z-index: 45; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px);
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 2 * clamp(16px, 2.4vw, 32px) - 64px);
  margin: 0; padding: 10px 16px 10px 14px; border-radius: 14px;
  background: var(--plum-950); color: #e6d9ee; font-size: .88rem; line-height: 1.4;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .2), 0 12px 28px -10px rgb(31 10 43 / .55);
}
.maint-pill strong { color: #fff; }
.maint-pill a { color: #fff; font-weight: 650; white-space: nowrap; }
.maint-pill a:hover { color: var(--lilac-200); }
.maint-pill__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #f5a524; box-shadow: 0 0 0 4px rgb(245 165 36 / .22); }

/* ---------- Animationen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-hero-in] { opacity: 0; transform: translateY(22px); animation: rise 1s var(--ease) forwards; animation-delay: calc(120ms + var(--d, 0) * 110ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .hero__media { clip-path: inset(0 0 100% 0); animation: unveil 1.4s cubic-bezier(.65, .05, .25, 1) .9s forwards; }
@keyframes unveil { to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-hero-in] { opacity: 1; transform: none; animation: none; }
  .js .hero__media { clip-path: none; animation: none; }
  .js .skyline__line--l, .js .skyline__line--r { transform: none; }
  .js .skyline__tower path { stroke-dashoffset: 0; }
  .pulse::after { display: none; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
  .team-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .header__inner { gap: 10px; }
  .header__cta, .header__call { display: none; }
  .header__burger {
    display: grid; place-items: center; width: 48px; height: 48px;
    border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer;
  }
  .header__burger .icon { width: 24px; height: 24px; }
  .header__burger .icon--close, .nav-open .header__burger .icon--open { display: none; }
  .nav-open .header__burger .icon--close { display: block; }

  /* Telefon-Taste: wichtigste Aktion auf dem Handy, daher gefüllt */
  .header__phone {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    margin-left: auto; min-width: 48px; height: 48px; padding: 0 12px;
    border: 0; border-radius: 12px; background: var(--plum); color: #fff; cursor: pointer;
    font-weight: 650; font-size: 1rem; transition: background-color .2s;
  }
  .header__phone:hover { background: var(--plum-700); }
  .header__phone .icon { width: 22px; height: 22px; }
  .header__phone .icon--close, .quick-open .header__phone .icon--open { display: none; }
  .quick-open .header__phone .icon--close { display: block; }
  .header__phone .pulse { position: absolute; top: 7px; left: 31px; box-shadow: 0 0 0 2px var(--plum); }
  .quick-open .header__phone .pulse { display: none; }
  .header__phone-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header__phone .is-open-label, .quick-open .header__phone .is-closed-label { display: none; }
  .quick-open .header__phone .is-open-label { display: inline; }
  /* Offenes Panel: Header deckend, damit die Abdunklung nicht durchscheint */
  .nav-open .header::before, .quick-open .header::before { background: var(--white); }

  /* Schnellkontakt: klappt unter dem Header auf */
  .quick {
    position: fixed; z-index: 49; top: var(--nav-top, var(--header-h)); left: 0; right: 0;
    display: grid; gap: 10px; padding: 14px var(--gutter) calc(18px + env(safe-area-inset-bottom));
    max-height: calc(100vh - var(--nav-top, var(--header-h)));
    max-height: calc(100dvh - var(--nav-top, var(--header-h))); overflow-y: auto; overscroll-behavior: contain;
    background: var(--white); border-top: 1px solid var(--line); border-radius: 0 0 22px 22px;
    box-shadow: 0 24px 48px -24px rgb(31 10 43 / .45);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .quick-open .quick { visibility: visible; opacity: 1; transform: none; }
  .quick__card {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; gap: 2px; padding: 16px 72px 16px 18px; border-radius: 16px;
    background: var(--mist); color: var(--ink); text-decoration: none; line-height: 1.3;
  }
  .quick__card:hover, .quick__card:active { color: var(--ink); background: var(--lilac-50); }
  .quick__label {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
    font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  }
  .quick__num { font-family: var(--font-display); font-weight: 460; font-size: 1.9rem; line-height: 1.15; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
  .quick__num--text { font-size: 1.4rem; }
  .quick__hint { font-size: .9rem; color: var(--muted); }
  .quick__hint--hours span { white-space: nowrap; }
  .quick__go {
    position: absolute; right: 16px; top: 50%; translate: 0 -50%;
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--plum); color: #fff;
  }
  .quick__go .icon { width: 20px; height: 20px; }
  .quick__status { padding: 2px 9px; border-radius: 999px; background: #e3f3ea; font-size: .68rem; letter-spacing: .06em; }
  [data-office="closed"] .quick__status { background: #fdeceb; }


  .quick__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; padding: 4px 2px 0; }
  .quick__mail { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--ink); font-size: .98rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .quick__mail .icon { width: 20px; height: 20px; color: var(--plum); }
  .quick__socials { display: flex; gap: 4px; margin-right: -10px; }
  .quick__socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
  .quick__socials a:hover { color: var(--plum); background: var(--lilac-50); }
  .quick__socials .icon { width: 20px; height: 20px; }

  .scrim {
    display: block; position: fixed; inset: 0; z-index: 45; background: rgb(6 24 41 / .38);
    visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s;
    touch-action: none; /* Wischen auf der Abdunklung scrollt die Seite nicht */
  }
  .quick-open .scrim { visibility: visible; opacity: 1; }
  /* Scroll-Sperre nur auf <body>: der Browser überträgt sie auf das Fenster.
     Stünde sie zusätzlich auf <html>, würde <body> zum Scroll-Container –
     der klebende Header verschwände dann nach oben und die Scrollposition ginge verloren. */
  body.nav-open, body.quick-open { overflow: hidden; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 49;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 28px var(--gutter) 32px; margin: 0;
    background: var(--white); border-top: 1px solid var(--line);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 14px 0; font-family: var(--font-display); font-size: 2rem; font-weight: 450; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__mobile-extra { display: grid; gap: 14px; }
  .nav__social { display: flex; justify-content: center; gap: 12px; }
  .nav__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
  .nav__social a:hover { color: var(--plum); background: var(--lilac-50); }
  .nav__social .icon { width: 20px; height: 20px; }
}

/* Kleine Laptops: Header etwas enger, Büro-Telefon ohne Icon-Kreis */
@media (min-width: 1081px) and (max-width: 1239px) {
  .header__inner { gap: 20px; }
  .header__logo { font-size: 1.3rem; }
  .nav__list { gap: 0; }
  .nav__link { padding-inline: 10px; }
  .nav__link::after { left: 10px; right: 10px; }
  .header__cta { padding-inline: 18px; }
  .header__call { padding-left: 20px; }
  .header__call-icon { display: none; }
}

/* Tablet: Schnellkontakt als schwebende Karte rechts unter der Telefon-Taste */
@media (min-width: 600px) and (max-width: 1080px) {
  .header__phone { padding: 0 18px 0 14px; }
  .header__phone .pulse { left: 30px; }
  .header__phone-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .quick {
    left: auto; right: var(--gutter); top: calc(var(--nav-top, var(--header-h)) + 8px);
    width: 420px; padding: 12px; border: 1px solid var(--line); border-radius: 22px;
    max-height: calc(100dvh - var(--nav-top, var(--header-h)) - 24px);
  }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .hero__aside { padding-bottom: 0; }
  .hero__lead { max-width: 40ch; }
  .split, .split--jobs, .contact, .route, .story__row, .detail, .cta, .legal--toc { grid-template-columns: 1fr; }
  .legal--toc .toc { order: 0; }
  .story__row--flip .story__media { order: 0; }
  .split__media { order: -1; }
  .split--jobs .split__media { order: 0; }
  .detail__aside { position: static; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services > .service:nth-child(n) { grid-column: auto; }
  .oncall { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; }
  .area__head { padding: var(--pad) var(--pad) 0; }
  .area__body { padding: 14px var(--pad) var(--pad); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reach__grid { grid-template-columns: 1fr; }
  .reach__item, .reach__item:first-child { padding: 26px 0; }
  .reach__item + .reach__item { border-left: 0; border-top: 1px solid var(--line); }
  .cta__media { min-height: 260px; order: -1; }
  .toc { position: static; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .skyline { grid-template-columns: minmax(0, 6fr) auto minmax(0, 2fr); }
}

@media (max-width: 720px) {
  body { font-size: 1.0625rem; }
  .hero__quote cite { font-size: .7rem; letter-spacing: .1em; }
  .service__link { padding: 24px 22px; }
  .service__icon { margin-bottom: 18px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media { height: 58vh; min-height: 360px; }
  .hero__media::after { background: linear-gradient(0deg, rgb(31 10 43 / .78) 0%, rgb(31 10 43 / .1) 60%); }
  .hero__video { object-position: 70% 40%; }
  .hero__quote { right: var(--gutter); padding-right: 52px; }
  .services { grid-template-columns: 1fr; }
  .area { --pad: 22px; }
  .area__icon { width: 48px; height: 48px; margin-bottom: 18px; }
  .area__icon .icon { width: 24px; height: 24px; }
  .area__list { grid-template-columns: 1fr; }
  .area__action { width: 100%; }
  .team-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .member__name { font-size: 1.2rem; }
  .field-row, .checklist--cols, .benefits, .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr; }
  .wide-media { aspect-ratio: 4 / 3; }
  .consent { left: 16px; right: 16px; bottom: 16px; width: auto; }
  .consent__actions { grid-template-columns: 1fr; }
  .cta__actions .btn { flex: 1 1 100%; }
  .maint__contact { grid-template-columns: 1fr; }
  .maint-pill__more { display: none; }
}

/* Sehr schmale Geräte (z. B. iPhone SE 1. Gen., kleine Android-Geräte) */
@media (max-width: 374px) {
  .header__logo { font-size: 1.2rem; }
  .header__logo.brand--original .brand__logo { height: 33px; }
  .header__inner { gap: 8px; }
  .quick__card { padding-right: 64px; }
  .quick__num { font-size: 1.65rem; }
  .quick__num--text { font-size: 1.3rem; }
  .quick__go { right: 12px; }
  .quick__mail { font-size: .94rem; }
}
