/* ============================================
   CF DIENSTE - PREMIUM LANDSCAPING WEBSITE CSS
   Professional Nature Design System
   Deep Forest Green + Warm Earth Accents + Bright Orange CTAs
   ============================================ */

/* ============================================
   1. FONT FACES
   ============================================ */

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   2. CSS CUSTOM PROPERTIES - DESIGN TOKENS
   ============================================ */

:root {
  /* Colors - Solar Blue + Gold (Solarparkpflege) */
  --color-primary: #1a2e44;         /* Nachtblau */
  --color-primary-light: #2c4f73;   /* Stahlblau (Logo) */
  --color-primary-dark: #0f1b2d;    /* Midnight Blue */
  --color-accent: #2c4f73;          /* Stahlblau Akzent */
  --color-accent-light: #3d6a96;    /* Helleres Stahlblau */
  --color-cta: #f0a500;             /* Gold/Sonnenenergie */
  --color-cta-hover: #d89400;       /* Dunkleres Gold hover */
  --color-bg: #f5f5f5;              /* Helles Grau */
  --color-bg-alt: #f0f4f8;          /* Bläuliches Hellgrau */
  --color-text: #1a2e44;            /* Nachtblau Text */
  --color-text-light: #5a7a9a;      /* Gedämpftes Blau */
  --color-border: #d0dce8;          /* Blaugrau Border */
  --color-white: #ffffff;

  /* Typography */
  --font-body: 'Inter', 'Open Sans', system-ui, sans-serif;
  --font-heading: 'Outfit', 'Montserrat', system-ui, sans-serif;
  --font-size-xs: 0.8rem;
  --font-size-sm: 0.938rem;
  --font-size-base: 1.063rem;
  --font-size-lg: 1.188rem;
  --font-size-xl: 1.375rem;
  --font-size-2xl: 1.625rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.25rem;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-base: 1.5rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 30px rgba(44, 79, 115, 0.35);
  --shadow-glow-green: 0 0 20px rgba(26, 46, 68, 0.2);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* Z-Index */
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-modal: 30;
  --z-topbar: 25;
  --z-navbar: 25;
}

/* ============================================
   3. RESET & BASE STYLES
   ============================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

svg {
  display: inline-block;
  vertical-align: middle;
}

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

a:hover {
  color: var(--color-cta);
}

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

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-primary-dark);
}

h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-base);
}

h3 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-base);
}

h4 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

h5 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

h6 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: var(--space-base);
  color: var(--color-text);
}

strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

em {
  font-style: italic;
}

/* ============================================
   4. ANIMATION KEYFRAMES
   ============================================ */

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes blurFadeIn {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

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

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

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(44, 79, 115, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(44, 79, 115, 0.6);
  }
}

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

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

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.95);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes underlineSlide {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ============================================
   5. UTILITY CLASSES
   ============================================ */

/* Animation on Scroll Utility */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Animations */
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }
.stagger-5 { transition-delay: 500ms; }
.stagger-6 { transition-delay: 600ms; }

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, #f0a500, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism */
.glass {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

/* Hover Glow Effect */
.hover-glow {
  transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(44, 79, 115, 0.4);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section-padding {
  padding: var(--space-2xl) 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  animation: fadeUpIn 600ms ease-out;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  margin-top: var(--space-sm);
}

.section-badge {
  display: inline-block;
  background-color: rgba(44, 79, 115, 0.1);
  color: #f0a500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

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

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

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.flex {
  display: flex;
}

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

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

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-sm { gap: var(--space-sm); }
.gap-base { gap: var(--space-base); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-base { margin-top: var(--space-base); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-base { margin-bottom: var(--space-base); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }

/* Text Utilities */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }

.font-body { font-family: var(--font-body); }
.font-heading { font-family: var(--font-heading); }

.font-regular { font-weight: var(--font-weight-regular); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-cta { color: var(--color-cta); }
.text-white { color: var(--color-white); }
.text-light { color: var(--color-text-light); }

/* Display Utilities */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* ============================================
   6. TOPBAR
   ============================================ */

.topbar {
  background: linear-gradient(90deg, #0f1b2d 0%, #1a2e44 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.6rem 0;
  font-size: var(--font-size-xs);
  border-bottom: none;
  position: relative;
  z-index: var(--z-topbar);
  letter-spacing: 0.03em;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-lg);
}

.topbar__content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.topbar__link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-white);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--transition-base);
}

.topbar__link:hover {
  border-bottom-color: var(--color-accent);
}

.topbar__icon {
  width: 16px;
  height: 16px;
}

.topbar__text {
  color: var(--color-white);
}

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

/* ============================================
   7. NAVBAR
   ============================================ */

.navbar {
  background-color: rgba(245, 245, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 46, 68, 0.08);
  position: sticky;
  top: 0;
  z-index: var(--z-navbar);
  box-shadow: none;
  transition: all var(--transition-base);
}

.navbar--scrolled {
  box-shadow: 0 4px 30px rgba(26, 46, 68, 0.1);
  background-color: rgba(245, 245, 245, 0.98);
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem clamp(2rem, 5vw, 5rem);
  max-width: none;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-name__accent {
  color: var(--color-accent);
}

.brand-logo--footer {
  height: 56px;
  filter: brightness(2) contrast(1.2);
  opacity: 1;
}

.navbar__menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.navbar__item {
  list-style: none;
}

.navbar__link {
  position: relative;
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  font-family: var(--font-heading);
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
  letter-spacing: 0.02em;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cta), var(--color-accent));
  transition: width var(--transition-base);
  border-radius: 2px;
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__link:hover {
  color: var(--color-accent);
}

.navbar__link.is-active {
  color: var(--color-accent);
}

.navbar__link.is-active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition-base);
  display: block;
}

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

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

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

