/* ============================================================
   CONFICON GmbH — Global Design System
   Brand: Marineblau #0B2545 · Kupfer #B68A3E · Beige #F2EFEA
   Typografie: Fraunces (Display) + Inter (Body)
   ============================================================ */

:root {
  --navy: #0B2545;
  --navy-deep: #061629;
  --navy-light: #1a3a66;
  --navy-soft: #d6dfeb;
  --copper: #B68A3E;
  --copper-light: #D4A85E;
  --copper-deep: #8d6a2c;
  --beige: #F2EFEA;
  --beige-deep: #E5DFD4;

  --white: #ffffff;
  --neutral-50: #FAFAF8;
  --neutral-100: #F5F5F2;
  --neutral-200: #E8E8E3;
  --neutral-300: #D1D1CA;
  --neutral-400: #9A9A92;
  --neutral-500: #6B6B63;
  --neutral-600: #4A4A43;
  --neutral-700: #2D2D28;
  --neutral-800: #1A1A17;
  --neutral-900: #0E0E0C;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  --text-2xl: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.4rem + 2.8vw, 3.5rem);
  --text-4xl: clamp(2.75rem, 1.5rem + 4.5vw, 5rem);
  --text-5xl: clamp(3.25rem, 1.8rem + 6vw, 6.5rem);

  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem; --sp-8: 2rem; --sp-10: 2.5rem;
  --sp-12: 3rem; --sp-14: 3.5rem; --sp-16: 4rem; --sp-20: 5rem;
  --sp-24: 6rem; --sp-32: 8rem; --sp-40: 10rem;

  --container: 1280px;
  --container-narrow: 980px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Layered shadows for depth (subtle stack of 2-3 layers) */
  --shadow-xs: 0 1px 2px rgba(11,37,69,0.05), 0 1px 1px rgba(11,37,69,0.03);
  --shadow-sm: 0 2px 4px rgba(11,37,69,0.04), 0 4px 12px rgba(11,37,69,0.05);
  --shadow-md: 0 4px 10px rgba(11,37,69,0.06), 0 12px 24px rgba(11,37,69,0.08), 0 1px 2px rgba(11,37,69,0.04);
  --shadow-lg: 0 6px 16px rgba(11,37,69,0.08), 0 24px 48px rgba(11,37,69,0.12), 0 2px 4px rgba(11,37,69,0.05);
  --shadow-xl: 0 12px 30px rgba(11,37,69,0.12), 0 40px 80px rgba(11,37,69,0.18), 0 4px 8px rgba(11,37,69,0.06);
  --shadow-glow-copper: 0 8px 30px rgba(182,138,62,0.25), 0 2px 6px rgba(182,138,62,0.15);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--neutral-700);
  background: var(--white);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: var(--text-5xl); font-weight: 500; line-height: 1.05; }
h2 { font-size: var(--text-4xl); line-height: 1.08; }
h3 { font-size: var(--text-2xl); line-height: 1.2; }
h4 { font-size: var(--text-xl); font-weight: 600; line-height: 1.25; }

p { max-width: 65ch; line-height: 1.8; }
p + p { margin-top: 0.9em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-6); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-6); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--copper);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--copper);
}

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: 0.95rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--copper); color: var(--white); border-color: var(--copper);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.22) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}
.btn-primary:hover { background: var(--copper-deep); border-color: var(--copper-deep); transform: translateY(-2px); box-shadow: var(--shadow-glow-copper); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.22);
  padding: 0.85rem 1.4rem;
  font-weight: 500;
  font-size: calc(var(--text-sm) - 0.02rem);
}
.btn-ghost:hover { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); transform: none; box-shadow: none; }

/* ============================================================ HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--sp-5) 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}
.site-header.is-scrolled,
.site-header.always-solid {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  padding: var(--sp-3) 0;
  box-shadow: 0 1px 0 rgba(11,37,69,0.06);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 0 var(--sp-6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-8);
}
.logo { display: block; transition: opacity 0.3s var(--ease); }
.logo img { height: 120px; width: auto; transition: height 0.3s var(--ease); }
.site-header.is-scrolled .logo img,
.site-header.always-solid .logo img { height: 70px; }
.logo .logo-light { display: block; }
.logo .logo-dark { display: none; }
.site-header.is-scrolled .logo .logo-light,
.site-header.always-solid .logo .logo-light { display: none; }
.site-header.is-scrolled .logo .logo-dark,
.site-header.always-solid .logo .logo-dark { display: block; }

.main-nav { display: flex; align-items: center; gap: var(--sp-8); }
.main-nav a {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s var(--ease);
  padding: var(--sp-2) 0;
}
.site-header.is-scrolled .main-nav a,
.site-header.always-solid .main-nav a { color: var(--navy); }
.main-nav a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--copper);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.main-nav .has-mega { display: flex; align-items: center; gap: 6px; }
.main-nav .has-mega svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.main-nav .has-mega:hover svg { transform: rotate(180deg); }

.header-cta { display: flex; align-items: center; gap: var(--sp-4); }
.header-phone {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-sm); font-weight: 600;
  color: var(--white);
}
.site-header.is-scrolled .header-phone,
.site-header.always-solid .header-phone { color: var(--navy); }
.header-phone svg { width: 14px; height: 14px; }

.mega-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-12) 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s var(--ease-out);
  border-top: 1px solid var(--neutral-200);
}
.nav-item-mega { position: static; }
.nav-item-mega:hover .mega-menu,
.mega-menu:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid {
  max-width: var(--container);
  margin: 0 auto; padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.mega-item {
  display: flex; flex-direction: column;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  border-left: 2px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.mega-item:hover { background: var(--neutral-100); border-left-color: var(--copper); }
.mega-item-title {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm); font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.mega-item-sub { font-size: var(--text-xs); color: var(--neutral-500); }

.menu-toggle {
  display: none;
  width: 28px; height: 28px;
  position: relative; z-index: 102;
}
.menu-toggle span {
  position: absolute; left: 0; right: 0;
  height: 2px; background: var(--white);
  transition: all 0.3s var(--ease);
}
.site-header.is-scrolled .menu-toggle span,
.site-header.always-solid .menu-toggle span { background: var(--navy); }
.menu-toggle span:nth-child(1) { top: 6px; }
.menu-toggle span:nth-child(2) { top: 13px; }
.menu-toggle span:nth-child(3) { top: 20px; }
body.menu-open .menu-toggle span { background: var(--white); }
body.menu-open .menu-toggle span:nth-child(1) { top: 13px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 13px; transform: rotate(-45deg); }

/* ============================================================ HERO (Home) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  padding: var(--sp-32) 0 var(--sp-20);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.55;
  filter: saturate(0.85);
  animation: kenburns 28s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,22,41,0.65) 0%, rgba(6,22,41,0.4) 40%, rgba(11,37,69,0.95) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(182,138,62,0.18) 0%, transparent 60%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto; padding: 0 var(--sp-6);
  width: 100%;
}
.hero h1 {
  color: var(--white);
  font-size: var(--text-5xl);
  font-weight: 500;
  max-width: 14ch;
  margin-bottom: var(--sp-6);
}
.hero h1 em { font-style: italic; color: var(--copper-light); font-weight: 500; }
.hero .eyebrow { color: var(--copper-light); margin-bottom: var(--sp-6); }
.hero .eyebrow::before { background: var(--copper-light); }
.hero p.lead {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  max-width: 52ch;
  margin-bottom: var(--sp-10);
  font-weight: 300;
}
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-20); }
.hero-meta {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}
.hero-meta svg { width: 18px; height: 18px; color: var(--copper-light); }

.scroll-cue {
  position: absolute;
  bottom: var(--sp-8); left: 50%; transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.2em;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-3);
}
.scroll-cue::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--copper-light), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================ PAGE HERO (Subpages) */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  padding: 11rem 0 var(--sp-16);
}
.page-hero .hero-bg img { opacity: 0.45; }
.page-hero h1 {
  color: var(--white);
  font-size: var(--text-4xl);
  max-width: 18ch;
  margin-bottom: var(--sp-5);
}
.page-hero .lead {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  max-width: 56ch;
  font-weight: 300;
}

