/* Self-hosted fonts (DSGVO-konform) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-variable.woff2') format('woff2-variations'),
       url('../fonts/manrope-variable.woff2') format('woff2');
}

/* Hero slogan initial state for GSAP */
.hero-slogan-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}

/* ============================================================
   Bubble-Look: Glassmorphism
   - .bubble        -> hellgruen (Frische, Sauberkeit)
   - .bubble-deep   -> dunkelblau (Brand)
   ============================================================ */
.bubble {
  position: relative;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9) 0%, rgba(232, 250, 234, 0.75) 35%, rgba(150, 220, 170, 0.6) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.7),
    inset 0 -8px 16px rgba(70, 180, 110, 0.1),
    0 24px 48px -16px rgba(70, 180, 110, 0.35);
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.bubble::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 70% 80%, rgba(70, 180, 110, 0.18), transparent 55%);
  pointer-events: none;
}

.bubble-deep {
  background: radial-gradient(circle at 30% 25%, rgba(126, 184, 255, 0.95) 0%, rgba(45, 108, 223, 0.85) 60%, rgba(10, 61, 145, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.4),
    inset 0 -10px 24px rgba(10, 61, 145, 0.4),
    0 28px 60px -16px rgba(10, 61, 145, 0.55);
  color: #ffffff;
}

.bubble-deep::after {
  background: radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.15), transparent 55%);
}

.bubble-link {
  cursor: pointer;
}

.bubble-link:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.85),
    inset 0 -8px 16px rgba(70, 180, 110, 0.18),
    0 32px 64px -16px rgba(70, 180, 110, 0.5);
}

/* Hover-Schatten fuer dunkelblaue Bubbles bleibt blau */
.bubble-deep.bubble-link:hover {
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.4),
    inset 0 -10px 24px rgba(10, 61, 145, 0.5),
    0 32px 64px -16px rgba(10, 61, 145, 0.6);
}

/* Schwebende Hintergrund-Bubbles im Hero */
.deco-bubble {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.65), rgba(150, 220, 170, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
  filter: blur(0.5px);
}

/* Card hover lift (z.B. fuer Team-Karten) */
.card-lift {
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(45, 108, 223, 0.18);
  border-color: rgba(45, 108, 223, 0.45);
}

/* Leaflet-Map Marker fuer Kontaktseite */
.kontakt-map-marker {
  background: transparent;
}

.kontakt-map-marker span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #2d6cdf;
  box-shadow: 0 0 0 6px rgba(45, 108, 223, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.leaflet-container {
  border-radius: 1rem;
  font-family: inherit;
  /* Eigener Stacking-Kontext, sonst legt sich Leaflet (Panes z-index 200+)
     ueber das sticky Nav (z-40). */
  isolation: isolate;
}

/* Scroll indicator */
@keyframes scroll-nudge {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 1; }
}

.scroll-indicator {
  animation: scroll-nudge 2s ease-in-out infinite;
}

/* Subtiler Sky-Background fuer ausgewaehlte Sektionen */
.bg-sky-fade {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}

.bg-sky-soft {
  background:
    radial-gradient(ellipse 120% 60% at 0% 0%, rgba(126, 184, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 100% 60% at 100% 100%, rgba(45, 108, 223, 0.12), transparent 60%),
    #f4f8ff;
}
