/*
Theme Name: BavariaBau
Theme URI: https://bavariabau.de
Author: BavariaBau
Author URI: https://bavariabau.de
Description: Professionelles WordPress-Theme für BavariaBau – Komplettservice für Immobilienpflege in Augsburg & Donau-Ries. Steinreinigung, Dachreinigung, Fassadenarbeiten und Gartenarbeiten.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bavariabau
Tags: one-page, business, custom-colors, custom-logo, full-width-template, responsive-layout
*/

:root {
  --primary: #1c7ab8;
  --primary-dark: #145a8a;
  --primary-light: #2a90d4;
  --primary-glow: rgba(28, 122, 184, 0.15);
  --accent: #e8a838;
  --accent-dark: #c88d2a;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --gray-50: #f0f3f7;
  --gray-100: #e2e7ef;
  --gray-200: #c5cdd8;
  --gray-300: #98a5b5;
  --gray-400: #6b7a8d;
  --gray-500: #4a5568;
  --gray-600: #2d3748;
  --gray-700: #1a2332;
  --gray-800: #0f1720;
  --dark: #0c1219;
  --shadow-sm: 0 1px 3px rgba(12,18,25,0.08);
  --shadow-md: 0 4px 16px rgba(12,18,25,0.1);
  --shadow-lg: 0 8px 32px rgba(12,18,25,0.14);
  --shadow-xl: 0 16px 48px rgba(12,18,25,0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-800);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================
   LOADING SCREEN
   ================================================ */

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav-logo img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-800);
  transition: color var(--transition-smooth);
}

.nav-links {
  display: none;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--gray-500);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-smooth);
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  display: none;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px !important;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 100px;
  border: 2px solid transparent;
  line-height: 1;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(28,122,184,0.35);
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  padding: 8px 16px;
  transition: color var(--transition-fast);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary-light);
}

/* ================================================
   NAV DROPDOWN (Desktop) — Full Width Mega Menu
   ================================================ */
.nav-dropdown-wrap {
  position: static;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

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

.nav-dropdown-wrap:hover .nav-dropdown-arrow,
.nav-dropdown-wrap.dropdown-open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: fixed;
  top: var(--nav-height, 72px);
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 8px 40px rgba(12,18,25,0.12);
  border-top: 3px solid var(--primary);
  padding: 32px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateY(-8px);
  z-index: 1010;
}

/* Brücke im Dropdown selbst: pseudoelement oben damit hover nicht abbricht */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 24px;
}

.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap.dropdown-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* top wird per JS via --nav-height gesetzt */

/* Grid-Layout für die Links */
.nav-dropdown-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.nav-dropdown li {
  list-style: none;
}

.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600) !important;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.nav-dropdown li a::after {
  display: none !important;
}

.nav-dropdown li a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary-glow, rgba(28,122,184,0.08));
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.nav-dropdown li a:hover {
  background: var(--off-white);
  color: var(--primary) !important;
}

.nav-dropdown li a:hover i {
  background: var(--primary);
  color: var(--white);
}

/* Footer-Zeile im Dropdown */
.nav-dropdown-footer {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 16px 32px 0;
  border-top: 1px solid var(--gray-100);
}

.nav-dropdown-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary) !important;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav-dropdown-all::after { display: none !important; }

.nav-dropdown-all:hover {
  background: var(--primary-glow, rgba(28,122,184,0.08));
}

