/* =====================================================================
   RK21 Alltagsunterstützung – Stylesheet
   Gestaltungsidee: „Die Liste am Telefon“ – weiße Karten mit Cyan-Lineatur.
   Alle Farben sind aus dem Logo abgeleitet (#06bbe7 + Schwarz).
   ===================================================================== */

@font-face {
  font-family: "Atkinson Next";
  src: url("../fonts/atkinson-next-latin.woff2") format("woff2");
  font-weight: 200 800;
  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: "Atkinson Next";
  src: url("../fonts/atkinson-next-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Markenfarbe aus dem Logo – nur für Flächen, Linien, Signet (Kontrast auf Weiß 2,3:1) */
  --cyan-500: #06bbe7;
  /* Abstufungen derselben Farbe für Text und Bedienelemente (WCAG 2.2 AA) */
  --cyan-50: #f3fbfe;   /* zarte Fläche */
  --cyan-100: #dff5fc;  /* Markerfarbe, Auswahl */
  --cyan-200: #c4ecf8;  /* Lineatur */
  --cyan-300: #8fdcf2;  /* kräftige Linie */
  --cyan-600: #007a97;  /* 4,96:1 auf Weiß */
  --cyan-700: #00627a;  /* 6,9:1 – Links */
  --cyan-800: #035569;  /* 8,4:1 – Buttons */
  --cyan-900: #063a49;  /* 12,3:1 – dunkle Flächen */
  --cyan-950: #0a2a35;  /* 15:1 */
  /* Schwarz aus dem Schriftzug, minimal zur Markenfarbe getönt */
  --ink: #0b1d23;
  --ink-soft: #2c434b;  /* 10:1 auf Weiß */
  --paper: #ffffff;

  --font: "Atkinson Next", "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --fs-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --fs-small: clamp(0.9375rem, 0.92rem + 0.1vw, 1rem);
  --fs-lead: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --fs-h1: clamp(1.875rem, 1.4rem + 1.6vw, 2.875rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --rule: 2.25rem;            /* Zeilenabstand der Lineatur */
  --radius: 1.25rem;
  --radius-sm: 0.875rem;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-card: 0 1.5rem 3rem -1.75rem rgb(6 58 73 / 0.38), 0 0.25rem 0.75rem -0.25rem rgb(6 58 73 / 0.12);

  color-scheme: light;
  accent-color: var(--cyan-800);
}

/* ---------------------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; color: var(--cyan-950); overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }
a { color: var(--cyan-700); text-decoration-thickness: 0.09em; text-underline-offset: 0.2em; }
a:hover { color: var(--cyan-900); text-decoration-color: var(--cyan-500); }
::selection { background: var(--cyan-100); color: var(--ink); }
:focus-visible { outline: 3px solid var(--cyan-700); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

html { scrollbar-color: var(--cyan-300) var(--cyan-50); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cyan-800); color: #fff; padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tint { background: var(--cyan-50); }
.measure { max-width: 40rem; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); max-width: 46rem; }
.section-head p { color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.5; margin: 0; }

/* Offene Angaben – gut sichtbar markiert, vor Veröffentlichung ersetzen */
.offen {
  background: #fff4c2; color: #4a3b00; padding: 0.05em 0.35em; border-radius: 0.3em;
  border: 1px dashed #8a6d00; font-weight: 700;
}
.pruefhinweis {
  border: 2px dashed #8a6d00; background: #fffbe6; color: #3d3100;
  padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 2.5rem; font-size: var(--fs-small);
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--cyan-800); --btn-fg: #fff; --btn-border: var(--cyan-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.5rem; padding: 0.75rem 1.5rem;
  font: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-border);
  border-radius: var(--radius-sm); text-decoration: none; cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out), box-shadow 180ms ease;
  touch-action: manipulation; user-select: none;
}
a.btn:hover, .btn:hover { color: var(--btn-fg); }
.btn:active { transform: scale(0.97); }
.btn-primary:hover { --btn-bg: var(--cyan-950); --btn-border: var(--cyan-950); }
.btn-secondary { --btn-bg: #fff; --btn-fg: var(--cyan-800); --btn-border: var(--cyan-800); }
.btn-secondary:hover { --btn-bg: var(--cyan-100); --btn-fg: var(--cyan-950); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--cyan-950); --btn-border: transparent; padding-inline: 0.875rem; }
.btn-ghost:hover { --btn-bg: var(--cyan-100); }
.btn-lg { min-height: 3.75rem; padding-inline: 1.75rem; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn .i-arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { box-shadow: 0 0.6rem 1.2rem -0.8rem rgb(6 58 73 / 0.55); }
  .btn-ghost:hover { box-shadow: none; }
  .btn:hover .i-arrow { transform: translateX(4px); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* Textlink mit Pfeil */
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; color: var(--cyan-700); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; transition: background-size 240ms var(--ease-out); }
.link-arrow .i-arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover .i-arrow { transform: translateX(4px); }
}

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.97);
  border-bottom: 2px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease;
}
.site-header[data-scrolled] { border-bottom-color: var(--cyan-200); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 5.5rem; }
.brand { display: block; flex: none; border-radius: 6px; }
.brand .logo { height: 3.25rem; width: auto; }
.nav-main { margin-left: auto; }
.nav-main ul { display: flex; gap: 0.25rem; list-style: none; }
.nav-main a {
  display: block; padding: 0.625rem 0.75rem; font-size: 1.0625rem; font-weight: 600; color: var(--ink);
  text-decoration: none; border-radius: 0.6rem; position: relative;
}
.nav-main a::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.3rem; height: 3px; border-radius: 2px;
  background: var(--cyan-500); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out);
}
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { transform: scaleX(1); }
.nav-main a[aria-current="page"] { color: var(--cyan-800); }
.btn-call { flex: none; }
.menu-toggle { display: none; margin-left: auto; }

