/* ==========================================================================
   MC-GEBÄUDE-SERVICE CZERNY – DESIGNSYSTEM & STYLES (PURE VANILLA CSS)
   Abgestimmt auf Vertrauen, Sauberkeit & Perfekte Logo-Harmonie
   ========================================================================== */

/* Lokale Schriftarten (self-hosted, kein externer Aufruf) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/PlusJakartaSans-latin.woff2') format('woff2');
}

:root {
  /* === FARBEN (Premium & Logo-Harmonie) === */
  --color-primary: #1E3A8A;         /* Deep Navy Blue – Vertrauen, Stabilität */
  --color-primary-dark: #0F172A;    /* Dark Navy / Slate Dark */
  --color-primary-light: #E0F2FE;   /* Soft Ice Blue Highlight */
  --color-secondary: #0284C7;       /* Clean Cyan Blue – Frische & Wasser (Logo-Passung) */
  --color-secondary-hover: #0369A1;
  --color-accent: #10B981;          /* Emerald Mint – Anfragen, CTA & Sauberkeit */
  --color-accent-dark: #059669;
  --color-star: #F59E0B;            /* Amber Gold – Sterne & Auszeichnungen */
  --color-danger: #EF4444;
  --color-dark: #0F172A;            /* Slate Dark */
  --color-text: #1E293B;            /* Haupttext */
  --color-text-light: #475569;      /* Sekundärtext */
  --color-text-muted: #94A3B8;      /* Dezent */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;          /* Subtiles Hellgrau */
  --color-bg-section: #F0F9FF;      /* Frisches Hellblau Tint */
  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;

  /* === TYPOGRAFIE === */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.875rem;    /* 30px */
  --font-size-4xl: 2.25rem;     /* 36px */
  --font-size-5xl: 3rem;        /* 48px */
  --font-size-6xl: 3.75rem;     /* 60px */

  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* === ABSTÄNDE === */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* === LAYOUT & SHADOWS === */
  --container-max: 1240px;
  --container-narrow: 840px;
  --header-height: 88px;
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 24px -4px rgba(15,23,42,0.1);
  --shadow-xl: 0 20px 32px -8px rgba(15,23,42,0.12);
  --shadow-card: 0 8px 30px rgba(2,132,199,0.08);
  --shadow-card-hover: 0 20px 40px rgba(2,132,199,0.16);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-bold);
}

h1 { font-size: clamp(2rem, 4vw, var(--font-size-5xl)); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, var(--font-size-4xl)); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, var(--font-size-2xl)); }
h4 { font-size: var(--font-size-xl); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-light);
}

p:last-child {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--color-secondary-hover);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: var(--font-size-base);
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-primary);
  color: white;
  padding: 12px 24px;
  z-index: 9999;
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-semibold);
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
}

