/* ==========================================================================
   ACS Assekuranz Center Senger – Website
   Konzept: Würmtal – ruhig, klar, in Bewegung
   Reines CSS, keine externen Anfragen. Schriften lokal (Fraunces, Manrope).
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@view-transition { navigation: auto; }

:root {
  --ink: #0B1F2E;
  --ink-2: #10283A;
  --ink-3: #163449;
  --navy: #13405E;
  --navy-deep: #0B2A3F;
  --lime: #9BC031;
  --lime-hell: #B5D654;
  --lime-text: #53710F;
  --nebel: #EEF0EB;
  --papier: #F8F9F6;
  --gold: #D4AF6E;

  --text: #0B1F2E;
  --text-soft: #3D5466;
  --line: rgba(19, 64, 94, .16);
  --on-dark: #EEF0EB;
  --on-dark-soft: rgba(238, 240, 235, .74);
  --line-dark: rgba(238, 240, 235, .14);

  --focus: var(--navy);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1320px;
  --header-h: 76px;
  --r-s: 8px;
  --r-m: 16px;
  --r-l: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sec-pad: clamp(88px, 12vw, 176px);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--nebel);
  color: var(--text);
  font-family: var(--f-text);
  font-size: clamp(1rem, .96rem + .22vw, 1.0938rem);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.menu-open, html.menu-open body { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
section { overflow-x: clip; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.s-dark, .site-header, .menu, .site-footer { --focus: var(--lime); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--lime); color: var(--ink); font-weight: 700;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.s-dark { background: var(--ink); color: var(--on-dark); }
.s-light { background: var(--nebel); }
.s-paper { background: var(--papier); }

/* ---------- Typografie ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 340;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  letter-spacing: -.022em;
  line-height: 1.02;
}
.h-hero { font-size: clamp(2.9rem, 1.4rem + 6.4vw, 8.2rem); line-height: .94; letter-spacing: -.038em; }
.h-giant { font-size: clamp(3rem, 1rem + 9vw, 11.5rem); line-height: .9; letter-spacing: -.045em; }
.h-section { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 4.6rem); line-height: 1.0; letter-spacing: -.03em; }
.h-card { font-size: clamp(1.4rem, 1.15rem + .9vw, 2rem); line-height: 1.08; letter-spacing: -.02em; }
.lead { font-size: clamp(1.125rem, 1.02rem + .45vw, 1.375rem); line-height: 1.5; max-width: 44ch; color: var(--text-soft); }
.s-dark .lead { color: var(--on-dark-soft); }
.prose { max-width: 64ch; }
.kicker {
  display: inline-flex; align-items: center; gap: .75em;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  color: var(--lime-text); margin: 0 0 1.4rem;
}
.kicker::before { content: ""; width: 32px; height: 1.5px; background: currentColor; }
.s-dark .kicker, .phero .kicker { color: var(--lime); }
.hero .kicker { color: var(--on-dark); text-shadow: 0 1px 12px rgba(11, 31, 46, .55); }
.hero .kicker::before { background: var(--lime); }

.textlink {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 3px;
  transition: background-size .5s var(--ease-out), color .3s;
}
.textlink:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.textlink svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s-dark .textlink:hover { color: var(--lime); }

/* ---------- Knöpfe ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: inherit; --btn-bd: currentColor;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 54px; padding: 0 1.6em;
  border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--ink); --btn-bd: var(--lime); }
.btn--lime:hover { --btn-bg: var(--lime-hell); --btn-bd: var(--lime-hell); }
.btn--ghost { --btn-bd: rgba(238, 240, 235, .45); }
.btn--ghost:hover { --btn-bg: rgba(238, 240, 235, .1); --btn-bd: var(--on-dark); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy); }
.btn--navy:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--line { --btn-bd: var(--line); --btn-fg: var(--text); }
.btn--line:hover { --btn-bd: var(--navy); --btn-bg: rgba(19, 64, 94, .06); }
.btn--small { min-height: 44px; padding: 0 1.15em; font-size: .9375rem; }

/* ---------- Kopfzeile ---------- */
.progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none;
}
.progress span {
  display: block; height: 100%; background: var(--lime);
  transform: scaleX(0); transform-origin: 0 50%;
}
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  color: var(--on-dark);
  transition: transform .5s var(--ease), background-color .4s var(--ease), box-shadow .4s;
  view-transition-name: site-header;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -48px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(11, 31, 46, .62), rgba(11, 31, 46, 0));
  transition: opacity .4s;
}
.site-header.is-solid { background: rgba(11, 31, 46, .92); box-shadow: 0 1px 0 var(--line-dark); }
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid { background: rgba(11, 31, 46, .78); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); }
}
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 6px; }
.brand img { height: 48px; width: auto; }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(18px, 2.2vw, 36px); list-style: none; }
.nav a {
  position: relative; display: inline-block; padding: .45em 0;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  color: var(--on-dark);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1em; height: 1.5px;
  background: var(--lime); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .5s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.header-cta { display: none; }
.header-cta.btn { min-height: 46px; padding: 0 1.2em; font-size: .95rem; }

.burger {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(238, 240, 235, .35); background: rgba(11, 31, 46, .35);
  cursor: pointer; display: grid; place-items: center;
}
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--on-dark); transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
}

/* Ohne JavaScript: Navigation als Zeile statt Burger */
.no-js .burger { display: none; }
@media (max-width: 1023px) {
  .no-js .site-header { position: absolute; }
  .no-js .site-header__bar { height: auto; padding: 14px 0; flex-wrap: wrap; gap: 8px 16px; }
  .no-js .nav { display: block; width: 100%; }
  .no-js .nav ul { flex-wrap: wrap; gap: 4px 18px; }
}

