/* ===================================
   D.J. Installationen e.U.
   Light Content Theme with Dark Nav/Footer
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark chrome (nav, footer, hero) */
  --bg-primary: #0f1729;
  --bg-secondary: #141e36;
  --bg-card: #182342;
  --bg-card-hover: #1e2d52;
  --bg-glass: rgba(24, 35, 66, 0.6);
  /* Light content area */
  --bg-content: #eef2f7;
  --bg-content-card: #ffffff;
  --bg-content-card-hover: #f8faff;
  --border-content: rgba(0, 0, 0, 0.08);
  --border-content-hover: rgba(59, 130, 246, 0.3);
  /* Accent */
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-bright: #2563eb;
  --accent-dim: #1d4ed8;
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.15);
  --emergency: #ef4444;
  --emergency-glow: rgba(239, 68, 68, 0.2);
  --success: #10b981;
  /* Dark text for light backgrounds */
  --text-dark: #0f172a;
  --text-dark-secondary: #475569;
  --text-dark-dim: #94a3b8;
  /* Light text for dark backgrounds (nav, footer, hero) */
  --text-primary: #e8eaf0;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(59, 130, 246, 0.12);
  --border-hover: rgba(59, 130, 246, 0.3);
  --border-glass: rgba(255, 255, 255, 0.06);
  --white: #ffffff;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(59, 130, 246, 0.08);
  --shadow-3d: 0 10px 40px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-3d-hover: 0 20px 60px rgba(0, 0, 0, 0.5), 0 5px 20px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.08);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-content);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================================
   Background Effects (light version)
   =================================== */
.bg-grid {
  position: absolute;
  inset: -60px;
  z-index: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 30s linear infinite;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  contain: strict;
}

.bg-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06), transparent 70%);
  top: -200px; right: -200px;
  animation: orbFloat1 20s ease-in-out infinite;
}

.bg-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.03), transparent 70%);
  bottom: -150px; left: -150px;
  animation: orbFloat2 25s ease-in-out infinite;
}

.bg-orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.05); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}

/* Corner accents */
.corner-accent {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.corner-accent--tl {
  top: 20px; left: 20px;
  width: 40px; height: 40px;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
  border-left: 1px solid rgba(59, 130, 246, 0.08);
}
.corner-accent--br {
  bottom: 20px; right: 20px;
  width: 40px; height: 40px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
  border-right: 1px solid rgba(59, 130, 246, 0.08);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: var(--shadow-card); }
  50% { box-shadow: var(--shadow-card), 0 0 30px rgba(59, 130, 246, 0.08); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--border-content); }
  50% { border-color: var(--border-content-hover); }
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* ===================================
   Premium Reveal Animations
   =================================== */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  /* Fallback: become visible after 2s even if JS doesn't trigger */
  animation: revealFallback 0s 2s forwards;
}

@keyframes revealFallback {
  to { opacity: 1; transform: none; }
}

.reveal-element.revealed {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Section title clip reveal */
.section__title {
  overflow: hidden;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright), var(--accent));
  background-size: 200% 100%;
  animation: gradientBorder 3s ease infinite;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section__title.title-revealed::after {
  width: 60px;
}

/* Smooth hover lift for all interactive cards */
.service-card,
.pool__card,
.trust__item,
.preview-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease,
              background 0.5s ease;
}

/* Button hover ripple effect */
.btn, .qr-btn, .nav__cta {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background 0.3s ease,
              color 0.3s ease;
}

