/* ==========================================================================
   Menze Informationstechnik - Modern Premium Stylesheet
   ========================================================================== */

/* ==========================================================================
   Schriften & Icons – direkt vom eigenen Server (schneller als Google/CDN)
   Icons: nur die auf der Webseite verwendeten Font-Awesome-Symbole.
   Neues Icon gebraucht? Es muss erst in die Icon-Datei aufgenommen werden.
   ========================================================================== */
@font-face{font-family:"Inter";font-style:normal;font-weight:300 800;font-display:swap;src:url("fonts/inter-latin.woff2") format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/plus-jakarta-sans-latin.woff2") format("woff2")}
@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url("fonts/fa-solid-subset.woff2") format("woff2")}
@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url("fonts/fa-regular-subset.woff2") format("woff2")}
.fa,.fa-solid,.fa-regular,.fas,.far{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display,inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto;font-family:"Font Awesome 6 Free"}
.fa-solid,.fas{font-weight:900}.fa-regular,.far{font-weight:400}
.fa-spin{animation:fa-spin 2s linear infinite}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
.fa-arrow-right:before{content:"\f061"}.fa-arrow-up-right-from-square:before{content:"\f08e"}.fa-award:before{content:"\f559"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-calendar-check:before{content:"\f274"}.fa-camera:before{content:"\f030"}.fa-certificate:before{content:"\f0a3"}.fa-chart-line:before{content:"\f201"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-circle:before{content:"\f111"}.fa-circle-check:before{content:"\f058"}.fa-circle-info:before{content:"\f05a"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clock-rotate-left:before{content:"\f1da"}.fa-comments:before{content:"\f086"}.fa-cookie-bite:before{content:"\f564"}.fa-copyright:before{content:"\f1f9"}.fa-desktop:before{content:"\f390"}.fa-envelope:before{content:"\f0e0"}.fa-file-invoice:before{content:"\f570"}.fa-file-pdf:before{content:"\f1c1"}.fa-filter:before{content:"\f0b0"}.fa-folder-open:before{content:"\f07c"}.fa-handshake:before{content:"\f2b5"}.fa-house-signal:before{content:"\e012"}.fa-image:before{content:"\f03e"}.fa-lightbulb:before{content:"\f0eb"}.fa-link:before{content:"\f0c1"}.fa-location-dot:before{content:"\f3c5"}.fa-magnifying-glass:before{content:"\f002"}.fa-microphone:before{content:"\f130"}.fa-mobile-screen-button:before{content:"\f3cd"}.fa-network-wired:before{content:"\f6ff"}.fa-paper-plane:before{content:"\f1d8"}.fa-phone:before{content:"\f095"}.fa-phone-volume:before{content:"\f2a0"}.fa-puzzle-piece:before{content:"\f12e"}.fa-receipt:before{content:"\f543"}.fa-rotate-right:before{content:"\f2f9"}.fa-scale-balanced:before{content:"\f24e"}.fa-screwdriver-wrench:before{content:"\f7d9"}.fa-server:before{content:"\f233"}.fa-shield-halved:before{content:"\f3ed"}.fa-shop:before{content:"\f54f"}.fa-sliders:before{content:"\f1de"}.fa-spinner:before{content:"\f110"}.fa-star:before{content:"\f005"}.fa-store:before{content:"\f54e"}.fa-table-list:before{content:"\f00b"}.fa-tag:before{content:"\f02b"}.fa-thumbs-up:before{content:"\f164"}.fa-tv:before{content:"\f26c"}.fa-user-check:before{content:"\f4fc"}.fa-user-gear:before{content:"\f4fe"}.fa-user-shield:before{content:"\f505"}.fa-users:before{content:"\f0c0"}.fa-video:before{content:"\f03d"}.fa-wifi:before{content:"\f1eb"}.fa-xmark:before{content:"\f00d"}

/* Bilder haben width/height-Angaben (verhindert Springen beim Laden).
   Ohne eigene Höhenregel bleibt das Seitenverhältnis erhalten. */
:where(img) {
  height: auto;
}

:root {
  /* Brand Colors */
  --primary-green: #158b28;
  --primary-green-hover: #107220;
  --primary-green-light: #eaf8ec;
  --secondary-accent: #2e7d32;
  --dark-slate: #1e293b;
  --darker-slate: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #cbd5e1;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --footer-bg: #f3f6f9;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.18);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.6;
  -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;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-wide {
  max-width: 1540px;
}

/* Top Announcement Bar - Disabled */
.top-announcement {
  display: none !important;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 82px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  pointer-events: none;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header .header-container {
  pointer-events: auto;
}

.site-header.scrolled {
  background-color: transparent;
  box-shadow: none;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  width: 100%;
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(24px, 3vw, 40px);
  padding-right: clamp(24px, 3vw, 40px);
  background-color: #ffffff;
  border-radius: 0;
  border: 1px solid transparent;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: max-width, height, border-radius;
}

.site-header.scrolled .header-container {
  height: 64px;
  max-width: 1200px;
  width: calc(100% - 32px);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  border-color: rgba(225, 231, 239, 0.85);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  padding-left: 24px;
  padding-right: 18px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
}

.official-logo-img {
  height: 46px;
  width: auto;
  max-width: 210px;
  display: block;
  object-fit: contain;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .official-logo-img {
  height: 36px;
}

/* Main Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
  transition: gap 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .nav-menu {
  gap: 22px;
}

.nav-item {
  position: relative;
}

.site-header.scrolled .nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast), font-size 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled .nav-link {
  font-size: 0.88rem;
  padding: 6px 3px;
}

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

.nav-link.active {
  color: var(--gray-800);
}

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

span.nav-link.dropdown-toggle {
  cursor: default;
  user-select: none;
}

.nav-chevron {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu (matching user reference screenshot) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-normal);
  z-index: 100;
}

.site-header.scrolled .dropdown-menu {
  top: calc(100% + 10px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14), 0 3px 8px rgba(0, 0, 0, 0.05);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link,
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  transition: all var(--transition-fast);
  line-height: 1.3;
}

.dropdown-link:hover,
.dropdown-item:hover {
  background-color: var(--gray-50);
  color: var(--primary-green);
  padding-left: 26px;
}

.dropdown-link .submenu-arrow {
  font-size: 0.75rem;
  color: #1e293b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown-link:hover .submenu-arrow {
  color: var(--primary-green);
  transform: translateX(3px);
}

/* Submenu Flyout for Fernsehen */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 270px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all var(--transition-normal);
  z-index: 105;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu-link {
  display: block;
  padding: 11px 22px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.submenu-link:hover {
  background-color: var(--gray-50);
  color: var(--primary-green);
  padding-left: 26px;
}

/* Header Action & Buttons */
.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.btn-kontakt {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 10px 28px;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .btn-kontakt {
  padding: 8px 22px;
  font-size: 0.86rem;
}

.btn-kontakt:hover,
.btn-kontakt:focus {
  background-color: var(--primary-green-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
}

.mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: min(340px, 88vw);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: #ffffff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
  transition: right var(--transition-normal), visibility var(--transition-normal);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer::-webkit-scrollbar {
  width: 5px;
}

.mobile-nav-drawer::-webkit-scrollbar-track {
  background: #f8fafc;
}

.mobile-nav-drawer::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.mobile-nav-drawer.open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
  box-shadow: -5px 0 35px rgba(0, 0, 0, 0.18);
}

.mobile-drawer-header {
  position: sticky;
  top: -24px;
  background: #ffffff;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -24px -24px 16px -24px;
  padding: 22px 24px 16px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.drawer-close-btn {
  font-size: 1.5rem;
  color: var(--gray-600);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.mobile-group-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 4px;
  padding: 0;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--gray-800);
  display: block;
  padding: 8px 0;
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--primary-green);
  padding-left: 4px;
}

.mobile-link i {
  display: none !important;
}

.mobile-btn {
  margin-top: 18px;
  padding: 12px 20px;
  color: #fff !important;
  text-align: center;
  display: block;
  border-radius: 999px;
}

.mobile-drawer-contact {
  margin-top: 24px;
  padding-top: 20px;
  padding-bottom: 12px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.88rem;
  color: var(--gray-600);
}

.mobile-drawer-contact p {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Hero Section (Screenshot 1 Matching)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0b151e;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Dark gradient from left to ensure maximum readability, matching screenshot */
  background: linear-gradient(
    90deg, 
    rgba(10, 20, 28, 0.82) 0%, 
    rgba(10, 20, 28, 0.65) 42%, 
    rgba(10, 20, 28, 0.25) 75%, 
    rgba(10, 20, 28, 0.1) 100%
  );
}

.hero-content-container {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 75px;
}

.hero-text-box {
  max-width: 680px;
  color: var(--white);
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 400;
  color: #f1f5f9;
  margin-bottom: 30px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  min-height: 2.2em; /* Prevents layout jump while typing */
}

.typing-text-wrap {
  display: inline-block;
  white-space: nowrap;
}

.typing-text {
  color: #ffffff;
  font-weight: 700;
  border-bottom: none;
  text-decoration: none;
  padding-bottom: 0;
  transition: color 0.2s ease;
}

.typing-cursor {
  display: inline-block;
  color: #ffffff;
  font-weight: 400;
  margin-left: 2px;
  animation: blinkCursor 0.8s infinite;
  vertical-align: baseline;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero Buttons (matching Screenshot 1) */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.btn-hero-green,
.btn-hero-glass {
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.btn-hero-green span,
.btn-hero-glass span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.btn-hero-green {
  background-color: var(--primary-green);
  color: var(--white);
  border: 1px solid transparent;
  box-shadow: none;
}

.btn-hero-green:hover,
.btn-hero-green:focus {
  background-color: var(--primary-green-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.btn-hero-glass {
  background: rgba(120, 130, 140, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
}

/* Arrow indicator on hover */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -1.5px;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  transform: translateX(-6px);
  transition: max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              margin-left 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1;
}

.btn-hero-green:hover .btn-arrow,
.btn-hero-glass:hover .btn-arrow {
  max-width: 20px;
  opacity: 1;
  margin-left: 8px;
  transform: translateX(0);
}

/* ==========================================================================
   Trust / Highlights Strip
   ========================================================================== */
.trust-strip {
  background-color: #ffffff;
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
}

.trust-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.trust-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.trust-info p {
  font-size: 0.83rem;
  color: var(--gray-500);
  line-height: 1.35;
}

/* ==========================================================================
   Section General Styling
   ========================================================================== */
.section-services,
.section-about,
.section-process,
.section-contact {
  padding: 85px 0;
}

.section-header {
  max-width: 740px;
  margin: 0 auto 55px auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary-green);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-tag.light {
  color: #86efac;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Services Blocks (Deep, Premium Layout)
   ========================================================================== */
.service-block {
  margin-bottom: 60px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-block:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

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

.service-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-block.reversed .service-grid {
  grid-template-columns: 1fr 1.1fr;
}

.service-block.reversed .service-visual {
  order: 2;
}

.service-block.reversed .service-content {
  order: 1;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.image-frame:hover .service-img,
.service-img:hover {
  transform: scale(1.04);
}

.image-floating-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.image-floating-badge.badge-right {
  left: auto;
  right: 18px;
}

.image-floating-badge i {
  color: #4ade80;
  font-size: 1.3rem;
}

.image-floating-badge strong {
  display: block;
  font-size: 0.88rem;
}

.image-floating-badge span {
  font-size: 0.74rem;
  color: var(--gray-300);
}

.service-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.service-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 22px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-checklist li i {
  color: var(--primary-green);
  font-size: 1.15rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-checklist li strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-900);
  font-family: var(--font-heading);
}

.feature-checklist li span {
  font-size: 0.87rem;
  color: var(--gray-600);
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-service-details {
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
}

.btn-service-details span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.btn-service-details:hover,
.btn-service-details:focus {
  background-color: var(--primary-green-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.btn-service-details:hover .btn-arrow {
  max-width: 20px;
  opacity: 1;
  margin-left: 4px;
  transform: translateX(0);
}

.btn-service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-green);
  font-size: 0.94rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-service-cta:hover {
  color: var(--primary-green-hover);
  border-bottom-color: var(--primary-green-hover);
  transform: translateX(4px);
}

/* ==========================================================================
   Configurator / Schnellrechner Section
   ========================================================================== */
.section-configurator {
  background: linear-gradient(135deg, #0f2715 0%, #153c1f 100%);
  color: var(--white);
  padding: 70px 0;
  position: relative;
}

.configurator-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.config-header {
  margin-bottom: 34px;
}

.config-header h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.config-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.config-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.config-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.config-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.config-card.active {
  background: rgba(255, 255, 255, 0.18);
  border-color: #4ade80;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.25);
}

.config-icon {
  font-size: 1.8rem;
  color: #4ade80;
  margin-bottom: 14px;
}

.config-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.config-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
}

.card-radio-mark {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transition: all var(--transition-fast);
}

.config-card.active .card-radio-mark {
  opacity: 1;
  background-color: #4ade80;
  color: #0f2715;
  border-color: #4ade80;
}

.config-form-inline {
  max-width: 860px;
  margin: 0 auto;
}

.config-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 12px;
}

.cfg-input {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--gray-900);
  outline: none;
}

.cfg-input:focus {
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.5);
}

.btn-config-submit {
  background-color: #22c55e;
  color: #0c2311;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-config-submit:hover {
  background-color: #4ade80;
  transform: translateY(-1px);
}

.config-privacy-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.config-privacy-note i {
  color: #4ade80;
  margin-right: 4px;
}

.cfg-feedback-message {
  margin-top: 14px;
  padding: 10px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.cfg-feedback-message.success {
  display: block;
  background-color: rgba(34, 197, 94, 0.2);
  border: 1px solid #4ade80;
  color: #bbf7d0;
}

/* ==========================================================================
   Showroom & About Section
   ========================================================================== */
.section-about {
  background-color: #fbfcfd;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 55px;
  align-items: center;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 16px;
  line-height: 1.5;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 22px;
}

.about-usp-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 26px;
}

.usp-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.usp-pill i {
  color: var(--primary-green);
  font-size: 1.1rem;
}

.about-quote-box {
  position: relative;
  background: var(--primary-green-light);
  border-left: 4px solid var(--primary-green);
  padding: 18px 24px 18px 48px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 14px;
}

.quote-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--primary-green);
  font-size: 1.4rem;
  opacity: 0.6;
}

.about-quote-box p {
  font-style: italic;
  color: var(--gray-800);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.quote-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gray-900);
}

.quote-author span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.showroom-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.showroom-image-box {
  position: relative;
  height: 290px;
}

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

.showroom-overlay-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.showroom-details {
  padding: 30px;
}

.showroom-details h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.showroom-details p {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.showroom-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
  background: var(--gray-50);
  padding: 14px;
  border-radius: var(--radius-md);
}

.meta-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.meta-item strong i {
  color: var(--primary-green);
  margin-right: 4px;
}

.meta-item span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.btn-showroom-visit {
  display: block;
  text-align: center;
  background-color: var(--dark-slate);
  color: var(--white);
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.btn-showroom-visit:hover {
  background-color: var(--primary-green);
  color: #fff;
}

/* ==========================================================================
   Process Steps (Wie wir arbeiten)
   ========================================================================== */
.section-process {
  background-color: var(--white);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  transition: all var(--transition-fast);
}

.step-card:hover {
  background: var(--white);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
}

.step-card:hover .step-number {
  color: var(--primary-green-light);
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.step-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.87rem;
  color: var(--gray-600);
  line-height: 1.45;
}

/* ==========================================================================
   Contact Section Before Footer
   ========================================================================== */
.section-contact {
  background: #f8fafc;
}

.contact-box-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}

.contact-info-panel {
  background: linear-gradient(165deg, #f2faf3 0%, #eaf8ec 100%);
  color: #0f172a;
  padding: 48px;
  border-right: 1px solid #d6ebd9;
}

.contact-category-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.contact-info-panel h2,
.form-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.contact-info-panel h2 {
  margin-bottom: 12px;
}

.contact-info-panel p {
  font-size: 0.94rem;
  color: #475569;
  margin-bottom: 26px;
  line-height: 1.55;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  border: 1px solid #d8ecdc;
  padding: 13px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
  color: #0f172a;
}

.contact-method-card:not(.static):hover {
  background: #ffffff;
  border-color: var(--primary-green);
  box-shadow: 0 4px 14px rgba(21, 139, 40, 0.12);
  transform: translateY(-1px);
}

.method-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.method-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}

.method-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

/* Contact Form Panel */
.contact-form-panel {
  padding: 48px;
}

.form-title {
  margin-bottom: 24px;
}

.styled-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group label .required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 11px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--gray-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(21, 139, 40, 0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.error-msg {
  font-size: 0.76rem;
  color: #ef4444;
  display: none;
}

.error-msg.visible {
  display: block;
}

/* Checkbox */
.form-privacy-check {
  margin-top: 8px;
  margin-bottom: 4px;
}

.custom-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.custom-checkbox-container input {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  cursor: pointer;
  z-index: 2;
  margin: 0;
}

.checkmark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #64748b;
  border-radius: 6px;
  background-color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-fast);
}

.custom-checkbox-container:hover .checkmark {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(21, 139, 40, 0.15);
}

.custom-checkbox-container input:focus-visible ~ .checkmark {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(21, 139, 40, 0.25);
}

.custom-checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: 0 2px 6px rgba(21, 139, 40, 0.35);
}

.custom-checkbox-container .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease-in-out;
}

.custom-checkbox-container input:checked ~ .checkmark::after {
  transform: rotate(45deg) scale(1);
}

.check-label {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.45;
  cursor: pointer;
}

.open-modal-link {
  color: var(--primary-green);
  text-decoration: underline;
  cursor: pointer;
}

.open-modal-link:hover {
  color: var(--primary-green-hover);
}

.btn-submit-form {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 13px 28px;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  margin-top: 8px;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit-form:hover,
.btn-submit-form:focus {
  background-color: var(--primary-green-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.form-status-alert {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 10px;
}

.form-status-alert.success {
  display: block;
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.form-status-alert.error {
  display: block;
  background-color: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* ==========================================================================
   Site Footer (Strictly matching Screenshot 2)
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  padding: clamp(70px, 6vw, 100px) 0 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-body);
}

.footer-container {
  display: flex;
  flex-direction: column;
}

/* 4 columns distributed across the grid */
.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  padding-bottom: 45px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
}

.footer-col-content p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 4px;
}

.footer-col-content a {
  color: #475569;
  text-decoration: none;
}

.footer-col-content a:hover {
  color: var(--primary-green);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 24px;
  text-align: center;
}

.footer-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 14px;
}

.footer-domain {
  color: #334155;
  font-weight: 600;
}

.footer-sep {
  color: #cbd5e1;
}

.footer-links-row a {
  color: #64748b;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links-row a:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

.footer-ai-note {
  font-size: 0.78rem;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Modals
   ========================================================================== */

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 1100px;
  width: 95%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
}

.modal-close {
  font-size: 1.7rem;
  color: var(--gray-500);
  line-height: 1;
}

.modal-close:hover {
  color: var(--gray-900);
}

.modal-body {
  padding: 26px;
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.modal-body h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gray-900);
  margin-top: 18px;
  margin-bottom: 8px;
}

.modal-body h4:first-child {
  margin-top: 0;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid,
  .service-block.reversed .service-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-block.reversed .service-visual {
    order: 1;
  }

  .service-block.reversed .service-content {
    order: 2;
  }

  .service-img {
    height: 320px;
  }

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

  .config-inputs {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .contact-info-panel {
    border-right: none;
    border-bottom: 1px solid #d6ebd9;
  }
}

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

  .site-header {
    height: 70px;
  }

  .header-container {
    height: 70px;
  }

  .site-header.scrolled {
    background-color: transparent;
  }

  .site-header.scrolled .header-container {
    height: 56px;
    width: calc(100% - 24px);
    padding: 0 16px;
    border-radius: 14px;
  }

  .site-header.scrolled .official-logo-img {
    height: 32px;
  }

  .main-navigation {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: auto;
    max-width: max-content;
    align-self: flex-start;
    display: inline-flex;
    justify-content: flex-start;
    text-align: left;
  }

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

  .configurator-box {
    padding: 24px;
  }

  .config-options-grid {
    grid-template-columns: 1fr;
  }

  .config-inputs {
    grid-template-columns: 1fr;
  }

  .about-usp-pills {
    grid-template-columns: 1fr;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 30px 20px;
  }

  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

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

/* ==========================================================================
   Pre-Footer CTA Banner
   ========================================================================== */
.section-cta-banner {
  padding: clamp(70px, 6vw, 100px) 0;
  background-color: #f8fafc;
}

.cta-banner-card {
  position: relative;
  background: linear-gradient(rgba(10, 16, 12, 0.65), rgba(10, 16, 12, 0.72)),
              url('images/Start Bild.webp') center/cover no-repeat;
  border-radius: 26px;
  padding: 55px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  color: var(--white);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.cta-banner-info {
  max-width: 660px;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
  color: #ffffff;
}

.cta-banner-desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
  margin-bottom: 24px;
}

.cta-banner-btn-wrap {
  margin-top: 10px;
}

.btn-cta-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #179328;
  color: #ffffff;
  padding: 11px 32px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-green:hover,
.btn-cta-green:focus {
  background-color: #127722;
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 240px;
}

.btn-cta-primary {
  background-color: var(--primary-green);
  color: #fff;
  padding: 12px 28px;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-primary:hover,
.btn-cta-primary:focus {
  background-color: var(--primary-green-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 11px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  color: #fff;
}

@media (max-width: 900px) {
  .cta-banner-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 22px;
  }

  /* Textblock an Bildschirmbreite anpassen statt rechts abzuschneiden */
  .cta-banner-info {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .cta-banner-title {
    font-size: 1.6rem;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .cta-banner-actions {
    width: 100%;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
  }
}

/* ==========================================================================
   Home Featured WLAN Story Block (Between Hero and Service Grid)
   ========================================================================== */
.section-home-wlan-feature {
  padding: clamp(75px, 6.5vw, 110px) 0 clamp(70px, 6vw, 100px) 0;
  background-color: #ffffff;
}

/* ==========================================================================
   Showcase Stories (Überwachungskamera, Glasfaser, Beratung & Ausstellung)
   ========================================================================== */
.section-showcase-stories {
  background-color: #f8fafc;
  border-top: none;
  padding: clamp(70px, 6vw, 100px) 0;
}

.section-showcase-stories .showcase-stories-container {
  display: flex;
  flex-direction: column;
  gap: clamp(140px, 12vw, 200px);
}

/* Base Story Block */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.story-text {
  max-width: 560px;
}

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

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

.story-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 18px;
  line-height: 1.25;
}

.story-paragraph {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #374151;
  margin-bottom: 14px;
}

.story-btn-wrapper {
  margin-top: 24px;
}

.btn-story-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #18982c;
  color: #ffffff;
  padding: 10px 32px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-story-green:hover,
.btn-story-green:focus {
  background-color: #127722;
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.story-image-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.story-image-wrap.align-right {
  justify-content: flex-end;
}

.story-image-wrap.align-left {
  justify-content: flex-start;
}

.story-img-frame {
  max-width: 580px;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: none;
  border: none;
  background: transparent;
}

.story-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  border: none;
  outline: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.story-img-frame .story-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 22px;
  box-shadow: none;
  border: none;
}

.story-img-frame:hover .story-img,
.story-img:hover {
  transform: scale(1.04);
}

/* Story 3: Showroom Card & Map */
#ausstellung {
  margin-top: 0;
}

.story-card-wrapper {
  background: #ffffff;
  border-radius: 24px;
  padding: 44px 50px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.story-card-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.story-address-block {
  margin: 18px 0 22px 0;
  font-size: 0.96rem;
  font-weight: 500;
  color: #374151;
  line-height: 1.45;
}

.story-address-block span {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .section-showcase-stories,
  .section-home-wlan-feature,
  .section-service-grid,
  .section-cta-banner {
    padding: 50px 0;
  }

  .showcase-stories-container {
    gap: 100px;
  }

  .story-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-block.story-fiber .story-image-wrap,
  .story-block.story-wlan-home .story-image-wrap {
    order: 2;
  }

  .story-block.story-fiber .story-text,
  .story-block.story-wlan-home .story-text {
    order: 1;
  }

  .story-text.align-right,
  .story-text.align-left {
    text-align: left;
    margin: 0;
    max-width: 100%;
  }

  .story-image-wrap,
  .story-image-wrap.align-right,
  .story-image-wrap.align-left {
    justify-content: center;
  }

  .story-card-wrapper {
    padding: 30px 24px;
  }

  .story-card-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-card-grid .story-image-wrap {
    order: 2;
  }

  .story-card-grid .story-text {
    order: 1;
  }
}

/* ==========================================================================
   Apple MapKit & Showroom Location Section (Friesenstraße 24)
   ========================================================================== */
.menze-container {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
  gap: 32px;
  width: 100%;
  align-items: stretch;
  color: #171c22;
}

.menze-map-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

#menze-map {
  width: 100%;
  height: 100%;
  min-height: 100%;
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
  background: #e8edf2;
  border: 1px solid #e1e5e9;
  box-shadow: none;
}

#menze-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
  border-radius: 20px;
}

.menze-details {
  height: 100%;
  padding: 38px 34px;
  border: 1px solid #e1e5e9;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  box-shadow: none;
}

.menze-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #179328;
  margin: 0;
}

.menze-details h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: #0f172a;
}

.menze-description {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  color: #64748b;
}

.menze-contact {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  width: 100%;
  line-height: 1.5;
  font-size: 0.94rem;
}

.menze-contact-icon {
  font-size: 1.15rem;
  color: #179328;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}

.menze-contact strong {
  display: block;
  margin-bottom: 2px;
  color: #0f172a;
  font-weight: 700;
}

.menze-contact p {
  margin: 0;
  color: #475569;
  overflow-wrap: anywhere;
}

.menze-contact a {
  color: #179328;
  text-decoration: none;
  font-weight: 600;
}

.menze-contact a:hover {
  text-decoration: underline;
}

.menze-route {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  margin-top: auto;
  border-radius: 12px;
  background: #179328;
  color: #ffffff !important;
  text-decoration: none !important;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.menze-route:hover,
.menze-route:focus {
  background-color: #127722;
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

.menze-route:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.menze-map-status {
  position: absolute;
  bottom: 12px;
  left: 16px;
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 900px) {
  .menze-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .menze-map-wrapper {
    height: 380px;
    min-height: 380px;
  }

  #menze-map {
    height: 380px;
    min-height: 380px;
  }

  .menze-details {
    height: auto;
    padding: 24px;
  }

  .menze-details h2 {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   Home Service Navigation Grid (Matching Screenshot)
   ========================================================================== */
.section-service-grid {
  padding: clamp(70px, 6vw, 100px) 0;
  background-color: #ffffff;
}

.service-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-nav-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  height: 220px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
  background-color: #0f172a;
}

.service-nav-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.service-nav-card .card-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-nav-card .card-bg-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-nav-card:hover .card-bg-wrap img {
  transform: scale(1.06);
}

.service-nav-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.76) 0%,
    rgba(15, 23, 42, 0.52) 45%,
    rgba(15, 23, 42, 0.88) 100%
  );
  transition: background 0.3s ease;
}

.service-nav-card:hover .card-overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.66) 0%,
    rgba(15, 23, 42, 0.44) 45%,
    rgba(15, 23, 42, 0.82) 100%
  );
}

.service-nav-card .card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-nav-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.service-nav-card .card-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  max-width: 90%;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.service-nav-card .card-btn-pill {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.service-nav-card:hover .card-btn-pill {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
  box-shadow: none;
}

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

@media (max-width: 640px) {
  .section-service-grid {
    padding: 50px 0;
  }
  .service-nav-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-nav-card {
    height: 205px;
  }
  .service-nav-card .card-content {
    padding: 20px;
  }
  .service-nav-card .card-title {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   Universal Page Hero Banner (Matching Kontakt Page Hero)
   ========================================================================== */
.page-hero-banner,
.kontakt-hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b151e;
  color: var(--white);
  padding: 105px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero-banner .hero-bg-wrapper,
.kontakt-hero .hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.page-hero-banner .hero-bg-image,
.kontakt-hero .hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.page-hero-banner .hero-bg-image[src*="PPIC52520"],
.kontakt-hero .hero-bg-image[src*="PPIC52520"] {
  object-position: center 70%;
}

.page-hero-banner .hero-overlay,
.kontakt-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg, 
    rgba(10, 20, 28, 0.76) 0%, 
    rgba(10, 20, 28, 0.65) 50%, 
    rgba(10, 20, 28, 0.82) 100%
  );
}

.page-hero-banner .page-hero-content,
.kontakt-hero .kontakt-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-banner .page-hero-title,
.kontakt-hero .kontakt-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
  .page-hero-banner,
  .kontakt-hero {
    min-height: 220px;
    padding: 60px 0;
  }

  .page-hero-banner .page-hero-title,
  .kontakt-hero .kontakt-page-title {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   Info Page Specific Styles (Matching Screenshots)
   ========================================================================== */
.section-info-main {
  padding: 75px 0 85px 0;
  background-color: #f8fafc;
}

.info-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 65px;
}

.info-story-grid .story-img-frame {
  max-width: 100%;
  aspect-ratio: 16 / 10.5;
}

.info-placeholder-box {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  background: #f1f5f9;
  border: 2px dashed #94a3b8;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-align: center;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.info-placeholder-box:hover {
  border-color: var(--primary-green);
  background-color: #eaf8ec;
}

.info-placeholder-box i {
  font-size: 2.8rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.info-placeholder-box .placeholder-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #334155;
  margin-bottom: 4px;
}

.info-placeholder-box .placeholder-hint {
  font-size: 0.84rem;
  color: #94a3b8;
}

.info-story-text h2 {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  line-height: 1.25;
}

.info-story-text p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 18px;
}

.info-story-text p strong {
  font-weight: 700;
  color: #0f172a;
}

.info-story-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 22px 0 14px 0;
}

/* Unsere Werte Card (Matching Screenshot 3) */
.info-werte-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 48px 52px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.04);
}

