/* ==========================================================================
   A.R.M. Rohrreinigung - Design System & Stylesheet

   COLOR SCHEME: Preserved from existing brand
   - Primary (Dark):    #1a1a2e  (Deep navy/dark)
   - Accent (Gold):     #d4a017  (Brand yellow/gold)
   - Accent Hover:      #b8860b  (Darker gold)
   - White:             #ffffff
   - Light BG:          #f8f9fa
   - Text Dark:         #1a1a2e
   - Text Medium:       #4a4a5a
   - Text Light:        #6b7280
   - Border:            #e5e7eb
   - Success:           #16a34a
   - Danger:            #dc2626

   TYPOGRAPHY:
   - Headings: Poppins (600, 700)
   - Body: Open Sans (400, 500, 600)

   SPACING: 8px base unit
   ========================================================================== */

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

:root {
  /* Brand Colors - KEEP EXISTING */
  --color-primary: #1a1a2e;
  --color-primary-light: #2d2d44;
  /* Highlight-Farbe abgeleitet von den gelben Streifen auf unseren Fahrzeugen */
  --color-accent: #ebdb00;
  --color-accent-hover: #d4c500;
  --color-accent-light: rgba(235, 219, 0, 0.12);
  --color-white: #ffffff;
  --color-bg: #f8f9fa;
  --color-bg-alt: #f1f3f5;
  --color-text: #1a1a2e;
  --color-text-medium: #4a4a5a;
  --color-text-light: #6b7280;
  --color-border: #e5e7eb;
  --color-success: #16a34a;
  --color-danger: #dc2626;
  --color-star: #f59e0b;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Spacing (8px base) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-7: 2.5rem;    /* 40px */
  --space-8: 3rem;      /* 48px */
  --space-10: 4rem;     /* 64px */
  --space-12: 5rem;     /* 80px */
  --space-16: 8rem;     /* 128px */

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--color-text-medium);
  line-height: 1.7;
  max-width: 70ch;
}

.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-12) 0;
}

.section--alt {
  background-color: var(--color-bg);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.section-header p {
  margin: var(--space-3) auto 0;
  max-width: 600px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  /* Auf hellem Hintergrund: dunkles Navy + gelber Strich-Akzent links (WCAG-konform) */
  color: var(--color-primary);
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--space-2);
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

/* Auf dunklem Hintergrund: das volle Brand-Gelb */
.hero .section-label,
.service-hero .section-label {
  color: var(--color-accent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

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

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

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

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

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

.btn--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--dark:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* Phone Button (sticky CTA) */
.btn--phone {
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
}

.btn--phone:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--phone svg {
  width: 20px;
  height: 20px;
  animation: phone-ring 2s ease-in-out infinite;
}

@keyframes phone-ring {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(8deg); }
  40% { transform: rotate(-6deg); }
  50% { transform: rotate(0deg); }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-primary);
  transition: box-shadow var(--transition-base);
}

.nav.scrolled {
  box-shadow: var(--shadow-lg);
}

/* Top Bar */
.nav__topbar {
  background-color: rgba(0, 0, 0, 0.2);
  padding: var(--space-2) 0;
  font-size: 0.8125rem;
}

.nav__topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.nav__topbar-left,
.nav__topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  color: rgba(255, 255, 255, 0.85);
}

.nav__topbar a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: color var(--transition-fast);
}

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

.nav__topbar svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Main Nav */
.nav__main {
  padding: var(--space-3) 0;
}

.nav__main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-white);
  line-height: 1.2;
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  /* Statt display:none -> opacity/visibility, damit Hover-Bridge + Transition funktionieren */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  margin-top: 0;
  z-index: 100;
  transform: translateY(8px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  transition-delay: 150ms; /* schliesst verzoegert - laesst Zeit zum Erreichen */
}

/* Unsichtbare Bruecke zwischen Trigger und Menu, damit Hover nicht abreisst */
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0ms; /* sofort oeffnen */
}

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav__dropdown-link:hover {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.nav__dropdown-link svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.nav__cta {
  margin-left: var(--space-3);
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--color-white);
}