/* Feature list items staggered entrance */
.revealed .feature-list li {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.revealed .feature-list li:nth-child(1) { animation-delay: 0.3s; }
.revealed .feature-list li:nth-child(2) { animation-delay: 0.4s; }
.revealed .feature-list li:nth-child(3) { animation-delay: 0.5s; }
.revealed .feature-list li:nth-child(4) { animation-delay: 0.6s; }

/* Stat number pop-in */
.stat.revealed .stat__number {
  animation: countUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Section label slide-in */
.section-label {
  position: relative;
  overflow: hidden;
}

/* CTA section pulse glow */
.cta-section .btn--primary {
  position: relative;
}

.cta-section .btn--primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.4s ease;
}

.cta-section .btn--primary:hover::after {
  opacity: 0.5;
  animation: pulse-ring 2s ease-in-out infinite;
}

/* Smooth page transition feel */
body {
  animation: fadeInUp 0.4s ease;
}

/* Hide fixed bg effects behind content — they only show through the hero */
.bg-grid,
.bg-orb {
  z-index: 0;
}

/* All content after hero gets the light background explicitly */
.stats { background: transparent; }
.previews,
.services,
.cta-section,
.gwh-section,
.verstopfung,
.pool,
.trust,
.kontakt,
.notdienst-details,
.legal-page {
  background: var(--bg-content);
}

/* GWH and notdienst keep their own backgrounds */

/* ===================================
   Premium Navigation (DARK)
   =================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  animation: navSlideDown 0.6s ease forwards;
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  border-bottom-color: rgba(59, 130, 246, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 60px rgba(59, 130, 246, 0.04);
}

.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  position: relative;
}

.nav__logo-icon {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
  filter: saturate(1.6) contrast(1.15) brightness(1.1);
}

.nav__logo:hover .nav__logo-icon {
  transform: scale(1.08);
}

.nav__logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.nav__logo-text span {
  color: #60a5fa;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

.nav__link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
}

.nav__link:hover {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.08);
}

.nav__link.active {
  color: var(--white);
  background: rgba(59, 130, 246, 0.15);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.1);
}

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

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: rgba(15, 23, 41, 0.97);
  backdrop-filter: blur(24px);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  list-style: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.1);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nav__dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav__dropdown-menu li a:hover {
  color: var(--white);
  background: rgba(59, 130, 246, 0.12);
  padding-left: 1.5rem;
}

.nav__link svg {
  vertical-align: middle;
  margin-left: 2px;
  transition: transform 0.25s ease;
}

.nav__dropdown:hover .nav__link svg {
  transform: rotate(180deg);
}

.nav__cta {
  padding: 0.55rem 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: var(--white) !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.nav__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.nav__cta:hover::before {
  opacity: 1;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===================================
   Hero (DARK background)
   =================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 2rem 40px;
  z-index: 2;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(59, 130, 246, 0.08), transparent 60%), var(--bg-primary);
}


.hero__content {
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #60a5fa;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

.hero__logo-mark {
  margin-bottom: 2rem;
  animation: float 6s ease-in-out infinite;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero__logo-mark svg,
.hero__logo-mark img {
  height: clamp(120px, 24vw, 380px);
  width: auto;
  display: block;
  margin: 0 auto;
  filter: saturate(1.6) contrast(1.15) drop-shadow(0 0 50px rgba(96, 165, 250, 0.5)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero h1 .shimmer {
  background: linear-gradient(90deg, var(--text-primary), #60a5fa, var(--white), #60a5fa, var(--text-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.hero__divider {
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
  margin: 2rem auto;
  opacity: 0.5;
}

.hero__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  position: relative;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(59, 130, 246, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15);
  color: var(--white);
}

.btn--primary:active {
  transform: translateY(-1px);
}

.btn--outline {
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border-content-hover);
  box-shadow: var(--shadow-card);
}

.btn--outline:hover {
  background: rgba(59, 130, 246, 0.06);
  border-color: var(--accent);
  color: var(--accent-dim);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

/* Dark context buttons (hero, footer) */
.hero .btn--outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero .btn--outline:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1);
}

.btn--emergency {
  background: linear-gradient(135deg, var(--emergency), #dc2626);
  color: var(--white);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  box-shadow: 0 6px 24px var(--emergency-glow), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn--emergency:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(239, 68, 68, 0.35), 0 4px 8px rgba(0, 0, 0, 0.15);
  color: var(--white);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 6px 24px var(--gold-glow), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--gold-glow);
  color: var(--white);
}

/* ===================================
   Section Titles (light theme)
   =================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-bright);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-header .section-label {
  color: #60a5fa;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-dark-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.section__subtitle--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 3rem auto;
}

/* ===================================
   Stats Bar (white card)
   =================================== */