.info-werte-card h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.info-werte-card .werte-subtitle {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
}

.info-werte-card p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: #374151;
  margin-bottom: 18px;
}

.info-werte-card strong {
  font-weight: 700;
  color: #0f172a;
}

.info-werte-card .werte-signoff {
  margin-top: 26px;
  padding-top: 8px;
}

.info-werte-card .werte-signoff p {
  margin-bottom: 2px;
  font-size: 0.96rem;
  color: #475569;
}

.info-werte-card .werte-signoff strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

@media (max-width: 900px) {
  .info-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .info-werte-card {
    padding: 30px 22px;
  }
  .info-story-text h2 {
    font-size: 1.75rem;
  }
  .info-werte-card h2 {
    font-size: 1.65rem;
  }
}

/* ==========================================================================
   Glasfaser Page Story Grid Layout (Matching Screenshots 1, 2, 3)
   ========================================================================== */
.section-glasfaser-main {
  padding: 75px 0 85px 0;
  background-color: #f8fafc;
}

.section-glasfaser-main .container {
  max-width: 1540px;
}

.glasfaser-story-container {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.glasfaser-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 52px;
  align-items: center;
  background: #ffffff;
  padding: 44px 48px;
  border-radius: 26px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.glasfaser-story-grid.reversed {
  grid-template-columns: 1.18fr 1fr;
}

.glasfaser-image-placeholder-wrap {
  width: 100%;
}

.glasfaser-story-grid .story-img-frame {
  max-width: 100%;
  aspect-ratio: 16 / 10.5;
}

.glasfaser-placeholder-box {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  background: #f1f5f9;
  border: 2px dashed #94a3b8;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-align: center;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.glasfaser-placeholder-box:hover {
  border-color: var(--primary-green);
  background-color: #f0fdf4;
  transform: translateY(-2px);
}

.glasfaser-placeholder-box i {
  font-size: 2.8rem;
  color: #94a3b8;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.glasfaser-placeholder-box:hover i {
  color: var(--primary-green);
}

.glasfaser-placeholder-box .placeholder-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 4px;
}

