/* ============================================================
   ReinGlanz – Reinigungsservice | Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variablen ── */
:root {
  --primary:       #1B3A5C;
  --primary-light: #254e7a;
  --accent-pink:   #F2A5B0;
  --accent-teal:   #7EC8C8;
  --accent-green:  #A8D8A8;
  --neutral-light: #F8F9FA;
  --neutral-mid:   #EEF1F4;
  --white:         #FFFFFF;
  --text-body:     #3D3D3D;
  --text-muted:    #6B7280;
  --shadow-sm:     0 2px 8px rgba(27,58,92,0.08);
  --shadow-md:     0 6px 24px rgba(27,58,92,0.13);
  --shadow-lg:     0 16px 48px rgba(27,58,92,0.18);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.3s ease;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,58,92,0.08);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

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

.nav-logo img { height: 104px; width: auto; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent-teal);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--primary-light) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d2035 0%, #1B3A5C 40%, #254e7a 70%, #1a4a6b 100%);
  z-index: 0;
}

/* Fallback-Bild wenn kein Video vorhanden */
.hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 1;
}

/* Video (technische Notiz: MP4/WebM loop autoplay muted) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27,58,92,0.72) 0%,
    rgba(27,58,92,0.55) 60%,
    rgba(27,58,92,0.75) 100%
  );
  z-index: 2;
}

/* ── Bubble-Deko (exakte Logo-Farben: Pink #F2A5B0 · Teal #7EC8C8 · Grün #A8D8A8) ── */
.hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  animation: floatBubble linear infinite;
  /* Echte Seifenblasen-Optik: transparenter Kern, leuchtender Rand */
  border: 2.5px solid rgba(255,255,255,0.5);
}
.bubble::after {
  content: '';
  position: absolute;
  top: 12%; left: 15%;
  width: 32%; height: 26%;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  filter: blur(3px);
}

/* Bubble 1 – Logo-Pink */
.bubble:nth-child(1) {
  width: 160px; height: 160px;
  background: radial-gradient(circle at 35% 35%, rgba(242,165,176,0.3), rgba(242,165,176,0.06) 60%, transparent 80%);
  border-color: rgba(242,165,176,0.8);
  left: 7%; bottom: -160px;
  animation-duration: 18s; animation-delay: 0s;
}
/* Bubble 2 – Logo-Teal */
.bubble:nth-child(2) {
  width: 110px; height: 110px;
  background: radial-gradient(circle at 35% 35%, rgba(126,200,200,0.3), rgba(126,200,200,0.06) 60%, transparent 80%);
  border-color: rgba(126,200,200,0.85);
  right: 11%; bottom: -110px;
  animation-duration: 22s; animation-delay: -6s;
}
/* Bubble 3 – Logo-Grün */
.bubble:nth-child(3) {
  width: 80px; height: 80px;
  background: radial-gradient(circle at 35% 35%, rgba(168,216,168,0.3), rgba(168,216,168,0.06) 60%, transparent 80%);
  border-color: rgba(168,216,168,0.8);
  left: 63%; bottom: -80px;
  animation-duration: 16s; animation-delay: -3s;
}
/* Bubble 4 – Teal groß */
.bubble:nth-child(4) {
  width: 200px; height: 200px;
  background: radial-gradient(circle at 35% 35%, rgba(126,200,200,0.22), rgba(126,200,200,0.04) 60%, transparent 80%);
  border-color: rgba(126,200,200,0.65);
  right: 4%; bottom: -200px;
  animation-duration: 26s; animation-delay: -12s;
}
/* Bubble 5 – Pink klein */
.bubble:nth-child(5) {
  width: 65px; height: 65px;
  background: radial-gradient(circle at 35% 35%, rgba(242,165,176,0.3), rgba(242,165,176,0.06) 60%, transparent 80%);
  border-color: rgba(242,165,176,0.75);
  left: 28%; bottom: -65px;
  animation-duration: 14s; animation-delay: -8s;
}
/* Bubble 6 – Grün mittel (neu) */
.bubble:nth-child(6) {
  width: 130px; height: 130px;
  background: radial-gradient(circle at 35% 35%, rgba(168,216,168,0.25), rgba(168,216,168,0.04) 60%, transparent 80%);
  border-color: rgba(168,216,168,0.7);
  left: 45%; bottom: -130px;
  animation-duration: 20s; animation-delay: -5s;
}

