/* ==========================================================================
   Pflegedienst Maties · Design-System (main.css)
   --------------------------------------------------------------------------
   Nur der Design Lead schreibt in diese Datei. Seiten-Teams nutzen die
   dokumentierten Klassen (siehe _dev/COMPONENTS.md) und legen eigene Styles
   ausschließlich in /assets/css/pages/<slug>.css ab.

   Gliederung
   01 Fonts            08 Header & Navigation   15 Steps (Ablauf)
   02 Tokens           09 Mobile-Menü           16 Notice
   03 Reset            10 Footer                17 CTA-Band & Watermark
   04 Basis-Typografie 11 Hero / Page-Hero      18 Formulare
   05 Layout & Grid    12 Trust-Bar             19 Accordion
   06 Utilities        13 Eyebrow & Section-Head 20 Breadcrumbs & Subnav
   07 Buttons & Icons  14 Cards & Listen        21 Split, Kontaktkarte, Map,
                                                   Chips, Reveal, Print
   Mobile-first · Breakpoints 640 / 900 / 1200 (Header: 1024 / 1280)
   ========================================================================== */


/* 01 Fonts ---------------------------------------------------------------- */
/* Roboto Condensed (variable, wght 300–800) – Kundenwunsch: Look von Helvetica Neue Condensed;
   lokal gehostet, Apache License 2.0. Ein Schnitt für Headlines, Fließtext und UI. */
@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/roboto-condensed-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/roboto-condensed-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* 02 Tokens --------------------------------------------------------------- */
:root {
  /* Farben (BRIEF §3) */
  --c-primary: #8C1828;
  --c-primary-600: #741321;
  --c-primary-900: #4A0F1A;
  --c-rose: #B86870;
  --c-rose-200: #E9C9CD;
  --c-rose-50: #F9EFF0;
  --c-bg: #FFFFFF;
  --c-bg-soft: #F7F5F5;
  --c-text: #2A282B;
  --c-text-muted: #625E63;
  --c-border: #E8E2E3;
  --c-success: #2E7D4F;
  --c-error: #B3261E;
  --c-on-dark: #FFFFFF;
  --c-on-dark-muted: rgba(255, 255, 255, .8);

  /* Schrift */
  --font-head: "Roboto Condensed", "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
  --font-body: "Roboto Condensed", "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
  --ff-display: var(--font-head);  /* Alias für bestehende Regeln */
  --ff-body: var(--font-body);

  /* Fluid Type-Scale */
  --fs-display: clamp(2.75rem, 1.5rem + 4.2vw, 5.25rem);  /* Hero-H1  44–84 */
  --fs-h1: clamp(2.375rem, 1.7rem + 2.4vw, 3.75rem);      /* Page-H1  38–60 */
  --fs-h2: clamp(1.9375rem, 1.45rem + 1.7vw, 2.875rem);   /* H2       31–46 */
  --fs-h3: clamp(1.375rem, 1.2rem + .55vw, 1.625rem);     /* H3       22–26 */
  --fs-h4: 1.25rem;                                       /* H4       20 */
  --fs-lead: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem);  /* Lead     19–23 */
  --fs-body: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);    /* Body     17–19 (Desktop >= 18) */
  --fs-small: 1rem;                                       /* 16 */
  --fs-xs: .875rem;                                       /* 14 */
  --lh-body: 1.55;
  --lh-heading: 1.1;

  /* Abstände */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(3.5rem, 2.4rem + 4.5vw, 6.75rem);
  --gutter: clamp(1.25rem, 4vw, 2rem);

  /* Form */
  --radius-sm: 8px;
  --radius: 10px;      /* Buttons, Inputs */
  --radius-lg: 16px;   /* Karten */
  --radius-xl: 24px;   /* Bänder */
  --radius-full: 999px;

  /* Schatten – bewusst weich (BRIEF §3) */
  --shadow-sm: 0 1px 2px rgba(42, 40, 43, .06);
  --shadow: 0 1px 2px rgba(42, 40, 43, .06), 0 12px 32px -16px rgba(140, 24, 40, .18);
  --shadow-lg: 0 1px 2px rgba(42, 40, 43, .06), 0 24px 48px -24px rgba(140, 24, 40, .28);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --measure: 62ch;  /* Condensed: mehr Zeichen pro Zeile -> engeres Maß */
  --header-base: 68px;            /* Soll-Höhe des Headers (nur vom Header genutzt) */
  --header-h: var(--header-base); /* gemessene Höhe – JS setzt sie für Subnav/Scroll-Padding */
  --subnav-h: 0px;                /* Höhe einer sticky .subnav – JS misst, sonst 0 */

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 500ms;
  --dur-fast: 180ms;
}
@media (min-width: 900px) {
  :root { --header-base: 80px; }
}