.glasfaser-placeholder-box .placeholder-hint {
  font-size: 0.85rem;
  color: #94a3b8;
}

.glasfaser-story-text h2 {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  line-height: 1.25;
}

.glasfaser-story-text p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #374151;
  margin-bottom: 18px;
}

.glasfaser-story-text p:last-child {
  margin-bottom: 0;
}

.glasfaser-story-text p strong {
  font-weight: 700;
  color: #0f172a;
}

.glasfaser-story-text .story-sub-intro {
  margin-bottom: 12px;
  color: #1e293b;
  font-weight: 600;
}

.glasfaser-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.glasfaser-list li {
  font-size: 0.98rem;
  line-height: 1.68;
  color: #374151;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.glasfaser-list li::before {
  content: "–";
  color: #0f172a;
  font-weight: 700;
}

.glasfaser-list li strong {
  font-weight: 700;
  color: #0f172a;
}

@media (max-width: 900px) {
  .section-glasfaser-main {
    padding: 50px 0 60px 0;
  }

  .glasfaser-story-container {
    gap: 36px;
  }

  .glasfaser-story-grid,
  .glasfaser-story-grid.reversed {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
  }

  .glasfaser-story-grid.reversed .glasfaser-story-text {
    order: 2;
  }

  .glasfaser-story-grid.reversed .glasfaser-image-placeholder-wrap {
    order: 1;
  }

  .glasfaser-story-text h2 {
    font-size: 1.7rem;
  }
}