@media (max-width: 768px) {
  .navbar__menu {
    display: none;
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-md);
    background-color: var(--color-white);
    backdrop-filter: blur(10px);
    z-index: 15;
    animation: fadeInRight var(--transition-base);
  }

  .navbar__menu.is-open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* ============================================
   8. HERO SECTION
   ============================================ */

.hero {
  min-height: 60vh;
  background: linear-gradient(135deg, #0f1b2d 0%, #1a2e44 40%, #2c4f73 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--space-xl) 0;
}

/* Hero Background */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Video Hero */
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleY(1.15);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 1;
}

/* Hide video on mobile to save bandwidth */
@media (max-width: 768px) {
  .hero__video {
    display: none;
  }
  .hero--video .hero__bg {
    background-image: url('../images/hero-poster.webp');
    background-size: cover;
    background-position: center;
  }
}

/* Respect reduced-data preference */
@media (prefers-reduced-data: reduce) {
  .hero__video {
    display: none;
  }
  .hero--video .hero__bg {
    background-image: url('../images/hero-poster.webp');
    background-size: cover;
    background-position: center;
  }
}

.hero__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(15, 27, 45, 0.92) 0%, rgba(15, 27, 45, 0.8) 35%, rgba(26, 46, 68, 0.3) 70%, rgba(26, 46, 68, 0.15) 100%);
  z-index: 2;
}

/* Fallback Mesh Layers (für Seiten ohne Video) */
.hero__mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero__mesh--1 {
  background: radial-gradient(ellipse at 20% 50%, rgba(44, 79, 115, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(44, 79, 115, 0.15) 0%, transparent 50%);
  animation: gradientShift 8s ease-in-out infinite;
}

.hero__mesh--2 {
  animation-delay: 2s;
  background: radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.hero__mesh--3 {
  background: radial-gradient(ellipse at 50% 50%, rgba(44, 79, 115, 0.1) 0%, transparent 60%);
  animation: gradientShift 6s ease-in-out infinite;
  animation-delay: 4s;
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: var(--space-xl) clamp(2rem, 5vw, 5rem);
  max-width: none;
}

.hero__content {
  max-width: 480px;
  animation: fadeUpIn 800ms ease-out 0.3s both;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: var(--space-base);
  line-height: 1.1;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
}

.hero__title .accent {
  display: inline;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-regular);
  max-width: 420px;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__visual {
  animation: fadeInRight 800ms ease-out 200ms both;
  position: relative;
}

.hero__image-placeholder {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-icon {
  display: inline-block;
}

.scroll-icon__dot {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  animation: bounce 2s ease-in-out infinite;
  display: block;
}

@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero__visual {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    padding: var(--space-lg) 0;
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-base);
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__visual {
    display: none;
  }
}

/* ============================================
   9. STATS/COUNTER SECTION
   ============================================ */

.stats {
  background: linear-gradient(135deg, #1a2e44 0%, #0f1b2d 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
}

.stats__mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(44, 79, 115, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(44, 79, 115, 0.08) 0%, transparent 50%);
  animation: gradientShift 10s ease-in-out infinite;
  z-index: 1;
}

.stats__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stats__item {
  animation: fadeUpIn 800ms ease-out backwards;
}

.stats__item:nth-child(1) { animation-delay: 100ms; }
.stats__item:nth-child(2) { animation-delay: 200ms; }
.stats__item:nth-child(3) { animation-delay: 300ms; }
.stats__item:nth-child(4) { animation-delay: 400ms; }

.stats__number {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.stats__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

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

@media (max-width: 768px) {
  .stats__inner,
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stats__number {
    font-size: var(--font-size-4xl);
  }

  .stats__label {
    font-size: var(--font-size-sm);
  }
}

/* ============================================
   10. SERVICE CARDS
   ============================================ */

.services {
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-base);
}

/* Image-Tile Style (Förster-Style) */
.service-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 16 / 9;
  transition: all var(--transition-base);
  animation: fadeUpIn 600ms ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 100ms; }
.service-card:nth-child(2) { animation-delay: 200ms; }
.service-card:nth-child(3) { animation-delay: 300ms; }
.service-card:nth-child(4) { animation-delay: 400ms; }

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

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

.service-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  background-color: var(--color-primary);
}

