/* ============================================================
   DEIN DACHSERVICE — Master Stylesheet
   Built by The Machine (Claude Phase IV Pilot Build)
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --primary:        hsl(29, 100%, 48%);
  --primary-dark:   hsl(29, 100%, 38%);
  --primary-light:  hsl(29, 100%, 95%);
  --primary-glow:   hsla(29, 100%, 48%, 0.15);

  /* Neutrals */
  --dark:           #16202e;
  --dark-muted:     #2a3547;
  --text:           #2d3748;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;

  /* Backgrounds */
  --bg:             #ffffff;
  --bg-secondary:   #f7f8fa;
  --bg-dark:        #16202e;
  --border:         #e2e8f0;
  --border-light:   #f1f5f9;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,0.05);
  --shadow-sm:  0 4px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 20px 48px rgba(0,0,0,0.12);
  --shadow-xl:  0 32px 64px rgba(0,0,0,0.16);
  --shadow-orange: 0 8px 24px hsla(29, 100%, 48%, 0.3);

  /* Radius */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Transitions */
  --ease:     cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t-fast:   0.15s var(--ease);
  --t-med:    0.3s  var(--ease);
  --t-slow:   0.5s  var(--ease);

  /* Glassmorphism */
  --glass-bg:   rgba(255, 255, 255, 0.85);
  --glass-blur: blur(16px);

  /* Spacing system */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1240px;
  --header-top-h: 44px;
  --header-nav-h: 72px;
  --header-total-h: 116px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

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

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-weight: 500;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.8rem, 4.5vw, 3.15rem); }
h2 { font-size: clamp(1.44rem, 3.15vw, 2.25rem); }
h3 { font-size: clamp(1.08rem, 2.25vw, 1.35rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--text-muted); line-height: 1.7; }

.section-title {
  font-size: clamp(1.44rem, 3.15vw, 2.16rem);
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
}
.text-center { text-align: center; }
.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.brand-highlight { color: var(--primary); }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--t-med);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px hsla(29, 100%, 48%, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* ============================================================
   6. HEADER — TOP BAR
   ============================================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-top-h);
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
}
.top-bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  animation: pulse-red 2s infinite;
}
.status-dot.open {
  background: #22c55e;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%       { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
  50%       { box-shadow: 0 0 0 5px rgba(239,68,68,0); }
}
.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.top-bar-actions a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255,255,255,0.85);
  transition: var(--t-fast);
  font-weight: 500;
  white-space: nowrap;
}
.top-bar-actions a:hover { color: #fff; }
.top-bar-actions .phone-cta {
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
}
.top-bar-actions .phone-cta:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.45);
}
.top-bar-actions .anfrage-cta {
  background: var(--primary);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  transition: var(--t-fast);
}
.top-bar-actions .anfrage-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}
/* hide the divider between email and phone on small desktops */
.top-bar-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.top-bar-hours-text { cursor: pointer; }
.nav-status-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
}
.hours-schedule-inline {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  min-width: 220px;
  z-index: 1100;
  box-shadow: var(--shadow-lg);
}
.hours-schedule-inline.show { display: block; }
.hours-schedule-inline table { width: 100%; border-collapse: collapse; }
.hours-schedule-inline td { padding: 0.3rem 0.5rem; font-size: 0.8rem; color: var(--text); }
.hours-schedule-inline td:last-child { text-align: right; color: var(--text-light); }
.hours-schedule-inline tr.today td { color: #22c55e; font-weight: 600; }

@media (max-width: 768px) {
  .top-bar-address,
  .top-bar-email { display: none; }
}
@media (max-width: 480px) {
  .top-bar-hours-text { display: none; }
}

/* ============================================================
   7. HEADER — MAIN NAV
   ============================================================ */
.main-header {
  position: fixed;
  top: var(--header-top-h);
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--header-nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease);
}
.main-header.hidden { transform: translateY(-100%); }
.main-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img { height: 44px; width: auto; }

/* Desktop Nav */
.desktop-nav { display: flex; align-items: center; gap: 0.25rem; }
@media (max-width: 1023px) { .desktop-nav { display: none; } }

.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-link .chevron {
  font-size: 0.65rem;
  transition: transform 0.2s var(--ease);
  color: var(--text-light);
}
.nav-item:hover .chevron,
.nav-item.open .chevron { transform: rotate(180deg); color: var(--primary); }

