/* =========================================================================
   Curacor GmbH – Designsystem „Lotus & Salbei“
   Idee: das Violett aus dem Logo (Lotus mit Herz), dazu ein ruhiges Salbeigrün
   und warmes Papierweiß. Freundlich, ruhig, vertrauenswürdig.
   Alle Farben, Schriften und Abstände stehen hier oben als Variablen.
   Grundsätze: Bewegung nur über opacity/transform, keine Weichzeichner,
   nichts wird beim Scrollen gemessen, „Bewegung reduzieren“ wird beachtet.
   ========================================================================= */

@font-face {
  font-family: "Jakarta";
  src: url("/fonts/plus-jakarta-sans-variabel.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: optional;
}

:root {
  /* Farben */
  --violett: #69328b;        /* Logo-Violett (aus dem Original gemessen) */
  --violett-tief: #3d1c55;
  --violett-hell: #cdb1e3;   /* Akzent auf Dunkel */
  --flieder: #efe6f5;        /* zarte Fläche */
  --flieder-2: #e4d6ee;
  --nacht: #1d1427;          /* fast schwarzes Aubergine */
  --pflaume: #2b2035;
  --pflaume-2: #4a3d56;
  --grau: #8f8699;
  --salbei: #2e6a59;         /* Knöpfe/Links auf Hell, Kontrast 6:1 zu Weiß */
  --salbei-tief: #1f4c40;
  --salbei-hell: #9fd3bd;    /* Akzent auf Dunkel */
  --salbei-zart: #e3efe9;
  --papier: #f8f6f3;
  --papier-2: #f0ebf3;
  --weiss: #ffffff;
  --linie: #e3dce7;
  --linie-dunkel: rgba(255, 255, 255, .14);
  --text: #1d1724;
  --text-2: #554d5e;
  --text-hell: #efeaf4;
  --text-hell-2: #c3b9cd;
  --gruen: #2e6a59;

  /* Schrift */
  --schrift: "Jakarta", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Maße */
  --breite: 1240px;
  --rand: clamp(1.1rem, 4vw, 2.5rem);
  --abstand: clamp(4.25rem, 9vw, 8.5rem);
  --rund: 16px;
  --rund-gross: 26px;
  --kopf-h: 64px;
  --schatten: 0 1px 2px rgba(29, 20, 39, .06), 0 10px 30px -12px rgba(29, 20, 39, .2);
  --schatten-gross: 0 30px 80px -30px rgba(29, 20, 39, .42);
  --weich: cubic-bezier(.22, .8, .24, 1);

  /* Ruhige Atemwellen als Muster (dunkle und helle Flächen) */
  --muster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.3'%3E%3Cpath d='M0 12c15 0 15-8 30-8s15 8 30 8 15-8 30-8 15 8 30 8'/%3E%3Cpath d='M0 32c15 0 15-8 30-8s15 8 30 8 15-8 30-8 15 8 30 8'/%3E%3C/g%3E%3C/svg%3E");
  --muster-hell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cg fill='none' stroke='%2369328b' stroke-opacity='.06' stroke-width='1.3'%3E%3Cpath d='M0 12c15 0 15-8 30-8s15 8 30 8 15-8 30-8 15 8 30 8'/%3E%3Cpath d='M0 32c15 0 15-8 30-8s15 8 30 8 15-8 30-8 15 8 30 8'/%3E%3C/g%3E%3C/svg%3E");
}
@media (min-width: 1180px) { :root { --kopf-h: 76px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 16px); }
body {
  margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; color: var(--text);
  background: var(--papier); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { display: block; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
.hero__foto picture, .karte__bild picture, .seitenkopf__bild picture, .foto picture, .schluss picture, .duo__bild > picture:first-child, .wg__bild picture { width: 100%; height: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.38rem); letter-spacing: -.015em; line-height: 1.25; }
h2 em, h1 em { font-style: normal; color: var(--violett); }
.dunkel h2 em, .team h2 em, .weg h2 em, .seitenkopf h1 em, .schluss h2 em { color: var(--violett-hell); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violett); outline-offset: 3px; border-radius: 6px; }
.dunkel :focus-visible, .team :focus-visible, .weg :focus-visible, .fuss :focus-visible, .seitenkopf :focus-visible { outline-color: var(--salbei-hell); }
::selection { background: var(--flieder-2); color: var(--nacht); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--nacht); color: #fff; padding: .7rem 1rem; border-radius: 10px; }
.sprung:focus { top: 1rem; }
.huelle { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.huelle--schmal { max-width: calc(820px + 2 * var(--rand)); }
.nowrap { white-space: nowrap; }

/* Kleine Überzeile mit Lotus-Punkt */
.marke {
  display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.1rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--salbei);
}
.marke::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.dunkel .marke, .marke--hell, .weg .marke, .team .marke, .seitenkopf .marke, .aufruf .marke, .schluss .marke { color: var(--salbei-hell); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.26rem); line-height: 1.6; color: var(--text-2); max-width: 46rem; }
.dunkel .lead, .weg .lead, .team .lead { color: var(--text-hell-2); }

