/* ============================================================================
   Ingenieurbüro JIM GbR · Kfz-Sachverständige Essen & NRW
   CI: refined deep red as the single accent, near-black cinematic sections,
   light technical ground. Barlow Condensed over Barlow, blueprint objects with
   registration marks, red-duotone photography. One accent, disciplined space.
   Single source of truth for all values. No hard-coded hex outside :root.
   ========================================================================== */
@import url('fonts.css');   /* Barlow + Barlow Condensed selbst gehostet (DSGVO: kein Google-Fonts-Request) */

:root {
  /* — Primitives — */
  --color-bg: #f5f5f6;
  --color-surface: #ececee;
  --color-text: #16161a;
  --color-accent: #c8102e;                 /* refined deep red — the one accent */
  --color-divider: color-mix(in srgb, #16161a 15%, transparent);

  --color-neutral-100: #f4f4f6; --color-neutral-200: #e6e6e9;
  --color-neutral-300: #d2d2d6; --color-neutral-400: #b4b4b9;
  --color-neutral-500: #949499; --color-neutral-600: #76767b;
  --color-neutral-700: #59595e; --color-neutral-800: #3f3f43;
  --color-neutral-900: #27272a;

  --color-accent-100: #fbe9ec; --color-accent-200: #f6ccd3;
  --color-accent-300: #eea3ae; --color-accent-400: #e06576;
  --color-accent-500: #d42a42; --color-accent-600: #a50d26;
  --color-accent-700: #82091e; --color-accent-800: #5e0715;
  --color-accent-900: #3b040e;

  /* — Semantic aliases (UI references these) — */
  --bg: var(--color-bg);
  --surface: var(--color-surface);
  --text: var(--color-text);
  --muted: #5f5f61;                        /* WCAG AA: 5.4:1 on panels, 5.85:1 on base */
  --faint: color-mix(in srgb, var(--color-text) 40%, transparent);
  --line: var(--color-divider);
  --line-strong: color-mix(in srgb, var(--color-text) 30%, transparent);
  --accent: var(--color-accent);
  --accent-hover: var(--color-accent-700);
  --accent-press: var(--color-accent-800);
  --on-accent: #ffffff;
  --focus: var(--color-accent-700);

  /* — Night section (near-black cinematic ground) — */
  --night-bg: #0e0e10;
  --night-bg-2: #18181b;
  --night-text: #f4f4f5;
  --night-muted: color-mix(in srgb, #f4f4f5 60%, transparent);
  --night-line: color-mix(in srgb, #ffffff 13%, transparent);
  --night-accent: #e8737f;                 /* soft red for labels on dark */

  /* — Type — */
  --font-heading: "Barlow Condensed", system-ui, -apple-system, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.85rem, 6.6vw, 5.6rem);
  --fs-editorial: clamp(2.1rem, 5vw, 4rem);
  --fs-display: clamp(2.1rem, 4vw, 3.2rem);
  --fs-h2: clamp(1.85rem, 3.3vw, 2.75rem);
  --fs-h3: clamp(1.2rem, 1.9vw, 1.55rem);
  --fs-h4: clamp(1.05rem, 1.4vw, 1.2rem);
  --fs-body: clamp(1.02rem, 0.5vw + 0.9rem, 1.15rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.72rem;
  --lh-tight: 1.04;
  --lh-body: 1.62;

  /* — Space & layout — */
  --container: 1220px;
  --container-narrow: 780px;
  --pad-x: clamp(1.25rem, 4vw, 2.75rem);
  --section-y: clamp(4.25rem, 8.5vw, 8rem);
  --gap: clamp(1.25rem, 2.2vw, 2rem);
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;

  --radius: 0px;
  --radius-soft: 3px;
  --header-h: 68px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #0e0e10 14%, transparent);
  --shadow-md: 0 6px 22px color-mix(in srgb, #0e0e10 16%, transparent);
  --shadow-lg: 0 18px 48px color-mix(in srgb, #0e0e10 24%, transparent);

  --ease: cubic-bezier(.2, .6, .2, 1);
  --dur: 220ms;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body);
  font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--accent) 26%, transparent); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: var(--lh-tight); letter-spacing: -0.012em; }
p { max-width: 68ch; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; 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; top: 0; left: 50%; transform: translate(-50%, -120%); z-index: 200; background: var(--accent); color: var(--on-accent); padding: .6rem 1.1rem; font-family: var(--font-heading); font-weight: 600; letter-spacing: .04em; transition: transform var(--dur) var(--ease); }
.skip-link:focus { transform: translate(-50%, 0); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-eyebrow); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.section-head .eyebrow { color: var(--accent); }   /* win over .section-head p — eyebrow stays accent red */
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: var(--fs-h2); margin-top: var(--s3); }
.section-head p { color: var(--muted); margin-top: var(--s3); font-size: 1.05rem; }

/* ── Blueprint frame + registration marks (signature) ──────────────────── */
.blueprint { position: relative; border: 1px solid var(--line); border-radius: 0; }
.blueprint > .corner { position: absolute; width: 13px; height: 13px; color: color-mix(in srgb, var(--text) 55%, transparent); pointer-events: none; }
.blueprint > .corner::before, .blueprint > .corner::after { content: ""; position: absolute; background: currentColor; }
.blueprint > .corner::before { left: 6px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 6px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -7px; left: -7px; } .blueprint > .corner.tr { top: -7px; right: -7px; }
.blueprint > .corner.bl { bottom: -7px; left: -7px; } .blueprint > .corner.br { bottom: -7px; right: -7px; }

/* ── Duotone photography (red screenprint) ─────────────────────────────── */
.duotone { position: relative; overflow: hidden; background: var(--night-bg); }
.duotone > img { filter: grayscale(1) contrast(1.06) brightness(.92); mix-blend-mode: luminosity; }
.duotone::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--accent); mix-blend-mode: color; }
.duotone::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, color-mix(in srgb, var(--night-bg) 14%, transparent), color-mix(in srgb, var(--night-bg) 52%, transparent)); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; letter-spacing: .01em; line-height: 1.1; padding: .82rem 1.4rem; border: 1px solid var(--line-strong); border-radius: 0; color: var(--text); background: transparent; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-primary:active { background: var(--accent-press); }
.btn-secondary:hover { background: color-mix(in srgb, var(--text) 6%, transparent); border-color: var(--text); }
.btn-ghost { border-color: transparent; padding-inline: .4rem; color: var(--accent); }
.btn-ghost:hover { color: var(--accent-hover); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.on-dark .btn-secondary, .btn-secondary.on-dark { color: var(--night-text); border-color: var(--night-line); }
.on-dark .btn-secondary:hover, .btn-secondary.on-dark:hover { background: color-mix(in srgb, #fff 8%, transparent); border-color: var(--night-text); }
.arrow-link { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-heading); font-weight: 600; color: var(--accent); transition: gap var(--dur) var(--ease), color var(--dur) var(--ease); }
.arrow-link svg { width: 16px; height: 16px; }
.arrow-link:hover { color: var(--accent-hover); gap: .7rem; }

/* ── Header / navigation ───────────────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 90; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px) saturate(1.1); border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.nav { display: flex; align-items: center; gap: var(--s5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand__logo { position: relative; display: inline-flex; align-items: center; flex: none; }
.brand__logo-img { height: 46px; width: auto; display: block; }
.brand__logo-img--ondark { display: none; }
.header--over-hero:not(.is-scrolled) .brand__logo-img--onlight { display: none; }
.header--over-hero:not(.is-scrolled) .brand__logo-img--ondark { display: block; }
@media (max-width: 640px) { .brand__logo-img { height: 40px; } }
.footer__logo { height: var(--footer-logo-h); width: auto; max-width: 60%; display: block; margin: 0; }
.brand__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; line-height: 1; }
.brand__name small { display: block; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 1.6vw, 1.6rem); }
.nav__links a { font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--muted); transition: color var(--dur) var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__cta { display: inline-flex; align-items: center; gap: .8rem; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); }
.nav__toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }
@media (max-width: 940px) {
  .nav__links, .nav__phone-label { display: none; }
  .nav__toggle { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 89; background: var(--bg); padding: var(--pad-x); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); border-top: 1px solid var(--line); }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a { display: block; padding: 1rem 0; font-family: var(--font-heading); font-weight: 600; font-size: 1.4rem; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: var(--s5); }
}

/* ── Cinematic full-bleed hero ─────────────────────────────────────────── */
.header--over-hero { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; }
.header--over-hero:not(.is-scrolled) { border-bottom-color: transparent; }
.header--over-hero:not(.is-scrolled) .brand__name, .header--over-hero:not(.is-scrolled) .nav__toggle { color: #fff; }
.header--over-hero:not(.is-scrolled) .brand__name small { color: rgba(255,255,255,.72); }
.header--over-hero:not(.is-scrolled) .brand__mark { color: #fff; border-color: rgba(255,255,255,.5); }
.header--over-hero:not(.is-scrolled) .nav__links a { color: rgba(255,255,255,.82); }
.header--over-hero:not(.is-scrolled) .nav__links a:hover { color: #fff; }
.header--over-hero:not(.is-scrolled) .nav__toggle { border-color: rgba(255,255,255,.4); }
.hero-full { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: var(--night-text); background: var(--night-bg); }
.hero-full__bg { position: absolute; inset: 0; z-index: 0; }
.hero-full__bg .duotone { position: absolute; inset: 0; }
.hero-full__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero-full__scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(12,12,14,.62) 0%, rgba(12,12,14,.18) 34%, rgba(12,12,14,.36) 62%, rgba(12,12,14,.92) 100%); }
.hero-full__marks { position: absolute; inset: clamp(88px,12vh,124px) clamp(1rem,4vw,3rem) clamp(2rem,6vh,4rem); z-index: 3; pointer-events: none; }
.hero-full__marks i { position: absolute; width: 16px; height: 16px; color: rgba(255,255,255,.55); }
.hero-full__marks i::before, .hero-full__marks i::after { content: ""; position: absolute; background: currentColor; }
.hero-full__marks i::before { left: 7px; top: 0; width: 1px; height: 100%; }
.hero-full__marks i::after { top: 7px; left: 0; height: 1px; width: 100%; }
.hero-full__marks .tl { top: 0; left: 0; } .hero-full__marks .tr { top: 0; right: 0; }
.hero-full__marks .bl { bottom: 0; left: 0; } .hero-full__marks .br { bottom: 0; right: 0; }
.hero-full__inner { position: relative; z-index: 4; width: 100%; padding-block: clamp(88px,13vh,132px) clamp(4.5rem,13vh,8rem); }
.hero-full .eyebrow { color: #f0c4ca; margin-bottom: var(--s5); }
.hero-full__title { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -0.025em; line-height: .96; max-width: 17ch; }
.hero-full__title span { display: block; color: #fff; }
.hero-full__title .accent { color: var(--night-accent); }
.hero-full__sub { margin-top: clamp(1rem,2.4vh,1.6rem); font-size: clamp(1.06rem,1.3vw,1.28rem); max-width: 46ch; color: rgba(244,244,245,.88); line-height: 1.5; }
.hero-full__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: clamp(1.4rem,3vh,2.2rem); }
.hero-full .btn-secondary { color: #fff; border-color: rgba(255,255,255,.45); }
.hero-full .btn-secondary:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.hero-scroll { position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.4rem; z-index: 4; color: rgba(255,255,255,.72); display: grid; justify-items: center; gap: .35rem; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; font-family: var(--font-heading); font-weight: 600; }
.hero-scroll svg { width: 18px; height: 18px; animation: heroBob 2s var(--ease) infinite; }
@keyframes heroBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ── Spec strip ────────────────────────────────────────────────────────── */
.spec-strip { background: var(--night-bg-2); color: var(--night-text); }
.spec-strip__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.spec-strip__item { display: flex; align-items: center; gap: .8rem; padding: clamp(1.1rem,2.2vw,1.7rem) 0; }
.spec-strip__item + .spec-strip__item { border-left: 1px solid var(--night-line); padding-left: clamp(1rem,2.4vw,2.4rem); }
.spec-strip__item svg { width: 24px; height: 24px; color: var(--night-accent); flex: none; }
.spec-strip__k { font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; line-height: 1.1; }
.spec-strip__v { font-size: .82rem; color: var(--night-muted); margin-top: 2px; }

/* ── Editorial interstitial ────────────────────────────────────────────── */
.editorial { text-align: center; }
.editorial .eyebrow { justify-content: center; }
.editorial h2 { font-size: var(--fs-editorial); font-weight: 600; letter-spacing: -0.02em; line-height: 1.04; max-width: 20ch; margin: var(--s3) auto 0; }
.editorial p { color: var(--muted); max-width: 56ch; margin: var(--s4) auto 0; }

/* ── Editorial service index ───────────────────────────────────────────── */
.svc-list { margin-top: clamp(1.5rem,3vw,2.75rem); border-top: 1px solid var(--line-strong); }
.svc-row { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem,3vw,3rem); align-items: center; padding: clamp(1.5rem,3.2vw,2.7rem) clamp(.4rem,1.4vw,1.4rem); border-bottom: 1px solid var(--line); position: relative; color: inherit; transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.svc-row::after { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: center; transition: transform var(--dur) var(--ease); }
.svc-row:hover { background: var(--color-accent-100); padding-left: clamp(1rem,2.4vw,2rem); }
.svc-row:hover::after { transform: scaleY(1); }
.svc-row__num { font-family: var(--font-heading); font-weight: 600; font-size: clamp(.9rem,1.2vw,1.1rem); letter-spacing: .06em; color: var(--faint); font-variant-numeric: tabular-nums; transition: color var(--dur) var(--ease); }
.svc-row:hover .svc-row__num { color: var(--accent); }
.svc-row__title { display: block; font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.4rem,2.5vw,2.1rem); letter-spacing: -0.02em; line-height: 1.05; transition: color var(--dur) var(--ease); }
.svc-row:hover .svc-row__title { color: var(--accent-press); }
.svc-row__desc { display: block; color: var(--muted); margin-top: .5rem; max-width: 66ch; font-size: 1rem; }
.svc-row__arrow { width: 52px; height: 52px; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; color: var(--text); transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.svc-row__arrow svg { width: 20px; height: 20px; }
.svc-row:hover .svc-row__arrow { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (max-width: 640px) { .svc-row { gap: 1rem; padding-block: 1.5rem; } .svc-row__arrow { width: 44px; height: 44px; } .svc-row__desc { font-size: .92rem; } }

/* ── Why-us grid ───────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.why-item { padding-top: var(--s4); border-top: 2px solid var(--accent); }
.why-item__icon { color: var(--accent); margin-bottom: var(--s3); }
.why-item__icon svg { width: 26px; height: 26px; }
.why-item h3 { font-size: 1.18rem; }
.why-item p { font-size: .95rem; color: var(--muted); margin-top: var(--s2); }

/* ── Ablauf timeline (night) ───────────────────────────────────────────── */
.night { background: var(--night-bg); color: var(--night-text); position: relative; }
.night .section-head h2 { color: var(--night-text); }
.night .section-head p { color: var(--night-muted); }
.night .eyebrow { color: var(--night-accent); }
.timeline { position: relative; margin-top: clamp(2rem, 4vw, 3rem); }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--night-line); }
.tl-step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: var(--s5); padding-block: clamp(1.1rem, 2vw, 1.6rem); }
.tl-step__node { position: relative; z-index: 1; width: 23px; height: 23px; margin-top: 2px; border: 1px solid var(--night-accent); background: var(--night-bg); display: grid; place-items: center; }
.tl-step__node span { width: 7px; height: 7px; background: var(--night-accent); transition: background var(--dur) var(--ease); }
.tl-step.is-visible .tl-step__node span { background: var(--accent); }
.tl-step__num { font-family: var(--font-heading); font-weight: 600; font-size: .72rem; letter-spacing: .1em; color: var(--night-accent); }
.tl-step h3 { font-size: 1.3rem; color: var(--night-text); margin-top: 2px; }
.tl-step p { font-size: .98rem; color: var(--night-muted); margin-top: var(--s2); max-width: 52ch; }

/* ── Kostenübernahme ───────────────────────────────────────────────────── */
.kosten-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.kosten-card { position: relative; padding: clamp(1.5rem, 2.2vw, 2rem); border: 1px solid var(--line); background: var(--bg); }
.kosten-card--primary { background: var(--night-bg); color: var(--night-text); border-color: var(--night-bg); }
.kosten-card__tag { font-family: var(--font-heading); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.kosten-card--primary .kosten-card__tag { color: var(--night-accent); }
.kosten-card h3 { font-size: 1.28rem; margin-top: var(--s2); }
.kosten-card p { font-size: .96rem; color: var(--muted); margin-top: var(--s3); }
.kosten-card--primary p { color: var(--night-muted); }

/* ── Über uns ──────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.about__figure .duotone { aspect-ratio: 3 / 4; }
.about__figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about__body h2 { font-size: var(--fs-h2); }
.about__body p { margin-top: var(--s4); color: color-mix(in srgb, var(--text) 80%, transparent); }
.about__facts { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s6); border-top: 1px solid var(--line); padding-top: var(--s5); }
.about__fact b { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--accent); line-height: 1; }
.about__fact span { font-size: .82rem; color: var(--muted); }

/* ── Reviews ───────────────────────────────────────────────────────────── */
.reviews-placeholder { border: 1px dashed var(--line-strong); padding: clamp(2rem,4vw,3rem); text-align: center; color: var(--muted); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 1.35rem 0; text-align: left; font-family: var(--font-heading); font-weight: 600; font-size: 1.14rem; }
.faq-q__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q__icon::before, .faq-q__icon::after { content: ""; position: absolute; background: var(--accent); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.faq-q__icon::before { top: 10px; left: 2px; width: 18px; height: 1.5px; }
.faq-q__icon::after  { left: 10px; top: 2px; width: 1.5px; height: 18px; }
.faq-item[aria-expanded="true"] .faq-q__icon::after { transform: scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height var(--dur) var(--ease); }
.faq-a__inner { padding: 0 0 1.4rem; color: var(--muted); max-width: 74ch; }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 4vw, 4rem); }
.field { display: block; margin-bottom: var(--s4); }
.field > label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.input { width: 100%; min-height: 48px; padding: .7rem .9rem; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 0; caret-color: var(--accent); transition: border-color var(--dur) var(--ease); }
.input::placeholder { color: var(--faint); }
.input:hover { border-color: var(--line-strong); }
.input:focus-visible { border-color: var(--accent); outline: none; box-shadow: inset 0 0 0 1px var(--accent); }
textarea.input { min-height: 132px; resize: vertical; }
.seg { display: inline-flex; border: 1px solid var(--line); }
.seg label { padding: .6rem 1.1rem; font-family: var(--font-heading); font-weight: 600; font-size: .92rem; cursor: pointer; }
.seg label + label { border-left: 1px solid var(--line); }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg label:has(input:checked) { background: var(--accent); color: var(--on-accent); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--muted); }
.checkbox input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; }
.contact-line { display: flex; gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-line svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.contact-line b { font-family: var(--font-heading); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 2px; }
.contact-line a, .contact-line span { color: var(--text); }
.form-success { border: 1px solid var(--accent); background: var(--color-accent-100); padding: clamp(1.5rem,3vw,2.2rem); }
.form-success h3 { color: var(--accent-press); font-size: 1.4rem; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--night-bg); color: var(--night-text); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer__grid { --footer-logo-h: 132px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--gap); align-items: start; }
.footer__grid > div:not(.footer__brand) { padding-top: calc(var(--footer-logo-h) + var(--s3)); }
.footer__brand p { color: var(--night-muted); font-size: .92rem; margin-top: var(--s3); max-width: 34ch; }
.footer h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--night-accent); margin-bottom: var(--s4); font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.footer a, .footer button.linklike { color: var(--night-muted); font-size: .94rem; transition: color var(--dur) var(--ease); text-align: left; }
.footer a:hover, .footer button.linklike:hover { color: var(--night-text); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between; align-items: center; margin-top: clamp(2.5rem,5vw,3.5rem); padding-top: var(--s5); border-top: 1px solid var(--night-line); color: var(--night-muted); font-size: .84rem; }