/* ============================================================ BREADCRUMB */
.breadcrumb {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-6);
}
.breadcrumb a { color: rgba(255,255,255,0.85); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--copper-light); }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.5; }
.breadcrumb .current { color: var(--copper-light); }

/* ============================================================ STAT BAR */
.stat-bar { background: var(--navy); color: var(--white); padding: var(--sp-10) 0; position: relative; }
.stat-bar::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper) 50%, transparent);
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); text-align: center; }
.stat-item {
  padding: var(--sp-8) var(--sp-4);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  backdrop-filter: blur(4px);
  transition: transform 0.45s var(--ease-out), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,168,94,0.35);
}
.stat-item .stat-num {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-3xl); font-weight: 500;
  color: var(--copper-light);
  display: block; line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-item .stat-label {
  font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
}

/* ============================================================ PARTNER MARQUEE */
.partner-marquee {
  background: var(--white);
  padding: var(--sp-10) 0 var(--sp-12);
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  font-weight: 500;
  margin: 0 var(--sp-5) var(--sp-7);
}
.marquee-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 10%, black 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-set {
  display: flex;
  gap: 0;
  padding-right: 0;
  align-items: center;
  flex-shrink: 0;
}
.partner-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 72px;
  flex-shrink: 0;
  padding: 0 var(--sp-10);
}
.partner-img {
  max-height: 44px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.45;
  mix-blend-mode: multiply;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.3s var(--ease);
  display: block;
}
.partner-slot:hover .partner-img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============================================================ SECTION HEADERS */
.section { padding: var(--sp-32) 0; }
.section-header { margin-bottom: var(--sp-16); max-width: 760px; }
.section-header .eyebrow { margin-bottom: var(--sp-5); }
.section-header h2 { margin-bottom: var(--sp-5); }
.section-header p {
  font-size: var(--text-lg);
  color: var(--neutral-600);
  font-weight: 300;
  line-height: 1.6;
}

/* ============================================================ SPOTLIGHT (Home Bautenschutz) */
.bautenschutz-spotlight {
  background: var(--beige);
  padding: var(--sp-32) 0;
  position: relative; overflow: hidden;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.spotlight-image {
  position: relative; aspect-ratio: 4/5;
  overflow: hidden; border-radius: 6px;
  box-shadow: var(--shadow-xl);
}
.spotlight-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.spotlight-image:hover img { transform: scale(1.04); }
.spotlight-image::after {
  content: ''; position: absolute;
  bottom: -1px; left: -1px; right: -1px;
  height: 35%;
  background: linear-gradient(to top, rgba(11,37,69,0.5), transparent);
  pointer-events: none;
}
.spotlight-badge {
  position: absolute;
  bottom: var(--sp-8); left: var(--sp-8);
  z-index: 2;
  color: var(--white);
}
.spotlight-badge .label {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-2xl); font-weight: 500;
  display: block; margin-bottom: var(--sp-1);
}
.spotlight-badge .sub {
  font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--copper-light);
}
.spotlight-content h2 { margin-bottom: var(--sp-6); }
.spotlight-content .lead {
  font-size: var(--text-lg);
  color: var(--neutral-600);
  font-weight: 300;
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}
.spotlight-features {
  list-style: none;
  display: flex; flex-direction: column; gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}
.spotlight-features li {
  display: flex; align-items: flex-start; gap: var(--sp-4);
  font-size: var(--text-base);
  color: var(--neutral-700);
}
.spotlight-features svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  color: var(--copper);
}

/* ============================================================ BENTO */
.bento-section { padding: var(--sp-32) 0; background: var(--white); }
.bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.bento-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden; border-radius: 6px;
  background: var(--navy);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  color: var(--white); text-decoration: none;
  cursor: pointer; isolation: isolate;
  box-shadow: var(--shadow-lg);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.bento-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
  z-index: 1;
}
.bento-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,22,41,0.95) 0%, rgba(6,22,41,0.3) 55%, rgba(6,22,41,0.1) 100%);
  z-index: 2;
}
.bento-card:hover img { transform: scale(1.05); }
.bento-content { position: relative; z-index: 3; padding: var(--sp-10); }
.bento-card h3 { color: var(--white); margin-bottom: var(--sp-3); font-size: var(--text-3xl); }
.bento-card p {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
  margin-bottom: var(--sp-6); font-weight: 300;
}
.bento-link {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  color: var(--copper-light);
  font-size: var(--text-sm); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.bento-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.bento-card:hover .bento-link svg { transform: translateX(6px); }

/* ============================================================ SCROLLYTELLING */
/* Full-screen pinned slides — one item at a time, fly in from L/R with 3D  */
.scroll-story {
  min-height: 450vh;
  padding: 0 !important;
  position: relative;
  overflow: visible;
}
.scroll-story-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1400px;
}
/* Section header — fades out as slides start */
.scroll-story-head {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  transition: opacity 0.55s ease, transform 0.55s ease;
  width: 100%;
  padding: 0 var(--sp-6);
  pointer-events: none;
}
.scroll-story-head.is-hidden {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 12px));
}
/* Individual slides — absolutely positioned, each fills the viewport */
.scroll-story-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: 0 clamp(var(--sp-8), 8vw, var(--sp-32));
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.scroll-story-slide[data-dir="l"] {
  transform: translateX(-90vw) translateZ(-500px) scale(0.12);
  filter: blur(8px);
}
.scroll-story-slide[data-dir="r"] {
  transform: translateX(90vw) translateZ(-500px) scale(0.12);
  filter: blur(8px);
}
.scroll-story-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) translateZ(0) scale(1);
  filter: blur(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              filter 0.45s ease;
}
.scroll-story-slide:not(.is-active) {
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.24s ease,
              filter 0.3s ease;
}
/* Thematic image inside slide */
.story-image {
  flex: 0 0 clamp(300px, 32vw, 440px);
  height: clamp(340px, 52vh, 520px);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(0,0,0,0.65);
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Text body inside slide */
.story-body {
  max-width: 560px;
  flex: 1;
}
.story-body h3 {
  color: var(--white);
  font-size: var(--text-3xl);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--sp-5);
  text-wrap: balance;
}
.story-body p {
  color: rgba(255,255,255,0.72);
  font-size: var(--text-base);
  line-height: 1.8;
  font-weight: 300;
  max-width: 52ch;
}
/* Dot navigation */
.scroll-story-dots {
  position: absolute;
  bottom: var(--sp-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--sp-3);
  z-index: 4;
}
.scroll-story-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: all 0.4s var(--ease);
}
.scroll-story-dot.is-active {
  background: var(--copper);
  box-shadow: 0 0 14px rgba(182,138,62,0.5);
  transform: scale(1.5);
}
/* Mobile: collapse to normal stacked list */
@media (max-width: 900px) {
  .scroll-story { min-height: auto; padding: var(--sp-24) 0 !important; }
  .scroll-story-pin { position: relative; height: auto; overflow: visible; flex-direction: column; gap: 0; perspective: none; }
  .scroll-story-head { position: relative; top: auto; left: auto; transform: none; text-align: center; margin-bottom: var(--sp-12); }
  .scroll-story-head.is-hidden { opacity: 1; transform: none; }
  .scroll-story-slide,
  .scroll-story-slide[data-dir="l"],
  .scroll-story-slide[data-dir="r"] {
    position: relative; inset: auto;
    opacity: 1; transform: none; filter: none;
    pointer-events: auto; flex-direction: column;
    padding: var(--sp-8) var(--sp-6);
    border-top: 1px solid rgba(255,255,255,0.07);
    gap: var(--sp-6);
  }
  .scroll-story-dots { display: none; }
  .story-image { flex: 0 0 auto; width: 100%; height: clamp(220px, 56vw, 340px); }
}

