/* ==========================================================================
   FILIA GMBH - CORPORATE ARCHITECTURAL MASTER DESIGN SYSTEM
   Primary CI: #1A3253 (Filia Kobaltblau)
   Dark Surface: #0E1B2E (Tiefblau / Nachtblau)
   Slate / Steel: #475569 / #64748B / #CBD5E1 / #E2E8F0 / #F8FAFC
   Pure White: #FFFFFF
   Strictly Filia Blue & Slate Palette. Zero Emojis.
   ========================================================================== */

/* Self-Hosted Local Inter Fonts */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/Inter-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/Inter-ExtraBold.woff2') format('woff2');
}

:root {
  --primary: #1A3253;
  --primary-dark: #0E1B2E;
  --primary-light: #2B4E80;
  --primary-surface: #F1F5F9;
  
  --steel: #475569;
  --steel-light: #64748B;
  
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --white: #FFFFFF;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  
  --shadow-sm: 0 1px 3px rgba(15, 27, 46, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 27, 46, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 27, 46, 0.12);
  
  --container-max: 1260px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--slate-700);
  background-color: var(--white);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  max-width: 100%;
  padding-bottom: 60px;
  position: relative;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

p, a, span, li, button, td, th, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a[href^="mailto:"],
a[href^="tel:"],
.email-link,
.phone-link {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Clickable Contact Links */
.inline-contact-link,
.text-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
  overflow-wrap: anywhere;
  transition: var(--transition);
}

.inline-contact-link:hover,
.text-link:hover {
  color: var(--primary-light);
}

.text-link-light {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
  overflow-wrap: anywhere;
  transition: var(--transition);
}

.text-link-light:hover {
  color: #93C5FD;
}

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

/* Accessibility & Crawler Skip Navigation (WCAG 2.1 AA & SEO) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 9999;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
  margin-bottom: 1.1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   NAVIGATION & HEADER (CLEAN ARCHITECTURAL PROPORTIONS)
   ========================================================================== */

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .header-inner {
    height: 64px;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo img {
  height: 36px;
  width: auto;
}

@media (max-width: 576px) {
  .brand-logo img {
    height: 30px;
  }
}

.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 2.5rem;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-800);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-phone:hover {
  color: var(--primary);
}

.nav-phone svg {
  color: var(--primary);
}

/* Minimalist Mobile Header Right: Clean Call Button + Minimal Hamburger */
.mobile-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

@media (min-width: 992px) {
  .mobile-header-right {
    display: none;
  }
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--slate-100);
  color: var(--primary);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}

.mobile-call-btn:hover, .mobile-call-btn:active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--slate-800);
  margin: 2.5px 0;
  transition: var(--transition);
  border-radius: 1px;
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--slate-200);
  padding: 1.5rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-links .nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  width: 100%;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Fixed Mobile Bottom Bar (50/50 Anrufen & E-Mail) */
.mobile-action-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background-color: var(--primary-dark);
  z-index: 999;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 768px) {
  .mobile-action-bar {
    display: none;
  }
}

.mobile-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s;
}

.mobile-action-btn.btn-call {
  background-color: var(--primary);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-action-btn.btn-mail {
  background-color: var(--primary-dark);
}

.mobile-action-btn:active {
  opacity: 0.85;
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHIC KICKERS (ARCHITECTURAL RIGOR)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white) !important;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* Solid pure white button for dark backgrounds */
.btn-white {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary-dark) !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
  background-color: var(--slate-100);
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Frosted glass outline button for dark backgrounds */
.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white) !important;
  font-weight: 600;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

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

.page-hero-actions,
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.contact-details-box {
  background-color: var(--white);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ARCHITECTURAL CATEGORY PRETITLES (Clean typography, no awkward pills or lines) */
.hero-pretitle,
.page-category-label {
  display: block;
  color: #94A3B8;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.875rem;
}

.page-hero-content .page-category-label {
  text-align: center;
}

.section-kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

/* Badges for technical classifications */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--slate-100);
  color: var(--primary);
  border: 1px solid var(--slate-300);
  white-space: normal;
  word-break: normal;
  line-height: 1.35;
  max-width: 100%;
}

.badge-alert {
  background-color: rgba(220, 38, 38, 0.08);
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

/* ==========================================================================
   HERO SECTIONS (SUBPAGE HEADING COLOR FIX & EXCAVATOR VISIBILITY)
   ========================================================================== */

.hero {
  position: relative;
  background-color: var(--primary-dark);
  background: linear-gradient(135deg, #0A1424 0%, #0E1B2E 50%, #162842 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(3.5rem, 6.5vw, 6.5rem) 0;
}

.page-hero {
  position: relative;
  background-color: var(--primary-dark);
  color: var(--white);
  overflow: hidden;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  filter: contrast(1.15) brightness(0.9);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(14, 27, 46, 0.78) 0%, rgba(14, 27, 46, 0.92) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-inner {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 3rem;
  }
}

.page-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

/* Crisp pure white headings across all heroes */
.hero h1,
.page-hero h1,
.page-hero-content h1,
.hero-content h1 {
  color: #FFFFFF !important;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero h1 span, .page-hero h1 span {
  color: #93C5FD;
}

.hero p,
.page-hero p,
.page-hero-content p,
.hero-lead {
  color: #E2E8F0 !important;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-200);
}

.trust-item svg {
  color: #60A5FA;
  flex-shrink: 0;
}

/* ==========================================================================
   FOREGROUND MACHINE SHOWCASE (ARCHITECTURAL PHOTOGRAPHIC DISPLAY - NO BADGES ON IMAGE)
   ========================================================================== */

.hero-machine-showcase {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.showcase-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: var(--primary-dark);
  cursor: pointer;
}

.showcase-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-frame:hover img {
  transform: scale(1.025);
}

/* ==========================================================================
   4-STEP CUSTOMER PROCESS (DEMISTIFYING DEMOLITION FOR PRIVATE & COMMERCIAL)
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

.process-step-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.process-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--slate-100);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 2px solid var(--slate-200);
}

.process-step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--slate-900);
}

.process-step-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   RESPONSIVE GRIDS & LAYOUT SYSTEMS
   ========================================================================== */

.section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.section-bg-slate {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

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

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--slate-600);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

/* Dedicated Responsive Grid Utilities */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-2-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
  }
}