/* ── Sticky CTA cluster ────────────────────────────────────────────────── */
.sticky-cta { position: fixed; right: clamp(1rem, 2vw, 1.5rem); bottom: clamp(1rem, 2vw, 1.5rem); z-index: 80; display: flex; flex-direction: column; gap: .7rem; }
.sticky-cta__btn { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); box-shadow: var(--shadow-md); transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease); }
.sticky-cta__btn svg { width: 24px; height: 24px; }
.sticky-cta__btn:hover { transform: translateY(-2px); }
.sticky-cta__btn--chat { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sticky-cta__btn--wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.sticky-cta__btn--tel:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sticky-cta__label { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--text); color: var(--bg); font-size: .8rem; padding: .3rem .6rem; opacity: 0; pointer-events: none; transition: opacity var(--dur); }
.sticky-cta__btn:hover .sticky-cta__label { opacity: 1; }

/* ── Reveal animation ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.blueprint.reveal .corner { opacity: 0; transition: opacity .5s var(--ease) .15s; }
.blueprint.reveal.is-visible .corner { opacity: 1; }

/* ── Legal / doc pages ─────────────────────────────────────────────────── */
.doc { padding-block: clamp(2.5rem, 5vw, 4rem) var(--section-y); }
.doc__head { max-width: var(--container-narrow); }
.doc__head h1 { font-size: var(--fs-display); }
.doc__head .muted { margin-top: var(--s3); }
.prose { max-width: var(--container-narrow); }
.prose h2 { font-size: 1.5rem; margin-top: var(--s7); margin-bottom: var(--s3); }
.prose h3 { font-size: 1.15rem; margin-top: var(--s5); margin-bottom: var(--s2); }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 82%, transparent); }
.prose p { margin-bottom: var(--s3); }
.prose ul { padding-left: 1.2rem; margin-bottom: var(--s3); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── Detail (service) hero ─────────────────────────────────────────────── */
.detail-hero { background: var(--night-bg); color: var(--night-text); padding-block: clamp(3rem,6vw,5rem); }
.detail-hero .eyebrow { color: var(--night-accent); }
.detail-hero__back { display: inline-flex; align-items: center; gap: .4rem; color: var(--night-muted); font-size: .9rem; margin-bottom: var(--s5); }
.detail-hero__back:hover { color: var(--night-text); }
.detail-hero__icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--night-line); color: var(--night-accent); margin-bottom: var(--s4); }
.detail-hero__icon svg { width: 28px; height: 28px; }
.detail-hero h1 { font-size: var(--fs-display); }
.detail-hero p { color: var(--night-muted); margin-top: var(--s4); font-size: 1.12rem; max-width: 56ch; }
.detail-hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.checklist b { font-family: var(--font-heading); font-weight: 600; }
.checklist span { display: block; color: var(--muted); font-size: .9rem; }

