/* =====================================================================
   WF FLIESEN — Dynamic Industrial Design System
   ===================================================================== */

/* ---------- 1. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: url('../img/cursor-compass-red.svg') 6 6, pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- 2. DESIGN TOKENS ---------- */
:root {
  /* Surface */
  --c-void:        #08070A;
  --c-night:       #1E1D24;
  --c-graphite:    #26252E;
  --c-iron:        #2E2D36;
  --c-steel:       #2A282E;
  --c-ash:         #3F3D44;
  --c-smoke:       #F0EDF2;

  /* Light */
  --c-bone:        #FAFAF6;
  --c-paper:       #E8E2D6;
  --c-dust:        #EFEAE0;

  /* Accent — WF brand blue (aus Logo abgeleitet) */
  --c-copper:      #5C92BE;
  --c-copper-hi:   #7BAFD9;
  --c-copper-lo:   #2D5F89;
  --c-rust:        #102538;
  --c-glow:        #7DB3DC;

  /* Status */
  --c-alarm:       #E64531;
  --c-ok:          #4FAA6C;

  /* Type */
  --f-display: 'Big Shoulders Display', 'Impact', sans-serif;
  --f-body:    'Manrope', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Scale (clamp-based fluid) */
  --t-xs:   clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --t-sm:   clamp(0.82rem, 0.78rem + 0.15vw, 0.92rem);
  --t-md:   clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --t-lg:   clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --t-xl:   clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
  --t-2xl:  clamp(2rem, 1.6rem + 1.6vw, 3rem);
  --t-3xl:  clamp(3rem, 2.2rem + 3vw, 5rem);
  --t-4xl:  clamp(4.5rem, 3rem + 6vw, 9rem);
  --t-5xl:  clamp(6rem, 3.5rem + 9vw, 13rem);

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --s-section: 4.5rem; /* 72px — Standard-Abstand für ALLE Sections (= halber Inter-Section-Abstand von 144px) */

  /* Layout */
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --max-w: 1440px;
  --radius: 4px;
  --radius-lg: 12px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- 3. BASE ---------- */
body {
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: 400;
  color: var(--c-bone);
  background: var(--c-night);
  cursor: url('../img/cursor-compass.svg') 6 6, default;
}

/* Klickbare Elemente: gleiche Kelle, nur Griff rot */
a,
button,
summary,
label,
select,
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
input[type="file"],
[role="button"],
[role="link"],
[tabindex]:not([tabindex="-1"]),
.btn,
.nav__cta,
.nav__hamburger,
.testimonial-dot {
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
}

body {
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

/* Subtle grain overlay across whole site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.85 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Custom selection */
::selection { background: var(--c-copper-hi); color: var(--c-night); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-void); }
::-webkit-scrollbar-thumb { background: var(--c-steel); border: 2px solid var(--c-void); }
::-webkit-scrollbar-thumb:hover { background: var(--c-copper-lo); }

/* ---------- 4. TYPOGRAPHY ---------- */
.h-display {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.h-xl { font-size: var(--t-5xl); }
.h-lg { font-size: var(--t-4xl); }
.h-md { font-size: var(--t-3xl); }
.h-sm { font-size: var(--t-2xl); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-copper);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 2em;
  height: 1px;
  background: var(--c-copper);
}

.label-mono {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-smoke);
}

.lead {
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--c-paper);
  font-weight: 300;
  max-width: 58ch;
}

.text-muted { color: var(--c-dust); }
.text-copper { color: var(--c-copper); }
.text-alarm { color: var(--c-alarm); }

/* ---------- 5. LAYOUT ---------- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: 980px; }

section { position: relative; }
.section-pad { padding: var(--s-section) 0; }
.section-pad-sm { padding: var(--s-section) 0; }

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-ash) 20%, var(--c-ash) 80%, transparent);
  margin: 0;
}

/* ---------- 6. NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--s-4) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s var(--ease-out), backdrop-filter 0.35s;
  backdrop-filter: blur(0);
}
.nav.scrolled {
  background: rgba(8, 7, 10, 0.85);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--c-iron);
}

.nav__logo {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.95rem, 1.6rem + 1vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav__logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--c-copper);
  color: var(--c-night);
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 900;
  position: relative;
  overflow: hidden;
}
.nav__logo-mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid var(--c-night);
  pointer-events: none;
}
.nav__logo-img {
  height: 50px;
  width: auto;
  display: block;
  align-self: flex-start;
  filter: brightness(1.55) saturate(1.25);
  transition: transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}
.nav__logo:hover .nav__logo-img {
  transform: scale(1.04);
  filter: brightness(1.75) saturate(1.35);
}
.nav__logo-text {
  color: var(--c-bone);
}
.nav__logo-text .brand-accent {
  color: var(--c-copper);
  font-weight: 800;
}
.nav__logo-text small {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--c-bone);
  opacity: 0.85;
  font-weight: 400;
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  gap: var(--s-6);
  align-items: center;
}
.nav__link {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  padding: var(--s-2) 0;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--c-copper);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.nav__link:hover { color: var(--c-copper-hi); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.85rem 1.3rem;
  background: var(--c-copper);
  color: var(--c-bone);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  transition: background 0.25s;
  position: relative;
  animation: nav-cta-pulse 2.4s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, box-shadow;
}
@keyframes nav-cta-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(92, 146, 190, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(92, 146, 190, 0);
    transform: scale(1.05);
  }
}
.nav__cta:hover {
  background: var(--c-copper-hi);
  animation-play-state: paused;
  transform: translateY(-1px) scale(1.03);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s-2);
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
}
.nav__hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--c-bone);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background: var(--c-void);
    flex-direction: column;
    justify-content: center;
    gap: var(--s-7);
    padding: var(--s-9) var(--gutter);
    transform: translateY(-110vh);
    transition: transform 0.55s var(--ease-out);
    z-index: 90;
    pointer-events: none;
    visibility: hidden;
  }
  .nav__menu.open {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .nav__menu .nav__link {
    font-size: var(--t-xl);
    font-family: var(--f-display);
    letter-spacing: 0.04em;
    color: var(--c-bone);
  }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; z-index: 100; }
}

/* ---------- 7. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 1rem 1.7rem;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  z-index: 1;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-copper-hi);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }

.btn--primary {
  background: var(--c-copper);
  color: var(--c-night);
}
.btn--primary:hover { color: var(--c-night); }

.btn--ghost {
  background: transparent;
  color: var(--c-bone);
  border-color: var(--c-ash);
}
.btn--ghost:hover { color: var(--c-night); border-color: var(--c-copper-hi); }

.btn--alarm {
  background: var(--c-alarm);
  color: var(--c-bone);
}
.btn--alarm::before { background: #FF5C49; }
.btn--alarm:hover { color: var(--c-bone); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 8. HERO ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--s-10) var(--gutter) var(--s-8);
  overflow: hidden;
  isolation: isolate;
}

/* Hero animated background (substitute for video, can be swapped) */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--c-void);
  background-image:
    /* Verlauf unten für Headline-Lesbarkeit */
    linear-gradient(180deg, rgba(8,7,10,0.35) 0%, rgba(8,7,10,0.6) 60%, rgba(8,7,10,0.92) 100%),
    /* Blauer Glow links oben */
    radial-gradient(ellipse 80% 60% at 25% 20%, rgba(45, 95, 137, 0.38), transparent 70%),
    /* Tiefblauer Glow rechts unten */
    radial-gradient(ellipse 60% 50% at 80% 85%, rgba(26, 57, 84, 0.45), transparent 70%),
    /* Modernes Designer-Bad als Hauptmotiv */
    url('../img/hero-bathroom.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__media::before,
.hero__media::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at center, rgba(92, 146, 190, 0.22), transparent 50%);
  animation: drift 22s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.hero__media::after {
  animation-duration: 30s;
  animation-direction: alternate-reverse;
  background: radial-gradient(circle at center, rgba(45, 95, 137, 0.2), transparent 55%);
}
@keyframes drift {
  0%   { transform: translate(-10%, -8%) scale(1); }
  50%  { transform: translate(8%, 5%) scale(1.15); }
  100% { transform: translate(-5%, 12%) scale(0.95); }
}