/* Featured Card (Solarparkpflege) */
.service-card--featured {
  width: 100%;
  aspect-ratio: 21 / 9;
  margin-bottom: var(--space-base);
}

.service-card--featured .service-card__title {
  font-size: var(--font-size-2xl);
  padding: var(--space-lg) var(--space-md);
}

@media (max-width: 768px) {
  .service-card--featured {
    aspect-ratio: 16 / 9;
  }
}

.service-card__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-base);
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  margin: 0;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .services {
    padding: var(--space-2xl) 0;
  }

  .service-card {
    aspect-ratio: 16 / 9;
  }
}

/* ============================================
   11. ABOUT TEASER
   ============================================ */

.about-teaser {
  padding: var(--space-2xl) var(--space-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
}

.about-teaser .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
}

.about-teaser__text {
  animation: fadeInLeft 800ms ease-out;
}

.about-teaser__visual {
  animation: fadeInRight 800ms ease-out;
}

.about-teaser__image {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}

.about-teaser__image:hover {
  transform: rotate(-2deg);
}

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

.about-teaser__quote {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-lg);
  margin: var(--space-lg) 0;
  font-style: italic;
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  line-height: var(--line-height-relaxed);
}

@media (max-width: 1100px) {
  .about-teaser .container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-teaser__visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .about-teaser {
    padding: var(--space-2xl) 0;
  }

  .about-teaser .container h2 {
    font-size: var(--font-size-3xl);
  }

  .about-teaser__quote {
    font-size: var(--font-size-base);
    padding-left: var(--space-md);
  }
}

/* ============================================
   12. TESTIMONIALS
   ============================================ */

.testimonials {
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  animation: fadeUpIn 600ms ease-out backwards;
}

.testimonial-card:nth-child(1) { animation-delay: 100ms; }
.testimonial-card:nth-child(2) { animation-delay: 200ms; }
.testimonial-card:nth-child(3) { animation-delay: 300ms; }

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.testimonial-card__stars {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.testimonial-card__text {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-relaxed);
  font-size: var(--font-size-sm);
}

.testimonial-card__author {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.testimonial-card__author-title {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

.testimonial-star {
  color: var(--color-cta);
  font-size: var(--font-size-lg);
}

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

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

  .testimonials {
    padding: var(--space-2xl) 0;
  }
}

/* ============================================
   13. CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, #1a2e44 0%, #0f1b2d 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
  text-align: center;
}

.cta-section__mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(44, 79, 115, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(44, 79, 115, 0.08) 0%, transparent 50%);
  animation: gradientShift 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUpIn 800ms ease-out;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-lg);
}

.cta-section__buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-section {
    padding: var(--space-2xl) 0;
  }

  .cta-section h2 {
    font-size: var(--font-size-3xl);
  }

  .cta-section p {
    font-size: var(--font-size-base);
  }

  .cta-section__buttons {
    flex-direction: column;
  }
}

/* ============================================
   14. PAGE HERO (Sub-pages)
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) 0;
}

.page-hero__mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(44, 79, 115, 0.08) 0%, transparent 50%);
  animation: gradientShift 8s ease-in-out infinite;
  z-index: 1;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeUpIn 800ms ease-out;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
  text-decoration: none;
}

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

.page-hero h1 {
  color: var(--color-white);
}

/* Page Hero with background image */
.page-hero--img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 27, 45, 0.82) 0%, rgba(26, 46, 68, 0.65) 100%);
  z-index: 1;
}