/* ── Cookie consent banner ─────────────────────────────────────────────── */
.consent { position: fixed; left: clamp(1rem,2vw,1.5rem); right: auto; bottom: clamp(1rem,2vw,1.5rem); z-index: 110; max-width: 560px; width: calc(100% - 2 * clamp(1rem,2vw,1.5rem)); background: var(--bg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); padding: clamp(1.25rem, 2vw, 1.6rem); transform: translateY(12px); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); }
.consent.is-open { transform: none; opacity: 1; visibility: visible; }
.consent h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.consent h3 svg { width: 18px; height: 18px; color: var(--accent); }
.consent p { font-size: .88rem; color: var(--muted); margin-top: var(--s2); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--s4); }
.consent__actions .btn { flex: 1; min-width: 130px; font-size: .9rem; padding: .7rem 1rem; }
.consent__cat { display: flex; align-items: flex-start; gap: .6rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.consent__cat:first-of-type { margin-top: var(--s3); }
.consent__cat input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; }
.consent__cat b { font-family: var(--font-heading); font-weight: 600; font-size: .95rem; }
.consent__cat span { display: block; font-size: .82rem; color: var(--muted); }

/* ── Chat widget ───────────────────────────────────────────────────────── */
.chat { position: fixed; right: clamp(1rem,2vw,1.5rem); bottom: clamp(1rem,2vw,1.5rem); z-index: 130; width: min(376px, 92vw); height: min(580px, 78vh); background: var(--bg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); display: none; flex-direction: column; }
.chat.is-open { display: flex; }
.chat__header { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: var(--night-bg); color: var(--night-text); }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--night-bg-2); flex: none; border: 1px solid var(--night-line); }
.chat__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.chat__id b { font-family: var(--font-heading); font-weight: 600; font-size: .98rem; display: block; line-height: 1.1; }
.chat__id span { font-size: .74rem; color: var(--night-muted); display: inline-flex; align-items: center; gap: .35rem; }
.chat__id span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fa36b; }
.chat__close { margin-left: auto; color: var(--night-text); width: 34px; height: 34px; display: grid; place-items: center; }
.chat__body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; scroll-behavior: smooth; }
.bubble { max-width: 82%; padding: .65rem .85rem; font-size: .92rem; line-height: 1.5; border: 1px solid var(--line); }
.bubble--bot { background: var(--surface); align-self: flex-start; }
.bubble--user { background: var(--accent); color: var(--on-accent); border-color: var(--accent); align-self: flex-end; }
.chat__choices { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1rem .6rem; }
.chat__choices .btn { font-size: .86rem; padding: .55rem .9rem; }
.chat__footer { border-top: 1px solid var(--line); padding: .75rem; display: flex; gap: .5rem; }
.chat__footer .input { min-height: 42px; }
.chat__footer .btn-primary { padding-inline: 1rem; }
.chat__summary { background: var(--surface); border: 1px solid var(--line); padding: .8rem; font-size: .86rem; white-space: pre-wrap; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1040px) { .why-grid, .kosten-grid { grid-template-columns: repeat(2, 1fr); } .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s6); } .footer__grid > div:not(.footer__brand) { padding-top: 0; } }
@media (max-width: 860px) { .about-grid, .contact-grid { grid-template-columns: 1fr; } .about__figure { max-width: 380px; } .checklist { grid-template-columns: 1fr; } .hero-full__title { max-width: 100%; } .spec-strip__row { grid-template-columns: 1fr; } .spec-strip__item + .spec-strip__item { border-left: 0; border-top: 1px solid var(--night-line); padding-left: 0; } .spec-strip__item { padding-block: .95rem; } }
@media (max-width: 560px) { .why-grid, .kosten-grid { grid-template-columns: 1fr; } .footer__grid { grid-template-columns: 1fr; } }

/* ── Reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .blueprint.reveal .corner { opacity: 1; }
  .hero-scroll svg { animation: none; }
}
@media print { .header, .sticky-cta, .chat, .consent, .footer { display: none; } }

/* ════════════════════════════════════════════════════════════════════════
   QUICK FIXES — natural-colour photography (no red tint), team roster,
   extra motion & hover. Reduced-motion still governed by the block above.
   ════════════════════════════════════════════════════════════════════════ */

/* Hero photo in natural colour + slow cinematic zoom (no duotone) */
.hero-full__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transform-origin: center; animation: heroZoom 26s var(--ease) infinite alternate; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }

/* Team roster (replaces the single figure — real names, blueprint tiles) */
.about__team { display: flex; flex-direction: column; gap: var(--s4); }
/* ── Team als Gruppen-Figur (Blueprint-Linienkunst, drei Ingenieure zusammen) ── */
.team-figures { position: relative; border: 1px solid var(--line); background: var(--bg); padding: clamp(1.3rem,3vw,2rem) clamp(1.3rem,3vw,2.2rem) clamp(1rem,2vw,1.4rem); overflow: hidden; }
.team-figures:hover > .corner { color: var(--accent); }
.team-figures__svg { display: block; width: 100%; height: auto; color: color-mix(in srgb, var(--color-text) 48%, transparent); transition: color .4s var(--ease); }
.team-figures .tf-fig { transition: transform .5s var(--ease), color .4s var(--ease); transform: translateY(6px); opacity: 0; }
.reveal.is-visible .team-figures .tf-fig, .team-figures.is-visible .tf-fig { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .team-figures .tf-fig { opacity: 1; transform: none; } }
.team-figures .tf-fig--1 { transition-delay: .05s; } .team-figures .tf-fig--2 { transition-delay: .18s; } .team-figures .tf-fig--3 { transition-delay: .31s; }
.team-figures:hover .tf-fig { color: var(--ink, #16161a); }
.team-figures .tf-accent { fill: var(--accent); }
.team-figures__base { stroke: var(--line); }
/* Winken bei Klick/Tap auf den Namen (Desktop · Tablet · Mobil) */
.team-figures .tf-fig { transform-box: fill-box; transform-origin: bottom center; }
.team-figures .tf-fig.is-waving { animation: tfWave .95s ease; }
@keyframes tfWave { 0%,100% { transform: rotate(0deg); } 15% { transform: rotate(-7deg); } 32% { transform: rotate(5deg); } 50% { transform: rotate(-5deg); } 68% { transform: rotate(4deg); } 85% { transform: rotate(-2deg); } }
.team-name { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.team-name:hover { border-color: var(--accent); }
.team-name:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .team-figures .tf-fig.is-waving { animation: none; } }
.team-names { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s4); }
.team-name { text-align: center; position: relative; padding-top: var(--s3); border-top: 2px solid var(--line); transition: border-color var(--dur) var(--ease); }
.team-name:hover { border-color: var(--accent); }
.team-name b { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; line-height: 1.15; }
.team-name span { font-size: .76rem; color: var(--muted); }
@media (max-width: 560px) { .team-names { grid-template-columns: 1fr; gap: .5rem; } .team-name { border-top: 0; border-left: 2px solid var(--line); padding: .2rem 0 .2rem var(--s3); text-align: left; } }
/* ── Bewertungen — swipebarer Banner (nativ, kein Routing) ── */
.reviews { max-width: 1040px; margin-inline: auto; }
.reviews__head { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--s5); }
.reviews__g { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--accent); }
.reviews__rating { text-align: left; line-height: 1.2; }
.reviews__rating b { font-family: var(--font-heading); font-size: 1.15rem; }
.reviews__rating .stars { color: #f5a623; letter-spacing: 1px; font-size: .95rem; }
.reviews__rating span { display: block; font-size: .8rem; color: var(--muted); }
.reviews__viewport { overflow: hidden; }
.reviews__track { display: flex; gap: var(--s4); transition: transform .5s var(--ease); touch-action: pan-y; cursor: grab; }
.reviews__track.is-drag { transition: none; cursor: grabbing; }
.review-card { position: relative; flex: 0 0 clamp(276px, 82%, 372px); border: 1px solid var(--line); background: var(--bg); padding: clamp(1.4rem,2.4vw,1.9rem); display: flex; flex-direction: column; gap: .75rem; user-select: none; }
.review-card__stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; }
.review-card__text { line-height: 1.55; }
.review-card__text::before { content: "“"; color: var(--accent); font-family: var(--font-heading); font-weight: 700; margin-right: 2px; }
.review-card__foot { margin-top: auto; display: flex; align-items: center; gap: .7rem; }
.review-card__ava { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface, #f0f0f2); border: 1px solid var(--line); font-family: var(--font-heading); font-weight: 700; color: var(--accent); }
.review-card__meta b { display: block; font-size: .92rem; font-family: var(--font-heading); }
.review-card__meta span { font-size: .76rem; color: var(--muted); }
.reviews__nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: var(--s5); }
.reviews__arrow { width: 46px; height: 46px; border: 1px solid var(--line-strong); background: var(--bg); display: grid; place-items: center; border-radius: 50%; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.reviews__arrow:hover:not(:disabled) { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.reviews__arrow:disabled { opacity: .32; cursor: default; }
.reviews__arrow svg { width: 20px; height: 20px; }
.reviews__dots { display: flex; gap: .5rem; }
.reviews__dot { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: inline-grid; place-items: center; }
.reviews__dot::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: width var(--dur) var(--ease), background var(--dur) var(--ease), border-radius var(--dur) var(--ease); }
.reviews__dot.is-active::before { background: var(--accent); width: 22px; border-radius: 5px; }
.reviews__foot { display: flex; flex-direction: column; align-items: center; gap: .8rem; margin-top: var(--s5); }
.reviews__note { text-align: center; font-size: .76rem; color: var(--muted); max-width: 54ch; }
/* ── Footer-Kontakt ── */
.footer__contact { list-style: none; margin-top: var(--s4); display: flex; flex-direction: column; gap: .6rem; }
.footer__contact a, .footer__contact-note { display: flex; align-items: center; gap: .6rem; color: var(--night-text); font-size: .9rem; transition: color var(--dur) var(--ease); }
.footer__contact a:hover { color: var(--night-accent); }
.footer__contact svg { width: 17px; height: 17px; flex: none; color: var(--night-accent); }
.footer__contact-note { color: var(--night-muted); }
/* ── Werttreiber „Maximaler Schadensersatz" ── */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(1.5rem,3vw,2.5rem); }
.value-item { border-top: 2px solid var(--night-line); padding-top: var(--s4); transition: border-color var(--dur) var(--ease); }
.value-item:hover { border-color: var(--night-accent); }
.value-item svg { width: 26px; height: 26px; color: var(--night-accent); }
.value-item h3 { font-size: 1.1rem; margin-top: var(--s3); }
.value-item p { font-size: .92rem; color: var(--night-muted); margin-top: var(--s2); line-height: 1.5; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .value-grid { grid-template-columns: 1fr; } }
/* ── § 249-Claim-Band (0 € · freie Gutachterwahl) ── */
.claim-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); margin-bottom: clamp(1.5rem,3vw,2.5rem); }
.claim-band__main { display: flex; gap: clamp(1rem,2vw,1.6rem); align-items: center; padding: clamp(1.4rem,2.4vw,2rem); background: var(--night-bg); color: var(--night-text); }
.claim-band__big { font-family: var(--font-heading); font-weight: 700; font-size: clamp(3rem,7vw,4.6rem); line-height: .88; color: var(--night-accent); flex: none; }
.claim-band__main b, .claim-band__side b { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; display: block; }
.claim-band__main p { color: var(--night-muted); margin-top: .4rem; font-size: .95rem; line-height: 1.5; }
.claim-band__side { padding: clamp(1.4rem,2.4vw,2rem); border: 1px solid var(--line); }
.claim-band__side p { color: var(--muted); margin-top: .4rem; font-size: .95rem; line-height: 1.5; }
@media (max-width: 820px) { .claim-band { grid-template-columns: 1fr; } }
/* ── Foto-Ersteinschätzung ── */
.ersteinsch { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4rem); align-items: center; }
.ersteinsch__intro .btn { margin-top: var(--s5); }
@media (max-width: 860px) { .ersteinsch { grid-template-columns: 1fr; } }