/* Optional <video> background — fills .hero__media */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(0.6) contrast(1.1);
}

/* Hero noise overlay */
.hero__media::after { z-index: 1; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 50%, rgba(8,7,10,0.7) 100%),
    repeating-linear-gradient(90deg, transparent 0, transparent 80px, rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px);
  z-index: -1;
  pointer-events: none;
}

.hero__content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--s-7);
  position: relative;
  z-index: 2;
}

.hero__headline {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--t-5xl);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hero__headline .line {
  display: block;
  overflow: hidden;
  padding-top: 0.15em;
  margin-top: -0.1em;
}
.hero__headline .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: hero-line-rise 1s var(--ease-out) forwards;
}
.hero__headline .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero__headline .line:nth-child(3) > span { animation-delay: 0.2s; }
.hero__headline .accent {
  color: var(--c-copper);
  font-weight: 700;
}
@keyframes hero-line-rise {
  to { transform: translateY(0); }
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  align-items: flex-end;
  text-align: right;
  opacity: 0;
  animation: fade-up 1s var(--ease-out) 0.6s forwards;
}
.hero__meta .label-mono { color: var(--c-dust); }
.hero__meta .lead { max-width: 28ch; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__bar {
  position: absolute;
  top: 50%;
  left: var(--gutter);
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-smoke);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  z-index: 3;
}
.hero__bar::after {
  content: "";
  width: 60px; height: 1px;
  background: var(--c-copper);
}

.hero__scroll {
  position: absolute;
  bottom: var(--s-5);
  right: var(--gutter);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-smoke);
  z-index: 3;
}
.hero__scroll::after {
  content: "↓";
  display: inline-block;
  margin-left: 0.6em;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 720px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__meta { align-items: flex-start; text-align: left; }
  .hero__bar { display: none; }
}

/* ---------- 9. MARQUEE ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--c-iron);
  border-bottom: 1px solid var(--c-iron);
  background: var(--c-graphite);
  padding: var(--s-4) 0;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: var(--s-7);
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-bone);
  display: inline-flex;
  align-items: center;
  gap: var(--s-7);
}
.marquee__item::after {
  content: "✦";
  color: var(--c-copper);
  font-size: 0.7em;
}
.marquee__item.is-outline {
  color: var(--c-bone);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* Servicegebiet-Marquee läuft langsamer und mit kleinerer Schrift — dezenter Stil */
.marquee--cities .marquee__track { animation-duration: 60s; }
.marquee--cities .marquee__item { font-size: clamp(1rem, 0.8rem + 0.8vw, 1.5rem); }

/* ---------- 10. USP / KEY POINTS ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-iron);
  border-bottom: 1px solid var(--c-iron);
}
.usp-grid > * {
  padding: var(--s-7) var(--s-5);
  border-right: 1px solid var(--c-iron);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  transition: background 0.4s;
}
.usp-grid > *:last-child { border-right: none; }
.usp-grid > *:hover { background: var(--c-graphite); }
.usp__num {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 900;
  line-height: 1;
  color: var(--c-copper);
}
.usp__title {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.usp__text { color: var(--c-dust); font-size: var(--t-sm); }

@media (max-width: 900px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid > *:nth-child(2) { border-right: none; }
  .usp-grid > *:nth-child(-n+2) { border-bottom: 1px solid var(--c-iron); }
}
@media (max-width: 540px) {
  .usp-grid { grid-template-columns: 1fr; }
  .usp-grid > * { border-right: none; border-bottom: 1px solid var(--c-iron); }
  .usp-grid > *:last-child { border-bottom: none; }
}

/* ---------- 11. SECTION HEAD ---------- */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: end;
  padding-bottom: var(--s-7);
  margin-bottom: var(--s-7);
  border-bottom: 1px solid var(--c-iron);
}
.sec-head__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--t-3xl);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
.sec-head__title .accent { color: var(--c-copper); font-style: italic; }
.sec-head__intro { color: var(--c-paper); font-size: var(--t-md); line-height: 1.6; }
.sec-head__intro p + p { margin-top: var(--s-3); }
.sec-head__intro strong { color: var(--c-copper-hi); font-weight: 600; }
.sec-head__subtitle {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--c-copper-hi);
  margin-top: var(--s-3);
}

@media (max-width: 800px) {
  .sec-head { grid-template-columns: 1fr; }
}