/* ============================================================ USP */
.usp-section {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-32) 0;
  position: relative; overflow: hidden;
}
/* sticky needs overflow:visible on outer wrapper */
.usp-section.scroll-story { overflow: visible; }
.usp-section::before {
  content: ''; position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(182,138,62,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.usp-section .eyebrow { color: var(--copper-light); }
.usp-section .eyebrow::before { background: var(--copper-light); }
.usp-section h2 { color: var(--white); }
.usp-section .section-header p { color: rgba(255,255,255,0.88); font-weight: 400; }
.usp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  position: relative; z-index: 1;
}
.usp-list {
  display: flex;
  flex-direction: column;
  position: relative; z-index: 1;
}
.usp-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-10);
  padding: var(--sp-10) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.usp-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.usp-item-num {
  flex: 0 0 auto;
  min-width: 110px;
  font-size: clamp(4.5rem, 5.5vw, 6.5rem);
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.13);
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
}
.usp-item-body { flex: 1; padding-top: 0.2em; }
.usp-item-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: var(--sp-2);
}
.usp-item h3 {
  color: var(--white);
  font-size: var(--text-2xl);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}
.usp-item p {
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  line-height: 1.75;
  max-width: 68ch;
}
.usp-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: var(--sp-10);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.usp-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(182,138,62,0.5);
  transform: translateY(-7px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.usp-ghost {
  position: absolute;
  top: -0.15em; right: -0.05em;
  font-size: 9rem; font-weight: 800;
  color: rgba(255,255,255,0.13);
  line-height: 1; pointer-events: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.05em;
  user-select: none;
}
.usp-icon {
  width: 52px; height: 52px;
  background: rgba(182,138,62,0.15);
  border: 1px solid rgba(182,138,62,0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
}
.usp-icon svg {
  width: 24px; height: 24px;
  color: var(--copper-light);
}
.usp-seal {
  position: absolute;
  bottom: -12px; right: -12px;
  width: 110px; height: 110px;
  color: rgba(182,138,62,0.22);
  pointer-events: none;
}
.usp-num {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: var(--sp-3); display: block;
}
.usp-card h3 {
  color: var(--white);
  font-size: var(--text-xl); font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}
.usp-card p {
  color: rgba(255,255,255,0.88);
  font-weight: 400; line-height: 1.8;
}

/* ============================================================ GEWERKE GRID (Photo cards — Perfect-Sports style) */
.gewerk-ghost {
  position: absolute;
  top: -0.1em; right: -0.04em;
  font-size: 9rem; font-weight: 800;
  color: rgba(255,255,255,0.14);
  line-height: 1; pointer-events: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.05em;
  user-select: none;
  z-index: 2;
}
.gewerke-section { padding: var(--sp-32) 0; background: var(--neutral-50); }
.gewerke-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.gewerk-card {
  position: relative;
  aspect-ratio: 3/4;
  display: block;
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.gewerk-card .card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1s var(--ease-out);
  filter: brightness(0.85);
}
.gewerk-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
              rgba(6,22,41,0.3) 0%,
              rgba(6,22,41,0.55) 35%,
              rgba(6,22,41,0.97) 100%);
  z-index: 1;
  transition: background 0.5s var(--ease);
}
.gewerk-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.gewerk-card:hover .card-bg { transform: scale(1.06); filter: brightness(0.95); }
.gewerk-card:hover::after {
  background: linear-gradient(180deg,
              rgba(6,22,41,0.4) 0%,
              rgba(6,22,41,0.65) 35%,
              rgba(6,22,41,0.98) 100%);
}
.gewerk-card .card-tag {
  position: absolute;
  top: var(--sp-5); left: var(--sp-5);
  z-index: 3;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,168,94,0.4);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--copper-light);
  border-radius: 2px;
}
.gewerk-card .card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  z-index: 2;
  display: flex; flex-direction: column;
  gap: var(--sp-3);
}
.gewerk-card h3,
.gewerk-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.25rem, 0.9rem + 0.9vw, 1.625rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.015em;
  line-height: 1.1;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
  margin: 0;
}
.gewerk-card .card-desc {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  line-height: 1.5;
}
.gewerk-card .arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--copper-light);
  font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 700;
  margin-top: var(--sp-2);
}
.gewerk-card .arrow svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.gewerk-card:hover .arrow svg { transform: translateX(5px); }
.gewerk-card.featured::after {
  background: linear-gradient(180deg,
              rgba(11,37,69,0.45) 0%,
              rgba(11,37,69,0.75) 35%,
              rgba(11,37,69,0.99) 100%);
}
.gewerk-card.featured .card-tag {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

/* ============================================================ ABLAUF */
.ablauf-section { padding: var(--sp-32) 0; background: var(--white); }
.ablauf-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-20);
  align-items: start;
}
.ablauf-layout > div:first-child {
  position: sticky;
  top: 120px;
}
.ablauf-layout .eyebrow { color: var(--copper); }
.ablauf-layout h2 { color: var(--navy); margin: var(--sp-5) 0 var(--sp-6); }
.ablauf-layout > div > p { color: var(--neutral-600); font-weight: 300; line-height: 1.7; }

.ablauf-visual {
  margin-top: var(--sp-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--sp-10);
  row-gap: var(--sp-8);
  border-top: 1px solid var(--neutral-200);
  padding-top: var(--sp-8);
}
.ablauf-visual::before,
.ablauf-visual::after { content: none; }
.ablauf-visual-stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: 0;
  border: 0;
}
.ablauf-visual-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.875rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.ablauf-visual-label {
  font-size: var(--text-sm);
  color: var(--neutral-600);
  font-weight: 400;
  line-height: 1.45;
}
@media (max-width: 540px) {
  .ablauf-visual { column-gap: var(--sp-6); row-gap: var(--sp-6); }
  .ablauf-visual-num { font-size: 1.625rem; }
}
.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px; bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, var(--copper), rgba(182,138,62,0.12));
}
.timeline-step {
  display: flex;
  gap: var(--sp-6);
  align-items: flex-start;
  padding-bottom: var(--sp-10);
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-dot {
  flex: 0 0 54px;
  width: 54px; height: 54px;
  background: var(--white);
  border: 1.5px solid var(--copper);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm); font-weight: 600;
  color: var(--navy);
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.timeline-content { padding-top: 12px; }
.timeline-content h3,
.timeline-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-lg);
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 var(--sp-2);
  letter-spacing: -0.01em;
}
.timeline-content p {
  color: var(--neutral-600);
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.7;
}
.ablauf-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6); position: relative;
}
.ablauf-step {
  position: relative;
  background: var(--white);
  padding: var(--sp-10) var(--sp-8);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--copper);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.ablauf-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 56px; height: 56px;
  background: var(--white);
  border: 1.5px solid var(--copper);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xl); font-weight: 500;
  margin-bottom: var(--sp-6);
  border-radius: 50%;
  position: relative; z-index: 1;
}
.ablauf-step h4 {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-lg);
  color: var(--navy); margin-bottom: var(--sp-3);
}
.ablauf-step p { color: var(--neutral-600); font-size: var(--text-sm); font-weight: 300; }

