/* einspunktvier – Startseite: Banner, Projekte, Schwerpunkte, Partner, Über uns, Ansprechpartner, Kontakt */

/* Inhalt mit Platz rechts für die Fortschrittsleiste */
.start { max-width: var(--inhalt-max); margin: 0 auto; }
@media (min-width: 860px) {
  .start { padding-inline: clamp(40px, 3.4vw, 56px); }
}

.abschnitt { padding: clamp(60px, 8vw, 110px) var(--rand) 0; }
.abschnitt--kopf { padding-top: clamp(40px, 6vw, 80px); }
[id] { scroll-margin-top: clamp(84px, 8vw, 104px); }
.abschnitt__kopfzeile {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(20px, 2.4vw, 30px);
}
.abschnitt__kopfaktionen { display: flex; align-items: center; gap: 16px; }

.abschnitt__titel { margin: 0; font-weight: 900; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.035em; }

/* Knopf groß, Knopf mit Rahmen */
.knopf--gross { padding: 14px 26px; }
.knopf--gross:hover { background: var(--dunkelblau); box-shadow: 0 12px 26px rgba(12, 42, 61, .28); }
.knopf--rahmen { background: transparent; color: var(--dunkelblau); border: 1px solid var(--linie); padding: 13px 25px; }
.knopf--rahmen:hover { color: var(--gruen); border-color: var(--gruen); box-shadow: 0 12px 26px rgba(12, 42, 61, .12); }

/* ---------- Videobanner ---------- */
.banner { padding: clamp(10px, 1.2vw, 16px); }
/* Platz im Seitenfluss; der Kasten darin wird beim Einstieg bildschirmfüllend (assets/js/einstieg.js) */
.banner__flaeche { position: relative; height: clamp(420px, 74vh, 780px); }
.banner__kasten { position: absolute; inset: 0; overflow: hidden; background: var(--dunkelblau); }
.banner__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner__verlauf {
  position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end;
  padding: clamp(24px, 4vw, 54px);
  background: linear-gradient(transparent, rgba(12, 42, 61, .72));
}
.banner__titel { margin: 0; width: min(760px, 86%); }
.banner__titel svg { display: block; width: 100%; height: auto; color: var(--weiss); }
.banner__titel text { font-family: "BR Firma", system-ui, sans-serif; font-weight: 700; font-size: 79.014px; fill: currentColor; white-space: pre; }
.banner__titel circle { fill: currentColor; }
.banner__rolle { animation: banner-rolle 12s infinite; }
.banner__pause { position: absolute; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 1; }

/* Einstieg: weißes Logo, Schleier oben, Hinweis „Scrollen“ (nur bildschirmfüllend sichtbar) */
.banner__schleier {
  position: absolute; inset: 0 0 auto 0; height: clamp(140px, 20vh, 240px);
  background: linear-gradient(rgba(12, 42, 61, .55), rgba(12, 42, 61, 0));
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.banner__logo {
  position: absolute; left: 0; top: 0; display: block;
  opacity: 0; transform-origin: left top; pointer-events: none; will-change: transform, opacity;
}
.banner__logo img { height: clamp(34px, 3.6vw, 46px); width: auto; display: block; filter: drop-shadow(0 2px 10px rgba(12, 42, 61, .55)); }
.banner__hinweis {
  position: absolute; right: calc(clamp(16px, 2.4vw, 32px) + 64px); bottom: clamp(24px, 4vw, 54px);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, .8); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  pointer-events: none; opacity: 0; transition: opacity .4s ease;
}
.banner__hinweis span:first-child { text-shadow: 0 1px 8px rgba(12, 42, 61, .55); }
.banner__hinweislinie { width: 1px; height: 26px; background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); }
.banner--voll .banner__hinweis { display: flex; }
@media (max-width: 859.98px) { .banner--voll .banner__hinweis { display: none; } }

/* Header über dem Video, solange der Banner bildschirmfüllend ist */
.kopf--ueber-video {
  position: fixed; left: 0; right: 0; top: 0; z-index: 95;
  background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  color: var(--weiss); transition: opacity .35s ease;
}
.kopf--ueber-video .kopf__nav a:hover { color: var(--weiss); opacity: .8; }
.banner--angehalten .banner__rolle { animation-play-state: paused; }

