/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Lato:wght@400;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* === Custom Properties === */
:root {
  /* Akzentfarbe — Stahlblau (Boeckler Corporate Color) */
  --accent: #1E4D7B;
  --accent-hover: #163A5E;
  --accent-rgb: 30, 77, 123;
  --accent-glow: rgba(30, 77, 123, 0.2);

  /* Hintergruende — kuehl, technisch */
  --bg-hell: #F8FAFC;
  --bg-weiss: #FAFAFA;
  --bg-grau: #F1F5F9;
  --bg-dunkel: #0F172A;
  --bg-dunkel-2: #1E293B;

  /* Textfarben */
  --text-dunkel: #0F172A;
  --text-body: #475569;
  --text-gedaempft: rgba(15, 23, 42, 0.5);
  --text-hell: #E2E8F0;
  --text-hell-body: #CBD5E1;

  /* Borders */
  --border: rgba(15, 23, 42, 0.08);
  --border-stark: rgba(15, 23, 42, 0.15);
  --border-hell: rgba(255, 255, 255, 0.1);

  /* Fonts */
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);

  /* Layout */
  --container: 1200px;
}

/* === Reset & Globale Styles === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-hell);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-dunkel);
  line-height: 1.15;
  text-wrap: balance;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
}

p {
  text-wrap: pretty;
  max-width: 65ch;
}

/* === Utility === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-header {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-header p {
  color: var(--text-body);
  font-size: 1.0625rem;
  margin-top: 1rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text-dunkel);
  border: 1.5px solid var(--border-stark);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Auf dunklem BG */
.bg-dunkel .btn-outline {
  color: var(--text-hell);
  border-color: var(--border-hell);
}

.bg-dunkel .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* === Skip-Link === */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* === Scroll-Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Gestaffelte Einblendung */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.6s; }

/* === Utility-Klassen === */
.u-center { text-align: center; }
.u-mt-section { margin-top: clamp(2.5rem, 4vw, 4rem); }
.u-mt-sm { margin-top: 1rem; }
.u-mx-auto { margin-left: auto; margin-right: auto; }

/* CTA-Blöcke nach Sections brauchen Luft */
.section-cta {
  text-align: center;
  margin-top: clamp(2.5rem, 4vw, 4rem);
  padding-top: clamp(1.5rem, 2vw, 2rem);
}

.img-platzhalter--portrait,
img.img-platzhalter--portrait {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.btn-outline--hell {
  color: var(--text-hell);
  border-color: var(--border-hell);
}

.btn-outline--hell:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* === Bild-Platzhalter === */
.img-platzhalter {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-grau) 0%, #E2E8F0 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gedaempft);
  font-size: 0.8125rem;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Dezente Grid-Linien auf Platzhaltern (Visual Rhyming) */
.img-platzhalter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background-color 0.35s var(--ease-out), padding 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dunkel);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__logo-accent {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s var(--ease-out);
  position: relative;
}

.nav__links a:hover {
  color: var(--text-dunkel);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__phone {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
}

.nav__phone:hover {
  color: var(--accent);
}

.nav__cta {
  font-size: 0.8125rem;
  padding: 10px 24px;
}

/* Mobile-Navigation */
.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dunkel);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
  position: relative;
}

.nav__burger span::before,
.nav__burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-dunkel);
  transition: transform 0.3s var(--ease-out);
}

.nav__burger span::before { top: -7px; }
.nav__burger span::after { top: 7px; }

/* ============================================================
   HERO — Split mit Prozess-Nummern
   ============================================================ */
.hero {
  padding: clamp(120px, 15vw, 180px) 0 clamp(60px, 8vw, 100px);
  background: var(--bg-hell);
  position: relative;
  overflow: hidden;
}

/* Blueprint-Raster (Star of the Show) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 77, 123, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 77, 123, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 5%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 5%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent 95%);
}

/* Dezenter Firmenname als Hintergrundtext im Hero */
.hero::after {
  content: 'BÖCKLER';
  position: absolute;
  right: -2%;
  bottom: 8%;
  font-family: var(--font-head);
  font-size: clamp(8rem, 15vw, 18rem);
  font-weight: 800;
  color: rgba(30, 77, 123, 0.025);
  letter-spacing: -0.03em;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 580px;
}

.hero__h1 {
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 50ch;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero__phone {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__phone:hover {
  color: var(--accent);
}

/* Rechte Seite: Prozess-Nummern */
.hero__visual {
  position: relative;
}

.hero__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 2rem;
  border-left: 1px solid var(--border);
  position: relative;
  transition: border-color 0.3s var(--ease-out);
}

.hero__step:hover {
  border-left-color: var(--accent);
}

.hero__step-nr {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: rgba(15, 23, 42, 0.07);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease-out);
}

.hero__step:hover .hero__step-nr {
  color: rgba(30, 77, 123, 0.2);
}