.page-hero--img .page-hero__mesh {
  display: none;
}

.page-hero--solarparkpflege { background-image: url('../images/solarparkpflege.webp'); }
.page-hero--leistungen { background-image: url('../images/leistungen-header.webp'); }
.page-hero--projekte { background-image: url('../images/projekte-header.webp'); }
.page-hero--ueber-uns { background-image: url('../images/ueber-uns.webp'); }
.page-hero--kontakt { background-image: url('../images/kontakt-header.webp'); }
.page-hero--hausmeisterservice { background-image: url('../images/hausmeisterservice.webp'); }
.page-hero--gruenpflege { background-image: url('../images/gruenpflege.webp'); }
.page-hero--winterdienst { background-image: url('../images/winterdienst.webp'); }
.page-hero--reinigung { background-image: url('../images/reinigung.webp'); }

@media (max-width: 768px) {
  .page-hero {
    min-height: 30vh;
    padding: var(--space-lg) 0;
  }

  .page-hero h1 {
    font-size: var(--font-size-3xl);
  }
}

/* ============================================
   15. LEISTUNGEN GRID
   ============================================ */

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.leistung-tile {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  animation: fadeUpIn 600ms ease-out backwards;
}

.leistung-tile:nth-child(1) { animation-delay: 100ms; }
.leistung-tile:nth-child(2) { animation-delay: 200ms; }
.leistung-tile:nth-child(3) { animation-delay: 300ms; }
.leistung-tile:nth-child(4) { animation-delay: 400ms; }
.leistung-tile:nth-child(5) { animation-delay: 500ms; }
.leistung-tile:nth-child(6) { animation-delay: 600ms; }

.leistung-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: #f0a500;
}

.leistung-tile__icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.leistung-tile__title {
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-size: var(--font-size-2xl);
}

.leistung-tile__desc {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
}

.leistung-tile__link {
  display: inline-block;
  color: var(--color-cta);
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-base);
  text-decoration: none;
}

.leistung-tile__link:hover {
  color: var(--color-cta-hover);
  transform: translateX(4px);
}

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

@media (max-width: 768px) {
  .leistungen-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ============================================
   16. DETAIL PAGE CONTENT
   ============================================ */

.detail-content {
  padding: var(--space-3xl) var(--space-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  margin: var(--space-xl) auto;
  max-width: 900px;
}

.detail-content .container {
  max-width: 800px;
}

.detail-content__intro {
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  padding: 0 var(--space-lg);
}

.detail-content__intro h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-base);
  color: var(--color-primary);
}

.detail-content__intro h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-size: var(--font-size-2xl);
}

.detail-content__intro p {
  margin-bottom: var(--space-base);
  color: var(--color-text);
}

.detail-content__intro ul,
.detail-content__intro ol {
  margin: var(--space-base) 0;
  padding-left: var(--space-lg);
}

