/* ============================================
   WFS Württemberg Facility Service – Design System
   ============================================ */

/* --- Google Fonts (self-hosted fallback) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --c-primary: #1a2744;
  --c-primary-light: #243456;
  --c-primary-dark: #0f1a2e;
  --c-accent: #3b6cf5;
  --c-accent-hover: #2d5ae0;
  --c-accent-light: #e8eeff;
  --c-success: #10b981;
  --c-warning: #f59e0b;
  --c-error: #ef4444;
  --c-white: #ffffff;
  --c-gray-50: #f8fafc;
  --c-gray-100: #f1f5f9;
  --c-gray-200: #e2e8f0;
  --c-gray-300: #cbd5e1;
  --c-gray-400: #94a3b8;
  --c-gray-500: #64748b;
  --c-gray-600: #475569;
  --c-gray-700: #334155;
  --c-gray-800: #1e293b;
  --c-gray-900: #0f172a;
  --c-text: #1e293b;
  --c-text-light: #64748b;
  --c-text-on-dark: #e2e8f0;
  --c-text-on-dark-muted: #94a3b8;
  --c-whatsapp: #25d366;
  --c-whatsapp-hover: #1ebe57;

  /* Typography */
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --lh-tight: 1.15;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Borders & Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(59, 108, 245, 0.3);

  /* Transitions */
  --tr-fast: 150ms ease;
  --tr-normal: 250ms ease;
  --tr-slow: 400ms ease;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 800px;
  --header-h: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--tr-fast);
}

a:hover {
  color: var(--c-accent-hover);
}

ul,
ol {
  list-style: none;
}

/* Focus indicators for accessibility */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.section {
  padding: var(--sp-20) 0;
}

.section--dark {
  background: var(--c-primary);
  color: var(--c-text-on-dark);
}

.section--gray {
  background: var(--c-gray-50);
}

.section--accent-light {
  background: var(--c-accent-light);
}

.grid {
  display: grid;
  gap: var(--sp-6);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.flex--col {
  flex-direction: column;
}

.flex--wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: var(--sp-2);
}

.gap-3 {
  gap: var(--sp-3);
}

.gap-4 {
  gap: var(--sp-4);
}

.gap-6 {
  gap: var(--sp-6);
}

.gap-8 {
  gap: var(--sp-8);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* --- Typography --- */
.section-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}

h1,
.h1 {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

h2,
.h2 {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

h3,
.h3 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  margin-bottom: var(--sp-3);
}

h4,
.h4 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
}

.lead {
  font-size: var(--fs-lg);
  color: var(--c-text-light);
  line-height: var(--lh-relaxed);
  max-width: 650px;
}

.lead--center {
  margin-left: auto;
  margin-right: auto;
}

.section--dark .lead {
  color: var(--c-text-on-dark-muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr-normal);
  text-decoration: none;
  line-height: 1.4;
  min-height: 48px;
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}

.btn--primary:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn--secondary {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--c-white);
}

.btn--outline {
  background: transparent;
  color: var(--c-accent);
  border-color: var(--c-accent);
}

.btn--outline:hover {
  background: var(--c-accent);
  color: var(--c-white);
  transform: translateY(-1px);
}

.btn--call {
  background: var(--c-accent);
  color: var(--c-white);
}

.btn--call:hover {
  background: var(--c-accent-hover);
  color: var(--c-white);
}

.btn--whatsapp {
  background: var(--c-whatsapp);
  color: var(--c-white);
}

.btn--whatsapp:hover {
  background: var(--c-whatsapp-hover);
  color: var(--c-white);
}

.btn--sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  min-height: 40px;
}

.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-lg);
  min-height: 56px;
}

.btn--block {
  width: 100%;
}

.btn--dark {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}

.btn--dark:hover {
  background: var(--c-primary-light);
  color: var(--c-white);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  /* Increased from 96px for massive logo */
  z-index: 1000;
  background: rgba(26, 39, 68, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--tr-normal);
}