/* ==========================================================================
   Qualifikationen Page Layout (2er-Paare: Zertifikat links, Container mit Links rechts)
   ========================================================================== */
.section-qualifikation-main {
  padding: 75px 0 85px 0;
  background-color: #f8fafc;
}

.qualifikation-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px auto;
}

.qualifikation-intro h2 {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.qualifikation-intro p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.68;
}

.qualifikation-pairs-list {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

/* 2er Paar Card */
.cert-pair-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 44px;
  align-items: center;
  background: #ffffff;
  padding: 40px;
  border-radius: 26px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

/* Linke Seite: Bild / Platzhalter für Zertifikat */
.cert-image-side {
  width: 100%;
}

.cert-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
}

.cert-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-placeholder-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  border: 2px dashed #94a3b8;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-align: center;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.cert-placeholder-box:hover {
  border-color: var(--primary-green);
  background-color: #f0fdf4;
}

.cert-placeholder-box i {
  font-size: 3.2rem;
  color: #94a3b8;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.cert-placeholder-box:hover i {
  color: var(--primary-green);
}

.cert-placeholder-box .cert-title-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 6px;
}

.cert-placeholder-box .cert-hint {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Rechte Seite: Container mit Links */
.cert-links-side {
  display: flex;
  flex-direction: column;
}

.cert-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eaf8ec;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 14px;
}