/* ============================================================ FAQ */
.faq-section { padding: var(--sp-32) 0; background: var(--beige); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--sp-16); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(11,37,69,0.15); }
.faq-item:first-child { border-top: 1px solid rgba(11,37,69,0.15); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-6) 0;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-lg); font-weight: 500;
  color: var(--navy); text-align: left;
}
.faq-q svg { width: 22px; height: 22px; transition: transform 0.3s var(--ease); color: var(--copper); flex-shrink: 0; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a-inner {
  padding: 0 0 var(--sp-6);
  color: var(--neutral-600);
  font-size: var(--text-base);
  font-weight: 300; line-height: 1.7;
}
.faq-item.is-open .faq-a { max-height: 400px; }

/* ============================================================ DETAIL PAGE: INTRO */
.detail-intro { padding: var(--sp-32) 0 var(--sp-20); background: var(--white); }
.detail-intro-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-16); align-items: start;
}
.detail-intro-grid .left { position: sticky; top: 120px; }
@media (max-width: 1024px) {
  .detail-intro-grid .left { position: static; }
}
.detail-intro-grid .left .eyebrow { margin-bottom: var(--sp-4); }
.detail-intro-grid h2 { font-size: var(--text-2xl); font-weight: 700; margin-bottom: var(--sp-6); line-height: 1.2; }
.detail-intro-grid .lead {
  font-size: var(--text-base);
  color: var(--neutral-600);
  font-weight: 300; line-height: 1.8;
  margin-bottom: var(--sp-6);
}
.detail-intro-grid p { font-size: var(--text-base); color: var(--neutral-600); font-weight: 300; line-height: 1.8; margin-bottom: var(--sp-5); }

/* ============================================================ DETAIL PAGE: LEISTUNGSUMFANG (3-column feature grid) */
.scope-section { padding: var(--sp-32) 0; background: var(--beige); }
.scope-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.scope-card {
  position: relative;
  aspect-ratio: 3/4;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  color: var(--white);
}
.scope-card .card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1s var(--ease-out);
  filter: brightness(0.85);
}
.scope-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
              rgba(6,22,41,0.3) 0%,
              rgba(6,22,41,0.6) 35%,
              rgba(6,22,41,0.97) 100%);
  z-index: 1;
  transition: background 0.5s var(--ease);
}
.scope-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.scope-card:hover .card-bg { transform: scale(1.05); filter: brightness(0.95); }
.scope-card .card-tag {
  position: absolute;
  top: var(--sp-5); left: var(--sp-5);
  z-index: 3;
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,168,94,0.4);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--copper-light);
  border-radius: 2px;
}
.scope-card .card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--sp-10) var(--sp-8) var(--sp-8);
  z-index: 2;
}
.scope-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.02em;
  line-height: 1.15;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.scope-card p { color: rgba(255,255,255,0.82); font-size: var(--text-sm); font-weight: 300; line-height: 1.65; }

/* ============================================================ DETAIL PAGE: ANWENDUNGSBEREICHE / PROBLEME (split list) */
.ba-section { padding: var(--sp-24) 0; background: var(--neutral-50); }
.ba-section-header { display: flex; align-items: baseline; gap: var(--sp-8); flex-wrap: wrap; margin-bottom: var(--sp-10); }
.ba-caption { font-size: var(--text-sm); color: var(--neutral-500); max-width: 560px; }
.problem-section { padding: var(--sp-32) 0; background: var(--white); }
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.problem-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.problem-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.problem-card-img { aspect-ratio: 16/9; overflow: hidden; }
.problem-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.problem-card:hover .problem-card-img img { transform: scale(1.05); }
.problem-card-body { padding: var(--sp-6) var(--sp-6) var(--sp-8); }
.problem-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-2);
}
.problem-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.problem-card p { color: var(--neutral-600); font-size: var(--text-sm); font-weight: 300; line-height: 1.7; }
.problem-grid { display: flex; flex-direction: column; gap: var(--sp-16); }
.problem-grid > .ba-slider { width: 100%; }
.problem-grid .problem-content { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--sp-16); align-items: start; }
.problem-image {
  position: relative; aspect-ratio: 4/5;
  overflow: hidden; border-radius: 2px;
}
.problem-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.problem-image:hover img { transform: scale(1.04); }
.problem-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0;
}
.problem-list li {
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--neutral-200);
  display: grid; grid-template-columns: 32px 1fr;
  gap: var(--sp-5); align-items: start;
}
.problem-list li:first-child { border-top: 1px solid var(--neutral-200); }
.problem-list .marker {
  font-family: 'Inter', sans-serif;
  color: var(--copper);
  font-size: var(--text-base); font-weight: 600;
  line-height: 1.4;
}
.problem-list h5 {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-base); font-weight: 600;
  color: var(--navy); margin-bottom: var(--sp-2);
}
.problem-list p { color: var(--neutral-600); font-size: var(--text-sm); font-weight: 300; }

/* ============================================================ BEFORE / AFTER SLIDER */
.ba-slider {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 6px;
  user-select: none;
  cursor: ew-resize;
  background: var(--neutral-800);
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-after { z-index: 1; }
.ba-before-wrap {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  will-change: width;
}
.ba-before-wrap img {
  width: 100vw;
  max-width: none;
  min-width: 100%;
  height: 100%;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  transform: translateX(-1px);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}
.ba-handle-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  pointer-events: auto;
  cursor: ew-resize;
  transition: transform 0.2s var(--ease);
}
.ba-handle-circle:hover { transform: translate(-50%, -50%) scale(1.08); }
.ba-handle-circle svg { width: 22px; height: 22px; color: var(--navy); }
.ba-label {
  position: absolute; top: var(--sp-5);
  z-index: 4;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--white);
  background: rgba(11,37,69,0.7);
  backdrop-filter: blur(8px);
  padding: var(--sp-2) var(--sp-4);
  pointer-events: none;
}
.ba-label-before { left: var(--sp-5); }
.ba-label-after { right: var(--sp-5); }
.ba-hint {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%; transform: translateX(-50%);
  z-index: 4;
  color: var(--white);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(11,37,69,0.7);
  backdrop-filter: blur(8px);
  padding: var(--sp-2) var(--sp-4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.ba-slider.ba-hinted .ba-hint { opacity: 1; }

/* ============================================================ CROSS-LINK (verwandte Leistungen) */
.related-section { padding: var(--sp-32) 0; background: var(--neutral-50); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.related-card {
  position: relative;
  aspect-ratio: 3/4;
  display: block;
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.related-card .card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 1s var(--ease-out);
  filter: brightness(0.85);
}
.related-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
              rgba(6,22,41,0.3) 0%,
              rgba(6,22,41,0.6) 35%,
              rgba(6,22,41,0.97) 100%);
  z-index: 1;
  transition: background 0.5s var(--ease);
}
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.related-card:hover .card-bg { transform: scale(1.05); filter: brightness(0.95); }
.related-card .card-tag {
  position: absolute;
  top: var(--sp-5); left: var(--sp-5);
  z-index: 3;
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,168,94,0.4);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--copper-light);
  border-radius: 2px;
}
.related-card .card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  z-index: 2;
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.related-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.related-card p { font-size: var(--text-sm); color: rgba(255,255,255,0.78); font-weight: 300; line-height: 1.55; }
.related-card .arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--copper-light);
  font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 700; margin-top: var(--sp-2);
}
.related-card .arrow svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.related-card:hover .arrow svg { transform: translateX(5px); }