.nav-dropdown-all .fa-arrow-right {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown-all:hover .fa-arrow-right {
  transform: translateX(3px);
}

/* ================================================
   MOBILE MENU DROPDOWN
   ================================================ */
.mobile-menu-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.mobile-menu-dropdown-toggle {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  transition: color var(--transition-fast);
}

.mobile-menu-dropdown-toggle i {
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.mobile-menu-dropdown-toggle.open i {
  transform: rotate(180deg);
}

.mobile-menu-dropdown-toggle:hover {
  color: var(--primary-light);
}

.mobile-menu-dropdown-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  width: 100%;
}

.mobile-menu-dropdown-list.open {
  max-height: 600px;
}

.mobile-menu-dropdown-list a {
  font-size: 1.1rem !important;
  padding: 6px 16px !important;
  color: rgba(255,255,255,0.75) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-dropdown-list a i {
  color: var(--primary-light);
  width: 18px;
  text-align: center;
}

.mobile-menu-dropdown-list a:hover {
  color: var(--white) !important;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .hamburger { display: none; }
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

@media (max-width: 768px) {
  .hero-bg img {
    object-position: right center;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(12,18,25,-1.15) 0%, rgba(28,122,184,0.2) 100%),
    linear-gradient(to top, rgba(12,18,25,0.9) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28,122,184,0.15);
  border: 1px solid rgba(28,122,184,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease 0.1s forwards;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-light);
}

.hero-badge span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero h1 .highlight {
  color: var(--primary-light);
  position: relative;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease 0.3s forwards;
}

/* ── Frontpage-only hero slide animations ── */
.home .hero h1 {
  transform: translateX(-60px);
  animation: slideInLeft 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.home .hero-sub {
  transform: translateX(60px);
  animation: slideInRight 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease 0.45s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28,122,184,0.35);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-outline svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  animation: fadeUp 0.6s ease 0.6s forwards;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.hero-stat-num i {
  font-size: 0.65em;
  vertical-align: center;
}

.hero-stat-label i {
  color: var(--accent);
  font-size: 0.75rem;
  margin-right: 4px;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar {
  background: var(--gray-800);
  padding: 24px 0;
  overflow: hidden;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.trust-item i {
  color: var(--primary-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-item span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

/* ================================================
   SECTION STYLES
   ================================================ */
.section {
  padding: 80px 0;
}

.section-lg {
  padding: 100px 0;
}

.section-dark {
  background: var(--gray-800);
  color: rgba(255,255,255,0.8);
}

.section-blue {
  background: linear-gradient(135deg, #1c7ab8 0%, #145a8a 100%);
  color: rgba(255,255,255,0.85);
}

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

.section-blue .section-label {
  color: #fff;
}

.section-blue .section-label i {
  color: #fff;
}

.section-blue .section-header p {
  color: rgba(255,255,255,0.75);
}

#warum {
  background: linear-gradient(135deg, #1c7ab8 0%, #145a8a 100%);
}

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

.section-alt {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-label svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

.section-dark .section-label {
  color: #fff;
}

.section-dark .section-label svg {
  fill: #fff;
}

.section-dark .section-label i {
  color: #fff;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-400);
  line-height: 1.7;
}

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

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-img-badge .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-img-badge .label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 4px;
}

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-feature svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
  padding: 16px 0 40px;
  display: flex;
  gap: 24px;
}

.marquee-track {
  display: flex;
  gap: 24px;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ===== SERVICES HORIZONTAL SCROLL ===== */
.services-scroll-outer {
  position: relative;
}

.services-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height, 72px) + 32px) 0 24px;
  background: var(--off-white);
}

.services-sticky .section-header {
  margin-bottom: 36px;
}

.services-track-outer {
  overflow: hidden;
  width: 100%;
}

.services-track {
  display: flex;
  gap: 24px;
  padding: 8px 24px 16px;
  will-change: transform;
}

.services-scroll-progress {
  height: 3px;
  background: var(--gray-100);
  margin: 16px 24px 0;
  border-radius: 99px;
  overflow: hidden;
}

.services-scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 99px;
  transition: width 0.05s linear;
}

@media (max-width: 767px) {
  .services-scroll-outer {
    height: auto !important;
  }

  .services-sticky {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 60px 0 40px;
  }

  .services-track-outer {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 24px;
  }

  .services-track-outer::-webkit-scrollbar {
    display: none;
  }

  .services-track {
    padding: 8px 0 16px 24px;
  }

  .services-track::after {
    content: '';
    display: block;
    min-width: 24px;
    flex-shrink: 0;
  }

  .service-card {
    width: min(320px, 82vw);
    scroll-snap-align: start;
  }

  .services-scroll-progress {
    display: none;
  }
}

.service-card {
  position: relative;
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-smooth);
  overflow: hidden;
  cursor: default;
  width: clamp(280px, 40vw, 560px);
  flex-shrink: 0;
}

.service-img {
  width: calc(100% + 56px);
  height: 230px;
  margin: -36px -28px 20px -28px;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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


.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

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

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


.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.service-detail-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-detail-list li {
  font-size: 0.8rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-detail-list li svg {
  width: 12px;
  height: 12px;
  fill: var(--primary);
  flex-shrink: 0;
}

/* ================================================
   PORTFOLIO / GALLERY
   ================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item:nth-child(1) {
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,18,25,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.gallery-overlay span {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}

.gallery-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-smooth);
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

.gallery-zoom svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ================================================
   PROBLEM-SOLUTION SECTION
   ================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.problem-card {
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition-smooth);
}

.problem-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.problem-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(28,122,184,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-card .icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-light);
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.testimonial-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-smooth);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  font-size: 14px;
  color: var(--accent);
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-info .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.testimonial-info .role {
  font-size: 0.8rem;
  color: var(--gray-300);
}

.testimonial-quote-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.06;
}

.testimonial-quote-icon svg {
  width: 48px;
  height: 48px;
  fill: var(--gray-800);
}

/* ================================================
   TEAM SECTION
   ================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

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

.team-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
}

.team-img svg {
  width: 36px;
  height: 36px;
  opacity: 1;
}

.team-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.8rem;
  color: var(--gray-300);
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ================================================
   FAQ SECTION
   ================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  background: var(--white);
}

.faq-item:hover {
  border-color: var(--gray-200);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: left;
  gap: 16px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: var(--gray-300);
  flex-shrink: 0;
  transition: all var(--transition-smooth);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
  fill: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ================================================
   BLOG / NEWS
   ================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.06);
}

.blog-body {
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.blog-meta span {
  font-size: 0.75rem;
  color: var(--gray-300);
  font-weight: 500;
}

.blog-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.blog-body p {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition-fast);
}

.blog-link:hover {
  gap: 10px;
}

.blog-link svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--primary);
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 50%, var(--white) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--white) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--white);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-white svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--gray-400);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

.contact-detail-text .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-300);
  margin-bottom: 2px;
}

.contact-detail-text a,
.contact-detail-text p {
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 500;
}

.contact-detail-text a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-200);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(28,122,184,0.35);
}

.form-submit svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.form-note {
  font-size: 0.75rem;
  color: var(--gray-300);
  margin-top: 12px;
  text-align: center;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-fast);
}

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

.footer-legal {
  display: flex;
  gap: 24px;
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================
   BACK TO TOP
   ================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ================================================
   IMPRESSUM / DATENSCHUTZ MODALS
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  padding: 24px;
  backdrop-filter: blur(4px);
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.modal h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.modal p, .modal li {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 12px;
}

.modal h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 12px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--gray-50);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: var(--gray-100);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  fill: var(--gray-500);
}

/* ================================================
   RESPONSIVE UTILITIES
   ================================================ */
@media (max-width: 639px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .hero-stat-label {
    font-size: 0.7rem;
  }
  .contact-form {
    padding: 24px;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LEISTUNGS-SEITEN STYLES
   ============================================================ */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--gray-700) 0%, var(--gray-600) 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.15;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-icon {
  display: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: var(--white);
  font-size: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: 1.125rem;
  color: var(--gray-200);
  max-width: 600px;
  margin: 0 auto;
}

/* Leistung Content Grid */
.leistung-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.leistung-main-content {
  flex: 1;
}

.content-block {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 16px;
  margin-top: 32px;
}

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

.content-block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-top: 24px;
  margin-bottom: 12px;
}

.content-block p {
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-block ul, .content-block ol {
  margin: 16px 0;
  padding-left: 20px;
}

.content-block li {
  color: var(--gray-500);
  margin-bottom: 8px;
  line-height: 1.6;
}

.leistung-features-box {
  background: var(--off-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
}

.leistung-features-box h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.leistung-features-box h3 i {
  color: var(--primary);
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.feature-list i {
  color: var(--primary);
  font-size: 1.125rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-list span {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Sidebar */
.leistung-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.sidebar-box h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-box h4 i {
  color: var(--primary);
}

.sidebar-box p {
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
}

.sidebar-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-size: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.sidebar-contact {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
}

.sidebar-contact h4,
.sidebar-contact p {
  color: var(--white);
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

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

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.benefits-list i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.benefits-list span {
  color: var(--gray-600);
  line-height: 1.5;
  font-size: 0.9375rem;
}

.sidebar-leistungen-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.sidebar-leistungen-list li {
  margin-bottom: 8px;
}

.sidebar-leistungen-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.sidebar-leistungen-list a:hover {
  background: var(--off-white);
  color: var(--primary);
}

.sidebar-leistungen-list i {
  font-size: 0.875rem;
  color: var(--primary);
}

/* Leistungen Übersicht */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.leistung-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.leistung-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.leistung-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-size: 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.leistung-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 12px;
  line-height: 1.3;
}

.leistung-card-description {
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.leistung-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.leistung-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.leistung-card-features i {
  color: var(--primary);
  font-size: 0.875rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.leistung-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.leistung-card-link:hover {
  color: var(--primary-dark);
  gap: 12px;
}

.leistung-card-link i {
  font-size: 0.875rem;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

/* Leistungen Overview Sections */
.leistung-overview-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.leistung-overview-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .leistung-overview-inner {
    grid-template-columns: 1fr 1fr;
  }

  .leistung-overview-reverse .leistung-overview-img {
    order: 2;
  }

  .leistung-overview-reverse .leistung-overview-content {
    order: 1;
  }
}

.leistung-overview-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}

.leistung-overview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.leistung-overview-img:hover img {
  transform: scale(1.04);
}

.leistung-overview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-size: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.leistung-overview-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.2;
}

.leistung-overview-content > p {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 1.0625rem;
}

.leistung-overview-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.leistung-overview-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--gray-600);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--gray-100);
}

.leistung-overview-features li:last-child {
  border-bottom: none;
}

.leistung-overview-features i {
  color: var(--primary);
  font-size: 0.875rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Icon Box */
.icon-box {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.icon-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.icon-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
  font-size: 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.icon-box-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.icon-box-description {
  color: var(--gray-500);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 64px 48px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-box-content {
  position: relative;
  z-index: 2;
}

.cta-box-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.section-cta {
  padding: 60px 0;
}

.section-cta.section-dark {
  background: var(--gray-800);
}

/* Intro Content */
.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Responsive für Leistungs-Seiten */
@media (max-width: 1024px) {
  .leistung-content-grid {
    grid-template-columns: 1fr;
  }
  
  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 80px 0 60px;
  }
  
  .page-hero-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }
  
  .content-block {
    padding: 28px;
  }
  
  .leistung-features-box {
    padding: 24px;
  }
  
  .sidebar-box {
    padding: 24px;
  }
  
  .leistungen-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cta-box {
    padding: 48px 32px;
  }
}

@media (max-width: 480px) {
  .content-block {
    padding: 20px;
  }
  
  .leistung-features-box {
    padding: 20px;
  }
  
  .sidebar-box {
    padding: 20px;
  }
  
  .cta-box {
    padding: 32px 20px;
  }
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 4px solid var(--primary);
  transition: var(--transition-fast);
}

.process-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.process-step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

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

.process-step-content p {
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================================
   WHY US GRID
   ============================================================ */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.why-us-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.why-us-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-glow);
}

.why-us-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.why-us-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 10px;
}

.why-us-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   IMAGE GALLERY PLACEHOLDER
   ============================================================ */
.image-gallery-placeholder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

/* Leistung Gallery (echte Bilder) */
.leistung-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.leistung-gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.leistung-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.leistung-gallery-item:hover img {
  transform: scale(1.05);
}

.leistung-gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(12,18,25,0.85) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
}

.image-placeholder {
  background: var(--gray-50);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  transition: var(--transition-fast);
}

.image-placeholder:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
}

.image-placeholder i {
  font-size: 2.5rem;
  color: var(--gray-300);
  margin-bottom: 12px;
  display: block;
}

.image-placeholder p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .image-gallery-placeholder {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .why-us-grid {
    gap: 14px;
  }
}

/* ============================================================
   LEGAL PAGES (Impressum & Datenschutz)
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-section p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.legal-section a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.legal-section ul, .legal-section ol {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-section li {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .legal-content {
    padding: 24px 20px;
  }
  
  .legal-section h2 {
    font-size: 1.5rem;
  }
}

/* ================================================
   PAGE HERO WITH BACKGROUND IMAGE
   ================================================ */
.page-hero-with-img {
  position: relative;
  background: var(--dark);
  padding: 140px 0 100px;
}

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

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(12,18,25,0.8) 0%, rgba(28,122,184,0.15) 100%),
    linear-gradient(to top, rgba(12,18,25,0.8) 0%, transparent 60%);
}

.page-hero-with-img .container {
  position: relative;
  z-index: 3;
}

.page-hero-with-img .page-hero-content {
  text-align: center;
}

.page-hero-with-img .page-hero-icon {
  background: rgba(28,122,184,0.25);
  border: 2px solid rgba(28,122,184,0.4);
  color: var(--primary-light);
}

.page-hero-with-img .page-hero-title {
  color: var(--white);
}

.page-hero-with-img .page-hero-subtitle {
  color: rgba(255,255,255,0.75);
}

.page-hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeUpCenter 0.8s ease 0.6s both;
}

@keyframes fadeUpCenter {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.page-hero-scroll-hint svg {
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ================================================
   ÜBER UNS PAGE
   ================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.stat-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all var(--transition-smooth);
}

.value-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(28,122,184,0.3);
  transform: translateY(-4px);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(28,122,184,0.2);
  color: var(--primary-light);
  font-size: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.value-card p {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0;
}

.ueber-uns-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ueber-uns-gallery-item {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.ueber-uns-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.ueber-uns-gallery-item:hover img {
  transform: scale(1.05);
}

.ueber-uns-gallery-item .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(12,18,25,0.9) 0%, transparent 100%);
  transform: translateY(0);
}

.ueber-uns-gallery-item .gallery-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.ueber-uns-gallery-item .gallery-overlay span {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
}

/* ================================================
   REFERENZEN PAGE
   ================================================ */
.referenzen-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.ref-stat {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  transition: background var(--transition-fast);
}

.ref-stat:last-child {
  border-right: none;
}

.ref-stat:hover {
  background: var(--gray-50);
}

.ref-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ref-stat-num .fa-star {
  font-size: 1.5rem;
  color: var(--primary);
}

.ref-stat-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
}

.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .referenzen-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-stat {
    padding: 28px 20px;
  }
  .ref-stat:nth-child(2) {
    border-right: none;
  }
  .ref-stat:nth-child(1),
  .ref-stat:nth-child(2) {
    border-bottom: 1px solid var(--gray-100);
  }
  .ref-stat:nth-child(3) {
    border-right: 1px solid var(--gray-100);
  }
  .ref-stat-num {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .ref-stat {
    padding: 20px 12px;
  }
  .ref-stat-num {
    font-size: 1.6rem;
  }
}

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

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .referenzen-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-with-img {
    padding: 100px 0 70px;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stat-card {
    padding: 24px 16px;
  }
  .stat-num {
    font-size: 2.25rem;
  }
  .ueber-uns-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* ================================================
   KONTAKT PAGE — MAP
   ================================================ */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  display: block;
}

.section-map-fullwidth {
  padding-top: 60px;
  padding-bottom: 0;
}

.section-map-fullwidth iframe {
  display: block;
  width: 100%;
}