/* Natural-colour framed photos elsewhere: gentle zoom on hover */
.blueprint > img { transition: transform .5s var(--ease); }
.about__figure { overflow: hidden; }
.about__figure:hover > .blueprint > img { transform: scale(1.04); }

/* Nav underline grow */
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* Why-item lift */
.why-item { transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.why-item:hover { transform: translateY(-4px); }
.why-item:hover .why-item__icon { color: var(--accent-hover); }

/* Primary button glow + kosten / spec micro-interactions */
.btn-primary:hover { box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 34%, transparent); }
.kosten-card { transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.kosten-card:not(.kosten-card--primary):hover { transform: translateY(-4px); border-color: var(--line-strong); }
.spec-strip__item svg { transition: transform var(--dur) var(--ease); }
.spec-strip__item:hover svg { transform: scale(1.14); }

@media (prefers-reduced-motion: reduce) { .hero-full__img { animation: none; } }

/* ── Imagefilm ─────────────────────────────────────────────────────────── */
/* ── Imagefilm — selbsttragende kinetische Sequenz (kein externes Video, VO-ready) ── */
.film { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0a0c; max-width: 1000px; margin-inline: auto; color: var(--night-text); border: 1px solid var(--night-line); }
.film__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease); }
.film.is-playing .film__still { opacity: .2; animation: filmKen 22s ease-out forwards; }   /* durchgehend leicht sichtbar = visueller Kontext */
.film.is-photo .film__still { opacity: .58; }                                              /* Vor-Ort-Szene: Foto tritt hervor */
.film__grid { position: absolute; inset: 0; z-index: 1; opacity: .55; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(120% 92% at 50% 42%, #000 32%, transparent 80%); mask-image: radial-gradient(120% 92% at 50% 42%, #000 32%, transparent 80%); }
.film__scrim { position: absolute; inset: 0; z-index: 2; background: radial-gradient(125% 95% at 50% 34%, rgba(10,10,12,.34), rgba(10,10,12,.84)); }
.film__scenes { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; text-align: center; padding: clamp(1.2rem,4vw,3rem); }
.film__scene { grid-area: 1 / 1; opacity: 0; transform: translateY(22px); filter: blur(7px); transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease); pointer-events: none; max-width: 30ch; will-change: opacity, transform, filter; }
.film__scene.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.film__num { font-family: var(--font-heading); font-size: .68rem; letter-spacing: .32em; color: rgba(255,255,255,.5); margin-bottom: .9rem; }
.film__kicker { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; color: #f0c4ca; margin-bottom: .55rem; }
.film__line { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.5rem,4.3vw,2.9rem); line-height: 1.05; color: #fff; letter-spacing: -.022em; }
.film__line .accent { color: var(--night-accent); }
.film__cta { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
.film__cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,.5); }
.film__cta .btn-secondary:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.film__controls { position: absolute; left: 14px; bottom: 15px; z-index: 6; display: flex; gap: .5rem; }
.film__btn { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(0,0,0,.44); border: 1px solid rgba(255,255,255,.42); color: #fff; border-radius: 50%; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.film__btn:hover { background: var(--night-accent); border-color: var(--night-accent); }
.film__btn svg { width: 19px; height: 19px; }
.film__toggle .i-pause, .film__toggle .i-replay { display: none; } .film__toggle .i-play { margin-left: 2px; }
.film.is-playing .film__toggle .i-play { display: none; } .film.is-playing .film__toggle .i-pause { display: block; }
.film.is-ended .film__toggle .i-play, .film.is-ended .film__toggle .i-pause { display: none; } .film.is-ended .film__toggle .i-replay { display: block; }
.film__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.16); z-index: 6; }
.film__progress span { display: block; height: 100%; width: 0; background: var(--night-accent); transition: width .12s linear; }
@keyframes filmKen { from { transform: scale(1.03); } to { transform: scale(1.16); } }
@media (prefers-reduced-motion: reduce) { .film.is-playing .film__still { animation: none; } .film__scene { transition: opacity .3s; filter: none; } .film__scene { transform: none; } }