/* ============================================================ CTA */
.cta-section {
  padding: var(--sp-32) 0;
  background: var(--navy-deep);
  color: var(--white);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(182,138,62,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(26,58,102,0.6) 0%, transparent 60%);
}
.cta-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; text-align: center; padding: 0 var(--sp-6); }
.cta-inner .eyebrow { color: var(--copper-light); justify-content: center; }
.cta-inner .eyebrow::before { background: var(--copper-light); }
.cta-inner h2 { color: var(--white); margin-bottom: var(--sp-6); font-size: var(--text-4xl); }
.cta-inner p { color: rgba(255,255,255,0.8); font-size: var(--text-lg); font-weight: 300; margin: 0 auto var(--sp-10); }
.cta-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* ============================================================ FOOTER */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: var(--sp-20) 0 var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-16);
}
.footer-brand .logo img { height: 104px; margin-bottom: var(--sp-6); }
.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  font-weight: 300; line-height: 1.7;
  max-width: 32ch;
}
.footer-trust-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  max-width: 36ch;
}
.footer-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  line-height: 1.5;
}
.footer-trust-list svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--copper-light);
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--copper-light);
  margin-bottom: var(--sp-5);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--copper-light); }
.footer-contact { display: flex; flex-direction: column; gap: var(--sp-4); }
.footer-contact-item {
  display: flex; gap: var(--sp-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}
.footer-contact-item svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  color: var(--copper-light); margin-top: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-8);
  display: flex; justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: var(--sp-4);
}
.footer-bottom .legal { display: flex; gap: var(--sp-6); }
.footer-bottom .legal a:hover { color: var(--copper-light); }

/* ============================================================ ANIMATIONS */
/* js-anim class added to <html> by animations.js — ensures non-JS
   visitors always see content; animations only activate when JS loads. */

/* ── Scroll-reveal: base states ─────────────────────────── */
.js-anim .fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  will-change: opacity, transform;
}
.js-anim .fade-up.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.js-anim .reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  will-change: opacity, transform;
}
.js-anim .reveal-scale.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ── Stagger delays ─────────────────────────────────────── */
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.52s; }
.delay-5 { transition-delay: 0.68s; }

/* ── Eyebrow copper-line draw on scroll ─────────────────── */
.js-anim .eyebrow::before {
  width: 0;
  transition: width 0.5s var(--ease-out) 0.12s;
}
.js-anim .eyebrow.is-visible::before { width: 24px; }

/* ── Section number/stat count-up visual feedback ───────── */
.ablauf-visual-num {
  display: block;
  transition: transform 0.3s var(--ease-out);
}
.ablauf-visual-num.counting { transform: scale(1.04); }

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .js-anim .fade-up,
  .js-anim .reveal-scale {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .js-anim .eyebrow::before { width: 24px; transition: none; }
  .hero-bg img { animation: none !important; }
  .scroll-cue::after { animation: none !important; }
}

/* ============================================================ COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-6); left: var(--sp-6); right: var(--sp-6);
  max-width: 520px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-6);
  z-index: 99;
  transform: translateY(calc(100% + 30px));
  transition: transform 0.5s var(--ease-out);
  border-top: 3px solid var(--copper);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p {
  font-size: var(--text-sm);
  color: var(--neutral-700);
  margin: 0 0 var(--sp-4);
  line-height: 1.55;
}
.cookie-banner p a { color: var(--navy); text-decoration: underline; }
.cookie-details {
  display: none;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4) 0 var(--sp-2);
  border-top: 1px solid var(--neutral-200);
  margin-top: var(--sp-3);
}
.cookie-details.is-open { display: flex; }
.cookie-cat {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--neutral-700);
  line-height: 1.5;
  cursor: pointer;
}
.cookie-cat input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: var(--copper);
  cursor: pointer;
}
.cookie-cat input[type="checkbox"]:disabled { cursor: not-allowed; opacity: 0.7; }
.cookie-cat strong { color: var(--navy); }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.cookie-actions .btn {
  flex: 1 1 auto;
  padding: 0.6rem 0.9rem;
  font-size: var(--text-xs);
  white-space: nowrap;
}
.cookie-btn-thin { font-weight: 500; }
@media (max-width: 540px) {
  .cookie-banner { bottom: 0; left: 0; right: 0; max-width: none; border-radius: 0; }
  .cookie-actions .btn { flex: 1 1 calc(50% - var(--sp-2)); }
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .stat-grid, .ablauf-grid { grid-template-columns: repeat(2, 1fr); }
  .ablauf-grid::before { display: none; }
  .ablauf-layout { grid-template-columns: 1fr; gap: var(--sp-12); }
  .ablauf-layout > div:first-child { position: static; }
  .gewerke-grid { grid-template-columns: repeat(3, 1fr); }
  .usp-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-intro-grid, .problem-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  /* Header-CTA auf Mobil ausblenden: Aktionen liegen im Menü und in der Sticky-Leiste unten.
     Verhindert horizontales Überlaufen des Headers. */
  .main-nav, .header-phone, .header-cta { display: none; }
  body.menu-open .main-nav {
    display: flex;
    position: fixed; inset: 0;
    z-index: 101;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--sp-6);
    padding: var(--sp-20) var(--sp-6);
  }
  body.menu-open .main-nav a { color: var(--white); font-size: var(--text-2xl); font-family: 'Inter', sans-serif; }
  body.menu-open .main-nav .mega-menu { display: none; }
  .spotlight-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .bento-grid { grid-template-columns: 1fr; }
  .gewerke-grid, .scope-grid, .related-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero { min-height: 90vh; padding-top: var(--sp-24); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .section, .bautenschutz-spotlight, .bento-section, .usp-section, .gewerke-section,
  .ablauf-section, .faq-section, .cta-section, .detail-intro, .scope-section,
  .problem-section, .related-section { padding: var(--sp-20) 0; }
}

/* ============================================================ RATGEBER / KNOWLEDGE HUB */

/* Hub Index */
.ratgeber-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.ratgeber-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.ratgeber-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(11,37,69,0.18);
  border-color: var(--copper);
}
.ratgeber-card .card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy);
}
.ratgeber-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.ratgeber-card:hover .card-img img { transform: scale(1.05); }
.ratgeber-card .card-meta {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  background: rgba(11,37,69,0.85);
  color: var(--copper-light);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ratgeber-card .card-body {
  padding: var(--sp-6);
  display: flex; flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}
.ratgeber-card h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.ratgeber-card .card-excerpt {
  color: var(--neutral-600);
  font-size: var(--text-sm);
  line-height: 1.6;
  flex: 1;
}
.ratgeber-card .card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--neutral-200);
  font-size: var(--text-xs);
  color: var(--neutral-500);
}
.ratgeber-card .read-more {
  color: var(--copper);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}

/* Article Page */
.article-hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding: 11rem 0 var(--sp-16);
  overflow: hidden;
}
.article-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.article-hero .hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
  filter: saturate(0.8);
}
.article-hero .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,37,69,0.7) 0%, rgba(11,37,69,0.95) 100%);
}
.article-hero-inner {
  position: relative; z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.article-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: var(--sp-6) 0 var(--sp-5);
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-5);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}
.article-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.article-meta svg { width: 16px; height: 16px; color: var(--copper-light); }