/* ---------- 12. SERVICE GRID (6 gleichgroße Karten) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(360px, auto);
  gap: 1px;
  background: var(--c-iron);
  border: 1px solid var(--c-iron);
}
.bento__cell {
  background: var(--c-night);
  padding: var(--s-6);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  overflow: hidden;
  transition: background 0.4s;
  isolation: isolate;
  color: inherit;
  text-decoration: none;
}
.bento__cell:hover { background: var(--c-graphite); }
.bento__cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  z-index: -1;
}
.bento__cell:hover::before { opacity: 0.35; }

/* Legacy size modifiers — bleiben kompatibel, sind aber nicht mehr nötig */
.bento__cell--lg, .bento__cell--md, .bento__cell--tall,
.bento__cell--wide, .bento__cell--full { grid-column: auto; grid-row: auto; }

.bento__icon {
  width: 46px;
  height: 46px;
  color: var(--c-copper);
  margin-bottom: var(--s-2);
  transition: color 0.3s, transform 0.5s var(--ease-out);
}
.bento__icon svg { width: 100%; height: 100%; display: block; }
.bento__cell:hover .bento__icon {
  color: var(--c-copper-hi);
  transform: scale(1.1) rotate(-4deg);
}

.bento__num {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  color: var(--c-smoke);
}
.bento__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--c-bone);
}
.bento__title .accent { color: var(--c-copper); }
.bento__title.is-lg { font-size: var(--t-xl); }
.bento__desc {
  color: var(--c-dust);
  font-size: var(--t-sm);
  line-height: 1.55;
  max-width: 42ch;
}
.bento__arrow {
  font-family: var(--f-mono);
  color: var(--c-copper);
  font-size: var(--t-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease-out), color 0.3s;
  margin-top: auto;
  padding-top: var(--s-3);
}
.bento__cell:hover .bento__arrow { gap: var(--s-4); color: var(--c-copper-hi); }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__cell { min-height: 280px; }
}

/* ---------- 13. STATS / COUNTERS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding: var(--s-section) 0;
}
.stat {
  border-left: 2px solid var(--c-copper);
  padding: var(--s-3) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.stat__num {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  font-weight: 900;
  line-height: 0.9;
  color: var(--c-bone);
  letter-spacing: -0.03em;
}
.stat__num .unit { font-size: 0.5em; color: var(--c-copper); margin-left: 0.1em; }
.stat__label {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-smoke);
}

@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 14. EMERGENCY BAND ---------- */
.alert-band {
  background: var(--c-alarm);
  color: var(--c-bone);
  padding: var(--s-6) var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-6);
  position: relative;
  overflow: hidden;
}
.alert-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg,
    transparent 0, transparent 18px,
    rgba(0,0,0,0.08) 18px, rgba(0,0,0,0.08) 36px);
  pointer-events: none;
}
.alert-band__icon {
  width: 56px; height: 56px;
  border: 2px solid var(--c-bone);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 900;
  position: relative;
  z-index: 1;
}
.alert-band__text {
  position: relative; z-index: 1;
}
.alert-band__title {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
}
.alert-band__sub {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: var(--s-2);
  opacity: 0.9;
}
.alert-band .btn { background: var(--c-night); color: var(--c-bone); position: relative; z-index: 1; }
.alert-band .btn::before { background: var(--c-bone); }
.alert-band .btn:hover { color: var(--c-night); }

/* Warn-Variante: kräftigere Streifen (Baustellen-/Hazard-Look) */
.alert-band--warn::before {
  background-image: repeating-linear-gradient(-45deg,
    transparent 0, transparent 24px,
    rgba(0,0,0,0.30) 24px, rgba(0,0,0,0.30) 48px);
}
.alert-band--warn .alert-band__icon {
  background: rgba(0,0,0,0.30);
  border-color: var(--c-bone);
}

@media (max-width: 700px) {
  .alert-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ---------- 15. PROJECT TILES ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.project {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}
.project__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.6s;
  filter: grayscale(0.4) contrast(1.05);
}
.project:hover .project__img { transform: scale(1.06); filter: grayscale(0); }
.project__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,7,10,0.9));
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--s-2);
}
.project__cat {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-copper);
}
.project__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}
.project:nth-child(2) { transform: translateY(var(--s-7)); }

@media (max-width: 800px) {
  .projects { grid-template-columns: 1fr 1fr; }
  .project:nth-child(2) { transform: none; }
}
@media (max-width: 500px) {
  .projects { grid-template-columns: 1fr; }
}

/* ---------- 16. TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s-7);
  align-items: start;
}
.testimonial-card {
  border: 1px solid var(--c-iron);
  padding: var(--s-6);
  background: var(--c-graphite);
  position: relative;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.testimonial-card:hover { border-color: var(--c-copper-lo); transform: translateY(-4px); }
.testimonial-card__quote {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-5);
}
.testimonial-card__quote::before {
  content: "„";
  font-family: var(--f-display);
  font-size: 2.2em;
  color: var(--c-copper);
  line-height: 0.7;
  position: relative;
  top: -0.25em;
  margin-right: 0.08em;
  display: inline-block;
  vertical-align: top;
}
.testimonial-card__author {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-smoke);
  border-top: 1px solid var(--c-iron);
  padding-top: var(--s-4);
}
.testimonial-card__author strong { color: var(--c-bone); display: block; margin-bottom: 0.3em; }

@media (max-width: 800px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* Testimonial-Slider — 3 Karten gleichzeitig, kontinuierlicher Loop */
.testimonials--slider {
  position: relative;
  overflow: hidden;
  display: block;
  padding-top: 4px; /* Platz für Progress-Bar */
}
.testimonial-track {
  display: flex;
  gap: var(--s-5);
  will-change: transform;
}
.testimonials--slider .testimonial-card {
  flex: 0 0 calc((100% - 2 * var(--s-5)) / 3);
  min-width: 0;
}
.testimonials--slider .testimonial-card__quote {
  font-size: var(--t-md);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .testimonials--slider .testimonial-card {
    flex: 0 0 calc((100% - var(--s-5)) / 2);
  }
}
@media (max-width: 600px) {
  .testimonials--slider .testimonial-card {
    flex: 0 0 100%;
  }
}