/* ---------- Mobilmenü ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) 0 96px;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
  overflow-y: auto; overscroll-behavior: contain;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.menu__list { list-style: none; display: grid; gap: 2px; }
.menu__list a {
  display: block; padding: .12em 0;
  font-family: var(--f-display); font-weight: 340; font-variation-settings: "SOFT" 60;
  font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.12; letter-spacing: -.03em;
  text-decoration: none;
  transform: translateY(24px); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-out), color .3s;
  transition-delay: calc(var(--i, 0) * 55ms + 80ms);
}
.menu__list a[aria-current="page"] { color: var(--lime); }
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu__contact {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: grid; gap: 6px; font-size: 1.0625rem; color: var(--on-dark-soft);
}
.menu__contact a { color: var(--on-dark); text-decoration: none; font-weight: 600; }

/* ---------- Hero Startseite ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  background: var(--ink); color: var(--on-dark);
  overflow: clip;
}
.hero__media { position: absolute; inset: -8% 0 0; z-index: 0; }
.hero__pic, .hero__pic img { width: 100%; height: 100%; }
.hero__pic img { object-fit: cover; object-position: 58% 55%; transform-origin: 60% 60%; }
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 31, 46, .38) 0%, rgba(11, 31, 46, 0) 18%, rgba(11, 31, 46, 0) 52%, rgba(11, 31, 46, .5) 82%, rgba(11, 31, 46, .9) 100%),
    linear-gradient(90deg, rgba(11, 31, 46, .5) 0%, rgba(11, 31, 46, .16) 46%, rgba(11, 31, 46, 0) 64%);
}
@media (max-width: 899px) {
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(11, 31, 46, .42) 0%, rgba(11, 31, 46, .08) 16%, rgba(11, 31, 46, .22) 32%, rgba(11, 31, 46, .5) 52%, rgba(11, 31, 46, .78) 80%, var(--ink) 100%);
  }
}
.hero__title, .hero__foot .lead, .hero .kicker { text-shadow: 0 2px 24px rgba(11, 31, 46, .45), 0 1px 3px rgba(11, 31, 46, .35); }
.hero__content {
  position: relative; z-index: 4;
  padding: calc(var(--header-h) + 48px) 0 clamp(108px, 14vh, 132px);
}
.hero__title { max-width: 13ch; margin: 0 0 clamp(24px, 4vh, 44px); }
.hero__foot { display: grid; gap: 28px; }
.hero__foot .lead { color: rgba(238, 240, 235, .86); max-width: 40ch; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .hero__content { padding-bottom: clamp(56px, 10vh, 112px); }
  .hero__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; }
}
.scroll-hint {
  position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(108px, 14vh, 132px);
  display: none; align-items: center; gap: 14px;
  writing-mode: vertical-rl; text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; color: var(--on-dark-soft);
}
.scroll-hint__line { position: relative; width: 1.5px; height: 64px; background: rgba(238, 240, 235, .25); overflow: hidden; }
.scroll-hint__line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--lime); }
@media (min-width: 900px) { .scroll-hint { display: inline-flex; bottom: auto; top: 50%; translate: 0 -50%; } }

@media (prefers-reduced-motion: no-preference) {
  .hero__pic img { animation: kenburns 34s ease-in-out infinite alternate; }
  .scroll-hint__line::after { animation: hint 2.4s var(--ease) infinite; }
}
@keyframes kenburns { from { transform: scale(1.03) translate3d(0, 0, 0); } to { transform: scale(1.15) translate3d(-2.2%, -1.6%, 0); } }
@keyframes hint { 0% { transform: translateY(-110%); } 60%, 100% { transform: translateY(260%); } }

/* ---------- Unterseiten-Hero (gemeinsam) ---------- */
.phero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + clamp(56px, 10vh, 120px)) 0 clamp(64px, 9vw, 120px);
  background: var(--ink); color: var(--on-dark);
  overflow: clip;
}
.phero__inner { position: relative; z-index: 2; }
.phero h1 { margin-bottom: clamp(20px, 3vw, 36px); }
.phero .lead { margin: 0; color: var(--on-dark-soft); }

/* Versicherungen: Filmstreifen */
.film { margin-top: clamp(48px, 7vw, 96px); position: relative; z-index: 2; }
.film__track { display: flex; gap: 14px; width: max-content; }
.film__track img {
  height: clamp(150px, 24vh, 290px); width: auto; border-radius: var(--r-m);
  object-fit: cover; flex: none;
}
.film__track img.is-hoch { aspect-ratio: 4 / 5; }
@media (prefers-reduced-motion: no-preference) {
  .film__track { animation: film 70s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .film { overflow-x: auto; scrollbar-width: none; }
}
@keyframes film { to { transform: translate3d(-50%, 0, 0); } }

/* Über uns: Fenster */
.window-wrap { margin-top: clamp(48px, 7vw, 88px); position: relative; z-index: 2; }
.window {
  position: relative; overflow: hidden; border-radius: var(--r-l);
  aspect-ratio: 4 / 5; background: var(--ink-2);
}
.window img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.window figcaption, .figcap {
  font-size: .875rem; color: var(--on-dark-soft); margin-top: 14px;
}
@media (min-width: 760px) { .window { aspect-ratio: 16 / 8; } }

/* Service: Flusslinie */
.phero--fluss { min-height: min(92svh, 860px); display: grid; align-items: end; }
.fluss { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fluss svg { position: absolute; left: -5%; width: 110%; top: calc(var(--header-h) - 2%); height: 42%; overflow: visible; }
.fluss path { fill: none; stroke-linecap: round; }
.fluss .f1 { stroke: var(--lime); stroke-width: 2; }
.fluss .f2 { stroke: rgba(238, 240, 235, .22); stroke-width: 1.2; }
.fluss .f3 { stroke: rgba(155, 192, 49, .35); stroke-width: 1; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 44px); list-style: none; }

/* Kontakt: Nummer */
.phero--nummer .phero__grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: end; }
.bignum {
  display: inline-block; text-decoration: none;
  font-size: clamp(2.3rem, .9rem + 6.4vw, 7.4rem); line-height: 1; letter-spacing: -.035em;
  color: var(--on-dark); white-space: nowrap;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat;
  padding-bottom: .12em;
  transition: background-size .7s var(--ease-out), color .3s;
}
.bignum:hover { background-size: 100% 2px; color: var(--lime-hell); }
.phero__meta { display: grid; gap: 6px; margin-top: 28px; color: var(--on-dark-soft); }
.phero__meta a { color: var(--on-dark); font-weight: 600; text-decoration: none; }
.phero__meta a:hover { color: var(--lime); }
.frame { position: relative; overflow: hidden; border-radius: var(--r-l); aspect-ratio: 4 / 3; background: var(--ink-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .phero--nummer .phero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .phero--nummer .frame { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: no-preference) {
  .frame img { animation: kenburns 30s ease-in-out infinite alternate; }
}

/* Rechtsseiten */
.phero--recht { padding-bottom: clamp(48px, 6vw, 80px); }
.hinweis-entwurf {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 28px; padding: 14px 18px; max-width: 62ch;
  border: 1px solid rgba(212, 175, 110, .5); border-radius: var(--r-s);
  background: rgba(212, 175, 110, .08); color: var(--on-dark); font-size: .95rem;
}
.hinweis-entwurf::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--gold); }