.nav__toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: var(--color-primary);
  z-index: 2000;
  padding: var(--space-6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.nav__mobile.open {
  transform: translateX(0);
}

.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav__mobile-overlay.open {
  opacity: 1;
}

.nav__mobile-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: var(--space-2);
}

.nav__mobile-close svg {
  width: 24px;
  height: 24px;
}

.nav__mobile-links {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.nav__mobile-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav__mobile-link:hover {
  color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav__mobile-link--sub {
  padding-left: var(--space-7);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.nav__mobile-cta {
  margin-top: var(--space-6);
}

.nav__mobile-contact {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.nav__mobile-contact a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.nav__mobile-contact svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  overflow: hidden;
  padding-top: 120px;
}

/* Service-Page-Hero: flacher (quadratische Fahrzeug-Bilder werden sonst zu stark beschnitten) */
.hero--service {
  min-height: 58vh;
  max-height: 620px;
  padding-top: 100px;
  padding-bottom: var(--space-8);
}

.hero--service .hero__bg img {
  /* Fahrzeug-Bilder sind quadratisch (1200x1200): leicht nach oben verschoben,
     damit Fahrzeug-Karosserie sichtbar bleibt statt nur Boden/Asphalt */
  object-position: center 35%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Dunkler Verlauf von links (Textbereich) nach rechts (Bild bleibt sichtbar) */
  background: linear-gradient(105deg, rgba(26, 26, 46, 0.82) 0%, rgba(26, 26, 46, 0.55) 55%, rgba(26, 26, 46, 0.25) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background-color: rgba(235, 219, 0, 0.18);
  border: 1px solid rgba(235, 219, 0, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.hero h1 span {
  color: var(--color-accent);
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-6);
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero__stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
}

.hero__stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-1);
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.service-card h3 {
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  /* Navy auf weisser Card = max. Kontrast, gelbe Hover-Underline als Akzent */
  color: var(--color-primary);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--color-accent);
  transition: gap var(--transition-fast), border-color var(--transition-base);
}

.service-card__link:hover {
  gap: var(--space-3);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
}

/* --- Trust / About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background-color: var(--color-bg);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quadratischer Bildslot - fuer Motive, die nicht beschnitten werden duerfen (z.B. Logo-Grafik) */
.about__image--square {
  aspect-ratio: 1 / 1;
}

/* Placeholder for missing images */
.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  color: var(--color-text-light);
}

.image-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-3);
  opacity: 0.4;
}

.image-placeholder span {
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Embedded image inside service-content sections (replaces filled image-placeholder slots) */
.service-image {
  margin: var(--space-6) auto;
  max-width: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg);
  box-shadow: var(--shadow-md);
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-image figcaption {
  padding: var(--space-3) var(--space-4);
  font-size: 0.875rem;
  color: var(--color-text-light);
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

/* === Fuhrpark / Fleet Section === */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.fleet-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.fleet-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.fleet-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg);
}

.fleet-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.fleet-card:hover .fleet-card__image img {
  transform: scale(1.04);
}

.fleet-card__nametag {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  background-color: rgba(26, 26, 46, 0.9);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.fleet-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fleet-card__type {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  /* Navy auf weisser Karte = bessere Lesbarkeit; visuelle Hierarchie kommt von Schriftform */
  color: var(--color-primary);
  opacity: 0.7;
  margin-bottom: var(--space-2);
}

.fleet-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-primary);
}

.fleet-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-medium);
  line-height: 1.6;
  margin: 0;
}

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

.about__content h2 {
  margin-bottom: var(--space-4);
}

.about__content > p {
  margin-bottom: var(--space-5);
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.about__feature {
  display: flex;
  gap: var(--space-4);
}

.about__feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.about__feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.about__feature h4 {
  margin-bottom: var(--space-1);
}

.about__feature p {
  font-size: 0.875rem;
}

/* Local Trust Badge */
.local-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background-color: var(--color-accent-light);
  border: 1px solid rgba(235, 219, 0, 0.35);
  border-radius: var(--radius-lg);
  margin-top: var(--space-5);
}