@keyframes floatBubble {
  0%   { transform: translateY(0) scale(0.85) rotate(0deg);    opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 0.9; }
  100% { transform: translateY(-115vh) scale(1.1) rotate(12deg); opacity: 0; }
}

/* ══════════════════════════════════════════════
   CINEMA HERO – 3D Szenen-Animation
   ══════════════════════════════════════════════ */
#hero-cinema {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.cinema-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  overflow: hidden;
}
.cinema-scene.active { opacity: 1; z-index: 1; }

.cinema-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Übergang 1: Durch-die-Tür Kreis-Zoom */
.cinema-scene.enter-door {
  opacity: 1; z-index: 2;
  clip-path: circle(0% at 50% 50%);
}
.cinema-scene.enter-door.transitioning {
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Übergang 2: Slide von links */
.cinema-scene.enter-slide-left {
  opacity: 1; z-index: 2;
  clip-path: inset(0 100% 0 0);
}
.cinema-scene.enter-slide-left.transitioning {
  clip-path: inset(0 0% 0 0);
  transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Übergang 3: Slide von rechts */
.cinema-scene.enter-slide-right {
  opacity: 1; z-index: 2;
  clip-path: inset(0 0 0 100%);
}
.cinema-scene.enter-slide-right.transitioning {
  clip-path: inset(0 0 0 0%);
  transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Szenen-Caption */
#hero-scene-caption {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: rgba(27,58,92,0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(126,200,200,0.35);
  color: rgba(255,255,255,0.92);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 50px;
  white-space: nowrap;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Dot-Navigation */
#hero-dots {
  position: absolute;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.hero-dot.active { background: var(--accent-teal); width: 24px; border-radius: 4px; }
.hero-dot:hover  { background: rgba(255,255,255,0.65); }

/* Hero-Inhalt: Titel oben-links, CTAs unten-rechts */
.hero-title-block {
  position: absolute;
  top: 120px;
  left: 64px;
  z-index: 4;
  max-width: 580px;
  color: var(--white);
  text-align: left;
}
.hero-title-block h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
  line-height: 1.2;
}
.hero-title-block h1 .brand { color: var(--accent-teal); }
.hero-title-block .slogan-wrapper {
  min-height: 56px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero-title-block .slogan {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  text-align: left;
}

.hero-ctas-block {
  position: absolute;
  bottom: 108px;
  right: 64px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Alte hero-content Regeln – werden nicht mehr verwendet */
.hero-content {
  display: none;
}
.hero-badge { display: none; }

/* Slogan-Wechsel */
.slogan-wrapper {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.slogan {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
  display: none;
  animation: fadeSlogan 0.8s ease;
}
.slogan.active { display: block; }

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

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-teal);
  color: var(--primary);
  border-color: var(--accent-teal);
}
.btn-primary:hover {
  background: #6ab8b8;
  border-color: #6ab8b8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(126,200,200,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Scroll-Indikator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-indicator svg { opacity: 0.5; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
section { padding: 96px 0; }
.section-light  { background: var(--neutral-light); }
.section-mid    { background: var(--neutral-mid); }
.section-dark   { background: var(--primary); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); margin-bottom: 16px; }
.section-header p  { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

.pill-label {
  display: inline-block;
  background: rgba(126,200,200,0.15);
  color: var(--accent-teal);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Pill mit Logo-Bild inline (Willkommen-Bereich) */
.welcome-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  font-size: 0.85rem;
}
.pill-logo {
  height: 72px;
  width: auto;
  display: inline-block;
  filter: none;
  vertical-align: middle;
}
.section-dark .pill-label {
  background: rgba(126,200,200,0.2);
  color: var(--accent-teal);
}

/* ============================================================
   INTRO / VERTRAUEN
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.intro-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.intro-image:hover img { transform: scale(1.04); }
.intro-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 20px; }
.intro-text p   { color: var(--text-muted); margin-bottom: 16px; }
.intro-text .btn { margin-top: 12px; }

.region-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27,58,92,0.06);
  border: 1px solid rgba(27,58,92,0.12);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 20px;
}

/* ============================================================
   CORE COMPETENCIES (Cards)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,58,92,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.card:hover .card-img img { transform: scale(1.06); }

.card-body {
  padding: 24px 24px 28px;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-pink));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p   { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   GENERISCHES CINEMA-HINTERGRUND-SYSTEM
   Gilt für Page-Hero, CTA-Banner, USP-Sektionen
   ============================================================ */

/* Gemeinsame Layer-Styles */
.cinema-bg-scene {
  position: absolute;
  inset: 0;
  display: none;
  opacity: 1;
}
.cinema-bg-scene.active { display: block; }
.cinema-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Page-Hero mit Cinema */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero-cinema {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,92,0.88) 0%, rgba(37,78,122,0.80) 100%);
  z-index: 1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}

/* CTA-Banner mit Cinema */
.cta-cinema {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-cinema-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 44, 0.78);
  z-index: 1;
}
.cta-banner h2,
.cta-banner p  { position: relative; z-index: 3; }
.cta-banner .btn { position: relative; z-index: 3; }
.cta-banner::before, .cta-banner::after { z-index: 2; }

/* ============================================================
   USP – Ken-Burns Kino-Hintergrund
   ============================================================ */
.usp-cinema-section {
  position: relative;
  overflow: hidden;
  background: transparent;
}
#usp-cinema {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.usp-cinema-scene {
  position: absolute;
  inset: 0;
  display: none;
  opacity: 1;
}
.usp-cinema-scene.active { display: block; }
.usp-cinema-scene .cinema-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.usp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 44, 0.84);
  z-index: 1;
}
.usp-cinema-section .container {
  position: relative;
  z-index: 2;
}