/* 03 Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 1rem); /* einzige Quelle für den Anker-Versatz */
}
body {
  min-height: 100dvh;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul[class], ol[class] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
address { font-style: normal; }
summary { cursor: pointer; }


/* 04 Basis-Typografie ----------------------------------------------------- */
h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -.015em;
  color: var(--c-text);
  text-wrap: balance;
}
h1, h2, h3, .h1, .h2, .h3 { overflow-wrap: anywhere; } /* Notbremse gegen Überlauf langer Wörter */
h1, .h1 { font-size: var(--fs-h1); line-height: 1.05; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.005em; }
h4, .h4 { font-family: var(--ff-body); font-weight: 600; font-size: var(--fs-h4); line-height: 1.3; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 600; }
small, .small { font-size: var(--fs-small); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-text-muted); }
.text-muted { color: var(--c-text-muted); }
.measure { max-width: var(--measure); }
hr { border: 0; border-top: 1px solid var(--c-border); margin-block: var(--space-6); }

a {
  color: var(--c-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
  transition: color var(--dur-fast);
}
a:hover { color: var(--c-primary-600); }
a[href^="tel:"] { white-space: nowrap; }

/* Fokus: 3 px Bordeaux mit Offset (BRIEF §8) */
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 3px;
}
.section--dark :focus-visible,
.cta-band :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

::selection { background: var(--c-rose-200); color: var(--c-primary-900); }

/* Fließtext-Blöcke (Impressum, Datenschutz, lange Texte) */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }

/* Skip-Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: .75rem 1.125rem;
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }


/* 05 Layout & Grid -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { position: relative; padding-block: var(--section-y); }
.section--soft { background: var(--c-bg-soft); }
.section--rose { background: var(--c-rose-50); }
.section--dark { background: var(--c-primary-900); color: var(--c-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark .text-muted { color: var(--c-on-dark-muted); }
.section--dark a:not(.btn) { color: #fff; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section__cta { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.section__cta--center { justify-content: center; text-align: center; }

.grid { display: grid; gap: var(--space-5); }
.grid--gap-lg { gap: var(--space-6); }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Editorial-Layout: Überschrift links, Inhalt rechts */
.aside-grid { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 900px) {
  .aside-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); }
  .aside-grid__head { position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 2rem); }
  .aside-grid .section-head { margin-bottom: 0; }
}


/* 06 Utilities ------------------------------------------------------------ */
.stack > * + * { margin-top: var(--stack, 1rem); }
.stack--sm { --stack: .5rem; }
.stack--lg { --stack: 1.5rem; }
.stack--xl { --stack: 2rem; }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* Honeypot: off-screen, bewusst NICHT display:none (BRIEF §8) */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.media-frame img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--c-border); vertical-align: top; }
th { font-weight: 600; background: var(--c-bg-soft); }
.table-wrap--card { border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
.table-wrap--card tr:last-child td { border-bottom: 0; }


/* 07 Buttons & Icons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.375rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast);
}
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--secondary { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--secondary:hover { background: var(--c-rose-50); color: var(--c-primary-600); }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: var(--c-rose-50); color: var(--c-primary-600); transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn--ghost {
  min-height: 0;
  padding: .25rem 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--c-primary);
}
.btn--ghost .icon { transition: transform var(--dur-fast) var(--ease); }
.btn--ghost:hover { color: var(--c-primary-600); }
.btn--ghost:hover .icon { transform: translateX(4px); }
.btn--lg { min-height: 52px; padding: .875rem 1.75rem; font-size: 1.125rem; }
.btn--block { display: flex; width: 100%; }
.btn--icon { width: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.25em; }
.icon--lg { width: 1.5rem; height: 1.5rem; }
/* Icon in Rosé-50-Fläche mit Bordeaux-Stroke (BRIEF §3) */
.icon-badge, .card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  flex: none;
  border-radius: 14px;
  background: var(--c-rose-50);
  color: var(--c-primary);
}
.icon-badge .icon, .card__icon .icon { width: 1.5rem; height: 1.5rem; }
.icon-badge--round { border-radius: 50%; }
.icon-badge--sm { width: 2.5rem; height: 2.5rem; border-radius: 10px; }
.icon-badge--sm .icon { width: 1.25rem; height: 1.25rem; }
.icon-badge--dark { background: rgba(255, 255, 255, .12); color: #fff; }
.icon-badge--white { background: #fff; }


/* 08 Header & Navigation -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-border); box-shadow: var(--shadow-sm); }
/* Der Header darf etwas breiter laufen als der Inhalt (6 Nav-Punkte + Telefon + CTA) */
.site-header .container { max-width: 1360px; }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--header-base);
  transition: min-height .25s var(--ease);
}
.brand { display: inline-flex; margin-right: auto; border-radius: 4px; }
.brand img { height: 40px; width: auto; transition: height .25s var(--ease); }