/* ---------- Abschnitte allgemein ---------- */
.sec { padding: var(--sec-pad) 0; position: relative; }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head .lead { margin: 0; }
@media (min-width: 1024px) {
  .sec-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 64px; }
}

/* ---------- Vision & 27 Jahre ---------- */
.vision__grid { display: grid; gap: clamp(48px, 7vw, 96px); }
.vision__years { display: grid; gap: 18px; align-content: start; }
.vision__num {
  display: block;
  font-size: clamp(9rem, 4rem + 22vw, 21rem); line-height: .78; letter-spacing: -.06em;
  font-weight: 300; color: var(--navy);
  font-variant-numeric: lining-nums tabular-nums;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
.vision__label { max-width: 30ch; font-weight: 600; color: var(--text); border-top: 1.5px solid var(--navy); padding-top: 16px; }
.vision__text h2 { margin-bottom: clamp(28px, 4vw, 48px); max-width: 15ch; }
.vision__statement {
  font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.5rem); line-height: 1.22; letter-spacing: -.018em;
  font-weight: 330; color: var(--text); max-width: 30ch; margin-bottom: clamp(28px, 4vw, 44px);
}
.vision__body { max-width: 52ch; color: var(--text-soft); }
@media (min-width: 1024px) {
  .vision__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .vision__years { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Makler oder Vermittler ---------- */
.makler__grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
.makler__intro h2 { margin-bottom: 24px; max-width: 14ch; }
.makler__intro .lead { margin-bottom: 36px; }
.switch {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  width: min(100%, 460px); padding: 5px; border-radius: 999px;
  background: rgba(238, 240, 235, .08); border: 1px solid var(--line-dark);
  margin-bottom: 28px;
}
.switch__btn {
  position: relative; z-index: 1; min-height: 50px; padding: 6px 14px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-weight: 700; font-size: .95rem; line-height: 1.15; color: var(--on-dark-soft);
  transition: color .4s var(--ease);
}
.switch__btn[aria-pressed="true"] { color: var(--ink); }
.switch__thumb {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 999px; background: var(--lime);
  transition: transform .6s var(--ease-out);
}
[data-mode="makler"] .switch__thumb { transform: translateX(100%); }
.no-js .switch { display: none; }
.makler__panels { display: grid; gap: 28px; margin-bottom: 32px; min-height: 0; }
.makler__panel h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--on-dark); }
.makler__panel ul { list-style: none; display: grid; gap: 10px; }
.makler__panel li { position: relative; padding-left: 28px; color: var(--on-dark-soft); max-width: 46ch; }
.makler__panel li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 1.5px; background: var(--lime); }
.makler__panel[data-panel="vermittler"] li::before { background: rgba(238, 240, 235, .5); }
.js [data-makler] .makler__panel { display: none; }
.js [data-makler][data-mode="makler"] .makler__panel[data-panel="makler"],
.js [data-makler][data-mode="vermittler"] .makler__panel[data-panel="vermittler"] { display: block; animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js [data-makler] .makler__panels { min-height: 9.5em; }

.makler__viz { margin: 0; }
.makler__viz svg { width: 100%; height: auto; overflow: visible; }
.viz-line { fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-out), stroke .5s, opacity .5s; transition-delay: calc(var(--i, 0) * 70ms); }
.viz-node { fill: var(--ink); stroke: var(--lime); stroke-width: 1.5; transition: opacity .6s, stroke .5s, fill .5s; transition-delay: calc(var(--i, 0) * 70ms); }
.viz-node-dot { fill: var(--lime); transition: opacity .6s, transform .6s var(--ease-out); transform-box: fill-box; transform-origin: center; transition-delay: calc(var(--i, 0) * 70ms + 300ms); }
.viz-you { fill: var(--lime); }
.viz-you-text { fill: var(--ink); font: 700 17px var(--f-text); }
.viz-frame { fill: rgba(238, 240, 235, .04); stroke: rgba(238, 240, 235, .55); stroke-width: 1.2; stroke-dasharray: 5 6; opacity: 0; transition: opacity .6s .3s; }
.viz-frame-label { fill: var(--on-dark-soft); font: 600 13px var(--f-text); opacity: 0; transition: opacity .6s .4s; }
.viz-label { fill: var(--on-dark-soft); font: 600 13px var(--f-text); transition: opacity .5s; }
.viz-ring { fill: none; stroke: rgba(238, 240, 235, .12); stroke-width: 1; }
[data-mode="vermittler"] .viz-line:not(.is-bound) { stroke-dashoffset: 1; opacity: .2; transition-delay: 0s; }
[data-mode="vermittler"] .viz-line.is-bound { stroke: var(--on-dark); }
[data-mode="vermittler"] .viz-node:not(.is-bound) { opacity: .25; stroke: rgba(238, 240, 235, .6); transition-delay: 0s; }
[data-mode="vermittler"] .viz-node.is-bound { stroke: var(--on-dark); }
[data-mode="vermittler"] .viz-node-dot:not(.is-bound) { opacity: 0; transform: scale(.2); transition-delay: 0s; }
[data-mode="vermittler"] .viz-node-dot.is-bound { fill: var(--on-dark); }
[data-mode="vermittler"] .viz-frame, [data-mode="vermittler"] .viz-frame-label { opacity: 1; }
[data-mode="vermittler"] .viz-label--makler { opacity: 0; }
[data-mode="makler"] .viz-label--vermittler { opacity: 0; }
.motion [data-makler]:not(.is-inview) .viz-line { stroke-dashoffset: 1; }
.motion [data-makler]:not(.is-inview) .viz-node-dot { opacity: 0; transform: scale(.2); }
.makler__caption { margin-top: 18px; font-size: .9rem; color: var(--on-dark-soft); }
@media (min-width: 1024px) {
  .makler__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

/* ---------- Lebenslagen ---------- */
.leben { padding: var(--sec-pad) 0 calc(var(--sec-pad) * .8); }
.leben__head { margin-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 20px; }
.leben__head .lead { margin: 0; }
.leben__viewport { position: relative; }
.leben__track {
  list-style: none; display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.leben__track::-webkit-scrollbar { display: none; }
.leben__panel { flex: 0 0 min(84%, 420px); scroll-snap-align: start; }
.lp { position: relative; height: 100%; display: grid; grid-template-columns: 100%; grid-template-rows: auto auto 1fr; border-radius: var(--r-l); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-dark); }
.lp__media { grid-area: 1 / 1; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.lp__img { width: 100%; height: 100%; object-fit: cover; }
.lp__img.is-hoch { object-position: 50% 28%; }
.lp__media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(rgba(16, 40, 58, 0), rgba(16, 40, 58, .92)); }
.lp__body { display: contents; }
.lp__title { grid-area: 1 / 1; align-self: end; z-index: 2; padding: 0 22px 14px; font-size: clamp(2rem, 1.4rem + 2vw, 3.4rem); color: var(--on-dark); }
.lp__body > p { padding: 20px 22px 0; color: var(--on-dark-soft); margin: 0; }
.lp__body > .chips { padding: 16px 22px 24px; align-self: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-dark);
  font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--on-dark);
  transition: background-color .3s, border-color .3s, color .3s;
}
.chips a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.leben__progress { height: 2px; margin: 26px var(--gutter) 0; background: var(--line-dark); border-radius: 2px; overflow: hidden; }
.leben__progress span { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(.22); }
.no-js .leben__progress { display: none; }
.leben__more { margin-top: 36px; }
@media (min-width: 1024px) {
  .leben__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; overflow: visible; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; padding: 0; }
  .leben__progress { display: none; }
  /* Gepinnte horizontale Strecke (nur mit Bewegung, per JS) */
  .leben.is-pinned { padding: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .leben.is-pinned .leben__head { margin-bottom: 4vh; }
  .leben.is-pinned .leben__head h2 { font-size: clamp(2.2rem, 1rem + 2.6vw, 4rem); }
  .leben.is-pinned .leben__viewport { overflow: visible; }
  .leben.is-pinned .leben__track { display: flex; width: max-content; margin: 0; padding: 0 var(--gutter); gap: 2.4vw; overflow: visible; }
  .leben.is-pinned .leben__panel { flex: 0 0 auto; width: min(64vw, 1040px); height: 62vh; }
  .leben.is-pinned .lp { display: block; }
  .leben.is-pinned .lp__body > p, .leben.is-pinned .lp__body > .chips { padding: 0; }
  .leben.is-pinned .lp__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .leben.is-pinned .lp__img { width: 118%; max-width: none; margin-left: -9%; }
  .leben.is-pinned .lp__media::after { inset: 0; background: linear-gradient(90deg, rgba(11, 31, 46, .88) 0%, rgba(11, 31, 46, .55) 38%, rgba(11, 31, 46, 0) 70%); }
  .leben.is-pinned .lp__title { position: static; margin-bottom: 4px; font-size: clamp(2.6rem, 1rem + 3vw, 4.6rem); }
  .leben.is-pinned .lp__body { display: grid; gap: 16px; position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: min(46%, 470px); padding: 44px; align-content: end; }
  .leben.is-pinned .lp__title { padding: 0; }
  .leben.is-pinned .leben__progress { display: block; width: min(100% - 2 * var(--gutter), var(--maxw)); margin: 4vh auto 0; }
  .leben.is-pinned .leben__more { display: none; }
}