/* ============================================================
   USP STREIFEN
   ============================================================ */
.usp-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usp-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}
.usp-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-teal);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.usp-item h4 { font-size: 0.98rem; margin-bottom: 4px; color: var(--white); font-family: 'Inter', sans-serif; font-weight: 600; }
.usp-item p  { font-size: 0.87rem; color: rgba(255,255,255,0.65); }

/* ============================================================
   LEISTUNGEN (Leistungsseite)
   ============================================================ */
.leistungen-tabs {
  display: flex;
  gap: 4px;
  background: var(--neutral-mid);
  padding: 4px;
  border-radius: 50px;
  width: fit-content;
  margin: 0 auto 56px;
}
.tab-btn {
  padding: 12px 32px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.leistung-item {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--neutral-mid);
}
.leistung-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.leistung-item.reverse { direction: rtl; }
.leistung-item.reverse > * { direction: ltr; }

.leistung-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.leistung-img img { width: 100%; height: 100%; object-fit: cover; }

.leistung-text h3 { font-size: 1.5rem; margin-bottom: 12px; }
.leistung-text .lead { font-size: 1rem; color: var(--text-muted); margin-bottom: 20px; }

.leistung-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.leistung-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-body);
}
.leistung-bullets li::before {
  content: '✓';
  color: var(--accent-teal);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
  background: rgba(126,200,200,0.15);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ============================================================
   ÜBER UNS
   ============================================================ */
.werte-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.wert-card {
  background: #f4f5f7;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border-left: 5px solid var(--accent-teal);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wert-card.pink  { border-left-color: var(--accent-pink); }
.wert-card.green { border-left-color: var(--accent-green); }
.wert-card.navy  { border-left-color: var(--primary); }
.wert-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--primary); }
.wert-card p  { font-size: 0.96rem; color: var(--text-muted); line-height: 1.75; }

.ueber-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/7;
  margin-bottom: 64px;
}
.ueber-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(27,58,92,0.1);
  padding: 4px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent-teal); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--neutral-light);
  border: 1px solid rgba(27,58,92,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--primary);
  transition: all var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ============================================================
   KONTAKT / FORMULAR
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

.contact-sidebar { position: sticky; top: 100px; }

.region-box {
  background: #3a7ca5;
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.region-box h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 16px; }
.region-box p  { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-bottom: 8px; }
.region-tags   { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.region-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--neutral-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--primary);
}
.contact-info-item span { font-size: 1.2rem; }