/* ---------- Knöpfe (gleitende Füllung) ---------- */
.knopf {
  --k-grund: var(--salbei); --k-text: #fff; --k-fuell: var(--violett-tief); --k-text-h: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.5rem; border: 0; border-radius: 999px;
  background: var(--k-grund); color: var(--k-text); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: color .35s var(--weich), box-shadow .35s var(--weich);
  box-shadow: 0 8px 22px -10px rgba(46, 106, 89, .65);
}
.knopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--k-fuell);
  transform: translateX(-101%); transition: transform .45s var(--weich);
}
.knopf:hover::before, .knopf:focus-visible::before { transform: none; }
.knopf:hover, .knopf:focus-visible { color: var(--k-text-h); }
.knopf svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .35s var(--weich); }
.knopf:hover svg.pfeil { transform: translateX(4px); }
.knopf--hell { --k-grund: #fff; --k-text: var(--nacht); --k-fuell: var(--salbei); --k-text-h: #fff; box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .45); }
.knopf--rand { --k-grund: transparent; --k-text: var(--violett-tief); --k-fuell: var(--violett); --k-text-h: #fff; box-shadow: inset 0 0 0 2px var(--violett); }
.dunkel .knopf--rand, .knopf--rand-hell { --k-text: #fff; --k-fuell: #fff; --k-text-h: var(--nacht); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.knopf--violett { --k-grund: var(--violett); --k-fuell: var(--salbei); box-shadow: 0 8px 22px -10px rgba(105, 50, 139, .6); }
.knopf--klein { min-height: 44px; padding: .6rem 1.1rem; font-size: .94rem; }
.knopf--breit { width: 100%; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.textlink { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--salbei); text-decoration: none; }
.textlink svg { width: 1.1em; height: 1.1em; transition: transform .3s var(--weich); }
.textlink:hover svg { transform: translateX(4px); }
.dunkel .textlink, .team .textlink, .weg .textlink { color: var(--salbei-hell); }

/* ---------- Logo (nachgezeichnete Lotus-Figur als SVG) ---------- */
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--violett); flex: none; }
.logo__figur { width: 46px; height: 41px; flex: none; fill: none; stroke: currentColor; stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-weight: 800; font-size: 1.32rem; letter-spacing: .14em; color: #5e5a61; }
.logo__zusatz { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violett); margin-top: .34rem; }
@media (min-width: 1180px) { .logo__figur { width: 52px; height: 46px; } .logo__name { font-size: 1.46rem; } .logo__zusatz { font-size: .66rem; } }
@media (max-width: 400px) { .kopf__innen { gap: .5rem; } .logo { gap: .45rem; } .logo__figur { width: 38px; height: 34px; } .logo__name { font-size: 1.14rem; letter-spacing: .1em; } .logo__zusatz { font-size: .54rem; letter-spacing: .1em; } .kopf__aktion { gap: .4rem; } }

/* ---------- Kopfleiste ---------- */
.kopf {
  position: sticky; top: 0; z-index: 90; height: var(--kopf-h);
  background: #fff; border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.kopf.unterwegs { border-color: var(--linie); box-shadow: 0 6px 24px -18px rgba(29, 20, 39, .5); }
.kopf::after { /* Lesefortschritt in Violett */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--violett), var(--salbei));
  transform-origin: left; transform: scaleX(var(--lauf, 0));
}
.kopf__innen { display: flex; align-items: center; gap: 1rem; height: 100%; }
.menue { display: none; }
.kopf__aktion { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.kopf__tel {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--violett); background: var(--papier-2); text-decoration: none;
}
.kopf__tel svg { width: 20px; height: 20px; }
.kopf__tel-text { display: none; }
.kopf__cta { display: none; white-space: nowrap; }
.kopf__burger {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--violett); color: #fff; cursor: pointer;
}
.kopf__burger span, .kopf__burger span::before, .kopf__burger span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--weich), opacity .2s;
}
.kopf__burger span::before, .kopf__burger span::after { content: ""; position: absolute; left: 0; }
.kopf__burger span::before { top: -6px; } .kopf__burger span::after { top: 6px; }
.kopf__burger[aria-expanded="true"] span { background: transparent; }
.kopf__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.kopf__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 640px) { .kopf__cta { display: inline-flex; } }
@media (min-width: 1180px) {
  .menue { display: flex; align-items: center; gap: .1rem; list-style: none; margin-left: 1.4rem; }
  .menue > li { position: relative; }
  .menue > li > a {
    display: inline-flex; align-items: center; gap: .35rem; height: var(--kopf-h); padding: 0 .68rem;
    font-weight: 600; font-size: .96rem; text-decoration: none; color: var(--pflaume); position: relative; white-space: nowrap;
  }
  .menue > li > a::after {
    content: ""; position: absolute; left: .68rem; right: .68rem; bottom: 18px; height: 2px; background: var(--violett);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--weich);
  }
  .menue > li > a:hover::after, .menue > li > a[aria-current="page"]::after, .menue > li.hat-unter:focus-within > a::after { transform: none; }
  .menue > li > a[aria-current="page"] { color: var(--violett); }
  .menue .pfeilchen { width: 12px; height: 12px; transition: transform .3s; }
  .menue .hat-unter:hover .pfeilchen, .menue .hat-unter:focus-within .pfeilchen { transform: rotate(180deg); }
  .menue__punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--salbei); animation: puls 2.2s infinite; }
  .unter {
    position: absolute; left: -1rem; top: calc(var(--kopf-h) - 8px); width: 580px; padding: 1rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; list-style: none;
    background: #fff; border-radius: var(--rund-gross); box-shadow: var(--schatten-gross); border: 1px solid var(--linie);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--weich), visibility 0s .3s;
  }
  .unter--schmal { width: 320px; grid-template-columns: 1fr; }
  .hat-unter:hover .unter, .hat-unter:focus-within .unter { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .unter a { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem .8rem; border-radius: 12px; text-decoration: none; transition: background .2s; }
  .unter a:hover, .unter a:focus-visible { background: var(--papier); }
  .unter b { display: block; font-size: .97rem; color: var(--text); }
  .unter small { display: block; font-size: .84rem; color: var(--text-2); line-height: 1.4; }
  .unter__symbol { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--flieder); color: var(--violett); }
  .unter__symbol svg { width: 20px; height: 20px; }
  .unter__alle { grid-column: 1 / -1; border-top: 1px solid var(--linie); margin-top: .35rem; padding-top: .35rem; }
  .unter__alle a { font-weight: 700; color: var(--salbei); align-items: center; }
  .unter__alle svg { width: 18px; height: 18px; }
  .kopf__burger { display: none; }
  .kopf__tel { width: auto; padding: 0 .9rem 0 .75rem; gap: .5rem; display: inline-flex; border-radius: 999px; font-weight: 700; font-size: .95rem; height: 44px; align-items: center; }
  .kopf__tel-text { display: inline; white-space: nowrap; }
}
@media (min-width: 1180px) and (max-width: 1360px) { .kopf__tel-text { display: none; } .kopf__tel { padding: 0; width: 44px; justify-content: center; } }