/* ── Google Maps embed (consent-gated) ─────────────────────────────────── */
.map-embed { position: relative; width: 100%; height: clamp(300px, 42vw, 440px); overflow: hidden; background: var(--surface); }
.map-embed__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; text-align: center; padding: 2rem; color: var(--muted); }
.map-embed__ph svg { width: 34px; height: 34px; color: var(--accent); }
.map-embed__ph p { max-width: 46ch; }

/* ── Google reviews block ──────────────────────────────────────────────── */
.reviews-google { max-width: 620px; margin-inline: auto; text-align: center; border: 1px solid var(--line); background: var(--bg); padding: clamp(2rem,4vw,3rem); }
.reviews-google__g { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; color: var(--accent); margin-bottom: .8rem; }
.reviews-google h3 { font-size: 1.4rem; }
.reviews-google p { color: var(--muted); margin: .6rem auto 1.4rem; max-width: 46ch; }

/* form error / alert */
.form-error { background: var(--color-accent-100); border-left: 3px solid var(--accent); padding: .7rem 1rem; margin-bottom: 1rem; font-size: .92rem; color: var(--accent-press); }
/* Footer Social-Media-Icons */
.footer ul.footer__socials { display: flex; flex-direction: row; gap: .55rem; margin-top: 1.1rem; list-style: none; padding: 0; }
.footer__socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: rgba(255,255,255,.72); transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.footer__socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer__socials a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.footer__socials svg { width: 20px; height: 20px; display: block; }
/* Unfallgutachten als Schwerpunkt hervorheben */
.svc-tag { display: inline-block; margin-left: .55rem; font-family: var(--font-body); font-weight: 600; font-size: .6rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); padding: .2rem .55rem; border-radius: 100px; vertical-align: middle; white-space: nowrap; }
.svc-row--feature { background: color-mix(in srgb, var(--accent) 4.5%, transparent); }
.svc-row--feature .svc-row__num { color: var(--accent); }