/* Megamenu / Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  min-width: 260px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 100;
}
.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--t-fast);
}
.dropdown-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.dropdown-link .icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-xs);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--t-fast);
}
.dropdown-link:hover .icon { background: var(--primary); color: #fff; }

/* 2-Column Mega Dropdown (Desktop) */
.dropdown-mega-2col {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  width: 620px;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.nav-item:hover .dropdown-mega-2col,
.nav-item.open .dropdown-mega-2col {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Flyout Megamenu Dropdown (Desktop) */
.dropdown-mega-flyout {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  width: 800px;
  height: 380px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 1000;
  display: flex;
  overflow: hidden;
}
.nav-item:hover .dropdown-mega-flyout,
.nav-item.open .dropdown-mega-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-categories-list {
  width: 280px;
  background: #f8fafc;
  border-right: 1px solid var(--border);
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex-shrink: 0;
}
.mega-cat-item {
  position: static; /* Allows absolute positioning relative to dropdown-mega-flyout */
  display: flex;
  flex-direction: column;
}
.mega-cat-title {
  width: 100%;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  transition: var(--t-fast);
}
.mega-cat-title i {
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}
.mega-cat-title .cat-chevron {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-left: auto;
  transition: transform 0.2s var(--ease);
}
.mega-cat-item.active .mega-cat-title {
  background: var(--primary-light);
  color: var(--primary);
}
.mega-cat-item.active .mega-cat-title .cat-chevron {
  color: var(--primary);
  transform: translateX(3px);
}
.mega-flyout-panel {
  position: absolute;
  top: 0;
  left: 280px;
  width: 520px;
  height: 100%;
  padding: 1.5rem 2rem;
  background: #fff;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mega-flyout-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.mega-flyout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
}
.mega-flyout-grid a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--t-fast);
}
.mega-flyout-grid a:hover {
  color: var(--primary);
  transform: translateX(3px);
}
.mega-flyout-grid a i {
  font-size: 0.75rem;
  color: var(--text-light);
}
.mega-flyout-grid a:hover i {
  color: var(--primary);
}

/* CSS Flyout JavaScript active switching */
.mega-cat-item.active .mega-flyout-panel {
  display: flex;
}



/* Mobile Details/Summary (Mobile Menu Accordion) */
.mobile-details {
  border-bottom: 1px solid var(--border-light);
}
.mobile-summary {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.mobile-summary::-webkit-details-marker {
  display: none;
}
.mobile-summary i:first-child {
  margin-right: 0.75rem;
  color: var(--primary);
  width: 16px;
  text-align: center;
}
.summary-chevron {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-light);
  transition: transform 0.2s ease;
}
.mobile-details[open] .summary-chevron {
  transform: rotate(180deg);
}
.mobile-sublinks {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  padding: 0.5rem 0;
}
.mobile-sublink {
  display: block;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--t-fast);
}
.mobile-sublink:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* Nav Actions — hidden on desktop, buttons now live in the top bar */
.nav-actions { display: none; }
@media (max-width: 1023px) { .nav-actions { display: none; } }

/* Mobile Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}
@media (max-width: 1023px) { .burger { display: flex; } }
.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--t-med);
}
.burger.active .burger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active .burger-line:nth-child(2) { opacity: 0; }
.burger.active .burger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   8. MOBILE MENU
   ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--t-med);
  backdrop-filter: blur(4px);
}
.mobile-overlay.show { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100vh;
  background: #fff;
  z-index: 1051;
  overflow-y: auto;
  transition: right 0.35s var(--ease);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { right: 0; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-header img { height: 36px; }
.mobile-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  transition: var(--t-fast);
}
.mobile-close:hover { color: var(--primary); }

.mobile-menu-body { flex: 1; padding: 1rem 1.5rem; }
.mobile-nav-section { margin-bottom: 0.5rem; }
.mobile-nav-section-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--t-fast);
}
.mobile-nav-link:hover { background: var(--primary-light); color: var(--primary); }
.mobile-nav-link i { width: 18px; color: var(--primary); }

.mobile-menu-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-cta { width: 100%; text-align: center; margin-bottom: 0.75rem; }
.mobile-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Page offset for fixed header */
.page-content { padding-top: var(--header-total-h); }

/* ============================================================
   9. HERO — SPLIT LAYOUT (Homepage)
   ============================================================ */
.hero-split {
  min-height: 580px;
  max-height: 680px;
  height: calc(100vh - var(--header-total-h) - 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f8fa 0%, #fff 50%, #fff7f0 100%);
  position: relative;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; max-height: none; height: auto; }
}