.site-nav { display: none; }
.site-nav__list { display: flex; align-items: center; gap: .125rem; }
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: .5rem .625rem;
  color: var(--c-text);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.site-nav__link:hover { color: var(--c-primary); background: var(--c-rose-50); }
.site-nav__link[aria-current="page"] { color: var(--c-primary); font-weight: 600; }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .625rem; right: .625rem; bottom: .2rem;
  height: 2px;
  border-radius: 1px;
  background: var(--c-rose);
}

.site-header__actions { display: flex; align-items: center; gap: var(--space-3); }
.header-phone {
  display: none;
  align-items: center;
  gap: .5rem;
  color: var(--c-text);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .icon { color: var(--c-primary); width: 1.25rem; height: 1.25rem; }
.header-phone:hover { color: var(--c-primary); }
.header-phone-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-rose-50);
  color: var(--c-primary);
}
.header-phone-mini .icon { width: 1.25rem; height: 1.25rem; }
.header-phone-mini:hover { background: var(--c-rose-200); }
.header-cta { display: none; min-height: 44px; padding: .625rem 1rem; font-size: 1.0625rem; white-space: nowrap; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-text);
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle:hover { border-color: var(--c-rose-200); color: var(--c-primary); }
.nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 900px) {
  .brand img { height: 50px; }
  .site-header.is-scrolled .brand img { height: 44px; }
  .site-header.is-scrolled .site-header__inner { min-height: calc(var(--header-base) - 10px); }
}
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .nav-toggle, .header-phone-mini { display: none; }
  /* 1024–1279: kompakte Metriken, damit alles in eine Zeile passt */
  .brand img { height: 40px; }
  .site-header.is-scrolled .brand img { height: 38px; }
  .site-nav__link { font-size: 1rem; padding: .5rem .5rem; }
  .header-cta { font-size: 1rem; padding: .625rem .875rem; }
}
@media (min-width: 1280px) {
  .brand img { height: 50px; }
  .site-header.is-scrolled .brand img { height: 44px; }
  .site-nav__link { font-size: 1.0625rem; padding: .5rem .625rem; }
  .header-cta { font-size: 1.0625rem; padding: .625rem 1rem; }
  .header-phone { display: inline-flex; }
  .site-nav__list { gap: .25rem; }
}


/* 09 Mobile-Menü ---------------------------------------------------------- */
.mobile-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__backdrop {
  position: absolute; inset: 0;
  background: rgba(42, 40, 43, .5);
  opacity: 0;
  transition: opacity .3s;
}
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(100%, 26rem);
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) var(--space-6);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-base); }
.mobile-menu__head img { height: 40px; width: auto; }
.mobile-menu__nav { padding-block: var(--space-4); }
.mobile-menu__nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 0;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--c-text);
  text-decoration: none;
}
.mobile-menu__link .icon { color: var(--c-rose); width: 1.25rem; height: 1.25rem; }
.mobile-menu__link:hover, .mobile-menu__link[aria-current="page"] { color: var(--c-primary); }
.mobile-menu__footer { margin-top: auto; padding-top: var(--space-5); display: grid; gap: var(--space-3); }
.mobile-menu__phone { display: inline-flex; align-items: center; gap: .625rem; font-weight: 600; font-size: 1.25rem; color: var(--c-text); text-decoration: none; }
.mobile-menu__phone .icon { color: var(--c-primary); }
.mobile-menu__phone:hover { color: var(--c-primary); }
.mobile-menu__note { font-size: var(--fs-small); color: var(--c-text-muted); }
body.has-menu-open { overflow: hidden; }