/* Formular */
.form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(27,58,92,0.06);
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  gap: 0;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--neutral-mid);
  background: var(--neutral-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--transition);
}
.step.active .step-num, .step.done .step-num {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.step.done .step-num::after { content: '✓'; }
.step.done .step-num span  { display: none; }
.step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.step.active .step-label { color: var(--primary); }
.step-line {
  flex: 1;
  height: 2px;
  background: var(--neutral-mid);
  transition: background var(--transition);
}
.step-line.done { background: var(--primary); }

/* Form Steps */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.4s ease; }

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

.form-step h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--primary);
}
.form-step .step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Checkboxen */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid var(--neutral-mid);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 500;
  transition: all var(--transition);
}
.checkbox-label:hover { border-color: var(--accent-teal); background: rgba(126,200,200,0.05); }
.checkbox-label input { display: none; }
.checkbox-label.checked { border-color: var(--primary); background: rgba(27,58,92,0.04); color: var(--primary); }
.check-box {
  width: 20px; height: 20px;
  border: 2px solid currentColor;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.checkbox-label.checked .check-box { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Radio */
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid var(--neutral-mid);
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.radio-label input { display: none; }
.radio-label:hover { border-color: var(--accent-teal); }
.radio-label.selected { border-color: var(--primary); background: var(--primary); color: var(--white); }

/* Input Felder */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--accent-pink); margin-left: 3px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--neutral-mid);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--neutral-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(126,200,200,0.15);
  background: var(--white);
}
.form-group textarea { min-height: 110px; resize: vertical; }

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

/* Stepper Buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--neutral-mid);
}
.btn-step {
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.btn-next { background: var(--primary); color: var(--white); }
.btn-next:hover { background: var(--primary-light); transform: translateX(3px); }
.btn-prev { background: var(--neutral-mid); color: var(--text-muted); }
.btn-prev:hover { background: #d9dde2; color: var(--primary); }
.btn-submit {
  background: var(--accent-teal);
  color: var(--primary);
  font-size: 1rem;
  padding: 14px 32px;
}
.btn-submit:hover { background: #6ab8b8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(126,200,200,0.4); }

/* FILE UPLOAD */
.file-upload-area {
  border: 2px dashed rgba(27,58,92,0.25);
  border-radius: var(--radius);
  background: var(--neutral-light);
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}
.file-upload-area.drag-over {
  border-color: var(--accent-teal);
  background: rgba(126,200,200,0.08);
}
.file-upload-area input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 32px 20px;
  cursor: pointer;
  text-align: center;
}
.file-upload-icon { font-size: 2rem; }
.file-upload-text { font-weight: 600; color: var(--primary); font-size: 0.97rem; }
.file-upload-hint { font-size: 0.82rem; color: var(--text-muted); }
.file-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 14px 14px;
}
.file-preview-item {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(27,58,92,0.12);
}
.file-preview-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.file-preview-remove {
  position: absolute;
  top: 3px; right: 3px;
  width: 20px; height: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* DSGVO */
.dsgvo-box {
  margin-top: 24px;
  padding: 20px;
  background: var(--neutral-light);
  border-radius: var(--radius);
  border: 1px solid rgba(27,58,92,0.08);
}
.dsgvo-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  cursor: pointer;
}
.dsgvo-label input[type="checkbox"] { margin-top: 2px; accent-color: var(--primary); }
.dsgvo-security {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Erfolgs-Nachricht */
.success-msg {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.success-msg.show { display: block; animation: fadeIn 0.5s ease; }
.success-icon {
  width: 72px; height: 72px;
  background: rgba(168,216,168,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}
.success-msg h3 { font-size: 1.5rem; margin-bottom: 12px; }
.success-msg p  { color: var(--text-muted); max-width: 420px; margin: 0 auto; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #254e7a 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin: 0 24px;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(126,200,200,0.1);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(242,165,176,0.08);
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner p  { color: rgba(255,255,255,0.75); margin-bottom: 32px; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ============================================================
   STADTBILD / REGION
   ============================================================ */
.region-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 21/7;
  position: relative;
}
.region-visual img { width: 100%; height: 100%; object-fit: cover; }
.region-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27,58,92,0.7) 0%, rgba(27,58,92,0.2) 100%);
  display: flex;
  align-items: center;
  padding: 40px 56px;
}
.region-visual-text h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
.region-visual-text p  { color: rgba(255,255,255,0.8); max-width: 480px; }

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
.whatsapp-btn svg { width: 30px; height: 30px; fill: white; }
.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition);
  pointer-events: none;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; left: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--primary);
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ============================================================
   LOGO TEXT-FALLBACK (wenn logo.png noch nicht vorhanden)
   ============================================================ */