.header.scrolled {
  background: rgba(15, 26, 46, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  /* Secure a minimum distance between elements */
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  /* Increased gap slightly */
  text-decoration: none;
  color: var(--c-white);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  /* Reduced from 2xl */
}

.header__logo img {
  width: 140px;
  /* Massive increase from 96px */
  height: 140px;
  /* Massive increase from 96px */
  border-radius: 8px;
  filter: brightness(1.5) contrast(1.1);
  /* Brighten the logo to stand out on dark background */
}

.header__logo svg {
  width: 140px;
  /* Massive increase from 96px */
  height: 140px;
  /* Massive increase from 96px */
}

.header__logo-text {
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header__logo-sub {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-on-dark-muted);
  display: block;
  margin-top: -2px;
}

/* --- Professional SVG Icon System --- */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.icon--sm {
  width: 18px;
  height: 18px;
}

.icon--lg {
  width: 32px;
  height: 32px;
}

.icon--xl {
  width: 40px;
  height: 40px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  margin-right: var(--sp-6);
  /* Extra spacing from action buttons */
}

.header__nav a {
  color: var(--c-text-on-dark);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  transition: color var(--tr-fast);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width var(--tr-normal);
}

.header__nav a:hover {
  color: var(--c-white);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--c-white);
  transition: all var(--tr-normal);
  border-radius: 2px;
}

.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 nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-primary-dark);
  z-index: 999;
  padding: var(--sp-8) var(--sp-6);
  flex-direction: column;
  gap: var(--sp-4);
  overflow-y: auto;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: var(--c-white);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav__actions {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 50%, var(--c-primary-light) 100%);
  color: var(--c-white);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 108, 245, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 108, 245, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  margin-bottom: var(--sp-8);
  color: var(--c-text-on-dark);
}

.hero__title {
  margin-bottom: var(--sp-6);
}

.hero__title em {
  font-style: italic;
  color: var(--c-accent);
  opacity: 0.9;
}

.hero-logo-inline {
  height: 120px;
  width: auto;
  filter: brightness(1.5) contrast(1.1);
  border-radius: 8px;
  display: block;
  margin-top: var(--sp-2);
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--c-text-on-dark-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Hero subpage */
.hero--sub {
  min-height: 65vh;
  text-align: left;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 60px;
}

.hero--sub .hero__content {
  max-width: var(--max-w);
  text-align: left;
}

/* --- Benefits bar --- */
.benefits {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-gray-200);
  padding: var(--sp-12) 0;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.benefit__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--c-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  font-size: var(--fs-xl);
}

.benefit__title {
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-1);
}

.benefit__text {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

/* --- Trust Block --- */
.trust {
  background: var(--c-gray-50);
  padding: var(--sp-12) 0;
  border-bottom: 1px solid var(--c-gray-200);
}

.trust__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-weight: var(--fw-medium);
  color: var(--c-gray-700);
}

.trust__icon {
  font-size: var(--fs-2xl);
}

.trust__stars {
  color: var(--c-warning);
  font-size: var(--fs-lg);
}

.trust__label {
  font-size: var(--fs-sm);
}

.trust__sublabel {
  font-size: var(--fs-xs);
  color: var(--c-text-light);
}

/* --- Service Cards --- */
.services {
  padding: var(--sp-24) 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.service-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  transition: all var(--tr-normal);
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--c-accent);
  color: var(--c-text);
}

.service-card__badge {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: var(--c-success);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--c-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-5);
}

.service-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-2);
}

.service-card__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-5);
  flex-grow: 1;
}

.service-card__link {
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap var(--tr-normal);
}

.service-card:hover .service-card__link {
  gap: var(--sp-3);
}

/* --- Coverage / Gebiet Section --- */
.coverage {
  padding: var(--sp-24) 0;
  background: var(--c-gray-50);
}

.coverage__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  margin-top: var(--sp-10);
}

.coverage__map {
  background: var(--c-primary);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  color: var(--c-white);
  text-align: center;
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
}