/* Article Layout (Body + TOC) */
.article-body-section { padding: var(--sp-20) 0 var(--sp-24); background: var(--white); }
.article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-12);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.article-toc {
  position: sticky; top: 110px;
  align-self: start;
  font-size: var(--text-sm);
}
.article-toc h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: var(--sp-4);
}
.article-toc ol {
  list-style: none;
  padding: 0; margin: 0;
  border-left: 2px solid var(--neutral-200);
  counter-reset: toc;
}
.article-toc li {
  counter-increment: toc;
  padding: 6px 0 6px var(--sp-4);
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.article-toc li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--neutral-400);
  font-weight: 600;
  font-size: var(--text-xs);
  margin-right: 8px;
}
.article-toc a {
  color: var(--neutral-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.article-toc a:hover, .article-toc li.active a { color: var(--copper); }
.article-toc li.active { border-left-color: var(--copper); }

/* Prose */
.prose {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--neutral-800);
  max-width: 720px;
}
.prose > p:first-of-type:not(.article-disclaimer),
.prose > .article-disclaimer + p {
  font-size: var(--text-lg);
  color: var(--neutral-700);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}
.prose .article-disclaimer {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--neutral-700);
  background: rgba(182,138,62,0.06);
  border-left: 3px solid var(--copper);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-6) !important;
}
.prose .article-disclaimer strong { color: var(--navy); }
.prose h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.015em;
  scroll-margin-top: 110px;
}
.prose h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
  scroll-margin-top: 110px;
}
.prose p { margin-bottom: var(--sp-5); }
.prose ul, .prose ol {
  margin: 0 0 var(--sp-6) var(--sp-5);
  padding: 0;
}
.prose li { margin-bottom: var(--sp-2); padding-left: var(--sp-2); }
.prose ul li::marker { color: var(--copper); }
.prose ol li::marker { color: var(--copper); font-weight: 700; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose a {
  color: var(--copper);
  text-decoration: underline;
  text-decoration-color: rgba(182,138,62,0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s var(--ease);
}
.prose a:hover { text-decoration-color: var(--copper); }
.prose blockquote {
  border-left: 3px solid var(--copper);
  padding: var(--sp-4) var(--sp-6);
  margin: var(--sp-8) 0;
  background: var(--neutral-50);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--navy);
  font-weight: 500;
  font-style: italic;
}
.prose .key-takeaway {
  background: linear-gradient(135deg, rgba(182,138,62,0.08) 0%, rgba(182,138,62,0.03) 100%);
  border: 1px solid rgba(182,138,62,0.25);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  margin: var(--sp-8) 0;
  font-size: var(--text-sm);
}
.prose .key-takeaway strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-xs);
  color: var(--copper);
  margin-bottom: var(--sp-2);
  font-weight: 700;
}
.prose .data-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
  font-size: var(--text-sm);
}
.prose .data-table th {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-weight: 600;
}
.prose .data-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--neutral-200);
}
.prose .data-table tr:nth-child(even) td { background: var(--neutral-50); }

/* Article FAQ Block */
.article-faq {
  background: var(--neutral-50);
  padding: var(--sp-20) 0;
}
.article-faq-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.article-faq h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-8);
}
.article-faq .faq-item {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-3);
  overflow: hidden;
}
.article-faq details summary {
  cursor: pointer;
  padding: var(--sp-5) var(--sp-6);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--navy);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--sp-4);
}
.article-faq details summary::-webkit-details-marker { display: none; }
.article-faq details summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--copper);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.article-faq details[open] summary::after { content: '−'; }
.article-faq .faq-body {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--neutral-700);
  line-height: 1.7;
  font-size: var(--text-sm);
}

/* Related Articles */
.related-articles {
  padding: var(--sp-20) 0;
  background: var(--white);
  border-top: 1px solid var(--neutral-200);
}
.related-articles-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.related-articles h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-8);
}
.related-grid-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

/* Article CTA */
.article-cta {
  background: var(--navy-deep);
  color: var(--white);
  padding: var(--sp-16) 0;
  position: relative; overflow: hidden;
}
.article-cta::before {
  content: ''; position: absolute;
  top: 0; right: 0; width: 60%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(182,138,62,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.article-cta-inner {
  position: relative; z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  text-align: center;
}
.article-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.015em;
}
.article-cta p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  margin-bottom: var(--sp-8);
  font-weight: 400;
}

/* Breadcrumb (Ratgeber-spezifisch) */
.article-breadcrumb {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
}
.article-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--copper-light); }
.article-breadcrumb .sep { margin: 0 8px; color: rgba(255,255,255,0.3); }
.article-breadcrumb .current { color: var(--copper-light); }

/* Responsive */
@media (max-width: 968px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-toc {
    position: static;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: var(--sp-5);
    background: var(--neutral-50);
  }
  .ratgeber-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid-articles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ratgeber-grid { grid-template-columns: 1fr; }
}

/* ============================================================ KONTAKT */
.kontakt-section { padding: var(--sp-32) 0; background: var(--neutral-50); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--sp-16);
  align-items: start;
}
.kontakt-info h2 {
  margin: var(--sp-5) 0 var(--sp-6);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
}
.kontakt-info > p {
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--sp-10);
}
.kontakt-channels {
  display: flex; flex-direction: column;
  gap: var(--sp-4);
}
.kontakt-channel {
  display: flex; align-items: flex-start; gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s var(--ease);
}
a.kontakt-channel:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,29,58,0.08);
}
.kontakt-channel-icon {
  flex: 0 0 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--beige);
  border-radius: 50%;
  color: var(--copper);
}
.kontakt-channel-icon svg { width: 20px; height: 20px; }
.kontakt-channel-label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 2px;
}
.kontakt-channel-value {
  display: block;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.kontakt-channel-sub {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 300;
}

.kontakt-form-wrap {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-10);
  box-shadow: 0 12px 40px rgba(11,29,58,0.06);
}
.kontakt-form h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--navy);
}
.form-intro {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.kontakt-form label {
  display: flex; flex-direction: column; gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy);
}
.form-full { margin-bottom: var(--sp-4); }
.kontakt-form input[type="text"],
.kontakt-form input[type="email"],
.kontakt-form input[type="tel"],
.kontakt-form select,
.kontakt-form textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-base);
  padding: 0.85rem 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(182,138,62,0.12);
}
.kontakt-form textarea { resize: vertical; min-height: 130px; }
.form-checkbox {
  flex-direction: row !important;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
  margin: var(--sp-4) 0 var(--sp-6);
  line-height: 1.5;
}
.form-checkbox input { margin-top: 3px; flex: 0 0 16px; }
.form-checkbox a { color: var(--copper); text-decoration: underline; }
.form-submit { width: 100%; justify-content: center; padding: 1.1rem; }
.form-note {
  margin-top: var(--sp-5);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .kontakt-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .kontakt-form-wrap { padding: var(--sp-6); }
}

/* Form: file upload + hint + trust badges */
.form-file input[type="file"] {
  font-size: var(--text-sm);
  padding: 0.65rem 0.85rem;
  background: var(--neutral-50);
  cursor: pointer;
}
.form-file input[type="file"]::file-selector-button {
  margin-right: 0.85rem;
  padding: 0.45rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--text-sm);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s;
}
.form-file input[type="file"]::file-selector-button:hover {
  background: var(--neutral-100);
}
.form-hint {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-tertiary);
  line-height: 1.5;
}
.form-trust {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.form-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}
.form-trust svg {
  width: 16px;
  height: 16px;
  color: var(--copper);
  flex: 0 0 16px;
}