.grid-3-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-3-col {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
  }
}

.grid-4-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-4-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-4-col {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pillar-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pillar-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
}

.pillar-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Services Grid (Homepage) */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.service-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.04);
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-body p {
  color: var(--slate-600);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
}

.service-features {
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.service-features li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.team-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.team-role {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.team-quals {
  margin-bottom: 1.5rem;
}

.team-quals li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--slate-700);
}

.team-quals li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.team-contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ==========================================================================
   SCROLL-DRIVEN IMAGE FLOW SHOWCASE (PARALLAX COLUMNS)
   ========================================================================== */

.image-flow-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background-color: var(--primary-dark);
  color: var(--white);
  overflow: hidden;
}

.image-flow-section .section-header h2 {
  color: var(--white);
}

.image-flow-section .section-header p {
  color: var(--slate-300);
}

.image-flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .image-flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .image-flow-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.flow-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  will-change: transform;
}

.flow-card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  cursor: pointer;
}

.flow-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
}

.flow-img-box {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.flow-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-card:hover .flow-img-box img {
  transform: scale(1.05);
}

/* Card Pretitles & Risk Indicators (Clean architectural typography, zero awkward pill badges) */
.card-pretitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel-light);
  margin-bottom: 0.45rem;
}

.risk-indicator {
  display: block;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.risk-indicator.alert {
  color: #DC2626;
}

.flow-body {
  padding: 1.25rem 1.5rem;
}

.flow-body h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.flow-body p {
  color: var(--slate-300);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   ASBEST PAGE & SERVICE DETAILS (RESPONSIVE CARDS & NOTICE BOXES)
   ========================================================================== */

.asbest-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.asbest-card-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

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

.asbest-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.notice-box {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.55;
  margin-top: auto;
}

.notice-box strong {
  color: var(--primary-dark);
}

/* Services Detail Rows (Leistungen Page) */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--slate-200);
}

@media (min-width: 992px) {
  .service-detail-row {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
  .service-detail-row.reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .service-detail-row.reverse .service-detail-text {
    order: 2;
  }
  .service-detail-row.reverse .service-detail-img {
    order: 1;
  }
}

.service-detail-img {
  width: 100%;
  height: clamp(280px, 35vw, 420px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background-color: var(--slate-100);
}

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

/* Service Detail Features List (Leistungen & Baugruben Pages) */
.service-features-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--slate-700);
}

.service-features-list li svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
  display: inline-block;
}

.service-features-list li span {
  flex: 1;
}

.service-detail-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

/* Technical FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  font-family: inherit;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-answer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.faq-answer a:hover {
  color: var(--primary-light);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CONTACT CALLOUT & FOOTER
   ========================================================================== */

.cta-banner {
  background-color: var(--primary-dark);
  background: linear-gradient(180deg, #0E1B2E 0%, #162842 100%);
  color: var(--white);
  text-align: center;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-banner h2 {
  color: var(--white) !important;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--slate-300) !important;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  max-width: 760px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.site-footer {
  background-color: var(--slate-900);
  color: var(--slate-300);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--slate-800);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--slate-300);
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-certs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.cert-badge-pill {
  font-size: 0.75rem;
  color: var(--slate-300);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--steel-light);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--steel-light);
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(14, 27, 46, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: var(--slate-300);
  font-size: 0.95rem;
  margin-top: 1rem;
  text-align: center;
}

/* ==========================================================================
   MOBILE OVERFLOW & RESPONSIVE PERFECTION (ZERO HORIZONTAL SCROLL)
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .btn {
    white-space: normal;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }
  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
  .btn-sm {
    padding: 0.55rem 0.85rem;
    font-size: 0.825rem;
  }
  .hero-actions,
  .page-hero-actions,
  .cta-actions,
  .service-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn,
  .page-hero-actions .btn,
  .cta-actions .btn,
  .service-actions .btn {
    width: 100%;
  }
  .team-contact-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .team-contact-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .team-card {
    padding: 1.5rem 1.1rem;
  }
  .contact-details-box {
    padding: 1.5rem 1rem !important;
  }
  .faq-question {
    padding: 1.1rem 1rem;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 1rem 1.1rem;
  }
  .faq-item.active .faq-answer {
    padding: 0 1rem 1.1rem;
  }
  .footer-bottom {
    word-break: break-word;
  }
}