/* ---------- Laufband ---------- */
.marquee { overflow: clip; padding: clamp(28px, 4vw, 48px) 0; border-block: 1px solid var(--line); }
.marquee__inner { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); flex: none; }
.marquee__word { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 6rem); line-height: 1; white-space: nowrap; color: var(--navy); }
.marquee__word--line { color: transparent; -webkit-text-stroke: 1.2px var(--navy); }
.marquee__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__inner { animation: marquee 46s linear infinite; }
  .motion .marquee__inner { animation: none; }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Flex-Konzept ---------- */
.flex__head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); }
.flex__head p { max-width: 58ch; margin: 0; color: var(--text-soft); }
.flex__head .lead { color: var(--text); }
.pillars { list-style: none; display: grid; gap: clamp(40px, 5vw, 56px); counter-reset: none; }
.pillar { border-top: 1.5px solid var(--navy); padding-top: 28px; display: grid; gap: 14px; align-content: start; }
.pillar__art { width: 100%; max-width: 300px; height: auto; margin-bottom: 10px; overflow: visible; }
.pillar__art .draw { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pillar__art .draw--lime { stroke: var(--lime-text); stroke-width: 2.2; }
.pillar__art .draw--soft { stroke: rgba(19, 64, 94, .3); }
.pillar__art .dot { fill: var(--lime); }
.pillar h3 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.8rem); }
.pillar p { color: var(--text-soft); max-width: 36ch; margin: 0; }
.motion .pillar__art .draw { stroke-dashoffset: 1; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
@media (min-width: 1024px) { .flex__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; } .flex__head h2 { grid-row: span 2; } }

