/* ==========================================================================
   Pflegepuls GmbH – Stylesheet
   Milchglas + Logo-Bögen. Farben aus dem Logo: Blau #029CDC, Schrift #0C0C0C.
   ========================================================================== */

/* ---------- Schriften (lokal, keine Anfrage an Google) ---------- */
@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/sora-variabel.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-variabel-latin.woff2") format("woff2");
  font-weight: 200 800;
  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: "Manrope";
  src: url("../assets/fonts/manrope-variabel-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

/* ---------- Gestaltungswerte ---------- */
:root {
  --blau: #029CDC;          /* Markenblau aus dem Logo – Bögen, Akzente */
  --blau-tief: #0677B3;     /* für Text und Knöpfe (Kontrast AA auf Weiß) */
  --blau-dunkel: #05618F;
  --blau-hell: #5CC6F2;
  --tinte: #0C0C0C;         /* Logo-Schwarz */
  --text: #2E3A44;
  --leise: #5A6874;
  --grund: #F3F7FA;
  --linie: rgba(12, 40, 60, .1);
  --linie-stark: rgba(12, 40, 60, .16);

  --glas: rgba(255, 255, 255, .52);
  --glas-stark: rgba(255, 255, 255, .74);
  --glas-rand: rgba(255, 255, 255, .85);
  --glas-filter: blur(22px) saturate(160%);
  --glas-schatten: inset 0 1px 0 rgba(255, 255, 255, .9), 0 24px 60px -30px rgba(3, 70, 110, .32), 0 2px 6px -2px rgba(3, 70, 110, .08);

  --rund: 24px;
  --rand: clamp(16px, 4vw, 40px);
  --kopf-h: 68px;

  --schrift-titel: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --schrift-text: "Manrope", "Segoe UI", system-ui, sans-serif;
}

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

html {
  font-size: 112.5%;              /* 18 px – gut lesbar, auch für ältere Menschen */
  background: var(--grund);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-h) + 32px);
  -webkit-text-size-adjust: 100%;
}
html.gross { font-size: 125%; }  /* Schalter „A+“ */