.local-badge svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.local-badge__text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.local-badge__text span {
  display: block;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* --- Google Reviews Section --- */
.reviews {
  background-color: var(--color-bg);
}

.reviews__header {
  text-align: center;
  margin-bottom: var(--space-8);
}

/* === Ehrlicher Reviews-Trust-Block (statt erfundener Zitate) === */
.reviews-cta {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.reviews-cta__stars {
  display: inline-flex;
  gap: 4px;
  margin-bottom: var(--space-4);
}

.reviews-cta__stars svg {
  width: 32px;
  height: 32px;
  fill: var(--color-accent);
}

.reviews-cta__lead {
  font-size: 1.0625rem;
  color: var(--color-text-medium);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.reviews__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.reviews__score-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.reviews__score-detail {
  text-align: left;
}

.reviews__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-1);
}

.reviews__stars svg {
  width: 22px;
  height: 22px;
  color: var(--color-star);
  fill: var(--color-star);
}

.reviews__count {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.reviews__google {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.reviews__google svg {
  width: 20px;
  height: 20px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
}

.review-card__stars svg {
  width: 16px;
  height: 16px;
  color: var(--color-star);
  fill: var(--color-star);
}

.review-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-medium);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
}

.review-card__name {
  font-weight: 600;
  font-size: 0.875rem;
}

.review-card__date {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* --- Process / How It Works --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}

.process-step__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto var(--space-4);
}

.process-step h4 {
  margin-bottom: var(--space-2);
}

.process-step p {
  font-size: 0.875rem;
  margin: 0 auto;
}

/* --- CTA Banner --- */
.cta-banner {
  /* Hebt sich vom darunterliegenden Footer ab durch helleren Verlauf + gelben Akzent oben */
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  padding: var(--space-10) 0;
  text-align: center;
  position: relative;
  border-top: 4px solid var(--color-accent);
}

.cta-banner::after {
  /* Subtile dunkle Linie als Trenner zum Footer */
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.3);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto var(--space-6);
  max-width: 560px;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.cta-banner__phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
  margin: 0 auto var(--space-5);
}

.cta-banner__phone a {
  color: var(--color-accent);
  text-decoration: none;
}

.cta-banner__phone a:hover {
  text-decoration: underline;
}

.cta-banner__phone svg {
  width: 28px;
  height: 28px;
}

/* --- Emergency Strip --- */
.emergency-strip {
  background-color: var(--color-accent);
  padding: var(--space-3) 0;
  text-align: center;
}

.emergency-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.emergency-strip__text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-primary);
}

.emergency-strip__phone {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.emergency-strip__phone svg {
  width: 18px;
  height: 18px;
}

/* --- Service Page Layout --- */
.service-hero {
  background-color: var(--color-primary);
  padding: 160px 0 var(--space-10);
  position: relative;
  overflow: hidden;
}

.service-hero__content {
  position: relative;
  z-index: 2;
}

.service-hero .section-label {
  color: var(--color-accent);
}

.service-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.service-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 640px;
}

.service-content {
  padding: var(--space-10) 0;
}

/* max-width nur fuer direkten Container-Use (nicht fuer eingebettete <ul class="service-content">) */
.section > .container > .service-content {
  max-width: 820px;
  margin: 0 auto;
}

.service-content h2 {
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
  position: relative;
  padding-top: var(--space-3);
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content h2::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

/* Wenn die Section explizit zentriert sein soll (siehe .service-content--centered Wrapper) */
.service-content--centered {
  text-align: center;
}

/* Schmalere Textspalte, damit der zentrierte Fliesstext sichtbar mittig unter der
   Ueberschrift sitzt und nicht linksbuendig wirkt (gleiche Spezifitaet wie die 820px-Regel). */
.section > .container > .service-content--centered {
  max-width: 640px;
}

.service-content--centered h2 {
  text-align: center;
}

.service-content--centered h2::before {
  left: 50%;
  transform: translateX(-50%);
}

.service-content--centered ul {
  display: inline-block;
  text-align: left;
}

.service-content h3 {
  margin-bottom: var(--space-3);
  margin-top: var(--space-6);
}

.service-content p {
  margin-bottom: var(--space-4);
}

.service-content ul {
  margin-bottom: var(--space-5);
}

.service-content li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--color-text-medium);
  line-height: 1.7;
}

.service-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
}