/* ---------- Beratung & Team ---------- */
.beratung { margin: 0 0 clamp(72px, 10vw, 140px); }
.beratung__frame { position: relative; overflow: hidden; border-radius: var(--r-l); aspect-ratio: 4 / 3; background: var(--ink-2); }
.beratung__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 32% 45%; }
.beratung figcaption { margin-top: 14px; font-size: .9rem; color: var(--text-soft); }
@media (min-width: 760px) { .beratung__frame { aspect-ratio: 16 / 8.5; } }
.team__grid { display: grid; gap: clamp(40px, 5vw, 72px); }
.team__head { display: grid; gap: 20px; align-content: start; }
.team__head .lead { margin: 0; }
.team__cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.person { position: relative; transform-style: preserve-3d; will-change: transform; }
.person__media { position: relative; overflow: hidden; border-radius: var(--r-m); aspect-ratio: 3 / 4; background: #cfd6d9; }
.person__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.person__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 55%);
}
.person:hover .person__media img { transform: scale(1.045); }
.person:hover .person__media::after { opacity: 1; }
.person__body { padding: 18px 2px 0; }
.person__body h3 { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); }
.person__body p { margin: 4px 0 0; color: var(--text-soft); font-weight: 600; }
.person__body::after { content: ""; display: block; width: 36px; height: 1.5px; background: var(--lime-text); margin-top: 16px; transition: width .7s var(--ease-out); }
.person:hover .person__body::after { width: 96px; }
@media (min-width: 1024px) { .team__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---------- Service-Bento ---------- */
.bento { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento > li { grid-column: span 2; display: flex; min-width: 0; }
.bento > li > .tile { flex: 1; }
.bento > li.b-mit-link { flex-direction: column; gap: 8px; }
.tile-zusatz { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .4s, border-color .4s, color .4s; }
.tile-zusatz:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.tile-zusatz:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  min-height: 210px; padding: 24px; border-radius: var(--r-m);
  background: var(--ink-2); border: 1px solid var(--line-dark);
  color: var(--on-dark); text-decoration: none; overflow: hidden;
  transition: background-color .45s var(--ease), border-color .45s var(--ease);
}
a.tile:hover, .tile:focus-within { background: var(--ink-3); border-color: rgba(155, 192, 49, .45); }
.tile__icon { width: 44px; height: 44px; color: var(--lime); flex: none; }
.tile__icon svg { width: 100%; height: 100%; overflow: visible; }
.tile__icon svg * { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile__title { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.9rem); margin-top: auto; }
.tile p { margin: 0; color: var(--on-dark-soft); font-size: .975rem; max-width: 40ch; }
.tile__go { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.tile__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
a.tile:hover .tile__go { background: var(--lime); border-color: var(--lime); color: var(--ink); }
a.tile:hover .tile__go svg { transform: translate(2px, -2px); }
.tile__meta { font-size: .85rem; color: var(--on-dark-soft); }
.tile--big { min-height: 320px; background: var(--navy); border-color: transparent; }
a.tile--big:hover { background: #18507a; }
.tile--big .tile__title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 3rem); }
.tile--big .pulse { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; pointer-events: none; }
.pulse span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(155, 192, 49, .45); }
.pulse span:nth-child(2) { inset: 40px; }
.pulse span:nth-child(3) { inset: 80px; background: rgba(155, 192, 49, .12); }
.tile__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--lime); }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .bento { grid-auto-flow: dense; }
  .bento > li { grid-column: span 1; }
  .bento > li.b-big { grid-column: span 2; grid-row: span 2; }
  .bento > li.b-wide { grid-column: span 2; }
}
.tile__icon svg .fill { fill: currentColor; stroke: none; }