/* 10 Footer --------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space-8) var(--space-5);
  background: var(--c-primary-900);
  color: var(--c-on-dark-muted);
  font-size: var(--fs-small);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; gap: var(--space-6); }
.site-footer__brand img { height: 46px; width: auto; }
.site-footer__firm { margin-top: var(--space-5); font-weight: 600; color: #fff; }
.site-footer__brand p + p { margin-top: var(--space-2); max-width: 34ch; }
.site-footer__title {
  margin-bottom: var(--space-4);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-rose-200);
}
.site-footer__list { display: grid; gap: .625rem; }
.site-footer__contact li { display: flex; gap: .75rem; align-items: flex-start; }
.site-footer__contact .icon { color: var(--c-rose-200); margin-top: .2em; width: 1.125rem; height: 1.125rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .6);
}
/* QA: Link im Fließtext der Bottom-Bar muss sich nicht nur durch Farbe abheben (WCAG 1.4.1, axe link-in-text-block) */
.site-footer__bottom a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.site-footer__social { display: flex; gap: .5rem; }
.site-footer__social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .1); }
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1.3fr .8fr; gap: var(--space-7); }
}


/* 11 Hero (Startseite) & Page-Hero (Unterseiten) -------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-primary-900);
  color: #fff;
}
/* Mobil/Tablet: eigenes Bildfeld oben (höher als der sichtbare Streifen), Verlauf relativ zum
   Bildfeld, Motiv-Fokus rechts (Gesicht/Hände der Seniorin); Text auf Bordeaux darunter */
.hero__media { position: absolute; top: 0; left: 0; right: 0; height: min(130vw, 600px); z-index: -2; }
.hero__media picture { height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero__overlay {
  position: absolute; top: 0; left: 0; right: 0; height: min(130vw, 600px); z-index: -1;
  background:
    linear-gradient(to bottom, rgba(74, 15, 26, .1) 0%, rgba(74, 15, 26, .18) 45%, rgba(74, 15, 26, .42) 64%, rgba(96, 18, 30, .92) 80%, var(--c-primary-900) 95%);
}
.hero__inner { padding: min(100vw, 470px) 0 clamp(3rem, 8vw, 5rem); }
/* Ambient-Video (nur Desktop, per JS geladen) liegt zwischen Bild und Verlauf */
.hero__video {
  position: absolute; inset: 0;
  display: none;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 40%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s linear; /* Standbild = erster Frame → kaum sichtbarer Übergang */
}
.hero.is-playing .hero__video { opacity: 1; }
.hero__video-toggle {
  position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 2;
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(74, 15, 26, .55);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.hero__video-toggle[hidden] { display: none; }
.hero__video-toggle .icon { width: 1.125rem; height: 1.125rem; }
.hero__video-toggle:hover { background: rgba(255, 255, 255, .22); border-color: #fff; }
.hero__video-toggle__play,
.hero__video-toggle[aria-pressed="true"] .hero__video-toggle__pause { display: none; }
.hero__video-toggle[aria-pressed="true"] .hero__video-toggle__play { display: block; }
.hero__content { max-width: 38rem; }
.hero .eyebrow { color: var(--c-rose-200); }
.hero .eyebrow::before { background: var(--c-rose); }
.hero__title {
  margin: var(--space-4) 0 var(--space-5);
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
}
.hero__lead { max-width: 30rem; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
/* Schmale Screens: gestapelte Buttons in voller Breite (kein Zeilenumbruch im Label) */
@media (max-width: 639px) {
  .hero__actions .btn, .cta-band__actions .btn, .page-hero__actions .btn, .section__cta .btn { width: 100%; }
}
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: var(--space-6); font-size: var(--fs-small); color: rgba(255, 255, 255, .8); }
.hero__meta a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; gap: .5rem; align-items: center; }
.hero__meta .icon { color: var(--c-rose-200); }
@media (min-width: 900px) {
  .hero__media, .hero__overlay { inset: 0; height: auto; }
  .hero__media img { object-position: 68% 40%; }
  /* Ein Verlauf für Standbild und Video (Standbild = erster Frame) – kein Helligkeitssprung beim Start */
  .hero__overlay {
    background:
      linear-gradient(100deg, rgba(74, 15, 26, .98) 0%, rgba(108, 20, 34, .95) 36%, rgba(140, 24, 40, .7) 60%, rgba(140, 24, 40, .26) 84%, rgba(140, 24, 40, .1) 100%),
      linear-gradient(to top, rgba(74, 15, 26, .6), rgba(74, 15, 26, 0) 40%);
  }
  .hero__inner {
    display: flex;
    align-items: center;
    min-height: min(86vh, 780px);
    padding-block: clamp(4rem, 8vw, 6.5rem);
  }
  .hero__video { display: block; }
  .hero__video-toggle:not([hidden]) { display: inline-flex; }
}

/* Kompakter Page-Hero für Unterseiten */
.page-hero { position: relative; overflow: hidden; background: var(--c-rose-50); }
.page-hero__inner { display: grid; gap: var(--space-6); padding-block: var(--space-6) var(--space-7); align-items: center; }
.page-hero .breadcrumbs { margin-bottom: var(--space-5); }
.page-hero__title { font-size: var(--fs-h1); margin-top: var(--space-3); }
.page-hero__lead { margin-top: var(--space-4); max-width: 31rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-text-muted); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
/* Default-Fokus leicht oberhalb der Mitte, damit Köpfe bei Beschnitt nicht abgeschnitten werden */
.page-hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 35%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .page-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); padding-block: var(--space-8); }
  .page-hero__inner--single { grid-template-columns: minmax(0, 1fr); }
  .page-hero__inner--single > * { max-width: 46rem; }
}