.cert-links-side h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.cert-links-side .cert-desc {
  font-size: 0.96rem;
  line-height: 1.68;
  color: #475569;
  margin-bottom: 22px;
}

/* Container mit Links */
.cert-links-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cert-links-box-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cert-action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.cert-action-link:hover {
  background: #f0fdf4;
  border-color: #86efac;
  color: var(--primary-green);
  transform: translateX(4px);
}

.cert-action-link .link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-action-link .link-left i {
  color: var(--primary-green);
  font-size: 1.05rem;
  width: 18px;
  text-align: center;
}

.cert-action-link .link-arrow {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.cert-action-link:hover .link-arrow {
  color: var(--primary-green);
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .section-qualifikation-main {
    padding: 50px 0 60px 0;
  }
  
  .qualifikation-intro {
    margin-bottom: 35px;
  }

  .qualifikation-intro h2 {
    font-size: 1.75rem;
  }

  .qualifikation-pairs-list {
    gap: 32px;
  }

  .cert-pair-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 20px;
  }

  .cert-links-side h3 {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   Referenzen Page Layout (Container: Bild links, Text rechts, untereinander)
   ========================================================================== */
.section-referenzen-main {
  padding: 75px 0 85px 0;
  background-color: #f8fafc;
}

.referenzen-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px auto;
}

.referenzen-intro h2 {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.referenzen-intro p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.68;
}

/* Interaktive Filterleiste für Referenzen */
.referenzen-filter-wrapper {
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
}

/* Ohne Filter (z. B. noch keine Referenzen) keinen Leerraum erzeugen */
.referenzen-filter-wrapper:empty {
  display: none;
}

.referenzen-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.ref-filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.ref-filter-btn:hover {
  border-color: #cbd5e1;
  color: #0f172a;
  background: #f8fafc;
}

.ref-filter-btn.active {
  background: #179328;
  color: #ffffff;
  border-color: #179328;
  box-shadow: 0 4px 14px rgba(23, 147, 40, 0.25);
}

.ref-filter-btn .filter-count {
  font-size: 0.78rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
}

.ref-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.referenzen-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.referenzen-empty-state {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  padding: 60px 30px;
  text-align: center;
  color: #64748b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.referenzen-empty-state i {
  font-size: 3rem;
  color: #94a3b8;
  margin-bottom: 16px;
  display: block;
}

.referenzen-empty-state h3 {
  font-size: 1.4rem;
  color: #0f172a;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Bild-Frame für echte Referenz-Fotos */
.referenz-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.referenz-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Einzelner Referenz-Container */
.referenz-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 44px;
  align-items: center;
  background: #ffffff;
  padding: 38px 42px;
  border-radius: 26px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

/* Linke Seite: Bild / Platzhalter */
.referenz-image-side {
  width: 100%;
}

.referenz-placeholder-box {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  background: #f1f5f9;
  border: 2px dashed #94a3b8;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-align: center;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.referenz-placeholder-box:hover {
  border-color: var(--primary-green);
  background-color: #f0fdf4;
}

.referenz-placeholder-box i {
  font-size: 3rem;
  color: #94a3b8;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.referenz-placeholder-box:hover i {
  color: var(--primary-green);
}

.referenz-placeholder-box .referenz-placeholder-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 4px;
}

.referenz-placeholder-box .referenz-placeholder-hint {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Rechte Seite: Text */
.referenz-text-side {
  display: flex;
  flex-direction: column;
}

.referenz-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.referenz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eaf8ec;
  color: #15803d;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
}

.referenz-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 500;
}