/* Mikro-Interaktionen */
@media (prefers-reduced-motion: no-preference) {
  .pulse span { animation: pulse 3.6s var(--ease) infinite; }
  .pulse span:nth-child(2) { animation-delay: .4s; }
  .pulse span:nth-child(3) { animation-delay: .8s; }
  a.tile:hover .tile__icon .ico-flip { transform: rotateX(180deg); }
  .tile__icon .ico-flip { transition: transform .7s var(--ease-out); transform-box: fill-box; transform-origin: 50% 100%; }
  a.tile:hover .tile__icon .ico-move { transform: translateX(5px); }
  .tile__icon .ico-move { transition: transform .6s var(--ease-out); }
  a.tile:hover .tile__icon .ico-glow { stroke: var(--lime-hell); fill: rgba(155, 192, 49, .3); }
  .tile__icon .ico-glow { transition: fill .4s, stroke .4s; }
  a.tile:hover .tile__icon .ico-draw { stroke-dashoffset: 0; }
  .tile__icon .ico-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s var(--ease-out); }
  a.tile:hover .tile__icon .ico-press { transform: translateY(1.5px); }
  .tile__icon .ico-press { transition: transform .15s; }
  .tile--shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .09) 45%, transparent 60%); transform: translateX(-100%); transition: transform 1.1s var(--ease-out); pointer-events: none; }
  .tile--shine:hover::after { transform: translateX(100%); }
}
@keyframes pulse { 0% { transform: scale(.85); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }

/* Ideen-Kachel */
.tile--idee { background: linear-gradient(160deg, #142f45, var(--ink-2)); border: 1px dashed rgba(212, 175, 110, .55); }
.idee-label {
  align-self: flex-start;
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border-radius: 999px; background: var(--gold); color: var(--navy);
  font-size: .8125rem; font-weight: 800; letter-spacing: .01em;
}
.wave { display: flex; align-items: center; gap: 4px; height: 44px; margin: 4px 0; }
.wave span { width: 4px; height: 100%; border-radius: 4px; background: var(--gold); opacity: .7; transform: scaleY(var(--h, .3)); transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .tile--idee:hover .wave span, .tile--idee.is-playing .wave span { animation: wave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -97ms); }
}
@keyframes wave { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.idee-more summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .55em; min-height: 44px; padding: 0 1.1em;
  border-radius: 999px; border: 1.5px solid rgba(212, 175, 110, .7); color: var(--on-dark);
  font-weight: 700; font-size: .9375rem;
  transition: background-color .3s, color .3s;
}
.idee-more summary::-webkit-details-marker { display: none; }
.idee-more summary:hover, .idee-more[open] summary { background: var(--gold); color: var(--navy); }
.idee-more summary svg { width: 16px; height: 16px; fill: currentColor; }
.idee-more p { margin-top: 12px; padding: 14px 16px; border-radius: var(--r-s); background: rgba(212, 175, 110, .12); color: var(--on-dark); font-size: .95rem; }
.idee-more[open] p { animation: panelIn .5s var(--ease-out); }

/* ---------- Referenzen ---------- */
.refs__marquee { overflow: clip; margin-top: clamp(36px, 5vw, 64px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.refs__inner { display: flex; width: max-content; }
.refs__list { list-style: none; display: flex; gap: 16px; padding-right: 16px; flex: none; }
.ref {
  display: grid; place-items: center; width: clamp(200px, 22vw, 280px); aspect-ratio: 41 / 16;
  padding: 14px 22px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease-out);
}
.ref--dunkel { background: var(--navy); border-color: var(--navy); }
.ref img { width: 100%; height: auto; transition: filter .5s var(--ease), opacity .5s; }
@media (hover: hover) {
  .ref img { filter: grayscale(1); opacity: .72; }
  .ref:hover img, .ref:focus-visible img { filter: none; opacity: 1; }
  .ref:hover { border-color: var(--navy); transform: translateY(-3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .refs__inner { animation: marquee 38s linear infinite; }
  .refs__marquee:hover .refs__inner, .refs__marquee:focus-within .refs__inner { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .refs__marquee { -webkit-mask-image: none; mask-image: none; }
  .refs__inner { width: auto; }
  .refs__list { flex-wrap: wrap; flex: 1; padding: 0; }
  .refs__list[aria-hidden="true"] { display: none; }
  .refs__inner { padding-inline: var(--gutter); }
}

/* ---------- Fußbereich ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--on-dark); padding: clamp(80px, 10vw, 140px) 0 104px; overflow: clip; }
.footer__cta { display: grid; gap: 28px; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .footer__cta { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.footer__ask { font-size: clamp(2rem, 1.2rem + 3.4vw, 4.4rem); max-width: 16ch; }
.footer__grid { display: grid; gap: 40px; padding: clamp(48px, 6vw, 80px) 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer__grid h2 { font-size: .95rem; font-weight: 700; color: var(--lime); margin-bottom: 14px; }
.footer__grid ul { list-style: none; display: grid; gap: 8px; }
.footer__grid a { text-decoration: none; color: var(--on-dark); }
.footer__grid a:hover { color: var(--lime); text-decoration: underline; }
.footer__grid address, .footer__grid li { color: var(--on-dark-soft); }
.footer__brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer__giant { padding: 8px var(--gutter) clamp(40px, 5vw, 72px); display: grid; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.footer__giant span {
  display: block; white-space: nowrap;
  font-size: min(14vw, 13.4rem); line-height: .92; letter-spacing: -.045em; font-weight: 300;
  padding-bottom: .16em; margin-bottom: -.16em;
  color: transparent; -webkit-text-stroke: 1px rgba(238, 240, 235, .32);
  background: linear-gradient(90deg, var(--lime) 0 50%, rgba(155, 192, 49, 0) 50% 100%);
  background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
}
.footer__giant span:nth-child(2) { padding-left: .7em; }
.footer__partner { display: grid; gap: 14px; padding: 36px 0; border-top: 1px solid var(--line-dark); }
.footer__partner h2 { font-size: .95rem; font-weight: 700; color: var(--on-dark-soft); }
.footer__partner img { width: 150px; height: auto; }
.footer__partner p { margin: 0; color: var(--on-dark-soft); font-size: .95rem; max-width: 62ch; }
.footer__partner a { color: var(--on-dark); }
.footer__partner a:hover { color: var(--lime); }
@media (min-width: 900px) {
  .footer__partner { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; column-gap: 32px; }
  .footer__partner .partner__text { display: grid; gap: 4px; }
}
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: .9rem; color: var(--on-dark-soft); }
.footer__legal p { margin: 0; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.footer__legal a { color: var(--on-dark); text-decoration: none; }
.footer__legal a:hover { color: var(--lime); text-decoration: underline; }

/* Nach-oben-Knopf (rechts unten) */
.totop {
  position: fixed; right: 16px; bottom: 16px; z-index: 65;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(11, 31, 46, .88); color: var(--on-dark);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s, transform .5s var(--ease-out), visibility 0s .4s;
  box-shadow: 0 10px 30px rgba(11, 31, 46, .25);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .5s var(--ease-out), visibility 0s; }
.totop svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop circle { fill: none; stroke-width: 2; }
.totop .ring-bg { stroke: rgba(238, 240, 235, .18); }
.totop .ring { stroke: var(--lime); stroke-dasharray: 1; stroke-dashoffset: 1; }
.totop .arrow { position: relative; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: none; }
.no-js .totop { display: none; }

/* Eigener Cursor (nur Desktop mit Maus) */
.cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; width: 0; height: 0; mix-blend-mode: difference; }
.cursor span {
  position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .9);
  opacity: 0; transform: scale(.6);
  transition: transform .45s var(--ease-out), opacity .3s, background-color .3s;
}
.cursor.is-on span { opacity: 1; transform: scale(1); }
.cursor.is-link span { transform: scale(1.6); border-width: 1px; }
.cursor.is-down span { transform: scale(.8); }

/* ---------- Versicherungen ---------- */
.chipbar { position: sticky; top: 0; z-index: 40; background: rgba(238, 240, 235, .94); border-bottom: 1px solid var(--line); transition: top .5s var(--ease); }
@supports (backdrop-filter: blur(1px)) { .chipbar { background: rgba(238, 240, 235, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
html:not(.header-hidden) .chipbar { top: var(--header-h); }
.chipbar__list { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter); scrollbar-width: none; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.chipbar__list::-webkit-scrollbar { display: none; }
.chipbar a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.chipbar a:hover { border-color: var(--navy); }
.chipbar a[aria-current="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.gruppe { display: grid; gap: 28px; padding: clamp(56px, 7vw, 104px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 72px); }
.gruppe:last-of-type { border-bottom: 0; }
.gruppe__head { display: grid; gap: 14px; align-content: start; }
.gruppe__head h2 { font-size: clamp(1.9rem, 1.1rem + 1.6vw, 2.6rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.gruppe__count { font-size: .9rem; font-weight: 600; color: var(--text-soft); }
.gruppe__head p { color: var(--text-soft); max-width: 40ch; margin: 0; }
.gruppe__bild { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 8px; background: #d5dbd8; }
.gruppe__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.gruppe:hover .gruppe__bild img { transform: scale(1.03); }
.items { list-style: none; display: grid; border-top: 1px solid var(--line); }
.item a {
  display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 6px 18px; align-items: start;
  padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background-color .35s, padding .45s var(--ease-out);
}
.item a:hover { background: rgba(19, 64, 94, .05); padding-left: 14px; }
.item h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.item p { grid-column: 1; margin: 0; color: var(--text-soft); font-size: .95rem; line-height: 1.55; max-width: 62ch; }
.item__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s, border-color .3s, color .3s; }
.item__go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.item a:hover .item__go { background: var(--navy); border-color: var(--navy); color: #fff; }
.items--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .items--2 { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1024px) {
  .gruppe { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
  .gruppe__head { position: sticky; top: calc(var(--header-h) + 96px); }
}
.mehr { border-bottom: 1px solid var(--line); }
.mehr > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 4px; font-weight: 700; color: var(--navy); }
.mehr > summary::-webkit-details-marker { display: none; }
.mehr > summary::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 8px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 8px no-repeat; transition: transform .4s var(--ease-out); }
.mehr[open] > summary::before { transform: rotate(45deg); }
.mehr[open] > summary .mehr__auf { display: none; }
.mehr:not([open]) > summary .mehr__zu { display: none; }
.mehr > .items { border-top: 0; }
.mehr[open] > .items { animation: panelIn .5s var(--ease-out); }
.gruppe__list { min-width: 0; }
.extern-hinweis { font-size: .9rem; color: var(--text-soft); margin-top: 18px; }

/* Karten (VIP, Kontakt, Rechner) */
.cards { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card {
  position: relative; display: grid; gap: 8px; align-content: start;
  padding: 24px; border-radius: var(--r-m); background: var(--papier); border: 1px solid var(--line);
  text-decoration: none; height: 100%;
  transition: border-color .4s, transform .5s var(--ease-out), background-color .4s;
}
a.card:hover { border-color: var(--navy); transform: translateY(-4px); }
.card h3 { font-size: 1.3rem; }
.card__sub { font-weight: 700; font-size: .95rem; }
.card p { margin: 0; color: var(--text-soft); font-size: .95rem; }
.card__go { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s; }
.card__go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a.card:hover .card__go { background: var(--navy); color: #fff; border-color: var(--navy); }
.card .tag { font-size: .8125rem; font-weight: 700; color: var(--lime-text); }
.s-dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.s-dark .card p { color: var(--on-dark-soft); }
.s-dark a.card:hover { border-color: var(--lime); }
.s-dark .card__go { border-color: var(--line-dark); }
.s-dark a.card:hover .card__go { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.s-dark .card .tag { color: var(--lime); }
.vip-gruppe + .vip-gruppe { margin-top: clamp(48px, 6vw, 80px); }
.vip-gruppe h3.vip-gruppe__titel { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin-bottom: 22px; }
.card.has-go { padding-right: 64px; }

/* ---------- Service: Schaden, Formulare ---------- */
.schaden__grid { display: grid; gap: clamp(40px, 6vw, 80px); }
.steps { list-style: none; counter-reset: s; display: grid; gap: 0; margin: 28px 0 36px; }
.steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--navy); font-variation-settings: "SOFT" 100; }
.contact-box { padding: 24px; border-radius: var(--r-m); background: var(--papier); border: 1px solid var(--line); display: grid; gap: 4px; }
.contact-box strong { font-weight: 700; }
.contact-box a { font-weight: 600; }
@media (min-width: 1024px) { .schaden__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.form { display: grid; gap: 20px; align-content: start; align-self: start; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-l); background: var(--papier); border: 1px solid var(--line); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.form legend { font-family: var(--f-display); font-size: 1.5rem; font-variation-settings: "SOFT" 60; margin-bottom: 6px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-s);
  border: 1.5px solid rgba(19, 64, 94, .28); background: #fff; color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(19, 64, 94, .14); }
.field input[type="file"] { font: inherit; font-size: .95rem; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.choice input, .check input { width: 20px; height: 20px; accent-color: var(--navy); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.form__note { font-size: .875rem; color: var(--text-soft); margin: 0; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { padding: 16px 18px; border-radius: var(--r-s); background: rgba(155, 192, 49, .18); border: 1px solid rgba(83, 113, 15, .4); color: var(--text); font-weight: 600; }
.form-status a { white-space: nowrap; }
.stepper { display: none; }
.js .stepper { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; }
.stepper li { flex: 1 1 0; min-width: 0; }
.stepper span { display: block; height: 3px; border-radius: 3px; background: var(--line); transition: background-color .4s; }
.stepper b { display: block; font-size: .75rem; font-weight: 600; color: var(--text-soft); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper li.is-done span, .stepper li.is-current span { background: var(--navy); }
.stepper li.is-current b { color: var(--text); }
.js .form--steps fieldset[data-step]:not(.is-current) { display: none; }
.js .form--steps fieldset.is-current { animation: panelIn .5s var(--ease-out); }
.step-nav { display: none; }
.js .step-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.js .form--steps .form__actions--final { display: none; }
.js .form--steps.is-last .form__actions--final { display: flex; }
.js .form--steps.is-last .step-next { display: none; }

/* Rechner */
.rechner { display: grid; gap: clamp(28px, 4vw, 56px); }
.rechner h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-variation-settings: "SOFT" 60; margin-bottom: 12px; }
.linklist { list-style: none; border-top: 1px solid var(--line); }
.linklist a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; transition: padding .45s var(--ease-out), color .3s; }
.linklist a:hover { padding-left: 12px; color: var(--navy); }
.s-dark .linklist, .s-dark .linklist a { border-color: var(--line-dark); }
.s-dark .linklist a:hover { color: var(--lime); }
.linklist svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .rechner { grid-template-columns: 1fr 1fr; } }

.service-quote { display: grid; gap: 24px; align-items: center; }
.service-quote img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.service-quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.8rem); line-height: 1.15; font-variation-settings: "SOFT" 60; letter-spacing: -.02em; max-width: 28ch; }
.service-quote cite { display: block; margin-top: 14px; font: 600 1rem var(--f-text); font-style: normal; color: var(--text-soft); }
@media (min-width: 760px) { .service-quote { grid-template-columns: auto 1fr auto; gap: 40px; } }

/* ---------- Kontakt ---------- */
.wege { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.weg { display: grid; gap: 6px; padding: 24px; border-radius: var(--r-m); background: var(--papier); border: 1px solid var(--line); text-decoration: none; transition: border-color .4s, transform .5s var(--ease-out); }
a.weg:hover { border-color: var(--navy); transform: translateY(-4px); }
.weg__label { font-size: .9rem; font-weight: 600; color: var(--text-soft); }
.weg__wert { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); font-variation-settings: "SOFT" 60; letter-spacing: -.015em; overflow-wrap: anywhere; }
.kontakt__grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 1024px) { .kontakt__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.adresskarte { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--navy); color: var(--on-dark); min-height: 420px; display: grid; align-content: end; padding: clamp(24px, 4vw, 48px); isolation: isolate; }
.adresskarte__art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.adresskarte__art path { fill: none; stroke: rgba(238, 240, 235, .14); stroke-width: 1; }
.adresskarte__art .fluss-l { stroke: rgba(155, 192, 49, .55); stroke-width: 2; }
.adresskarte__pin { position: absolute; z-index: 0; top: 34%; left: 58%; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 8px rgba(155, 192, 49, .22), 0 0 0 20px rgba(155, 192, 49, .1); }
@media (prefers-reduced-motion: no-preference) { .adresskarte__pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--lime); animation: pulse 2.8s var(--ease) infinite; } }
.adresskarte address { font-family: var(--f-display); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); line-height: 1.1; font-variation-settings: "SOFT" 60; letter-spacing: -.02em; margin-bottom: 22px; }
.adresskarte .btn { justify-self: start; }

/* ---------- Rechtstexte ---------- */
.recht { padding: clamp(56px, 7vw, 104px) 0 var(--sec-pad); }
.recht__grid { display: grid; gap: 48px; }
.recht__text { max-width: 74ch; }
.recht__text h2 { font-family: var(--f-display); font-variation-settings: "SOFT" 60; font-weight: 380; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.15; letter-spacing: -.015em; margin: 2.2em 0 .7em; scroll-margin-top: calc(var(--header-h) + 24px); }
.recht__text h2:first-child { margin-top: 0; }
.recht__text h3 { font-size: 1.125rem; font-weight: 700; margin: 1.8em 0 .6em; }
.recht__text p, .recht__text li { color: var(--text); }
.recht__text ul { padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: .35em; }
.recht__text a { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.recht__text .block { padding: 22px 24px; border-radius: var(--r-m); background: var(--papier); border: 1px solid var(--line); margin-bottom: 18px; }
.recht__text .klein { font-size: .9rem; color: var(--text-soft); }
.toc { display: none; }
@media (min-width: 1100px) {
  .recht__grid--toc { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; }
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .toc h2 { font-size: .95rem; font-weight: 700; margin-bottom: 12px; }
  .toc ul { list-style: none; display: grid; gap: 4px; border-left: 1.5px solid var(--line); }
  .toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1.5px; border-left: 1.5px solid transparent; text-decoration: none; font-size: .9rem; color: var(--text-soft); transition: color .3s, border-color .3s; }
  .toc .toc-3 a { padding-left: 30px; }
  .toc a:hover, .toc a[aria-current="true"] { color: var(--text); border-color: var(--navy); }
}

/* ---------- Bewegung: Startzustände nur mit .motion ---------- */
.motion .hero [data-split], .motion .phero [data-split] { visibility: hidden; }
.motion .hero__intro { opacity: 0; }
.split-line { padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Seitenwechsel ---------- */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vtOut .45s var(--ease) both; }
  ::view-transition-new(root) { animation: vtIn .7s var(--ease-out) both; }
}
@keyframes vtOut { to { opacity: 0; transform: translateY(-18px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(26px); } }

/* ---------- Reduzierte Bewegung: alles aus ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee__inner, .refs__inner, .film__track { animation: none !important; transform: none !important; }
  .marquee { overflow-x: auto; scrollbar-width: none; }
}

@media print {
  .site-header, .progress, .totop, .menu, .cursor { display: none !important; }
  body { background: #fff; }
}

/* ---------- Ergänzungen Livefassung (Formulare, Hinweise) ---------- */
.ki-hinweis { margin: 0; padding: 10px 16px 18px; font-size: .75rem; line-height: 1.4; text-align: center; opacity: .7; color: inherit; }
.item__static { display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 6px 18px; align-items: start; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.form-fehler { display: none; margin: 0; padding: 16px 18px; border-radius: var(--r-s); background: rgba(176, 42, 42, .08); border: 1px solid rgba(150, 30, 30, .5); color: var(--text); font-weight: 600; scroll-margin-top: 120px; }
.form-fehler:target, .form-fehler.is-visible { display: block; }
.form-fehler a { white-space: nowrap; }
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.phero .lead a { color: var(--on-dark); font-weight: 600; }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 640px) and (max-width: 1023px) { .bento > li:last-child:nth-child(odd) { grid-column: span 4; } }
.card h3 { overflow-wrap: break-word; hyphens: auto; }