@media (max-width: 75rem) {
  .nav-main { display: none; }
  .menu-toggle { display: inline-flex; margin-left: 0; }
  .btn-call { margin-left: auto; }
}
@media (max-width: 47.99rem) {
  .header-inner { min-height: 4.5rem; gap: 0.5rem; }
  .brand .logo { height: 2.625rem; }
  .btn-call { display: none; }
  .menu-toggle { margin-left: auto; }
}
@media (max-width: 30rem) { .hide-sm { display: none; } }

/* Mobiles Menü */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: #fff; overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; }
.mobile-menu-top .logo { height: 2.625rem; width: auto; }
.mobile-menu-nav { padding-block: 1.5rem 3rem; display: grid; gap: 1rem; }
.mobile-menu-nav ul { list-style: none; margin-bottom: 1rem; }
.mobile-menu-nav li a {
  display: flex; align-items: center; min-height: 3.5rem; font-size: 1.375rem; font-weight: 700;
  color: var(--cyan-950); text-decoration: none; border-bottom: 2px solid var(--cyan-200);
}
.mobile-menu-nav li a[aria-current="page"] { color: var(--cyan-700); }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: menu-in 260ms var(--ease-out); }
  .mobile-menu:not([hidden]) .mobile-menu-nav li { animation: menu-item 320ms var(--ease-out) backwards; }
  .mobile-menu:not([hidden]) .mobile-menu-nav li:nth-child(2) { animation-delay: 30ms; }
  .mobile-menu:not([hidden]) .mobile-menu-nav li:nth-child(3) { animation-delay: 60ms; }
  .mobile-menu:not([hidden]) .mobile-menu-nav li:nth-child(4) { animation-delay: 90ms; }
  .mobile-menu:not([hidden]) .mobile-menu-nav li:nth-child(5) { animation-delay: 120ms; }
  .mobile-menu:not([hidden]) .mobile-menu-nav li:nth-child(6) { animation-delay: 150ms; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-0.5rem); } }
@keyframes menu-item { from { opacity: 0; transform: translateY(0.5rem); } }
body.menu-open { overflow: hidden; }

/* Schnellkontakt-Leiste (nur Handy) */
.call-bar { display: none; }
@media (max-width: 47.99rem) {
  .call-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.625rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 0.625rem var(--gutter) calc(0.625rem + env(safe-area-inset-bottom));
    background: #fff; border-top: 2px solid var(--cyan-200);
    box-shadow: 0 -0.75rem 1.5rem -1rem rgb(6 58 73 / 0.35);
  }
  .call-bar .btn { min-height: 3.375rem; }
  body { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

/* Brotkrumen */
.breadcrumb { padding-top: 1.5rem; font-size: var(--fs-small); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--cyan-600); }
.breadcrumb a { color: var(--ink-soft); }