.referenz-text-side h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.referenz-text-side p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #374151;
  margin-bottom: 18px;
}

.referenz-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.referenz-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: #334155;
}

.referenz-features-list li i {
  color: var(--primary-green);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .section-referenzen-main {
    padding: 50px 0 60px 0;
  }

  .referenzen-intro {
    margin-bottom: 35px;
  }

  .referenzen-intro h2 {
    font-size: 1.75rem;
  }

  .referenzen-list {
    gap: 30px;
  }

  .referenz-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 20px;
  }

  .referenz-text-side h3 {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   WLAN Page Layout (Matching Screenshots 1, 2, 3, 4, 5)
   ========================================================================== */
.section-wlan-main {
  padding: 70px 0 85px 0;
  background-color: #f8fafc;
}

.section-wlan-main .container {
  max-width: 1540px;
}

.wlan-container {
  display: flex;
  flex-direction: column;
  gap: 55px;
}

/* Screenshot 1: Wide Problem / Solution Intro Card */
.wlan-intro-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  padding: 46px 52px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.wlan-intro-card h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  line-height: 1.25;
}

.wlan-intro-card p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #374151;
  margin-bottom: 16px;
}

.wlan-intro-card p:last-child {
  margin-bottom: 0;
}

/* Screenshots 2, 3, 4: WLAN Technology Story Cards */
.wlan-story-card {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 52px;
  align-items: center;
  background: #ffffff;
  padding: 44px 48px;
  border-radius: 26px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.wlan-story-card.reversed {
  grid-template-columns: 1.18fr 1fr;
}

.wlan-image-placeholder-wrap {
  width: 100%;
}

.wlan-story-card .story-img-frame {
  max-width: 100%;
  aspect-ratio: 16 / 10.5;
}

.wlan-placeholder-box {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  background: #f1f5f9;
  border: 2px dashed #94a3b8;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-align: center;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.wlan-placeholder-box:hover {
  border-color: var(--primary-green);
  background-color: #f0fdf4;
}

.wlan-placeholder-box i {
  font-size: 2.8rem;
  color: #94a3b8;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.wlan-placeholder-box:hover i {
  color: var(--primary-green);
}

.wlan-placeholder-box .placeholder-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 4px;
}

.wlan-placeholder-box .placeholder-hint {
  font-size: 0.85rem;
  color: #94a3b8;
}

.wlan-story-text h2 {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  line-height: 1.25;
}

.wlan-story-text p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #374151;
  margin-bottom: 16px;
}

.wlan-feature-point {
  margin-bottom: 16px;
}

.wlan-feature-point strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.btn-wlan-angebote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #16a34a;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 28px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 8px;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-wlan-angebote:hover,
.btn-wlan-angebote:focus {
  background-color: var(--primary-green-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

/* ==========================================================================
   WLAN 3-Schritte Ablaufprozess (Premium Redesign)
   ========================================================================== */
.wlan-process-section {
  margin-top: 36px;
  margin-bottom: 20px;
}

.wlan-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wlan-process-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 28px 30px 28px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.wlan-process-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #16a34a;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.wlan-process-card h3 {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 22px 0;
  text-align: center;
}

.wlan-process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wlan-process-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 2px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.94rem;
  color: #334155;
  font-weight: 500;
}

.wlan-process-list li:last-child {
  border-bottom: none;
}