.coverage__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.coverage__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-gray-200);
  transition: all var(--tr-normal);
}

.coverage__feature:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
}

.coverage__feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--c-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  font-size: var(--fs-lg);
}

.coverage__feature-title {
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-1);
}

.coverage__feature-text {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

/* --- Contact / Form Section --- */
.contact {
  padding: var(--sp-24) 0;
}

.contact--dark {
  background: var(--c-primary);
  color: var(--c-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-12);
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.contact__info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(59, 108, 245, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  font-size: var(--fs-lg);
}

.contact__info-label {
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-1);
}

.contact__info-value {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

.section--dark .contact__info-value {
  color: var(--c-text-on-dark-muted);
}

/* --- Form --- */
.form-card {
  background: var(--c-white);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-xl);
}

.form-card__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.form-card__subtitle {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  margin-bottom: var(--sp-8);
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-gray-700);
  margin-bottom: var(--sp-2);
}

.form-group label .required {
  color: var(--c-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  border: 1.5px solid var(--c-gray-300);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  color: var(--c-text);
  transition: all var(--tr-fast);
  min-height: 48px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(59, 108, 245, 0.15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--c-error);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--c-error);
  margin-top: var(--sp-1);
  display: none;
}

.form-error.visible {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--c-accent);
}

.form-checkbox label {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  cursor: pointer;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-10);
}

.form-success.visible {
  display: block;
}

.form-success__icon {
  font-size: 3rem;
  margin-bottom: var(--sp-4);
}

.form-success__title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}

.form-success__text {
  color: var(--c-text-light);
}

/* --- FAQ --- */
.faq {
  padding: var(--sp-24) 0;
}

.faq__list {
  max-width: var(--max-w-narrow);
  margin: var(--sp-10) auto 0;
}

.faq-item {
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-4);
  overflow: hidden;
  transition: all var(--tr-normal);
}

.faq-item:hover {
  border-color: var(--c-gray-300);
}

.faq-item__question {
  width: 100%;
  text-align: left;
  padding: var(--sp-5) var(--sp-6);
  background: none;
  border: none;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 48px;
}

.faq-item__question:hover {
  color: var(--c-accent);
}

.faq-item__icon {
  flex-shrink: 0;
  transition: transform var(--tr-normal);
  font-size: var(--fs-lg);
}

.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-slow), padding var(--tr-slow);
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--c-text-light);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
}

/* --- Footer --- */
.footer {
  background: var(--c-primary-dark);
  color: var(--c-text-on-dark);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.footer__brand-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-on-dark-muted);
  margin-top: var(--sp-4);
  line-height: var(--lh-relaxed);
  max-width: 300px;
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-5);
  color: var(--c-gray-400);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__links a {
  color: var(--c-text-on-dark-muted);
  font-size: var(--fs-sm);
  transition: color var(--tr-fast);
}

.footer__links a:hover {
  color: var(--c-white);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--c-text-on-dark-muted);
  margin-bottom: var(--sp-3);
}

.footer__contact-item a {
  color: var(--c-text-on-dark-muted);
}

.footer__contact-item a:hover {
  color: var(--c-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--c-text-on-dark-muted);
}

.footer__legal {
  display: flex;
  gap: var(--sp-6);
}

.footer__legal a {
  color: var(--c-text-on-dark-muted);
}

.footer__legal a:hover {
  color: var(--c-white);
}

/* --- Sticky Mobile CTA Bar --- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--c-white);
  border-top: 1px solid var(--c-gray-200);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  padding: var(--sp-3) var(--sp-4);
}

.sticky-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-2);
  max-width: var(--max-w);
  margin: 0 auto;
}

.sticky-cta .btn {
  font-size: var(--fs-sm);
  padding: var(--sp-2) var(--sp-3);
  min-height: 44px;
  border-radius: var(--radius-md);
}

/* --- Cookie Consent --- */
.consent-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--c-white);
  border-top: 1px solid var(--c-gray-200);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  padding: var(--sp-6);
}