.detail-content__intro li {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.detail-content__intro strong {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

/* Checklist Styling */
.check-list {
  list-style: none;
  margin: var(--space-lg) 0;
  padding: 0 var(--space-lg);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

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

.check-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: bold;
}

/* Accent Paragraph Border */
.accent-paragraph {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  background-color: rgba(44, 79, 115, 0.05);
  border-radius: var(--radius-md);
  padding-top: var(--space-base);
  padding-bottom: var(--space-base);
  margin: var(--space-lg) 0;
}

@media (max-width: 768px) {
  .detail-content {
    padding: var(--space-2xl) 0;
  }

  .detail-content__intro h2 {
    margin-top: var(--space-lg);
  }
}

/* ============================================
   17. CONTACT FORM
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {
  animation: fadeInLeft 800ms ease-out;
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.contact-info__item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
  font-size: var(--font-size-lg);
}

.contact-info__text {
  flex: 1;
}

.contact-info__text p {
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.contact-info__text a {
  color: var(--color-cta);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  transition: all var(--transition-base);
  color: var(--color-text);
  background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(51, 51, 51, 0.2);
}

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

.form-hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

.form-submit {
  width: 100%;
  background-color: var(--color-cta);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  border: none;
}

.form-submit:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(44, 79, 115, 0.4);
}

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

@media (max-width: 768px) {
  .contact-grid {
    gap: var(--space-lg);
  }
}

/* ============================================
   18. GALLERY GRID
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  auto-rows: 250px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
  animation: scaleIn 600ms ease-out backwards;
}

.gallery-item:nth-child(1) { animation-delay: 100ms; }
.gallery-item:nth-child(2) { animation-delay: 150ms; }
.gallery-item:nth-child(3) { animation-delay: 200ms; }
.gallery-item:nth-child(4) { animation-delay: 250ms; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(51, 51, 51, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.gallery-overlay-text {
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    auto-rows: 200px;
  }

  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    auto-rows: 150px;
  }
}

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

/* ============================================
   19. PROJECT & EQUIPMENT CARDS
   ============================================ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  animation: fadeUpIn 600ms ease-out backwards;
}

.project-card:nth-child(1) { animation-delay: 100ms; }
.project-card:nth-child(2) { animation-delay: 200ms; }
.project-card:nth-child(3) { animation-delay: 300ms; }
.project-card:nth-child(4) { animation-delay: 400ms; }

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

.project-card__img {
  width: 100%;
  height: 300px;
  background-color: var(--color-bg-alt);
  overflow: hidden;
  position: relative;
}

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

.project-card__body {
  padding: var(--space-lg);
}

.project-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.project-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.equipment-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  animation: fadeUpIn 600ms ease-out backwards;
}

.equipment-card:nth-child(1) { animation-delay: 100ms; }
.equipment-card:nth-child(2) { animation-delay: 200ms; }
.equipment-card:nth-child(3) { animation-delay: 300ms; }
.equipment-card:nth-child(4) { animation-delay: 400ms; }

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

.equipment-card__img {
  width: 100%;
  height: 300px;
  background-color: var(--color-bg-alt);
  overflow: hidden;
  position: relative;
}

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

.equipment-card__body {
  padding: var(--space-lg);
}

.equipment-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.equipment-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
}

.equipment-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.equipment-spec {
  display: inline-block;
  background-color: var(--color-bg);
  color: var(--color-text);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
}

@media (max-width: 1100px) {
  .projects-grid,
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .equipment-card__img,
  .project-card__img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .equipment-card__body,
  .project-card__body {
    padding: var(--space-md);
  }

  .equipment-card__img,
  .project-card__img {
    height: 200px;
  }
}

/* ============================================
   20. VALUES GRID
   ============================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.value-card {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  animation: fadeUpIn 600ms ease-out backwards;
}

.value-card:nth-child(1) { animation-delay: 100ms; }
.value-card:nth-child(2) { animation-delay: 200ms; }
.value-card:nth-child(3) { animation-delay: 300ms; }

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: #f0a500;
}

.value-card__icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.value-card__title {
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-size: var(--font-size-2xl);
}

.value-card__text {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

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

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

/* ============================================
   21. LEGAL PAGES
   ============================================ */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
}

.legal-content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-base);
  color: var(--color-primary);
}

.legal-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-size: var(--font-size-2xl);
}