.wlan-process-list li i {
  color: #16a34a;
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.wlan-process-list .process-link {
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.wlan-process-list .process-link:hover {
  color: #179328;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .section-wlan-main {
    padding: 50px 0 60px 0;
  }

  .wlan-container {
    gap: 36px;
  }

  .wlan-intro-card {
    padding: 30px 22px;
  }

  .wlan-intro-card h2 {
    font-size: 1.65rem;
  }

  .wlan-story-card,
  .wlan-story-card.reversed {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 22px;
  }

  .wlan-story-card.reversed .wlan-story-text {
    order: 2;
  }

  .wlan-story-card.reversed .wlan-image-placeholder-wrap {
    order: 1;
  }

  .wlan-story-text h2 {
    font-size: 1.7rem;
  }

  .wlan-process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wlan-process-card {
    padding: 30px 22px;
  }
}

/* ==========================================================================
   WLAN Mesh Popup Modal (Scrollbares Popup für Angebote & Mesh-Lösung)
   ========================================================================== */
.wlan-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.wlan-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.wlan-modal-container {
  background: #f8fafc;
  border-radius: 28px;
  width: min(1740px, 97vw);
  max-width: 1740px;
  max-height: 93vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45);
  border: 1px solid #e2e8f0;
  transform: scale(0.96) translateY(14px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.wlan-modal-backdrop.is-open .wlan-modal-container {
  transform: scale(1) translateY(0);
}

.wlan-modal-header {
  padding: 24px 44px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.wlan-modal-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wlan-modal-header-title h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.wlan-modal-header-badge {
  display: none !important;
}

.wlan-modal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.wlan-modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

/* Scrollbarer Body des Popups */
.wlan-modal-body {
  padding: 38px 46px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overscroll-behavior: contain;
}

/* Scrollbar Styling für das Popup */
.wlan-modal-body::-webkit-scrollbar {
  width: 8px;
}

.wlan-modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 8px;
}

.wlan-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}

.wlan-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Einzelne Inhalts-Karten im Popup (Matching Screenshots 1, 2, 3) */
.mesh-modal-card {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 56px;
  align-items: center;
  background: #ffffff;
  padding: 44px 52px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.mesh-modal-card.reversed {
  grid-template-columns: 1.45fr 1fr;
}

.mesh-modal-card.reversed .modal-card-visual,
.mesh-modal-card.reversed .wlan-image-placeholder-wrap {
  order: 2;
}

.mesh-modal-card.reversed .card-text {
  order: 1;
}

.modal-card-visual {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.modal-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.modal-card-visual:hover img,
.modal-card-visual img:hover {
  transform: scale(1.04);
}

.mesh-modal-card .card-section-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 20px;
  margin-bottom: 8px;
}

.mesh-modal-card .card-text h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.25;
}

.mesh-wifi-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
}

.mesh-modal-card .card-text p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 14px;
}

.mesh-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mesh-specs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 500;
}

.mesh-specs-list li i {
  color: #0f172a;
  font-size: 0.95rem;
}

/* Preis-Pille: Schlichte Umrandung ohne Hover-Effekt */
.mesh-price-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: 2px solid #0f172a;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #0f172a;
  background: transparent;
  width: fit-content;
  text-decoration: none;
  transition: none;
}

.mesh-price-pill:hover,
.mesh-price-pill:focus,
.mesh-price-pill:active {
  background: transparent;
  color: #0f172a;
  border-color: #0f172a;
  transform: none;
  box-shadow: none;
}

.mesh-card-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-mesh-inquire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-green);
  color: #ffffff;
  padding: 9px 22px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-mesh-inquire:hover,