/* ==========================================================================
   UTILITY CLASSES & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: var(--space-20) 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--blue {
  background: var(--color-bg-section);
}

.section--dark {
  background: var(--color-primary-dark);
  color: #ffffff;
}
.section--dark h2, .section--dark h3, .section--dark h4 {
  color: #ffffff;
}
.section--dark p {
  color: #94A3B8;
}

/* Grid & Flex Utilities */
.grid { display: grid; gap: var(--space-8); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--align-center { align-items: center; }
.flex--col { flex-direction: column; }
.flex--wrap { flex-wrap: wrap; }

.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-white { color: #ffffff; }

.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.my-4 { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.my-6 { margin-top: var(--space-6); margin-bottom: var(--space-6); }
.my-8 { margin-top: var(--space-8); margin-bottom: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }

/* Legal text pages (Impressum, Datenschutz) */
.legal-text { line-height: 1.8; }
.legal-text p { margin-bottom: var(--space-4); color: var(--color-text); }
.legal-text h4 { margin-top: var(--space-6); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.badge--accent {
  background: #ECFDF5;
  color: var(--color-accent-dark);
}

/* ==========================================================================
   BREADCRUMB NAVIGATION
   ========================================================================== */
#breadcrumbContainer {
  background: #F1F5F9;
  border-bottom: 1px solid var(--color-border-light);
  padding: 10px 0;
  font-size: var(--font-size-sm);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--color-text-muted);
  font-size: 0.75rem;
  margin-right: 4px;
}

.breadcrumb a {
  color: var(--color-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
}
.btn--primary:hover {
  background: #152C6F;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--color-secondary);
  color: #ffffff;
}
.btn--secondary:hover {
  background: var(--color-secondary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--color-accent);
  color: #ffffff;
}
.btn--accent:hover {
  background: var(--color-accent-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16,185,129,0.3);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text);
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-bg-alt);
}

.btn--sm {
  padding: 8px 16px;
  font-size: var(--font-size-sm);
}

.btn--lg {
  padding: 18px 36px;
  font-size: var(--font-size-lg);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.top-bar {
  background: var(--color-primary-dark);
  color: #94A3B8;
  font-size: var(--font-size-xs);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar a {
  color: #CBD5E1;
}
.top-bar a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}

#siteHeaderContainer {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--color-border);
}

.header--scrolled .header__logo img {
  width: 80px;
  height: 80px;
}

.header--scrolled .header__logo-title {
  font-size: 0.9rem;
}

.header--scrolled .header__logo-sub {
  display: none;
}

.header__inner {
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.8);
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.header__logo:hover {
  transform: scale(1.02);
}

.header__logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.08));
  flex-shrink: 0;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.header__logo-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-secondary);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .header__logo-title {
    font-size: 0.9rem;
  }
  .header__logo-sub {
    display: none;
  }
}

.header__menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.header__link {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: 0.9375rem;
  color: var(--color-text);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}

.header__link:hover,
.header__link--active {
  color: var(--color-secondary);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-base);
}

.header__link:hover::after,
.header__link--active::after {
  width: 100%;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 0.8125rem;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 6px 12px;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.header__phone:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 560px;
  background: #ffffff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.has-dropdown--wide .header__dropdown {
  min-width: 720px;
  grid-template-columns: 1fr 1fr 1fr;
}
.has-dropdown:hover .header__dropdown,
.has-dropdown.is-open .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.header__dropdown-group {
  padding: 0 0 var(--space-2) 0;
}
.header__dropdown-group:not(:last-child) {
  border-right: 1px solid var(--color-border-light);
}
.header__dropdown-label {
  display: block;
  padding: 6px 20px 8px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  pointer-events: none;
}
.header__dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  border-left: 3px solid transparent;
}
.header__dropdown a:hover {
  background: var(--color-bg-section);
  color: var(--color-secondary);
  border-left-color: var(--color-secondary);
}
.header__dropdown a.dropdown__all {
  font-weight: 700;
  color: var(--color-secondary);
  border-left-color: var(--color-secondary);
  padding-top: 10px;
  margin-top: 4px;
}
.header__dropdown a.dropdown__all:hover {
  background: var(--color-primary-light);
}

/* Mobile Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
}
.header__burger span {
  width: 100%;
  height: 3px;
  background: var(--color-primary-dark);
  border-radius: 3px;
  transition: all var(--transition-base);
}

/* Mobile Menu Slide-out */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: calc(100vh - var(--header-height));
  background: #ffffff;
  box-shadow: var(--shadow-xl);
  padding: var(--space-8) var(--space-6);
  transition: right var(--transition-slow);
  z-index: 999;
  overflow-y: auto;
}
.mobile-menu.is-open {
  right: 0;
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.mobile-menu__list a {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-dark);
}

/* Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 998;
}
.mobile-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-24) 0;
  background: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 60%, #EFF6FF 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: var(--space-12);
}

.hero__title {
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-light);
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
}

/* Standalone hero__subtitle for subpages (no .hero wrapper) */
section + .hero__subtitle,
.section--blue .hero__subtitle {
  font-size: 1.125rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
.hero__feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  color: var(--color-primary-dark);
}