/* 12 Trust-Bar ------------------------------------------------------------ */
.trust-bar { padding-block: clamp(2.5rem, 5vw, 3.5rem); background: #fff; border-bottom: 1px solid var(--c-border); }
.trust-bar__claim {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .25rem .625rem;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 1rem + 2.2vw, 3rem);
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--c-primary);
  text-align: center;
}
.trust-bar__claim > span { white-space: nowrap; }
.trust-bar__claim .icon { width: .6em; height: .6em; color: var(--c-rose); }
.trust-bar__items { display: grid; gap: var(--space-4) var(--space-5); margin-top: clamp(1.75rem, 4vw, 2.75rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-item { display: flex; align-items: center; gap: .875rem; font-weight: 500; font-size: var(--fs-small); line-height: 1.35; }
@media (min-width: 640px) {
  .trust-bar__claim { gap: .25rem 1rem; }
}
@media (min-width: 900px) {
  .trust-bar__items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-item { font-size: 1rem; }
}


/* 13 Eyebrow & Section-Head ---------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--c-primary);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; border-radius: 1px; background: var(--c-rose); }
.section-head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head__title { margin-top: var(--space-3); }
.section-head__lead { margin-top: var(--space-4); font-size: var(--fs-lead); line-height: 1.5; color: var(--c-text-muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 1.5rem; height: 2px; border-radius: 1px; background: var(--c-rose); }
.section--dark .eyebrow { color: var(--c-rose-200); }


/* 14 Cards & Listen ------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(1.375rem, 2.2vw, 1.875rem);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast);
}
.card__icon { margin-bottom: var(--space-2); }
.card__title { font-size: var(--fs-h3); }
.card__title a { color: inherit; text-decoration: none; }
.card__text { color: var(--c-text-muted); }
.card__more, .card__link { margin-top: auto; padding-top: var(--space-2); }
.card__more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--c-primary);
}
.card__more .icon { width: 1.25rem; height: 1.25rem; transition: transform var(--dur-fast) var(--ease); }
/* Klickbare Karte: Link im Titel deckt die ganze Karte ab (ein Tab-Stopp) */
.card--link .card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:hover, .card--link:focus-within { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--c-rose-200); }
.card--link:hover .card__more .icon { transform: translateX(4px); }
.card--link:focus-within .card__title a:focus-visible { outline: none; }
.card--link:focus-within { outline: 3px solid var(--c-primary); outline-offset: 3px; }
.card--service { }
.card--value { background: var(--c-rose-50); border-color: transparent; }
.card--value .card__icon { background: #fff; }
.card--job .card__meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.card--job .card__actions { margin-top: auto; padding-top: var(--space-3); }
.card--cta { justify-content: center; background: var(--c-primary); color: #fff; border-color: transparent; overflow: hidden; isolation: isolate; }
.card--cta .card__title { color: #fff; }
.card--cta .card__text { color: rgba(255, 255, 255, .86); }
.card--cta .card__more { color: #fff; }
.card--soft { background: var(--c-bg-soft); border-color: transparent; }
.card--person { align-items: flex-start; }
.card--person .card__icon { width: 4rem; height: 4rem; border-radius: 50%; }

/* Feature-/Icon-Liste */
.feature-list { display: grid; gap: var(--space-5); }
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.feature__title { font-family: var(--ff-body); font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; }
.feature__text { margin-top: .25rem; color: var(--c-text-muted); }
.feature--divided { padding-bottom: var(--space-5); border-bottom: 1px solid var(--c-border); }
.feature--divided:last-child { padding-bottom: 0; border-bottom: 0; }
.section--dark .feature__text { color: var(--c-on-dark-muted); }
@media (min-width: 640px) {
  .feature-list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
}

/* Check-Liste */
.checklist { display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .icon {
  width: 1.5rem; height: 1.5rem;
  padding: .2rem;
  margin-top: .1em;
  border-radius: 50%;
  background: var(--c-rose-50);
  color: var(--c-primary);
}
.checklist__term { display: block; font-weight: 600; }
.checklist__desc { color: var(--c-text-muted); }
.section--dark .checklist .icon { background: rgba(255, 255, 255, .12); color: #fff; }
.section--dark .checklist__desc { color: var(--c-on-dark-muted); }
@media (min-width: 640px) {
  .checklist--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .875rem 1.5rem; }
}


/* 15 Steps (Ablauf, 4 Schritte) ------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: var(--space-6); }
.step {
  position: relative;
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}
.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.375rem;
  box-shadow: 0 0 0 6px var(--c-rose-50);
  position: relative;
  z-index: 1;
}
.step__num::before { content: counter(step); }
.step__title { font-family: var(--ff-body); font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; padding-top: .7rem; }
.step__text { margin-top: .375rem; color: var(--c-text-muted); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.5rem - 1px);
  top: 3.5rem;
  bottom: calc(-1 * var(--space-6) - .25rem);
  width: 2px;
  background: var(--c-rose-200);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
  .step { display: block; }
  .step__title { padding-top: 0; margin-top: var(--space-5); }
  .step:not(:last-child)::after {
    left: 3.75rem;
    right: calc(-1 * var(--space-5) + .25rem);
    top: calc(1.5rem - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
  }
}


/* Kompakte Variante: immer vertikal (in Karten, halbbreiten Spalten) */
.steps--compact { gap: var(--space-5); }
.steps--compact .step:not(:last-child)::after { bottom: calc(-1 * var(--space-5) - .25rem); }
@media (min-width: 900px) {
  .steps--compact { grid-template-columns: 1fr; }
  .steps--compact .step { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--space-4); }
  .steps--compact .step__title { padding-top: .7rem; margin-top: 0; }
  .steps--compact .step:not(:last-child)::after { left: calc(1.5rem - 1px); right: auto; top: 3.5rem; bottom: calc(-1 * var(--space-5) - .25rem); width: 2px; height: auto; }
}


/* 16 Notice --------------------------------------------------------------- */
.notice {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--c-text-muted);
  border-radius: var(--radius);
  background: var(--c-bg-soft);
  color: var(--c-text);
  font-size: var(--fs-small);
  line-height: 1.55;
}
.notice .icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15em; color: var(--c-text-muted); }
.notice--approval { background: var(--c-rose-50); border-left-color: var(--c-primary); }
.notice--approval .icon { color: var(--c-primary); }
.notice--info { border-left-color: var(--c-rose); }
.notice--info .icon { color: var(--c-primary); }
.notice--success { background: #EEF6F1; border-left-color: var(--c-success); }
.notice--success .icon { color: var(--c-success); }
.notice--error { background: #FBEFEE; border-left-color: var(--c-error); }
.notice--error .icon { color: var(--c-error); }


/* 17 CTA-Band & Watermark ------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background: var(--c-primary);
  color: #fff;
}
.cta-band--full { border-radius: 0; }
.cta-band--dark { background: var(--c-primary-900); }
.cta-band__inner { display: grid; gap: var(--space-6); align-items: center; }
.cta-band .eyebrow { color: var(--c-rose-200); }
.cta-band__title { color: #fff; font-size: var(--fs-h2); margin-top: var(--space-3); }
.cta-band__text { margin-top: var(--space-4); max-width: 33rem; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255, 255, 255, .86); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cta-band__contacts { display: grid; gap: .875rem; }
.cta-band__contacts a, .cta-band__contacts-note { display: inline-flex; align-items: center; gap: .75rem; font-size: clamp(1rem, .85rem + .6vw, 1.3125rem); font-weight: 600; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.cta-band__contacts-note { font-weight: 500; color: rgba(255, 255, 255, .86); }
.cta-band__contacts a:hover { text-decoration: underline; }
.cta-band__contacts .icon-badge { background: rgba(255, 255, 255, .12); color: #fff; }
.cta-band__contacts .icon-badge--sm .icon { width: 1.25rem; height: 1.25rem; }
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
  .cta-band__side { justify-self: end; }
}
/* Bildmarke als blasses Gestaltungselement (BRIEF §3) */
.watermark {
  position: absolute;
  z-index: -1;
  right: -6%;
  bottom: -28%;
  width: clamp(14rem, 36vw, 30rem);
  height: auto;
  opacity: .08;
  filter: brightness(0) invert(1);
  pointer-events: none;
  user-select: none;
}
.watermark--left { right: auto; left: -8%; }
.watermark--top { bottom: auto; top: -30%; }
.watermark--sm { width: clamp(9rem, 20vw, 14rem); bottom: -18%; right: -10%; }
.watermark--footer { width: clamp(18rem, 34vw, 32rem); right: -5%; bottom: -35%; opacity: .05; }


/* 18 Formulare ------------------------------------------------------------ */
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); align-items: start; }
.field { display: grid; gap: .375rem; align-content: start; }
.field__label { font-size: var(--fs-small); font-weight: 600; }
.field__label .req { color: var(--c-primary); }
.field__input {
  width: 100%;
  min-height: 52px;
  padding: .75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-text);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field__input::placeholder { color: #8E8A8F; }
.field__input:hover { border-color: var(--c-rose-200); }
.field__input:focus-visible { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-rose-50); }
textarea.field__input { min-height: 9.5rem; resize: vertical; line-height: 1.5; }
select.field__input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C1828' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
}
.field__hint { font-size: var(--fs-xs); color: var(--c-text-muted); }
.field__error { display: none; gap: .375rem; align-items: flex-start; font-size: var(--fs-small); font-weight: 600; color: var(--c-error); }
.field__error .icon { width: 1.125rem; height: 1.125rem; margin-top: .15em; }
/* Fehlerzustand nur nach Interaktion (JS setzt .is-touched / .is-invalid / .was-submitted) */
.field.is-invalid .field__error { display: flex; }
.field.is-invalid .field__input,
.field__input.is-touched:invalid,
.form.was-submitted .field__input:invalid { border-color: var(--c-error); }
.field.is-invalid .field__input:focus-visible,
.field__input.is-touched:invalid:focus-visible { box-shadow: 0 0 0 4px #FBEFEE; }
.field--checkbox { grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-items: start; }
.field--checkbox input {
  width: 1.375rem; height: 1.375rem;
  margin-top: .2rem;
  accent-color: var(--c-primary);
  border-radius: 4px;
}
.field--checkbox .field__label { font-weight: 400; font-size: var(--fs-small); line-height: 1.5; }
.field--checkbox .field__error { grid-column: 1 / -1; }
.form__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.form__note { font-size: var(--fs-xs); color: var(--c-text-muted); }
.form__status[hidden] { display: none; }
.form__status { margin: 0; }
@media (min-width: 640px) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* 19 Accordion (details) -------------------------------------------------- */
.accordion { border: 1px solid var(--c-border); border-radius: var(--radius-lg); background: #fff; }
.accordion + .accordion { margin-top: .75rem; }
.accordion-list { display: grid; gap: .75rem; }
.accordion-list .accordion + .accordion { margin-top: 0; }
.accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1.125rem 1.375rem;
  list-style: none;
  font-weight: 600;
  border-radius: var(--radius-lg);
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary .icon { flex: none; width: 1.375rem; height: 1.375rem; color: var(--c-primary); transition: transform .25s var(--ease); }
.accordion__summary:hover { color: var(--c-primary); }
.accordion[open] .accordion__summary { color: var(--c-primary); }
.accordion[open] .accordion__summary .icon { transform: rotate(180deg); }
.accordion__body { padding: 0 1.375rem 1.375rem; color: var(--c-text-muted); }
.accordion__body > * + * { margin-top: .75em; }


/* 20 Breadcrumbs & Subnav (Sprungnavigation) ----------------------------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; font-size: var(--fs-small); color: var(--c-text-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.breadcrumbs li + li::before { content: "›"; color: var(--c-rose); font-size: 1.1em; line-height: 1; }
.breadcrumbs a { color: var(--c-text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-primary); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--c-text); font-weight: 600; }

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.subnav__list {
  display: flex;
  gap: .25rem;
  padding-block: .625rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__link {
  display: inline-block;
  padding: .5rem .875rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 500;
  white-space: nowrap;
  color: var(--c-text-muted);
  text-decoration: none;
  scroll-snap-align: start;
  transition: background-color var(--dur-fast), color var(--dur-fast);
}
.subnav__link:hover { color: var(--c-primary); background: var(--c-rose-50); }
.subnav__link.is-active, .subnav__link[aria-current="true"] { color: var(--c-primary); background: var(--c-rose-50); }


/* 21 Split (Bild/Text), Kontaktkarte, Map-Consent, Chips ------------------ */
.split { display: grid; gap: var(--space-6); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }
.split__media--portrait img { aspect-ratio: 4 / 3; }
/* Rosé-Platte hinter dem Bild – dezentes Gestaltungsmerkmal */
.split__media--plate::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -.875rem; bottom: -.875rem;
  width: 62%; height: 62%;
  border-radius: var(--radius-xl);
  background: var(--c-rose-50);
}
.split--reverse .split__media--plate::before { right: auto; left: -.875rem; }
.section--rose .split__media--plate::before, .section--soft .split__media--plate::before { background: var(--c-rose-200); opacity: .6; }
.split__body > * + * { margin-top: var(--space-4); }
.split__body .section-head { margin-bottom: 0; }
.split__body .section-head + * { margin-top: var(--space-5); }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 6vw, 5.5rem); }
  .split--reverse .split__media { order: 2; }
  /* Kurzes Bild neben langem Text: Bild läuft beim Scrollen mit */
  .split--sticky { align-items: start; }
  .split--sticky .split__media { position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 2rem); }
  .split__media--portrait img { aspect-ratio: 4 / 5; }
  .split--top { align-items: start; }
}