.hero__step-text h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hero__step-text p {
  font-size: 0.875rem;
  color: var(--text-gedaempft);
  line-height: 1.5;
}

/* ============================================================
   TRUST-BAR — Kennzahlen-Leiste
   ============================================================ */
.trust-bar {
  background: var(--bg-grau);
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.trust-bar__value {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--text-dunkel);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.trust-bar__label {
  font-size: 0.8125rem;
  color: var(--text-body);
  line-height: 1.3;
}

/* ============================================================
   PROBLEM-SECTION
   ============================================================ */
.problem {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-weiss);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.problem__left h2 {
  margin-bottom: 1rem;
}

.problem__left p {
  color: var(--text-body);
  font-size: 1.0625rem;
}

.problem__items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.problem__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.5rem;
  background: var(--bg-hell);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.problem__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 2px;
}

.problem__item p {
  font-size: 0.9375rem;
  color: var(--text-dunkel);
  line-height: 1.5;
  font-weight: 500;
}

/* ============================================================
   LEISTUNGEN — Grid mit Akzent-Border
   ============================================================ */
.leistungen {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-hell);
  position: relative;
}

/* Dot-Matrix Background (Visual Rhyming) */
.leistungen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30, 77, 123, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 80%, transparent);
}

/* Dezente Deko: Zahnrad rechts unten */
.leistungen::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  border: 3px solid rgba(30, 77, 123, 0.04);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Zweiter Ring (Visual Rhyming) */
.prozess::after {
  content: '';
  position: absolute;
  left: -80px;
  top: 20%;
  width: 200px;
  height: 200px;
  border: 2px dashed rgba(30, 77, 123, 0.05);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.prozess {
  overflow: hidden;
}

.leistungen .container {
  position: relative;
  z-index: 1;
}

.leistungen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.leistung-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 2rem;
  position: relative;
}

.leistung-card:hover {
  background: var(--bg-grau);
}

.leistung-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.leistung-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.leistung-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.leistung-card p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================================
   PROZESS-TIMELINE — Horizontal
   ============================================================ */
.prozess {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-grau);
  position: relative;
}

.prozess__timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 1rem;
  position: relative;
}

/* Connector-Line */
.prozess__timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-stark);
}

/* Progress-Line (animiert) */
.prozess__progress {
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
  z-index: 1;
}

.prozess__progress.is-visible {
  transform: scaleX(1);
}

.prozess__step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.prozess__nr {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border-stark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  transition: border-color 0.5s var(--ease-out), color 0.5s var(--ease-out);
}

.prozess__step.is-active .prozess__nr {
  border-color: var(--accent);
  color: var(--accent);
}

.prozess__step h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.prozess__step p {
  font-size: 0.8125rem;
  color: var(--text-body);
  line-height: 1.5;
  max-width: 180px;
  margin: 0 auto;
}

/* ============================================================
   VORTEILE — Bento-Grid (Featured + 3)
   ============================================================ */
.vorteile {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-dunkel);
  color: var(--text-hell);
  position: relative;
}

.vorteile h2 { color: #fff; }
.vorteile .kicker { color: var(--accent); }
.vorteile .section-header p { color: var(--text-hell-body); }

.vorteile__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.vorteil-card {
  background: var(--bg-dunkel-2);
  border: 1px solid var(--border-hell);
  border-radius: 12px;
  padding: 2.5rem;
  transition: border-color 0.3s var(--ease-out);
}

.vorteil-card:hover {
  border-color: rgba(30, 77, 123, 0.3);
}

.vorteil-card--featured {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--accent);
}

.vorteil-card__badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.vorteil-card h3 {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.vorteil-card--featured h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.vorteil-card p {
  color: var(--text-hell-body);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================================
   UEBER UNS — Split-Layout
   ============================================================ */
.ueber-uns {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-weiss);
  position: relative;
  overflow: hidden;
}

/* Dezente vertikale Linie als Deko (wie technische Zeichnung) */
.ueber-uns::before {
  content: '';
  position: absolute;
  right: 8%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(30, 77, 123, 0.08) 30%, rgba(30, 77, 123, 0.08) 70%, transparent);
  pointer-events: none;
}

.ueber-uns::after {
  content: '';
  position: absolute;
  right: calc(8% - 4px);
  top: 35%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(30, 77, 123, 0.1);
  pointer-events: none;
}

.ueber-uns__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.ueber-uns__text h2 {
  margin-bottom: 1.5rem;
}

.ueber-uns__text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.ueber-uns__text p:last-of-type {
  margin-bottom: 2rem;
}

.ueber-uns__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.ueber-uns__stat-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.ueber-uns__stat-label {
  font-size: 0.8125rem;
  color: var(--text-body);
}

/* ============================================================
   ZAHLEN — Counter-Animation auf dunklem BG
   ============================================================ */
.zahlen {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-dunkel);
  color: var(--text-hell);
  position: relative;
  overflow: hidden;
}