@keyframes banner-rolle {
  0%     { transform: translateY(0);       animation-timing-function: linear; }
  15%    { transform: translateY(0);       animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  20%    { transform: translateY(72.5px);  animation-timing-function: linear; }
  35%    { transform: translateY(72.5px);  animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  40%    { transform: translateY(145px);   animation-timing-function: linear; }
  55%    { transform: translateY(145px);   animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  60%    { transform: translateY(217.5px); animation-timing-function: linear; }
  75%    { transform: translateY(217.5px); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  80%    { transform: translateY(290px);   animation-timing-function: linear; }
  95%    { transform: translateY(290px);   animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100%   { transform: translateY(362.5px); }
}

/* ---------- Projektleiste ---------- */
.leiste-rahmen { padding: 0 clamp(10px, 1.2vw, 16px); }
.leiste {
  list-style: none; margin: 0; padding: 0;
  display: flex; width: 100%; height: clamp(380px, 42vw, 620px); gap: 3px;
}
.leiste__eintrag {
  position: relative; flex: 1 1 0; min-width: 0; min-height: 0; transition: flex .6s cubic-bezier(.2, .7, .2, 1);
  /* Dauerhafte Stapelebene: Beim Zuklappen fiel sonst z-index weg, Safari baute die Ebenen der Kachel neu auf
     und zeichnete sie für ein Bild gar nicht (Bildschirmaufnahme 261117, NIX-Kachel beim Wechsel zu Kenos) */
  z-index: 1; isolation: isolate;
}
/* aktiv: Maus darüber, Tastaturfokus oder automatischer Durchlauf (assets/js/projektleiste.js) */
.leiste__eintrag:hover, .leiste__eintrag:focus-within, .leiste__eintrag--aktiv { flex: 5 1 0; z-index: 2; }
.leiste__link {
  position: absolute; inset: 0; display: block; overflow: hidden; color: var(--weiss);
  transform: translateZ(0); /* feste Grafikebene für den Bildausschnitt, damit das Foto darin nicht herausfällt */
}
.leiste__link:hover { color: var(--weiss); }
/* Schatten beim Überfahren auf eigener Ebene hinter der Kachel, nur über die Deckkraft eingeblendet.
   Ein animierter box-shadow am Link ließ Safari das Bild darin neu zeichnen (Aufblitzen). */
.leiste__eintrag::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: 0 24px 60px rgba(12, 42, 61, .45); opacity: 0; transition: opacity .4s ease;
}
.leiste__eintrag:hover::before { opacity: 1; }
/* Feste Breite (max-width: none gegen die Grundregel für img): Das Bild wird beim Aufklappen
   nur aufgedeckt, nicht neu skaliert */
.leiste__bild {
  position: absolute; left: 50%; top: 0; width: 42vw; max-width: none; height: 100%;
  object-fit: cover; transform: translate3d(-50%, 0, 0);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  /* Safari: eigene Grafikebene, damit das Bild beim Verschieben nicht neu gezeichnet wird */
  will-change: transform; backface-visibility: hidden;
}
/* Nachbarn rücken leicht zur Seite */
/* Klassen --vor/--nach setzt assets/js/projektleiste.js (statt :has() und ~, die Safari bei jedem Wechsel neu zeichnen ließen) */
.leiste__eintrag--nach .leiste__bild { transform: translate3d(calc(-50% + 4%), 0, 0); }
.leiste__eintrag--vor .leiste__bild { transform: translate3d(calc(-50% - 4%), 0, 0); }
.leiste__schatten {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(12, 42, 61, .78), rgba(12, 42, 61, 0) 55%),
    linear-gradient(to bottom, rgba(12, 42, 61, .5), rgba(12, 42, 61, 0) 28%);
  opacity: 0; transition: opacity .45s ease;
}
/* Feste Breite wie eine aufgeklappte Kachel: Der Name bricht einmal um und wird beim Aufklappen
   nur aufgedeckt, nicht in jedem Bild neu umbrochen */
.leiste__text {
  position: absolute; left: 0; bottom: 0; width: min(35vw, 580px); padding: clamp(16px, 2vw, 30px);
  display: flex; flex-direction: column; gap: 6px; pointer-events: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
}
.leiste__eintrag:is(:hover, :focus-within, .leiste__eintrag--aktiv) :is(.leiste__schatten, .leiste__text, .leiste__logo) { opacity: 1; transform: none; }
/* Projektlogo: oben rechts bündig, weiß, erscheint mit dem Text. Höhe wie bei den Partnerlogos (style im Markup) */
.leiste__logo {
  position: absolute; top: clamp(16px, 2vw, 30px); right: clamp(16px, 2vw, 30px); width: auto; max-width: 40%;
  object-fit: contain; object-position: right top; filter: brightness(0) invert(1); pointer-events: none;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
}
.leiste__name { font-weight: 900; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; } /* lange Namen brechen um statt abgeschnitten zu werden */
.leiste__leistungen { font-weight: 300; font-size: 14px; white-space: nowrap; }

@media (max-width: 859.98px) {
  .leiste { flex-direction: column; height: 760px; }
  .leiste__eintrag:hover, .leiste__eintrag:focus-within, .leiste__eintrag--aktiv { flex: 4 1 0; }
  .leiste__bild { left: 0; top: 50%; width: 100%; height: 320px; transform: translate3d(0, -50%, 0); }
  .leiste__text { width: auto; right: 0; } /* Handy: Kacheln untereinander, Breite bleibt gleich */
  .leiste__eintrag--nach .leiste__bild { transform: translate3d(0, calc(-50% + 4%), 0); }
  .leiste__eintrag--vor .leiste__bild { transform: translate3d(0, calc(-50% - 4%), 0); }
}

/* ---------- Schwerpunkte (Akkordeon) ---------- */
.sp__ueberschrift { margin-bottom: clamp(10px, 1.4vw, 18px); }
.sp { border-top: 1px solid var(--linie); }
.sp__kopf { margin: 0; font: inherit; }
.sp__knopf {
  width: 100%; display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  padding: clamp(16px, 2vw, 24px) 4px;
  background: transparent; border: 0; text-align: left; cursor: pointer; color: inherit;
  transition: box-shadow .35s ease, background-color .25s ease, padding .25s ease;
}
.sp__knopf:hover { background: #f7f7f6; padding-left: 16px; box-shadow: 0 14px 34px rgba(12, 42, 61, .10); }
.sp__knopf[aria-expanded="true"] { background: #f7f7f6; }
.sp__punkt { width: 34px; flex: none; display: flex; align-items: center; }
.sp__icon { width: 26px; height: 26px; color: var(--gruen); transition: transform .35s ease; }
.sp__knopf:hover .sp__icon, .sp__knopf[aria-expanded="true"] .sp__icon { transform: scale(1.08); }
/* großes Symbol als blasses Wasserzeichen am rechten Rand, nach links ausgeblendet */
.sp__knopf { position: relative; overflow: hidden; isolation: isolate; }
.sp__wasser {
  position: absolute; z-index: -1; top: 50%; right: clamp(-50px, -2.5vw, -24px);
  width: clamp(120px, 13vw, 190px); aspect-ratio: 1;
  color: var(--gruen); opacity: .1;
  transform: translateY(-50%) rotate(-8deg);
  -webkit-mask-image: linear-gradient(to right, transparent 5%, #000 75%);
  mask-image: linear-gradient(to right, transparent 5%, #000 75%);
  transition: opacity .35s ease, transform .5s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
}
.sp__wasser svg { width: 100%; height: 100%; stroke-width: 1; }
.sp__knopf:hover .sp__wasser, .sp__knopf[aria-expanded="true"] .sp__wasser { opacity: .16; transform: translateY(-50%) rotate(0deg) translateX(-10px); }
@media (prefers-reduced-motion: reduce) { .sp__wasser, .sp__icon { transition: none; } }
.sp__name {
  flex: 1; font-weight: 300; font-size: clamp(24px, 3.4vw, 38px); letter-spacing: -0.02em; line-height: 1.05;
  transition: color .25s ease;
}
.sp__knopf[aria-expanded="true"] .sp__name { color: var(--gruen); }
.sp__kurz { width: 300px; flex: none; font-weight: 300; font-size: 14px; color: rgba(12, 42, 61, .72); }
.sp__zeichen {
  width: 38px; height: 38px; flex: none; border: 1px solid var(--linie);
  display: grid; place-items: center;
  font-weight: 300; font-size: 20px; line-height: 1; color: var(--gruen);
}
.sp__zeichen::before { content: "+"; }
.sp__knopf[aria-expanded="true"] .sp__zeichen::before { content: "–"; }
@media (max-width: 859.98px) { .sp__kurz { display: none; } }

/* Ohne JavaScript bleiben alle Felder offen */
.js .sp__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.22, .61, .36, 1); }
.js .sp__panelinnen {
  overflow: hidden; visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .45s ease .05s, transform .55s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .55s;
}
.js .sp--offen .sp__panel { grid-template-rows: 1fr; }
.js .sp--offen .sp__panelinnen { visibility: visible; opacity: 1; transform: none; transition-delay: .05s, 0s, 0s; }
.sp__inhalt {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(18px, 2.4vw, 32px); align-items: start;
  padding: clamp(6px, 1vw, 12px) 4px clamp(26px, 3vw, 40px);
}
.sp__bilder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sp__bild { position: relative; aspect-ratio: 4 / 3; background: var(--hellgrau); overflow: hidden; }
.sp__bild--breit { grid-column: span 2; aspect-ratio: 16 / 9; }
.sp__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp__texte { display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
.sp__abschnitt { display: flex; flex-direction: column; gap: 6px; max-width: 520px; }
.sp__abschnitt h4 { margin: 0; font-weight: 700; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.3; }
.sp__abschnitt p { margin: 0; font-weight: 300; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.65; text-wrap: pretty; }
.sp__abschnitt p.sp__stark { font-weight: 500; }
.sp__abschnitt--zusatz { border-left: 2px solid var(--gruen); padding-left: 14px; }
.sp__abschnitt--zusatz p { font-size: 15px; line-height: 1.55; color: rgba(12, 42, 61, .72); }

/* ---------- Partner ---------- */
.partner__titel { margin-bottom: clamp(18px, 2.4vw, 28px); }
.partner { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.partner__logo {
  background: var(--hellgrau); height: clamp(68px, 6.4vw, 84px); width: clamp(116px, 12.4vw, 158px);
  display: grid; place-items: center; padding: 14px;
  transition: transform .3s var(--kurve), background-color .25s ease, box-shadow .3s ease;
}
.partner__logo img { max-width: 100%; object-fit: contain; opacity: .7; }
/* Logos mit Projekt sind Links: ganze Fläche klickbar, Hover nur hier */
.partner__logo--link { position: relative; }
.partner__logo--link a { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; }
.partner__logo--link:hover, .partner__logo--link:focus-within { background: var(--weiss); transform: translateY(-4px); box-shadow: 0 14px 32px rgba(12, 42, 61, .14); }
.partner__logo--link:hover img, .partner__logo--link:focus-within img { opacity: 1; }
.partner__logo--link img { transition: opacity .25s ease; }
.partner__logo--link a:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; }

/* ---------- Über-uns-Teaser ---------- */
.teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(24px, 3vw, 44px); align-items: center; }
.teaser__bild { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hellgrau); }
.teaser__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.teaser__text { display: flex; flex-direction: column; gap: 22px; }
.teaser__label { margin: 0; font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(12, 42, 61, .72); }
.teaser__titel { margin: 0; font-weight: 900; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.035em; }
.teaser__absatz { margin: 0; max-width: 480px; font-weight: 300; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; text-wrap: pretty; }
.teaser__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Ansprechpartner ---------- */
.ap__titel { margin-bottom: clamp(18px, 2.4vw, 30px); }
/* Drei Personen nebeneinander, Karten etwas kleiner (ca. 320 px). Tablet 2 + 1, Handy untereinander */
.ap {
  list-style: none; margin: 0; padding: 0; max-width: 1000px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(12px, 1.6vw, 22px);
}
.ap__person { display: flex; flex-direction: column; gap: 16px; }
.ap__bild { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--hellgrau); }
.ap__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap__text { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.ap__text p { margin: 0; }
.ap__name { font-weight: 700; font-size: clamp(19px, 1.8vw, 23px); }
.ap__position { font-weight: 300; font-size: 14px; color: rgba(12, 42, 61, .72); }
.ap__kontakt { display: flex; flex-direction: column; gap: 3px; margin-top: 8px !important; font-weight: 300; font-size: 15px; }

/* ---------- Kontakt ---------- */
.kontakt { padding: clamp(50px, 6vw, 80px) clamp(10px, 1.2vw, 16px) clamp(10px, 1.2vw, 16px); }
.kontakt__box { position: relative; background: var(--dunkelblau); color: var(--weiss); padding: clamp(32px, 5vw, 68px); }
.kontakt__titel { margin: 0; width: min(820px, 100%); }
/* Runder Knopf „Kontakt aufnehmen“ nie unter der Überschrift: Unter 1240 px steht er rechts bündig und oben bündig
   mit „Lass uns deine“, in der Lücke über „ins rechte Licht rücken!“. Größe folgt der Breite der Überschrift
   (--b, Containerbreite); 25 % passen neben die erste Zeile (64 % breit) und über die letzte.
   Der Pause-Knopf rückt dann nach unten rechts. Ab 1240 px steht der Knopf in einer eigenen Spalte rechts daneben,
   der Pause-Knopf oben rechts. Offen nimmt das Formular die ganze Breite */
.kontakt__box { container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr); }
.kontakt__titel { grid-area: 1 / 1; }
.kontakt__box > .kf { grid-column: 1 / -1; }
.kontakt__box > .kf--zu { --b: min(820px, 100cqw); --d: calc(var(--b) * .25); grid-area: 1 / 1; justify-self: end; align-self: start; z-index: 1; margin-top: 0; }
.kf--zu .kf__start { width: var(--d); padding: calc(var(--d) * .1); font-size: clamp(11px, calc(var(--d) * .105), 21px); }
@media (max-width: 1239.98px) {
  .kontakt__box { padding-bottom: calc(clamp(16px, 2.4vw, 32px) + 56px); }
  .kontakt__box .kontakt__pause { top: auto; bottom: clamp(16px, 2.4vw, 32px); }
}
@media (min-width: 1240px) {
  .kontakt__box { grid-template-columns: minmax(0, 820px) 1fr; column-gap: 40px; }
  .kontakt__box > .kf--zu { --d: clamp(150px, 13vw, 200px); grid-area: 1 / 2; align-self: center; justify-self: center; }
}
.kontakt__titel svg { display: block; width: 100%; height: auto; }
.kontakt__titel text { font-family: "BR Firma", system-ui, sans-serif; font-size: 79.014px; white-space: pre; font-weight: 700; fill: var(--senf); }
.kontakt__titel .kontakt__weiss { font-weight: 600; fill: var(--weiss); }
.kontakt__rolle { animation: kontakt-rolle 9.6s infinite; }
.kontakt--angehalten .kontakt__rolle { animation-play-state: paused; }
.kontakt__pause { position: absolute; right: clamp(16px, 2.4vw, 32px); top: clamp(16px, 2.4vw, 32px); }

/* Kontaktformular (Regeln: CLAUDE.md, Entscheidung 261012) */
.kf { max-width: 820px; margin-top: clamp(26px, 3vw, 40px); }
.kf [hidden] { display: none !important; }
/* Onboarding: ohne JavaScript alle Schritte untereinander, mit (.kf--schritte) immer nur einer */
.kf__start {
  /* rund, in Anlehnung an den Punkt im Namen einspunktvier */
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: clamp(150px, 13vw, 200px); aspect-ratio: 1; padding: 22px; border-radius: 50%;
  background: var(--senf); color: var(--dunkelblau); border: 0;
  font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.15; cursor: pointer;
  transition: scale .35s var(--kurve), box-shadow .3s ease;
}
/* Aufmerksamkeit: Knopf schwebt leicht, Ringe poppen um den Kreis auf. Hält mit dem Pause-Knopf des
   Kontaktbereichs an, bei „Bewegung reduzieren“ ganz aus. translate/scale statt transform, damit sich
   Schweben und Hover nicht in die Quere kommen */
.kf__start { position: relative; animation: kf-schweben 4s ease-in-out infinite; }
.kf__start::before, .kf__start::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--senf);
  opacity: 0; pointer-events: none; animation: kf-ring 3.2s cubic-bezier(.2, .7, .3, 1) infinite;
}
.kf__start::after { animation-delay: .45s; }
@keyframes kf-schweben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes kf-ring { 0% { scale: 1; opacity: .75; } 65%, 100% { scale: 1.5; opacity: 0; } }
.kontakt--angehalten .kf__start { animation-play-state: paused; }
.kontakt--angehalten .kf__start::before, .kontakt--angehalten .kf__start::after { animation: none; }
.kf__start:hover { scale: 1.05; box-shadow: 0 14px 34px rgba(240, 206, 85, .3); }
.kf__start:focus-visible { outline: 2px solid var(--weiss); outline-offset: 4px; }
/* Dünner Rahmen um Leiste und Formular: klar als Fläche zum Ausfüllen erkennbar */
.kf__rahmen { border: 1px solid rgba(255, 255, 255, .28); padding: clamp(20px, 3vw, 36px); }
.kf__formular { display: flex; flex-direction: column; gap: clamp(30px, 3.4vw, 44px); }
.kf__schritt { display: flex; flex-direction: column; gap: clamp(26px, 3vw, 36px); }
.kf__schritt:focus { outline: none; }
.kf__schritt--neu { animation: kf-ein .35s var(--kurve); }
@keyframes kf-ein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.kf__leiste { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: clamp(18px, 2vw, 26px); }
.kf__fortschritt { margin: 0; font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.kf__direkt {
  background: none; border: 0; padding: 4px 0; color: var(--weiss); cursor: pointer;
  font-weight: 500; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .5);
}
.kf__direkt:hover { color: var(--senf); text-decoration-color: currentColor; }
.kf__frage { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.kf__frage legend { padding: 0; margin-bottom: 4px; font-weight: 900; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.kf__frage legend:focus { outline: none; }
.kf__hinweis { margin: -4px 0 4px; font-weight: 300; font-size: 14px; color: rgba(255, 255, 255, .78); }
.kf__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.kf__chips--sonst { margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); }
.kf__chips--sonst .kf__chip span { border-style: dashed; }
.kf__chip { position: relative; cursor: pointer; }
.kf__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kf__chip span {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .4); font-weight: 500; font-size: 15px; line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
/* Kästchen bzw. Kreis vor dem Text, gewählt mit Häkchen: erkennbar nicht nur über die Farbe */
.kf__chip span::before {
  content: ""; flex: none; width: 16px; height: 16px; border: 1.5px solid rgba(255, 255, 255, .7);
  background: center / 12px no-repeat;
}
.kf__chip--radio span::before { border-radius: 50%; }
.kf__chip:hover span { border-color: var(--weiss); }
.kf__chip input:checked + span { background: var(--senf); border-color: var(--senf); color: var(--dunkelblau); }
.kf__chip input:checked + span::before {
  border-color: var(--dunkelblau); background-color: var(--dunkelblau);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23f0ce55' stroke-width='3'/%3E%3C/svg%3E");
}
.kf__chip input:focus-visible + span { outline: 2px solid var(--senf); outline-offset: 3px; }
.kf__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.kf__weiter {
  background: var(--senf); color: var(--dunkelblau); border: 0; border-radius: 0;
  font-weight: 700; font-size: 15px; padding: 16px 32px; cursor: pointer;
  transition: transform .3s var(--kurve), box-shadow .3s ease;
}
.kf__weiter:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(240, 206, 85, .3); }
.kf__zurueck {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--weiss); cursor: pointer;
  font-weight: 500; font-size: 15px;
}
.kf__zurueck:hover { color: var(--senf); }
.kf__stand { display: flex; align-items: center; gap: 8px 22px; }
.kf__weg { display: none !important; }
.kf__auswahl { list-style: none; margin: 0; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--senf); background: rgba(255, 255, 255, .05); font-weight: 300; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.kf__auswahl span { font-weight: 500; color: var(--weiss); }
.kf__felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px 12px; }
.kf__feld { display: flex; flex-direction: column; gap: 8px; }
.kf__feld--breit, .kf__pflicht, .kf__fehler { grid-column: 1 / -1; }
.kf__feld label { font-weight: 500; font-size: 13px; letter-spacing: .06em; color: rgba(255, 255, 255, .78); }
.kf__feld input, .kf__feld textarea {
  background: transparent; border: 1px solid rgba(255, 255, 255, .4); border-radius: 0;
  padding: 16px 24px; font-weight: 300; font-size: 15px; color: var(--weiss);
  transition: border-color .25s ease, box-shadow .3s ease;
}
.kf__feld textarea { height: 130px; resize: vertical; }
.kf__feld input:hover, .kf__feld textarea:hover { border-color: rgba(255, 255, 255, .5); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.kf__feld input:focus, .kf__feld textarea:focus { outline: 2px solid var(--senf); outline-offset: 0; border-color: var(--senf); box-shadow: 0 10px 26px rgba(240, 206, 85, .18); }
.kf ::placeholder { color: rgba(255, 255, 255, .55); }
/* Spamschutz-Feld außerhalb des sichtbaren Bereichs */
.kf__falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.kf__pflicht { margin: -6px 0 0; font-weight: 300; font-size: 14px; color: rgba(255, 255, 255, .78); }
.kf__fehler {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  background: rgba(255, 155, 143, .12); border: 1px solid rgba(255, 155, 143, .6);
  font-weight: 300; font-size: 15px; line-height: 1.5;
}
.kf__fehler a { font-weight: 500; border-bottom: 1px solid currentColor; }
.kf__fehlerzeichen {
  flex: none; width: 22px; height: 22px; display: grid; place-items: center;
  background: #ff9b8f; color: var(--dunkelblau); font-weight: 900; font-size: 14px; line-height: 1;
}
.kf__feldfehler { margin: 0; font-weight: 500; font-size: 14px; line-height: 1.4; color: #ff9b8f; }
.kf__feld [aria-invalid] { border-color: #ff9b8f; }
/* Pflicht-Haken: schlicht wie der Hinweis, keine hervorgehobene Zustimmungsbox */
.kf__kenntnis { display: flex; flex-direction: column; gap: 8px; }
.kf__haken-feld {
  display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; cursor: pointer;
  font-weight: 300; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .86);
}
.kf__haken-feld input {
  appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid rgba(255, 255, 255, .7);
  background: transparent center / 16px no-repeat; cursor: pointer;
}
.kf__haken-feld input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23ffffff' stroke-width='2.6'/%3E%3C/svg%3E");
}
.kf__haken-feld input[aria-invalid] { border-color: #ff9b8f; }
.kf__haken-feld input:focus-visible { outline: 2px solid var(--senf); outline-offset: 3px; }
.kf__haken-feld a { color: var(--weiss); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.kf__abschluss { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.kf__datenschutz { margin: 0; max-width: 760px; font-weight: 300; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .78); text-wrap: pretty; }
.kf__datenschutz a { color: var(--weiss); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.kf__senden {
  background: var(--senf); color: var(--dunkelblau); border: 0; border-radius: 0;
  font-weight: 700; font-size: 15px; padding: 16px 32px; cursor: pointer;
  transition: transform .3s var(--kurve), box-shadow .3s ease;
}
.kf__senden:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(240, 206, 85, .3); }
.kf__senden:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.kf__danke {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(255, 255, 255, .22);
}
.kf__danke:focus { outline: none; }
.kf__haken { width: 48px; height: 48px; display: grid; place-items: center; background: var(--senf); }
.kf__dankeText { display: flex; flex-direction: column; gap: 8px; }
.kf__dankeText h3 { margin: 0; font-weight: 900; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.03em; }
.kf__dankeText p { margin: 0; font-weight: 300; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.kf__neu {
  background: transparent; border: 1px solid rgba(255, 255, 255, .4); border-radius: 0; color: var(--weiss);
  font-weight: 700; font-size: 14px; padding: 14px 24px; cursor: pointer;
  transition: border-color .25s ease, color .25s ease;
}
.kf__neu:hover { border-color: var(--senf); color: var(--senf); }

@keyframes kontakt-rolle {
  0%      { transform: translateY(0);       animation-timing-function: linear; }
  18.75%  { transform: translateY(0);       animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  25%     { transform: translateY(72.5px);  animation-timing-function: linear; }
  43.75%  { transform: translateY(72.5px);  animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  50%     { transform: translateY(145px);   animation-timing-function: linear; }
  68.75%  { transform: translateY(145px);   animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  75%     { transform: translateY(217.5px); animation-timing-function: linear; }
  93.75%  { transform: translateY(217.5px); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  100%    { transform: translateY(290px); }
}

/* Bei „Bewegung reduzieren“ steht alles; Pause-Knöpfe sind dann überflüssig */
@media (prefers-reduced-motion: reduce) {
  .banner__rolle, .kontakt__rolle { animation: none !important; }
  .kontakt__pause { display: none; }
  .partner__logo--link:hover, .partner__logo--link:focus-within { transform: none; }
  .kf__schritt--neu { animation: none; }
  .kf__weiter:hover { transform: none; }
  .kf__start, .kf__start::before, .kf__start::after { animation: none; }
  .kf__start:hover { scale: none; }
}

/* Ohne JavaScript funktionieren die Pause-Knöpfe nicht: dann steht die Bewegung wie bei „Bewegung reduzieren“ */
html:not(.js) .banner__rolle, html:not(.js) .kontakt__rolle { animation: none !important; }