.stats {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  margin-top: -40px;
  margin-bottom: 3rem;
}

.stats__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-content-card);
  border: 1px solid var(--border-content);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  gap: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 12px 48px rgba(59, 130, 246, 0.06);
  position: relative;
}

.stats__inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 20px 20px 0 0;
  opacity: 0.5;
}

.stat {
  text-align: center;
  padding: 0.5rem;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-content-hover), transparent);
}

.stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-dark-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ===================================
   3D Cards Base
   =================================== */
.card-3d {
  perspective: 1200px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
  will-change: transform;
}

.service-card,
.pool__card,
.preview-card,
.visual-box,
.stats__inner {
  perspective: 1200px;
}

.card-3d:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-1deg);
}

/* Glass shine effect for cards */
.glass-shine {
  position: relative;
  overflow: hidden;
}

.glass-shine::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(59, 130, 246, 0.03) 45%, rgba(59, 130, 246, 0.06) 50%, rgba(59, 130, 246, 0.03) 55%, transparent 60%);
  transition: left 0.7s ease;
  pointer-events: none;
}

.glass-shine:hover::after {
  left: 120%;
}

/* Inner-glow top edge */
.card-glow-top {
  position: relative;
}

.card-glow-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  border-radius: inherit;
  z-index: 1;
}

/* ===================================
   Services (white cards)
   =================================== */
.services {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

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

.service-card {
  background: var(--bg-content-card);
  border: 1px solid var(--border-content);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
}

/* Top accent line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Inner top shine */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08), transparent);
}

.service-card:hover {
  background: var(--bg-content-card-hover);
  border-color: var(--border-content-hover);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-card-hover), 0 0 40px rgba(59, 130, 246, 0.08);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .card-img,
.pool__card:hover .card-img,
.trust__item:hover .card-img {
  transform: translateX(-50%) scale(1.08);
}

.card-img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-card__icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.15);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.service-card p {
  color: var(--text-dark-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card__list {
  list-style: none;
}

.service-card__list li {
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-dark-secondary);
  font-size: 0.85rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-card__list li:hover {
  color: var(--text-dark);
  transform: translateX(4px);
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.service-card__list li:hover::before {
  opacity: 1;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

/* ===================================
   Service Contact Bar
   =================================== */
.service-contact-bar {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  background: var(--bg-primary);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  text-align: center;
  width: 100%;
  grid-column: 1 / -1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 60px rgba(59, 130, 246, 0.04);
}

.service-contact-bar__label {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.service-contact-bar__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
}

.btn--contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.25), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn--whatsapp:hover {
  background: linear-gradient(135deg, #2be672, #15a890);
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.35), 0 4px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .service-contact-bar {
    padding: 1.5rem 1.25rem;
  }
  .service-contact-bar__buttons {
    flex-direction: column;
  }
  .btn--contact {
    justify-content: center;
    width: 100%;
  }
}

/* ===================================
   GWH (Gas Wasser Heizung) Section
   =================================== */
.gwh-section {
  padding: 2rem 0;
}

.gwh-card {
  background: linear-gradient(145deg, var(--bg-primary), var(--bg-secondary));
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 0 80px rgba(59, 130, 246, 0.04);
}

.gwh-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f59e0b, #3b82f6, #f87171, transparent);
}

.gwh-card__icons {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.gwh-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gwh-icon svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gwh-icon:hover svg {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gwh-icon span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gwh-card__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.gwh-card__desc {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.gwh-card__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.gwh-card__link {
  display: inline-block;
  color: #60a5fa;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gwh-card__link:hover {
  color: #93c5fd;
}

@media (max-width: 600px) {
  .gwh-card {
    padding: 2rem 1.5rem;
  }
  .gwh-card__icons {
    gap: 1.5rem;
  }
  .gwh-card__title {
    font-size: 1.4rem;
  }
  .gwh-card__buttons {
    flex-direction: column;
  }
  .gwh-card__buttons .btn--contact {
    justify-content: center;
    width: 100%;
  }
}

/* ===================================
   Notdienst (white card with red accent)
   =================================== */
.notdienst {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.notdienst__inner {
  background: var(--bg-content-card);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 40px rgba(239, 68, 68, 0.04);
}

.notdienst__inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emergency), transparent);
}

.notdienst__inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.08), transparent);
}

