/* ====================================================
   Elektromontagen Förster – Stylesheet
   Modernes Design: Navy + Solar-Orange
   ==================================================== */

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

:root {
  --navy:        #0d2137;
  --navy-mid:    #1a4a73;
  --blue:        #2563a8;
  --orange:      #f59e0b;
  --orange-dark: #d97706;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-500:    #64748b;
  --gray-700:    #334155;
  --text:        #1e293b;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:   0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --transition:  all .25s ease;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .3s, box-shadow .3s;
  padding: 1.25rem 0;
}

.nav.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: .75rem 0;
}

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

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-logo-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  transition: var(--transition);
}
.nav-logo-sub {
  font-size: .7rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  letter-spacing: .05em;
  transition: var(--transition);
}
.nav.scrolled .nav-logo-main { color: var(--navy); }
.nav.scrolled .nav-logo-sub  { color: var(--gray-500); }

/* Logo-Bild Navigation */
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter .3s;
}
.nav.scrolled .nav-logo-img { filter: none; }

/* Logo-Bild Footer */
.footer-logo-img {
  height: auto;
  width: 100%;
  max-width: 160px;
  display: block;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav.scrolled .nav-link { color: var(--gray-700); }
.nav.scrolled .nav-link:hover { color: var(--navy); }

.nav-cta {
  padding: .6rem 1.25rem;
  font-size: .875rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--navy); }

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  font-size: 1.5rem;
  color: var(--white);
}
.nav-mobile .btn-primary { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
     background: url('../images/hero2.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(245,158,11,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(37,99,168,.2) 0%, transparent 50%);
}

/* Dekoratives Solar-Grid-Muster */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  color: var(--orange);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--orange); }

.hero-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 1;
}
.hero-scroll svg { width: 20px; height: 20px; stroke: rgba(255,255,255,.5); }

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

/* ---------- Über uns ---------- */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  /* Platzhalter – ersetzen mit eigenem Bild */
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image svg { width: 80px; height: 80px; opacity: .3; }
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  color: var(--gray-700);
}
.about-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(245,158,11,.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23f59e0b'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Leistungen ---------- */
.services {
  background: var(--gray-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.service-card:hover .service-image { transform: scale(1.05); }
.service-body { padding: 2rem; }
.service-card h3 { color: var(--navy); margin-bottom: .75rem; }
.service-card p { color: var(--gray-500); font-size: .95rem; line-height: 1.7; }

/* ---------- Statistiken ---------- */
.stats {
  background: var(--navy);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 2rem;
  text-align: center;
  align-items: center;
}
.stat-item { padding: 1.5rem; }
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: .5rem;
  /* Platz für 2 Zeilen reservieren, damit das Hochzählen die Zeilenhöhe
     nicht ändert (sonst Umbruch-Flackern während der Animation) */
  min-height: 2.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,.1);
}

/* ---------- Vorteile ---------- */
.benefits {
  background: var(--white);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.benefit-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--orange);
  background: var(--gray-50);
  transition: var(--transition);
}
.benefit-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.benefit-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  opacity: .2;
  line-height: 1;
  margin-bottom: .5rem;
}
.benefit-card h3 { color: var(--navy); margin-bottom: .75rem; }
.benefit-card p { color: var(--gray-500); font-size: .95rem; line-height: 1.7; }

/* ---------- Referenzen-Vorschau ---------- */
.references {
  background: var(--gray-50);
}
.references-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 3rem 0 2.5rem;
}
.reference-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.reference-thumb-inner {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Platzhalter-Farben wenn kein Bild */
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s ease;
}
.reference-thumb:hover .reference-thumb-inner {
  transform: scale(1.05);
}
.reference-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,33,55,.3);
  opacity: 0;
  transition: var(--transition);
}
.reference-thumb:hover::after { opacity: 1; }
.reference-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.reference-thumb svg { width: 40px; height: 40px; stroke: rgba(255,255,255,.4); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 4rem 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p {
  color: rgba(255,255,255,.85);
  margin-top: .5rem;
  font-size: 1.05rem;
}
.cta-banner .btn {
  background: var(--white);
  color: var(--orange-dark);
  flex-shrink: 0;
}
.cta-banner .btn:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo-main { color: var(--white); font-size: 1.25rem; }
.footer-brand .nav-logo-sub  { color: rgba(255,255,255,.5); }
.footer-brand p {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 18px; height: 18px; fill: rgba(255,255,255,.7); }
.footer-social a:hover svg { fill: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  margin-bottom: .75rem;
}
.footer-contact-item svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  stroke: var(--orange);
  margin-top: 2px;
}
.footer-contact-item a { color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .8rem; }
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  color: rgba(255,255,255,.3);
  font-size: .8rem;
  transition: var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ---------- Innere Seiten – Page Hero ---------- */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #0d2137 0%, #1a4a73 100%);
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.7); margin-top: .75rem; font-size: 1.1rem; }

