/* =====================================================================
   Josef Bauer – Beton bohren & sägen
   Stylesheet  ·  vanilla CSS, no build step
   Sections: 1 Fonts · 2 Tokens · 3 Reset · 4 Type · 5 Layout · 6 Buttons
   7 Header/Nav · 8 Hero · 9 Stats · 10 Section head · 11 Leistungen
   12 Über uns · 13 Referenzen · 14 Ablauf · 15 Einsatzgebiet · 16 Kontakt
   17 Footer · 18 Legal prose · 19 Lightbox · 20 Reveal/anim · 21 Reduced motion
   ===================================================================== */

/* ---------- 1. Fonts (self-hosted, variable, latin subset) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Design tokens ---------- */
:root {
  /* palette — white / grey / black / red (red = accent only) */
  --c-black:    #0e0e10;
  --c-ink:      #15151a;   /* primary dark background          */
  --c-carbon:   #1c1c22;   /* dark surface                     */
  --c-graphite: #26262e;   /* dark surface 2 / borders         */
  --c-steel:    #3a3a44;   /* dark hairline / muted on dark    */

  --c-white:    #ffffff;
  --c-paper:    #f4f3f1;   /* light background (warm concrete) */
  --c-cloud:    #fbfbfa;   /* light surface / card             */
  --c-mist:     #e9e8e5;   /* light border / divider           */
  --c-grey:     #6b6b73;   /* muted text on light              */
  --c-grey-dk:  #4a4a52;

  --c-red:      #e10613;   /* brand red                        */
  --c-red-600:  #c20510;
  --c-red-700:  #9e0610;
  --c-red-tint: rgba(225, 6, 19, .12);

  /* semantic */
  --bg:        var(--c-paper);
  --surface:   var(--c-cloud);
  --text:      #16161a;
  --text-soft: var(--c-grey);
  --line:      var(--c-mist);
  --accent:    var(--c-red);

  /* typography */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero:   clamp(2.6rem, 1.2rem + 6.6vw, 7.25rem);
  --fs-h1:     clamp(2rem, 1.2rem + 3.4vw, 4rem);
  --fs-h2:     clamp(1.7rem, 1.15rem + 2.4vw, 3rem);
  --fs-h3:     clamp(1.2rem, 1.05rem + .7vw, 1.6rem);
  --fs-lead:   clamp(1.075rem, 1rem + .55vw, 1.4rem);
  --fs-body:   clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-small:  .875rem;
  --fs-eyebrow:.78rem;

  --lh-tight: 1.04;
  --lh-snug:  1.18;
  --lh-body:  1.65;

  /* spacing & layout */
  --section-y: clamp(4.5rem, 2.5rem + 8vw, 9.5rem);
  --container: 1280px;
  --container-narrow: 860px;
  --gutter: clamp(1.15rem, .6rem + 2.6vw, 3rem);

  --radius: 4px;
  --radius-lg: 10px;
  --radius-pill: 100px;

  /* motion */
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-quart: cubic-bezier(.25, 1, .5, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
  --dur: .85s;
  --dur-fast: .35s;

  --shadow-sm: 0 2px 8px rgba(14,14,16,.06);
  --shadow-md: 0 14px 40px -18px rgba(14,14,16,.35);
  --shadow-lg: 0 40px 80px -40px rgba(14,14,16,.55);

  --header-h: 76px;
}

/* ---------- 3. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  tab-size: 4;
}
/* Lenis controls scrolling once active; native smooth is the no-JS fallback */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  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, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select, button { font: inherit; }
ul[role="list"] { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--c-red);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--c-red); color: #fff; }

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 200;
  background: var(--c-red); color: #fff;
  padding: .7rem 1.1rem; border-radius: var(--radius); font-weight: 600;
  transform: translateY(calc(-100% - 1.5rem));   /* versteckt: nur transform statt top */
  transition: transform .25s var(--ease-quart);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 4. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--lh-snug);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

p { text-wrap: pretty; }
strong, b { font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-red);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--c-red); display: inline-block;
}
.eyebrow--center::before { display: none; }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text); }
.muted { color: var(--text-soft); }

/* ---------- 5. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

/* dark theme block */
.theme-dark {
  --bg: var(--c-ink);
  --surface: var(--c-carbon);
  --text: #f3f3f4;
  --text-soft: #a6a6ae;
  --line: var(--c-graphite);
  background: var(--bg);
  color: var(--text);
}
.theme-dark .eyebrow { color: #fff; }
.theme-dark .eyebrow::before { background: var(--c-red); }

.grid { display: grid; gap: var(--gutter); }

/* ---------- 6. Buttons ---------- */
.btn {
  --btn-bg: var(--c-red);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--radius);
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform .4s var(--ease-expo), box-shadow .4s var(--ease-expo), background-color .3s, color .3s, border-color .3s;
}
.btn .icon { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(225,6,19,.6); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--c-red); }
.btn--primary:hover { background: var(--c-red-600); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: currentColor;
  border-color: color-mix(in srgb, currentColor 32%, transparent);
}
.btn--ghost:hover {
  background: currentColor; border-color: currentColor;
  box-shadow: none;
}
.btn--ghost:hover .btn__label,
.btn--ghost:hover .icon { color: var(--c-ink); position: relative; }
.theme-dark .btn--ghost:hover .btn__label,
.theme-dark .btn--ghost:hover .icon { color: var(--c-ink); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--c-ink); }
.btn--light:hover { background: #fff; box-shadow: var(--shadow-md); }

.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* text link with animated underline */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--c-red);
  position: relative;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .4s var(--ease-expo); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- 7. Header / Nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-quart), box-shadow .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.header.is-scrolled {
  background: color-mix(in srgb, var(--c-ink) 86%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--c-graphite);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.8);
}
/* hide on scroll-down, show on scroll-up */
.header.is-hidden { transform: translateY(-100%); }
.header { transition: background-color .4s var(--ease-quart), box-shadow .4s, transform .5s var(--ease-expo), border-color .4s; }