/* ---------------------------------------------------------------- Linierte Karte (Kernmaterial) */
.ruled {
  position: relative; background-color: #fff;
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--rule) - 2px), var(--cyan-200) calc(var(--rule) - 2px) var(--rule));
  background-position: 0 var(--ruled-offset, 0);
}
.card {
  border: 2px solid var(--cyan-200); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden;
}
.card-top { border-top: 0.625rem solid var(--cyan-500); }

/* ---------------------------------------------------------------- Hero */
.hero { padding-block: clamp(2rem, 1.5rem + 2.5vw, 4rem) clamp(4rem, 3rem + 4vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start; }
.hero h1 { margin-bottom: 1.5rem; max-width: 19ch; }
.hero h1 .h1-sub { display: block; color: var(--cyan-700); font-weight: 700; }
.hero .lead { max-width: 34rem; margin-bottom: 2.25rem; }
.hero-facts { list-style: none; display: grid; gap: 0.625rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 2px solid var(--cyan-200); }
.hero-facts li { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 600; }
.hero-facts .i { color: var(--cyan-800); margin-top: 0.2em; }

.contact-card { display: grid; }
.contact-card-photo { aspect-ratio: 5 / 4.4; overflow: hidden; background: var(--cyan-100); }
.contact-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.contact-card-body { --ruled-offset: 0.875rem; padding: 1.25rem 1.75rem 1.75rem; display: grid; gap: 0.25rem; line-height: var(--rule); }
.contact-card-who { font-size: var(--fs-small); color: var(--ink-soft); }
.contact-card-who strong { color: var(--ink); }
.phone-big {
  display: inline-flex; align-items: center; gap: 0.6rem; justify-self: start;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; letter-spacing: -0.01em;
  color: var(--cyan-800); text-decoration: none; font-variant-numeric: tabular-nums; line-height: 1.15;
  padding-block: 0.4rem; white-space: nowrap;
}
.phone-big .i { width: 0.9em; height: 0.9em; }
.phone-big:hover { color: var(--cyan-950); }
.langs { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding-top: 0.5rem; }
.langs li { font-size: 0.9375rem; font-weight: 700; color: var(--cyan-900); background: var(--cyan-100); padding: 0.2rem 0.75rem; border-radius: 999px; line-height: 1.6; }

@media (max-width: 59.99rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .contact-card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .contact-card-photo { aspect-ratio: auto; min-height: 100%; }
}
@media (max-width: 39.99rem) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-card-photo { aspect-ratio: 1 / 1; }
  .btn-row .btn { width: 100%; }
}

/* ---------------------------------------------------------------- Vorstellung */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.intro-grid h2 { margin-bottom: 1.5rem; }
.intro-photo img { aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 30%; }
.intro-text { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); }
.intro-text p:first-child { color: var(--ink); }
.intro-sign { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; font-size: var(--fs-body); }
.intro-sign img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 3px solid var(--cyan-200); }
@media (max-width: 59.99rem) { .intro-grid { grid-template-columns: 1fr; } .intro-photo { order: 2; } }