.testimonial-dots {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  margin-top: var(--s-6);
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-iron);
  border: 1px solid var(--c-ash);
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s var(--ease-out), border-color 0.3s;
}
.testimonial-dot:hover {
  background: var(--c-copper-hi);
  border-color: var(--c-copper-hi);
}
.testimonial-dot.is-active {
  background: var(--c-copper);
  border-color: var(--c-copper);
  transform: scale(1.3);
}

.testimonial-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--c-copper);
  width: 0%;
  z-index: 2;
}

/* ---------- 17. PROCESS TIMELINE ---------- */
.process {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-iron);
}
.process__step {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: var(--s-7);
  padding: var(--s-7) var(--s-3);
  border-bottom: 1px solid var(--c-iron);
  transition: background 0.4s;
  align-items: start;
}
.process__step:hover { background: var(--c-graphite); }
.process__num {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  font-weight: 900;
  line-height: 0.85;
  color: var(--c-copper);
  -webkit-text-stroke: 1px var(--c-copper);
  color: transparent;
  transition: color 0.4s;
}
.process__step:hover .process__num { color: var(--c-copper); }
.process__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
.process__desc { color: var(--c-dust); line-height: 1.6; }

@media (max-width: 800px) {
  .process__step { grid-template-columns: 60px 1fr; }
  .process__desc { grid-column: 1 / -1; padding-top: var(--s-3); }
}

/* ---------- 18. CTA BLOCK ---------- */
.cta-block {
  border: 1px solid var(--c-iron);
  padding: var(--s-9) var(--s-6);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-graphite), var(--c-night));
}
.cta-block::before,
.cta-block::after {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}
.cta-block::before { background: var(--c-copper); top: -300px; left: -200px; }
.cta-block::after { background: var(--c-copper-lo); bottom: -300px; right: -200px; }
.cta-block__content { position: relative; z-index: 1; }
.cta-block__title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
}
.cta-block__title .accent { color: var(--c-copper); font-style: italic; }
.cta-block__sub { color: var(--c-paper); margin-bottom: var(--s-6); font-size: var(--t-md); }
.cta-block__btns { display: inline-flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }

/* ---------- 19. FOOTER ---------- */
.footer {
  background: var(--c-void);
  padding: var(--s-9) var(--gutter) var(--s-5);
  border-top: 1px solid var(--c-iron);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--c-iron);
}
.footer__brand {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.85;
  margin-bottom: var(--s-4);
}
.footer__brand .accent { color: var(--c-copper); font-style: italic; }
.footer__brand-logo {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: var(--t-2xl);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--c-bone);
}
.footer__brand-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(1.55) saturate(1.25);
}
.footer__brand-text .brand-accent {
  color: var(--c-copper);
}
.footer__brand-text {
  display: block;
  white-space: nowrap;
  font-size: 2.1rem;
  line-height: 1.05;
}
.footer__brand-text small {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--c-bone);
  opacity: 0.85;
  font-weight: 400;
  margin-top: 4px;
  text-transform: none;
}
.footer__tag { color: var(--c-dust); max-width: 32ch; }
.footer h4 {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-copper);
  margin-bottom: var(--s-4);
}
.footer__list { display: flex; flex-direction: column; gap: var(--s-2); }
.footer__list a {
  color: var(--c-dust);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer__list a:hover { color: var(--c-copper-hi); transform: translateX(4px); }

.footer__bottom {
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-bone);
  gap: var(--s-5);
  flex-wrap: wrap;
}
.footer__bottom a { color: var(--c-bone); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--c-copper-hi); }

@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}

/* ---------- 20. FORMS ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-copper);
}
.field input,
.field textarea,
.field select {
  background: var(--c-graphite);
  border: 1px solid var(--c-iron);
  color: var(--c-bone);
  padding: var(--s-4);
  font-size: var(--t-md);
  transition: border-color 0.25s, background 0.25s;
  font-family: var(--f-body);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-copper);
  background: var(--c-night);
}

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- 21. PAGE HEAD (for inner pages) ---------- */
.page-head {
  padding: calc(var(--s-10) + var(--s-7)) var(--gutter) var(--s-9);
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(201, 123, 63, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(140, 82, 38, 0.12), transparent 60%),
    var(--c-void);
  border-bottom: 1px solid var(--c-iron);
  position: relative;
  overflow: hidden;
}
.page-head__crumb {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-smoke);
  margin-bottom: var(--s-5);
  display: flex; align-items: center; gap: var(--s-3);
}
.page-head__crumb a { color: var(--c-dust); }
.page-head__crumb a:hover { color: var(--c-copper); }
.page-head__crumb .sep { color: var(--c-copper); }
.page-head__title {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-4);
}
.page-head__title .accent { color: var(--c-copper); font-style: italic; }
.page-head__sub {
  font-size: var(--t-lg);
  color: var(--c-paper);
  max-width: 60ch;
  line-height: 1.5;
  font-weight: 300;
}
.page-head__subtitle {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--c-copper-hi);
  margin-top: var(--s-3);
  margin-bottom: var(--s-5);
}

/* ---------- 21b. PAGE HEAD WITH MEDIA BACKGROUND ---------- */
.page-head--water-fire {
  background: var(--c-void);
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-head--water-fire::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8,7,10,0.05) 40%, rgba(8,7,10,0.55) 80%, rgba(8,7,10,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.page-head--water-fire .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-head--water-fire .page-head__title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

/* Feuer- und Wasser-Videos: linke und rechte Hälfte als Hintergrund-Film */
.page-head--water-fire .page-head__anim {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: brightness(1.1) saturate(1.25) contrast(1.05);
}
.page-head--water-fire .page-head__anim--fire {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 40%, transparent 60%, transparent 100%);
          mask-image: linear-gradient(to right, #000 0%, #000 40%, transparent 60%, transparent 100%);
}
.page-head--water-fire .page-head__anim--water {
  right: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 40%, #000 60%, #000 100%);
          mask-image: linear-gradient(to right, transparent 0%, transparent 40%, #000 60%, #000 100%);
}
@media (prefers-reduced-motion: reduce) {
  .page-head--water-fire .page-head__anim { display: none; }
}

/* Bad-Hintergrund (Referenzen) */
.page-head--bath {
  background: var(--c-void);
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
}
.page-head--bath::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/bad-hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  filter: brightness(1.3) saturate(1.1) contrast(1.05);
  animation: ken-burns 28s ease-in-out infinite alternate;
  z-index: 0;
}
.page-head--bath::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8,7,10,0.05) 40%, rgba(8,7,10,0.55) 80%, rgba(8,7,10,0.85) 100%);
  z-index: 1;
}
.page-head--bath .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-head--bath .page-head__title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