/* brand lockup (real text — uses Archivo) */
.brand { display: inline-flex; flex-direction: column; gap: 3px; line-height: 1; color: #fff; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em;
  display: inline-flex; align-items: baseline;
}
.brand__josef { color: var(--c-red); font-weight: 700; font-style: italic; margin-right: .12em; }
.brand__bauer { color: var(--c-red); font-weight: 900; letter-spacing: .02em; }
.brand__sub {
  display: inline-flex; align-items: stretch; gap: .5em;
  font-family: var(--font-body); font-weight: 700; font-size: .58rem;
  letter-spacing: .26em; text-transform: uppercase; color: #fff;
  background: var(--c-black);
  padding: .28em .55em; border-radius: 2px;
}
.brand__sub .crack { width: 7px; flex: none; color: var(--c-red); align-self: center; }
.brand:hover .brand__bauer { color: var(--c-red-600); }

/* echtes Firmenlogo (SVG, transparent, auf den Schriftzug zugeschnitten) */
.brand-logo { display: block; flex: none; line-height: 0; }
.brand-logo img { display: block; height: 44px; width: auto; }
@media (max-width: 560px) { .brand-logo img { height: 38px; } }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.nav__list { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.9rem); list-style: none; }
.nav__link {
  position: relative; color: #e9e9ec; font-weight: 500; font-size: .95rem; padding: .35rem 0;
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--c-red); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-expo);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__cta { display: flex; align-items: center; gap: .7rem; }
.header__phone {
  display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600;
  white-space: nowrap;
}
.header__phone .icon { width: 1.1em; height: 1.1em; color: var(--c-red); }
.header__phone:hover { color: var(--c-red); }

/* burger */
.burger {
  display: none; width: 46px; height: 46px; position: relative; z-index: 120;
  border: 1px solid var(--c-steel); border-radius: var(--radius);
}
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .4s var(--ease-expo), opacity .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--c-ink);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform .6s var(--ease-expo);
  visibility: hidden;
  overflow-y: auto;
}
.nav-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu__list { list-style: none; display: flex; flex-direction: column; gap: .25rem; margin-top: auto; }
.mobile-menu__link {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 9vw, 3rem);
  color: #fff; padding: .35rem 0; display: inline-flex; align-items: center; gap: .8rem;
  letter-spacing: -.01em;
}
.mobile-menu__link .num { font-family: var(--font-body); font-size: .8rem; color: var(--c-red); font-weight: 700; }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .8rem; border-top: 1px solid var(--c-graphite); }
.mobile-menu__foot a { color: #cfcfd6; display: inline-flex; align-items: center; gap: .6rem; }
.mobile-menu__foot a .icon { color: var(--c-red); width: 1.2em; height: 1.2em; }
/* Querformat-Handys (niedrige Hoehe): 7 Links + Fusszeile muessen ohne Quetschen passen.
   Die margin-top:auto-Verteilung wird hier durch festen Abstand ersetzt. */
@media (max-height: 480px) {
  .mobile-menu { padding-top: calc(var(--header-h) + 0.75rem); padding-bottom: 1.5rem; gap: 1rem; }
  .mobile-menu__list { margin-top: 0; }
  .mobile-menu__link { font-size: clamp(1.3rem, 5.5vw, 1.6rem); padding: .25rem 0; }
  .mobile-menu__foot { margin-top: 0; padding-top: 1.25rem; }
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  padding-top: var(--header-h);
  color: #fff; overflow: hidden; isolation: isolate;
  background: var(--c-black);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 120%; object-fit: cover; object-position: center 35%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,.15) 30%, rgba(10,10,12,.55) 70%, rgba(10,10,12,.95) 100%),
    linear-gradient(90deg, rgba(10,10,12,.78) 0%, rgba(10,10,12,.25) 55%, rgba(10,10,12,0) 100%);
}
.hero__inner { width: 100%; padding-block: clamp(2.5rem, 6vw, 6rem); }
.hero__eyebrow { margin-bottom: 1.4rem; color: #fff; }
.hero__title {
  font-size: var(--fs-hero); font-weight: 900; line-height: var(--lh-tight);
  letter-spacing: -.02em; text-transform: uppercase; margin: 0;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: block; }
.hero__title .accent { color: var(--c-red); }
.hero__sub {
  margin-top: 1.6rem; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5;
  color: #e7e7ea;
}
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 2rem; z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: #cfcfd6;
}
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid #cfcfd6; border-radius: 14px; position: relative; }
.hero__scroll .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; border-radius: 2px;
  background: #fff; transform: translateX(-50%); animation: wheel 1.8s var(--ease-quart) infinite;
}
@keyframes wheel { 0%{opacity:0;transform:translate(-50%,0)} 35%{opacity:1} 70%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* hero marquee slogan strip */
.marquee {
  background: var(--c-red); color: #fff; overflow: hidden; white-space: nowrap;
  padding-block: .7rem; border-block: 1px solid rgba(255,255,255,.18);
}
.marquee__track { display: inline-flex; gap: 2.5rem; padding-left: 2.5rem; will-change: transform; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: .95rem; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee span::after { content: "✕"; font-size: .7em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-graphite); border: 1px solid var(--c-graphite); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--c-ink); padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: .4rem; }
.stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; color: #fff; letter-spacing: -.02em; }
.stat__num .unit { color: var(--c-red); }
.stat__label { font-size: .92rem; color: #a6a6ae; }

/* ---------- 10. Section header ---------- */
.section-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: .9rem; }
.section-head p { margin-top: 1rem; color: var(--text-soft); font-size: var(--fs-lead); line-height: 1.5; }