/* ---------------------------------------------------------------- Leistungsliste (Signatur) */
.task-list { list-style: none; border-top: 3px solid var(--cyan-500); }
.task-list > li { border-bottom: 2px solid var(--cyan-200); }
.task {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) auto; gap: 1rem 3rem; align-items: center;
  padding: clamp(1.5rem, 2.5vw, 2.25rem) 0.25rem; color: inherit; text-decoration: none;
}
.task-title { font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem); font-weight: 800; color: var(--cyan-950); line-height: 1.15; letter-spacing: -0.02em; }
.task-title span {
  background: linear-gradient(var(--cyan-100), var(--cyan-100)) 0 88% / 0% 45% no-repeat;
  transition: background-size 420ms var(--ease-out);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.task-desc { color: var(--ink-soft); margin: 0; }
.task-go {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 2px solid var(--cyan-300); color: var(--cyan-800);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms var(--ease-out);
}
.task:hover .task-title span, .task:focus-visible .task-title span { background-size: 100% 45%; }
.task:hover .task-go, .task:focus-visible .task-go { background: var(--cyan-800); border-color: var(--cyan-800); color: #fff; }
@media (hover: hover) and (pointer: fine) { .task:hover .task-go { transform: translateX(4px); } }
.task:active .task-go { transform: scale(0.94); }
.task:focus-visible { outline-offset: -3px; }
@media (max-width: 47.99rem) {
  .task { grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem 1rem; }
  .task-desc { grid-column: 1 / -1; grid-row: 2; }
  .task-go { grid-column: 2; grid-row: 1; width: 3rem; height: 3rem; }
}

/* ---------------------------------------------------------------- Warum wir */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); list-style: none; }
.reasons li { padding-block: 2rem; border-top: 2px solid var(--cyan-200); }
.reasons h3 { margin-bottom: 0.75rem; display: flex; gap: 0.75rem; align-items: baseline; }
.reasons h3 .i { color: var(--cyan-800); transform: translateY(0.18em); }
.reasons p { color: var(--ink-soft); margin: 0; }
@media (max-width: 47.99rem) { .reasons { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Ablauf (ein durchgehender Bogen) */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; list-style: none; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 1.75rem; right: 1.75rem; top: 1.75rem; height: 3px; background: var(--cyan-500);
  transform-origin: left; transform: scaleX(var(--line, 1));
}
.step { position: relative; counter-increment: step; }
.step-dot {
  position: relative; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: #fff; border: 3px solid var(--cyan-500); color: var(--cyan-900); font-weight: 800; font-size: 1.125rem;
  margin-bottom: 1.5rem;
}
.step-dot::before { content: counter(step); }
.step h3 { margin-bottom: 0.625rem; }
.step p { color: var(--ink-soft); margin: 0; }
@media (max-width: 59.99rem) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 1.75rem; right: auto; top: 1.75rem; bottom: 1.75rem; width: 3px; height: auto; transform-origin: top; transform: scaleY(var(--line, 1)); }
  .step { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0 1.5rem; padding-bottom: 2.5rem; }
  .step:last-child { padding-bottom: 0; }
  .step-dot { grid-row: span 2; margin-bottom: 0; }
  .step h3 { padding-top: 0.75rem; }
}
.js-motion .steps { --line: 0; }
.js-motion .steps.is-in { --line: 1; }
.js-motion .steps::before { transition: transform 1100ms var(--ease-in-out); }
.js-motion .steps .step-dot { transition: background-color 300ms ease, color 300ms ease; }
.js-motion .steps.is-in .step-dot { background: var(--cyan-800); border-color: var(--cyan-800); color: #fff; }
.js-motion .steps.is-in .step:nth-child(1) .step-dot { transition-delay: 100ms; }
.js-motion .steps.is-in .step:nth-child(2) .step-dot { transition-delay: 400ms; }
.js-motion .steps.is-in .step:nth-child(3) .step-dot { transition-delay: 700ms; }
.js-motion .steps.is-in .step:nth-child(4) .step-dot { transition-delay: 1000ms; }

/* ---------------------------------------------------------------- Pflegekasse (dunkle Fläche) */
.band-dark { background: var(--cyan-950); color: #e6f6fb; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark a:not(.btn) { color: var(--cyan-300); }
.band-dark a:not(.btn):hover { color: #fff; }
.band-dark .btn-primary { --btn-bg: var(--cyan-500); --btn-border: var(--cyan-500); --btn-fg: var(--cyan-950); }
.band-dark .btn-primary:hover { --btn-bg: #fff; --btn-border: #fff; --btn-fg: var(--cyan-950); }
.band-dark .btn-secondary { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgb(255 255 255 / 0.7); }
.band-dark .btn-secondary:hover { --btn-bg: rgb(255 255 255 / 0.1); --btn-border: #fff; }
.money-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.money-statement { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.875rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; color: #fff; margin-bottom: 1.75rem; text-wrap: balance; }
.money-statement em { font-style: normal; color: var(--cyan-500); white-space: nowrap; }
.money-points { list-style: none; display: grid; gap: 0; border-top: 2px solid rgb(143 220 242 / 0.35); }
.money-points li { padding-block: 1.125rem; border-bottom: 2px solid rgb(143 220 242 / 0.35); display: flex; gap: 0.875rem; }
.money-points .i { color: var(--cyan-500); margin-top: 0.2em; }
.band-dark .note { color: #b9dfea; font-size: var(--fs-small); }
@media (max-width: 59.99rem) { .money-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 3px solid var(--cyan-500); max-width: 52rem; }
.faq details { border-bottom: 2px solid var(--cyan-200); }
.faq summary {
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; cursor: pointer; list-style: none;
  padding: 1.5rem 0.25rem; font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); font-weight: 700; color: var(--cyan-950); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 2px solid var(--cyan-300);
  background: linear-gradient(var(--cyan-800), var(--cyan-800)) center / 14px 2.5px no-repeat,
              linear-gradient(var(--cyan-800), var(--cyan-800)) center / 2.5px 14px no-repeat;
  transition: transform 240ms var(--ease-out), background-color 200ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--cyan-100); }
.faq summary:hover { color: var(--cyan-700); }
.faq-answer { padding: 0 0.25rem 1.75rem; color: var(--ink-soft); max-width: 44rem; }
.faq-answer ul { padding-left: 1.25rem; margin-bottom: 1em; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq-answer { animation: faq-open 260ms var(--ease-out); }
}
@keyframes faq-open { from { opacity: 0; transform: translateY(-0.375rem); } }

/* ---------------------------------------------------------------- Kontakt-Abschluss */
.closing { --ruled-offset: 0; }
.closing-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.closing h2 { margin-bottom: 1.25rem; }
.closing-phone {
  display: block; font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  color: var(--cyan-800); text-decoration: none; font-variant-numeric: tabular-nums; margin-block: 0.25rem 1.25rem; white-space: nowrap;
}
.closing-phone:hover { color: var(--cyan-950); }
.closing-card { padding: clamp(1.75rem, 3vw, 2.5rem); background: #fff; }
.area-list { list-style: none; display: grid; gap: 0; }
.area-list li { display: grid; grid-template-columns: 4.25rem 1fr; align-items: center; gap: 1rem; padding-block: 0.75rem; border-bottom: 2px solid var(--cyan-200); font-weight: 600; }
.area-list li:last-child { border-bottom: 0; }
.plate {
  display: inline-grid; place-items: center; min-width: 3.5rem; height: 2.25rem; padding-inline: 0.5rem;
  border: 2px solid var(--cyan-950); border-radius: 0.4rem; font-weight: 800; letter-spacing: 0.04em; color: var(--cyan-950); background: #fff; font-size: 1rem;
}
@media (max-width: 59.99rem) { .closing-inner { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Unterseiten */
.page-hero { padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); border-bottom: 2px solid var(--cyan-200); }
.page-hero h1 { max-width: 20ch; margin-bottom: 1.25rem; }
.page-hero .lead { max-width: 42rem; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 59.99rem) { .page-hero-split { grid-template-columns: 1fr; } }

.prose { max-width: 44rem; overflow-wrap: break-word; hyphens: auto; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: 3.5rem 0 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2.25rem 0 0.75rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--cyan-700); }
.prose .small, .small { font-size: var(--fs-small); color: var(--ink-soft); }

.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.aside-sticky { position: sticky; top: 7.5rem; }
@media (max-width: 59.99rem) { .two-col { grid-template-columns: 1fr; } .aside-sticky { position: static; } }

.checklist { list-style: none; padding: 0 !important; border-top: 2px solid var(--cyan-200); }
.checklist li { display: flex; gap: 0.875rem; align-items: flex-start; padding-block: 1rem; margin: 0 !important; border-bottom: 2px solid var(--cyan-200); }
.checklist .i { color: var(--cyan-800); margin-top: 0.2em; }

.side-card { padding: 1.75rem; display: grid; gap: 0.75rem; }
.side-card h2 { font-size: var(--fs-h3); }
.side-card .phone-big { font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem); }

.related { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; border-top: 3px solid var(--cyan-500); }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.5rem; border-bottom: 2px solid var(--cyan-200); font-size: 1.125rem; font-weight: 700; color: var(--cyan-950); text-decoration: none; }
.related a:hover { color: var(--cyan-700); }
@media (hover: hover) and (pointer: fine) { .related a:hover .i-arrow { transform: translateX(4px); } .related .i-arrow { transition: transform 200ms var(--ease-out); } }
@media (max-width: 59.99rem) { .related { grid-template-columns: 1fr; } }

.portrait-frame { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--cyan-200); box-shadow: var(--shadow-card); background: var(--cyan-100); }
.portrait-frame img { width: 100%; height: auto; }

.source-list { font-size: var(--fs-small); color: var(--ink-soft); }
.source-list a { overflow-wrap: anywhere; }

.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
.facts-table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: 1rem 1rem 1rem 0; border-bottom: 2px solid var(--cyan-200); }
.facts-table th { font-weight: 700; color: var(--cyan-950); width: 42%; }
.facts-table td { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Formular */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 59.99rem) { .form-grid { grid-template-columns: 1fr; } }
.form-card { padding: clamp(1.5rem, 3vw, 2.75rem); background: #fff; }
.form-card h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin-bottom: 0.75rem; }
.form-card > p { color: var(--ink-soft); }
.form { display: grid; gap: 1.5rem; margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 39.99rem) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field label, .field legend { font-weight: 700; font-size: 1.0625rem; color: var(--cyan-950); }
.field .hint { font-size: 0.9375rem; color: var(--ink-soft); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink); background: #fff;
  min-height: 3.5rem; padding: 0.75rem 1rem; border: 2px solid #5d8592; border-radius: var(--radius-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 9.5rem; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23035569' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.25rem; padding-right: 3rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--cyan-800); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-800); box-shadow: 0 0 0 4px var(--cyan-200); }
.field [aria-invalid="true"] { border-color: #a1260d; }
.field-error { color: #a1260d; font-weight: 700; font-size: 1rem; display: flex; gap: 0.4rem; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 3.25rem; padding: 0.5rem 1.125rem; border: 2px solid #5d8592; border-radius: 999px;
  font-weight: 600; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.choice input:checked + span { background: var(--cyan-800); border-color: var(--cyan-800); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--cyan-700); outline-offset: 3px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.875rem; align-items: start; font-size: 1rem; }
.consent input { width: 1.75rem; height: 1.75rem; margin: 0.1rem 0 0; cursor: pointer; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1.125rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; display: flex; gap: 0.75rem; align-items: flex-start; }
.form-status[hidden] { display: none; }
.form-status.is-ok { background: #e7f7ee; border: 2px solid #1d7a45; color: #0f4d2a; }
.form-status.is-error { background: #fdeceb; border: 2px solid #a1260d; color: #6e1806; }
.form-status .i { margin-top: 0.15em; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.form-foot { font-size: 0.9375rem; color: var(--ink-soft); }

.tabs-switch { display: inline-flex; gap: 0.5rem; padding: 0.375rem; border: 2px solid var(--cyan-200); border-radius: 999px; background: var(--cyan-50); margin-top: 1.5rem; flex-wrap: wrap; }
.tabs-switch a { display: inline-flex; align-items: center; min-height: 3rem; padding: 0.5rem 1.25rem; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--cyan-900); }
.tabs-switch a:hover { background: #fff; }

/* ---------------------------------------------------------------- Footer */
.site-footer { border-top: 3px solid var(--cyan-500); padding-top: clamp(3.5rem, 6vw, 5.5rem); background: #fff; font-size: var(--fs-small); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.logo-footer { height: 3.5rem; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--ink-soft); max-width: 22rem; }
.footer-h { font-size: 1.0625rem; letter-spacing: 0; margin-bottom: 1rem; color: var(--cyan-950); }
.footer-list { list-style: none; display: grid; gap: 0.25rem; }
.footer-list a, .footer-addr { display: inline-flex; gap: 0.625rem; align-items: flex-start; min-height: 2.75rem; padding-block: 0.5rem; color: var(--ink); text-decoration: none; line-height: 1.45; }
.footer-list a:hover { color: var(--cyan-700); text-decoration: underline; }
.footer-list .i { color: var(--cyan-800); margin-top: 0.1em; }
.footer-list a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 2px solid var(--cyan-200); color: var(--ink-soft); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; }
.footer-bottom a { color: var(--ink-soft); }
@media (max-width: 59.99rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 39.99rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Dezente Scroll-Reveals */
/* Inhalte sind ohne JavaScript immer sichtbar; site.js setzt .js-motion nur ohne „reduzierte Bewegung“. */
.js-motion [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .call-bar, .site-footer .footer-grid > div:not(:first-child) { display: none; }
  body { font-size: 12pt; padding: 0; }
}

@media (max-width: 39.99rem) {
  .tabs-switch { display: grid; border-radius: var(--radius); width: 100%; }
  .tabs-switch a { border-radius: var(--radius-sm); }
}


/* ---------------------------------------------------------------- Fotos */
.photo-frame { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--cyan-200); background: var(--cyan-100); box-shadow: var(--shadow-card); }
.photo-frame img { width: 100%; height: auto; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .photo-frame:hover img { transform: scale(1.02); } }
.page-hero-photo .photo-frame img { aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-photo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

/* Leistungsliste mit kleinem Foto */
.task:has(.task-photo) { grid-template-columns: 9rem minmax(0, 0.8fr) minmax(0, 1.2fr) auto; gap: 1rem 2.5rem; }
.task-photo { display: block; width: 9rem; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--cyan-100); border: 2px solid var(--cyan-200); }
.task-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.task:hover .task-photo img { transform: scale(1.03); }
@media (max-width: 59.99rem) {
  .task:has(.task-photo) { grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 0.75rem 1.25rem; }
  .task:has(.task-photo) .task-photo { width: 6rem; grid-row: 1 / span 2; align-self: start; }
  .task:has(.task-photo) .task-title { grid-column: 2; grid-row: 1; align-self: end; }
  .task:has(.task-photo) .task-desc { grid-column: 2 / -1; grid-row: 2; }
  .task:has(.task-photo) .task-go { grid-column: 3; grid-row: 1; }
}
@media (max-width: 39.99rem) {
  .task:has(.task-photo) { grid-template-columns: 4.5rem minmax(0, 1fr) auto; }
  .task:has(.task-photo) .task-photo { width: 4.5rem; grid-row: 1; align-self: center; }
  .task:has(.task-photo) .task-title { align-self: center; }
  .task:has(.task-photo) .task-desc { grid-column: 1 / -1; }
}

/* Auto-Abschnitt */
.car-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.car-grid h2 { margin-bottom: 1.25rem; }
.car-photo img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 100%; }
@media (max-width: 59.99rem) { .car-grid { grid-template-columns: 1fr; } }

.plate-icon .i { width: 1.25rem; height: 1.25rem; color: var(--cyan-800); }
.area-wide span:last-child { font-weight: 800; color: var(--cyan-900); }
@media (max-width: 39.99rem) {
  .task-title { font-size: 1.1875rem; hyphens: manual; overflow-wrap: normal; }
}

/* ---------------------------------------------------------------- pflegebox21 (vor dem Footer) */
.pflegebox { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); background: linear-gradient(to bottom, #fff 0, var(--cyan-50) 100%); border-top: 2px solid var(--cyan-200); }
.pflegebox-inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pflegebox-media img { width: 100%; height: auto; }
.pflegebox-logo { width: min(17rem, 70%); height: auto; margin-bottom: 1.5rem; }
.pflegebox h2 { margin-bottom: 1.25rem; max-width: 18ch; }
.pflegebox-text > p { color: var(--ink-soft); max-width: 40rem; }
.pflegebox-list { margin-block: 1.5rem 2rem; max-width: 40rem; }
.pflegebox-list li { padding-block: 0.75rem; }
@media (max-width: 59.99rem) {
  .pflegebox-inner { grid-template-columns: 1fr; }
  .pflegebox-media { order: 2; max-width: 30rem; margin-inline: auto; }
}

/* ---------------------------------------------------------------- Downloads */
.dl-group + .dl-group { margin-top: clamp(3rem, 5vw, 4.5rem); }
.dl-group > h2 { margin-bottom: 0.75rem; }
.dl-group > p { color: var(--ink-soft); max-width: 44rem; margin-bottom: 1.5rem; }
.dl-list { list-style: none; display: grid; gap: 1rem; padding: 0; }
.dl-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.5rem 1.5rem; align-items: center; padding: 1.25rem 1.5rem; background: #fff; border: 2px solid var(--cyan-200); border-left: 0.5rem solid var(--cyan-500); border-radius: var(--radius-sm); }
.dl-badge { display: grid; place-items: center; width: 3.25rem; height: 3.75rem; border-radius: 0.5rem; background: var(--cyan-100); color: var(--cyan-900); font-weight: 800; font-size: 0.875rem; letter-spacing: 0.04em; }
.dl-item h3 { font-size: var(--fs-h3); margin: 0 0 0.25rem; }
.dl-item p { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); }
.dl-meta { font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 47.99rem) {
  .dl-item { grid-template-columns: auto minmax(0, 1fr); }
  .dl-item .btn { grid-column: 1 / -1; width: 100%; }
}
.dl-item h3 { hyphens: manual; overflow-wrap: normal; }
@media (max-width: 47.99rem) {
  .dl-item { grid-template-columns: minmax(0, 1fr); padding: 1.125rem 1.25rem; }
  .dl-badge { display: none; }
  .dl-item h3 { font-size: 1.1875rem; }
}