/* Modern Hero Showcase */
.hero__showcase {
  position: relative;
  width: 100%;
  padding-bottom: 24px;
}

.hero__frame {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 4px solid #ffffff;
  background: #ffffff;
}

.hero__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__frame:hover .hero__main-img {
  transform: scale(1.04);
}

.hero__frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.4) 100%);
  pointer-events: none;
}

.hero__pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

.hero__pill--top {
  top: 20px;
  left: 20px;
}

.hero__badge-floating {
  position: absolute;
  bottom: -15px;
  left: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__badge-floating:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 45px -10px rgba(15, 23, 42, 0.25);
}

.hero__badge-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-secondary);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero__badge-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge-text {
  display: flex;
  flex-direction: column;
}

.hero__badge-text strong {
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.2;
}

.hero__badge-text span {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  margin-top: 3px;
}

@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .hero__frame {
    height: 350px;
  }

  .hero__badge-floating {
    left: 15px;
    right: 15px;
  }
}

@media (max-width: 576px) {
  .hero__frame {
    height: 260px;
  }

  .hero__badge-floating {
    padding: 10px 14px;
    gap: 10px;
  }

  .hero__badge-avatar {
    width: 42px;
    height: 42px;
  }

  .hero__badge-text strong {
    font-size: 0.9rem;
  }

  .hero__badge-text span {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-primary-light);
}

.card__image {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: var(--space-6);
  aspect-ratio: 16 / 9;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card__image img {
  transform: scale(1.05);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  background: var(--color-bg-section);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.card__title {
  margin-bottom: var(--space-3);
}

.card__footer {
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-light);
}

/* ==========================================================================
   PREISRECHNER (DACHRINNEN)
   ========================================================================== */
.calculator-card {
  background: #ffffff;
  border-radius: var(--border-radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--color-primary-light);
}

.calc-option {
  padding: 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  font-weight: var(--font-weight-semibold);
}

.calc-option:hover, .calc-option.is-selected {
  border-color: var(--color-secondary);
  background: var(--color-bg-section);
  color: var(--color-secondary);
}

.calc-result-box {
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: var(--space-8);
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin-top: var(--space-8);
}
.calc-result-price {
  font-size: var(--font-size-5xl);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-accent);
}

/* ==========================================================================
   FOOTER & STICKY BAR
   ========================================================================== */
.footer {
  background: var(--color-primary-dark);
  color: #E2E8F0;
  padding: var(--space-20) 0 var(--space-10) 0;
  font-size: var(--font-size-sm);
}

.footer h3, .footer h4 {
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.footer a {
  color: #B0BEC5;
  transition: color 0.2s ease;
}
.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer__bottom {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Sticky Contact Floating Button (Mobile) */
.mobile-sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 990;
  display: none;
}
@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    gap: 10px;
  }
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim--fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.anim--fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.anim--delay-1 { animation-delay: 0.1s; }
.anim--delay-2 { animation-delay: 0.2s; }
.anim--delay-3 { animation-delay: 0.3s; }
.anim--delay-4 { animation-delay: 0.4s; }
.anim--delay-5 { animation-delay: 0.5s; }
.anim--delay-6 { animation-delay: 0.6s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ADDITIONAL UTILITIES
   ========================================================================== */
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.w-full { width: 100%; }

@media (max-width: 1100px) {
  .header__nav {
    display: none !important;
  }
  .header__phone {
    display: none !important;
  }
  .header__burger {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__card {
    max-width: 600px;
    margin: 0 auto;
  }
  .grid--3, .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   FORM VALIDATION STYLES
   ========================================================================== */
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: var(--color-danger) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
  color: var(--color-danger);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}
.form-success.is-visible {
  display: flex;
}

@media (min-width: 1101px) {
  .hide-desktop {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: var(--space-12) 0;
  }
}