body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: transparent;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Feine Umlauflinien hinter allem – das Milchglas zeichnet sie weich */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("../assets/linien.svg") center / cover no-repeat;
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--blau-tief); text-underline-offset: .2em; }
a:hover { color: var(--blau-dunkel); }
h1, h2, h3 { font-family: var(--schrift-titel); color: var(--tinte); font-weight: 600; margin: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
::selection { background: rgba(2, 156, 220, .22); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }

.nur-sr, .versteckt {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.sprung {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--tinte); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.sprung:focus { top: 16px; color: #fff; }

.rahmen { width: min(1200px, 100% - 2 * var(--rand)); margin-inline: auto; position: relative; z-index: 1; }

/* Platzhalter – markiert alles, was vom Kunden noch kommt.
   Mit ?sauber in der Adresse ausblenden (für Präsentationen). */
.platzhalter {
  background: rgba(2, 156, 220, .1);
  outline: 1.5px dashed rgba(2, 156, 220, .55);
  outline-offset: 1px;
  border-radius: 4px;
  padding: 0 .2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.platzhalter-block { display: inline; line-height: 1.9; }
html.sauber .platzhalter { background: none; outline: 0; padding: 0; }

/* ---------- Milchglas ---------- */
.glas {
  background: var(--glas);
  -webkit-backdrop-filter: var(--glas-filter);
  backdrop-filter: var(--glas-filter);
  border: 1px solid var(--glas-rand);
  box-shadow: var(--glas-schatten);
  border-radius: var(--rund);
}
.glas-stark { background: var(--glas-stark); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glas, .glas-stark, .kopf-innen::before { background: rgba(255, 255, 255, .94); }
}

/* ---------- Kleinteile ---------- */
.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon-blau { color: var(--blau); }

.etikett {
  display: inline-flex; align-items: center; gap: .65rem;
  margin: 0;
  font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--blau-tief);
}
.etikett::before {
  content: ""; width: 30px; height: 9px; flex: none;
  background: url("../assets/logo/bogen-unterstrich.svg") 0 0 / 100% 100% no-repeat;
}

h2 {
  font-size: clamp(1.9rem, 1.1rem + 2.3vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: .9rem 0 1.1rem;
  text-wrap: balance;
}
h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -.015em; }
.lead { font-size: 1.1rem; color: var(--text); max-width: 34em; }
.klein { font-size: .9rem; color: var(--leise); margin: 0; }

/* Knöpfe – bewusst eckig-weich, keine Pillen */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.35rem;
  font: 700 1rem/1.2 var(--schrift-text);
  color: #fff; text-decoration: none;
  background: var(--blau-tief);
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: 0 12px 26px -14px rgba(6, 119, 179, .85), inset 0 1px 0 rgba(255, 255, 255, .18);
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.knopf:hover { background: var(--blau-dunkel); color: #fff; transform: translateY(-1px); }
.knopf:active { transform: translateY(0); }
.knopf .icon { transition: transform .2s; }
.knopf:hover .icon { transform: translateX(3px); }
.knopf-glas {
  color: var(--tinte);
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -16px rgba(3, 70, 110, .45);
}
.knopf-glas:hover { background: rgba(255, 255, 255, .85); color: var(--blau-tief); }
.knopf-klein { padding: .62rem 1rem; font-size: .9rem; border-radius: 12px; }
.knopf-breit { width: 100%; }
.knopf-reihe { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; }

/* ==========================================================================
   Kopfleiste
   ========================================================================== */
.kopf {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 50;
  padding-inline: var(--rand);
  pointer-events: none;
}
.kopf-innen {
  position: relative;
  max-width: 1240px; height: var(--kopf-h); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 16px;
  border-radius: 20px;
  pointer-events: auto;
}
/* Glas liegt auf einem Pseudo-Element, damit das aufklappende Menü sein eigenes Glas bekommt */
.kopf-innen::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: var(--glas-filter); backdrop-filter: var(--glas-filter);
  border: 1px solid var(--glas-rand);
  box-shadow: var(--glas-schatten);
  transition: background .3s;
}
.kopf.gescrollt .kopf-innen::before { background: rgba(255, 255, 255, .78); }

.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.marke-bogen { position: relative; display: block; width: 42px; }
.marke-bogen img { width: 100%; height: auto; }
.marke-schrift { width: 112px; height: auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  white-space: nowrap;
  padding: .5rem .8rem;
  font-size: .9rem; font-weight: 700; color: var(--text); text-decoration: none;
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(2, 156, 220, .1); color: var(--blau-tief); }

.kopf-aktionen { display: flex; align-items: center; gap: 8px; flex: none; }
.schrift-knopf {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font: 700 1rem/1 var(--schrift-titel); color: var(--tinte);
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--linie-stark); border-radius: 12px;
  cursor: pointer; transition: background .2s, color .2s;
}
.schrift-knopf sup { font-size: .6em; margin-left: 1px; }
.schrift-knopf:hover { background: #fff; color: var(--blau-tief); }
.schrift-knopf[aria-pressed="true"] { background: var(--tinte); color: #fff; border-color: var(--tinte); }

.menue-knopf {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: rgba(255, 255, 255, .55); border: 1px solid var(--linie-stark); border-radius: 12px;
  cursor: pointer; position: relative;
}
.menue-knopf span:not(.nur-sr) {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px;
  background: var(--tinte); transition: transform .25s, top .25s;
}
.menue-knopf span:nth-child(1) { top: 17px; }
.menue-knopf span:nth-child(2) { top: 25px; }
.menue-knopf[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero, .seitenkopf {
  position: relative;
  padding: calc(var(--kopf-h) + 14px + clamp(32px, 8vh, 104px)) 0 clamp(56px, 9vw, 120px);
}
.hero-raster, .seitenkopf-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
.seitenkopf h1 {
  font-size: clamp(2.1rem, 1.1rem + 2.9vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 1.1rem 0 0;
  text-wrap: balance;
}
.seitenkopf-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.orbit-foto { max-width: 720px; }
.seitenkopf-schmal { padding-bottom: 0; }
.seitenkopf-schmal .rahmen > * { max-width: 820px; }
.seitenkopf-schmal .hero-lead { margin-bottom: 0; }
.hero h1 {
  font-size: clamp(2.45rem, 1.2rem + 3.9vw, 4.55rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  margin: 1.2rem 0 0;
  text-wrap: balance;
}
.unterstrichen { position: relative; color: var(--blau); }
@media (min-width: 761px) { .unterstrichen { white-space: nowrap; } }
.unterstrichen::after {
  content: ""; position: absolute; left: -2%; right: -4%; bottom: -.05em; height: .19em;
  background: url("../assets/logo/bogen-unterstrich.svg") 0 0 / 100% 100% no-repeat;
  transform-origin: left center;
  animation: strich 1.1s .5s cubic-bezier(.6, 0, .2, 1) both;
}
@keyframes strich { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.hero-lead { font-size: 1.14rem; max-width: 32em; margin: 1.5rem 0 2.1rem; }

.haken-liste {
  list-style: none; margin: 2.2rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  font-size: .92rem; font-weight: 700; color: var(--tinte);
}
.haken-liste li {
  padding-left: 1.65rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23029CDC' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") 0 .15em / 1.1em no-repeat;
}

/* Umlaufbahn: Logo-Bögen um die Glaskarte.
   Die Karte entspricht im Logo dem Rechteck x 90–1180 / y 440–960 (Logo-Einheiten);
   daraus ergeben sich die Prozentwerte der Bögen und der Innenabstand der Bühne. */
.orbit {
  position: relative;
  width: 100%; max-width: 660px; justify-self: end;
  padding: 19.43% 4.63% 11.66% 5.25%;
}
.orbit-buehne { position: relative; container-type: inline-size; }
/* Beide Ebenen haben das Seitenverhältnis des ganzen Logos und werden nur über die Breite
   skaliert: oben an der Oberkante verankert, unten an der Unterkante – so verzerrt nichts,
   auch wenn die Karte auf dem Handy höher wird. (Prozent-Margins beziehen sich auf die Breite.) */
.orbit-hinten, .orbit-vorn {
  position: absolute; left: -5.83%; width: 110.96%; height: auto;
  aspect-ratio: 1209.5 / 896;
  max-width: none; pointer-events: none; user-select: none;
}
.orbit-hinten { top: 0; margin-top: -21.56%; }
.orbit-vorn { bottom: 0; margin-bottom: -12.94%; }
.orbit-hinten img, .orbit-vorn img { display: block; width: 100%; height: 100%; max-width: none; }
.orbit-hinten { z-index: 0; }
.orbit-vorn { z-index: 2; }
@keyframes zeichnen { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.orbit-karte {
  position: relative; z-index: 1;
  aspect-ratio: 1090 / 520;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(18px, 6cqi, 30px) clamp(20px, 7cqi, 36px);
  padding-bottom: max(11cqi, 22px);   /* Zone, in der der vordere Bogen die Karte kreuzt */
  border-radius: 26px;
}
.karte-etikett {
  display: flex; align-items: center; gap: .6rem; margin: 0;
  font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--leise);
}
.puls-punkt { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--blau); flex: none; }
.puls-punkt::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--blau); opacity: 0;
}

.karte-telefon {
  display: block; margin: .5rem 0 .9rem; white-space: nowrap;
  font: 600 clamp(1.3rem, 7.2cqi, 2.1rem)/1.15 var(--schrift-titel);
  letter-spacing: -.02em; color: var(--tinte); text-decoration: none;
}
.karte-telefon:hover { color: var(--blau-tief); }
.karte-zeiten {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px;
  margin: 0; padding-bottom: .95rem; border-bottom: 1px solid var(--linie); font-size: .92rem;
}
.karte-zeiten div { display: contents; }
.karte-zeiten dt { color: var(--leise); }
.karte-zeiten dd { margin: 0; font-weight: 700; color: var(--tinte); }
/* Unten rechts bleibt frei – dort kreuzt der vordere Bogen die Karte */
.karte-link {
  display: flex; align-items: center; gap: 10px;
  max-width: 68%;
  margin-top: .95rem;
  font-weight: 700; font-size: .92rem; line-height: 1.35; text-decoration: none;
}
.karte-link:hover .icon { transform: translateX(3px); }
.karte-link .icon { transition: transform .2s; }

@container (max-width: 330px) {
  .karte-zeiten { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .karte-zeiten dt { font-size: .8rem; margin-top: .35rem; }
  .karte-link { max-width: 78%; }
}

/* ==========================================================================
   Abschnitte allgemein
   ========================================================================== */
.abschnitt {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0;
  scroll-margin-top: 70px;
  overflow-x: clip;
}
.deko-bogen {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  aspect-ratio: 1210 / 896; height: auto; max-width: none;
}

/* ---------- Leistungen ---------- */
.leistungen-raster {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.leistungen-kopf { position: sticky; top: calc(var(--kopf-h) + 44px); }
.hinweis {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 2rem; padding: 18px 20px; border-radius: 18px;
  font-size: .95rem;
}
.hinweis .icon { width: 1.6em; height: 1.6em; margin-top: .1em; }
.hinweis p { margin: 0; }
.deko-leistungen { width: min(1200px, 110vw); right: -24%; top: 20%; transform: rotate(5deg); }

.leistungs-liste { list-style: none; margin: 0; padding: 6px clamp(20px, 3vw, 36px); border-radius: 28px; }
.leistung {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--linie);
}
.leistung:last-child { border-bottom: 0; }
.leistung h3 { transition: color .2s; }
.leistung:hover h3 { color: var(--blau-tief); }
.leistung p { margin: .4rem 0 0; font-size: .98rem; }
.marke-kasse {
  align-self: start; margin-top: .2rem;
  padding: .32rem .62rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
  color: var(--blau-tief);
  background: rgba(2, 156, 220, .09);
  border: 1px solid rgba(2, 156, 220, .24);
  border-radius: 8px;
}
.marke-frei { color: #fff; background: var(--blau-tief); border-color: var(--blau-tief); }
.leistung-bereiche { grid-template-columns: minmax(0, 1fr); }

.chips { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: .42rem .8rem;
  font-size: .86rem; font-weight: 700; color: var(--tinte);
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--linie-stark); border-radius: 10px;
}
.chips-hell { margin: 0 0 1.8rem; }
.chips-hell li { background: rgba(2, 156, 220, .08); border-color: rgba(2, 156, 220, .25); color: var(--blau-dunkel); }

/* ---------- Über uns ---------- */
.ueber-kopf { max-width: 860px; }
.werte {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 52px);
  border-top: 1px solid var(--linie-stark);
}
.wert { padding: 34px 32px 8px; border-left: 1px solid var(--linie); }
.wert:first-child { padding-left: 0; border-left: 0; }
.wert-icon {
  width: 46px; height: 46px; margin-bottom: 20px;
  fill: none; stroke: var(--blau); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.wert h3 { font-size: 1.32rem; margin-bottom: .55rem; }
.wert p { font-size: 1rem; margin: 0; }

.team-band {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: 28px;
}
.team-text h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.team-text p { margin: 0; }
.team-fakten { margin: 0; }
.team-fakten div { padding: 12px 0; border-bottom: 1px solid var(--linie); }
.team-fakten div:first-child { padding-top: 0; }
.team-fakten div:last-child { border-bottom: 0; }
.team-fakten dt { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--leise); }
.team-fakten dd { margin: .2rem 0 0; font-weight: 700; color: var(--tinte); }

/* ---------- Ablauf ---------- */
.zentriert-kopf { text-align: center; max-width: 760px; margin: 0 auto; }
.zentriert-kopf .lead { margin-inline: auto; }

.bahn { position: relative; margin-top: clamp(36px, 5vw, 64px); }
.bahn-linie { position: absolute; top: 0; left: 0; width: 100%; height: 140px; overflow: visible; }
/* Kein non-scaling-stroke: Chrome ignoriert sonst pathLength="1" bei den Strichmustern.
   Die Kurve ist flach und wird nur waagerecht gestreckt, die Strichstärke bleibt praktisch gleich. */
.bahn-linie path { fill: none; }
.bahn-grund {
  stroke: var(--blau); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.js .bahn-grund { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.6, 0, .2, 1); }
.js .bahn.da .bahn-grund { stroke-dashoffset: 0; }
.bahn-puls {
  stroke: var(--blau); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: .045 1.3; stroke-dashoffset: .045; opacity: 0;
  filter: drop-shadow(0 0 6px rgba(2, 156, 220, .75));
}

.schritte {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  position: relative;
}
.schritt { position: relative; padding-top: 150px; }
.schritt-punkt {
  position: absolute; left: 50%; top: 63px;
  width: 22px; height: 22px; transform: translate(-50%, -50%);
  background: #fff; border: 5px solid var(--blau); border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(2, 156, 220, .14);
}
.schritt:nth-child(2) .schritt-punkt { top: 20px; }
.schritt-punkt::after {
  content: ""; position: absolute; inset: -11px; border-radius: 50%;
  border: 2px solid var(--blau); opacity: 0;
}
.schritt-karte { height: 100%; padding: 28px 28px 24px; }
.schritt-karte h3 { margin-bottom: .55rem; }
.schritt-karte p { margin: 0; font-size: .98rem; }

/* ---------- Fragen ---------- */
.fragen-raster {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.akkordeon { display: grid; gap: 12px; }
.fragen-gruppe {
  margin: 1.2rem 0 .2rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--schrift-text); color: var(--blau-tief);
}
.fragen-gruppe:first-child { margin-top: 0; }
.frage { border-radius: 18px; }
.frage summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 60px 20px 24px;
  font: 600 1.08rem/1.35 var(--schrift-titel); color: var(--tinte); letter-spacing: -.01em;
  border-radius: 18px;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::before, .frage summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 16px; height: 2px; margin-top: -1px; border-radius: 2px;
  background: var(--blau-tief); transition: transform .25s;
}
.frage summary::after { transform: rotate(90deg); }
.frage[open] summary::after { transform: rotate(0deg); }
.frage summary:hover { color: var(--blau-tief); }
.frage p { margin: 0; padding: 0 24px 22px; }

/* ---------- Karriere ---------- */
.deko-karriere { width: min(980px, 120vw); left: -12%; top: 2%; transform: rotate(-6deg); }
.karriere-panel {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: 32px;
}
.karriere-text .knopf-reihe { margin-top: 0; }
.bewerbungsweg {
  list-style: none; margin: 1.8rem 0 0; padding: 1.2rem 0 0;
  border-top: 1px solid var(--linie);
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .4rem;
  font-size: .88rem; font-weight: 700; color: var(--text);
  counter-reset: weg;
}
.bewerbungsweg li { display: inline-flex; align-items: center; gap: .45rem; counter-increment: weg; }
.bewerbungsweg li::before {
  content: counter(weg);
  display: inline-grid; place-items: center; width: 1.55rem; height: 1.55rem; flex: none;
  font: 700 .75rem/1 var(--schrift-titel); color: var(--blau-tief);
  border: 1.5px solid rgba(2, 156, 220, .5); border-radius: 50%;
}
.bewerbungsweg li:not(:last-child)::after {
  content: ""; width: 18px; height: 1.5px; margin-left: .3rem; background: rgba(2, 156, 220, .45);
}
.vorteile { list-style: none; margin: 0; padding: 0; align-self: center; }
.vorteile li { padding: 15px 0; border-bottom: 1px solid var(--linie); }
.vorteile li:first-child { padding-top: 0; }
.vorteile li:last-child { border-bottom: 0; padding-bottom: 0; }
.vorteile strong { display: block; font: 600 1.05rem/1.35 var(--schrift-titel); color: var(--tinte); }
.vorteile span { font-size: .95rem; color: var(--leise); }
.vorteile span.platzhalter { color: var(--text); }

/* ---------- Kontakt ---------- */
.deko-kontakt { width: min(1120px, 120vw); right: -26%; top: 22%; transform: rotate(-4deg); }
.kontakt-raster {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.gross-telefon {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 1.4rem 0 1.8rem;
  font: 600 clamp(1.55rem, 1rem + 1.8vw, 2.25rem)/1.2 var(--schrift-titel);
  letter-spacing: -.02em; color: var(--tinte); text-decoration: none;
}
.gross-telefon .icon {
  width: 52px; height: 52px; padding: 13px;
  color: #fff; background: var(--blau-tief); border-radius: 14px;
  box-shadow: 0 12px 26px -14px rgba(6, 119, 179, .85);
}
.gross-telefon:hover { color: var(--blau-tief); }
.kontakt-daten {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px; margin: 0; padding-top: 26px; border-top: 1px solid var(--linie-stark);
}
.kontakt-daten div:first-child { grid-column: 1 / -1; }
.kontakt-daten dt { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.kontakt-daten dd { margin: .25rem 0 0; font-weight: 700; color: var(--tinte); }
.kontakt-daten a { color: inherit; text-decoration: none; }
.kontakt-daten a:hover { color: var(--blau-tief); }

.formular { padding: clamp(22px, 3.4vw, 40px); border-radius: 28px; }
.formular .formular-titel { font-size: 1.35rem; letter-spacing: -.015em; margin-bottom: 1.2rem; }
.anliegen { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.anliegen legend { padding: 0; margin-bottom: 10px; font-size: .88rem; font-weight: 800; color: var(--tinte); }
.anliegen label { position: relative; }
.anliegen input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.anliegen span {
  display: inline-block; padding: .55rem .95rem;
  font-size: .9rem; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, .65);
  border: 1px solid var(--linie-stark); border-radius: 10px;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.anliegen span:hover { border-color: var(--blau); color: var(--blau-tief); }
.anliegen input:checked + span { background: var(--blau-tief); border-color: var(--blau-tief); color: #fff; }
.anliegen input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }

.feld-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.feld { display: block; margin-bottom: 14px; }
.feld > span { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 800; color: var(--tinte); }
.feld input, .feld textarea, .feld select {
  width: 100%; padding: .85rem 1rem;
  font: 500 1rem/1.4 var(--schrift-text); color: var(--tinte);
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--linie-stark); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.feld textarea { resize: vertical; min-height: 120px; }
.feld select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem;
  background: rgba(255, 255, 255, .78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230677B3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 1.1rem no-repeat;
}
.feld input::placeholder, .feld textarea::placeholder { color: #6B7884; }
.feld input:focus, .feld textarea:focus, .feld select:focus {
  outline: none; background: #fff;
  border-color: var(--blau); box-shadow: 0 0 0 4px rgba(2, 156, 220, .18);
}
.feld.fehler input { border-color: #C23B3B; box-shadow: 0 0 0 4px rgba(194, 59, 59, .12); }
.formular-hinweis {
  font-size: .86rem; color: var(--leise);
  padding-left: 14px; border-left: 3px solid rgba(2, 156, 220, .45);
}
.einwilligung { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 20px; font-size: .88rem; line-height: 1.5; }
.einwilligung input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blau-tief); }
.einwilligung.fehler span { color: #A32C2C; }
.formular-status { margin: 12px 0 0; font-weight: 700; color: var(--blau-tief); min-height: 1.4em; }
.formular-status.fehler { color: #A32C2C; }

/* ==========================================================================
   Fuß
   ========================================================================== */
.fuss {
  position: relative; overflow: hidden;
  margin-top: clamp(24px, 4vw, 48px);
  padding: clamp(56px, 7vw, 88px) 0 28px;
  color: rgba(255, 255, 255, .74);
  background: #0A1822;
  font-size: .95rem;
}
.fuss::before {
  content: ""; position: absolute; right: -8%; top: -30%; width: 720px; aspect-ratio: 1210 / 896;
  background: url("../assets/logo/bogen-hinten.svg") center / contain no-repeat;
  opacity: .16; transform: rotate(-8deg); pointer-events: none;
}
.fuss a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.fuss a:hover { color: var(--blau-hell); }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.fuss-marke img { width: 170px; height: auto; margin-bottom: 18px; }
.fuss-marke p { max-width: 22em; }
.fuss-nav { display: grid; gap: 8px; align-content: start; }
.fuss-kontakt p { margin: 0 0 8px; }
.fuss .platzhalter { background: rgba(92, 198, 242, .12); outline-color: rgba(92, 198, 242, .55); }
.fuss-unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .86rem;
}
.fuss-unten p { margin: 0; }
.fuss-recht { display: flex; gap: 22px; }

/* Anrufleiste (nur Handy) */
.anrufleiste { display: none; }

/* ==========================================================================
   Einblenden beim Scrollen
   ========================================================================== */
.js .auf { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .auf.da { opacity: 1; transform: none; }

/* ==========================================================================
   Mehrseitige Bausteine
   ========================================================================== */

/* Foto in der Logo-Umlaufbahn (Seitenkopf der Unterseiten) */
.foto-rahmen {
  position: relative; z-index: 1; margin: 0;
  aspect-ratio: 1376 / 768;
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 34px 70px -34px rgba(3, 50, 80, .5), 0 2px 8px -2px rgba(3, 50, 80, .15);
}
.foto-rahmen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foto-plakette {
  position: absolute; z-index: 3; left: -6%; bottom: -9%;
  display: flex; align-items: center; gap: 12px;
  max-width: min(300px, 70%);
  padding: 14px 18px 14px 16px; border-radius: 18px;
}
.foto-plakette p { margin: 0; display: grid; gap: 2px; }
.foto-plakette strong { font: 600 1rem/1.25 var(--schrift-titel); color: var(--tinte); letter-spacing: -.01em; }
.foto-plakette span:not(.puls-punkt) { font-size: .82rem; line-height: 1.35; color: var(--leise); }
.symbolbild {
  position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0;
  padding: .2rem .5rem;
  font: 700 .64rem/1.4 var(--schrift-text); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(10, 24, 34, .38);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 6px;
}
.karte-titel {
  margin: .5rem 0 .9rem;
  font: 600 clamp(1.2rem, 5.6cqi, 1.75rem)/1.2 var(--schrift-titel); letter-spacing: -.02em; color: var(--tinte);
}

/* Startseite: zwei Wegweiser mit Milchglas über dem Foto */
.deko-wege { width: min(1150px, 120vw); left: -18%; top: 38%; transform: rotate(-3deg); }
.wege-raster {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(32px, 4vw, 52px);
}
.weg-karte { display: block; color: inherit; text-decoration: none; border-radius: 28px; }
.weg-karte:hover { color: inherit; }
.weg-bild { position: relative; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(3, 50, 80, .45); }
.weg-bild img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.weg-karte:hover .weg-bild img { transform: scale(1.04); }
.weg-glas {
  position: relative; z-index: 1;
  margin: -64px clamp(12px, 2vw, 22px) 0;
  padding: 24px 26px 22px; border-radius: 22px;
}
.weg-glas h3 { font-size: 1.42rem; margin: .55rem 0 .5rem; }
.weg-glas p:not(.etikett) { margin: 0 0 1rem; font-size: .98rem; }
.weg-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--blau-tief); }
.weg-link .icon { transition: transform .25s; }
.weg-karte:hover .weg-link .icon { transform: translateX(4px); }

.mehr-link { margin: 2.2rem 0 0; }
.mehr-link a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; }
.klein-titel {
  margin: 1.6rem 0 .7rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--leise);
}
.chips-hell { margin: 0; }

/* Kontakt-Band am Seitenende */
.deko-aufruf { width: min(940px, 115vw); right: -12%; top: -6%; transform: rotate(6deg); }
.aufruf-panel {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 32px;
}
.aufruf-panel h2 { margin-bottom: .6rem; }
.aufruf-panel .lead { margin: 0; }
.aufruf-aktionen { display: grid; gap: 16px; justify-items: start; }
.aufruf-aktionen .gross-telefon { margin: 0; font-size: clamp(1.35rem, .9rem + 1.3vw, 1.95rem); }
.gross-telefon span, .karte-telefon { white-space: nowrap; }
.route { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; font-weight: 700; font-size: .9rem; }
.kontakt-seite { padding-top: clamp(40px, 5vw, 64px); }
.kontakt-seite .gross-telefon { margin-top: 0; }

/* Bewerbungsweg mit vier Schritten auf der Kurve */
.bahn-4 .schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bahn-4 .schritt:nth-child(1) .schritt-punkt, .bahn-4 .schritt:nth-child(4) .schritt-punkt { top: 75px; }
.bahn-4 .schritt:nth-child(2) .schritt-punkt, .bahn-4 .schritt:nth-child(3) .schritt-punkt { top: 26px; }
.bahn-4 .schritt-karte { padding: 24px 22px 20px; }

/* ==========================================================================
   Blau in Bewegung – der „Puls“
   Takt 3,2 s: Herzschlag der Umlaufbahn, Punkt im Hero und Ablauf-Punkte schlagen gemeinsam.
   Endlos-Animationen pausieren, sobald ihr Abschnitt aus dem Bild ist (.ausser-blick).
   ========================================================================== */
:root { --takt: 3.2s; --weich: cubic-bezier(.6, 0, .2, 1); }

/* Glanzstreifen, der über blaue Formen läuft (per Maske auf die Form begrenzt) */
.orbit-hinten::after, .orbit-vorn::after, .marke-bogen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%) 100% 0 / 320% 100% no-repeat;
  -webkit-mask: var(--form) 0 0 / 100% 100% no-repeat;
  mask: var(--form) 0 0 / 100% 100% no-repeat;
}
.orbit-hinten { --form: url("../assets/logo/bogen-hinten.svg"); }
.orbit-vorn { --form: url("../assets/logo/bogen-vorn.svg"); }
.marke-bogen { --form: url("../assets/logo/pflegepuls-bogen.svg"); }

/* Hero: einzeichnen, dann Herzschlag (oben nach oben, unten nach unten) */
.orbit-hinten { animation: zeichnen 1.5s .15s var(--weich) both, schlag-oben var(--takt) 1.8s ease-out infinite; }
.orbit-vorn { animation: zeichnen 1.5s .45s var(--weich) both, schlag-unten var(--takt) 1.8s ease-out infinite; }
@keyframes schlag-oben {
  0%, 38%, 100% { translate: 0 0; }
  7% { translate: 0 -6px; }
  13% { translate: 0 -1px; }
  20% { translate: 0 -4px; }
}
@keyframes schlag-unten {
  0%, 38%, 100% { translate: 0 0; }
  7% { translate: 0 6px; }
  13% { translate: 0 1px; }
  20% { translate: 0 4px; }
}
/* Lichtpuls läuft einmal rundherum: oben links → rechts, unten rechts → links */
.orbit-hinten::after { animation: glanz-oben calc(var(--takt) * 2) 1.8s linear infinite; }
.orbit-vorn::after { background-position: 0% 0; animation: glanz-unten calc(var(--takt) * 2) 1.8s linear infinite; }
@keyframes glanz-oben {
  0% { background-position: 100% 0; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  42%, 100% { background-position: 0% 0; }
}
@keyframes glanz-unten {
  0%, 48% { background-position: 0% 0; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  90%, 100% { background-position: 100% 0; }
}
.puls-punkt::after { animation: puls var(--takt) 1.8s ease-out infinite; }
@keyframes puls {
  0% { transform: scale(.5); opacity: .9; }
  30%, 100% { transform: scale(1.7); opacity: 0; }
}
.hero .etikett::before, .seitenkopf .etikett::before { animation: zeichnen .9s .1s var(--weich) both; }

/* Logo-Zeichen oben: zeichnet sich ein, glänzt beim Laden und beim Drüberfahren */
.marke-bogen img { animation: zeichnen .9s .15s var(--weich) both; }
.marke-bogen::after { animation: glanz-marke 1.1s .9s ease-in-out both; }
.marke:hover .marke-bogen::after { animation: glanz-marke-nochmal .9s ease-in-out both; }
@keyframes glanz-marke { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@keyframes glanz-marke-nochmal { from { background-position: 100% 0; } to { background-position: 0% 0; } }

/* Swooshes vor Überzeilen und unter Schlüsselwörtern zeichnen sich beim Scrollen ein */
.js .etikett.auf::before { clip-path: inset(0 100% 0 0); transition: clip-path .9s .25s var(--weich); }
.js .etikett.auf.da::before { clip-path: inset(0 0 0 0); }
.js h2.auf .unterstrichen::after { animation: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s .45s var(--weich); }
.js h2.auf.da .unterstrichen::after { clip-path: inset(0 0 0 0); }

/* Ablauf: Lichtpuls wandert über die Kurve, jeder Punkt schlägt aus, wenn er erreicht wird */
.js .bahn.da .bahn-puls { animation: bahn-puls var(--takt) 1.9s linear infinite; }
@keyframes bahn-puls {
  0% { stroke-dashoffset: .045; opacity: 0; }
  4% { opacity: 1; }
  56% { opacity: 1; }
  60%, 100% { stroke-dashoffset: -1; opacity: 0; }
}
.js .bahn.da .schritt-punkt::after { animation: punkt-schlag var(--takt) ease-out infinite; }
.js .bahn.da .schritt:nth-child(1) .schritt-punkt::after { animation-delay: 2.25s; }
.js .bahn.da .schritt:nth-child(2) .schritt-punkt::after { animation-delay: 2.85s; }
.js .bahn.da .schritt:nth-child(3) .schritt-punkt::after { animation-delay: 3.45s; }
.js .bahn-4.da .schritt:nth-child(1) .schritt-punkt::after { animation-delay: 2.16s; }
.js .bahn-4.da .schritt:nth-child(2) .schritt-punkt::after { animation-delay: 2.62s; }
.js .bahn-4.da .schritt:nth-child(3) .schritt-punkt::after { animation-delay: 3.1s; }
.js .bahn-4.da .schritt:nth-child(4) .schritt-punkt::after { animation-delay: 3.56s; }
@keyframes punkt-schlag {
  0% { transform: scale(.55); opacity: .9; }
  32%, 100% { transform: scale(1.5); opacity: 0; }
}

/* Bögen hinter dem Milchglas: einzeichnen beim ersten Sichtkontakt, danach langsam treiben */
.js .deko-bogen { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--weich); }
.js .gesehen .deko-bogen { clip-path: inset(0 0 0 0); }
.deko-bogen { animation: treiben 16s ease-in-out infinite; }
.deko-karriere { animation-duration: 19s; animation-direction: reverse; }
.deko-kontakt { animation-duration: 22s; }
.fuss::before { animation: treiben 26s ease-in-out infinite; }
@keyframes treiben {
  0%, 100% { rotate: 0deg; }
  50% { rotate: 3deg; }
}
/* Auf dem Handy nicht treiben lassen: das Glas müsste jedes Bild neu weichzeichnen */
@media (max-width: 760px), (pointer: coarse) {
  .deko-bogen, .fuss::before { animation: none; }
}

/* Außerhalb des Sichtbereichs anhalten – spart Rechenleistung hinter dem Glas */
.ausser-blick .orbit-hinten, .ausser-blick .orbit-vorn,
.ausser-blick .orbit-hinten::after, .ausser-blick .orbit-vorn::after,
.ausser-blick .puls-punkt::after, .ausser-blick .deko-bogen, .ausser-blick .bahn-puls,
.ausser-blick .schritt-punkt::after, .fuss.ausser-blick::before { animation-play-state: paused; }

/* ==========================================================================
   Unterseiten (Impressum, Datenschutz)
   ========================================================================== */
.rechtsseite { padding: calc(var(--kopf-h) + 14px + 64px) 0 96px; }
.rechtsseite .rechtstext {
  max-width: 820px; margin: 0 auto;
  padding: clamp(24px, 5vw, 56px); border-radius: 28px;
}
.rechtstext h1 { font-size: clamp(2rem, 1.3rem + 2vw, 2.8rem); letter-spacing: -.03em; margin: .8rem 0 1.6rem; }
.rechtstext h2 { font-size: 1.3rem; letter-spacing: -.01em; margin: 2.2rem 0 .6rem; }
.rechtstext h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.rechtstext .entwurf {
  padding: 14px 18px; border-radius: 14px; margin-bottom: 1.6rem;
  background: rgba(2, 156, 220, .08); border: 1px dashed rgba(2, 156, 220, .5); font-size: .92rem;
}

/* ==========================================================================
   Responsiv
   ========================================================================== */
@media (max-width: 1080px) {
  .menue-knopf { display: block; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: var(--glas-filter); backdrop-filter: var(--glas-filter);
    border: 1px solid var(--glas-rand); border-radius: 20px;
    box-shadow: var(--glas-schatten);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.offen { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
}

@media (max-width: 1100px) {
  .hero-raster, .seitenkopf-raster { grid-template-columns: minmax(0, 1fr); }
  .orbit { justify-self: center; max-width: 600px; margin-top: 8px; }
}

/* Vier Schritte werden schon früher senkrecht */
@media (max-width: 1000px) {
  .bahn-4 .bahn-linie { display: none; }
  .bahn-4 .schritte { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bahn-4 .schritte::before {
    content: ""; position: absolute; left: 10px; top: 28px; bottom: 28px; width: 3px;
    background: var(--blau); border-radius: 3px; opacity: .8;
  }
  .bahn-4 .schritt { padding: 0 0 0 44px; }
  .bahn-4 .schritt .schritt-punkt,
  .bahn-4 .schritt:nth-child(n) .schritt-punkt { left: 11.5px; top: 34px; }
}

@media (max-width: 920px) {
  .wege-raster, .aufruf-panel { grid-template-columns: minmax(0, 1fr); }
  .leistungen-raster, .fragen-raster, .kontakt-raster, .karriere-panel, .team-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .leistungen-kopf { position: static; }
  .werte { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .wert { padding: 26px 0; border-left: 0; border-top: 1px solid var(--linie-stark); }
  .wert-icon { margin-bottom: 14px; }
  .deko-leistungen { right: -60%; top: 42%; }
  .deko-kontakt { right: -50%; top: 48%; }
}

@media (max-width: 760px) {
  :root { --kopf-h: 62px; }
  .kopf { top: 10px; }
  .kopf-aktionen .knopf-klein { display: none; }
  .marke-bogen { width: 36px; }
  .marke-schrift { width: 100px; }

  .bahn-linie { display: none; }
  .schritte { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .schritte::before {
    content: ""; position: absolute; left: 10px; top: 28px; bottom: 28px; width: 3px;
    background: var(--blau); border-radius: 3px; opacity: .8;
  }
  .schritt { padding: 0 0 0 44px; }
  .schritt-punkt, .schritt:nth-child(2) .schritt-punkt { left: 11.5px; top: 34px; }

  .anrufleiste {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px;
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45;
    padding: 8px; border-radius: 20px;
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .anrufleiste { visibility: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), visibility .35s; }
  .anrufleiste.sichtbar { transform: none; visibility: visible; }
  .menue-offen .anrufleiste { transform: translateY(140%); visibility: hidden; }
  .anrufleiste .knopf { padding: .85rem 1rem; }
  .fuss { padding-bottom: 112px; }
  html { scroll-padding-bottom: 100px; }
}

@media (max-width: 520px) {
  html { font-size: 106.25%; }       /* 17 px */
  html.gross { font-size: 118.75%; }
  .feld-reihe, .kontakt-daten { grid-template-columns: minmax(0, 1fr); }
  .leistung { grid-template-columns: minmax(0, 1fr); }
  .leistung .marke-kasse { justify-self: start; grid-row: 1; margin: 0 0 4px; }
  .karte-link { font-size: .88rem; }
  .foto-plakette { left: 2%; bottom: -26%; padding: 10px 12px; gap: 10px; max-width: 82%; }
  .seitenkopf .orbit-foto { margin-bottom: 28px; }
  .foto-plakette strong { font-size: .88rem; }
  .foto-plakette span:not(.puls-punkt) { font-size: .74rem; }
  .weg-glas { margin-top: -48px; padding: 20px 20px 18px; }
  .fuss-raster { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .knopf-reihe .knopf { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .auf { opacity: 1; transform: none; }
  .js .bahn-grund { stroke-dashoffset: 0; }
  .js .deko-bogen, .js .etikett.auf::before, .js h2.auf .unterstrichen::after { clip-path: none; }
}

@media print {
  body::before, .kopf, .anrufleiste, .deko-bogen, .orbit-hinten, .orbit-vorn { display: none !important; }
  .glas { background: #fff !important; box-shadow: none !important; border: 1px solid #ccc; }
}

/* ==========================================================================
   Version 2 – Inhalte der früheren MHM-Seite
   ========================================================================== */
h4 { font-family: var(--schrift-titel); color: var(--tinte); margin: 0; }

/* ---------- Navigation mit Untermenüs ---------- */
.nav-punkt { position: relative; display: flex; align-items: center; }
.unter-knopf {
  display: grid; place-items: center; width: 26px; height: 34px; margin-left: -8px; padding: 0;
  color: var(--leise); background: none; border: 0; border-radius: 8px; cursor: pointer;
}
.unter-knopf svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.hat-menue:hover .unter-knopf svg, .hat-menue.offen .unter-knopf svg { transform: rotate(180deg); }
.nav a.gruppe-aktiv { color: var(--blau-tief); }
.untermenue {
  position: absolute; top: calc(100% + 12px); left: -6px; z-index: 5;
  min-width: 240px; display: grid; gap: 2px; padding: 8px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: var(--glas-filter); backdrop-filter: var(--glas-filter);
  border: 1px solid var(--glas-rand); border-radius: 16px; box-shadow: var(--glas-schatten);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.untermenue::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.hat-menue:hover .untermenue, .hat-menue:focus-within .untermenue, .hat-menue.offen .untermenue { opacity: 1; visibility: visible; transform: none; }
.nav .untermenue a { display: block; padding: .6rem .8rem; font-weight: 600; white-space: nowrap; }

/* ---------- Leistungs-Karten ---------- */
.bereiche-raster {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px); margin-top: clamp(28px, 4vw, 48px);
}
.bereiche-klein { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bereich-karte { display: block; color: inherit; text-decoration: none; border-radius: 24px; }
.bereich-karte:hover { color: inherit; }
.bereich-bild { aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; box-shadow: 0 28px 56px -34px rgba(3, 50, 80, .5); }
.bereich-bild img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.bereich-karte:hover .bereich-bild img { transform: scale(1.05); }
.bereich-glas { position: relative; z-index: 1; margin: -52px 14px 0; padding: 18px 20px 16px; border-radius: 18px; }
.bereich-glas h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 1.18rem; margin: 0 0 .3rem; }
.bereich-glas h3 .icon { color: var(--blau-tief); transition: transform .25s; }
.bereich-karte:hover .bereich-glas h3 .icon { transform: translateX(4px); }
.bereich-glas p { margin: 0; font-size: .92rem; line-height: 1.5; }
.bereich-cta {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: clamp(24px, 3vw, 36px); border-radius: 24px; color: inherit; text-decoration: none;
}
.bereich-cta:hover { color: inherit; }
.bereich-cta h3 { font-size: 1.4rem; line-height: 1.25; }
.bereich-cta p { margin: 0; }
.bereich-cta .weg-link .icon { transition: transform .25s; }
.bereich-cta:hover .weg-link .icon { transform: translateX(4px); }

/* ---------- Stärken (vier Spalten) ---------- */
.werte-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.werte-4 .wert { padding-right: 24px; }

/* ---------- Leistungsseiten ---------- */
.bereich-inhalt { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.punkte-panel { padding: clamp(24px, 3.6vw, 44px); border-radius: 28px; }
.punkte-panel .knopf-reihe { margin-top: 1.8rem; }
.check-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-liste li {
  position: relative; padding-left: 2rem; font-weight: 600; color: var(--tinte); line-height: 1.5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23029CDC' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") 0 .2em / 1.15em no-repeat;
}
.hinweis-schlicht {
  margin-top: 1.6rem; padding: 16px 18px; border-radius: 16px;
  background: rgba(2, 156, 220, .07); border: 1px solid rgba(2, 156, 220, .2);
}
.chips-links a { color: inherit; text-decoration: none; }
.chips-links li:hover { border-color: var(--blau); color: var(--blau-tief); }

/* ---------- Foto-Band mit Milchglas darüber ---------- */
.foto-band { position: relative; margin: 0; border-radius: 30px; overflow: hidden; aspect-ratio: 2560 / 750; min-height: 190px; box-shadow: 0 34px 70px -40px rgba(3, 50, 80, .5); }
.foto-band img { display: block; width: 100%; height: 100%; object-fit: cover; }
.band-glas { position: relative; z-index: 1; margin: calc(-1 * clamp(56px, 8vw, 130px)) clamp(12px, 3vw, 48px) 0; }
.band-abschnitt .band-glas { padding: clamp(26px, 4vw, 48px); }

/* ---------- Vorteile in zwei Spalten ---------- */
.vorteile-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.vorteile-2 li:nth-child(2) { padding-top: 0; }
.vorteile-2 li:nth-last-child(2) { border-bottom: 0; padding-bottom: 0; }

/* ---------- Stellenanzeigen ---------- */
.stellen { display: grid; gap: 22px; margin-top: clamp(28px, 4vw, 44px); }
.stelle { padding: clamp(22px, 3.6vw, 44px); border-radius: 28px; scroll-margin-top: 110px; }
.stelle .stelle-titel { font-size: clamp(1.3rem, 1rem + .9vw, 1.75rem); line-height: 1.3; letter-spacing: -.015em; margin: .7rem 0 0; }
.stelle .chips { margin-top: 1rem; }
.stelle-spalten {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px;
  margin: 1.6rem 0 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--linie);
}
.stelle-spalten .stelle-spalte-titel { font: 800 .76rem/1.3 var(--schrift-text); letter-spacing: .12em; text-transform: uppercase; color: var(--blau-tief); margin-bottom: .8rem; }
.stelle-spalten .check-liste li { font-weight: 500; font-size: .96rem; }
.stelle > .knopf-reihe { margin-top: 1.4rem; }
.stelle-spalten + .knopf-reihe { margin-top: 0; }
.stelle-initiativ { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.stelle-initiativ > div { max-width: 640px; }
.stelle-initiativ p:not(.etikett) { margin: .5rem 0 0; }

/* ---------- Formular-Erweiterungen ---------- */
.feld select { width: 100%; }
.feld-reihe-plz { grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); }
.datei-feld input[type="file"] { padding: .55rem; font-size: .9rem; cursor: pointer; }
.datei-feld input[type="file"]::file-selector-button {
  margin-right: .8rem; padding: .5rem .85rem;
  font: 700 .86rem/1.2 var(--schrift-text); color: #fff;
  background: var(--blau-tief); border: 0; border-radius: 9px; cursor: pointer;
}
.anliegen-hinweis {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; font-size: .92rem;
  background: rgba(2, 156, 220, .08); border: 1px solid rgba(2, 156, 220, .22);
}
.formular-hinweis-leise { border-left: 0; padding-left: 0; margin-top: -6px; }
.foto-klein { margin: 1.8rem 0 0; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; box-shadow: 0 28px 56px -34px rgba(3, 50, 80, .5); }
.foto-klein img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kontakt-info .foto-klein + .gross-telefon { margin-top: 1.6rem; }

/* ---------- Schrittliste (Bewerbung) ---------- */
.schritt-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: schritt; }
.schritt-liste li { position: relative; padding-left: 3.1rem; counter-increment: schritt; }
.schritt-liste li::before {
  content: counter(schritt); position: absolute; left: 0; top: -.1rem;
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem;
  font: 700 .95rem/1 var(--schrift-titel); color: var(--blau-tief);
  background: #fff; border: 2px solid rgba(2, 156, 220, .5); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(2, 156, 220, .1);
}
.schritt-liste strong { display: block; font: 600 1.08rem/1.3 var(--schrift-titel); color: var(--tinte); }
.schritt-liste span { font-size: .95rem; color: var(--leise); }

/* ---------- Fuß mit vier Spalten ---------- */
.fuss-raster { grid-template-columns: 1.3fr .9fr .9fr 1.1fr; gap: 36px; }
.fuss .fuss-titel { font: 800 .76rem/1.3 var(--schrift-text); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.fuss-vormals { font-size: .84rem; color: rgba(255, 255, 255, .55); }
.fuss-kontakt p { margin-bottom: 12px; }

/* ---------- Responsiv (Version 2) ---------- */
@media (max-width: 1180px) {
  .werte-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .werte-4 .wert:nth-child(3) { padding-left: 0; border-left: 0; }
  .werte-4 .wert:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .bereiche-klein { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav { max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav-punkt { display: block; }
  .unter-knopf { display: none; }
  .untermenue {
    position: static; min-width: 0; padding: 0 0 6px 14px;
    background: none; border: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    opacity: 1; visibility: inherit; transform: none; transition: none;
  }
  .untermenue::before { display: none; }
  .nav .untermenue a { padding: 10px 16px; font-size: .98rem; color: var(--leise); }
  .fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .bereiche-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bereich-inhalt { grid-template-columns: minmax(0, 1fr); }
  .stelle-spalten { grid-template-columns: minmax(0, 1fr); }
  .vorteile-2 { grid-template-columns: minmax(0, 1fr); }
  .vorteile-2 li:nth-child(2) { padding-top: 15px; }
  .vorteile-2 li:nth-last-child(2) { border-bottom: 1px solid var(--linie); padding-bottom: 15px; }
  .werte-4 .wert:nth-child(n) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .bereiche-raster, .bereiche-klein { grid-template-columns: minmax(0, 1fr); }
  .band-glas { margin: -40px 8px 0; }
  .foto-band { border-radius: 22px; }
}
@media (max-width: 520px) {
  .feld-reihe-plz { grid-template-columns: minmax(0, 1fr); }
  .fuss-raster { grid-template-columns: minmax(0, 1fr); }
}
.feld.fehler select, .feld.fehler textarea { border-color: #C23B3B; box-shadow: 0 0 0 4px rgba(194, 59, 59, .12); }
.anliegen.fehler span { border-color: #C23B3B; }
.anliegen.fehler legend { color: #A32C2C; }
/* Vorteile-Panel mit zwei Spalten braucht rechts mehr Platz */
.karriere-panel.band-glas { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
@media (max-width: 920px) { .karriere-panel.band-glas { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Korrekturen nach der Prüfung (Version 2)
   ========================================================================== */
/* #7/#25: Menü erst ab 1180 px zeigen, sonst Burger – Breakpoints stehen oben bei 1080 px */
@media (min-width: 1081px) and (max-width: 1180px) {
  .menue-knopf { display: block; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    max-height: calc(100vh - 110px); overflow-y: auto;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: var(--glas-filter); backdrop-filter: var(--glas-filter);
    border: 1px solid var(--glas-rand); border-radius: 20px; box-shadow: var(--glas-schatten);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.offen { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-punkt { display: block; }
  .unter-knopf { display: none; }
  .untermenue {
    position: static; min-width: 0; padding: 0 0 6px 14px; background: none; border: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; visibility: inherit; transform: none; transition: none;
  }
  .untermenue::before { display: none; }
  .nav .untermenue a { padding: 10px 16px; font-size: .98rem; color: var(--leise); }
}
/* A+ am Desktop: Menüschrift nicht mitwachsen lassen, damit es einzeilig bleibt */
@media (min-width: 1181px) { html.gross .nav a { font-size: 16.2px; padding: .5rem .55rem; } }

/* #17: Untermenüs im geschlossenen Handy-Menü nie sichtbar/fokussierbar */
@media (max-width: 1180px) { .nav:not(.offen) .untermenue { visibility: hidden; } }

/* #21: Escape schließt das Desktop-Untermenü auch bei Hover/Fokus */
.hat-menue.zu .untermenue { opacity: 0 !important; visibility: hidden !important; transform: translateY(-6px) !important; }

/* #4: Foto-Band auf dem Handy nicht breiter als der Rahmen */
@media (max-width: 720px) { .foto-band { aspect-ratio: auto; min-height: 0; height: clamp(190px, 34vw, 240px); } }

/* #6: Rechtstexte auf dem Handy */
@media (max-width: 520px) { .rechtstext h1 { font-size: 1.75rem; } .rechtstext h2 { font-size: 1.15rem; } }

/* #8: Stärken auf schmalen Bildschirmen einspaltig */
@media (max-width: 920px) {
  .werte-4 { grid-template-columns: minmax(0, 1fr); }
  .werte-4 .wert { padding-right: 0; border-top: 1px solid var(--linie-stark); }
}

/* #10: Titel in den Leistungskarten umbrechen, Pfeil bleibt in der Karte */
.bereich-glas h3 span { min-width: 0; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.bereiche-klein .bereich-glas h3 { font-size: 1.02rem; }

/* #11: Überzeilen auf Glas über Fotos besser lesbar */
.weg-glas, .band-glas { background: rgba(255, 255, 255, .8); }
.weg-glas .etikett, .band-glas .etikett, .bereich-glas .etikett { color: #045C8C; }

/* #12: Gesichter im Foto „Ambulante Pflege“ über der Glaskarte halten */
/* Das Foto ist breiter als die Karte – ein leichter Zoom von unten hebt die Gesichter über die Glaskarte */
.bereich-bild img[src*="ambulante-pflege"] { transform-origin: 35% 100%; transform: scale(1.3); }
.bereich-karte:hover .bereich-bild img[src*="ambulante-pflege"] { transform: scale(1.36); }

/* #14: Spitze des Deko-Bogens hinter der Karte verstecken (Leistungsseiten) */
@media (min-width: 921px) { .bereich-details .deko-leistungen { right: calc(50% - 1238px); top: 8%; } }

/* Formulare: Bewerbungsfelder untereinander (#9), Datenschutz-Hinweis */
.feld-reihe-breit { grid-template-columns: minmax(0, 1fr); }
.formular-datenschutz { border-left: 0; padding-left: 0; margin-bottom: 18px; }
.formular-status:focus { outline: none; }

/* ==========================================================================
   Nachkontrolle (Version 2)
   ========================================================================== */
/* N1/N5: Unterstrich-Bogen auf dem Handy immer so breit wie das Wort */
@media (max-width: 760px) { .unterstrichen { display: inline-block; max-width: 100%; } }
/* N4: Rechtsseiten-Überschrift mit engem Zeilenabstand */
.rechtstext h1 { line-height: 1.15; }
/* P3: Karten einer Reihe gleich hoch */
.bereich-karte { display: flex; flex-direction: column; }
.bereich-karte .bereich-glas { flex: 1; }
/* P2: Auswahlfelder auf dem Handy etwas kleiner */
@media (max-width: 520px) { .feld select { font-size: .94rem; } }
/* P2: sehr kleine Handys (320 px) – Auswahltexte passen ins Feld */
@media (max-width: 380px) { .feld select { font-size: .86rem; padding-left: .8rem; padding-right: 2.1rem; background-position: right .7rem center; } }
