/* =====================================================================
   recruitingpartner.de: Basis (Tokens, Grundgerüst, gemeinsame Muster)
   Muster aus der TN-Designsprache, Farben aus der Recruiting-Partner-CI
   (Logo: Navy #00113f, Blau #0b80ff).
   Radien: Knöpfe 8 px, Karten 14 px, große Flächen 20 px, Pillen rund.
   Z-Index: .kopf (20), .skip (30); mobil #seite (105), .menue-decke (110), .mnav (120), Cookie-Banner (200).
   Sektions-CSS liegt in assets/css/teile/<teil>.css, bauen.py fügt alles zu seite.css zusammen.
   ===================================================================== */

:root {
  color-scheme: light;

  /* CI-Blau: #0b80ff nur für Deko, große Schrift, Icons. Knöpfe und kleiner Text in --accent-btn (Kontrast AA). */
  --accent:       #0b80ff;
  --accent-btn:   #0067d6;
  --accent-hover: #0056b3;
  --accent-deep:  #0048a0;
  --accent-soft:  #9cc9ff;
  --tint:         #e6f1ff;
  --tint-weak:    #f4f8ff;

  --ink:   #00113f;   /* CI-Navy */
  --ink-2: #3c4763;
  --ink-3: #5f6983;

  --paper:    #ffffff;
  --paper-2:  #fafcff;
  --line:     #e4ecf7;
  --line-mid: #cfdcee;

  --dark:      #00113f;
  --on-dark-2: #c3cde3;

  /* Farben der Inhalte (Leistungskarten, Icons). Gedämpft, keine Neonfarben. */
  --f-blau:   #0b80ff;
  --f-navy:   #1d3a8a;
  --f-tuerkis:#0e9aa7;
  --f-gruen:  #1f9d55;
  --f-orange: #e07b1a;
  --f-rot:    #d64545;
  --f-violett:#6a4fd8;

  --r-btn:  8px;
  --r-card: 14px;
  --r-big:  20px;

  --maxw:    1240px;
  --gutter:  clamp(16px, 5vw, 56px);
  --section: clamp(64px, 9vw, 112px);

  --shadow-shot: 0 40px 80px -40px rgba(0, 17, 63, .35);
  --btn-face:    inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 17, 63, .18);
  --verlauf-dunkel:
    radial-gradient(ellipse 60% 80% at 100% 100%, #2f8fff 0, transparent 60%),
    linear-gradient(135deg, #00113f 0%, #07256e 55%, #0056b3 100%);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --head: Outfit, Manrope, system-ui, sans-serif;
  --text: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: Caveat, cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(11, 128, 255, .12); }
body {
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
strong, b { color: var(--ink); font-weight: 700; }
svg.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.abschnitt { position: relative; padding: var(--section) 0; }
.abschnitt--tint { background: var(--tint-weak); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.abschnitt h2 { font-size: clamp(32px, 4.4vw, 50px); max-width: 16em; }
.abschnitt-lead { max-width: 34em; margin: 16px 0 clamp(32px, 4vw, 48px); font-size: 17px; }
.kicker { font: 700 13px/1.4 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-btn); margin-bottom: 16px; }
/* Recruiting-Partner-Icon als Marker vor ausgewählten Eyebrows (Leistungen, Referenzen, Ehrlich gesagt) */
.kicker--marke { display: flex; align-items: flex-start; gap: 10px; }
.kicker--marke::before { content: ""; flex: none; width: 15px; height: 18px; margin-top: -1px; background: url("/assets/logos/icon-farbe.svg") center / contain no-repeat; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-btn); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-btn); outline-offset: 3px; border-radius: 6px; }

/* ---------- Knöpfe: nur der gerade Pfeil bewegt sich ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 600 15px/1 var(--text);
  border: 0; cursor: pointer;
  border-radius: var(--r-btn);
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 16px; height: 16px; }
.ic-pfeil { transition: transform .25s var(--ease); }
.btn:hover .ic-pfeil, a:hover > .ic-pfeil, a:hover .link .ic-pfeil { transform: translateX(3px); }
.btn-primary { background: var(--accent-btn); color: #fff; box-shadow: var(--btn-face); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--line-mid); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--accent-soft); background: var(--tint-weak); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); }
.btn-klein { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-gross { min-height: 54px; padding: 0 26px; font-size: 16px; }

/* Glasknopf auf dunklen Flächen */
.glas { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--r-btn); color: #fff; font: 600 15px/1 var(--text); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); transition: background .2s var(--ease); }
.glas:hover { background: rgba(255, 255, 255, .16); }
.glas .ic { width: 17px; height: 17px; }

.pille { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: var(--accent-btn); color: #fff; font: 600 12px/1 var(--text); }

/* ---------- Notizbuch-Look ---------- */
.kariert { position: relative; isolation: isolate; }
.kariert::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, #e1e7f0 1px, transparent 1px), linear-gradient(to bottom, #e1e7f0 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 0% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 70% at 0% 0%, #000 35%, transparent 80%);
}
.kariert--rechts::before {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000 35%, transparent 80%);
}
/* Randnotiz in Handschrift neben einer Überschrift, Pfeil zeichnet sich selbst */
.randnotiz { display: inline-block; position: relative; margin-left: 12px; vertical-align: .35em; font: 600 clamp(21px, 2.2vw, 27px)/1 var(--hand); letter-spacing: 0; color: var(--accent); transform: rotate(-5deg); white-space: nowrap; }
.randnotiz svg { position: absolute; width: 58px; height: 34px; overflow: visible; }
.randnotiz--unten svg { left: 20%; top: 100%; transform: rotate(80deg); transform-origin: left top; }
.randnotiz--rechts svg { left: 100%; top: 40%; margin-left: 6px; }
.randnotiz--links { margin-left: 78px; }
.randnotiz--links svg { right: 100%; top: 10%; margin-right: 8px; transform: scaleX(-1); }
/* Freie Notiz (absolut positioniert, z. B. an einem Bild) */
.notiz { position: absolute; z-index: 1; font: 600 clamp(20px, 2vw, 26px)/1.05 var(--hand); color: var(--accent); white-space: nowrap; pointer-events: none; }
.notiz svg { position: absolute; width: 64px; height: 56px; overflow: visible; }
.randnotiz path, .unterstrichen path, .notiz path, .fuss-hoch path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ist-da .randnotiz path, .randnotiz.ist-da path, .fuss-hoch.ist-da path, .ist-da .unterstrichen path, .unterstrichen.ist-da path, .ist-da.notiz path, .ist-da .notiz path { animation: kritzeln .9s var(--ease) .5s forwards; }
.ist-da .randnotiz .spitze, .ist-da .notiz .spitze, .fuss-hoch.ist-da .spitze { animation-delay: 1.3s; animation-duration: .35s; }
@keyframes kritzeln { to { stroke-dashoffset: 0; } }
.unterstrichen { position: relative; display: inline-block; }
.unterstrichen svg { position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .32em; color: var(--accent); overflow: visible; }
.unterstrichen path { stroke-width: 1.6; }