/* Blueprint-Raster (Visual Rhyming) */
.zahlen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 77, 123, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 77, 123, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.zahlen .container {
  position: relative;
  z-index: 1;
}

.zahlen__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.zahlen__item {
  padding: 2rem 1rem;
}

.zahlen__value {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.zahlen__value .suffix {
  font-size: 0.6em;
  color: var(--accent);
}

.zahlen__label {
  font-size: 0.875rem;
  color: var(--text-hell-body);
  font-weight: 500;
}

/* ============================================================
   REFERENZEN/GALERIE
   ============================================================ */
.referenzen {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-hell);
}

.referenzen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.referenz-card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.referenz-card img,
.referenz-card .img-platzhalter {
  border-radius: 0;
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.referenz-card:hover img,
.referenz-card:hover .img-platzhalter {
  transform: scale(1.03);
}

.referenz-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.referenz-card:hover .referenz-card__overlay {
  transform: translateY(0);
}

.referenz-card__overlay h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.referenz-card__overlay p {
  font-size: 0.8125rem;
  color: var(--text-hell-body);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-grau);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
}

/* Grosses Anfuehrungszeichen (Visual Rhyming — geometrisch) */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: rgba(30, 77, 123, 0.08);
  pointer-events: none;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dunkel);
  margin-bottom: 1.5rem;
  font-style: normal;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-grau);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-body);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-dunkel);
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-body);
}

.testimonial-hinweis {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-gedaempft);
  font-style: italic;
}

/* ============================================================
   EINZUGSGEBIET — Tag-Cloud
   ============================================================ */
.einzugsgebiet {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-weiss);
}

.einzugsgebiet__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.einzugsgebiet__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-body);
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
  background: #fff;
}

.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tag--featured {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tag--featured:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* ============================================================
   FAQ — Accordion
   ============================================================ */
.faq {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-hell);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dunkel);
  text-align: left;
  min-height: 44px;
  transition: color 0.2s;
}

.faq__trigger:hover {
  color: var(--accent);
}

.faq__trigger-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s var(--ease-out);
}

.faq__trigger-icon::before,
.faq__trigger-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.faq__trigger-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__trigger-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.faq__item[data-open="true"] .faq__trigger-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.faq__item[data-open="true"] .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__answer-inner p {
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* ============================================================
   FINALER CTA
   ============================================================ */
.cta-final {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--bg-dunkel);
  color: var(--text-hell);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Radial Glow */
.cta-final::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(30, 77, 123, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final h2 {
  color: #fff;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final .section-header p {
  color: var(--text-hell-body);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cta-final__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border-hell);
}

.cta-final__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-hell-body);
}

.cta-final__contact-item strong {
  color: #fff;
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dunkel-2);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-hell);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-hell-body);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.8125rem;
  color: var(--text-hell-body);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
}

/* === Sticky Mobile CTA-Bar === */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--bg-dunkel);
  padding: 0.75rem 1rem;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-cta.is-visible {
  transform: translateY(0);
}

.mobile-cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.mobile-cta .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.875rem;
  padding: 12px 16px;
}

.mobile-cta__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  flex-shrink: 0;
}

/* ============================================================
   FOCUS-STYLES
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.bg-dunkel :focus-visible,
.vorteile :focus-visible,
.zahlen :focus-visible,
.cta-final :focus-visible,
.footer :focus-visible {
  outline-color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__visual {
    max-width: 500px;
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .leistungen__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prozess__timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .prozess__timeline::before,
  .prozess__progress {
    display: none;
  }

  .prozess__step:nth-child(n+4) {
    grid-column: span 1;
  }

  .vorteile__grid {
    grid-template-columns: 1fr;
  }

  .vorteil-card--featured {
    grid-row: auto;
  }

  .ueber-uns__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .zahlen__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .referenzen__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .einzugsgebiet__inner {
    grid-template-columns: 1fr;
  }
}

/* Mobil */
@media (max-width: 768px) {
  .nav__phone {
    display: none;
  }

  .hero {
    padding-top: 100px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .problem__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .leistungen__grid {
    grid-template-columns: 1fr;
  }

  .prozess__timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .prozess__step {
    text-align: left;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 0.75rem 0;
  }

  .prozess__nr {
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .prozess__step p {
    max-width: none;
    margin: 0;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .zahlen__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .referenzen__grid {
    grid-template-columns: 1fr;
  }

  .cta-final__contact {
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-cta {
    display: block;
  }

  /* Footer-Padding fuer Mobile CTA-Bar */
  .footer {
    padding-bottom: 5rem;
  }
}

/* Klein-Mobil */
@media (max-width: 480px) {
  .trust-bar__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .trust-bar__item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero__step {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .ueber-uns__stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Touch-Geraete */
@media (pointer: coarse) {
  .btn {
    min-height: 48px;
  }

  .faq__trigger {
    min-height: 56px;
  }

  .tag {
    padding: 0.625rem 1.25rem;
  }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .prozess__progress {
    transform: scaleX(1);
  }
}