/* Mobilmenü */
.mobil {
  position: fixed; inset: var(--kopf-h) 0 0 0; z-index: 85; background: var(--papier);
  overflow-y: auto; overscroll-behavior: contain; padding: 1.2rem var(--rand) 2.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--weich), visibility 0s .3s;
}
.mobil.offen { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobil ul { list-style: none; }
.mobil > nav > ul > li > a {
  display: flex; align-items: center; justify-content: space-between; padding: .95rem 0; border-bottom: 1px solid var(--linie);
  font-size: 1.3rem; font-weight: 700; text-decoration: none; letter-spacing: -.01em;
}
.mobil a[aria-current="page"] { color: var(--violett); }
.mobil__unter { padding: .3rem 0 .6rem .2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .8rem; border-bottom: 1px solid var(--linie); }
.mobil__unter a { display: block; padding: .55rem 0; font-weight: 600; color: var(--text-2); text-decoration: none; font-size: 1rem; }
.mobil__marke { font-size: .75rem; font-weight: 700; color: #fff; background: var(--salbei); padding: .25rem .55rem; border-radius: 999px; letter-spacing: .04em; }
.mobil__aktion { display: grid; gap: .7rem; margin-top: 1.6rem; }
@media (min-width: 1180px) { .mobil { display: none; } }

@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(159, 211, 189, .7); } 70% { box-shadow: 0 0 0 9px rgba(159, 211, 189, 0); } 100% { box-shadow: 0 0 0 0 rgba(159, 211, 189, 0); } }

/* ---------- Kopfbereich Startseite (hell, Foto rechts) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 55% at 92% 8%, rgba(205, 177, 227, .5), transparent 70%),
    radial-gradient(50% 45% at 0% 100%, rgba(159, 211, 189, .35), transparent 70%),
    var(--papier);
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--muster-hell); opacity: .9; }
.hero__raster { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .hero__raster { grid-template-columns: 1.08fr .92fr; } .hero { padding-block: clamp(3.5rem, 7vh, 6rem); min-height: min(calc(100svh - var(--kopf-h)), 860px); display: flex; align-items: center; } .hero > .huelle { width: 100%; } }
.hero__inhalt { position: relative; z-index: 1; min-width: 0; }
.hero__stelle {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem; padding: .45rem .95rem .45rem .7rem; max-width: 100%;
  border-radius: 999px; background: #fff; border: 1px solid var(--linie); box-shadow: var(--schatten);
  color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 600; transition: border-color .25s;
}
.hero__stelle:hover { border-color: var(--salbei); }
.hero__stelle b { color: var(--salbei); }
.hero__stelle i { width: 9px; height: 9px; border-radius: 50%; background: var(--salbei); animation: puls 2.2s infinite; flex: none; }
.hero__titel { font-size: clamp(1.9rem, 10.2vw, 4.5rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 1.3rem; color: var(--nacht); }
@media (min-width: 1000px) { .hero__titel { font-size: clamp(3.2rem, 4.75vw, 4.6rem); } }
.hero__titel .zeile { display: block; white-space: nowrap; }
.hero__titel .zeile--violett { color: var(--violett); }
.wechsel { display: block; white-space: nowrap; }
.wechsel__kasten {
  display: inline-block; vertical-align: bottom; margin-left: .06em; padding: .02em .24em .08em; border-radius: .16em;
  background: var(--violett); color: #fff; transition: width .45s var(--weich); overflow: hidden; white-space: nowrap;
}
.wechsel__wort { display: inline-block; }
.wechsel__wort.raus { animation: wortRaus .34s var(--weich) both; }
.wechsel__wort.rein { animation: wortRein .45s var(--weich) both; }
@keyframes wortRaus { to { opacity: 0; transform: translateY(-60%); } }
@keyframes wortRein { from { opacity: 0; transform: translateY(60%); } to { opacity: 1; transform: none; } }
.hero__text { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--text-2); max-width: 35rem; margin-bottom: 1.8rem; }
.hero__vertrauen { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; margin-top: 1.9rem; list-style: none; font-size: .92rem; color: var(--text-2); font-weight: 600; }
.hero__vertrauen li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__vertrauen svg { width: 18px; height: 18px; color: var(--violett); }
.js .hero .auf { animation: auf .8s var(--weich) both; animation-delay: calc(.12s + var(--v, 0s)); }
@keyframes auf { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero__foto { position: relative; min-width: 0; }
.hero__rahmen { position: relative; border-radius: 200px 200px var(--rund-gross) var(--rund-gross); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--schatten-gross); background: var(--flieder); }
@media (min-width: 1000px) { .hero__rahmen { aspect-ratio: 4 / 4.6; border-radius: 999px 999px var(--rund-gross) var(--rund-gross); } }
.hero__rahmen img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__vorhang { position: absolute; inset: 0; background: var(--violett); transform-origin: top; transform: scaleY(0); z-index: 1; }
.js .hero__vorhang { animation: vorhang .9s .1s var(--weich) both; }
@keyframes vorhang { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.js .hero__rahmen img { animation: bildEin 1.2s .1s var(--weich) both; }
@keyframes bildEin { from { transform: scale(1.07); } to { transform: none; } }
.hero__lotus { position: absolute; z-index: -1; width: 64%; left: -24%; top: -9%; color: var(--violett); opacity: .2; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
@media (max-width: 999px) { .hero__lotus { display: none; } }
.hero__lotus path, .hero__lotus circle { stroke-dasharray: 400; stroke-dashoffset: 0; }
.js .hero__lotus path, .js .hero__lotus circle { animation: zeichnen 2.4s .5s var(--weich) both; }
@keyframes zeichnen { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
.hero__karte {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .75rem; background: #fff; border-radius: 18px; padding: .75rem 1rem .75rem .8rem;
  box-shadow: var(--schatten-gross); font-size: .86rem; line-height: 1.3; color: var(--text-2); max-width: 15.5rem;
}
.hero__karte b { display: block; color: var(--text); font-size: .98rem; }
.hero__karte svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--flieder); color: var(--violett); }
.hero__karte--1 { left: -.5rem; bottom: 1.2rem; }
.hero__karte--2 { right: -.5rem; top: 14%; }
.hero__karte--2 svg { background: var(--salbei-zart); color: var(--salbei); }
.js .hero__karte { animation: auf .8s var(--weich) both; animation-delay: calc(.7s + var(--v, 0s)); }
@media (max-width: 520px) { .hero__karte { font-size: .8rem; padding: .6rem .8rem .6rem .6rem; max-width: 13rem; } .hero__karte b { font-size: .9rem; } .hero__karte svg { width: 34px; height: 34px; padding: 7px; } .hero__karte--2 { top: auto; bottom: 7.9rem; right: -.3rem; } .hero__karte--1 { left: -.3rem; bottom: .9rem; } }
@media (min-width: 1000px) { .hero__karte--1 { left: -2.2rem; bottom: 2.4rem; } .hero__karte--2 { right: -1.4rem; top: 16%; } }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abstand); position: relative; }
.abschnitt--weiss { background: var(--weiss); }
.abschnitt--flieder { background: var(--flieder); }
.abschnitt--knapp { padding-block: clamp(3rem, 6vw, 5rem); }
.dunkel { background: var(--nacht); color: var(--text-hell); }
.dunkel h2, .dunkel h3 { color: #fff; }
.muster { background-image: var(--muster); }
.muster-hell { background-image: var(--muster-hell); }
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.2rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.kopfzeile > div { max-width: 46rem; }
.kopfzeile h2 { margin-bottom: .35em; }
.kopfzeile p { margin: 0; }

/* Einblenden */
.js .ein { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--weich), transform .8s var(--weich); transition-delay: var(--v, 0s); }
.js .ein.da { opacity: 1; transform: none; }
.js .ein-liste > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--weich), transform .7s var(--weich); }
.js .ein-liste.da > * { opacity: 1; transform: none; }
.js .ein-liste.da > *:nth-child(2) { transition-delay: .07s; } .js .ein-liste.da > *:nth-child(3) { transition-delay: .14s; }
.js .ein-liste.da > *:nth-child(4) { transition-delay: .21s; } .js .ein-liste.da > *:nth-child(5) { transition-delay: .28s; }
.js .ein-liste.da > *:nth-child(6) { transition-delay: .35s; } .js .ein-liste.da > *:nth-child(n+7) { transition-delay: .42s; }