/* Schiefer-Hintergrund (Über uns) */
.page-head--about {
  background: var(--c-void);
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
}
.page-head--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/about-hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  filter: brightness(1.05) saturate(1.1) contrast(1.05);
  animation: ken-burns 28s ease-in-out infinite alternate;
  z-index: 0;
}
.page-head--about::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8,7,10,0.05) 40%, rgba(8,7,10,0.55) 80%, rgba(8,7,10,0.85) 100%);
  z-index: 1;
}
.page-head--about .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-head--about .page-head__title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

/* Beton-Hintergrund (Aus 1 Hand) */
.page-head--concrete {
  background: var(--c-void);
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
}
.page-head--concrete::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/concrete-hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  filter: brightness(1.05) saturate(1.05) contrast(1.05);
  animation: ken-burns 28s ease-in-out infinite alternate;
  z-index: 0;
}
.page-head--concrete::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8,7,10,0.05) 40%, rgba(8,7,10,0.55) 80%, rgba(8,7,10,0.85) 100%);
  z-index: 1;
}
.page-head--concrete .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-head--concrete .page-head__title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

/* Team-Hintergrund (Über uns → Das Team) */
.team-section {
  position: relative;
}
.team-section .team-section__bg,
.team-section::after {
  border-radius: 0;
}
.team-section__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/team.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.55;
  filter: brightness(0.9) saturate(1.05);
  z-index: 0;
}
.team-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,7,10,0.35) 0%, rgba(8,7,10,0.5) 100%);
  z-index: 0;
  pointer-events: none;
}
.team-section__title {
  font-size: clamp(4rem, 3rem + 4vw, 7rem) !important;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}
.team-section .sec-head {
  border-bottom: none;
  padding-bottom: 0;
}

/* Team-Mitglieder Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--s-4);
  margin-top: clamp(300px, 38vh, 500px);
  margin-bottom: -230px;
  position: relative;
  z-index: 5;
}
.team-member {
  background: var(--c-graphite);
  border: 1px solid var(--c-iron);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.team-member:hover {
  transform: translateY(-4px);
  border-color: var(--c-copper);
}
.team-member__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--c-iron);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-member__placeholder {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
  font-weight: 900;
  color: var(--c-ash);
  letter-spacing: -0.02em;
  user-select: none;
  text-transform: uppercase;
}
.team-member__name {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: var(--s-4) var(--s-4) var(--s-1);
  color: var(--c-bone);
  line-height: 1.1;
}
.team-member__role {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-copper-hi);
  margin: 0 var(--s-4) var(--s-5);
}
@media (max-width: 1200px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Fliesenboden-Hintergrund (Leistungen) */
.page-head--tiles {
  background: var(--c-void);
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
}
.page-head--tiles::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/tiles-hero.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  filter: brightness(1.05) saturate(1.05) contrast(1.05);
  animation: ken-burns 28s ease-in-out infinite alternate;
  z-index: 0;
}
.page-head--tiles::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8,7,10,0.05) 40%, rgba(8,7,10,0.55) 80%, rgba(8,7,10,0.85) 100%);
  z-index: 1;
}
.page-head--tiles .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-head--tiles .page-head__title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

/* Asbest-Hintergrund (Asbestsanierung) */
.page-head--asbest {
  background: var(--c-void);
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
}
.page-head--asbest::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/asbest-hero.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--c-void);
  opacity: 0.7;
  filter: brightness(1.05) saturate(1.1) contrast(1.08);
  animation: ken-burns 28s ease-in-out infinite alternate;
  z-index: 0;
}
.page-head--asbest::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8,7,10,0.05) 40%, rgba(8,7,10,0.55) 80%, rgba(8,7,10,0.85) 100%);
  z-index: 1;
}
.page-head--asbest .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-head--asbest .page-head__title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

/* Kontakt-Hintergrund (Telefonhörer rechts) */
.page-head--contact {
  background: var(--c-void);
  min-height: calc(64vh + 100px);
  display: flex;
  align-items: flex-end;
}
.page-head--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/kontakt-hero.jpg');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  opacity: 0.65;
  filter: brightness(1.05) saturate(1.05) contrast(1.05);
  animation: ken-burns 28s ease-in-out infinite alternate;
  z-index: 0;
}
.page-head--contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8,7,10,0.05) 40%, rgba(8,7,10,0.55) 80%, rgba(8,7,10,0.85) 100%);
  z-index: 1;
}
.page-head--contact .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-head--contact .page-head__title {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

@keyframes ken-burns {
  0%   { transform: scaleX(-1) scale(1.05) translate(0%, 0%); }
  50%  { transform: scaleX(-1) scale(1.12) translate(-1.5%, -1%); }
  100% { transform: scaleX(-1) scale(1.08) translate(1.5%, 1%); }
}

/* ---------- 22. ICON GRID (for trade overview) ---------- */
.trades {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-iron);
  border: 1px solid var(--c-iron);
}
.trade {
  background: var(--c-night);
  padding: var(--s-7) var(--s-5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}
.trade:hover { background: var(--c-graphite); }
.trade__icon {
  width: 64px; height: 64px;
  border: 1px solid var(--c-copper);
  display: grid; place-items: center;
  color: var(--c-copper);
  font-size: 1.8rem;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.trade:hover .trade__icon {
  background: var(--c-copper);
  color: var(--c-night);
  transform: rotate(-6deg);
}
.trade__name {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}
.trade__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  color: var(--c-dust);
  font-size: var(--t-sm);
}
.trade__list li::before {
  content: "→";
  color: var(--c-copper);
  margin-right: 0.4em;
}

@media (max-width: 900px) { .trades { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .trades { grid-template-columns: 1fr; } }

/* ---------- 23. SPLIT FEATURE ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--c-graphite);
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.split__media:hover img { transform: scale(1.04); }
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,7,10,0.5));
  pointer-events: none;
}
.split__media-tag {
  position: absolute;
  bottom: var(--s-4); left: var(--s-4);
  background: var(--c-copper);
  color: var(--c-night);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--s-2) var(--s-3);
  z-index: 2;
}
.split__content { display: flex; flex-direction: column; gap: var(--s-5); }
.split__title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.025em;
}
.split__title .accent { color: var(--c-copper); font-style: italic; }
.split__body { color: var(--c-paper); line-height: 1.65; font-size: var(--t-md); }
.split__body p + p { margin-top: var(--s-3); }
.split__bullets {
  display: flex; flex-direction: column; gap: var(--s-3);
}
.split__bullets li {
  padding-left: var(--s-5);
  position: relative;
  color: var(--c-paper);
}
.split__bullets li::before {
  content: "■";
  color: var(--c-copper);
  position: absolute;
  left: 0; top: 0;
  font-size: 0.7em;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- 23b. FULL-BLEED FEATURE (Bild mit Text-Overlay) ---------- */
.feature-bleed {
  position: relative;
  width: 100%;
  min-height: 37vh;
  display: block;
  isolation: isolate;
  overflow: hidden;
}
.feature-bleed__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.feature-bleed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) contrast(1.08);
  animation: feature-zoom 30s ease-in-out infinite alternate;
}
@keyframes feature-zoom {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.12); }
}
.feature-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg,
      rgba(8,7,10,0.92) 0%,
      rgba(8,7,10,0.55) 30%,
      rgba(8,7,10,0.25) 55%,
      rgba(8,7,10,0.7) 100%),
    linear-gradient(180deg, rgba(8,7,10,0.35) 0%, rgba(8,7,10,0.55) 100%);
}