/* Service Benefits Cards */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin: var(--space-6) 0;
}

.benefit-card {
  padding: var(--space-5);
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  text-align: center;
}

.benefit-card svg {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.benefit-card h4 {
  margin-bottom: var(--space-2);
}

.benefit-card p {
  font-size: 0.875rem;
  margin: 0 auto;
}

/* Problem-Solution-Benefit Block */
/* === Service-Layout (Content + Sidebar) auf rohrortung & dichtheitspruefung === */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--space-8);
  align-items: start;
  padding: var(--space-10) 0;
}

.service-layout__content {
  min-width: 0;
}

.service-block {
  margin-bottom: var(--space-8);
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block__image {
  margin: var(--space-5) 0 0;
}

.service-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-sidebar__card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.service-sidebar__card h3 {
  margin: 0 0 var(--space-4);
  font-size: 1.0625rem;
  color: var(--color-primary);
}

.service-sidebar__card--cta {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.service-sidebar__card--cta h3 {
  color: var(--color-white);
}

.service-sidebar__card--cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
}

.service-sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-sidebar__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.service-sidebar__link svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.service-sidebar__link:hover {
  background-color: var(--color-bg);
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .service-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .service-sidebar {
    position: static;
  }
}

/* === Sicherheits-Default: SVG-Icons in Content-Bereichen werden NIE riesig === */
.service-content svg,
.service-layout__content svg,
.service-block svg {
  max-width: 20px;
  max-height: 20px;
}

/* Aber: Innerhalb von expliziten Icon-Containern duerfen sie groesser sein */
.service-content .psb-card__icon svg,
.service-layout__content .psb-card__icon svg,
.psb-card__icon svg,
.service-card__icon svg,
.benefit-card__icon svg,
.process-step__icon svg {
  max-width: none;
  max-height: none;
}

/* === Uniformes Problem-Loesung-Vorteil-Block (auf allen Service-Pages gleich) === */
.psb-section {
  background-color: var(--color-bg);
}

.psb-grid,
.psb-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin: 0;
}

.psb-card {
  text-align: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-5);
  transition: all var(--transition-base);
}

.psb-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.psb-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
}

.psb-card__icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.psb-card__icon--problem {
  background-color: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}

.psb-card__icon--solution {
  background-color: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.psb-card__icon--benefit {
  background-color: var(--color-accent-light);
  color: var(--color-primary);
}

.psb-card h3,
.psb-card h4 {
  font-size: 1.1875rem;
  margin: 0 0 var(--space-2);
  color: var(--color-primary);
  display: block;
}

.psb-card p {
  font-size: 0.9375rem;
  color: var(--color-text-medium);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .psb-grid,
  .psb-block {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .psb-card {
    padding: var(--space-5) var(--space-4);
  }
  .psb-card__icon {
    width: 48px;
    height: 48px;
  }
  .psb-card__icon svg {
    width: 24px;
    height: 24px;
  }
}

/* --- Other Services Sidebar --- */
.other-services {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
}

.other-services h3 {
  margin-bottom: var(--space-4);
  margin-top: 0;
}

.other-services__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.other-services__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.other-services__link:hover {
  border-color: var(--color-accent);
  background-color: var(--color-accent-light);
}

.other-services__link svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.other-services__link span {
  margin-left: auto;
  color: var(--color-text-light);
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-10) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  margin-top: var(--space-4);
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__logo img {
  height: 40px;
  width: auto;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-white);
}

.footer__logo-text span {
  color: var(--color-accent);
}

.footer h4 {
  color: var(--color-white);
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

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

.footer__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: all var(--transition-fast);
}

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

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-5);
}

.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--color-accent);
}

/* --- Sticky Mobile CTA --- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.sticky-cta .container {
  display: flex;
  gap: var(--space-3);
}

.sticky-cta .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

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

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

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

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

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

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

  .psb-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__topbar {
    display: none;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__mobile {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 var(--space-10);
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero__stats {
    gap: var(--space-5);
  }

  .hero__stat-number {
    font-size: 1.5rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .about__image {
    order: -1;
  }

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

  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__phone {
    font-size: 1.25rem;
  }

  .section {
    padding: var(--space-8) 0;
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