.legal-content p {
  margin-bottom: var(--space-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
}

.legal-content ul,
.legal-content ol {
  margin: var(--space-base) 0;
  padding-left: var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
}

.legal-notice {
  background-color: #fef3c7;
  border-left: 4px solid var(--color-cta);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

.legal-notice p {
  margin: 0;
  color: #92400e;
  font-weight: var(--font-weight-semibold);
}

@media (max-width: 768px) {
  .legal-content {
    padding: var(--space-2xl) var(--space-lg);
  }

  .legal-content h2 {
    font-size: var(--font-size-2xl);
  }
}

/* ============================================
   22. FOOTER
   ============================================ */

.footer {
  background: linear-gradient(180deg, #1a2e44 0%, #0f1b2d 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(44, 79, 115, 0.03) 0%, transparent 50%);
  animation: gradientShift 10s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__description {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

.footer__title {
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
}

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

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
  font-size: var(--font-size-sm);
  text-decoration: none;
}

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

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

.footer__contact li {
  margin-bottom: var(--space-sm);
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
  font-size: var(--font-size-sm);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

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

.footer__social {
  margin-top: var(--space-md);
}

.footer__social a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.footer__social a:hover {
  color: var(--color-cta);
}

.footer__social-icon {
  width: 28px;
  height: 28px;
}

.footer__icon {
  width: 16px;
  height: 16px;
}

.footer__address {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  position: relative;
  z-index: 2;
}

.footer__bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-xs);
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--font-size-xs);
  transition: color var(--transition-base);
}

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

.footer__copyright {
  margin: 0;
}

@media (max-width: 1100px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom-content {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer__legal {
    flex-direction: column;
  }
}

/* ============================================
   23. COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: var(--space-lg);
  z-index: 100;
  animation: slideInUp 500ms ease-out;
  border-top: 1px solid var(--color-border);
}

.cookie-banner.is-closing {
  animation: slideOutDown 500ms ease-out forwards;
}

.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.cookie-banner__text {
  flex: 1;
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  margin: 0;
}

.cookie-banner__link {
  color: var(--color-cta);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.cookie-banner__link:hover {
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  min-width: fit-content;
}

.cookie-banner__btn {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.cookie-banner__btn--reject {
  background-color: #e5e7eb;
  color: var(--color-text);
}

.cookie-banner__btn--reject:hover {
  background-color: #d1d5db;
}

.cookie-banner__btn--accept {
  background-color: var(--color-cta);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.cookie-banner__btn--accept:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(44, 79, 115, 0.4);
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner__buttons {
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

/* ============================================
   24. BUTTON STYLES
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
}

.btn--cta {
  background: linear-gradient(135deg, var(--color-cta) 0%, #ffc107 100%);
  color: var(--color-primary-dark);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 4px 15px rgba(240, 165, 0, 0.35);
  letter-spacing: 0.02em;
}

.btn--cta:hover {
  background: linear-gradient(135deg, var(--color-cta-hover) 0%, var(--color-cta) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(240, 165, 0, 0.5);
}

.btn--glass {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-lg);
}

.btn--sm {
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--font-size-sm);
}

.btn__arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition-base);
}

.btn:hover .btn__arrow {
  gap: var(--space-sm);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================
   25. PLACEHOLDER STYLES
   ============================================ */

.placeholder-img {
  background-color: #e8e4df;
  border: 2px dashed #c4bdb5;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: var(--color-text-light);
  text-align: center;
  padding: var(--space-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

.placeholder-text {
  background: linear-gradient(90deg, var(--color-bg-alt) 0%, rgba(240, 237, 232, 0.5) 50%, var(--color-bg-alt) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  border-radius: var(--radius-md);
  height: 1em;
  margin-bottom: var(--space-sm);
}

/* ============================================
   26. RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 1100px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
  }

  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.5rem;
    --font-size-3xl: 1.25rem;
    --font-size-2xl: 1.125rem;
    --space-3xl: 4rem;
    --space-2xl: 3rem;
    --space-xl: 2rem;
  }

  .container {
    padding-left: var(--space-base);
    padding-right: var(--space-base);
  }

  .section-padding {
    padding: var(--space-2xl) 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  h1 {
    font-size: var(--font-size-4xl);
  }

  h2 {
    font-size: var(--font-size-3xl);
  }

  h3 {
    font-size: var(--font-size-2xl);
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-5xl: 1.75rem;
    --font-size-4xl: 1.375rem;
    --font-size-3xl: 1.125rem;
    --font-size-2xl: 1rem;
    --space-3xl: 3rem;
    --space-2xl: 2rem;
    --space-xl: 1.5rem;
    --space-lg: 1.5rem;
  }

  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-sm);
  }

  h2 {
    font-size: var(--font-size-3xl);
  }

  .hamburger {
    display: flex !important;
  }

  .navbar__menu {
    display: none !important;
  }

  .flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

/* ============================================
   27. REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   28. PRINT STYLES
   ============================================ */

@media print {
  .topbar,
  .navbar,
  .cookie-banner,
  .hero__scroll-indicator {
    display: none !important;
  }

  body {
    background-color: var(--color-white);
    color: var(--color-text);
  }

  a {
    text-decoration: underline;
  }

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

/* ============================================
   29. ACCESSIBILITY ENHANCEMENTS
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

/* ============================================
   MISSING SELECTORS FIX
   ============================================ */

/* About Teaser - Two Column Layout (ueber-uns.html) */
.about-teaser__left {
  flex: 1 1 55%;
  min-width: 280px;
}

.about-teaser__right {
  flex: 1 1 40%;
  min-width: 280px;
}

.about-teaser__right img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* Intro Text (galerie, projekte, equipment) */
.intro-text {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  text-align: center;
  line-height: 1.7;
}

/* Gallery Caption */
.gallery-caption {
  margin-top: var(--space-xs);
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-align: center;
  font-weight: 600;
}

/* Contact Note */
.contact-note {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: var(--space-sm);
  text-align: center;
}

/* Section Header Subtitle variant (leistungen.html) */
.section-header__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: var(--space-sm) auto 0;
  line-height: 1.6;
}

/* ============================================
   30. GOOGLE MAPS KLICK-TO-LOAD
   ============================================ */

.map-consent {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.map-consent__text {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.map-consent__info {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius-lg);
}

/* ============================================
   31. IMAGE FADE-IN ANIMATION
   ============================================ */

.img-fade {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.img-fade--loaded {
  opacity: 1;
}

/* ============================================
   32. LIGHTBOX
   ============================================ */

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

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

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
}

.lightbox-close:hover {
  color: var(--color-cta);
}

/* ============================================
   33. FORM VALIDATION STYLES
   ============================================ */

.form-group.has-value label {
  font-size: 0.8rem;
  color: var(--color-accent);
}

.has-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

.form-error {
  display: block;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.form-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.form-message--error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-counter {
  text-align: right;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.form-counter--warning {
  color: #dc3545;
  font-weight: 600;
}

/* Checkbox Group */
.form-group--checkbox {
  margin-bottom: var(--space-md);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-cta);
  cursor: pointer;
}

.checkbox-label__text {
  color: var(--color-text);
}

.checkbox-label__text a {
  color: var(--color-cta);
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
}

.checkbox-label__text a:hover {
  color: var(--color-cta-hover);
}

/* ============================================
   34. MULTI-STEP WIZARD FORM
   ============================================ */

.wizard-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

/* Progress Bar */
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  gap: 0;
}

.wizard-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  position: relative;
  z-index: 1;
}

.wizard-progress__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  transition: all 0.4s ease;
  border: 2px solid var(--color-border);
}

.wizard-progress__label {
  font-size: 0.75rem;
  color: var(--color-text-light);
  font-weight: var(--font-weight-semibold);
  transition: color 0.4s ease;
  white-space: nowrap;
}

.wizard-progress__line {
  flex: 1;
  height: 3px;
  background: var(--color-border);
  margin: 0 var(--space-sm);
  margin-bottom: var(--space-lg);
  transition: background 0.4s ease;
  max-width: 80px;
}

.wizard-progress__step--active .wizard-progress__number {
  background: var(--color-cta);
  color: var(--color-white);
  border-color: var(--color-cta);
  box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.2);
}

.wizard-progress__step--active .wizard-progress__label {
  color: var(--color-primary);
}

.wizard-progress__step--done .wizard-progress__number {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.wizard-progress__step--done .wizard-progress__label {
  color: var(--color-primary);
}

.wizard-progress__line--done {
  background: var(--color-primary);
}

/* Wizard Steps */
.wizard-step {
  display: none;
  animation: wizardFadeIn 0.4s ease;
}

.wizard-step--active {
  display: block;
}

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

.wizard-step__title {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  text-align: center;
}

/* Service Selection Cards */
.service-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.service-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.service-option__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  background: var(--color-white);
}

.service-option__card:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-option input[type="radio"]:checked + .service-option__card {
  border-color: var(--color-cta);
  background: rgba(240, 165, 0, 0.06);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.15);
}

.service-option input[type="radio"]:focus-visible + .service-option__card {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

.service-option__icon {
  font-size: 2rem;
  line-height: 1;
}

.service-option__text {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  color: var(--color-primary);
}

/* Floating Labels */
.form-group--float {
  position: relative;
  margin-bottom: var(--space-lg);
}

.form-group--float input,
.form-group--float textarea {
  width: 100%;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group--float label {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0 4px;
}

.form-group--float textarea ~ label {
  top: var(--space-md);
  transform: translateY(0);
}

/* Float label up on focus or when filled */
.form-group--float input:focus ~ label,
.form-group--float input:not(:placeholder-shown) ~ label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--color-cta);
  font-weight: var(--font-weight-semibold);
  background: var(--color-white);
}

.form-group--float textarea:focus ~ label,
.form-group--float textarea:not(:placeholder-shown) ~ label {
  top: -2px;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--color-cta);
  font-weight: var(--font-weight-semibold);
  background: var(--color-white);
}

.form-group--float input:focus,
.form-group--float textarea:focus {
  border-color: var(--color-cta);
}

/* Animated underline bar */
.form-group__bar {
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-cta);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.form-group--float input:focus ~ .form-group__bar,
.form-group--float textarea:focus ~ .form-group__bar {
  left: 0;
  width: 100%;
}

/* Real-time validation indicators */
.form-group--float .valid-indicator {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.form-group--float.is-valid .valid-indicator {
  opacity: 1;
  color: #28a745;
}

.form-group--float.is-invalid input,
.form-group--float.is-invalid textarea {
  border-color: #dc3545;
}

.form-group--float.is-valid input,
.form-group--float.is-valid textarea {
  border-color: #28a745;
}

/* Wizard Navigation */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
  gap: var(--space-md);
}

.wizard-btn {
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  transition: all 0.3s ease;
}

.wizard-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* Submit Button States */
.wizard-btn--submit {
  position: relative;
  min-width: 200px;
  overflow: hidden;
}

.wizard-btn__loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: wizardSpin 0.7s linear infinite;
}

.wizard-btn__check {
  display: none;
  font-size: 1.3rem;
  animation: wizardCheckPop 0.4s ease;
}

@keyframes wizardSpin {
  to { transform: rotate(360deg); }
}

@keyframes wizardCheckPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.wizard-btn--submit.is-loading .wizard-btn__text { display: none; }
.wizard-btn--submit.is-loading .wizard-btn__loader { display: inline-block; }

.wizard-btn--submit.is-success {
  background: #28a745 !important;
  border-color: #28a745 !important;
}
.wizard-btn--submit.is-success .wizard-btn__text { display: none; }
.wizard-btn--submit.is-success .wizard-btn__check { display: inline-block; }

/* Wizard Success Overlay */
.wizard-success {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  animation: wizardFadeIn 0.5s ease;
}

.wizard-success__icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  display: block;
  animation: wizardCheckPop 0.6s ease 0.2s both;
}