/* Mobile sticky CTA bar */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  padding: 0.55rem max(env(safe-area-inset-left), 0.6rem) calc(0.55rem + env(safe-area-inset-bottom)) max(env(safe-area-inset-right), 0.6rem);
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
}
.mobile-cta-bar .mobile-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.mobile-cta-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.01em;
}
.mobile-cta-bar a.mobile-cta-primary {
  background: var(--copper);
  color: var(--white);
}
.mobile-cta-bar a.mobile-cta-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}
.mobile-cta-bar a svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 72px; }
}

/* ============================================================ MOBILE OPTIMIZATIONS */
/* Touch targets: prevent iOS zoom on focus by forcing input font-size ≥ 16px */
@media (max-width: 768px) {
  .kontakt-form input,
  .kontakt-form select,
  .kontakt-form textarea,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
  .kontakt-form input,
  .kontakt-form select,
  .kontakt-form textarea {
    padding: 0.95rem 1rem;
    border-radius: 6px;
  }
  .form-file input[type="file"] {
    padding: 0.85rem;
    line-height: 1.4;
  }
  .form-checkbox { font-size: var(--text-sm); }
  .form-submit { padding: 1rem; min-height: 52px; }
  .form-trust { gap: var(--sp-2) var(--sp-4); }
}

/* Header CTA spacing on mobile */
@media (max-width: 768px) {
  .site-header { padding: var(--sp-4) 0; }
  .header-cta .btn { padding: 0.6rem 0.9rem; font-size: var(--text-xs); }
  .header-cta .btn svg { display: none; }
  .header-inner { gap: var(--sp-3); }
}

/* Hero on mobile: less aggressive height, tighter typography */
@media (max-width: 640px) {
  .hero {
    min-height: 78vh;
    padding: var(--sp-24) 0 var(--sp-12);
  }
  .hero h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
    line-height: 1.05;
  }
  .hero .lead {
    font-size: var(--text-base);
    line-height: 1.6;
  }
  .page-hero .lead {
    font-size: var(--text-base);
    line-height: 1.6;
  }
  .page-hero h1 {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
  }
}

/* Section heading + body spacing on mobile */
@media (max-width: 640px) {
  .section-header h2,
  h2 {
    font-size: clamp(1.625rem, 6vw, 2.25rem);
    line-height: 1.15;
  }
  .section-header p {
    font-size: var(--text-base);
  }
}

/* ────────────────────────────────────────────────────────────────────────
   Mobile Drawer: replaces the old centered fullscreen menu with a
   slide-in right panel that includes the full Leistungen list inline.
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  body.menu-open { overflow: hidden; }

  body.menu-open .main-nav,
  body.menu-open .main-nav {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    width: min(88vw, 380px);
    z-index: 101;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: calc(72px + env(safe-area-inset-top)) var(--sp-6) calc(var(--sp-10) + env(safe-area-inset-bottom));
    gap: 0;
    box-shadow: -16px 0 48px rgba(0,0,0,0.35);
    animation: drawerIn 0.35s var(--ease-out);
  }

  @keyframes drawerIn { from { transform: translateX(8%); opacity: 0.5; } to { transform: translateX(0); opacity: 1; } }

  /* Dark backdrop behind drawer */
  body.menu-open::before {
    content: '';
    position: fixed; inset: 0;
    background: rgba(6,18,36,0.6);
    backdrop-filter: blur(2px);
    z-index: 100;
    animation: backdropIn 0.3s var(--ease-out);
  }
  @keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }

  /* Top-level nav items in drawer */
  body.menu-open .main-nav > a,
  body.menu-open .main-nav .nav-item-mega > a {
    color: var(--white) !important;
    font-family: 'Inter', sans-serif;
    font-size: var(--text-lg);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    padding: var(--sp-4) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  body.menu-open .main-nav > a:last-of-type { border-bottom: 0; }

  /* Leistungen parent: hide its chevron */
  body.menu-open .main-nav .nav-item-mega > a.has-mega svg {
    width: 14px; height: 14px;
    opacity: 0.6;
    transform: rotate(0);
  }

  /* Show mega-menu inline, expanded */
  body.menu-open .main-nav .mega-menu {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: var(--sp-3) 0 var(--sp-5) 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  body.menu-open .main-nav .mega-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    max-width: none !important;
  }
  body.menu-open .main-nav .mega-item {
    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid transparent !important;
    padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-4) !important;
  }
  body.menu-open .main-nav .mega-item:active,
  body.menu-open .main-nav .mega-item:hover {
    background: rgba(255,255,255,0.04) !important;
    border-left-color: var(--copper) !important;
  }
  body.menu-open .main-nav .mega-item-title {
    color: rgba(255,255,255,0.95) !important;
    font-size: var(--text-base) !important;
    font-weight: 500 !important;
    margin-bottom: 2px !important;
  }
  body.menu-open .main-nav .mega-item-sub {
    color: rgba(255,255,255,0.45) !important;
    font-size: 11px !important;
  }

  /* Burger icon: always white over the dark drawer */
  body.menu-open .menu-toggle { position: fixed; top: 24px; right: var(--sp-6); }
}

/* ────────────────────────────────────────────────────────────────────────
   Horizontal card swipers on mobile (scroll-snap, no JS)
   Applies to: gewerke-grid (12), scope-grid, related-grid, ratgeber-grid
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .gewerke-grid,
  .scope-grid,
  .related-grid,
  .related-grid-articles,
  .ratgeber-grid,
  .bento-grid,
  .usp-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-padding-left: var(--sp-6);
    padding: var(--sp-2) var(--sp-6) var(--sp-5);
    margin: 0 calc(var(--sp-6) * -1);
    gap: var(--sp-4);
    scrollbar-width: none;
  }
  .gewerke-grid::-webkit-scrollbar,
  .scope-grid::-webkit-scrollbar,
  .related-grid::-webkit-scrollbar,
  .related-grid-articles::-webkit-scrollbar,
  .ratgeber-grid::-webkit-scrollbar,
  .bento-grid::-webkit-scrollbar,
  .usp-grid::-webkit-scrollbar { display: none; }

  .gewerke-grid > *,
  .scope-grid > *,
  .related-grid > *,
  .related-grid-articles > *,
  .ratgeber-grid > *,
  .bento-grid > *,
  .usp-grid > * {
    scroll-snap-align: start;
    min-width: 0;
  }

  /* Smaller card sizes on phones */
  .gewerk-card,
  .scope-card,
  .related-card {
    aspect-ratio: 4/5;
    min-height: 320px;
  }
  .bento-card {
    aspect-ratio: 4/5;
  }
  .usp-card {
    padding: var(--sp-7);
    min-height: 280px;
  }

  /* Subtle "swipe me" affordance: gradient fade on right edge */
  .gewerke-section,
  .scope-section,
  .related-section,
  .ratgeber-grid-wrap,
  .bento-section,
  .usp-section:not(.scroll-story) {
    position: relative;
  }

  /* Hint indicator below the swiper */
  .gewerke-grid::after,
  .scope-grid::after,
  .related-grid::after,
  .related-grid-articles::after,
  .ratgeber-grid::after,
  .bento-grid::after,
  .usp-grid::after {
    content: '';
    flex: 0 0 var(--sp-4);
  }
}

/* Override the earlier 768 rule that stacked these grids — now done above */