.notdienst__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.08);
  border-radius: 50%;
  border: 1px solid rgba(239, 68, 68, 0.15);
  position: relative;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
}

.notdienst__icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(239, 68, 68, 0.08);
  animation: pulse-ring 3s infinite;
}

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

.notdienst h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.notdienst p {
  font-size: 1.05rem;
  color: var(--text-dark-secondary);
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto 2rem;
}

.notdienst__features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.notdienst__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
}

.notdienst__feature svg {
  width: 18px;
  height: 18px;
  color: var(--emergency);
}

/* ===================================
   Verstopfung (light theme)
   =================================== */
.verstopfung {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.verstopfung__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.verstopfung__text h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.verstopfung__text > p {
  color: var(--text-dark-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: transform 0.2s ease;
}

.feature-list li:hover {
  transform: translateX(6px);
}

.feature-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.verstopfung__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-box {
  background: var(--bg-content-card);
  border: 1px solid var(--border-content);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  width: 100%;
  box-shadow: var(--shadow-card);
  animation: glow-pulse 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  overflow: hidden;
}

.visual-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
}

.visual-box__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
}

.visual-box__icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 0.15));
}

.visual-box__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.visual-box__stat {
  padding: 1.25rem 1rem;
  background: rgba(59, 130, 246, 0.04);
  border-radius: 14px;
  border: 1px solid var(--border-content);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.visual-box__stat:hover {
  transform: translateY(-3px);
}

.visual-box__stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-bright);
}

.visual-box__stat-label {
  font-size: 0.7rem;
  color: var(--text-dark-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===================================
   Pool (white cards)
   =================================== */
.pool {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

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

.pool__card {
  background: var(--bg-content-card);
  border: 1px solid var(--border-content);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
}

.pool__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pool__card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
}

.pool__card:hover {
  background: var(--bg-content-card-hover);
  border-color: rgba(245, 158, 11, 0.25);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover), 0 0 30px rgba(245, 158, 11, 0.06);
}

.pool__card:hover::before {
  opacity: 1;
}

.pool__card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.1);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pool__card:hover .pool__card-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.15);
}

.pool__card-icon svg {
  width: 28px;
  height: 28px;
}

.pool__card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.pool__card p {
  color: var(--text-dark-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===================================
   Why Us / Trust (white cards)
   =================================== */
.trust {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

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

.trust__item {
  display: flex;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--bg-content-card);
  border: 1px solid var(--border-content);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  overflow: hidden;
}

.trust__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08), transparent);
}

.trust__item:hover {
  border-color: var(--border-content-hover);
  background: var(--bg-content-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.trust__item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
  transition: transform 0.3s ease;
}

.trust__item:hover .trust__item-icon {
  transform: scale(1.08);
}

.trust__item-icon svg {
  width: 24px;
  height: 24px;
}

.trust__item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.trust__item p {
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

/* ===================================
   Contact (white cards)
   =================================== */
.kontakt {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.kontakt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.kontakt__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontakt__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-content-card);
  border-radius: 16px;
  border: 1px solid var(--border-content);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.kontakt__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.06), transparent);
}

.kontakt__item:hover {
  border-color: var(--border-content-hover);
  transform: translateX(4px);
  box-shadow: var(--shadow-card-hover);
}

.kontakt__item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.kontakt__item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dark-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.kontakt__item p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.kontakt__item a { color: var(--accent-bright); }
.kontakt__item a:hover { color: var(--accent-dim); }

.kontakt__map {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-content);
}

.kontakt__map iframe {
  border-radius: 20px;
  border: none;
  filter: saturate(0.9) contrast(1.05);
  transition: filter 0.4s ease;
}

.kontakt__map:hover iframe {
  filter: saturate(1) contrast(1);
}

/* ===================================
   Footer Map
   =================================== */