/* ---------- 11. Leistungen / services ---------- */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.9rem, 1.6vw, 1.5rem); }
.service {
  grid-column: span 4;
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-expo), box-shadow .5s var(--ease-expo), border-color .5s;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--c-red); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-expo);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__icon {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--radius);
  background: var(--c-red-tint); color: var(--c-red); margin-bottom: 1.2rem;
  transition: background-color .4s, color .4s, transform .5s var(--ease-expo);
}
.service__icon .icon { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--c-red); color: #fff; transform: rotate(-6deg); }
.service__title { font-size: var(--fs-h3); margin-bottom: .5rem; }
.service__desc { color: var(--text-soft); font-size: .97rem; line-height: 1.55; }
.service__meta { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: var(--radius); background: var(--c-paper); color: var(--c-grey-dk);
  border: 1px solid var(--line);
}
.theme-dark .tag { background: var(--c-graphite); color: #c9c9d0; border-color: var(--c-steel); }
.service--wide { grid-column: span 6; }
.service--feature {
  grid-column: span 6; color: #fff; background: var(--c-ink); border-color: var(--c-graphite);
  flex-direction: row; align-items: flex-end; gap: 1.5rem; min-height: 240px;
  background-size: cover; background-position: center;
}
/* full-width highlight card (Abtransport & Entsorgung) */
.service--row {
  grid-column: span 12;
  flex-direction: row; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem);
  background: var(--c-ink); color: #fff; border-color: var(--c-graphite);
}
.service--row .service__icon { margin-bottom: 0; flex: none; }
.service--row .service__desc { color: #b9b9c2; max-width: 60ch; }
.service--row__body { flex: 1 1 auto; }
.service--row__tags { display: flex; flex-wrap: wrap; gap: .45rem; flex: none; max-width: 280px; justify-content: flex-end; }
@media (max-width: 760px) {
  .service--row { flex-direction: column; align-items: flex-start; }
  .service--row__tags { justify-content: flex-start; max-width: none; }
}

/* ---------- 12. Über uns ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  background: var(--c-red); color: #fff; padding: 1rem 1.2rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 800; line-height: 1; box-shadow: var(--shadow-md);
}
.about__badge b { display: block; font-size: 2.2rem; }
.about__badge span { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.about__body > * + * { margin-top: 1.1rem; }
.about__values { margin-top: 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.value { display: flex; flex-direction: column; gap: .35rem; }
.value .icon { width: 26px; height: 26px; color: var(--c-red); }
.value b { font-family: var(--font-display); font-size: 1.05rem; }
.value span { font-size: .85rem; color: var(--text-soft); }

/* ---------- 13. Referenzen ---------- */
.refs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
/* horizontal scroll track (desktop pinned) */
.refs-track-wrap {
  position: relative;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.refs-track-wrap::-webkit-scrollbar { display: none; }

.refs-track { display: flex; gap: clamp(1rem, 2vw, 1.8rem); }
.ref-card { scroll-snap-align: start; }
.ref-card {
  position: relative; flex: 0 0 auto; width: min(78vw, 480px);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--c-carbon);
  aspect-ratio: 4 / 3;
}
.ref-card img, .ref-card > video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease-expo); }
.ref-card > video { background: #0e0e12; }   /* nie pures Schwarz, falls ein Frame fehlt */
.ref-card:hover img, .ref-card:hover > video { transform: scale(1.06); }
.ref-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem; gap: .3rem;
  background: linear-gradient(180deg, rgba(10,10,12,0) 35%, rgba(10,10,12,.85) 100%);
  color: #fff;
}
.ref-card__cat { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-red); font-weight: 700; overflow-wrap: anywhere; }
.ref-card__cat { color: #ff5a64; }
.ref-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; overflow-wrap: anywhere; }
.ref-card__btn { position: absolute; inset: 0; cursor: zoom-in; }

/* Video-Karten: Play-Badge mittig ueber dem Vorschaubild */
.ref-card__play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.ref-card__play svg {
  width: 78px; height: 78px; box-sizing: border-box;
  padding: 24px 22px 24px 28px;       /* groesseres Dreieck, leicht nach rechts -> optisch exakt mittig */
  color: #fff; fill: currentColor;
  background: rgba(225, 6, 19, .94); border-radius: 50%;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease-expo), background-color .35s;
}
.ref-card--video:hover .ref-card__play svg { transform: scale(1.08); background: var(--c-red); }
@media (hover: none) { .ref-card--video:active .ref-card__play svg { transform: scale(1.08); background: var(--c-red); } }