.logo-text-fallback {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.1;
}
.logo-text-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.logo-text-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   INTERAKTIVE KARTE – EINSATZGEBIET
   ============================================================ */
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.map-block-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 14px;
  text-align: center;
}
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27,58,92,0.08);
  position: relative;
}
.map-wrapper .leaflet-container {
  height: 380px;
  width: 100%;
  z-index: 0;
}
@media (max-width: 900px) {
  .maps-grid { grid-template-columns: 1fr; }
}
.map-legend {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(27,58,92,0.1);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.map-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
}
.map-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.map-dot.main   { background: #1B3A5C; border: 2px solid #7EC8C8; width: 14px; height: 14px; }
.map-dot.radius { background: rgba(126,200,200,0.25); border: 2px dashed #1B3A5C; }
.map-dot.city   { background: #F2A5B0; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }

/* Leaflet Popup anpassen */
.leaflet-popup-content-wrapper {
  border-radius: 10px !important;
  box-shadow: var(--shadow-md) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
}
.leaflet-popup-content strong { color: var(--primary); }

@media (max-width: 768px) {
  .map-wrapper .leaflet-container { height: 320px; }
  .map-legend { bottom: 12px; right: 12px; padding: 10px 14px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 92px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-tagline { font-size: 0.88rem; line-height: 1.65; }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--accent-teal); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.footer-contact-item span { font-size: 1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
}

/* ============================================================
   PAGE HERO (Unterseiten)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #254e7a 100%);
  padding: 140px 0 72px;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--accent-teal); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ============================================================
   GLOBALE SEIFENBLASEN (seitlich, über gesamte Website)
   ============================================================ */
#global-bubbles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;           /* Über Sektions-Hintergrund, unter Navbar (1000) und Content */
  overflow: hidden;
}

.global-bubble {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  border: 2px solid;
  animation: globalBubbleRise linear both;
  will-change: transform, opacity;
}

/* Glanzpunkt oben links auf jeder Blase */
.bubble-shine {
  position: absolute;
  top: 14%;
  left: 16%;
  width: 28%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  filter: blur(2px);
}

@keyframes globalBubbleRise {
  0% {
    transform: translateY(0)      translateX(0)           scale(0.85);
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  40% {
    transform: translateY(-38vh)  translateX(var(--wobble, 12px))  scale(1);
  }
  75% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(-108vh) translateX(calc(var(--wobble, 12px) * -0.5)) scale(1.08);
    opacity: 0;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid   { grid-template-columns: repeat(2, 1fr); }
  .usp-list     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .leistung-item { grid-template-columns: 1fr; gap: 28px; }
  .leistung-item.reverse { direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .intro-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .cards-grid   { grid-template-columns: 1fr; }
  .usp-list     { grid-template-columns: 1fr; }
  .werte-grid   { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav-inner    { height: 68px; }
  .nav-logo img { height: 46px; }
  .nav-links    { display: none; position: fixed; top: 68px; left: 0; right: 0; height: calc(100vh - 68px); background: var(--white); flex-direction: column; padding: 32px 24px; gap: 0; border-top: 1px solid var(--neutral-mid); z-index: 1001; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a  { padding: 18px 0; border-bottom: 1px solid var(--neutral-mid); font-size: 1.1rem; }
  .nav-cta      { display: none; }
  .hamburger    { display: flex; }
  .cta-banner   { margin: 0; padding: 40px 24px; }
  .form-wrapper { padding: 24px 20px; }
  .stepper      { gap: 0; }
  .step-label   { display: none; }
  .hero-title-block { top: 88px; left: 24px; right: 24px; max-width: none; }
  .hero-ctas-block  { bottom: 110px; right: 24px; left: 24px; align-items: stretch; flex-direction: column; justify-content: center; }
  .hero-ctas-block .btn { text-align: center; width: 100%; }
  .hero-title-block .slogan-wrapper { justify-content: flex-start; }
  .region-visual { aspect-ratio: 4/2; }
  .region-visual-overlay { padding: 24px; }
  .whatsapp-btn { width: 50px; height: 50px; bottom: 20px; right: 20px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }
}