.wizard-success__title {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.wizard-success__text {
  color: var(--color-text-light);
  font-size: var(--font-size-base);
}

/* Character Counter in Wizard */
.wizard-form .form-counter {
  text-align: right;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

.wizard-form .form-counter--warning {
  color: #dc3545;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .service-select {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .service-option__card {
    padding: var(--space-md) var(--space-sm);
  }

  .service-option__icon {
    font-size: 1.5rem;
  }

  .wizard-form {
    padding: var(--space-lg) var(--space-md);
  }

  .wizard-progress__label {
    font-size: 0.65rem;
  }

  .wizard-progress__number {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .wizard-btn {
    min-width: 110px;
    font-size: var(--font-size-sm);
  }
}

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

/* Message Templates */
.message-templates {
  margin-bottom: var(--space-lg);
}

.message-templates__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.message-templates__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.message-template {
  padding: var(--space-xs) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.message-template:hover {
  border-color: var(--color-cta);
  background: rgba(240, 165, 0, 0.06);
  color: var(--color-cta-hover);
}

.message-template--active {
  border-color: var(--color-cta);
  background: rgba(240, 165, 0, 0.1);
  color: var(--color-primary);
}

/* Callback Time Selection */
.callback-group {
  margin-bottom: var(--space-lg);
}

.callback-group__label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.callback-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.callback-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.callback-option__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-sm) var(--space-xs);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  background: var(--color-white);
}

.callback-option__card small {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.callback-option__card:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-alt);
}

.callback-option input[type="radio"]:checked + .callback-option__card {
  border-color: var(--color-cta);
  background: rgba(240, 165, 0, 0.06);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.15);
}

.callback-option input[type="radio"]:focus-visible + .callback-option__card {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

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

  .message-templates__list {
    flex-direction: column;
  }

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wizard-step {
    animation: none;
  }

  .wizard-progress__number,
  .wizard-progress__line,
  .service-option__card,
  .form-group--float label,
  .form-group--float input,
  .form-group--float textarea,
  .form-group__bar,
  .wizard-btn__loader,
  .wizard-btn__check,
  .message-template,
  .callback-option__card {
    transition: none;
    animation: none;
  }
}