.consent-banner.visible {
  display: block;
}

.consent-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.consent-banner__text {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
  max-width: 700px;
}

.consent-banner__text a {
  color: var(--c-accent);
  text-decoration: underline;
}

.consent-banner__actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* --- Content Pages (Impressum, Datenschutz) --- */
.legal-content {
  padding: var(--sp-20) 0;
}

.legal-content h1 {
  margin-bottom: var(--sp-8);
}

.legal-content h2 {
  font-size: var(--fs-2xl);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}

.legal-content h3 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.legal-content p {
  margin-bottom: var(--sp-4);
  color: var(--c-text-light);
  line-height: var(--lh-relaxed);
}

.legal-content ul {
  margin-bottom: var(--sp-4);
  padding-left: var(--sp-6);
}

.legal-content ul li {
  margin-bottom: var(--sp-2);
  color: var(--c-text-light);
  list-style: disc;
}

.legal-content a {
  color: var(--c-accent);
  text-decoration: underline;
}

/* --- Detail page (Leistung) --- */
.detail-content {
  padding: var(--sp-20) 0;
}

.detail-content__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-12);
}

.detail-content__main h2 {
  margin-top: var(--sp-10);
}

.detail-content__main h2:first-child {
  margin-top: 0;
}

.detail-content__main p {
  color: var(--c-text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-4);
}

.detail-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
}

.detail-sidebar__card {
  background: var(--c-gray-50);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
}

.detail-sidebar__card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-4);
}

.detail-sidebar__card .btn {
  margin-bottom: var(--sp-3);
}

.detail-sidebar__card p {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--c-gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-gray-200);
}

.checklist__icon {
  color: var(--c-success);
  font-size: var(--fs-xl);
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist__text {
  font-size: var(--fs-sm);
}

.checklist__text strong {
  display: block;
  margin-bottom: var(--sp-1);
}

/* Process steps */
.process {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin: var(--sp-8) 0;
  counter-reset: step;
}

.process__step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-5);
  counter-increment: step;
}

.process__step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
}

.process__step-title {
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-1);
}

.process__step-text {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

/* Related services */
.related {
  padding: var(--sp-16) 0;
  background: var(--c-gray-50);
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.related__card {
  background: var(--c-white);
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-gray-200);
  text-decoration: none;
  color: var(--c-text);
  transition: all var(--tr-fast);
  text-align: center;
}

.related__card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
  color: var(--c-text);
  transform: translateY(-2px);
}

.related__card-icon {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-2);
}

.related__card-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

/* --- Referenzen / Testimonials --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-10);
}

.testimonial-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
}

.testimonial-card__stars {
  color: var(--c-warning);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-lg);
}

.testimonial-card__text {
  font-style: italic;
  color: var(--c-text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-5);
  font-size: var(--fs-sm);
}

.testimonial-card__author {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

.testimonial-card__meta {
  font-size: var(--fs-xs);
  color: var(--c-text-light);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* --- About / Über Uns --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.value-card {
  padding: var(--sp-6);
  background: var(--c-gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-gray-200);
  text-align: center;
  transition: all var(--tr-normal);
}

.value-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-3);
}

.value-card__title {
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
}

.value-card__text {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .header__actions .btn--sm {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .detail-content__grid {
    grid-template-columns: 1fr;
  }

  .related__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  h1,
  .h1 {
    font-size: var(--fs-4xl);
  }

  h2,
  .h2 {
    font-size: var(--fs-3xl);
  }

  .section {
    padding: var(--sp-16) 0;
  }

  .services,
  .coverage,
  .contact,
  .faq {
    padding: var(--sp-16) 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--sp-4);
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .related__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80vh;
  }

  .hero__title {
    font-size: var(--fs-4xl);
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }

  .consent-banner__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {

  h1,
  .h1 {
    font-size: var(--fs-3xl);
  }

  .hero {
    min-height: 75vh;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .container {
    padding: 0 var(--sp-4);
  }
}