.btn-mesh-inquire:focus {
  background-color: var(--primary-green-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: none;
}

@media (max-width: 900px) {
  .wlan-modal-backdrop {
    padding: 12px;
  }

  .wlan-modal-container {
    max-height: 94vh;
    border-radius: 20px;
  }

  .wlan-modal-header {
    padding: 16px 20px;
  }

  .wlan-modal-body {
    padding: 18px 14px;
    gap: 18px;
  }

  .mesh-modal-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 18px;
  }

  .mesh-modal-card .card-text h3 {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   DSGVO Cookie Consent Banner (Unten rechts, dezent & rechtskonform)
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: min(440px, calc(100vw - 32px));
  z-index: 99990;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.22), 0 0 1px 1px rgba(0, 0, 0, 0.05);
  font-family: var(--font-body);
  transform: translateY(120%) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.cookie-consent-banner.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-banner-content {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(23, 147, 40, 0.1);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.cookie-banner-subtitle {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cookie-banner-desc {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

.cookie-details-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 4px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.cookie-category-item {
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.cookie-category-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.cookie-category-label input[type="checkbox"] {
  accent-color: var(--primary-green);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.cookie-cat-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  text-transform: uppercase;
}

.cookie-cat-status.required {
  background: rgba(23, 147, 40, 0.12);
  color: var(--primary-green);
}

.cookie-category-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.cookie-banner-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
}

.cookie-banner-links a {
  color: #475569;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-banner-links a:hover {
  color: var(--primary-green);
}

.cookie-links-sep {
  color: #cbd5e1;
}

.cookie-details-toggle-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary-green);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.cookie-details-toggle-btn:hover {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.btn-cookie {
  flex: 1;
  padding: 11px 16px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

/* Gleichwertige Buttons ohne Dark Pattern */
/* "Ablehnen" ist gleichwertig zu "Alle akzeptieren" gestaltet (keine optische Lenkung) */
.btn-cookie-reject {
  background: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(23, 147, 40, 0.25);
}

.btn-cookie-reject:hover {
  background: var(--primary-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(23, 147, 40, 0.35);
}

.btn-cookie-accept {
  background: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(23, 147, 40, 0.25);
}

.btn-cookie-accept:hover {
  background: var(--primary-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(23, 147, 40, 0.35);
}

.btn-cookie-save {
  background: #0f172a;
  color: #ffffff;
}

.btn-cookie-save:hover {
  background: #1e293b;
}

/* Floating Reopen Trigger Button */
.cookie-reopen-trigger {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 9998;
  transition: all 0.25s ease;
  opacity: 0.85;
}

.cookie-reopen-trigger:hover {
  opacity: 1;
  transform: scale(1.08);
  color: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    padding: 18px 20px;
  }
  
  .cookie-banner-actions {
    flex-direction: column-reverse;
  }
  
  .btn-cookie {
    width: 100%;
  }

  .cookie-reopen-trigger {
    bottom: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Liquid Glass Buttons (Universal Premium Hover & No-Glow Architecture)
   ========================================================================== */
.btn-wlan-angebote,
.btn-security-action,
.btn-mesh-inquire,
.btn-cta-green,
.btn-story-green,
.btn-cta-primary,
.btn-hero-green,
.btn-kontakt,
.btn-service-details,
.btn-submit-form,
.menze-route,
.btn-pillar-primary {
  box-shadow: none !important;
  text-shadow: none;
}

.btn-wlan-angebote:hover,
.btn-wlan-angebote:focus,
.btn-security-action:hover,
.btn-security-action:focus,
.btn-mesh-inquire:hover,
.btn-mesh-inquire:focus,
.btn-cta-green:hover,
.btn-cta-green:focus,
.btn-story-green:hover,
.btn-story-green:focus,
.btn-cta-primary:hover,
.btn-cta-primary:focus,
.btn-hero-green:hover,
.btn-hero-green:focus,
.btn-kontakt:hover,
.btn-kontakt:focus,
.btn-service-details:hover,
.btn-service-details:focus,
.btn-submit-form:hover,
.btn-submit-form:focus,
.menze-route:hover,
.menze-route:focus,
.btn-pillar-primary:hover,
.btn-pillar-primary:focus {
  background: var(--primary-green-hover, #107220) !important;
  background-color: var(--primary-green-hover, #107220) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}

/* Inline Cookie Manage Button (Datenschutz & Impressum) */
.btn-cookie-manage-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cookie-manage-inline i {
  color: var(--primary-green);
  font-size: 1rem;
  transition: color 0.2s ease;
}

.btn-cookie-manage-inline:hover,
.btn-cookie-manage-inline:focus {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-cookie-manage-inline:hover i,
.btn-cookie-manage-inline:focus i {
  color: var(--primary-green-hover, #107220);
}

/* ==========================================================================
   UNIVERSAL IMAGE HOVER ZOOM EFFECT
   Applies smooth, subtle zoom-in on hover to all content images across all pages,
   matching the SmartHome page implementation.
   ========================================================================== */

/* 1. Ensure all visual wrappers prevent overflow and clip rounded corners */
.story-img-frame,
.story-image-wrap,
.service-visual,
.image-frame,
.detail-visual .image-frame,
.pillar-image-wrap,
.card-bg-wrap,
.security-showcase-visual,
.camera-collage-container,
.alarm-comp-img-wrap,
.smarthome-story-visual,
.modal-card-visual,
.glasfaser-image-placeholder-wrap,
.wlan-image-placeholder-wrap,
.referenz-image-side,
.cert-image-side,
.info-image-placeholder-wrap {
  overflow: hidden;
}

/* 2. Smooth transition on all content images */
.story-img,
.story-img-frame img,
.story-image-wrap img,
.service-img,
.image-frame img,
.detail-visual img,
.pillar-image-wrap img,
.card-bg-wrap img,
.security-showcase-visual img,
.camera-collage-container img,
.alarm-comp-img-wrap img,
.smarthome-story-img,
.smarthome-story-visual img,
.smarthome-category-card-bg,
.modal-card-visual img,
.glasfaser-image-placeholder-wrap img,
.wlan-image-placeholder-wrap img,
.referenz-image-side img,
.cert-image-side img,
.info-image-placeholder-wrap img,
.referenz-card img,
.cert-pair-card img,
.service-detail-grid img {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

/* 3. Universal Hover Zoom Trigger - ONLY on direct image or image frame (never on text or surrounding block) */
.story-img-frame:hover .story-img,
.story-img:hover,
.image-frame:hover img,
.image-frame img:hover,
.service-img:hover,
.detail-visual:hover img,
.detail-visual img:hover,
.pillar-image-wrap:hover img,
.pillar-image-wrap img:hover,
.security-showcase-visual:hover img,
.security-showcase-visual img:hover,
.camera-collage-container:hover img,
.camera-collage-container img:hover,
.alarm-comp-img-wrap:hover img,
.alarm-comp-img-wrap img:hover,
.smarthome-story-visual:hover .smarthome-story-img,
.smarthome-story-img:hover,
.smarthome-category-card:hover .smarthome-category-card-bg,
.modal-card-visual:hover img,
.modal-card-visual img:hover,
.glasfaser-image-placeholder-wrap:hover img,
.glasfaser-image-placeholder-wrap img:hover,
.wlan-image-placeholder-wrap:hover img,
.wlan-image-placeholder-wrap img:hover,
.referenz-image-side:hover img,
.referenz-image-side img:hover,
.cert-image-side:hover img,
.cert-image-side img:hover,
.dguv-card-img-wrap:hover img,
.dguv-card-img-wrap img:hover,
.info-image-placeholder-wrap:hover img,
.info-image-placeholder-wrap img:hover {
  transform: scale(1.04);
}

/* 4. Strict exclusion for non-content visuals (Logos, Icons, Hero background) */
.hero-bg-image,
.official-logo-img,
.header-logo img,
.logo-svg,
.site-logo,
.partner-logo-area img,
header img,
footer .official-logo-img {
  transform: none !important;
}

/* ==========================================================================
   Kundenumfrage / Feedback Card
   ========================================================================== */
.kundenumfrage-card {
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border-radius: 26px;
  padding: 55px 60px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .kundenumfrage-card {
    padding: 35px 22px;
    border-radius: 20px;
  }
}










/* ==========================================================================
   Einheitlicher Abstand zwischen Titelbild und erstem Inhaltsblock
   (Unterseiten; Maß wie auf der DGUV-3-Seite)
   ========================================================================== */
.page-hero-banner + section,
.kontakt-hero + section {
  padding-top: 75px !important;
}

@media (max-width: 768px) {
  .page-hero-banner + section,
  .kontakt-hero + section {
    padding-top: 50px !important;
  }
}

/* ==========================================================================
   Handys: Überschrift "Menze Informationstechnik" ohne Wortbruch
   ========================================================================== */
@media (max-width: 640px) {
  .hero-title {
    font-size: min(2.3rem, 8.4vw);
  }
}

/* Handys: Formularfelder mind. 16px, sonst zoomt das iPhone beim Antippen hinein */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Handys: Wechselndes Wort im Titelbild immer in eigener Zeile,
   damit die Knöpfe darunter beim Wortwechsel nicht springen (CLS) */
@media (max-width: 768px) {
  .typing-text-wrap {
    display: block;
    min-height: 1.5em;
  }
  .hero-subtitle {
    min-height: 3em;
  }
}

/* Handys: kleineres Hintergrundbild im Kontakt-Banner */
@media (max-width: 900px) {
  .cta-banner-card {
    background-image: linear-gradient(rgba(10, 16, 12, 0.65), rgba(10, 16, 12, 0.72)),
                      url('images/Start Bild-900.webp');
  }
}

/* Handys: Logo, Kontakt-Knopf und Menü mit Luft nebeneinander */
@media (max-width: 480px) {
  .official-logo-img {
    height: 38px;
  }

  .header-action {
    gap: 12px;
  }

  .header-action .btn-kontakt {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Sehr kleine Handys (bis 359px Breite, z. B. iPhone SE 1. Gen.)
   ========================================================================== */
@media (max-width: 359px) {
  /* Kontakt-Knopf im Kopf ausblenden – steht im Menü als "Kontakt anfragen" */
  .header-action .btn-kontakt {
    display: none;
  }

  /* Lange Wörter sauber umbrechen statt über den Rand zu ragen */
  h2, h3, .story-heading {
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .story-heading {
    font-size: 1.55rem;
  }
}

/* ==========================================================================
   404 – Seite nicht gefunden
   ========================================================================== */
.section-404 {
  padding: 75px 0 90px 0;
  background-color: #ffffff;
}

.notfound-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  padding: 48px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.notfound-code {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: #16a34a;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.notfound-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.notfound-text {
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  max-width: 560px;
  margin: 0 auto 28px auto;
}

.notfound-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.notfound-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.notfound-link i {
  color: #16a34a;
}

.notfound-link:hover {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #15803d;
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.notfound-secondary {
  color: #16a34a;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .notfound-card {
    padding: 32px 20px;
  }
  .notfound-code {
    font-size: 3.4rem;
  }
  .notfound-title {
    font-size: 1.35rem;
  }
  .notfound-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Apple-Karte: Platzhalter bis zur Einwilligung
   ========================================================================== */
.map-consent-placeholder {
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 28px 24px;
  background: #f1f5f9;
  color: #334155;
}

.map-consent-placeholder > i {
  font-size: 2rem;
  color: #16a34a;
}

.map-consent-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #0f172a;
  margin: 0;
}

.map-consent-text,
.map-consent-hint {
  max-width: 420px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.map-consent-text a {
  color: #16a34a;
  text-decoration: underline;
}

.map-consent-hint {
  font-size: 0.78rem;
  color: #64748b;
}

.map-consent-btn {
  margin: 6px 0;
  padding: 11px 26px;
  border: none;
  border-radius: 999px;
  background: var(--primary-green);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.map-consent-btn:hover {
  background: var(--primary-green-hover);
}

/* Footer-Link "Cookie-Einstellungen" (Knopf, der wie ein Link aussieht) */
.footer-cookie-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.footer-cookie-link:hover {
  text-decoration: underline;
}