/* Strom-Impulse: zwei Lichtpunkte auf einer gepunkteten Bahn */
.strom { position: absolute; overflow: visible; pointer-events: none; }
.strom circle, .strom rect { fill: none; stroke-width: 1.4; stroke-linecap: round; }
.strom-bahn { stroke: rgba(11, 128, 255, .22); stroke-width: .6; stroke-dasharray: .5 1.5; }
.strom-1 { stroke: #4DE8FF; stroke-dasharray: 12 88; filter: drop-shadow(0 0 2px rgba(77, 232, 255, .9)); animation: stromlauf 3.2s linear infinite; }
.strom-2 { stroke: #7fb8ff; stroke-dasharray: 8 92; filter: drop-shadow(0 0 2px rgba(11, 128, 255, .9)); animation: stromlauf 3.2s linear infinite; animation-delay: -1.6s; }
@keyframes stromlauf { to { stroke-dashoffset: -100; } }

/* ---------- Karten im Aufbau der ClosingHub-Preiskarten (ohne Hover) ---------- */
.karte {
  --farbe: var(--accent);
  position: relative; display: flex; flex-direction: column; padding: 8px;
  border: 1px solid var(--line-mid); border-radius: 22px; background: var(--paper);
}
.karte-flaeche {
  display: flex; flex-direction: column; gap: 8px; flex: 1;
  padding: 22px 22px 24px; border-radius: 16px;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, color-mix(in srgb, var(--farbe) 20%, transparent) 0, transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--farbe) 8%, #fff) 0%, #fff 75%);
}
/* Icon-Kachel als helles Glas: Weiß führt, die Inhaltsfarbe liegt als Kern dahinter */
.kachel {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px;
  border-radius: 15px;
  color: color-mix(in srgb, var(--farbe) 72%, var(--ink));
  border: 1px solid color-mix(in srgb, var(--farbe) 24%, #fff);
  background:
    linear-gradient(158deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .5) 46%, color-mix(in srgb, var(--farbe) 14%, #fff) 100%),
    color-mix(in srgb, var(--farbe) 8%, #fff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -10px 16px -12px color-mix(in srgb, var(--farbe) 55%, transparent),
    0 10px 22px -14px color-mix(in srgb, var(--farbe) 60%, transparent);
}
/* Farbkern hinter dem Glas, stark weichgezeichnet */
.kachel::after {
  content: ""; position: absolute; z-index: -1; inset: auto -30% -45% auto;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--farbe); filter: blur(14px); opacity: .5;
}
/* Glanzkante oben */
.kachel::before {
  content: ""; position: absolute; inset: 1px 1px auto 1px; height: 46%;
  border-radius: 14px 14px 60% 60% / 14px 14px 22px 22px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.kachel .ic { width: 23px; height: 23px; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .9)); }
.karte--haupt { border: 2px solid var(--accent-btn); }

/* Hakenliste */
.haken { display: grid; gap: 12px; }
.haken li { position: relative; padding-left: 32px; }
.haken li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background-color: #fff; border: 1px solid color-mix(in srgb, var(--accent) 26%, #fff); box-shadow: inset 0 1px 0 #fff, 0 4px 8px -5px color-mix(in srgb, var(--accent) 60%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230067d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: center; background-size: 20px; background-repeat: no-repeat; }

/* Dunkle Verlaufskarte: die eine laute Fläche */
.verlaufskarte {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 5vw, 64px); border-radius: var(--r-big);
  background: var(--verlauf-dunkel); color: var(--on-dark-2);
}
.verlaufskarte h2, .verlaufskarte h3 { color: #fff; }
.raster { position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(156, 201, 255, .15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(156, 201, 255, .15) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 115% at 100% 0%, #000 14%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 115% at 100% 0%, #000 14%, transparent 80%); }

/* Zu prüfende Aussagen: nur mit ?pruefen=1 sichtbar markiert (siehe PRUEFLISTE.md) */
.pruefen-an [data-pruefen] { outline: 2px dashed #e07b1a; outline-offset: 4px; }
.pruefen-an [data-pruefen]::after { content: "prüfen: " attr(data-pruefen); display: block; margin-top: 6px; font: 600 12px/1.3 var(--text); color: #9a4a00; }

/* ---------- Einblenden beim Scrollen ---------- */
.js .zeigen { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .zeigen.ist-da { opacity: 1; transform: none; }
.js .hero .zeigen { animation: rein .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); opacity: 1; transform: none; transition: none; }
@keyframes rein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .zeigen { opacity: 1; transform: none; }
  .randnotiz path, .unterstrichen path, .notiz path, .fuss-hoch path { stroke-dashoffset: 0; }
  .strom-1, .strom-2 { animation: none; }
}

/* Unterstreichung: non-scaling-stroke verrechnet pathLength in Chrome falsch, dadurch zerfiel die Linie
   bei breiten Wörtern in Stücke. Längerer Strich (8 statt 1) deckt die ganze Kurve sicher ab. */
.unterstrichen path { stroke-dasharray: 8; stroke-dashoffset: 8; }
@media (prefers-reduced-motion: reduce) { .unterstrichen path { stroke-dashoffset: 0; } }

/* Kundennamen verdeckt (Tobias, 30.09.2026): Wettbewerber sollen betreute Kunden nicht anschreiben.
   Im HTML steht bewusst nur Platzhaltertext, nie der echte Name. Details gibt es im Strategiegespräch. */
.verdeckt { display: inline-block; filter: blur(5px); user-select: none; -webkit-user-select: none; pointer-events: none; }


/* ===== Teil: mnav ===== */
/* ---------- Handy-Menü: „Seite wird zur Karte“ (bis 1023 px) ----------
   Wie tobiasnase.de und ClosingHub: #seite rückt 72 % nach rechts, skaliert auf 0,85,
   Radius 14 px, leicht weichgezeichnet, Body dunkel in CI-Navy. Das Menü gleitet von links herein.
   Z-Index: #seite (105), .menue-decke (110), .mnav (120). */
.mnav, .menue-decke { display: none; }

@media (max-width: 1023px) {
  body.menue-auf, body.menue-zu-gerade { overflow: hidden; background: #00113f; }
  #seite { background: var(--paper); transform-origin: 50% 50%; transition: transform .45s var(--ease), filter .45s var(--ease), border-radius .45s var(--ease), box-shadow .45s var(--ease); }
  body.menue-auf #seite, body.menue-zu-gerade #seite { position: fixed; inset: 0; height: 100dvh; overflow: hidden; z-index: 105; }
  body.menue-auf #seite { transform: translateX(72%) scale(.85); border-radius: 14px; filter: blur(2px) brightness(.9); box-shadow: 0 24px 70px rgba(0, 0, 0, .55); cursor: pointer; }
  .menue-decke { display: block; position: fixed; inset: 0; z-index: 110; background: transparent; border: 0; cursor: pointer; }
  .menue-decke[hidden] { display: none; }

  .mnav {
    display: flex; flex-direction: column;
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 120;
    width: min(78vw, 330px); overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
    color: #fff; transform: translateX(-110%); transition: transform .45s var(--ease);
  }
  .mnav[hidden] { display: none; }
  body.menue-auf .mnav { transform: none; }
  .mnav :focus-visible { outline-color: var(--accent-soft); }

  .mnav-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; }
  .mnav-logo { width: auto; height: 30px; }
  .mnav-zu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-btn); background: rgba(255, 255, 255, .05); cursor: pointer; font: 600 14px/1 var(--text); color: var(--on-dark-2); }
  .mnav-zu .ic { width: 16px; height: 16px; }

  .mnav-gruppe { padding: 16px 24px 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .mnav-label { margin-bottom: 8px; font: 600 12px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); }
  .mnav-gruppe > a:not(.btn) { display: flex; align-items: center; gap: 12px; min-height: 40px; font: 500 19px/1.2 var(--head); letter-spacing: -.018em; color: #fff; }
  .mnav-leistung { --farbe: var(--accent); }
  .mnav-gruppe > a.mnav-leistung { font-size: 17px; min-height: 38px; }
  .mnav-kachel { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--farbe); color: #fff; }
  .mnav-kachel .ic { width: 15px; height: 15px; }
  /* Navy-Kachel verschwimmt auf Navy: heller Rand */
  .mnav-leistung[style*="f-navy"] .mnav-kachel { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }

  .mnav-gruppe > a.mnav-kontakt { font: 600 15px/1.3 var(--text); letter-spacing: 0; color: var(--on-dark-2); min-height: 40px; gap: 10px; }
  .mnav-kontakt .ic { width: 17px; height: 17px; color: var(--accent-soft); }
  .mnav-knopf { width: 100%; margin-top: 12px; }
  .mnav-sprache { display: flex; gap: 16px; margin-top: 18px; font: 600 13.5px/1 var(--text); }
  .mnav-sprache [aria-current] { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .mnav-sprache a { color: var(--on-dark-2); }
}

@media (prefers-reduced-motion: reduce) {
  #seite, .mnav { transition: none !important; }
}


/* ===== Teil: kopf ===== */
/* ---------- Kopfzeile: Glas, sticky, eine Zeile, bewusst schlank ----------
   Ab 1024 px: Logo links, vier Punkte mittig, ein Knopf rechts. Telefon und Sprachwahl liegen im Handy-Menü und im Fuß.
   Darunter Burger links und Logo mittig (Handy-Menü in mnav.css). */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.kopf > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: 72px; }
.marke { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.marke img { width: auto; height: 36px; }
.kopf .marke { justify-self: start; }

.kopf-nav { display: flex; align-items: center; gap: 6px; }
.kopf-nav > a { padding: 10px 16px; border-radius: var(--r-btn); font: 600 15px/1 var(--text); color: var(--ink-2); white-space: nowrap; transition: color .2s var(--ease), background .2s var(--ease); }
.kopf-nav > a:hover { color: var(--ink); background: var(--tint-weak); }

.kopf-rechts { display: flex; align-items: center; justify-self: end; }

/* Ohne Rahmen und Fläche: nur das Zeichen, die 44 px bleiben als Tippfläche */
.menue-knopf { display: none; width: 44px; height: 44px; margin-left: -10px; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; }
.menue-knopf .ic { width: 24px; height: 24px; }
.menue-knopf:hover .ic, .menue-knopf[aria-expanded="true"] .ic { color: var(--accent-btn); }

/* ---------- Mega-Menü „Leistungen“ ----------
   Öffnet per Klick und bei Maus per Hover, Escape schließt. Zeilen ohne Hover-Bewegung, nur Tönung und Pfeil. */
.mm-knopf { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px 10px 16px; border: 0; border-radius: var(--r-btn); background: none; cursor: pointer; font: 600 15px/1 var(--text); color: var(--ink-2); transition: color .2s var(--ease), background .2s var(--ease); }
.mm-knopf:hover, .mm-knopf[aria-expanded="true"] { color: var(--ink); background: var(--tint-weak); }
.mm-chev { width: 15px; height: 15px; transition: transform .25s var(--ease); }
[aria-expanded="true"] > .mm-chev { transform: rotate(180deg); }

.mm-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-mid);
  box-shadow: 0 40px 60px -40px rgba(0, 17, 63, .35);
  isolation: isolate; overflow: hidden;
}
.mm-panel[hidden] { display: none; }
.mm-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, #e4ebf5 1px, transparent 1px), linear-gradient(to bottom, #e4ebf5 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 40% 90% at 0% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 40% 90% at 0% 0%, #000 30%, transparent 80%);
}
.js .mm-panel:not([hidden]) .mm-raster { animation: mm-rein .35s var(--ease) both; }
@keyframes mm-rein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.mm-raster { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px; padding-top: 24px; padding-bottom: 28px; }
.mm-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 8px; align-content: start; }
.mm-eintrag {
  --farbe: var(--accent);
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: var(--r-card); border: 1px solid transparent; color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.mm-eintrag:hover { background: color-mix(in srgb, var(--farbe) 6%, #fff); border-color: color-mix(in srgb, var(--farbe) 20%, #fff); }
.mm-eintrag--haupt {
  grid-column: 1 / -1; margin-bottom: 4px; padding: 16px 18px 16px 16px;
  border: 1px solid var(--line-mid);
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, color-mix(in srgb, var(--farbe) 16%, transparent) 0, transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--farbe) 7%, #fff), #fff 70%);
}
.mm-eintrag--haupt:hover { border-color: color-mix(in srgb, var(--farbe) 40%, #fff); }
.mm-eintrag--haupt .pille { margin-left: auto; flex: none; }
.mm-eintrag--haupt .mm-kachel { width: 46px; height: 46px; border-radius: 12px; }
.mm-eintrag--haupt .mm-text strong { font-size: 18px; }
.mm-kachel { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--farbe); color: #fff; box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--farbe) 80%, transparent); }
.mm-kachel .ic { width: 19px; height: 19px; }
.mm-text { display: grid; gap: 2px; min-width: 0; }
.mm-text strong { font: 600 16px/1.3 var(--head); letter-spacing: -.01em; }
.mm-text > span { font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
.mm-pfeil { width: 16px; height: 16px; margin-left: auto; flex: none; color: color-mix(in srgb, var(--farbe) 75%, var(--ink)); opacity: .8; }
.mm-eintrag--haupt .mm-pfeil { margin-left: 12px; }
.mm-eintrag:hover .mm-pfeil { transform: translateX(3px); }

.mm-karte { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 28px 26px 24px; border-radius: var(--r-big); background: var(--verlauf-dunkel); color: var(--on-dark-2); }
/* Icon als Wasserzeichen oben rechts, wie in der Kontaktkarte */
.mm-marke { position: absolute; z-index: -1; right: -70px; top: -40px; width: 230px; height: 281px; opacity: .1; --rp-ring: #fff; --rp-punkt: #fff; pointer-events: none; }
.mm-notiz { font: 600 23px/1 var(--hand); color: var(--accent-soft); transform: rotate(-4deg); transform-origin: left; }
.mm-karte-titel { font: 500 29px/1.1 var(--head); letter-spacing: -.02em; color: #fff; margin: 8px 0 10px; }
.mm-karte p:not(.mm-karte-titel) { font-size: 15px; line-height: 1.55; margin-bottom: 22px; max-width: 22em; }
.mm-alle { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font: 600 14px/1 var(--text); color: #fff; }
.mm-alle .ic { width: 15px; height: 15px; }
.mm-karte :focus-visible { outline-color: #fff; }

/* ---------- Breiten ---------- */
@media (max-width: 1023px) {
  .kopf-nav, .kopf-rechts { display: none; }
  /* Burger links, Logo mittig und größer, drei Spalten */
  .kopf > .wrap { grid-template-columns: 1fr auto 1fr; gap: 12px; height: 64px; }
  .menue-knopf { display: grid; grid-column: 1; justify-self: start; }
  .kopf .marke { grid-column: 2; justify-self: center; }
  .kopf .marke img { height: 40px; }
}
@media (min-width: 1024px) and (max-width: 1119px) {
  .kopf-nav { gap: 2px; }
  .kopf-nav > a { padding: 10px 12px; }
  .mm-knopf { padding: 10px 10px 10px 12px; }
  .mm-raster { grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; }
  .mm-eintrag:not(.mm-eintrag--haupt) { gap: 12px; padding: 12px; }
  .mm-karte { padding: 26px 22px 22px; }
}


/* ===== Teil: hero ===== */
/* Hero: links Text, rechts das Handy mit dem Beispiel-Funnel (drei Schritte laufen durch).
   Muss samt Kopfzeile (66-72 px) in 1440x900 passen.
   Das Handy (.handy, .bildschirm, .bs-*) ist bewusst allgemein benannt: die Seite
   /bewerber-funnel/ hat dieselbe Attrappe noch unter .bf-* und kann später hierher ziehen. */
.hero { padding: clamp(28px, 4.2vw, 64px) 0 clamp(56px, 6vw, 88px); overflow-x: clip; }
.hero.kariert::before {
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 0% 0%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 80% at 0% 0%, #000 40%, transparent 85%);
}
.hero-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }

.hero h1 { font-size: clamp(38px, 3.5vw, 51px); line-height: 1.06; margin: 0 0 22px; max-width: 13em; }
.hero .unterstrichen svg { bottom: -.1em; height: .26em; }
.hero-lead { max-width: 30em; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* ---------- Bühne ---------- */
.hero-buehne { position: relative; display: flex; justify-content: center; padding: 10px 0 34px; }
/* Markenmotiv: das Icon groß und blass hinter dem Handy */
.hero-marke { position: absolute; z-index: -1; left: 50%; top: 50%; width: 430px; height: 525px; transform: translate(-46%, -52%); opacity: .11; pointer-events: none; --rp-ring: #0a3aa0; }

/* Glaskugeln: weich, hell, in der CI-Farbe. Kein Neon, kein Glow. */
.glaskugel { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.glaskugel--gross {
  width: 300px; height: 300px; right: -58px; top: -46px;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .98) 0%, rgba(214, 233, 255, .9) 34%, rgba(11, 128, 255, .36) 72%, rgba(11, 128, 255, 0) 78%);
  filter: blur(14px);
}
.glaskugel--klein {
  width: 132px; height: 132px; left: -10px; bottom: 54px;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .95) 0%, rgba(230, 241, 255, .85) 42%, rgba(29, 58, 138, .28) 74%, rgba(29, 58, 138, 0) 80%);
  filter: blur(8px);
}

/* ---------- Handy ---------- */
.handy {
  position: relative; width: 292px; aspect-ratio: 292 / 596; padding: 11px; border-radius: 48px;
  background: linear-gradient(145deg, #eef1f6 0%, #b9c0cc 22%, #eef1f6 48%, #9aa3b2 78%, #dde2ea 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 17, 63, .18), 0 60px 90px -50px rgba(0, 17, 63, .55), 0 24px 40px -30px rgba(0, 17, 63, .35);
}
.handy-taste { position: absolute; width: 4px; border-radius: 2px; background: #a4acba; }
.handy-taste--1 { left: -3px; top: 118px; height: 30px; }
.handy-taste--2 { left: -3px; top: 164px; height: 52px; }
.handy-taste--3 { right: -3px; top: 150px; height: 76px; }
.handy-strom { inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); }
.handy-strom rect { vector-effect: non-scaling-stroke; }
.handy-strom .strom-bahn { stroke-width: 1.2; stroke-dasharray: .4 1.2; }
.handy-strom .strom-1, .handy-strom .strom-2 { stroke-width: 2.4; }

.bildschirm {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  padding: 12px 16px 16px; border-radius: 38px; background: #fff; color: #0a0d12;
  box-shadow: inset 0 0 0 1px rgba(0, 17, 63, .9);
  font-family: var(--text);
}
.bs-status { display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 8px; font: 700 13px/1 var(--text); color: #0a0d12; }
.bs-insel { width: 84px; height: 24px; border-radius: 14px; background: #0a0d12; }
.bs-status-icons { display: flex; gap: 3px; align-items: flex-end; }
.bs-status-icons i { display: block; width: 4px; border-radius: 1px; background: #0a0d12; }
.bs-status-icons i:nth-child(1) { height: 6px; } .bs-status-icons i:nth-child(2) { height: 9px; } .bs-status-icons i:nth-child(3) { height: 12px; }

.bs-marke-zeile { display: flex; align-items: center; gap: 10px; margin: 14px 2px 14px; padding-bottom: 12px; border-bottom: 1px solid #eef1f6; }
.bs-zeichen { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #2563eb; color: #fff; font: 800 15px/1 var(--text); }
.bs-firma { display: grid; font: 500 11px/1.25 var(--text); color: #6b7280; }
.bs-firma b { font-size: 13px; color: #0a0d12; }

/* Bühne im Bildschirm: die Schritte liegen übereinander und blenden nacheinander durch */
.bs-buehne { position: relative; flex: 1; }
.bs-schritt { position: absolute; inset: 0; opacity: 0; }
.bs-schritt--1 { opacity: 1; }

.bs-fortschritt { display: flex; align-items: center; gap: 10px; }
.bs-zurueck { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1px solid #e3e8f0; color: #c1c7d2; }
.bs-zurueck--aktiv { color: #0a0d12; }
.bs-zurueck .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.bs-balken { flex: 1; }
.bs-balken p { display: flex; justify-content: space-between; margin-bottom: 5px; font: 600 10px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: #6b7280; }
.bs-balken b { color: #0a0d12; }
.bs-spur { display: block; height: 5px; border-radius: 3px; background: #eef1f6; }
.bs-spur span { display: block; height: 100%; border-radius: 3px; background: #2563eb; }

.bs-frage { margin: 22px 2px 16px; font: 800 20px/1.2 var(--text); letter-spacing: -.02em; color: #0a0d12; text-wrap: balance; }
.bs-optionen { display: grid; gap: 9px; }
.bs-option { position: relative; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid #e3e8f0; border-radius: 12px; font: 700 14px/1.2 var(--text); color: #0a0d12; }
.bs-opt-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: #dbe9ff; color: #2563eb; }
.bs-opt-ic .ic { width: 18px; height: 18px; }
.bs-chev { width: 15px; height: 15px; margin-left: auto; color: #9aa1ad; stroke-width: 2.2; }
.bs-option--tipp { border-color: #2563eb; box-shadow: 0 0 0 1.5px #2563eb; }
.bs-tipp { position: absolute; right: 38px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; opacity: 0; background: rgba(37, 99, 235, .18); border: 2px solid rgba(37, 99, 235, .55); }

/* Kontaktschritt */
.bs-felder { display: grid; gap: 10px; }
.bs-feld { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #e3e8f0; border-radius: 12px; }
.bs-feld span { font: 600 10px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: #6b7280; }
.bs-feld b { font: 700 15px/1.2 var(--text); color: #0a0d12; }
.bs-cursor { display: inline-block; width: 2px; height: 15px; margin-left: 2px; vertical-align: -2px; background: #2563eb; }
.bs-knopf { display: block; margin-top: 14px; padding: 13px; border-radius: 12px; background: #2563eb; color: #fff; text-align: center; font: 700 15px/1 var(--text); }
.bs-fuss { margin-top: 10px; text-align: center; font: 500 11px/1.4 var(--text); color: #6b7280; }

/* Durchlauf: 15 s, drei Schritte, nur opacity und transform.
   Der Tipp-Kreis und der Cursor laufen im selben Takt, damit es nicht flackert. */
.js .bs-schritt { animation: bs-durchlauf 15s var(--ease) infinite; }
.js .bs-schritt--2 { animation-delay: 5s; }
.js .bs-schritt--3 { animation-delay: 10s; }
@keyframes bs-durchlauf {
  0%       { opacity: 0; transform: translateY(10px); }
  3%, 30%  { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-8px); }
}
.js .bs-tipp { animation: bs-tipp 5s var(--ease) infinite; }
.bs-schritt--2 .bs-tipp { animation-delay: 5s; }
@keyframes bs-tipp {
  0%, 48% { transform: scale(.6); opacity: 0; }
  58%     { transform: scale(1); opacity: 1; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.js .bs-cursor { animation: bs-cursor 1.1s steps(2, jump-none) infinite; }
@keyframes bs-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Anhalten, solange jemand draufschaut oder mit der Tastatur drin ist */
.hero-buehne:hover .bs-schritt,
.hero-buehne:hover .bs-tipp,
.hero-buehne:focus-within .bs-schritt,
.hero-buehne:focus-within .bs-tipp { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .js .bs-schritt, .js .bs-tipp, .js .bs-cursor { animation: none; }
  .js .bs-schritt--1 { opacity: 1; }
  .js .bs-schritt--2, .js .bs-schritt--3 { opacity: 0; }
}

.hero-notiz { left: 0; bottom: 56px; font-size: clamp(22px, 2vw, 27px); line-height: 1.05; transform: rotate(-6deg); }
.hero-notiz svg { left: 74%; top: calc(100% + 2px); width: 58px; height: 34px; }

@media (min-width: 1000px) {
  .hero-raster { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 4vw, 64px); }
  .hero-buehne { justify-content: flex-end; padding: 10px 10px 24px 0; }
}
@media (min-width: 1000px) and (max-width: 1219px) { .hero-notiz { display: none; } }
@media (max-width: 1379px) { .hero-marke { width: 380px; height: 464px; transform: translate(-50%, -52%); } }

@media (max-width: 999px) {
  .hero-text { max-width: 640px; }
  .hero-notiz { left: max(0px, calc(50% - 272px)); bottom: 40px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 42px); margin-bottom: 16px; }
  .hero-knoepfe { margin-top: 24px; }
  .hero-knoepfe .btn { flex: 1 1 100%; }
  .hero-buehne { padding-bottom: 24px; }
  .handy { width: 264px; border-radius: 44px; padding: 10px; }
  .bildschirm { border-radius: 36px; padding: 10px 14px 14px; }
  .glaskugel--gross { width: 220px; height: 220px; right: -40px; top: -30px; }
  .glaskugel--klein { width: 104px; height: 104px; left: -14px; bottom: 96px; }
  .hero-notiz { display: none; }
}

/* =====================================================================
   Hero-Variante: Text mittig, darunter die Beispielanzeigen als Karte.
   Muster von tobiasnase.de. Schaltbar über .hero-ruhig am <html>.
   ===================================================================== */
.hero-anz-buehne { display: none; }

.hero-ruhig .hero { padding: clamp(36px, 4.4vw, 68px) 0 clamp(40px, 4.4vw, 64px); }
.hero-ruhig .hero-buehne { display: none; }
.hero-ruhig .hero-raster { grid-template-columns: minmax(0, 1fr); gap: 0; }
.hero-ruhig .hero-text { order: 0; display: grid; justify-items: center; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-ruhig .hero h1 { font-size: clamp(40px, 4.4vw, 62px); line-height: 1.05; max-width: 14em; margin-bottom: 20px; }
.hero-ruhig .hero-lead { max-width: 34em; font-size: clamp(17px, 1.5vw, 19px); }
.hero-ruhig .hero-knoepfe { justify-content: center; margin-top: 28px; }

/* ---------- Anzeigen-Bühne ---------- */
.hero-ruhig .hero-anz-buehne {
  order: 1;
  display: block; position: relative;
  max-width: 1060px; margin: clamp(32px, 3.8vw, 56px) auto 0;
}
.hero-anz-rahmen {
  position: relative; padding: clamp(14px, 1.4vw, 20px); border-radius: 26px;
  border: 1px solid var(--line-mid); background: var(--paper-2);
  box-shadow: 0 60px 100px -60px rgba(0, 17, 63, .5);
}
.hero-anz-marke {
  font: 600 12px/1.3 var(--text); letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-3); margin: 2px 0 12px 2px; text-align: left;
}
.hero-anz-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; text-align: left; }

/* ---------- Eine Anzeige ---------- */
.anz {
  display: flex; flex-direction: column; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper);
  box-shadow: 0 10px 20px -16px rgba(0, 17, 63, .3);
  animation: anz-durchlauf 15s var(--ease) infinite;
}
.anz--2 { animation-delay: -10s; }
.anz--3 { animation-delay: -5s; }

.anz-kopf { display: flex; align-items: center; gap: 9px; }
.anz-zeichen {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--verlauf-dunkel); color: #fff; font: 700 14px/1 var(--head);
}
.anz-wer { display: grid; min-width: 0; }
.anz-wer b { font: 600 13.5px/1.35 var(--text); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.anz-wer i { font: 500 11.5px/1.3 var(--text); font-style: normal; color: var(--ink-3); }

.anz-text { margin: 10px 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.anz-bild {
  display: grid; align-content: center; gap: 8px; padding: 16px 14px;
  aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden;
  background: var(--verlauf-dunkel);
}
.anz-schlag { font: 500 clamp(20px, 2vw, 26px)/1.04 var(--head); letter-spacing: -.02em; color: #fff; }
.anz-schlag span { display: block; margin-top: 5px; font-size: .52em; font-weight: 500; color: var(--on-dark-2); letter-spacing: 0; }
.anz-ort { font: 500 11.5px/1.35 var(--text); color: var(--on-dark-2); }

.anz-fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.anz-ziel { font: 500 11.5px/1.3 var(--text); color: var(--ink-3); }
.anz-knopf {
  flex: none; padding: 7px 11px; border-radius: var(--r-btn);
  background: var(--tint); color: var(--accent-btn); font: 600 12px/1 var(--text);
  transition: background .5s var(--ease), color .5s var(--ease);
}

/* Durchlauf: jede Anzeige ist ein Drittel der Runde vorn */
@keyframes anz-durchlauf {
  0%, 28% { opacity: 1; transform: translateY(-6px); border-color: var(--accent-soft); box-shadow: 0 26px 44px -26px rgba(0, 17, 63, .42); }
  34%, 94% { opacity: .74; transform: translateY(0); border-color: var(--line); box-shadow: 0 10px 20px -16px rgba(0, 17, 63, .3); }
  100% { opacity: 1; transform: translateY(-6px); border-color: var(--accent-soft); box-shadow: 0 26px 44px -26px rgba(0, 17, 63, .42); }
}
@keyframes anz-knopf-an {
  0%, 28% { background: var(--accent-btn); color: #fff; }
  34%, 94% { background: var(--tint); color: var(--accent-btn); }
  100% { background: var(--accent-btn); color: #fff; }
}
.anz .anz-knopf { animation: anz-knopf-an 15s var(--ease) infinite; }
.anz--2 .anz-knopf { animation-delay: -10s; }
.anz--3 .anz-knopf { animation-delay: -5s; }

.hero-anz-notiz { left: -6%; top: -16px; font-size: clamp(21px, 1.8vw, 26px); transform: rotate(-5deg); }
.hero-anz-notiz svg { left: calc(100% + 6px); top: 60%; width: 64px; height: 56px; }

@media (max-width: 1180px) { .hero-anz-notiz { left: 0; } }

@media (max-width: 860px) {
  .hero-anz-notiz { position: static; display: block; margin: 0 0 12px; transform: rotate(-3deg); text-align: center; }
  .hero-anz-notiz svg { display: none; }
}

/* Schmal: die Anzeigen liegen übereinander und wechseln sich ab */
@media (max-width: 820px) {
  .hero-anz-liste { grid-template-columns: minmax(0, 1fr); }
  .anz { grid-area: 1 / 1; animation-name: anz-durchlauf-schmal; }
  @keyframes anz-durchlauf-schmal {
    0%, 28% { opacity: 1; transform: translateY(0); visibility: visible; }
    34%, 94% { opacity: 0; transform: translateY(10px); visibility: hidden; }
    100% { opacity: 1; transform: translateY(0); visibility: visible; }
  }
}

@media (max-width: 640px) {
  .hero-ruhig .hero h1 { font-size: clamp(34px, 9.2vw, 44px); max-width: none; }
  .hero-ruhig .hero-knoepfe .btn { flex: 1 1 100%; }
  .hero-anz-rahmen { padding: 10px; border-radius: 18px; }
  .anz-bild { aspect-ratio: 4 / 3; }
}

/* Weniger Bewegung: kein Durchlauf, alle Anzeigen ruhig */
@media (prefers-reduced-motion: reduce) {
  .anz, .anz .anz-knopf { animation: none; }
  .anz--1 { border-color: var(--accent-soft); }
  .anz--1 .anz-knopf { background: var(--accent-btn); color: #fff; }
  @media (max-width: 820px) {
    .anz--2, .anz--3 { display: none; }
  }
}


/* ===== Teil: merkmale ===== */
/* Schmales Band zwischen Hero und Logowand: drei Merkmale nebeneinander.
   Gleiche Glas-Kacheln wie die Leistungskarten, kein Rahmen, keine Hover-Bewegung. */
.merkmale { padding: clamp(8px, 1.6vw, 20px) 0 clamp(36px, 4vw, 56px); }
.mk-reihe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; list-style: none; }
.mk { display: flex; align-items: flex-start; gap: 14px; }
.mk .kachel { flex: none; }
.mk-text { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.mk-text b { display: block; margin-bottom: 2px; font: 600 17px/1.3 var(--head); letter-spacing: -.01em; color: var(--ink); }

@media (min-width: 760px) {
  .mk-reihe { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); max-width: 1120px; }
  .mk + .mk { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
}


/* ===== Teil: logos ===== */
/* Logowand: senkrechter Scroller aus reinem CSS, Muster von tobiasnase.de.
   Jede Spalte enthält ihre Logos dreifach (Kopien aria-hidden) und läuft bis -50 %,
   dadurch beginnt sie nahtlos von vorn. Hover und Fokus halten sie an. */
.logos { padding: clamp(40px, 5vw, 64px) 0; background: var(--tint-weak); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.logos-kopf { position: relative; }
.logos-titel { margin: 0; max-width: 13em; font-size: clamp(25px, 2.8vw, 34px); line-height: 1.12; }
.logos-notiz { position: static; display: inline-block; margin-top: 10px; transform: rotate(-4deg); }
.logos-lead { margin-top: 18px; max-width: 30em; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.logos-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--accent-btn); }
.logos-link .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.logos-link:hover .ic { transform: translateX(3px); }

.logo-scroller {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  height: 300px; overflow: hidden; border-radius: var(--r-card);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.logo-scroller:focus-visible { outline-offset: 4px; }
.logo-spalte { display: flex; flex-direction: column; list-style: none; animation: logo-lauf var(--dauer, 30s) linear infinite; will-change: transform; }
.logo-spalte--ab { animation-direction: reverse; }
.logo-spalte--drei { display: none; }
.logo-scroller:hover .logo-spalte, .logo-scroller:focus-within .logo-spalte { animation-play-state: paused; }
.logo-spalte li { display: grid; place-items: center; flex: none; height: 64px; margin-bottom: 12px; padding: 12px 16px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line-mid); }
.logo-spalte img { max-width: 100%; max-height: 34px; width: auto; object-fit: contain; filter: brightness(0); opacity: .6; }
@keyframes logo-lauf { from { transform: translateY(0); } to { transform: translateY(-50%); } }

@media (min-width: 700px) {
  .logo-scroller { grid-template-columns: repeat(3, minmax(0, 1fr)); height: 260px; }
  .logo-spalte--drei { display: flex; }
  .logo-spalte .nur-mobil { display: none; }
}
@media (min-width: 1000px) {
  .logos-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: stretch; }
  .logo-scroller { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-scroller { height: auto; -webkit-mask-image: none; mask-image: none; }
  .logo-spalte .logo-kopie { display: none; }
}



/* ===== Teil: branchen ===== */
/* Branchen: kompakter Streifen unter dem Hero. Links Kopf, rechts ein freies Band
   aus Branchen-Pillen unterschiedlicher Breite (kein Kartenraster). Mobil: zweizeilig wischbar. */
.branchen { padding: clamp(52px, 6vw, 80px) 0; }
.branchen-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.branchen h2 { font-size: clamp(28px, 3vw, 38px); max-width: 12em; margin-bottom: 14px; }
.branchen-kopf p { max-width: 26em; font-size: 16px; }

.branchen-band { display: flex; flex-wrap: wrap; gap: 10px; }
.branche {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 18px 7px 7px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line-mid);
  box-shadow: 0 10px 24px -20px rgba(0, 17, 63, .35);
}
.branche-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--accent-btn); }
.branche-ic .ic { width: 18px; height: 18px; }
.branche-text { display: grid; line-height: 1.25; }
.branche-text strong { font: 500 16px/1.2 var(--head); letter-spacing: -.01em; color: var(--ink); }
.branche-text span { font-size: 13px; color: var(--ink-3); white-space: nowrap; }

@media (min-width: 1000px) {
  .branchen-raster { grid-template-columns: minmax(0, 3.3fr) minmax(0, 8.7fr); gap: clamp(40px, 4.5vw, 64px); }
}

@media (max-width: 640px) {
  .branchen-band {
    display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: max-content;
    gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .branchen-band::-webkit-scrollbar { display: none; }
  .branche { scroll-snap-align: start; }
}


/* ===== Teil: leistungen ===== */
/* Leistungen: Karten im ClosingHub-Aufbau, Raster ohne Lücke.
   Desktop 6 Spalten: Kernleistung breit, dann 3 x 2 Spalten, dann 2 x 3 Spalten, BenefitBindung breit.
   Tablet 2 Spalten: Kernleistung breit, 4 Karten paarweise, die fünfte breit, BenefitBindung breit.
   Handy einspaltig. Keine Hover-Effekte. */

.leist-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

.leist-karte .karte-flaeche { position: relative; }
.leist-karte h3 { font-size: 22px; letter-spacing: -.015em; }
.leist-zeile { font: 600 16px/1.4 var(--text); color: color-mix(in srgb, var(--farbe) 55%, var(--ink)); }
.leist-karte .karte-flaeche p:not(.leist-zeile) { font-size: 15px; line-height: 1.55; }

.leist-punkte { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.leist-punkte li {
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid color-mix(in srgb, var(--farbe) 22%, var(--line));
  font: 600 13px/1.25 var(--text);
  color: color-mix(in srgb, var(--farbe) 62%, var(--ink));
}

/* Kernleistung */
.leist-pille { position: absolute; top: 22px; right: 22px; }
.leist-karte--haupt .karte-flaeche { padding: 26px 24px 28px; }
.leist-karte--haupt h3 { font-size: clamp(24px, 2.4vw, 30px); padding-right: 110px; }
.leist-karte--haupt .leist-zeile { font-size: 17px; }
.leist-karte--haupt .karte-flaeche p:not(.leist-zeile) { font-size: 16px; max-width: 34em; }
.leist-karte--haupt .leist-punkte li { padding: 9px 14px; font-size: 14px; background: #fff; }
.leist-haupt-text { display: flex; flex-direction: column; gap: 8px; }

/* BenefitBindung 360° Plus: eigenes Produkt, dunkle Fläche in Türkis */
.leist-bindung {
  position: relative; isolation: isolate; overflow: hidden; flex: 1;
  display: grid; gap: 22px;
  padding: 28px 24px 30px; border-radius: 16px;
  color: var(--on-dark-2);
  background:
    radial-gradient(ellipse 55% 90% at 100% 100%, color-mix(in srgb, var(--farbe) 70%, transparent) 0, transparent 62%),
    linear-gradient(135deg, #00113f 0%, #062a62 58%, #07436b 100%);
}
.leist-bindung .raster {
  background-image:
    linear-gradient(to right, rgba(125, 226, 235, .14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(125, 226, 235, .14) 1px, transparent 1px); }
.leist-bindung-kopf { display: flex; flex-direction: column; gap: 8px; }
.leist-bindung .kachel { box-shadow: 0 10px 24px -10px rgba(14, 154, 167, .9); }
.leist-bindung-label { font: 600 26px/1 var(--hand); color: #7de2eb; transform: rotate(-3deg); transform-origin: left; margin-bottom: 2px; }
.leist-bindung h3 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.leist-bindung .leist-zeile { color: #cfeff2; font-size: 17px; }
.leist-bindung-text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.leist-bindung-text p { font-size: 16px; line-height: 1.6; max-width: 36em; }
.leist-bindung-text .leist-bindung-satz { font: 500 clamp(19px, 1.8vw, 22px)/1.4 var(--head); letter-spacing: -.01em; color: #fff; }
.leist-bindung .btn { margin-top: 6px; }

@media (min-width: 700px) {
  .leist-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leist-karte--haupt,
  .leist-karte:nth-child(6),
  .leist-karte--bindung { grid-column: 1 / -1; }
  .leist-karte--haupt .karte-flaeche { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: end; padding: 30px 30px 32px; }
  .leist-karte--haupt .leist-punkte { align-content: flex-end; padding-top: 0; }
  .leist-karte--haupt h3 { padding-right: 0; }
  .leist-bindung { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 38px 36px 40px; }
}

@media (min-width: 1024px) {
  .leist-raster { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .leist-karte { grid-column: span 2; }
  .leist-karte:nth-child(5),
  .leist-karte:nth-child(6) { grid-column: span 3; }
  .leist-karte--haupt,
  .leist-karte--bindung { grid-column: 1 / -1; }
  .leist-karte--haupt .karte-flaeche { padding: 36px 40px 38px; gap: 48px; }
  .leist-bindung { padding: 44px 48px 46px; gap: 64px; }
}

@media (max-width: 699px) {
  .leist-pille { position: static; align-self: flex-start; margin-bottom: 6px; }
  .leist-karte--haupt h3 { padding-right: 0; }
  .leist-karte .karte-flaeche { padding: 20px 18px 22px; }
  .leist-punkte li { padding: 7px 10px; font-size: 12.5px; }
  .leist-bindung { padding: 26px 20px 28px; }
}


/* ===== Teil: problem ===== */
/* Problem: vier Gründe als asymmetrisches Raster.
   Desktop: großer Hauptgrund links über zwei Reihen, zwei Gründe rechts, der vierte als breite Zeile mit Bausteinen. */
.problem h2 { max-width: none; }
.problem .randnotiz--links { margin-left: 84px; }

.prob-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.prob {
  position: relative; display: grid; gap: 14px; align-content: start;
  padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-big);
  background: var(--paper); border: 1px solid var(--line-mid);
}
.prob h3 { font-size: clamp(20px, 1.8vw, 23px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 10px; }
.prob p { font-size: 15.5px; }

/* Zahl als Teil des Inhalts */
.prob-zahl { display: grid; gap: 6px; align-content: start; }
.prob-zahl b { font: 500 clamp(34px, 3.4vw, 44px)/1 var(--head); letter-spacing: -.035em; color: var(--accent); white-space: nowrap; }
.prob-zahl span { font: 600 13px/1.35 var(--text); color: var(--ink-3); }

.prob--haupt {
  align-content: space-between; gap: 28px;
  border: 2px solid var(--accent-btn);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent) 0, transparent 70%),
    linear-gradient(170deg, color-mix(in srgb, var(--accent) 7%, #fff) 0%, #fff 70%);
}
.prob--haupt .prob-zahl b { font-size: clamp(64px, 8vw, 112px); line-height: .92; }
.prob--haupt .prob-zahl span { font-size: 15px; color: var(--accent-deep); }
.prob--haupt h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 14px; }
.prob--haupt p { font-size: 16.5px; max-width: 30em; }

.prob-bausteine { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.prob-bausteine li { padding: 8px 13px; border-radius: 999px; background: var(--tint-weak); border: 1px solid var(--line-mid); font: 600 13.5px/1 var(--text); color: var(--ink); }

@media (min-width: 760px) {
  .prob:not(.prob--haupt):not(.prob--breit) { grid-template-columns: 150px minmax(0, 1fr); gap: 22px; }
  .prob--breit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
}
@media (min-width: 1000px) {
  .prob-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .prob--haupt { grid-row: span 2; }
  .prob--breit { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
  .prob--breit .prob-bausteine { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .problem .randnotiz { display: block; width: max-content; margin: 12px 0 0; transform: rotate(-3deg); }
  .problem .randnotiz svg { display: none; }
  .prob--haupt .prob-zahl b { font-size: 72px; }
}


/* ===== Teil: verstaerken ===== */
/* Verstärken: a) Tafel „Heute“ gegen „Mit Recruiting Partner“ (zwei Hälften, Pfeil dazwischen),
   b) Kostenvergleich im Aufbau der Preiskarten (eine hervorgehoben), c) kurzer Aufruf als Zeile. */

/* ---------- a) Tafel ---------- */
.vst-tafel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: stretch; }
.vst-seite { padding: clamp(24px, 3vw, 38px); border-radius: var(--r-big); }
.vst-label { font: 700 12.5px/1.3 var(--text); letter-spacing: .04em; color: var(--ink-3); margin-bottom: 10px; }
.vst-seite h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; margin-bottom: 22px; max-width: 16em; }
.vst-liste { display: grid; gap: 14px; }
.vst-liste li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.vst-ic { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; }
.vst-ic .ic { width: 14px; height: 14px; stroke-width: 2.4; }

.vst-heute { background: transparent; border: 1px dashed var(--line-mid); color: var(--ink-3); }
.vst-heute h3 { color: var(--ink-2); }
.vst-heute .vst-ic { background: #e9edf4; color: #7a849b; }

.vst-mit {
  border: 2px solid var(--accent-btn); color: var(--ink);
  background:
    radial-gradient(ellipse 80% 90% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent) 0, transparent 70%),
    var(--paper);
  box-shadow: 0 40px 70px -50px rgba(0, 103, 214, .55);
}
.vst-mit .vst-label { color: var(--accent-btn); }
/* Überall, wo „Recruiting Partner“ als Vergleichsspalte steht, sitzt das Icon davor (wie das Logo in der Methode-Tabelle) */
.vst-mit .vst-label, .vst-preis--rp h4 { display: flex; align-items: center; gap: 8px; }
.vst-mit .vst-label::before, .vst-preis--rp h4::before { content: ""; flex: none; width: 15px; height: 18px; background: url("/assets/logos/icon-farbe.svg") center / contain no-repeat; }
.vst-mit .vst-ic { background: var(--accent-btn); color: #fff; }

.vst-pfeil { display: grid; place-items: center; justify-self: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-mid); color: var(--accent-btn); transform: rotate(90deg); }
.vst-pfeil .ic { width: 20px; height: 20px; }

/* ---------- b) Kosten ---------- */
.vst-kosten { margin-top: clamp(64px, 8vw, 104px); }
.vst-kosten-titel { font-size: clamp(28px, 3.4vw, 42px); max-width: 16em; }
.vst-kosten-lead { max-width: 36em; margin: 14px 0 clamp(28px, 3.6vw, 44px); font-size: 17px; }

.vst-preise { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; }
.vst-preis h4 { font: 600 15px/1.3 var(--text); letter-spacing: 0; color: var(--ink-2); }
.vst-betrag { display: grid; gap: 4px; margin: 4px 0 18px; }
.vst-betrag b { font: 500 clamp(32px, 3vw, 40px)/1.05 var(--head); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.vst-betrag span { font-size: 14px; color: var(--ink-3); }
.vst-preis:not(.vst-preis--rp) .vst-betrag b { color: var(--ink-2); }

.vst-punkte { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.vst-punkte li { position: relative; padding-left: 28px; }
.vst-punkte li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 18px; height: 18px; border-radius: 50%;
  background: #eceff5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%237a849b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.vst-punkte--ja li { color: var(--ink); }
.vst-punkte--ja li::before { background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230067d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

.vst-preis--rp { --farbe: var(--accent); box-shadow: 0 40px 70px -50px rgba(0, 103, 214, .6); }
.vst-preis--rp .pille { position: absolute; top: 22px; right: 22px; z-index: 1; }
.vst-preis--rp h4 { color: var(--accent-btn); }
.vst-preis--rp .vst-betrag b { color: var(--accent-btn); }

.vst-fussnote { max-width: 60em; margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- c) Aufruf ---------- */
.vst-aufruf {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3vw, 32px) clamp(22px, 3.4vw, 40px);
  border-radius: var(--r-big); background: var(--paper); border: 1px solid var(--line-mid);
}
.vst-aufruf-titel { font: 500 clamp(22px, 2.2vw, 28px)/1.15 var(--head); letter-spacing: -.02em; color: var(--ink); margin-bottom: 4px; }
.vst-aufruf p:not(.vst-aufruf-titel) { font-size: 16px; }

@media (min-width: 900px) {
  .vst-tafel { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; align-items: center; }
  .vst-heute { margin-right: -24px; padding-right: calc(clamp(24px, 3vw, 38px) + 24px); }
  .vst-mit { position: relative; z-index: 1; margin-left: -24px; padding-left: calc(clamp(24px, 3vw, 38px) + 24px); }
  .vst-pfeil { position: relative; z-index: 2; transform: none; }
  .vst-preise { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .vst-aufruf .btn { flex: 1 1 100%; }
  .vst-preis--rp .pille { top: 18px; right: 18px; }
}


/* ===== Teil: methode ===== */
/* Methode im Vergleich: echte Tabelle.
   Desktop: ruhige weiße Fläche, die Spalte "Recruiting Partner" als erhöhte Karte (.meth-akzent liegt
   exakt unter der zweiten Spalte, table-layout: fixed). Nur eine Trennlinie zwischen den Zeilen.
   Handy und Tablet (< 900 px): jede Zeile wird eine Karte pro Kriterium, kein horizontales Scrollen. */

.meth-buehne {
  position: relative;
  margin-top: 8px;
  background: var(--paper);
  border: 1px solid var(--line-mid);
  border-radius: 22px;
  box-shadow: 0 30px 60px -48px rgba(0, 17, 63, .35);
}
.meth-akzent {
  position: absolute; z-index: 0;
  top: -16px; bottom: -16px; left: 36%; width: 19%;
  border-radius: 18px;
  border: 2px solid var(--accent-btn);
  background:
    radial-gradient(ellipse 90% 40% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent) 0, transparent 75%),
    linear-gradient(180deg, var(--tint-weak) 0%, #fff 40%);
  box-shadow: 0 28px 56px -26px rgba(0, 72, 160, .45), 0 0 0 6px rgba(11, 128, 255, .06);
}
.meth-tabelle {
  position: relative; z-index: 1;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate; border-spacing: 0;
  font-size: 15.5px;
}
.meth-sp-kriterium { width: 36%; }
.meth-sp-wir { width: 19%; }

.meth-tabelle th, .meth-tabelle td { padding: 18px 12px; text-align: center; vertical-align: middle; }
.meth-tabelle thead th { padding: 30px 12px 22px; font: 600 15px/1.3 var(--text); color: var(--ink-2); }
.meth-tabelle thead .meth-wir img { display: block; width: auto; height: 36px; max-width: 100%; margin: 0 auto; }
.meth-tabelle tbody th {
  text-align: left; padding-left: clamp(22px, 3vw, 36px);
  font: 600 16px/1.35 var(--text); color: var(--ink);
}
.meth-tabelle tbody td, .meth-tabelle tbody th { border-top: 1px solid var(--line); }
.meth-tabelle tbody td.meth-wir { border-top-color: color-mix(in srgb, var(--accent) 14%, #fff); }
.meth-tabelle tbody tr:last-child th, .meth-tabelle tbody tr:last-child td { padding-bottom: 24px; }

/* Haken und Kreuze (Lucide check / x), Textalternative in .nur-sr */
.meth-ja, .meth-nein { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.meth-ja svg, .meth-nein svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.meth-ja { background: #eaeff6; color: var(--ink-2); }
.meth-nein { color: #a3adc2; }
.meth-nein svg { width: 15px; height: 15px; stroke-width: 2.2; }
td.meth-wir .meth-ja {
  width: 34px; height: 34px;
  background: var(--accent-btn); color: #fff;
  box-shadow: 0 8px 16px -8px rgba(0, 103, 214, .8);
}
td.meth-wir .meth-ja svg { width: 18px; height: 18px; stroke-width: 3; }

/* ---------- Handy: Kartenliste pro Kriterium ---------- */
@media (max-width: 899px) {
  .meth-buehne { background: none; border: 0; box-shadow: none; margin-top: 0; }
  .meth-akzent { display: none; }
  .meth-tabelle, .meth-tabelle tbody { display: block; }
  .meth-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .meth-tabelle tbody { display: grid; gap: 12px; }
  .meth-tabelle tbody tr {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 6px;
    padding: 16px 14px 14px;
    background: var(--paper); border: 1px solid var(--line-mid); border-radius: var(--r-card);
  }
  .meth-tabelle tbody th, .meth-tabelle tbody td { border: 0; padding: 0; }
  .meth-tabelle tbody tr:last-child th, .meth-tabelle tbody tr:last-child td { padding-bottom: 0; }
  .meth-tabelle tbody th { grid-column: 1 / -1; padding: 0 2px; font-size: 16.5px; }
  .meth-tabelle tbody td { display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .meth-tabelle tbody td::before { content: attr(data-spalte); font: 600 12px/1.2 var(--text); color: var(--ink-3); }
  .meth-tabelle tbody td.meth-wir {
    grid-column: 1 / -1; flex-direction: row; justify-content: space-between;
    padding: 8px 8px 8px 14px; border-radius: 12px;
    border: 1.5px solid var(--accent-btn); background: var(--tint-weak);
  }
  .meth-tabelle tbody td.meth-wir::before { font-size: 14px; color: var(--ink); }
  td.meth-wir .meth-ja { width: 30px; height: 30px; }
  .meth-ja, .meth-nein { width: 26px; height: 26px; }
  .meth-ja svg { width: 14px; height: 14px; }
}


/* ===== Teil: ablauf ===== */
/* Ablauf: Zeitleiste statt Karten.
   Desktop (>= 1024 px): vier Spalten, eine gepunktete Bahn verbindet die Knoten, zwei Strom-Impulse laufen
   darüber (nur transform). Darunter vertikale Zeitleiste mit Bahn links.
   Die Zeitangabe ist das Label, keine Schritt-Nummern. */

.abl-zeitleiste { position: relative; margin-top: 8px; }
.abl-phasen { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.abl-phase { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; align-items: start; align-content: start; }
.abl-knoten {
  grid-row: 1 / span 2;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  color: var(--accent-btn); background: var(--tint);
  border: 1.5px dashed var(--accent-soft);
  box-shadow: 0 0 0 8px var(--paper);
}
.abl-knoten .ic { width: 22px; height: 22px; }
.abl-phase--ziel .abl-knoten { background: var(--accent-btn); color: #fff; border: 1.5px solid var(--accent-btn); box-shadow: 0 0 0 8px var(--paper), 0 10px 22px -8px rgba(0, 103, 214, .7); }

.abl-inhalt { grid-column: 2; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.abl-zeit { align-self: flex-start; padding: 6px 11px; border-radius: 999px; background: var(--tint); color: var(--accent-btn); font: 700 13px/1 var(--text); letter-spacing: .01em; }
.abl-phase--ziel .abl-zeit { background: var(--accent-btn); color: #fff; }
.abl-inhalt h3 { font-size: 22px; margin-top: 4px; }
.abl-inhalt > p:not(.abl-zeit) { font-size: 15.5px; line-height: 1.6; }
.abl-punkte { display: grid; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line-mid); }
.abl-punkte li { position: relative; padding-left: 26px; font: 600 14px/1.35 var(--text); color: var(--ink); }
.abl-punkte li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230067d6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* Handschrift-Notiz an Phase 4 (mobil unter der Zeitangabe, ohne Pfeil) */
.abl-notiz { position: static; grid-column: 2; justify-self: start; margin: 2px 0 10px; font-size: 23px; transform: rotate(-3deg); transform-origin: left; white-space: normal; }
.abl-notiz svg { display: none; }

/* Bahn mit Strom-Impulsen: vertikal (Handy, Tablet) */
.abl-bahn {
  position: absolute; z-index: 0; left: 21px; top: 26px; bottom: 40px; width: 10px; overflow: hidden;
  background: radial-gradient(circle, rgba(11, 128, 255, .45) 1px, transparent 1.6px) center top / 10px 8px repeat-y;
}
.abl-impuls { position: absolute; inset: 0; animation: abl-runter 4.4s cubic-bezier(.45, .05, .55, .95) infinite; }
.abl-impuls::after {
  content: ""; position: absolute; left: 3px; top: -70px; width: 4px; height: 70px; border-radius: 4px;
  background: linear-gradient(180deg, transparent 0, #4DE8FF 70%, #fff 100%);
  box-shadow: 0 0 8px rgba(77, 232, 255, .8);
}
.abl-impuls--2 { animation-delay: -2.2s; }
.abl-impuls--2::after { height: 44px; top: -44px; background: linear-gradient(180deg, transparent 0, #7fb8ff 70%, #fff 100%); box-shadow: 0 0 8px rgba(11, 128, 255, .8); }
@keyframes abl-runter { from { transform: translateY(0); } to { transform: translateY(calc(100% + 70px)); } }

.abl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: clamp(40px, 5vw, 56px); }
.abl-cta p { font-size: 15px; color: var(--ink-3); }

@media (min-width: 1024px) {
  .abl-zeitleiste { margin-top: 20px; }
  .abl-phasen { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .abl-phase { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: stretch; row-gap: 22px; }
  .abl-inhalt { align-self: stretch; }
  .abl-punkte { margin-top: auto; }
  .abl-knoten { grid-row: auto; width: 56px; height: 56px; }
  .abl-inhalt { grid-column: 1; }
  .abl-notiz { position: absolute; grid-column: auto; right: calc(100% - 4px); left: auto; top: -52px; margin: 0; font-size: 25px; white-space: nowrap; transform: rotate(-4deg); transform-origin: right; }
  .abl-notiz svg { display: block; left: 100%; top: 16px; margin-left: 2px; width: 44px; height: 30px; }

  .abl-bahn {
    left: 28px; right: 0; top: 23px; bottom: auto; width: auto; height: 10px;
    background: radial-gradient(circle, rgba(11, 128, 255, .45) 1px, transparent 1.6px) left center / 8px 10px repeat-x;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .abl-impuls { animation-name: abl-rechts; animation-duration: 5.2s; }
  .abl-impuls--2 { animation-delay: -2.6s; }
  .abl-impuls::after { left: -90px; top: 3px; width: 90px; height: 4px; background: linear-gradient(90deg, transparent 0, #4DE8FF 70%, #fff 100%); }
  .abl-impuls--2::after { left: -56px; top: 3px; width: 56px; height: 4px; background: linear-gradient(90deg, transparent 0, #7fb8ff 70%, #fff 100%); }
  @keyframes abl-rechts { from { transform: translateX(0); } to { transform: translateX(calc(100% + 90px)); } }
}


/* ===== Teil: beweis ===== */
/* Beweis (O): Referenz, Kennzahlen-Band, Pflege-Case, Cases, Stimmen, Übergang. Präfix .bw- */
.bw h2 { margin-bottom: clamp(36px, 5vw, 56px); }

/* a) Referenz: breite Karte, links Text, rechts Kennzahl + Zitat auf getönter Fläche */
.bw-ref {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px;
  border: 1px solid var(--line-mid); border-radius: 22px; background: var(--paper);
  box-shadow: 0 30px 60px -44px rgba(0, 17, 63, .35);
}
.bw-ref-text { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 36px); }
.bw-ref-firma { font: 700 13px/1.4 var(--text); color: var(--accent-btn); }
.bw-ref-firma span { display: block; font-weight: 600; color: var(--ink-3); }
.bw-ref h3 { font-size: clamp(26px, 2.8vw, 34px); max-width: 13em; }
.bw-ref-text > p:not(.bw-ref-firma) { max-width: 34em; }
.bw-ref-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; margin-top: 4px; padding: 10px 14px; border: 1px solid var(--line-mid); border-radius: var(--r-btn); font: 600 14px/1 var(--text); color: var(--ink); background: var(--paper); transition: border-color .2s var(--ease), background .2s var(--ease); }
.bw-ref-link:hover { border-color: var(--accent-soft); background: var(--tint-weak); }
.bw-ref-link .ic { width: 16px; height: 16px; color: var(--accent-btn); }
.bw-ref-zitat {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(11, 128, 255, .16) 0, transparent 70%),
    linear-gradient(160deg, var(--tint) 0%, var(--tint-weak) 80%);
}
.bw-ref-zahl b { display: block; font: 500 clamp(56px, 7vw, 88px)/.95 var(--head); letter-spacing: -.04em; color: var(--accent); }
.bw-ref-zahl span { display: block; margin-top: 6px; font: 500 20px/1.2 var(--head); letter-spacing: -.02em; color: var(--ink); }
.bw-ref-zitat blockquote { font: 500 clamp(18px, 1.7vw, 21px)/1.45 var(--head); letter-spacing: -.01em; color: var(--ink); max-width: 30em; }
.bw-ref-zitat figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.bw-ref-zitat figcaption b { display: block; color: var(--ink); }
.bw-ref-foto { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 30%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line-mid); }

/* b) Kennzahlen-Band: ruhig,ohne Karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; margin: clamp(48px, 6vw, 72px) 0; }

/* c) Pflege-Case: große Karte,Headline aus drei Zahlen {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 4vw, 48px); border-radius: var(--r-big);
  background: var(--paper); border: 1px solid var(--line-mid);
}

/* d) Cases: Raster füllt sich mit 1 { margin-top: clamp(56px, 7vw, 88px); }

/* e) Stimmen: Zitat-Reihe ohne Karten,ohne Avatare { margin-top: clamp(56px, 7vw, 88px); }

/* f) Übergang */
.bw-weiter { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: clamp(56px, 7vw, 80px); padding: 22px 24px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line-mid); }
.bw-weiter p { font-size: 17px; }

@media (min-width: 700px) {
  .bw-weiter { flex-direction: row; align-items: center; justify-content: space-between; padding: 20px 20px 20px 28px; }
}
@media (min-width: 960px) {
  .bw-ref { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .bw-ref-text { justify-content: center; }
}


/* ===== Teil: team ===== */
/* Team (Über uns). Präfix .tm- */
.tm-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
.tm h2 { max-width: 12em; font-size: clamp(32px, 3.8vw, 46px); }
.tm-nw { white-space: nowrap; }
.tm-lead { margin: 20px 0 32px; font-size: 17px; max-width: 32em; }
.tm-fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.tm-fakten dt { font: 600 13px/1.4 var(--text); color: var(--ink-3); }
.tm-fakten dd { margin-top: 4px; font: 500 18px/1.3 var(--head); letter-spacing: -.02em; color: var(--ink); }

/* Personen-Raster: 2 Spalten mobil (Tobias volle Breite), Desktop Tobias groß links über zwei Reihen + 2x2 */
.tm-leute { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tm-person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--r-card); background: var(--tint); border: 1px solid var(--line); }
.tm-person p { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.tm-person p b { display: block; font: 500 17px/1.25 var(--head); letter-spacing: -.02em; color: var(--ink); }
.tm-person--gross { grid-column: 1 / -1; }
.tm-person--gross img { aspect-ratio: 5 / 4; }
.tm-person--gross p b { font-size: 22px; }

@media (min-width: 700px) {
  .tm-leute { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tm-person--gross { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .tm-person--gross img { flex: 1; aspect-ratio: auto; min-height: 0; }
  /* Zwei Personen: beide gleich groß nebeneinander */
  .tm-leute--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
.tm-leute--zwei .tm-person img { aspect-ratio: 4 / 5; }
.tm-leute--zwei .tm-person p b { font-size: 20px; }
@media (min-width: 1024px) {
  .tm-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.tm-bilder { position: relative; }
.tm-notiz { top: -40px; left: calc(50% + 10px); transform: rotate(-5deg); }
.tm-notiz svg { right: 100%; top: 6px; margin-right: 6px; transform: scaleX(-1); }
@media (max-width: 699px) {
  .tm-notiz { position: static; display: block; margin-bottom: 16px; }
  .tm-notiz svg { display: none; }
}


/* ===== Teil: garantie ===== */
/* Konditionen. Präfix .gr- : Text links, große helle Karte mit Caveat-Stempel rechts */
.gr-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.gr h2 { max-width: 12em; }
.gr-lead { margin: 20px 0 30px; font-size: 17px; max-width: 32em; }

.gr-karte {
  position: relative; padding: clamp(28px, 4vw, 44px); padding-top: clamp(64px, 7vw, 76px);
  border-radius: var(--r-big); background: var(--paper); border: 2px solid var(--accent-btn);
  box-shadow: 0 34px 70px -46px rgba(0, 17, 63, .4);
}
.gr-stempel { position: absolute; top: 24px; left: clamp(28px, 4vw, 44px); font: 600 clamp(26px, 2.6vw, 32px)/1 var(--hand); color: var(--accent); transform: rotate(-5deg); }

.gr-liste li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px 0; }
.gr-liste li + li { border-top: 1px solid var(--line); }
.gr-liste li:last-child { padding-bottom: 0; }
.gr-liste .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--tint); color: var(--accent-btn); }
.gr-liste h3 { font-size: 21px; letter-spacing: -.02em; }
.gr-liste p { margin-top: 4px; }

@media (min-width: 960px) {
  .gr-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}


/* ===== Teil: nicht-fuer ===== */
/* Für wen wir nicht arbeiten: links Kopf (ab Desktop mitlaufend), rechts vier Ausschlussfälle als Liste, darunter die Zielgruppe als Box */
.nf-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.nf-kopf h2 { max-width: 11em; }
.nf-lead { max-width: 30em; margin-top: 18px; font-size: 17px; }

.nf-faelle { display: grid; counter-reset: nf; border-top: 1px solid var(--line); }
.nf-fall {
  position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.nf-x {
  grid-row: 1 / span 2; display: grid; place-items: center; width: 32px; height: 32px; margin-top: 1px;
  border-radius: 50%; color: var(--f-rot);
  background: color-mix(in srgb, var(--f-rot) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--f-rot) 22%, #fff);
}
.nf-x .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.nf-fall h3 { font-size: clamp(20px, 1.9vw, 23px); line-height: 1.25; letter-spacing: -.02em; }
.nf-fall p { margin-top: 8px; max-width: 38em; font-size: 16px; }

/* Zielgruppe: die positive Gegenseite, ruhig abgesetzt mit Akzentkante links */
.nf-bleibt {
  position: relative; margin-top: 36px; padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-mid); border-radius: var(--r-big);
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, color-mix(in srgb, var(--accent) 12%, transparent) 0, transparent 70%),
    linear-gradient(160deg, var(--tint-weak) 0%, #fff 80%);
}
.nf-bleibt h3 { font-size: clamp(22px, 2.2vw, 26px); }
.nf-bleibt .randnotiz { font-size: clamp(21px, 2vw, 25px); }
.nf-liste { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 28px; margin-top: 20px; }
.nf-liste li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.nf-liste strong { font-weight: 700; }
.nf-haken { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--accent-btn); color: #fff; }
.nf-haken .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.nf-schluss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-mid); }
.nf-schluss p { font: 500 19px/1.35 var(--head); letter-spacing: -.01em; color: var(--ink); }

@media (min-width: 700px) {
  .nf-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .nf-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .nf-kopf { position: sticky; top: 110px; }
  .nf-faelle { border-top: 0; }
  .nf-fall:first-child { padding-top: 4px; }
}

@media (max-width: 899px) {
  .nf-fall { grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; padding: 22px 0; }
  .nf-x { width: 28px; height: 28px; }
  .nf-bleibt .randnotiz { display: block; margin: 8px 0 0; width: max-content; transform: rotate(-3deg); }
  .nf-schluss .btn { width: 100%; }
}


/* ===== Teil: faq ===== */
/* FAQ: links Überschrift (ab Desktop mitlaufend), rechts Akkordeon aus <details> */
.faq-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.faq-nachsatz { margin-top: 14px; font-size: 16px; }
.faq-nachsatz a { white-space: nowrap; color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent-deep) 40%, transparent); }
.faq-nachsatz a:hover { text-decoration-color: currentColor; }
.faq-liste { display: grid; gap: 10px; }
.frage { border: 1px solid var(--line-mid); border-radius: var(--r-card); background: var(--paper); transition: border-color .2s var(--ease); }
.frage[open] { border-color: var(--accent-soft); }
.frage summary { position: relative; list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 500 19px/1.35 var(--head); letter-spacing: -.01em; color: var(--ink); border-radius: var(--r-card); }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--accent-btn); border-bottom: 2px solid var(--accent-btn); transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s var(--ease); }
.frage[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.frage p { padding: 0 22px 22px; font-size: 16px; max-width: 44em; }

@media (min-width: 1100px) {
  .faq-raster { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
  .faq-kopf { position: sticky; top: 110px; }
}

@media (max-width: 899px) {
  .frage summary { font-size: 17px; padding: 18px 50px 18px 18px; }
  .frage summary::after { right: 20px; }
  .frage p { padding: 0 18px 18px; }
}


/* ===== Teil: kontakt ===== */
/* Kontakt: die eine laute Fläche der Seite. Links Gespräch und direkte Wege, rechts der Kalender (Ruhezustand, Calendly erst nach Klick) */
.kon-karte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
/* Markenmotiv: das ganze Icon als großes weißes Wasserzeichen hinter der linken Spalte */
.kon-marke { position: absolute; z-index: -1; left: 22%; top: 50%; width: 600px; height: 733px; transform: translate(-50%, -50%); opacity: .05; pointer-events: none; --rp-ring: #fff; --rp-punkt: #fff; }

.kon-person { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.kon-foto { position: relative; flex: none; width: 76px; height: 76px; }
.kon-foto-bild { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: #dfe6ff; }
.kon-foto-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.5); transform-origin: 52% 30%; }
.kon-foto .strom { inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); transform: rotate(-90deg); }
.kon-foto .strom-bahn { stroke: rgba(255, 255, 255, .24); }
.kon-notiz { display: inline-block; font: 600 clamp(22px, 2.3vw, 27px)/1.05 var(--hand); color: var(--accent-soft); transform: rotate(-4deg); }

.kon-karte h2 { color: #fff; font-size: clamp(38px, 5vw, 60px); max-width: 12em; margin-bottom: 18px; }
.kon-text { max-width: 31em; font-size: 17px; color: var(--on-dark-2); }

.kon-mitnehmen { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.kon-mitnehmen h3 { font: 600 15px/1.4 var(--text); letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.kon-mitnehmen ul { display: grid; gap: 11px; }
.kon-mitnehmen li { position: relative; padding-left: 32px; color: #e3e9f6; }
.kon-mitnehmen li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(156, 201, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(156, 201, 255, .35);
}

.kon-wege { align-self: end; }
.kon-wege-titel { font-size: 14px; color: var(--on-dark-2); margin-bottom: 10px; }
.kon-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 360px; }
.kon-daten { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; font-size: 14px; }
.kon-daten a { color: #e3e9f6; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; position: relative; }
.kon-daten a::after { content: ""; position: absolute; inset: -11px -4px; }
.kon-daten a:hover { text-decoration-color: #fff; }

/* Kalender: Ruhezustand als Glasfläche; nach dem Klick ersetzt seite.js den Inhalt durch das Calendly-Iframe */
.kon-kalender {
  position: relative; isolation: isolate; display: flex; overflow: hidden;
  border-radius: var(--r-card);
  background: rgba(0, 17, 63, .5);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 8, 32, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.kon-kalender::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .075) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .075) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000 20%, transparent 75%);
}
.kon-kalender.ist-geladen::before { display: none; }
.kon-kalender iframe { display: block; width: 100%; min-height: 700px; border: 0; background: #fff; }
.kon-kalender.ist-geladen { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.kon-ruhe { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 36px 20px; text-align: center; }
.kon-kal-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.kon-kal-icon .ic { width: 30px; height: 30px; stroke-width: 1.6; }
.kon-ruhe h3 { font-size: clamp(24px, 2.4vw, 28px); }
.kon-fakten { display: grid; justify-items: start; gap: 10px; width: max-content; max-width: 100%; margin: 20px auto 30px; }
.kon-fakten li { display: flex; align-items: center; gap: 10px; color: #eef2fa; font-size: 16px; }
.kon-fakten .ic { width: 18px; height: 18px; color: var(--accent-soft); }
.kon-ruhe .btn { min-width: 220px; }
.kon-hinweis { max-width: 24em; margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--on-dark-2); }
.kon-hinweis a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 2px; }

@media (min-width: 900px) {
  .kon-karte { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto 1fr; gap: 36px clamp(40px, 5vw, 64px); }
  .kon-intro { grid-column: 1; grid-row: 1; }
  .kon-wege { grid-column: 1; grid-row: 2; }
  .kon-kalender { grid-column: 2; grid-row: 1 / span 2; }
  /* Platz für das Calendly-Iframe reservieren, damit beim Laden nichts springt */
  .kon-kalender { min-height: 700px; }
}

@media (max-width: 899px) {
  .kon > .wrap { padding: 0 10px; }
  .kon-karte {
    padding: 32px 20px 24px; gap: 28px; border-radius: 24px;
    /* Heller Lichtpunkt unten rechts gedämpft: dort liegen mobil Knöpfe und Links (Kontrast AA) */
    background:
      radial-gradient(ellipse 70% 30% at 100% 100%, #1560c9 0, transparent 65%),
      linear-gradient(160deg, #00113f 0%, #07256e 60%, #0a3f95 100%);
  }
  .kon-foto { width: 64px; height: 64px; }
  .kon-marke { left: auto; right: -120px; top: -40px; width: 340px; height: 415px; transform: none; opacity: .06; }
  .kon-person { gap: 16px; }
  .kon-notiz { font-size: 22px; }
  .kon-karte h2 { font-size: 38px; }
  .kon-text { font-size: 16px; }
  .kon-knoepfe { max-width: none; }
  .kon-ruhe { padding: 28px 18px 24px; }
  .kon-ruhe .btn { width: 100%; min-width: 0; }
  .kon-kalender iframe { min-height: 660px; }
}


/* ===== Teil: fuss ===== */
/* ---------- Fuß: Papier- und Karo-Look, Wortmarke unten ---------- */
.fuss { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 88px) 0 0; font-size: 15px; color: var(--ink-2); background: var(--tint-weak); border-top: 1px solid var(--line); }
.fuss.kariert::before {
  background-image: linear-gradient(to right, #d9e5f5 1px, transparent 1px), linear-gradient(to bottom, #d9e5f5 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 0% 0%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 55% 75% at 0% 0%, #000 35%, transparent 80%);
}
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 24px; }
.fuss-marke { grid-column: 1 / -1; }
.fuss-marke .marke img { height: 40px; }
.fuss-text { margin-top: 20px; max-width: 20em; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.fuss-sozial { display: flex; gap: 8px; margin-top: 22px; }
.fuss-sozial a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line-mid); transition: color .2s var(--ease), border-color .2s var(--ease); }
.fuss-sozial a:hover { color: var(--accent-btn); border-color: var(--accent-soft); }
.fuss-sozial .ic { width: 17px; height: 17px; }

.fuss-spalte { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.fuss-spalte h2 { font: 600 16px/1.3 var(--head); letter-spacing: -.01em; color: var(--ink); margin-bottom: 10px; }
.fuss-spalte a, .fuss-spalte button { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font: inherit; color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; transition: color .2s var(--ease); }
.fuss-spalte a:hover, .fuss-spalte button:hover { color: var(--accent-btn); }
.fuss-spalte > a > .ic { width: 16px; height: 16px; color: var(--accent); }
.fuss-spalte a.fuss-cta { color: var(--accent-btn); font-weight: 600; }
.fuss-bereich { --farbe: var(--accent); }
.fuss-bereich > span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; color: var(--farbe); background: color-mix(in srgb, var(--farbe) 12%, #fff); border: 1px solid color-mix(in srgb, var(--farbe) 22%, #fff); }
.fuss-bereich > span .ic { width: 14px; height: 14px; }

.fuss-spalte--notiz { position: relative; }
.randnotiz--fuss { position: absolute; left: 100px; top: -38px; margin: 0; font-size: 22px; }
.randnotiz--fuss svg { right: 100%; left: auto; top: 12%; width: 40px; margin-right: 6px; transform: scaleX(-1); }

.fuss-basis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; margin-top: clamp(40px, 5vw, 60px); padding: 22px 0; border-top: 1px solid var(--line-mid); font-size: 14px; color: var(--ink-3); }
.fuss-basis .nw { white-space: nowrap; }
.fuss-basis a:not(.fuss-hoch) { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-mid); text-underline-offset: 3px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.fuss-basis a:not(.fuss-hoch):hover { color: var(--accent-btn); text-decoration-color: currentColor; }
/* „nach oben“: Handschrift mit gezeichnetem Pfeil */
.fuss-hoch { display: inline-flex; align-items: flex-end; gap: 4px; margin: -18px 0 -6px auto; color: var(--accent); }
.fuss-hoch span { font: 600 25px/1 var(--hand); transform: rotate(-4deg); }
.fuss-hoch svg { width: 30px; height: 36px; overflow: visible; }
.fuss-hoch:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Schriftzug wie auf Karopapier: Icon und Buchstaben mit Raster gefüllt, nach unten auslaufend.
   Das Icon ist eine Maske aus icon-farbe.svg, dadurch bleiben die Abstufungen der Ringsegmente sichtbar. */
.fuss-wortmarke {
  display: flex; align-items: flex-end; justify-content: center; gap: .1em;
  margin: 0 auto -.22em; padding: 0 var(--gutter); max-width: var(--maxw);
  font: 600 clamp(40px, 9.2vw, 138px)/1 var(--head); letter-spacing: -.05em; white-space: nowrap;
  pointer-events: none; user-select: none;
}
.fuss-wm-text, .fuss-wm-icon {
  background:
    linear-gradient(180deg, rgba(244, 248, 255, 0) 20%, #f4f8ff 92%),
    linear-gradient(to right, rgba(11, 128, 255, .34) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(to bottom, rgba(11, 128, 255, .34) 1px, transparent 1px) 0 0 / 16px 16px,
    #d9e9ff;
}
.fuss-wm-text { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.fuss-wm-icon {
  flex: none; width: .8em; height: .98em; margin-bottom: -.04em;
  -webkit-mask: url("/assets/logos/icon-farbe.svg") center bottom / contain no-repeat;
  mask: url("/assets/logos/icon-farbe.svg") center bottom / contain no-repeat;
}
.fuss-spalte a.fuss-sprache { margin-top: 6px; }

/* Handy: Leistungen und Kontakt voll breit, Unternehmen und Rechtliches nebeneinander.
   Tablet: Marke und Kontakt oben, drei Spalten darunter. Ab 1280 px alles in einer Reihe. */
@media (max-width: 759px) {
  .fuss-spalte--kontakt { grid-column: 1 / -1; order: 1; }
}
@media (min-width: 760px) and (max-width: 1279px) {
  .fuss-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-marke { grid-column: span 2; }
  .fuss-spalte--kontakt { grid-row: 1; grid-column: 3; }
}
@media (min-width: 1280px) {
  /* Spalten so breit wie ihr Inhalt, die Marke nimmt den Rest: nichts bricht um */
  .fuss-raster { grid-template-columns: minmax(160px, 1fr) repeat(4, max-content); gap: 40px; }
  .fuss-text { max-width: 17em; }
  .fuss-marke { grid-column: auto; }
}
@media (max-width: 759px) {
  .fuss .randnotiz--fuss { display: none; }
  .fuss-spalte--notiz { grid-column: 1 / -1; }
  .fuss-basis { flex-direction: column; align-items: flex-start; gap: 6px; }
  .fuss-hoch { margin: 10px 0 0; }
  /* Tap-Ziele am Handy mindestens 44 px */
  .fuss-spalte a, .fuss-spalte button { min-height: 44px; }
  .fuss-sozial a { width: 44px; height: 44px; }
  .fuss-hoch { min-height: 44px; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .fuss-hoch path { stroke-dashoffset: 0; }
}

/* Aktuelle Seite (setzt bauen.py auf Unterseiten) */
.fuss a[aria-current="page"] { color: var(--accent-btn); font-weight: 600; }


/* ===== Teil: cookie ===== */
/* ---------- Cookie-Banner (TN-Standard in der CI) ----------
   Heller Karten-Dialog auf abgedunkeltem Grund, mobil unten angedockt, ab 600 px mittig.
   „Nur notwendige“ und „Alle akzeptieren“ exakt gleich groß. Ebene 200. */
.cookie {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0, 17, 63, .5);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .28s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie.ist-offen { opacity: 1; }
html.cookie-offen, html.cookie-offen body { overflow: hidden; }

.cookie-karte {
  position: relative; isolation: isolate; overflow: hidden auto;
  width: 100%; max-width: 468px; max-height: 92dvh;
  padding: 26px 24px calc(20px + env(safe-area-inset-bottom));
  border-radius: var(--r-big) var(--r-big) 0 0;
  background: var(--paper); color: var(--ink-2);
  box-shadow: 0 30px 70px -20px rgba(0, 17, 63, .45);
  overscroll-behavior: contain;
  transform: translateY(24px); transition: transform .32s var(--ease);
}
.cookie.ist-offen .cookie-karte { transform: none; }
/* Karo-Raster dezent oben rechts */
.cookie-karte::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, #e4ebf5 1px, transparent 1px), linear-gradient(to bottom, #e4ebf5 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 40% at 100% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 40% at 100% 0%, #000 20%, transparent 75%);
}

.cookie-kachel { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px; background: var(--accent); color: #fff; box-shadow: 0 8px 18px -8px rgba(11, 128, 255, .75); }
.cookie-kachel .ic { width: 22px; height: 22px; }
.cookie-titel { font: 500 26px/1.12 var(--head); letter-spacing: -.025em; color: var(--ink); margin-bottom: 10px; }
.cookie-text { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin-bottom: 18px; }
.cookie-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.cookie-kategorien { display: grid; gap: 8px; margin-bottom: 18px; }
.cookie-kat { border: 1px solid var(--line); border-radius: 12px; background: var(--tint-weak); }
.cookie-zeile { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 8px 8px 14px; }
.cookie-name { flex: 1; font: 700 15px/1.3 var(--text); color: var(--ink); cursor: pointer; }
.cookie-kat:first-child .cookie-name { cursor: default; }
.cookie-fest { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.cookie-mehr { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 9px; background: none; color: var(--ink-3); cursor: pointer; }
.cookie-mehr:hover { background: var(--tint); color: var(--ink); }
.cookie-mehr .ic { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .22s var(--ease); }
.cookie-mehr[aria-expanded="true"] .ic { transform: rotate(180deg); }
.cookie-info { padding: 0 16px 14px 68px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }

/* Schalter */
.cookie-schalter { position: relative; display: inline-block; width: 42px; height: 25px; flex: none; }
.cookie-schalter input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cookie-schalter input:disabled { cursor: not-allowed; }
.cookie-schalter span { position: absolute; inset: 0; border-radius: 999px; background: #c5cfdf; transition: background .22s var(--ease); }
.cookie-schalter span::before { content: ""; position: absolute; left: 3px; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 17, 63, .3); transition: transform .22s var(--ease); }
.cookie-schalter input:checked + span { background: var(--accent-btn); }
.cookie-schalter input:checked + span::before { transform: translateX(17px); }
.cookie-schalter input:disabled + span { opacity: .45; }
.cookie-schalter input:focus-visible + span { outline: 2px solid var(--accent-btn); outline-offset: 3px; }

/* Schaltflächen: Annehmen und Ablehnen gleich groß, gleich prominent */
.cookie-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 14px; border-radius: var(--r-btn);
  font: 600 15px/1.2 var(--text); cursor: pointer; border: 1.5px solid transparent;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.cookie-knopf:active { transform: translateY(1px); }
.cookie-knopf--ja { background: var(--accent-btn); color: #fff; box-shadow: var(--btn-face); }
.cookie-knopf--ja:hover { background: var(--accent-hover); }
.cookie-knopf--nein { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.cookie-knopf--nein:hover { background: var(--tint-weak); }
.cookie-knopf--speichern { grid-column: 1 / -1; background: var(--tint); color: var(--ink); }
.cookie-knopf--speichern:hover { background: #d6e8ff; }
.cookie-knopf--speichern[hidden] { display: none; }

.cookie-fuss { display: flex; justify-content: center; gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; }
.cookie-fuss a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.cookie-fuss a:hover { color: var(--ink); }

@media (min-width: 600px) {
  .cookie { align-items: center; padding: 24px; }
  .cookie-karte { padding: 30px 28px 24px; border-radius: var(--r-big); }
}
@media (max-width: 380px) {
  .cookie-knoepfe { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie, .cookie-karte, .cookie-schalter span, .cookie-schalter span::before, .cookie-mehr .ic { transition: none !important; }
}