.feature-bleed__numeral {
  position: absolute;
  top: 4%;
  right: -2%;
  font-family: var(--f-display);
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 900;
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-copper-lo);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.04em;
}

.feature-bleed__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s-6) var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: var(--s-5);
  min-height: 32vh;
}

.feature-bleed__head {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.feature-bleed__title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: var(--s-3);
  text-shadow: 0 6px 32px rgba(0,0,0,0.6);
  white-space: nowrap;
}
.feature-bleed__title .accent {
  color: var(--c-copper-hi);
  font-style: italic;
  font-weight: 700;
}

.feature-bleed__panel {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  transform: translateY(-25%);
  max-width: 480px;
  background: rgba(15, 14, 17, 0.4);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 2px solid var(--c-copper);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
}
.feature-bleed__panel::before {
  content: "";
  position: absolute;
  top: -1px; right: -1px;
  width: 22px; height: 22px;
  background: var(--c-copper);
  z-index: -1;
}
.feature-bleed__panel p {
  color: var(--c-paper);
  line-height: 1.65;
  font-size: var(--t-md);
}

.feature-bleed__tag {
  position: absolute;
  bottom: var(--s-5);
  left: var(--gutter);
  background: var(--c-copper);
  color: var(--c-night);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--s-2) var(--s-3);
  z-index: 2;
  font-weight: 600;
}

@media (max-width: 800px) {
  .feature-bleed { min-height: auto; }
  .feature-bleed__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: var(--s-9) var(--gutter) var(--s-9);
    min-height: auto;
    gap: var(--s-6);
  }
  .feature-bleed__head { grid-column: 1; grid-row: 1; max-width: none; }
  .feature-bleed__panel {
    grid-column: 1; grid-row: 2;
    max-width: none;
    justify-self: stretch;
  }
  .feature-bleed__numeral { font-size: clamp(7rem, 30vw, 12rem); top: 2%; right: -8%; }
  .feature-bleed__tag { position: static; align-self: flex-start; display: inline-block; }
}

/* ---------- 23c. WORD-BY-WORD SLIDE-IN (Service-Headlines) ---------- */
.split__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-top: 0.12em;
  margin-top: -0.08em;
  padding-bottom: 0.12em;
  margin-bottom: -0.08em;
}
.split__title .word__inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s ease-out;
  transition-delay: 0s;
}
.reveal.in .split__title .word__inner {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- 23d. GALLERY / REFERENCES ---------- */
.gallery-filters {
  display: flex;
  gap: 1px;
  border: 1px solid var(--c-iron);
  background: var(--c-iron);
  margin-bottom: var(--s-7);
  flex-wrap: wrap;
}
.gallery-filter {
  flex: 1 1 0;
  min-width: 140px;
  padding: var(--s-4) var(--s-5);
  background: var(--c-night);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-paper);
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
  border: none;
  transition: background 0.3s, color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  text-align: center;
}
.gallery-filter:hover { background: var(--c-graphite); color: var(--c-copper-hi); }
.gallery-filter.is-active {
  background: var(--c-copper);
  color: var(--c-bone);
}
.gallery-filter__count {
  font-size: 0.85em;
  opacity: 0.7;
  font-weight: 400;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
  background: var(--c-graphite);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.gallery__item.is-hidden {
  display: none;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.6s;
  filter: grayscale(0.15) contrast(1.04);
}
.gallery__item:hover img { transform: scale(1.07); filter: grayscale(0); }

.gallery__overlay {
  position: absolute;
  inset: 0;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--s-2);
  background: linear-gradient(180deg, transparent 40%, rgba(8,7,10,0.92) 100%);
  pointer-events: none;
}
.gallery__cat {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-copper-hi);
}
.gallery__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--c-bone);
}
.gallery__meta {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-paper);
  margin-top: var(--s-2);
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.gallery__meta::before {
  content: "+";
  width: 18px; height: 18px;
  border: 1px solid var(--c-copper-hi);
  display: inline-grid;
  place-items: center;
  color: var(--c-copper-hi);
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 800px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .gallery { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 10, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox__inner {
  position: relative;
  max-width: 1280px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
}
.lightbox__img-wrap {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border: 1px solid var(--c-iron);
}
.lightbox__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--s-5);
  padding: 0 var(--s-2);
  flex-wrap: wrap;
}
.lightbox__caption-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lightbox__cat {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-copper-hi);
}
.lightbox__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--c-bone);
}
.lightbox__counter {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-paper);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(15, 14, 17, 0.7);
  border: 1px solid var(--c-iron);
  display: grid;
  place-items: center;
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
  color: var(--c-bone);
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 900;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  z-index: 2;
}
.lightbox__nav:hover {
  background: var(--c-copper);
  color: var(--c-night);
  border-color: var(--c-copper);
}
.lightbox__nav--prev { left: var(--s-3); }
.lightbox__nav--next { right: var(--s-3); }