.refs-hint { font-size: .8rem; color: #9a9aa2; margin-top: .9rem; display: flex; align-items: center; gap: .5rem; }
/* Hinweistext passt sich der Eingabeart an: Maus -> "Rote Leiste ziehen", Touch -> "Wischen" */
.refs-hint__swipe { display: none; }
@media (hover: none), (pointer: coarse) {
  .refs-hint__drag { display: none; }
  .refs-hint__swipe { display: inline; }
}

/* ---------- 14. Ablauf / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2vw, 2rem); counter-reset: step; }
.step { position: relative; padding-top: 2.2rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; color: var(--c-red);
  line-height: 1; display: block; margin-bottom: .9rem;
}
.step::after {
  content: ""; position: absolute; top: .55rem; left: 0; right: 0; height: 2px;
  background: var(--line);
}
.step__bar { position: absolute; top: .55rem; left: 0; height: 2px; width: 2.2rem; background: var(--c-red); }
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: var(--text-soft); font-size: .95rem; }

/* ---------- 15. Einsatzgebiet ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.area__map {
  position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--c-ink); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.area__pins { width: 100%; height: 100%; }
.area__list { columns: 2; column-gap: 1.5rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.area__list li { break-inside: avoid; padding: .45rem 0; display: flex; align-items: center; gap: .6rem; border-bottom: 1px solid var(--line); }
.area__list .icon { width: 1em; height: 1em; color: var(--c-red); flex: none; }

/* ---------- 16. Kontakt ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.3rem 1.4rem; background: var(--c-carbon);
  border: 2px solid var(--c-graphite); border-radius: var(--radius-lg);
  transition: border-color .35s var(--ease-expo), box-shadow .35s var(--ease-expo), transform .35s var(--ease-expo);
}
/* Sauberer, durchgehender Hover-Rand: eine gleichmaessig dicke 2px-Border folgt dem
   Radius perfekt und wird an den Ecken NIE "abgecuttet" (anders als ein inset-Shadow,
   der an gerundeten Ecken duenner rendert). Dazu ein dezenter roter Glow + leichtes Anheben. */
.contact-card:hover {
  border-color: var(--c-red);
  box-shadow: 0 14px 34px -18px rgba(225, 6, 19, .55);
  transform: translateY(-2px);
}
.contact-card__icon {
  width: 46px; height: 46px; flex: none; align-self: center;
  display: grid; place-items: center;          /* Glyph exakt mittig im roten Quadrat */
  border-radius: var(--radius); background: var(--c-red); color: #fff;
}
.contact-card__icon .icon { width: 22px; height: 22px; display: block; }
.contact-card__body { display: block; min-width: 0; }     /* min-width:0 -> darf umbrechen statt ueberlaufen */
.contact-card__label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #9a9aa2; margin-bottom: .15rem; }
.contact-card b, .contact-card a { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--c-red); }
.contact-card small { color: #9a9aa2; font-family: var(--font-body); font-weight: 400; font-size: .85rem; }

/* form */
.form { background: var(--c-carbon); border: 1px solid var(--c-graphite); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: #d4d4da; }
.field .req { color: var(--c-red); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; color: #fff;
  background: var(--c-ink); border: 1px solid var(--c-steel); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #6b6b75; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-red); box-shadow: 0 0 0 3px var(--c-red-tint); background: #101015;
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff6b6b; }
.field .err { font-size: .78rem; color: #ff8b8b; min-height: 1em; }
/* honeypot — visually & a11y hidden, but present in DOM */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: #c4c4cc; line-height: 1.5; }
.consent input { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .15rem; accent-color: var(--c-red); }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.form__foot { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.form__note { font-size: .82rem; color: #9a9aa2; }
.form-status { padding: .9rem 1.1rem; border-radius: var(--radius); font-size: .92rem; display: none; }
.form-status.is-ok { display: block; background: rgba(46,160,90,.14); border: 1px solid rgba(46,160,90,.5); color: #b6f0c9; }
.form-status.is-err { display: block; background: rgba(225,6,19,.14); border: 1px solid rgba(225,6,19,.5); color: #ffc1c5; }

/* ---------- 16b. Karriere ---------- */
.career { display: grid; grid-template-columns: 1.45fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.career__role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); }
.career__title { font-size: var(--fs-h3); margin-bottom: 1rem; line-height: 1.25; }
.career__title .accent { color: var(--c-red); }
.career__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.tag--solid { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.career__benefits { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; }
.career__benefits li { display: flex; align-items: center; gap: .8rem; }
.career__benefits .icon { width: 30px; height: 30px; color: var(--c-red); flex: none; }
.career__benefits b { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.career__apply { background: var(--c-ink); color: #fff; border: 1px solid var(--c-graphite); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1rem; }
.career__apply .eyebrow { color: #fff; }
.career__apply p { color: #c4c4cc; font-size: .98rem; }
.career__apply .btn { margin-top: .2rem; }
@media (max-width: 860px) { .career { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .career__benefits { grid-template-columns: 1fr; } }

/* ---------- 17. Footer ---------- */
.footer { background: var(--c-black); color: #cfcfd6; padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 3vw, 3rem); }
.footer h4 { font-family: var(--font-display); font-size: .95rem; letter-spacing: .04em; color: #fff; margin-bottom: 1.1rem; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer a:hover { color: #fff; }
.footer__brand .brand { margin-bottom: 1.1rem; }
.footer__brand p { font-size: .92rem; max-width: 32ch; color: #9a9aa2; }
.footer__contact a { display: inline-flex; gap: .55rem; align-items: center; }
.footer__contact .icon { width: 1.05em; height: 1.05em; color: var(--c-red); }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.6rem; border-top: 1px solid #26262e;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .82rem; color: #7c7c86;
}
.footer__bottom nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }

/* to-top */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 80;
  width: 48px; height: 48px; border-radius: 50%; background: var(--c-red); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .4s, transform .4s var(--ease-expo), visibility .4s, background-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--c-red-600); transform: translateY(-3px); }
.to-top .icon { width: 22px; height: 22px; }

/* sticky mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--c-ink); border-top: 1px solid var(--c-graphite);
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem; font-weight: 600; color: #fff; }
.callbar a:first-child { background: var(--c-red); }
.callbar .icon { width: 1.2em; height: 1.2em; }

/* ---------- 18. Legal / prose pages ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(2rem,4vw,3rem); background: var(--c-ink); color: #fff; }
.page-hero .eyebrow { color: #fff; }
.page-hero h1 { font-size: var(--fs-h1); margin-top: .8rem; }
.prose { max-width: 75ch; }
.prose h1 { font-size: var(--fs-h2); margin-bottom: 1.2rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; margin-bottom: .7rem; color: var(--text); }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.prose p { margin-bottom: 1rem; color: var(--text); }
.prose a { color: var(--c-red); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.prose table { border-collapse: collapse; margin: .5rem 0 1.2rem; }
.prose td { padding: .25rem 1.5rem .25rem 0; vertical-align: top; }
.prose strong { font-weight: 700; }
.prose .lead { margin-bottom: 1.6rem; }

/* ---------- 19. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(8,8,10,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
/* Video in der Lightbox: gleiche Groesse/Optik wie Bilder; per JS ein-/ausgeblendet */
.lightbox__video { max-width: 100%; max-height: 86vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #000; display: none; }
.lightbox__cap { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: #d4d4da; font-size: .9rem; }
.lightbox__close, .lightbox__nav button {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background-color .3s;
}
.lightbox__close:hover { background: var(--c-red); }
.lightbox__nav button { top: 50%; transform: translateY(-50%); }
.lightbox__nav .prev { left: 1.2rem; right: auto; }
.lightbox__nav .next { right: 1.2rem; }
.lightbox__nav button:hover { background: var(--c-red); }
.lightbox .icon { width: 22px; height: 22px; }

/* ---------- 20. Reveal / animation states ---------- */
/* will-change gezielt: nur auf noch nicht enthüllten Elementen; mit .is-in
   (nach dem Reveal) fällt der Compositor-Hint automatisch wieder weg. */
.js [data-reveal]:not(.is-in) { will-change: transform, opacity; }
.js [data-reveal] { transition: opacity .9s var(--ease-expo), transform .95s var(--ease-expo), clip-path 1.05s var(--ease-expo); }
.js [data-reveal="up"] { opacity: 0; transform: translateY(34px); }
.js [data-reveal="fade"] { opacity: 0; }
.js [data-reveal="img"] { clip-path: inset(0 100% 0 0); }
.js .hero__title .line > span { transform: translateY(110%); }
.js .hero__eyebrow, .js .hero__sub, .js .hero__actions, .js .hero__scroll { opacity: 0; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* clip-path nur als Endzustand des Bild-Wipes (img). up/fade brauchen KEINEN Clip –
   sonst beschneidet der Reveal-Container den Hover-Lift/Glow seiner Kinder
   (z. B. liess er den Rand der Kontaktkarten beim Hovern "abschneiden"). */
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0); }

/* generic icon sizing */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  .nav__list { display: none; }
  .header__phone .label { display: none; }
  /* nur noch Icon sichtbar -> trotzdem >=44px antippbar */
  .header__phone { min-width: 44px; min-height: 44px; justify-content: center; }
  .burger { display: block; }
  .service { grid-column: span 6; }
  .service--feature, .service--wide { grid-column: span 12; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16 / 10; max-height: 60vh; }
  .area { grid-template-columns: 1fr; }
  /* einspaltig wird die Karte sonst sehr hoch -> gleicher Deckel wie .about__media */
  .area__map { aspect-ratio: 16 / 10; max-height: 60vh; }
  .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .callbar { display: grid; }
  /* Platz für die fixe Callbar (~57px), sonst verdeckt sie die Footer-Zeile */
  body { padding-bottom: 60px; }
  .to-top { bottom: 70px; }
  .hero { min-height: 92vh; min-height: 92svh; }
}
@media (max-width: 560px) {
  .service { grid-column: span 12; }
  .form__grid { grid-template-columns: 1fr; }
  .about__values { grid-template-columns: 1fr; gap: .8rem; }
  .steps { grid-template-columns: 1fr; }
  .area__list { columns: 1; }
  .footer__top { grid-template-columns: 1fr; }
  .header__cta .btn--anfrage { display: none; }
}
@media (min-width: 561px) and (max-width: 1080px) {
  /* tablet: distinct two-column rhythm, calmer */
  .container { padding-inline: clamp(1.5rem, 4vw, 2.5rem); }
}

/* hover only where supported (touch gets tap/active fallback) */
@media (hover: none) {
  .service:active { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .service:active::before { transform: scaleX(1); }
  .ref-card:active img { transform: scale(1.04); }
  /* Touch-Feedback fuer die Kontaktkarten (identisch zum Hover-Look) */
  .contact-card:active { border-color: var(--c-red); box-shadow: 0 14px 34px -18px rgba(225, 6, 19, .55); transform: translateY(-2px); }
}

/* ---------- 22. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .hero__title .line > span { transform: none !important; }
  .js .hero__eyebrow, .js .hero__sub, .js .hero__actions, .js .hero__scroll { opacity: 1 !important; }
  .marquee__track { animation: none; }
  .hero__scroll .mouse::after { animation: none; }
}

/* =====================================================================
   23. Intro / Starter-Screen (Preloader) · transform/opacity/clip-path only
   ===================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; grid-template-rows: 1fr auto; place-items: center;
  background: var(--c-black); color: #fff; overflow: hidden; isolation: isolate;
  transition: transform .9s var(--ease-expo), clip-path .9s var(--ease-expo), opacity .7s var(--ease-quart) .12s;
}
.no-js .intro { display: none; }
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } }
.intro__grain {
  position: absolute; inset: -2px; z-index: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(120% 80% at 50% 12%, rgba(225,6,19,.10) 0%, rgba(225,6,19,0) 55%),
    radial-gradient(circle at 18% 82%, rgba(255,255,255,.05) 0, rgba(255,255,255,0) 38%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.015) 0 2px, rgba(0,0,0,0) 2px 5px),
    linear-gradient(180deg, #141418 0%, var(--c-black) 60%, #08080a 100%);
}
.intro__inner {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
  gap: clamp(1rem, 2.4vw, 1.6rem); padding-inline: var(--gutter); text-align: center;
}
.intro__rule {
  display: block; height: 1px; width: min(64vw, 460px);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, var(--c-steel) 22%, var(--c-red) 50%, var(--c-steel) 78%, rgba(255,255,255,0) 100%);
  transform: scaleX(0); transform-origin: center; will-change: transform;
}
.intro__brand { display: inline-flex; flex-direction: column; align-items: center; gap: .7rem; cursor: default; }
.intro__name {
  font-size: clamp(2.4rem, 1.2rem + 6vw, 6rem); letter-spacing: -.015em; line-height: 1;
  justify-content: center; overflow: hidden; padding-bottom: .06em;
}
.intro__josef, .intro__bauer { display: inline-block; will-change: transform, opacity; transform: translateY(108%); opacity: 0; }
.intro__sub {
  font-size: clamp(.62rem, .5rem + .5vw, .82rem); letter-spacing: .3em; padding: .42em .8em;
  clip-path: inset(0 100% 0 0); will-change: clip-path, opacity; opacity: 0;
}
.intro__sub .crack { width: 8px; }
.intro__hint {
  position: relative; z-index: 1; display: inline-flex; flex-direction: column; align-items: center; gap: .7rem;
  margin-bottom: clamp(2rem, 5vh, 3.4rem); opacity: 0; will-change: opacity, transform; transform: translateY(8px);
}
.intro__hint-label { font-family: var(--font-body); font-size: .66rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #b9b9c2; }
.intro__hint-track { position: relative; width: 22px; height: 34px; border: 2px solid var(--c-steel); border-radius: 12px; }
.intro__hint-dot { position: absolute; top: 6px; left: 50%; width: 3px; height: 6px; border-radius: 2px; background: var(--c-red); transform: translateX(-50%); animation: intro-wheel 1.8s var(--ease-quart) infinite; }
@keyframes intro-wheel { 0%{opacity:0;transform:translate(-50%,0)} 35%{opacity:1} 70%{opacity:0;transform:translate(-50%,11px)} 100%{opacity:0} }
.intro.is-leaving { transform: translateY(-101%); clip-path: inset(0 0 100% 0); opacity: 0; }
.intro.is-done { display: none; }
html.intro-lock, html.intro-lock body { overflow: hidden; height: 100%; }
@media (max-width: 560px) { .intro__rule { width: min(78vw, 320px); } }

/* =====================================================================
   24. Industrieller Skin — Grit / Textur / rote Akzente (statisch)
   ===================================================================== */
.skin-overlay {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 42%, transparent 52%, rgba(14,14,16,.18) 86%, rgba(14,14,16,.34) 100%);
}
.skin-overlay::before {
  content: ""; position: absolute; inset: 0; filter: url(#fx-grain); opacity: .05; background: transparent;
}
@supports not (filter: url(#fx-grain)) { .skin-overlay::before { display: none; } }

/* texturierte dunkle Section-Themes: gleiche Token-Overrides wie .theme-dark */
.theme-concrete, .theme-steel {
  --bg: var(--c-ink); --surface: var(--c-carbon); --text: #f3f3f4; --text-soft: #a6a6ae; --line: var(--c-graphite);
  color: var(--text); position: relative; isolation: isolate;
}
.theme-concrete {
  background-color: var(--c-ink);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.022) 0%, transparent 38%),
    linear-gradient(310deg, rgba(255,255,255,.018) 0%, transparent 42%),
    radial-gradient(140% 90% at 18% 0%, rgba(58,58,68,.30) 0%, transparent 55%),
    radial-gradient(120% 80% at 88% 100%, rgba(28,28,34,.55) 0%, transparent 50%),
    linear-gradient(180deg, #17171c 0%, #131318 100%);
}
.theme-concrete::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  filter: url(#fx-concrete); opacity: .06; mix-blend-mode: soft-light;
}
.theme-concrete::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, var(--c-red) 0, var(--c-red) 56px, rgba(255,255,255,.08) 56px, rgba(255,255,255,.08) 100%);
}
.theme-steel {
  background-color: var(--c-carbon);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.020) 0px, rgba(255,255,255,.020) 1px, transparent 1px, transparent 3px),
    linear-gradient(100deg, transparent 0%, rgba(255,255,255,.05) 46%, rgba(255,255,255,.07) 52%, transparent 64%),
    linear-gradient(180deg, #1f1f26 0%, #191920 52%, #141419 100%);
  background-size: 3px 100%, 100% 100%, 100% 100%;
}
.theme-steel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  filter: url(#fx-concrete); opacity: .045; mix-blend-mode: soft-light;
}
.theme-steel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-top: 1px solid rgba(255,255,255,.10); border-bottom: 1px solid rgba(0,0,0,.45);
}
.theme-concrete .eyebrow, .theme-steel .eyebrow { color: #fff; }
.theme-concrete .eyebrow::before, .theme-steel .eyebrow::before { background: var(--c-red); }
.theme-concrete .tag, .theme-steel .tag { background: var(--c-graphite); color: #c9c9d0; border-color: var(--c-steel); }

/* rote „aufgerissene Farbe"-Akzente via Filter (Text bleibt scharf), sauberer Fallback */
.about__badge, .tag--solid { position: relative; }
@supports (filter: url(#fx-paint-tear)) {
  .about__badge { background: transparent; }
  .about__badge::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-red); border-radius: inherit; filter: url(#fx-paint-tear); }
  .tag--solid { background: transparent; border-color: transparent; }
  .tag--solid::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-red); border-radius: var(--radius); filter: url(#fx-paint-tear); }
}
@supports not (filter: url(#fx-paint-tear)) {
  .about__badge::after, .tag--solid::before { display: none; }
}
@supports (filter: url(#fx-scratch)) {
  .theme-concrete .service::before, .theme-steel .service::before { filter: url(#fx-scratch); }
}

/* ---------- 24b. Ueber-uns · 30-Jahre-Zaehler als Overlay auf der Diashow ---------- */
.about__slideshow .years {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: flex-end; gap: clamp(.5rem, 1.6vw, 1rem);
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.1rem, 3vw, 1.7rem) clamp(1rem, 2.5vw, 1.5rem);
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,12,.08) 38%, rgba(10,10,12,.82) 100%);
  pointer-events: none;
}
.years__num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.4rem, 1.5rem + 9vw, 6.5rem); line-height: .76;
  letter-spacing: -.045em; color: var(--c-red);
  text-shadow: 0 2px 22px rgba(0,0,0,.55), 0 0 26px rgba(225,6,19,.3);
  font-variant-numeric: tabular-nums;
}
.years__txt { display: flex; flex-direction: column; padding-bottom: .5em; }
.years__txt b { font-family: var(--font-display); font-weight: 800; color: #fff; line-height: 1; font-size: clamp(1rem, .7rem + 1.4vw, 1.5rem); }
.years__txt span { font-size: clamp(.62rem, .55rem + .3vw, .78rem); letter-spacing: .2em; text-transform: uppercase; color: #d4d4da; margin-top: .25em; }

/* ---------- 25. Hero Funken/Ember-Canvas ---------- */
.hero__embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; display: block; }
@media (prefers-reduced-motion: reduce) { .hero__embers { display: none; } }


/* ---------- 13b. Referenzen: native Scroll-Galerie + dicke rote Drag-Scrollbar ---------- */
/* PC: gescrollt/gewischt wird ausschliesslich ueber die rote Leiste; die Bilder
   selbst werden angetippt zum Vergroessern (zoom-in). Handy: natives Wischen. */
.refs-track-wrap { cursor: default; touch-action: auto; }   /* Handy: natives horizontales Wischen */
.ref-card { cursor: zoom-in; }
.refs-track-wrap.is-dragging { scroll-snap-type: none; scroll-behavior: auto; }
.refs-track-wrap.is-dragging .ref-card img, .refs-track-wrap.is-dragging .ref-card > video { transition: none; }
/* waehrend Drag keinen Bild-Hover-Zoom triggern (haengende Skalierung vermeiden) */
.refs-track-wrap.is-dragging .ref-card:hover img, .refs-track-wrap.is-dragging .ref-card:hover > video { transform: none; }

/* dicke rote Scrollbar (Track + ziehbarer Thumb) */
.refs-scroll {
  position: relative;
  height: 14px;
  margin-top: 1.8rem;
  border-radius: var(--radius-pill);
  background: var(--c-graphite);
  border: 1px solid var(--c-steel);
  cursor: pointer;
  touch-action: none;
  overflow: hidden;
}
.refs-scroll__thumb {
  position: absolute; top: 0; left: 0; height: 100%;
  width: 25%;                  /* via JS aus clientWidth/scrollWidth gesetzt */
  min-width: 44px;
  border-radius: var(--radius-pill);
  background: var(--c-red);
  cursor: grab;
  touch-action: none;          /* touch-action vererbt nicht -> Thumb explizit per Finger ziehbar */
  transform: translateX(0);
  will-change: transform;
}
.refs-scroll__thumb::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 48%, rgba(0,0,0,.18) 100%);
}
.refs-scroll__thumb:hover { background: var(--c-red-600); }
.refs-scroll.is-grabbing { cursor: grabbing; }
.refs-scroll.is-grabbing .refs-scroll__thumb { cursor: grabbing; background: var(--c-red-600); }
.refs-scroll:focus-visible { outline: 3px solid var(--c-red); outline-offset: 3px; }
/* keine ziehbare Bar noetig, wenn alles sichtbar ist */
.refs-scroll.is-static { display: none; }
/* Touch: die rote Leiste ist hier das einzige Bedienelement -> etwas dicker zum Greifen */
@media (hover: none), (pointer: coarse) { .refs-scroll { height: 22px; } }

@media (prefers-reduced-motion: reduce) {
  .refs-track-wrap { scroll-behavior: auto; }
  .refs-scroll__thumb { will-change: auto; }
}
/* Drag darf nicht in eine Text-/Bild-Auswahl umschlagen (sonst bricht das Ziehen) */
.refs-track-wrap, .refs-scroll, .refs-scroll__thumb, .ref-card { user-select: none; -webkit-user-select: none; }


/* =====================================================================
   Starter-Screen: echtes Logo (logo.svg) statt CSS-Marken-Nachbau
   Intro-Hintergrund ist schwarz -> transparentes Logo (rot + heller
   Balkentext) ist sichtbar. Einblende-Endzustand: voll sichtbar.
   viewBox des echten Logos: 13 233 1478 436 -> 1478/436 = 3.39:1.
   ===================================================================== */
.intro__logo {
  display: block;
  width: clamp(220px, 46vw, 560px);
  height: auto;
  aspect-ratio: 339 / 100;          /* = 3.39:1, deckt sich mit echtem viewBox -> kein Layout-Shift */
  margin-inline: auto;
  opacity: 0;                        /* GSAP blendet ein; statischer Reduce-Fall: s.u. */
  transform-origin: center;
  will-change: transform, opacity, clip-path;
}
@media (max-width: 560px) { .intro__logo { width: min(78vw, 360px); } }

/* prefers-reduced-motion: Intro ist ohnehin display:none (Regel oben),
   trotzdem den Logo-Endzustand statisch sicherstellen (Robustheit). */
@media (prefers-reduced-motion: reduce) {
  .intro__logo { opacity: 1; transform: none; clip-path: none; will-change: auto; }
}


/* Footer: echtes Firmenlogo (transparent, auf var(--c-black)-Hintergrund) */
.footer__logo { margin-bottom: 1.4rem; }
.footer__logo img { height: clamp(44px, 5.5vw, 56px); }
@media (max-width: 560px) { .footer__logo img { height: 38px; } }


/* =====================================================================
   24. Über-uns · Diashow der Eindrücke (Crossfade, nur opacity)
   Stapelt mehrere Bilder absolut übereinander; aktives = opacity 1.
   .about__media behält aspect-ratio (kein CLS). .about__badge bleibt oben.
   ===================================================================== */
.about__slideshow .about__slide {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-quart);
  pointer-events: none;
}
.about__slideshow .about__slide.is-active { opacity: 1; z-index: 1; }
.about__slideshow .about__slide img { width: 100%; height: 100%; object-fit: cover; }
/* will-change nur auf dem AUSblendenden Slide (kurzlebig); der aktive bekommt
   den Hint per JS nur waehrend des Fades und gibt ihn danach wieder frei. */
.about__slideshow .about__slide.is-leaving { will-change: opacity; }
.about__slideshow .about__badge { z-index: 3; }

/* Ohne JS: nur das erste Bild zeigen, Rest verstecken (kein Geflacker) */
.no-js .about__slideshow .about__slide:not(.is-active) { display: none; }

@media (prefers-reduced-motion: reduce) {
  /* statischer Endzustand: erstes Bild bleibt stehen, kein Crossfade */
  .about__slideshow .about__slide { transition: none; }
  .about__slideshow .about__slide:not(.is-active) { opacity: 0 !important; }
}


/* ---------- 15b. Einsatzgebiet – DSGVO-Karte (Klick zum Laden) ---------- */
.area__map--consent { display: block; padding: 0; }
.map-consent {
  position: absolute; inset: 0; display: grid; place-items: center;
  text-align: center; overflow: hidden;
}
.map-consent__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.map-consent__panel {
  position: relative; z-index: 1; max-width: 22rem;
  padding: clamp(1.1rem, 4vw, 1.8rem); margin: 1rem;
  background: color-mix(in srgb, var(--c-ink) 78%, transparent);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.map-consent__text {
  margin: 0 0 1.1rem; font-size: .9rem; line-height: 1.45; color: var(--text-soft);
}
.map-consent__btn { width: 100%; justify-content: center; }
/* injiziertes iframe / loaded state */
.area__map--consent iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}
.area__map--consent.is-loaded .map-consent { display: none; }
.area__address {
  display: flex; align-items: center; gap: .55rem;
  margin: .9rem 0 0; font-size: .92rem; color: var(--text-soft);
}
.area__address .icon { width: 1.05em; height: 1.05em; color: var(--c-red); flex: none; }
.area__address span { font-weight: 500; }


/* =====================================================================
   Core-Cut-Intro · Logo wird freigebohrt (clip-path:circle) + roter Bohrring
   Nur clip-path/transform/opacity -> GPU. Reduce-Motion: statischer Endzustand.
   ===================================================================== */
.intro__core {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(220px, 46vw, 560px);
  aspect-ratio: 339 / 100;          /* deckt sich mit .intro__logo -> kein Layout-Shift */
}
@media (max-width: 560px) { .intro__core { width: min(78vw, 360px); } }

/* Logo fuellt den Core-Wrapper; Startzustand = unangebohrt (circle 0%).
   GSAP waechst die Maske auf circle(78%); ohne GSAP/JS s. Reduce-Motion unten. */
.intro__core .intro__logo {
  width: 100%;
  margin-inline: 0;                 /* Zentrierung uebernimmt der Flex-Wrapper */
}
.js .intro:not(.is-done) .intro__logo {
  clip-path: circle(0% at 50% 50%);
}

/* Roter Bohrring: ueber dem Logo-Zentrum, rund, Rand aus conic-gradient.
   Per Mask nur ein Ring (kein gefuellter Kreis). Default unsichtbar -> GSAP. */
.intro__drill {
  position: absolute; top: 50%; left: 50%;
  width: clamp(120px, 26vw, 240px);
  aspect-ratio: 1;
  margin: 0; padding: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  background:
    conic-gradient(from 0deg,
      rgba(225,6,19,0) 0deg,
      rgba(225,6,19,0) 22deg,
      var(--c-red) 96deg,
      #ff5a64 132deg,
      var(--c-red) 168deg,
      rgba(225,6,19,0) 250deg,
      rgba(225,6,19,0) 360deg);
  -webkit-mask: radial-gradient(circle, transparent 0 60%, #000 62% 70%, transparent 72%);
          mask: radial-gradient(circle, transparent 0 60%, #000 62% 70%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
@supports not ((-webkit-mask: radial-gradient(#000,#000)) or (mask: radial-gradient(#000,#000))) {
  /* Fallback ohne Mask-Support: schlanker roter Ring per border-Segment */
  .intro__drill {
    background: none;
    border: 3px solid rgba(225,6,19,.18);
    border-top-color: var(--c-red);
    border-right-color: var(--c-red);
  }
}

/* prefers-reduced-motion: Intro ist ohnehin display:none, dennoch robuster
   statischer Endzustand -> Logo voll sichtbar, kein abgeschnittener Kreis,
   Bohrring komplett aus. */
@media (prefers-reduced-motion: reduce) {
  .intro__logo { clip-path: none !important; opacity: 1 !important; }
  .js .intro:not(.is-done) .intro__logo { clip-path: none !important; }
  .intro__drill { display: none !important; }
}


/* =====================================================================
   Idee 5 — Direktdraht: WhatsApp in der Callbar + Desktop-Andockleiste
   nur transform/opacity animiert · >=44px Targets · rote Hover-Akzente
   ===================================================================== */

/* --- mobile Callbar: jetzt 3 gleichwertige Spalten --- */
.callbar { grid-template-columns: 1fr 1fr 1fr; }
.callbar a:first-child { background: transparent; }   /* alte Einfaerbung der 1. Spalte zuruecksetzen */
.callbar__call { background: var(--c-red); }
.callbar__wa   { background: #128c7e; color: #fff; }   /* WhatsApp-Gruen, markenneutral abgedunkelt */
.callbar a + a { border-left: 1px solid var(--c-graphite); }

/* --- dezente vertikale Andockleiste (Desktop), per Scroll eingeblendet --- */
.side-dock {
  position: fixed; z-index: 80;
  right: clamp(.6rem, 1.4vw, 1.1rem); bottom: clamp(5rem, 14vh, 8.5rem);
  display: none;                       /* erst ab Desktop sichtbar (s. Media-Query) */
  flex-direction: column; gap: .6rem;
  opacity: 0; visibility: hidden; transform: translateX(14px);
  transition: opacity .4s, transform .4s var(--ease-expo), visibility .4s;
}
.side-dock.is-visible { opacity: 1; visibility: visible; transform: translateX(0); }

.side-dock__btn {
  position: relative;
  width: 48px; height: 48px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--c-carbon); color: #fff;
  border: 1px solid var(--c-graphite);
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease-expo), background-color .3s, border-color .3s, color .3s;
}
.side-dock__btn .icon { width: 22px; height: 22px; }
.side-dock__btn:hover,
.side-dock__btn:focus-visible { background: var(--c-red); border-color: var(--c-red); transform: translateY(-3px); }
.side-dock__btn--wa:hover,
.side-dock__btn--wa:focus-visible { background: #128c7e; border-color: #128c7e; }
.side-dock__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Mini-Tooltip links neben dem Button (rein dekorativ; Label kommt aus aria-label) */
.side-dock__tip {
  position: absolute; right: calc(100% + .55rem); top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: .3rem .6rem; border-radius: var(--radius);
  background: var(--c-black); color: #fff; border: 1px solid var(--c-graphite);
  font-size: .8rem; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease-expo);
}
.side-dock__btn:hover .side-dock__tip,
.side-dock__btn:focus-visible .side-dock__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* Sichtbar nur auf breiten Viewports — auf Mobile uebernimmt die .callbar */
@media (min-width: 861px) and (hover: hover) {
  .side-dock { display: flex; }
  /* Das Side-Dock hat unten schon einen Hoch-Pfeil (#dock-top) -> doppelten .to-top ausblenden */
  .to-top { display: none; }
}

/* reduced motion: nur ein-/ausblenden, keine Bewegung, sauberer Endzustand */
@media (prefers-reduced-motion: reduce) {
  .side-dock { transform: none; transition: opacity .2s, visibility .2s; }
  .side-dock.is-visible { transform: none; }
  .side-dock__btn { transition: background-color .2s, border-color .2s, color .2s; }
  .side-dock__btn:hover,
  .side-dock__btn:focus-visible { transform: none; }
  .side-dock__tip { transition: opacity .2s; transform: translateY(-50%); }
  .side-dock__btn:hover .side-dock__tip,
  .side-dock__btn:focus-visible .side-dock__tip { transform: translateY(-50%); }
}