.hero-text-col {
  padding: var(--space-lg) var(--space-lg) var(--space-2xl) var(--space-lg);
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) {
  .hero-text-col { padding-left: calc((100vw - var(--max-width)) / 2 + 2rem); }
}
@media (max-width: 900px) {
  .hero-text-col { padding: var(--space-lg) 1.25rem var(--space-lg); text-align: center; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-badge i { font-size: 0.75rem; }

.hero-h1 {
  font-size: clamp(1.68rem, 3.8vw, 2.68rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-h1 span { color: var(--primary); }

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}
@media (max-width: 900px) { .hero-subtitle { max-width: 100%; } }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) { .hero-actions { justify-content: center; } }

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
@media (max-width: 900px) { .hero-trust-pills { justify-content: center; } }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.trust-pill i { color: #22c55e; font-size: 0.75rem; }

.hero-image-col {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}
@media (max-width: 900px) { .hero-image-col { min-height: 340px; } }

.hero-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-image-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(247,248,250,0.6) 0%,
    transparent 30%
  );
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-image-col::before {
    background: linear-gradient(to top, rgba(247,248,250,0.8) 0%, transparent 40%);
  }
}

/* Review badge overlay on hero image */
.hero-review-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 0.875rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}
.hero-review-stars { color: #f59e0b; font-size: 0.875rem; letter-spacing: 1px; }
.hero-review-text { font-size: 0.75rem; color: var(--text-muted); }
.hero-review-text strong { display: block; color: var(--dark); font-size: 0.875rem; }

/* ============================================================
   10. HERO — COMPACT (Service & Location Pages)
   ============================================================ */
.hero-compact {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
@media (min-width: 768px) { .hero-compact { min-height: 500px; } }

.hero-compact-bg {
  position: absolute;
  inset: 0;
}
.hero-compact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}
.hero-compact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22,32,46,0.85) 0%,
    rgba(22,32,46,0.70) 60%,
    rgba(22,32,46,0.40) 100%
  );
}
@media (min-width: 768px) {
  .hero-compact-overlay {
    background: linear-gradient(
      to right,
      rgba(22,32,46,0.85) 0%,
      rgba(22,32,46,0.70) 45%,
      transparent 55%,
      transparent 100%
    );
  }
}
.hero-compact-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-compact-content > * {
  max-width: 680px;
}
.hero-compact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.hero-compact-h1 {
  font-size: clamp(1.62rem, 3.6vw, 2.7rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-compact-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.hero-compact-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-compact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}
.hero-compact-breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--t-fast); }
.hero-compact-breadcrumb a:hover { color: #fff; }
.hero-compact-breadcrumb i { font-size: 0.5rem; }

/* ============================================================
   11. TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(255,255,255,0.6);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.5rem 1.75rem;
  overflow-x: auto;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-item i { color: var(--primary); font-size: 0.875rem; }

/* ============================================================
   12. SECTION SHARED STYLES
   ============================================================ */
.section { padding: var(--space-2xl) 0; }
.section-lg { padding: var(--space-3xl) 0; }
.section-sm { padding: var(--space-xl) 0; }
.section-bg-gray { background: var(--bg-secondary); }
.section-bg-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-bg-dark .section-title { color: #fff; }
.section-bg-dark p, .section-bg-dark .section-subtitle { color: rgba(255,255,255,0.7); }
.section-bg-orange {
  background: var(--primary);
  color: #fff;
}
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ============================================================
   13. SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 0 0 1.75rem 0;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--t-med);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: var(--t-med);
  margin-left: 1.75rem;
}
.service-card:hover .service-card-icon { background: var(--primary); color: #fff; }

.service-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.625rem;
  padding: 0 1.75rem;
}
.service-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
  padding: 0 1.75rem;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--t-fast);
  padding: 0 1.75rem;
}
.service-card-link i { font-size: 0.75rem; transition: transform 0.2s var(--ease); }
.service-card:hover .service-card-link i { transform: translateX(4px); }

/* ============================================================
   14. INTRO / PROBLEM SECTION
   ============================================================ */
.intro-section { padding: var(--space-2xl) 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .intro-grid { grid-template-columns: 1fr; gap: 2rem; } }
.intro-content p + p { margin-top: 1rem; }
.intro-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.75; }
.intro-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; }
.intro-image-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-md);
  padding: 0.875rem 1.125rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  box-shadow: var(--shadow-orange);
}
.intro-image-badge strong { display: block; font-size: 1.75rem; font-weight: 600; }

/* ============================================================
   15. COMPARISON "WHY US" SECTION
   ============================================================ */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 640px) { .comparison-grid { grid-template-columns: 1fr; } }