.footer-map {
  background: var(--bg-primary);
  padding: 0;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
}
.footer-map__embed {
  width: 100%;
  overflow: hidden;
}
.footer-map__embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  filter: brightness(0.8) contrast(1.1) saturate(0.7) hue-rotate(10deg);
  transition: filter 0.4s ease;
}
.footer-map__embed:hover iframe {
  filter: brightness(0.9) contrast(1.05) saturate(0.85);
}
.footer-map__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  background: rgba(15, 23, 42, 0.98);
  flex-wrap: wrap;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
}
.footer-map__address {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}
.footer-map__buttons {
  display: flex;
  gap: 0.75rem;
}
.btn--map {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn--map:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.btn--map svg {
  opacity: 0.9;
}
.btn--google-maps {
  background: #4285f4;
  color: #fff;
}
.btn--google-maps:hover {
  background: #5a95f5;
  color: #fff;
}
.btn--apple-maps {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn--apple-maps:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ===================================
   Footer (DARK)
   =================================== */
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
  border-top: none;
  padding: 3rem 0 2rem;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer__logo {
  height: 60px;
  width: auto;
  filter: saturate(1.6) contrast(1.15) brightness(1.1);
}

.footer__brand p {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer__small {
  color: var(--text-dim) !important;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #60a5fa;
}

.footer__copy {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  width: 100%;
}

.footer__copy p {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ===================================
   WhatsApp Float
   =================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  animation: whatsappSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1s both;
}

@keyframes whatsappSlideIn {
  from { transform: translateY(100px) scale(0.5); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ===================================
   Call Choice Modal (iOS-style action sheet)
   =================================== */
.call-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 0 10px 10px;
}
.call-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.call-modal {
  width: 100%;
  max-width: 400px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.call-modal-overlay.active .call-modal {
  transform: translateY(0);
}
.call-modal__sheet {
  background: rgba(242, 242, 247, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 8px;
}
.call-modal__title {
  padding: 14px 16px 4px;
  text-align: center;
  font-size: 0.8rem;
  color: #86868b;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.call-modal__option {
  display: block;
  width: 100%;
  padding: 17px 16px;
  text-align: center;
  font-size: 1.15rem;
  color: #007aff;
  background: transparent;
  border: none;
  border-top: 0.5px solid rgba(60, 60, 67, 0.15);
  cursor: pointer;
  text-decoration: none;
  font-weight: 400;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.call-modal__option:first-child {
  border-top: none;
}
.call-modal__option:active {
  background: rgba(0, 0, 0, 0.08);
}
.call-modal__option-label {
  display: block;
  font-size: 1.15rem;
  color: #007aff;
  font-weight: 400;
}
.call-modal__option-number {
  display: block;
  font-size: 0.8rem;
  color: #86868b;
  margin-top: 2px;
  font-weight: 400;
}
.call-modal__option--notdienst .call-modal__option-label {
  color: #ff3b30;
  font-weight: 500;
}
.call-modal__cancel {
  display: block;
  width: 100%;
  padding: 17px 16px;
  text-align: center;
  font-size: 1.15rem;
  color: #007aff;
  font-weight: 600;
  background: rgba(242, 242, 247, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}
.call-modal__cancel:active {
  background: rgba(220, 220, 225, 0.95);
}

/* Desktop: center the modal instead of bottom-anchored */
@media (min-width: 769px) {
  .call-modal-overlay {
    align-items: center;
    padding: 0;
  }
  .call-modal {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .call-modal-overlay.active .call-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ===================================
   Legal Pages (light theme)
   =================================== */
.legal-page {
  position: relative;
  z-index: 2;
  padding: 120px 0 4rem;
  min-height: 70vh;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-page p {
  color: var(--text-dark-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-page ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page ul li {
  color: var(--text-dark-secondary);
  line-height: 1.8;
  padding: 0.15rem 0;
}

.legal-page a {
  color: var(--accent-bright);
}

/* ===================================
   Page Header (inner pages — light)
   =================================== */
.page-header {
  position: relative;
  z-index: 2;
  padding: 120px 0 2rem;
  text-align: center;
  background: var(--bg-primary);
  margin-bottom: 0;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.page-header__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================================
   Preview Cards (homepage — white)
   =================================== */
.previews {
  position: relative;
  z-index: 2;
  padding: 1rem 0 2rem;
}

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

.preview-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 4px solid transparent;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.preview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 18px 0 0 18px;
  opacity: 0.08;
}

.preview-card:hover {
  border-left-color: var(--accent);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
  transform: translateY(-6px) scale(1.01);
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.preview-card:hover::before {
  width: 100%;
}

.preview-card--emergency:hover {
  border-left-color: var(--emergency);
}

.preview-card--emergency::before {
  background: var(--emergency);
}

.preview-card--gold:hover {
  border-left-color: var(--gold);
}

.preview-card--gold::before {
  background: var(--gold);
}

.preview-card__icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(147, 197, 253, 0.12) 100%);
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.preview-card:hover .preview-card__icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.preview-card--emergency .preview-card__icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(252, 165, 165, 0.12) 100%);
  border-color: rgba(239, 68, 68, 0.2);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.preview-card--gold .preview-card__icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(253, 224, 71, 0.12) 100%);
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.preview-card__icon svg {
  width: 34px;
  height: 34px;
}

.preview-card__content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.preview-card__content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.preview-card__content p {
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
  line-height: 1.65;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.preview-card__content p a {
  word-break: break-all;
}

.preview-card__arrow {
  flex-shrink: 0;
  color: var(--text-dark-dim);
  transition: all 0.3s ease;
}

.preview-card:hover .preview-card__arrow {
  color: var(--accent-bright);
  transform: translateX(4px);
}

/* ===================================
   CTA Section (light)
   =================================== */
.cta-section {
  position: relative;
  z-index: 2;
  padding: 3rem 0 4rem;
}

.cta-section .section__title {
  margin-bottom: 0.5rem;
}

.cta-section .section__subtitle {
  margin-bottom: 2.5rem;
}

/* ===================================
   Notdienst Details (inner page)
   =================================== */
.notdienst-details {
  position: relative;
  z-index: 2;
  padding: 2rem 0 3rem;
}

/* ===================================
   Card Images
   =================================== */
.card-img {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 4rem);
  min-width: calc(100% + 4rem);
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  margin-top: -2.5rem;
  margin-bottom: 1.5rem;
}

.pool__card .card-img,
.service-card .card-img {
  width: calc(100% + 4rem);
  min-width: calc(100% + 4rem);
  margin-top: -2.5rem;
  margin-bottom: 1.5rem;
}

.visual-box .card-img {
  width: calc(100% + 6rem);
  min-width: calc(100% + 6rem);
  margin-top: -3rem;
  margin-bottom: 1.5rem;
  height: 220px;
}

.trust__item .card-img {
  width: calc(100% + 4rem);
  min-width: calc(100% + 4rem);
  height: 180px;
  margin-top: -2rem;
  margin-bottom: 1.25rem;
  object-fit: cover;
}

.kontakt__hero-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-content);
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 968px) {
  .services__grid,
  .pool__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

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

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

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

  .page-header {
    padding: 120px 0 2rem;
  }
}

@media (max-width: 768px) {
  .bg-orb--1 {
    width: 300px; height: 300px;
    top: -100px; right: -100px;
  }

  .bg-orb--2 {
    width: 250px; height: 250px;
    bottom: -80px; left: -80px;
  }

  .bg-orb--3 {
    width: 200px; height: 200px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__inner {
    padding: 0 1.5rem;
    height: 64px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(15, 23, 41, 0.95);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border-glass);
    gap: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .nav__links.active {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .nav__dropdown-menu {
    position: static;
    min-width: 100%;
    margin-top: 0;
    background: rgba(15, 23, 41, 0.5);
    border-radius: 8px;
    box-shadow: none;
    padding: 0.25rem 0;
    transform: none;
    opacity: 1;
    display: none;
  }

  .nav__dropdown.open .nav__dropdown-menu {
    display: block;
  }

  .nav__dropdown-menu li a {
    padding: 0.5rem 1.25rem 0.5rem 2rem;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 90vh;
    padding: 100px 1.5rem 60px;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .services, .verstopfung, .pool, .kontakt, .trust {
    padding: 4rem 0;
  }

  .notdienst__inner {
    padding: 3rem 1.5rem;
  }

  .notdienst__features {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .page-header {
    padding: 100px 0 1.5rem;
  }

  .page-header h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-header__desc {
    font-size: 0.95rem;
  }

  .previews {
    padding: 2rem 0 1rem;
  }

  .preview-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .preview-card__icon {
    width: 44px;
    height: 44px;
  }

  .preview-card__content h3 {
    font-size: 0.95rem;
  }

  .preview-card__content p {
    font-size: 0.8rem;
  }

  .cta-section {
    padding: 2rem 0 3rem;
  }

  .section__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .section__subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .section-divider {
    margin: 3rem auto;
  }

  .service-card,
  .pool__card {
    padding: 2rem 1.5rem;
  }

  .card-img {
    width: calc(100% + 3rem);
    min-width: calc(100% + 3rem);
    margin-top: -2rem;
    margin-bottom: 1.25rem;
    height: 160px;
  }

  .pool__card .card-img,
  .service-card .card-img {
    width: calc(100% + 3rem);
    min-width: calc(100% + 3rem);
    margin-top: -2rem;
    margin-bottom: 1.25rem;
  }

  .visual-box .card-img {
    width: calc(100% + 3rem);
    min-width: calc(100% + 3rem);
    margin-top: -2rem;
    margin-bottom: 1.25rem;
    height: 160px;
  }

  .kontakt__hero-img {
    height: 160px;
  }

  .trust__item {
    padding: 1.5rem;
  }

  .trust__item .card-img {
    width: calc(100% + 3rem);
    min-width: calc(100% + 3rem);
    margin-top: -1.5rem;
    margin-bottom: 1rem;
    height: 150px;
  }

  .footer__links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .whatsapp-float {
    bottom: 28px;
    right: 16px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .corner-accent { display: none; }

  .visual-box__stats {
    grid-template-columns: 1fr;
  }

  .hero__badge {
    font-size: 0.65rem;
    padding: 0.35rem 1rem;
  }

  .notdienst__inner {
    border-radius: 16px;
  }

  .visual-box {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .stats__inner {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem;
  }

  .stat__number {
    font-size: 1.5rem;
  }

  .nav__logo-text {
    font-size: 0.85rem;
  }
}

/* ===================================
   Floating 3D Decorative Elements
   =================================== */
.float-3d {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  transform-style: preserve-3d;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.float-3d--1 {
  top: -5%;
  left: 15%;
  animation: float-drift-1 8s ease-in-out infinite;
}

.float-3d--2 {
  top: 20%;
  right: 10%;
  animation: float-drift-2 7s ease-in-out infinite;
}

.float-3d--3 {
  bottom: 5%;
  left: 8%;
  animation: float-drift-3 9s ease-in-out infinite;
}

.float-3d--4 {
  top: 10%;
  left: 5%;
  animation: float-drift-4 6.5s ease-in-out infinite;
}

.float-3d--5 {
  bottom: 15%;
  right: 12%;
  animation: float-drift-5 8.5s ease-in-out infinite;
}

@keyframes float-drift-1 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(0deg); }
  50% { transform: translate3d(15px, -20px, 50px) rotateZ(5deg); }
}

@keyframes float-drift-2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg); }
  50% { transform: translate3d(-20px, 15px, 30px) rotateY(10deg); }
}

@keyframes float-drift-3 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg); }
  50% { transform: translate3d(10px, 20px, 40px) rotateX(-5deg); }
}

@keyframes float-drift-4 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(0deg) scale(1); }
  50% { transform: translate3d(-15px, -15px, 45px) rotateZ(-8deg) scale(1.1); }
}

@keyframes float-drift-5 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg); }
  50% { transform: translate3d(20px, -10px, 35px) rotateY(-12deg); }
}

/* Make logo-mark container relative for absolute positioning */
.hero__logo-mark {
  position: relative;
  perspective: 1000px;
}

/* Hide on mobile */
@media (max-width: 768px) {
  .float-3d {
    display: none;
  }
}