.lightbox__close {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  width: 44px; height: 44px;
  background: rgba(15, 14, 17, 0.7);
  border: 1px solid var(--c-iron);
  display: grid;
  place-items: center;
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
  color: var(--c-bone);
  font-family: var(--f-mono);
  font-size: 1.2rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s;
  z-index: 3;
}
.lightbox__close:hover {
  background: var(--c-alarm);
  color: var(--c-bone);
  border-color: var(--c-alarm);
  transform: rotate(90deg);
}

@media (max-width: 600px) {
  .lightbox__nav { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox__nav--prev { left: var(--s-2); }
  .lightbox__nav--next { right: var(--s-2); }
}

/* ---------- 24. SCROLL-REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal--stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal--stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal--stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal--stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal--stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal--stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal--stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal--stagger.in > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- 24b. CONTACT TWO-COL ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-8);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- 24c. LEGAL / PROSE ---------- */
.prose {
  max-width: 78ch;
  margin: 0 auto;
  font-size: var(--t-md);
  line-height: 1.75;
  color: var(--c-paper);
}
.prose h2 {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1;
  margin-top: var(--s-8);
  margin-bottom: var(--s-4);
  color: var(--c-bone);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-iron);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
  color: var(--c-bone);
}
.prose h4 {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-copper);
  margin-top: var(--s-5);
  margin-bottom: var(--s-2);
}
.prose p { margin-bottom: var(--s-4); }
.prose ul, .prose ol {
  margin-bottom: var(--s-4);
  padding-left: var(--s-5);
}
.prose ul li {
  position: relative;
  padding-left: var(--s-4);
  margin-bottom: var(--s-2);
  list-style: none;
}
.prose ul li::before {
  content: "■";
  color: var(--c-copper);
  position: absolute;
  left: 0;
  font-size: 0.7em;
  top: 0.5em;
}
.prose ol { list-style-position: outside; }
.prose ol li {
  margin-bottom: var(--s-2);
  padding-left: var(--s-2);
}
.prose a {
  color: var(--c-copper-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-copper-lo);
  transition: text-decoration-color 0.25s;
}
.prose a:hover { text-decoration-color: var(--c-copper-hi); }
.prose strong { color: var(--c-bone); font-weight: 600; }
.prose hr {
  border: none;
  border-top: 1px solid var(--c-iron);
  margin: var(--s-7) 0;
}
.prose blockquote {
  border-left: 3px solid var(--c-copper);
  padding: var(--s-3) var(--s-5);
  margin: var(--s-5) 0;
  background: var(--c-graphite);
  color: var(--c-paper);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .legal-note {
  background: var(--c-graphite);
  border: 1px solid var(--c-copper-lo);
  border-left: 4px solid var(--c-copper);
  padding: var(--s-5);
  margin-bottom: var(--s-7);
  font-size: var(--t-sm);
}
.prose .legal-note strong { color: var(--c-copper-hi); }
.prose dl { margin-bottom: var(--s-4); }
.prose dt {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-copper);
  margin-top: var(--s-3);
  margin-bottom: var(--s-1);
}
.prose dd { margin-left: 0; margin-bottom: var(--s-3); }

/* ---------- 24d. ACCENT-FIX: Big Shoulders hat kein echtes Italic — Umlaute brechen bei synthetischem Italic ---------- */
.accent,
.hero__headline .accent,
.sec-head__title .accent,
.split__title .accent,
.cta-block__title .accent,
.feature-bleed__title .accent,
.page-head__title .accent,
.footer__brand .accent {
  font-style: normal;
}

/* ---------- 25. UTILS ---------- */
.gap-4 { gap: var(--s-4); }
.gap-5 { gap: var(--s-5); }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mt-5 { margin-top: var(--s-5); }
.mt-7 { margin-top: var(--s-7); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-7 { margin-bottom: var(--s-7); }
.full-bleed { margin-inline: calc(-1 * var(--gutter)); }

/* Notdienst-Indicator */
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-alarm);
  margin-right: var(--s-2);
  box-shadow: 0 0 0 0 rgba(230, 69, 49, 0.6);
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 69, 49, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(230, 69, 49, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 69, 49, 0); }
}


/* ============ PARTNER LOGOS / KARUSSELL ============ */
.partners {
  padding: var(--s-7) 0;
  overflow: hidden;
  border-top: 1px solid var(--c-iron);
  background: var(--c-night);
}
.partners__head {
  text-align: center;
  margin-bottom: var(--s-6);
}
.partners__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: var(--s-3) 0 0;
  color: var(--c-bone);
}
.partners__intro {
  color: var(--c-bone);
  opacity: 0.85;
  max-width: 56ch;
  margin: var(--s-3) auto 0;
  font-size: var(--t-md);
  line-height: 1.6;
}
.partners__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.partners__track {
  display: flex;
  gap: var(--s-7);
  width: max-content;
  animation: partners-scroll 50s linear infinite;
}
.partners__track:hover {
  animation-play-state: paused;
}
.partners__item {
  flex: 0 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--s-3);
}
.partners__item img {
  max-height: 100%;
  width: auto;
  max-width: 180px;
  opacity: 0.85;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.partners__item:hover img {
  opacity: 1;
  transform: scale(1.05);
}
@keyframes partners-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 768px) {
  .partners__item { height: 50px; }
  .partners__item img { max-width: 130px; }
  .partners__track { gap: var(--s-5); animation-duration: 35s; }
}
@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none; transform: none; flex-wrap: wrap; justify-content: center; }
}


/* ============ SPRINTER DRIVE-BY ============ */
.sprinter-track {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  background: var(--c-night);
  border-bottom: 1px solid var(--c-iron);
  pointer-events: none;
}
.sprinter-track__van {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 76px;
  width: auto;
  display: block;
  transform: translateX(-180px);
  /* Auto fährt einmalig von links nach rechts (7s), über dem endlos laufenden Banner */
  animation: sprinter-drive 7s linear 1 forwards;
  animation-play-state: paused;
  z-index: 2;
}
/* Banner-Stile entfernt — Servicegebiet-Marquee ist jetzt eine eigene Section unter dem Sprinter-Track */
.sprinter-track.is-active .sprinter-track__van,
.sprinter-track.is-active .sprinter-track__banner {
  animation-play-state: running;
}
@keyframes sprinter-drive {
  from { transform: translateX(-180px); }
  to   { transform: translateX(calc(100vw + 80px)); }
}
@keyframes sprinter-banner-pull {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100vw); }
}
@media (prefers-reduced-motion: reduce) {
  .sprinter-track__van,
  .sprinter-track__banner { animation: none; transform: translateX(20px); }
}