/* ---------- Bewegter Abschnitt: Von der Klinik nach Hause (Schritte per Knopf) ---------- */
.weg { background: var(--nacht); color: var(--text-hell); background-image: var(--muster); }
.weg h2 { color: #fff; }
.weg__karte { display: grid; border: 1px solid var(--linie-dunkel); border-radius: var(--rund-gross); overflow: hidden; background: #241a30; box-shadow: var(--schatten-gross); }
@media (min-width: 980px) { .weg__karte { grid-template-columns: 1.4fr 1fr; } }
.weg__buehne { position: relative; background: #1b1325; overflow: hidden; }
.weg__svg { width: 100%; height: auto; }
.weg__chip {
  position: absolute; left: .9rem; top: .9rem; z-index: 1; display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .8rem .4rem .45rem; border-radius: 999px; background: rgba(29, 20, 39, .84); border: 1px solid rgba(159, 211, 189, .5);
  color: #fff; font-size: .85rem; font-weight: 700;
}
.weg__chip b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--salbei-hell); color: var(--nacht); font-size: .78rem; }
.weg__panel { display: flex; flex-direction: column; gap: 1.3rem; padding: clamp(1.2rem, 3vw, 2.2rem); }
.weg__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.weg__tab {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: .4rem; min-height: 76px;
  padding: .7rem .3rem .65rem; border-radius: 14px; border: 1px solid var(--linie-dunkel); background: rgba(255, 255, 255, .04);
  color: var(--text-hell-2); font-weight: 700; font-size: .8rem; line-height: 1.15; text-align: center; cursor: pointer;
  hyphens: manual; transition: background .25s, border-color .25s, color .25s;
}
.weg__tab:hover { border-color: rgba(159, 211, 189, .5); color: #fff; }
.weg__nr { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .09); color: #fff; font-size: .88rem; transition: background .25s, color .25s; }
.weg__tab.erledigt .weg__nr { background: rgba(159, 211, 189, .28); }
.weg__tab[aria-selected="true"] { background: rgba(159, 211, 189, .12); border-color: var(--salbei-hell); color: #fff; }
.weg__tab[aria-selected="true"] .weg__nr { background: var(--salbei-hell); color: var(--nacht); }
.weg__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--salbei-hell); transform-origin: left; transform: scaleX(0); }
.weg.laeuft .weg__tab[aria-selected="true"]::after { animation: wegLauf var(--weg-takt, 3.6s) linear forwards; }
@keyframes wegLauf { to { transform: scaleX(1); } }
.weg__texte { min-height: 10rem; }
.weg__text small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--salbei-hell); margin-bottom: .45rem; }
.weg__text h3 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); margin-bottom: .55rem; color: #fff; }
.weg__text p { margin: 0; color: var(--text-hell-2); }
.js .weg__text:not([hidden]) { animation: schrittEin .45s var(--weich) both; }
.weg__nav { display: flex; align-items: center; gap: .6rem; margin-top: auto; flex-wrap: wrap; }
.weg__pfeil {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 48px; height: 48px; padding: 0 .9rem;
  border-radius: 999px; border: 1px solid var(--linie-dunkel); background: rgba(255, 255, 255, .05); color: #fff; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s;
}
.weg__pfeil svg { width: 20px; height: 20px; }
.weg__pfeil:hover { border-color: var(--salbei-hell); }
.weg__vor { background: var(--salbei); border-color: var(--salbei); padding: 0 1rem 0 1.2rem; }
.weg__vor:hover { background: #378069; }
.weg__pfeil:disabled { opacity: .35; cursor: default; }
.weg__link { margin-left: auto; }
@media (max-width: 420px) { .weg__tab { font-size: .72rem; min-height: 70px; } .weg__link { margin-left: 0; width: 100%; } }
/* Zeichnung: Schichten je Schritt */
.weg .ph { opacity: 0; transition: opacity .6s var(--weich), transform .6s var(--weich); }
.weg .ph-1 { transform: translateY(8px); }
.weg .ph-3 { transform: translateY(14px); }
.weg .ph-4 { transform: translateY(-6px); }
.weg .geist { transition: opacity .6s var(--weich); }
.weg[data-stufe="1"] .ph-1, .weg[data-stufe="2"] .ph-1, .weg[data-stufe="3"] .ph-1, .weg[data-stufe="4"] .ph-1 { opacity: 1; transform: none; }
.weg[data-stufe="2"] .ph-2, .weg[data-stufe="3"] .ph-2, .weg[data-stufe="4"] .ph-2 { opacity: 1; }
.weg[data-stufe="3"] .ph-3, .weg[data-stufe="4"] .ph-3 { opacity: 1; transform: none; }
.weg[data-stufe="4"] .ph-4 { opacity: 1; transform: none; }
.weg[data-stufe="3"] .geist, .weg[data-stufe="4"] .geist { opacity: 0; }
.weg .spur circle { opacity: 0; transition: opacity .35s var(--weich); transition-delay: calc(var(--i) * 90ms); }
.weg[data-stufe="2"] .spur circle, .weg[data-stufe="3"] .spur circle, .weg[data-stufe="4"] .spur circle { opacity: 1; }
.weg .fenster { opacity: .12; transition: opacity .5s var(--weich); transition-delay: calc(var(--i) * 110ms + .35s); }
.weg[data-stufe="3"] .fenster, .weg[data-stufe="4"] .fenster { opacity: 1; }
.weg__punkt { opacity: 0; transition: opacity .4s; }
.weg__punkt circle { fill: var(--salbei-hell); }
.weg__punkt circle:first-child { fill: none; stroke: var(--salbei-hell); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: punktPuls 1.8s ease-out infinite; }
.weg[data-stufe="1"] .p-1, .weg[data-stufe="2"] .p-2, .weg[data-stufe="3"] .p-3, .weg[data-stufe="4"] .p-4 { opacity: 1; }
@keyframes punktPuls { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.weg .welle { transform-box: view-box; }
.weg.atmet .welle { animation: welle 4.5s linear infinite; }
@keyframes welle { to { transform: translateX(-120px); } }
.weg .herz { transform-box: fill-box; transform-origin: center; }
.weg.atmet .herz { animation: herzAtem 4.5s ease-in-out infinite; }
@keyframes herzAtem { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .weg__punkt circle:first-child { animation: none; opacity: .6; } }
@media (max-width: 600px) { .weg__svg { width: 116%; max-width: none; margin: 0 0 -2% -8%; } }

/* ---------- Leistungen (Karten) ---------- */
.karten { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; }
@media (min-width: 640px) { .karten { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .karten--vier { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; } .karten--drei { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.karte {
  position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--rund-gross);
  overflow: hidden; text-decoration: none; border: 1px solid var(--linie); transition: transform .45s var(--weich), box-shadow .45s var(--weich), border-color .3s;
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten-gross); border-color: transparent; }
.karte__bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--flieder); position: relative; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--weich); }
.karte:hover .karte__bild img { transform: scale(1.04); }
.karte__bild--grafik { display: grid; place-items: center; background: var(--violett) var(--muster); color: rgba(255, 255, 255, .92); }
.karte__bild--grafik svg { width: 76px; height: 76px; }
.karte__bild--salbei { background-color: var(--salbei); }
.karte__nr { position: absolute; top: .9rem; left: .9rem; background: rgba(29, 20, 39, .72); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .12em; padding: .3rem .6rem; border-radius: 999px; }
.karte__text { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.karte__text h3 { margin-bottom: .45rem; }
.karte__text p { color: var(--text-2); font-size: .98rem; margin-bottom: 1rem; }
.karte__text .textlink { margin-top: auto; }

/* ---------- Bild + Text ---------- */
.duo { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } .duo--umgekehrt > :first-child { order: 2; } }
.duo__bild { position: relative; margin: 0; }
.duo__bild > picture, .duo__bild > img { border-radius: var(--rund-gross); overflow: hidden; box-shadow: var(--schatten-gross); }
.duo__bild img { width: 100%; height: 100%; object-fit: cover; }
.duo__bild--bogen { border-radius: 999px 999px var(--rund-gross) var(--rund-gross); aspect-ratio: 4 / 4.4; overflow: hidden; box-shadow: var(--schatten-gross); background: var(--flieder); }
.duo__bild--bogen > picture { border-radius: 0; box-shadow: none; height: 100%; }
.duo__klein { position: absolute; width: 40%; right: -3%; bottom: -7%; border-radius: var(--rund) !important; border: 6px solid var(--papier); box-shadow: var(--schatten-gross); overflow: hidden; }
.abschnitt--weiss .duo__klein { border-color: #fff; }
.duo__bild figcaption { margin-top: .8rem; font-size: .86rem; color: var(--text-2); }
.haken { list-style: none; display: grid; gap: .75rem; margin: 1.4rem 0 1.8rem; }
.haken li { display: flex; gap: .75rem; align-items: flex-start; }
.haken li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .18em; border-radius: 50%; background: var(--salbei) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.dunkel .haken li::before, .team .haken li::before { background-color: #3f8a74; }

/* Zitat */
.zitat { margin: 1.6rem 0 0; padding: 1.3rem 1.4rem 1.3rem 1.5rem; border-left: 4px solid var(--violett); background: #fff; border-radius: 0 var(--rund) var(--rund) 0; font-weight: 700; font-size: 1.12rem; line-height: 1.45; color: var(--violett-tief); }
.zitat small { display: block; margin-top: .4rem; font-weight: 600; font-size: .85rem; color: var(--text-2); }

/* Drei Werte */
.werte { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 760px) { .werte { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.wert { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 1.6rem 1.5rem; position: relative; overflow: hidden; }
.wert b { display: block; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.03em; color: var(--violett); margin-bottom: .35rem; line-height: 1.1; }
.wert p { margin: 0; color: var(--text-2); font-size: .98rem; }
.wert::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--flieder); z-index: 0; }
.wert > * { position: relative; z-index: 1; }

/* Chips (z. B. Krankheitsbilder) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--linie); font-size: .93rem; font-weight: 600; }
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violett); flex: none; }
.seitenkopf .chips { margin-top: 1.6rem; }
.seitenkopf .chips li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.seitenkopf .chips li::before { background: var(--salbei-hell); }

/* ---------- Wohngemeinschaften ---------- */
.wgs { display: grid; gap: 1.2rem; list-style: none; }
@media (min-width: 860px) { .wgs { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.wg { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); overflow: hidden; }
@media (min-width: 520px) { .wg { grid-template-columns: 38% 1fr; } }
.wg__bild { background: var(--flieder); min-height: 220px; }
.wg__bild img { width: 100%; height: 100%; object-fit: cover; }
.wg__text { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; }
.wg__nr { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violett); }
.wg h3 { margin: .35rem 0 .6rem; font-size: 1.4rem; }
.wg__daten { list-style: none; display: grid; gap: .45rem; margin: 0 0 1.2rem; font-size: .97rem; color: var(--text-2); }
.wg__daten li { display: flex; gap: .6rem; align-items: flex-start; }
.wg__daten svg { flex: none; width: 20px; height: 20px; margin-top: .15em; color: var(--salbei); }
.wg__daten a { color: var(--text); font-weight: 700; text-decoration: none; }
.wg .textlink { margin-top: auto; }
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; list-style: none; }
.collage li:nth-child(2) { transform: translateY(1.6rem); }
.collage .foto { aspect-ratio: 2 / 3; }

/* ---------- Karriere-Funnel und Assistenten ---------- */
.team { background: var(--violett-tief) var(--muster); color: var(--text-hell); overflow: hidden; }
.team::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -25vw; border-radius: 50%; background: radial-gradient(circle, rgba(159, 211, 189, .16), transparent 65%); pointer-events: none; }
.team h2 { color: #fff; }
.team__raster { display: grid; gap: 2.5rem; position: relative; }
@media (min-width: 1000px) { .team__raster { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; align-items: start; } .team__text { position: sticky; top: calc(var(--kopf-h) + 2rem); } }
.vorteile { list-style: none; display: grid; gap: .9rem; margin: 1.6rem 0 2rem; }
.vorteile li { display: flex; gap: .9rem; align-items: flex-start; }
.vorteile svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .09); color: var(--salbei-hell); }
.vorteile b { display: block; color: #fff; }
.vorteile span { color: var(--text-hell-2); font-size: .96rem; }
.abschnitt:not(.team):not(.dunkel) .vorteile svg { background: var(--flieder); color: var(--violett); }
.abschnitt:not(.team):not(.dunkel) .vorteile b { color: var(--text); }
.abschnitt:not(.team):not(.dunkel) .vorteile span { color: var(--text-2); }

.assi {
  background: #fff; color: var(--text); border-radius: var(--rund-gross); box-shadow: var(--schatten-gross);
  padding: clamp(1.3rem, 3vw, 2.2rem); position: relative;
}
.assi--rand { box-shadow: var(--schatten); border: 1px solid var(--linie); }
.assi__kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.assi__titel { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem; }
.assi__titel svg { width: 20px; height: 20px; color: var(--violett); }
.assi__zaehl { font-size: .85rem; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.assi__balken { height: 5px; border-radius: 5px; background: var(--papier-2); overflow: hidden; margin-bottom: 1.5rem; }
.assi__balken i { display: block; height: 100%; background: linear-gradient(90deg, var(--violett), var(--salbei)); transform-origin: left; transform: scaleX(.2); transition: transform .5s var(--weich); }
.assi fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.assi fieldset.dran { animation: schrittEin .45s var(--weich) both; }
@keyframes schrittEin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.assi legend { font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: .35rem; padding: 0; }
.assi__hinweis { color: var(--text-2); font-size: .95rem; margin: 0 0 1.1rem; }
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.kacheln--eins { grid-template-columns: 1fr; }
@media (min-width: 560px) { .kacheln--drei { grid-template-columns: repeat(3, 1fr); } }
.kachel { position: relative; display: block; cursor: pointer; }
.kachel input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.kachel span {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .55rem; min-height: 64px; height: 100%;
  padding: .9rem 1rem; border-radius: 14px; border: 1.5px solid var(--linie); background: var(--papier);
  font-weight: 700; font-size: .98rem; line-height: 1.25; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.kachel span small { font-weight: 500; font-size: .84rem; color: var(--text-2); }
.kachel svg { width: 26px; height: 26px; color: var(--violett); }
.kachel:hover span { border-color: var(--violett); background: #fff; }
.kachel input:focus-visible + span { outline: 3px solid var(--violett); outline-offset: 2px; }
.kachel input:checked + span { border-color: var(--salbei); background: #fff; box-shadow: 0 0 0 3px rgba(46, 106, 89, .16); }
.kachel input:checked + span svg { color: var(--salbei); }
.kachel--zeile span { flex-direction: row; align-items: center; min-height: 56px; }
.feld { display: grid; gap: .35rem; margin-top: .9rem; }
.feld label { font-weight: 700; font-size: .92rem; }
.feld label small { font-weight: 500; color: var(--text-2); }
.feld input, .feld textarea, .feld select {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--papier); font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.feld textarea { min-height: 110px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--violett); background: #fff; }
.feld input[type="file"] { padding: .7rem; background: #fff; border-style: dashed; }
.felder2 { display: grid; gap: 0 .8rem; }
@media (min-width: 560px) { .felder2 { grid-template-columns: 1fr 1fr; } }
.zustimmung { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.zustimmung input { width: 22px; height: 22px; margin-top: .1rem; flex: none; accent-color: var(--salbei); }
.assi__fuss { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1.4rem; }
.assi__zurueck { border: 0; background: none; color: var(--text-2); font-weight: 700; cursor: pointer; padding: .7rem .2rem; display: inline-flex; gap: .4rem; align-items: center; }
.assi__zurueck svg { width: 18px; height: 18px; }
.assi__fuss .knopf { margin-left: auto; }
.assi__fehler { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; background: #fdecea; color: #8a1c12; font-size: .93rem; }
.assi__sicher { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.1rem; font-size: .82rem; color: var(--text-2); list-style: none; }
.assi__sicher li { display: inline-flex; align-items: center; gap: .35rem; }
.assi__sicher svg { width: 15px; height: 15px; color: var(--gruen); }
.assi__danke { text-align: center; padding: 1.5rem .5rem; }
.assi__danke-symbol { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--salbei-zart); color: var(--gruen); animation: plopp .6s var(--weich) both; }
.assi__danke-symbol svg { width: 36px; height: 36px; }
.assi__danke h3 { font-size: 1.5rem; }
.assi__danke p { color: var(--text-2); }
@keyframes plopp { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf { position: relative; isolation: isolate; background: var(--violett-tief) var(--muster); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.seitenkopf::after { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -22vw; bottom: -40vw; border-radius: 50%; background: radial-gradient(circle, rgba(159, 211, 189, .16), transparent 65%); }
.seitenkopf__raster { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 980px) { .seitenkopf__raster { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }
.seitenkopf h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.9rem); }
.seitenkopf .lead { color: var(--text-hell); }
.seitenkopf__bild { border-radius: 999px 999px var(--rund-gross) var(--rund-gross); overflow: hidden; box-shadow: var(--schatten-gross); aspect-ratio: 4 / 3.2; background: var(--violett); }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; }
.js .seitenkopf .auf { animation: auf .8s var(--weich) both; animation-delay: var(--v, .05s); }
.kruemel { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; font-size: .86rem; color: var(--text-hell-2); margin-bottom: 1.4rem; }
.kruemel li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.kruemel a { color: var(--text-hell-2); text-decoration: none; display: inline-block; padding: .3rem 0; }
.kruemel a:hover { color: #fff; }
.kruemel li[aria-current] { padding: .3rem 0; }

/* ---------- Leistungsseiten ---------- */
.punkte { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 700px) { .punkte { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .punkte--drei { grid-template-columns: repeat(3, 1fr); } }
.punkt { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 1.5rem; }
.punkt__symbol { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--flieder); color: var(--violett); margin-bottom: 1rem; }
.punkt__symbol svg { width: 24px; height: 24px; }
.punkt h3 { margin-bottom: .4rem; }
.punkt p { color: var(--text-2); margin: 0; font-size: .98rem; }
.punkt small { display: inline-block; margin-top: .7rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--salbei); }
.ablauf { list-style: none; display: grid; gap: 1rem; counter-reset: a; }
@media (min-width: 900px) { .ablauf { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } .ablauf--vier { grid-template-columns: repeat(4, 1fr); } }
.ablauf li { counter-increment: a; position: relative; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--rund-gross); background: rgba(255, 255, 255, .05); border: 1px solid var(--linie-dunkel); }
.ablauf li::before { content: "0" counter(a); display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; color: var(--salbei-hell); line-height: 1; margin-bottom: .9rem; }
.ablauf h3 { margin-bottom: .4rem; }
.ablauf p { margin: 0; color: var(--text-hell-2); font-size: .98rem; }
.abschnitt:not(.dunkel):not(.team) .ablauf li { background: #fff; border-color: var(--linie); }
.abschnitt:not(.dunkel):not(.team) .ablauf li::before { color: var(--violett); }
.abschnitt:not(.dunkel):not(.team) .ablauf p { color: var(--text-2); }
.weitere { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.weitere a { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--linie); text-decoration: none; font-weight: 700; font-size: .95rem; transition: border-color .2s, color .2s; }
.weitere a:hover { border-color: var(--violett); color: var(--violett); }
.weitere svg { width: 18px; height: 18px; }
.liste-gross { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--linie); }
@media (min-width: 800px) { .liste-gross { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.liste-gross li { display: flex; gap: .9rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--linie); font-weight: 700; }
.liste-gross li span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--flieder); color: var(--violett); font-size: .8rem; font-weight: 800; }
.liste-gross small { display: block; font-weight: 500; color: var(--text-2); font-size: .88rem; }

/* Fragen */
.fragen { display: grid; gap: .7rem; }
.frage { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; }
.frage summary { list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--flieder); color: var(--violett); font-weight: 800; font-size: 1.2rem; transition: transform .3s; }
.frage[open] summary::after { transform: rotate(45deg); }
.frage div { padding: 0 1.3rem 1.2rem; color: var(--text-2); }
.frage div p:last-child { margin: 0; }

/* Aufruf-Band */
.aufruf { border-radius: var(--rund-gross); background: var(--violett) var(--muster); color: #fff; padding: clamp(1.8rem, 4vw, 3rem); display: grid; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .aufruf { grid-template-columns: 1fr auto; } }
.aufruf h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: .3em; }
.aufruf p { margin: 0; color: var(--text-hell); }
.aufruf--salbei { background-color: var(--salbei-tief); }

/* ---------- Startseite: Anfrage-Einstieg ---------- */
.einstieg { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; list-style: none; }
@media (min-width: 900px) { .einstieg { grid-template-columns: repeat(3, 1fr); gap: .9rem; } }
.einstieg a {
  display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: 1.15rem 1.1rem; border-radius: 16px; background: #fff; border: 1.5px solid var(--linie);
  text-decoration: none; font-weight: 700; line-height: 1.3; transition: border-color .2s, transform .3s var(--weich), box-shadow .3s;
}
.einstieg a:hover { border-color: var(--violett); transform: translateY(-3px); box-shadow: var(--schatten); }
.einstieg svg { width: 30px; height: 30px; color: var(--violett); }
.einstieg small { font-weight: 500; color: var(--text-2); font-size: .86rem; }
.abschnitt--weiss .einstieg a { background: var(--papier); }

/* ---------- Fotos und Großansicht ---------- */
.foto { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--rund); overflow: hidden; cursor: zoom-in; background: var(--flieder); aspect-ratio: 4 / 3; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--weich); }
.foto:hover img { transform: scale(1.04); }
.foto span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .8rem; text-align: left; color: #fff; font-weight: 700; font-size: .88rem; line-height: 1.3; background: linear-gradient(0deg, rgba(29, 20, 39, .85), transparent); }
dialog.gross { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
dialog.gross::backdrop { background: rgba(18, 12, 24, .92); }
dialog.gross img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px; }
dialog.gross p { color: #fff; text-align: center; margin: .8rem 0 0; font-weight: 600; }
dialog.gross button { position: fixed; border: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.gross__zu { top: 1rem; right: 1rem; } .gross__zurueck { left: 1rem; top: 50%; } .gross__vor { right: 1rem; top: 50%; }

/* ---------- Team ---------- */
.leute { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 640px) { .leute { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .leute { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.person { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 1.5rem; display: flex; gap: 1.1rem; align-items: flex-start; height: 100%; }
.person__zeichen { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; color: var(--violett); background: var(--flieder); position: relative; }
.person__zeichen::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px dashed var(--violett-hell); }
.person h3 { margin: .1rem 0 .25rem; font-size: 1.18rem; }
.person__rolle { font-weight: 700; color: var(--salbei); font-size: .93rem; margin: 0 0 .5rem; }
.person p:last-child { margin: 0; color: var(--text-2); font-size: .93rem; line-height: 1.5; }

/* ---------- Karriere ---------- */
.stellen { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 760px) { .stellen { grid-template-columns: 1fr 1fr; } }
.stelle { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 1.6rem; transition: box-shadow .4s, transform .4s var(--weich); }
.stelle:hover { box-shadow: var(--schatten-gross); transform: translateY(-3px); }
.stelle__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .6rem; }
.stelle__art { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--salbei); }
.stelle__symbol { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--violett); color: #fff; display: grid; place-items: center; }
.stelle__symbol svg { width: 26px; height: 26px; }
.stelle h3 { font-size: 1.35rem; margin: .3rem 0 .5rem; }
.stelle p { color: var(--text-2); font-size: .98rem; }
.stelle .haken { margin: .2rem 0 1.4rem; font-size: .95rem; }
.stelle .knopf { margin-top: auto; align-self: flex-start; }

/* ---------- Kontakt ---------- */
.kontaktkarten { display: grid; gap: .8rem; list-style: none; }
.kontaktkarte { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); text-decoration: none; transition: border-color .2s; }
a.kontaktkarte:hover { border-color: var(--violett); }
.kontaktkarte svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--flieder); color: var(--violett); }
.kontaktkarte small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.kontaktkarte b { font-size: 1.06rem; }
.kontaktkarte span { display: block; color: var(--text-2); font-size: .94rem; }

/* ---------- Rechtstexte ---------- */
.recht { background: #fff; border-radius: var(--rund-gross); border: 1px solid var(--linie); padding: clamp(1.5rem, 4vw, 3rem); overflow-wrap: break-word; }
.recht h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; letter-spacing: -.01em; }
.recht h2:first-child { margin-top: 0; }
.recht ul { padding-left: 1.2rem; margin-bottom: 1em; }
.recht a { color: var(--salbei); }
.offen { background: #fff3c4; padding: .05em .3em; border-radius: 4px; }
.hinweis-entwurf { background: #fff8dc; border: 1px solid #f1dc8a; border-radius: var(--rund); padding: 1rem 1.2rem; margin-bottom: 2rem; font-size: .95rem; }

/* ---------- Schluss ---------- */
.schluss { position: relative; isolation: isolate; padding-block: clamp(4.5rem, 10vw, 8rem); color: #fff; text-align: center; overflow: hidden; background: var(--violett-tief); }
.schluss picture { position: absolute; inset: 0; z-index: -2; }
.schluss picture img { width: 100%; height: 100%; object-fit: cover; }
.schluss::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(61, 28, 85, .9), rgba(29, 20, 39, .92)); }
.schluss h2 { color: #fff; max-width: 18em; margin-inline: auto; }
.schluss p { color: var(--text-hell); max-width: 38rem; margin: 0 auto 2rem; }
.schluss .knoepfe { justify-content: center; }
.schluss__lotus { width: 86px; height: 77px; margin: 0 auto 1.4rem; fill: none; stroke: var(--violett-hell); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--nacht); color: var(--text-hell-2); padding: clamp(3.5rem, 7vw, 5.5rem) 0 6.5rem; font-size: .96rem; }
.fuss .logo { color: var(--violett-hell); }
.fuss .logo__name { color: #fff; }
.fuss .logo__zusatz { color: var(--text-hell-2); }
.fuss__raster { display: grid; gap: 2.2rem; }
@media (min-width: 760px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fuss__raster { grid-template-columns: 1.35fr .9fr .9fr 1.15fr; gap: 3rem; } .fuss { padding-bottom: 2.5rem; } }
.fuss h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; }
.fuss ul { list-style: none; display: grid; gap: .1rem; }
.fuss li a { display: inline-block; padding: .3rem 0; text-decoration: none; color: var(--text-hell-2); transition: color .2s; }
.fuss li a:hover, .fuss li a[aria-current="page"] { color: #fff; }
.fuss__raster > div:first-child p { margin: 1.2rem 0 1.2rem; max-width: 26rem; }
.fuss__schwester { display: inline-flex; flex-direction: column; gap: .15rem; padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--linie-dunkel); text-decoration: none; color: var(--text-hell-2); font-size: .88rem; line-height: 1.35; transition: border-color .2s; }
.fuss__schwester b { color: #fff; font-size: .95rem; }
.fuss__schwester:hover { border-color: var(--salbei-hell); }
.fuss__unten { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linie-dunkel); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font-size: .9rem; }
.fuss__recht a { color: var(--text-hell-2); text-decoration: none; padding: .35rem 0; }
.fuss__recht a:hover { color: #fff; }

/* Feste Leiste unten (Handy) */
.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: auto 1fr; gap: .6rem;
  padding: .65rem var(--rand) calc(.65rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linie);
  box-shadow: 0 -10px 30px -18px rgba(29, 20, 39, .45); transform: translateY(110%); transition: transform .4s var(--weich);
}
.leiste.sichtbar { transform: none; }
.leiste .knopf { min-height: 48px; }
.leiste .knopf--hell { box-shadow: inset 0 0 0 1.5px var(--linie); }
@media (min-width: 1100px) { .leiste { display: none; } }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero__vorhang { display: none; }
}

/* ---------- Kleinigkeiten ---------- */
[hidden] { display: none !important; }
.kacheln > * { min-width: 0; }
.kachel span { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 420px) {
  .assi { padding: 1.15rem 1rem 1.3rem; }
  .kachel span { padding: .8rem .75rem; font-size: .93rem; }
  .assi__titel { font-size: .98rem; }
}
.mitte { text-align: center; }
.mitte .lead { margin-inline: auto; }
.abstand-oben { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Schmale Handys (bis 420 px): nichts darf über den Rand ragen ---------- */
.kontaktkarte > div, .person > div, .stelle__kopf > div, .vorteile li > div, .wg__daten li > span { min-width: 0; }
.kontaktkarte b, .wg__daten a, .fuss li a { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  h1, h2 { overflow-wrap: break-word; }
  h3, legend, .vorteile b, .person__rolle { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; overflow-wrap: break-word; }
  .person { flex-direction: column; gap: .8rem; }
}
@media (max-width: 360px) {
  .logo__figur { width: 34px; height: 30px; }
  .logo__name { font-size: 1.02rem; letter-spacing: .08em; }
  .logo__zusatz { font-size: .5rem; letter-spacing: .03em; }
  .kopf__tel, .kopf__burger { width: 40px; height: 40px; }
}
@media (min-width: 1000px) { .team__raster--anfrage { grid-template-columns: 1.3fr .8fr; } }

/* Handy: nur eine schwebende Karte über dem Foto (Gesichter bleiben frei), untere Leiste ohne Umbruch */
@media (max-width: 520px) { .hero__karte--2 { display: none; } }
.leiste .knopf { white-space: nowrap; }
@media (max-width: 400px) {
  .leiste .knopf--hell { font-size: 0; gap: 0; width: 52px; padding: 0; }
  .leiste .knopf--hell svg { width: 22px; height: 22px; }
}