.comparison-card {
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  border: 2px solid var(--border);
}
.comparison-card.ours {
  border-color: var(--primary);
  background: var(--primary-light);
  position: relative;
}
.comparison-card.ours::before {
  content: 'Dein Dachservice';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 1rem;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  z-index: 2;
}
.comparison-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--dark);
  padding-top: 0.5rem;
}
.comparison-list { display: flex; flex-direction: column; gap: 0.75rem; }
.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.comparison-item .ci-icon { flex-shrink: 0; margin-top: 0.1rem; font-size: 0.9rem; }
.comparison-item .ci-icon.check { color: #22c55e; }
.comparison-item .ci-icon.cross { color: #ef4444; }
.comparison-item .ci-text { color: var(--text); }
.comparison-card.theirs .ci-text { color: var(--text-muted); }

/* ============================================================
   16. PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
@media (max-width: 768px) { .process-grid { grid-template-columns: 1fr; } }

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  z-index: 0;
}
@media (max-width: 768px) { .process-grid::before { display: none; } }

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.process-step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-orange);
}
.process-step-icon { font-size: 1.25rem; color: var(--primary); }
.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.process-step p { font-size: 0.875rem; color: var(--text-muted); }

/* ============================================================
   17. PRICING CARDS
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; } }

.pricing-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: var(--t-med);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow), var(--shadow-lg);
  transform: scale(1.04);
}
@media (max-width: 900px) { .pricing-card.featured { transform: none; } }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.pricing-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.pricing-title { font-size: 1.125rem; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; }
.pricing-price {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.pricing-price span { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.pricing-features { text-align: left; margin-bottom: 1.5rem; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border-light);
}
.pricing-feature:last-child { border-bottom: none; }
.pricing-feature i { color: #22c55e; font-size: 0.8rem; }
.pricing-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1.5rem;
  font-style: italic;
}

/* ============================================================
   18. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--t-med);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.testimonial-stars { color: #f59e0b; font-size: 0.875rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.testimonial-location { font-size: 0.775rem; color: var(--text-muted); }

/* ============================================================
   19. FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--t-fast);
}
.faq-item:hover { border-color: var(--primary); }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  cursor: pointer;
  background: #fff;
  user-select: none;
}
.faq-q-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
}
.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--t-med);
}
.faq-item.open .faq-chevron {
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 0 1.375rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   20. CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-muted) 100%);
  border-radius: var(--r-xl);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.08;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: 120px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.05;
}
.cta-banner-text { position: relative; z-index: 1; }
.cta-banner-text h2 {
  color: #fff;
  font-size: clamp(1.26rem, 2.7vw, 1.8rem);
  margin-bottom: 0.5rem;
}
.cta-banner-text p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================================
   21. SERVICE AREA / MAP SECTION
   ============================================================ */
.area-map-section {
  background: var(--bg-dark);
  padding: var(--space-2xl) 0;
  color: #fff;
}
.area-map-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .area-map-grid { grid-template-columns: 1fr; } }
.area-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.area-city-tag {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
  padding: 0.375rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--t-fast);
}
.area-city-tag:hover { background: rgba(255,255,255,0.13); }
.area-city-tag i { font-size: 0.65rem; color: var(--primary); }
.area-map-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.area-map-image a { display: block; }
.area-map-image img { width: 100%; height: auto; display: block; transition: transform 0.4s var(--ease); }
.area-map-image:hover img { transform: scale(1.03); }

/* ============================================================
   22. STORY / CASE EXAMPLE SECTION
   ============================================================ */
.story-section { background: var(--bg-secondary); }
.story-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 2.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}
.story-scenario {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.story-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--dark); }
.story-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.75; }
.story-card p + p { margin-top: 0.875rem; }
.story-outcome {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.story-outcome-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.story-outcome-text { font-size: 0.9rem; color: var(--text); font-weight: 600; }

/* ============================================================
   23. SEO BLOCK (Otto-style)
   ============================================================ */
.seo-block { background: #fff; padding: var(--space-2xl) 0; }
.seo-block h2 { font-size: clamp(1.26rem, 2.7vw, 1.8rem); margin-bottom: 1rem; }
.seo-block h3 { font-size: 1rem; margin: 1.75rem 0 0.5rem; color: var(--dark); }
.seo-block p { font-size: 0.9375rem; color: var(--text); line-height: 1.8; }
.seo-block p + p { margin-top: 0.75rem; }
.seo-block a { color: var(--primary); font-weight: 500; }
.seo-block a:hover { text-decoration: underline; }

/* ============================================================
   24. FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--space-2xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: var(--space-2xl);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.footer-brand img { height: 48px; width: auto; margin-bottom: 1rem; opacity: 0.9; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: var(--t-fast);
}
.footer-link:hover { color: var(--primary); padding-left: 2px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item i { color: var(--primary); margin-top: 0.125rem; flex-shrink: 0; font-size: 0.875rem; }
.footer-contact-item a { color: rgba(255,255,255,0.85); transition: var(--t-fast); }
.footer-contact-item a:hover { color: var(--primary); }

.footer-hours { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.footer-hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.25rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-hours-row:last-child { border-bottom: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: var(--t-fast); }
.footer-legal-links a:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   25. ANIMATIONS (Intersection Observer)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

.fade-in {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.fade-in.visible { opacity: 1; }

/* ============================================================
   26. LOCATION PAGE SPECIFICS
   ============================================================ */
.location-intro { padding: var(--space-2xl) 0; }
.location-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .location-intro-grid { grid-template-columns: 1fr; gap: 2rem; } }

.location-service-section { padding: var(--space-xl) 0; }
.location-service-section + .location-service-section { border-top: 1px solid var(--border); }
.location-service-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.location-service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.location-service-header h2 { font-size: 1.25rem; margin: 0; }
.service-sub-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
  margin-top: 0.875rem;
}
@media (max-width: 600px) { .service-sub-list { grid-template-columns: 1fr; } }
.service-sub-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
}
.service-sub-list li i { color: var(--primary); font-size: 0.7rem; }