/* ============ WF-MEISTER-ALLIANZ LOGOS ============ */
.allianz-logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--s-4);
  align-items: center;
  justify-items: center;
  margin-top: var(--s-7);
  width: 100%;
}
.allianz-logos__item {
  display: flex;
  width: 100%;
  height: 160px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
  color: inherit;
}
.allianz-logos__item img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.allianz-logos__item:hover img {
  opacity: 1;
  transform: scale(1.08);
}
@media (max-width: 1100px) {
  .allianz-logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .allianz-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 450px) {
  .allianz-logos { grid-template-columns: repeat(2, 1fr); }
}


/* ============ FLIP CARDS (Versicherungs-Banner) ============ */
.usp-grid--flip {
  perspective: 1200px;
}
.flip-card {
  position: relative;
  height: 260px;
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
}
.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card__inner,
.flip-card:focus-within .flip-card__inner {
  transform: rotateY(180deg);
}
.flip-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--s-5);
  background: var(--c-graphite);
  border: 1px solid var(--c-iron);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transition: border-color 0.4s ease;
}
.flip-card:hover .flip-card__face--front {
  border-color: var(--c-copper);
}
.flip-card__face--front {
  gap: var(--s-3);
}
.flip-card__face--front .usp__num {
  font-size: 3rem;
  color: var(--c-copper);
  line-height: 1;
}
.flip-card__face--front .usp__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-bone);
  margin: 0;
}
.flip-card__face--back {
  transform: rotateY(180deg);
  background: var(--c-iron);
  border-color: var(--c-copper);
  justify-content: center;
}
.flip-card__face--back .usp__text {
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--c-bone);
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .flip-card__inner { transition: none; }
}


/* ============ FLIP-CARD-Modifier für Trade-Sektion ============ */
.flip-card--tall {
  height: 340px;
}
.trade-front {
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  gap: var(--s-4);
}
.trade-front .trade__icon {
  width: 72px;
  height: 72px;
  border: 1px solid var(--c-copper);
  display: grid;
  place-items: center;
  color: var(--c-copper);
  font-size: 2.2rem;
}
.trade-front .trade__name {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-bone);
  margin: 0;
}
.trades-flip .flip-card__face--back .trade__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--c-bone);
}
.trades-flip .flip-card__face--back .trade__list li {
  padding: var(--s-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trades-flip .flip-card__face--back .trade__list li:last-child {
  border-bottom: none;
}


/* ============ COOKIE-CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: var(--s-5);
  left: var(--s-5);
  right: var(--s-5);
  max-width: 720px;
  margin: 0 auto;
  background: var(--c-graphite);
  border: 1px solid var(--c-iron);
  border-left: 4px solid var(--c-copper);
  padding: var(--s-5) var(--s-6);
  z-index: 9998;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__title {
  font-family: var(--f-display);
  font-size: var(--t-lg, 1.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--c-bone);
}
.cookie-banner__text {
  margin: 0;
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--c-paper);
}
.cookie-banner__text a {
  color: var(--c-copper);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.cookie-banner__actions .btn { padding: 0.65rem 1.25rem; font-size: var(--t-xs); }
@media (max-width: 600px) {
  .cookie-banner { left: var(--s-3); right: var(--s-3); padding: var(--s-4) var(--s-5); }
}


/* ============ COOKIE-MODAL (Granular Settings) ============ */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal.is-visible { opacity: 1; pointer-events: auto; }
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,7,10,0.75);
  backdrop-filter: blur(4px);
}
.cookie-modal__dialog {
  position: relative;
  background: var(--c-graphite);
  border: 1px solid var(--c-iron);
  max-width: 560px;
  width: calc(100% - 2 * var(--s-5));
  max-height: 88vh;
  overflow-y: auto;
  padding: var(--s-7) var(--s-6);
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  z-index: 1;
}
.cookie-modal__close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-4);
  background: transparent;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  color: var(--c-bone);
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
  padding: var(--s-2);
  opacity: 0.7;
}
.cookie-modal__close:hover { opacity: 1; }
.cookie-modal__title {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
  color: var(--c-bone);
}
.cookie-modal__intro {
  margin: 0 0 var(--s-5);
  color: var(--c-paper);
  font-size: var(--t-sm);
  line-height: 1.55;
}
.cookie-category {
  border-top: 1px solid var(--c-iron);
  padding: var(--s-4) 0;
}
.cookie-category__head { margin-bottom: var(--s-2); }
.cookie-category__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--f-display);
  font-size: var(--t-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-bone);
  cursor: url('../img/cursor-compass-red.svg') 6 6, pointer;
  user-select: none;
}
.cookie-category__label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--c-iron);
  border-radius: 12px;
  transition: background 0.3s;
  flex: 0 0 auto;
}
.cookie-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--c-bone);
  border-radius: 50%;
  transition: transform 0.3s;
}
.cookie-category__label input:checked ~ .cookie-toggle { background: var(--c-copper); }
.cookie-category__label input:checked ~ .cookie-toggle::after { transform: translateX(20px); }
.cookie-category__label input:disabled ~ .cookie-toggle { opacity: 0.5; cursor: not-allowed; }
.cookie-category__desc {
  margin: var(--s-2) 0 0;
  font-size: var(--t-xs);
  line-height: 1.55;
  color: var(--c-paper);
}
.cookie-modal__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-iron);
}
@media (min-width: 500px) {
  .cookie-modal__actions { flex-direction: row; }
}


/* ============ FOOTER SERVICEGEBIET ============ */
.footer__servicearea {
  border-top: 1px solid var(--c-iron);
  padding: var(--s-4) 0;
  margin-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-3);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
}
.footer__servicearea-label {
  color: var(--c-copper);
  text-transform: uppercase;
  font-weight: 600;
  flex: 0 0 auto;
}
.footer__servicearea-cities {
  color: var(--c-dust);
  line-height: 1.6;
}