/* ---------- Referenzen Seite ---------- */
.gallery-section { background: var(--white); }
.gallery-filter {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gallery-item-inner {
  aspect-ratio: 4/3;
  /* Platzhalter – durch eigene Bilder ersetzen */
  background: linear-gradient(135deg, #1a4a73, #0d2137);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s ease;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img,
.gallery-item:hover .gallery-item-inner { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,33,55,.8) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text {
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
}
.gallery-overlay-sub {
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  margin-top: .2rem;
}
.gallery-item svg { width: 48px; height: 48px; stroke: rgba(255,255,255,.3); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  opacity: .7;
  transition: var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Karriere Seite ---------- */
.culture-section { background: var(--white); }
.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.video-placeholder {
  aspect-ratio: 16/9;
  background: var(--navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.video-placeholder iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
.perk-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.perk-card:hover { background: var(--white); box-shadow: var(--shadow-md); }
.perk-card svg { width: 32px; height: 32px; stroke: var(--orange); margin: 0 auto .75rem; }
.perk-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: .4rem; }
.perk-card p { color: var(--gray-500); font-size: .875rem; }

/* ---------- Kontakt Seite ---------- */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.contact-info-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(245,158,11,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; stroke: var(--orange); }
.contact-info-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); margin-bottom: .35rem; }
.contact-info-card p, .contact-info-card a { font-size: 1rem; color: var(--navy); font-weight: 500; }
.contact-info-card a:hover { color: var(--orange); }

/* Kontaktformular */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.contact-form h3 { color: var(--navy); margin-bottom: .5rem; font-size: 1.5rem; }
.contact-form > p { color: var(--gray-500); font-size: .9rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245,158,11,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit {
  width: 100%;
  padding: .9rem;
  margin-top: .5rem;
  font-size: 1rem;
}
.form-privacy {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: .75rem;
  text-align: center;
}
.form-privacy a { color: var(--navy); text-decoration: underline; }
.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 1rem;
  color: #065f46;
  font-size: .9rem;
  margin-top: 1rem;
  text-align: center;
}

/* ---------- Impressum / Datenschutz ---------- */
.legal-section { background: var(--white); }
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}
.legal-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.5rem; color: var(--navy); }
.legal-content h3 { margin-top: 1.5rem; margin-bottom: .75rem; font-size: 1.1rem; color: var(--navy); }
.legal-content p { color: var(--gray-700); margin-bottom: 1rem; }
.legal-content a { color: var(--blue); text-decoration: underline; }

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

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

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .about-grid,
  .culture-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }

  .services-grid,
  .benefits-grid,
  .stats-grid { grid-template-columns: 1fr; }
  .stat-divider { display: none; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-banner-inner { flex-direction: column; text-align: center; }

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

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

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .references-grid { grid-template-columns: 1fr 1fr; }
  .funnel-cards, .funnel-cards.cols-3 { grid-template-columns: 1fr 1fr; }
  .funnel-inputs .form-row { grid-template-columns: 1fr; }
}

/* =====================================================
   Cookie Banner
   ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  color: var(--white);
  z-index: 9000;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 220px; font-size: .875rem; line-height: 1.6; opacity: .85; }
.cookie-text a { color: var(--orange); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; flex-wrap: wrap; }

/* =====================================================
   YouTube Consent Wrapper
   ===================================================== */
.yt-consent {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.yt-consent iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-consent-placeholder { color: var(--white); max-width: 340px; }
.yt-consent-placeholder .yt-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: .5;
}
.yt-consent-placeholder p {
  font-size: .85rem;
  opacity: .65;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* =====================================================
   Angebots-Funnel
   ===================================================== */
.funnel-section { padding: 4rem 0 5rem; }
.funnel-wrap { max-width: 720px; margin: 0 auto; }

.funnel-progress { margin-bottom: 2.5rem; }
.funnel-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: .5rem;
}
.funnel-progress-bar { height: 5px; background: var(--gray-200); border-radius: 999px; overflow: hidden; }
.funnel-progress-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 999px;
  transition: width .4s ease;
  width: 0%;
}

.funnel-step { display: none; }
.funnel-step.active { display: block; animation: funnelIn .3s ease; }
@keyframes funnelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.funnel-step-title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.funnel-step-sub { color: var(--gray-500); margin-bottom: 2rem; line-height: 1.6; }

.funnel-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .875rem;
  margin-bottom: 1.5rem;
}
.funnel-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.funnel-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }

.funnel-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  user-select: none;
}
.funnel-card:hover { border-color: var(--navy-mid); box-shadow: var(--shadow-md); }
.funnel-card.selected { border-color: var(--orange); background: rgba(245,158,11,.06); }
.funnel-card-icon { font-size: 2rem; line-height: 1; }
.funnel-card-label { font-weight: 600; color: var(--navy); font-size: .9rem; }
.funnel-card.selected .funnel-card-label { color: var(--orange-dark); }

.funnel-inputs { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.funnel-inputs .form-group { display: flex; flex-direction: column; gap: .35rem; }
.funnel-inputs label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.funnel-inputs input {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color .2s;
  width: 100%;
}
.funnel-inputs input:focus { outline: none; border-color: var(--navy-mid); }
.funnel-inputs .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.funnel-nav { display: flex; gap: 1rem; align-items: center; margin-top: .5rem; flex-wrap: wrap; }
.funnel-btn-back {
  padding: .7rem 1.5rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: none;
  color: var(--gray-500);
  font-weight: 600;
  font-family: inherit;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
}
.funnel-btn-back:hover { border-color: var(--navy); color: var(--navy); }

.funnel-privacy { font-size: .8rem; color: var(--gray-500); margin-top: 1rem; line-height: 1.6; }
.funnel-privacy a { color: var(--orange); text-decoration: underline; }

.funnel-success { display: none; text-align: center; padding: 4rem 2rem; }
.funnel-success-icon {
  width: 80px; height: 80px;
  background: rgba(34,197,94,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.funnel-success-icon svg { width: 40px; height: 40px; stroke: #16a34a; stroke-width: 2.5; fill: none; }
.funnel-success h2 { color: var(--navy); margin-bottom: 1rem; }
.funnel-success p { color: var(--gray-500); max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }

@media (max-width: 600px) {
  .funnel-cards.cols-4 { grid-template-columns: 1fr 1fr; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