.contact-card {
  display: grid;
  gap: var(--space-5);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}
.contact-card__list { display: grid; gap: var(--space-4); }
.contact-card__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.contact-card__label { display: block; margin-bottom: .125rem; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-muted); }
.contact-card__value { font-weight: 600; }
.contact-card__value a { text-decoration: none; }
.contact-card__value a:hover { text-decoration: underline; }

.map-consent {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  min-height: 18rem;
  padding: var(--space-5);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background-color: var(--c-rose-50);
  background-image:
    linear-gradient(rgba(140, 24, 40, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 24, 40, .06) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}
.map-consent__body { display: grid; gap: var(--space-3); justify-items: center; max-width: 32rem; }
.map-consent__title { font-family: var(--ff-body); font-size: var(--fs-h4); font-weight: 600; }
.map-consent__text { font-size: var(--fs-small); color: var(--c-text-muted); }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent.is-loaded { background: var(--c-bg-soft); }
.map-consent.is-loaded .map-consent__body { display: none; }
/* Schmale Spalten: aspect-ratio × min-height ergäbe 461 px Min-Content-Breite (Overflow) → Höhe aus dem Inhalt,
   nach „Karte laden“ feste viewport-abhängige Höhe */
@media (max-width: 899px) {
  .map-consent { min-height: 0; aspect-ratio: auto; }
  .map-consent.is-loaded { height: clamp(18rem, 60vw, 26rem); }
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .4rem .875rem;
  border: 1px solid var(--c-rose-200);
  border-radius: var(--radius-full);
  background: var(--c-rose-50);
  color: var(--c-primary);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.2;
}
.chip .icon { width: 1rem; height: 1rem; }
.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: var(--radius-sm);
  background: var(--c-bg-soft);
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge--primary { background: var(--c-primary); color: #fff; }
.badge--rose { background: var(--c-rose-200); color: var(--c-primary-900); }


/* 22 Scroll-Reveal & Motion ---------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .js [data-reveal="fade"] { transform: none; }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js [data-reveal-delay="1"] { transition-delay: 80ms; }
  .js [data-reveal-delay="2"] { transition-delay: 160ms; }
  .js [data-reveal-delay="3"] { transition-delay: 240ms; }
  .js [data-reveal-delay="4"] { transition-delay: 320ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}


/* 23 Print ---------------------------------------------------------------- */
@media print {
  .site-header, .mobile-menu, .skip-link, .subnav, .cta-band, .hero__media, .hero__overlay, .watermark, .map-consent, .nav-toggle { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero, .section--dark, .site-footer { background: none !important; color: #000 !important; }
  .hero__title, .section--dark h2, .section--dark h3 { color: #000 !important; }
  .hero__inner { padding: 1rem 0 !important; min-height: 0 !important; }
  .section { padding-block: 1.25rem; }
  .card, .notice, .contact-card { break-inside: avoid; box-shadow: none; }
  a[href^="http"]:not(.btn)::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
  .site-footer { border-top: 1px solid #999; padding-top: 1rem; }
  .site-footer a { color: #000; }
}

/* QA (Abschlussprüfung): Sehr lange Einzelwörter im Page-Hero-Titel (z. B. „Datenschutzerklärung“) brachen bei 360 px
   durch die globale overflow-wrap-Notbremse ohne Trennstrich um. Nur schmale Viewports, nur Wörter ab 16 Zeichen. */
@media (max-width: 420px) {
  .page-hero__title { hyphens: auto; hyphenate-limit-chars: 16 6 6; }
}