/* ────────────────────────────────────────────────────────────────────────
   FAQ on mobile: bigger tap area, simpler typography
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .faq-q {
    padding: var(--sp-5) 0;
    font-size: var(--text-base);
    min-height: 56px;
  }
  .faq-a-inner { font-size: var(--text-sm); line-height: 1.65; }
}

/* ────────────────────────────────────────────────────────────────────────
   Ratgeber articles on mobile: TOC stacks, tables scroll, prose readable
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .article-toc {
    position: static;
    background: var(--neutral-50);
    border-radius: var(--radius-md);
    padding: var(--sp-5) var(--sp-6);
  }
  .article-toc h4 { margin-bottom: var(--sp-3); }
  .article-toc ol { margin: 0; padding-left: var(--sp-5); }
}
@media (max-width: 768px) {
  .prose { font-size: var(--text-base); line-height: 1.7; }
  .prose h2 { font-size: clamp(1.375rem, 5vw, 1.625rem); margin-top: var(--sp-8); }
  .prose h3 { font-size: clamp(1.125rem, 4vw, 1.25rem); }
  .prose ul, .prose ol { padding-left: var(--sp-5); }
  .prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    border-spacing: 0;
  }
  .prose pre, .prose blockquote {
    margin-left: 0;
    margin-right: 0;
  }
  .prose blockquote { padding: var(--sp-4) var(--sp-5); font-size: var(--text-sm); }
  .article-disclaimer { font-size: var(--text-sm) !important; }
}

/* ────────────────────────────────────────────────────────────────────────
   Footer + trust list on mobile
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-brand .logo img { height: 72px; }
  .footer-brand p { max-width: none; }
  .footer-trust-list { max-width: none; }
  .footer-col h5 { margin-bottom: var(--sp-3); }
  .footer-bottom { flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
  .footer-bottom .legal { display: flex; gap: var(--sp-4); }
}

/* ────────────────────────────────────────────────────────────────────────
   Cookie banner + sticky mobile CTA harmonization
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
  .cookie-banner {
    padding: var(--sp-5);
    max-height: 88vh;
    overflow-y: auto;
  }
  .cookie-banner p { font-size: var(--text-sm); }
  .cookie-actions {
    flex-direction: column;
    gap: var(--sp-2);
  }
  .cookie-actions .btn {
    flex: 1 1 100%;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: var(--text-sm);
    min-height: 48px;
  }
  /* Primary action visually first on mobile, even though it's last in DOM */
  .cookie-actions [data-cc="accept-all"] { order: -1; }
}
/* Push sticky CTA above the cookie banner when banner is visible */
@media (max-width: 768px) {
  body:has(.cookie-banner.is-visible) .mobile-cta-bar {
    transform: translateY(120%);
    transition: transform 0.3s var(--ease);
    pointer-events: none;
  }
}

/* ────────────────────────────────────────────────────────────────────────
   Spotlight + Bautenschutz spotlight on mobile
   ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .spotlight-image .spotlight-badge {
    bottom: var(--sp-4);
    left: var(--sp-4);
    padding: var(--sp-3) var(--sp-4);
  }
  .spotlight-features li {
    font-size: var(--text-sm);
    gap: var(--sp-2);
    align-items: flex-start;
  }
  .spotlight-features svg {
    margin-top: 3px;
    flex-shrink: 0;
  }
}

/* Container side padding on small screens */
@media (max-width: 540px) {
  .container,
  .container-narrow { padding-left: var(--sp-5); padding-right: var(--sp-5); }
}

/* Page-hero breadcrumb stays readable */
@media (max-width: 540px) {
  .breadcrumb { font-size: 11px; gap: 6px; flex-wrap: wrap; }
  .breadcrumb svg { width: 12px; height: 12px; }
}

/* ============================================================ HERO SHOWCASE */
.hero-showcase {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}
.hero-showcase .hero-slide-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.85);
  animation: none;
  transition: opacity 1.1s var(--ease);
}
.hero-showcase .hero-slide-img.is-active { opacity: 0.5; }

.hero-showcase .hero-inner {
  flex: 1 1 auto;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 200px;
  padding-bottom: var(--sp-8);
}
/* Eyebrow direkt unter dem Header, relativ zur hero-showcase section */
.hero-showcase > .hero-eyebrow {
  position: absolute;
  top: 168px;
  left: max(var(--sp-6), calc((100% - var(--container)) / 2 + var(--sp-6)));
  z-index: 3;
}

.hero-stage { position: relative; min-height: 320px; }
.hero-slide {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s;
  pointer-events: none;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s;
}
.hero-slide-kicker {
  display: inline-block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--copper-light);
  margin-bottom: var(--sp-4);
}
.hero-showcase h1 {
  color: var(--white);
  font-size: var(--text-4xl);
  font-weight: 500;
  max-width: 16ch;
  margin-bottom: var(--sp-5);
}
.hero-showcase p.lead {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
  margin-bottom: var(--sp-8);
  font-weight: 300;
}
.hero-showcase .hero-actions { margin-bottom: 0; }

/* Bottom ticker strip — 2-row grid layout */
.hero-ticker {
  position: relative; z-index: 2;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.14);
  background: rgba(6,22,41,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-ticker-track {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-tab {
  flex: 0 0 calc(100% / 6);
  position: relative;
  display: block;
  padding: var(--sp-3) var(--sp-5);
  text-align: left;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  transition: background 0.25s var(--ease);
}
.hero-tab:nth-child(6n) { border-right: none; }
.hero-tab:nth-child(n+7) { border-bottom: none; }
.hero-tab-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.hero-tab-fill {
  display: block; height: 100%; width: 0%;
  background: var(--copper-light);
  transition: width 0.08s linear;
}
.hero-tab-num {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--copper-light);
  opacity: 0.65;
  margin-bottom: 3px;
}
.hero-tab-sub {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s var(--ease);
}
.hero-tab-name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  line-height: 1.25;
  transition: color 0.25s var(--ease);
  hyphens: auto;
  -webkit-hyphens: auto;
}
.hero-tab:hover { background: rgba(255,255,255,0.05); }
.hero-tab:hover .hero-tab-name,
.hero-tab.is-active .hero-tab-name { color: var(--white); }
.hero-tab:hover .hero-tab-sub,
.hero-tab.is-active .hero-tab-sub { color: rgba(255,255,255,0.7); }
.hero-tab:hover .hero-tab-num,
.hero-tab.is-active .hero-tab-num { opacity: 1; }
.hero-tab.is-active { background: rgba(255,255,255,0.07); }

@media (max-width: 900px) {
  .hero-stage { min-height: 320px; }
  .hero-tab { flex: 0 0 calc(100% / 3); padding: var(--sp-3) var(--sp-4); }
  .hero-tab:nth-child(n+7) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 560px) {
  .hero-tab { flex: 0 0 50%; }
}
@media (max-width: 640px) {
  /* Eyebrow im normalen Fluss statt absolut, damit nichts mit Kicker/Titel überlappt */
  .hero-showcase { padding-top: 162px; }
  .hero-showcase > .hero-eyebrow {
    position: static;
    top: auto;
    left: auto;
    display: block;
    padding: 0 var(--sp-6);
    margin: 0 0 var(--sp-6);
    z-index: 2;
  }
  .hero-showcase .hero-inner {
    padding-top: var(--sp-2);
    padding-bottom: var(--sp-10);
    justify-content: flex-start;
  }
  .hero-stage { min-height: 300px; }
  .hero-showcase h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero-showcase p.lead { font-size: var(--text-base); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase .hero-slide-img,
  .hero-slide { transition: none; }
  .hero-slide { transform: none; }
  .hero-ticker-track { transition: none; }
}