.location-map-section { padding: var(--space-xl) 0; background: var(--bg-secondary); }
.location-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) { .location-map-grid { grid-template-columns: 1fr; } }
.location-contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.location-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.location-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.location-contact-label { font-size: 0.775rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); }
.location-contact-value { font-size: 0.9375rem; font-weight: 600; color: var(--dark); }
.location-contact-value a { color: var(--primary); }
.location-map-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.location-map-img a { display: block; }
.location-map-img img { width: 100%; height: auto; display: block; }

/* ============================================================
   27. INTRO SECTION (Service Pages)
   ============================================================ */
.service-intro { padding: var(--space-2xl) 0; }
.service-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .service-intro-grid { grid-template-columns: 1fr; gap: 2rem; } }
.service-intro-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.service-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.service-intro-content p { margin-bottom: 1rem; font-size: 1rem; line-height: 1.8; color: var(--text); }
.service-benefits-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; }
.service-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text);
}
.service-benefit-item i { color: #22c55e; flex-shrink: 0; margin-top: 0.175rem; }

/* ============================================================
   28. LEGAL / STATIC PAGES
   ============================================================ */
.legal-page { padding: var(--space-2xl) 0 var(--space-3xl); }
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.125rem; margin: 2rem 0 0.625rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content p { font-size: 0.9375rem; line-height: 1.8; color: var(--text); margin-bottom: 0.75rem; }
.legal-content a { color: var(--primary); }

/* ============================================================
   29. MISC UTILITIES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 600; }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--t-med);
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

.whatsapp-float {
  position: fixed;
  bottom: 5.75rem;
  right: 2rem;
  height: 54px;
  padding: 0 1.15rem;
  border-radius: 50px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: var(--t-med);
  z-index: 900;
  text-decoration: none;
  white-space: nowrap;
}
.whatsapp-float:hover {
  background: #1ebe57;
  transform: translateY(-3px) scale(1.02);
  color: #fff;
}
.whatsapp-float .whatsapp-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.whatsapp-float .whatsapp-small {
  font-size: 9px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}
.whatsapp-float .whatsapp-large {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
}
.whatsapp-float i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .whatsapp-float {
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    justify-content: center;
    bottom: 5.75rem;
  }
  .whatsapp-float .whatsapp-text {
    display: none;
  }
  .whatsapp-float i {
    font-size: 1.5rem;
  }
}

/* Top bar company info */
.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 500;
  margin-right: auto;
  margin-left: 1.5rem;
}
.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.top-bar-info i {
  font-size: 0.875rem;
}
@media (max-width: 1200px) {
  .top-bar-info { display: none !important; }
}

/* ============================================================
   30. RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* Top bar: hide email on medium screens to make room for CTAs */
@media (max-width: 1280px) {
  .top-bar-email { display: none !important; }
  .top-bar-divider { display: none !important; }
}
/* Top bar: hide "Anfrage stellen" text label on small desktops, keep icon */
@media (max-width: 900px) {
  .top-bar-actions .anfrage-cta { display: none; }
}

@media (max-width: 1023px) {
  :root {
    --header-top-h: 40px;
    --header-nav-h: 64px;
    --header-total-h: 104px;
  }
}
@media (max-width: 640px) {
  :root {
    --space-2xl: 3.5rem;
    --space-3xl: 5rem;
  }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }
}