/* ── Im Einsatz: echte Fotogalerie ── */
.einsatz-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 2.4rem; }
.eg-item { margin: 0; position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 5; background: #14141a; }
.eg-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.eg-item:hover img { transform: scale(1.045); }
.eg-item--wide { grid-column: span 2; aspect-ratio: 8 / 5; }
@media (max-width: 820px) {
  .einsatz-gallery { grid-template-columns: repeat(2, 1fr); }
  .eg-item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .einsatz-gallery { grid-template-columns: 1fr; gap: 12px; }
  .eg-item--wide { grid-column: auto; aspect-ratio: 4 / 3; }
}
/* ── Qualifikationen / Nachweise ── */
.quali { margin-top: 2.8rem; text-align: center; }
.quali__lead { color: var(--muted); font-size: 1rem; margin: 0 0 1.1rem; }
.quali__lead strong { color: var(--text); font-weight: 700; }
.quali__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.quali__badges li { font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--text); background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: .52rem .95rem; display: inline-flex; align-items: center; gap: .5rem; }
.quali__badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* === Scrollspy: aktive Section im Nav (Kundenwunsch #1) === */
.nav__links a.is-current { color: var(--accent); font-weight: 700; }
.nav__links a.is-current::after { transform: scaleX(1); }
.header--over-hero:not(.is-scrolled) .nav__links a.is-current { color: #fff; }

/* === Leistungen-Dropdown (Kundenwunsch #2) === */
.nav__item { display: inline-flex; align-items: center; }
.nav__item--has-sub { position: relative; }
.nav__caret { font-size: .7em; opacity: .7; margin-left: .1em; }
.nav__sub { position: absolute; top: 100%; left: 0; margin-top: .5rem; min-width: 232px; padding: .4rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 44px rgba(0,0,0,.18); display: flex; flex-direction: column; gap: 1px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s var(--ease); z-index: 70; }
.nav__sub::before { content: ""; position: absolute; top: -.5rem; left: 0; right: 0; height: .5rem; }
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { padding: .55rem .7rem; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav__sub a::after { display: none; }
.nav__sub a:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text); }
.header--over-hero:not(.is-scrolled) .nav__sub a { color: var(--muted); }
.header--over-hero:not(.is-scrolled) .nav__sub a:hover { color: var(--text); }

/* === Mobiler Hero: Hochformat-Crop mittig halten (Motiv erkennbar) === */
@media (max-width: 820px) {
  .hero-full__bg img, .hero-full__img { object-position: center 42%; }
}

/* === Über uns: echtes Teamfoto statt Illustration === */
.team-figures__photo { display: block; width: 100%; height: auto; border-radius: 4px; }
