/* ========================================
   Gewaltprävention BW – Luminous Light-Mode Stylesheet
   Design: Luminous Glass / Premium Apple & SaaS Style
   ======================================== */

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

:root {
  /* Helles, strahlendes Luminous-Design */
  --bg-light:      hsl(215, 30%, 98%);       /* Weiches, elegantes Alabaster */
  --navy:          hsl(215, 60%, 10%);       /* Tiefes Midnight-Navy für starken Text-Kontrast */
  --navy2:         hsl(215, 50%, 17%);       /* Eleganter Schieferton */
  --orange:        hsl(24, 95%, 48%);        /* Sattes, leuchtendes Energie-Orange */
  --orange2:       hsl(24, 100%, 55%);       /* Hellerer Akzent-Orange-Glow */
  --hell:          hsl(218, 22%, 96%);       /* Klares, kühles Grau-Weiß */
  --weiss:         #ffffff;
  --text-dark:     hsl(215, 22%, 18%);       /* Exzellenter, lesbarer Textkontrast */
  --grau:          hsl(215, 12%, 40%);       /* Muted Steel */
  
  /* Zarte, edle Schlagschatten für Luminous Design */
  --shadow:        0 10px 30px rgba(15, 45, 74, 0.04), 
                   0 1px 8px rgba(0, 0, 0, 0.02);
  --shadow-hover:  0 24px 50px rgba(15, 45, 74, 0.12), 
                   0 0 24px rgba(232, 112, 10, 0.08);
}

/* ---- RESET & CORE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.01em;
  color: var(--navy);
}

/* ---- AMBIENT PULSING GLOWS (Helle, warme Lichtkugeln) ---- */
.ambient-glow-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-light);
  pointer-events: none;
}
.glow-orange {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 112, 10, 0.05) 0%, transparent 70%);
  top: -150px;
  left: -150px;
  animation: pulseGlow 14s ease-in-out infinite alternate;
}
.glow-cyan {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 150, 255, 0.04) 0%, transparent 70%);
  bottom: -200px;
  right: -200px;
  animation: pulseGlow 20s ease-in-out infinite alternate-reverse;
}
@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.15) translate(60px, 30px); opacity: 1; }
}

/* ---- LUMINOUS NAVIGATION (Brilliant Glass - Overridden to original Dark Blue) ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 45, 74, 0.97);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  border-bottom: 3px solid #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.nav-logo {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}
.nav-logo img { height: 46px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.nav-logo span {
  color: #fff; font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 800; line-height: 1.3;
  display: block; letter-spacing: 0.02em; text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 40%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex; list-style: none; gap: 8px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  padding: 8px 16px; border-radius: 8px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover, .nav-links a.active {
  color: #fff !important; background: var(--orange);
  box-shadow: 0 6px 20px rgba(232, 112, 10, 0.35);
  transform: translateY(-1px);
}

/* ---- BURGER / MOBILE NAV ---- */
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; border: none; background: none;
}
.burger span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .burger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(15, 45, 74, 0.97); padding: 16px 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 32px; border-radius: 0; }
  .dropdown-menu { position: static; box-shadow: none; background: rgba(0,0,0,0.03); }
  .dropdown-menu li a { padding: 10px 48px; font-size: 13px; }
  .dropdown > a::after { content: ' ▾'; }
}

/* ---- DROPDOWN ---- */
.dropdown { position: relative; }
.dropdown > a::after { content: ' ▾'; font-size: 11px; opacity: 0.7; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  min-width: 230px;
  box-shadow: 0 15px 35px rgba(15, 45, 74, 0.1);
  border: 1px solid rgba(15, 45, 74, 0.05);
  z-index: 2000;
  padding: 8px 0;
  margin-top: 4px;
}
.dropdown-menu li { list-style: none; }
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--grau) !important;
  font-size: 13px;
  border-radius: 6px;
  white-space: nowrap;
  margin: 0 6px;
}
.dropdown-menu li a:hover { background: var(--orange); color: #fff !important; }
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu { display: block; }

/* ---- IMMERSIVE LUMINOUS HERO ---- */
.hero-img-wrap {
  position: relative;
  margin-top: 72px;
  height: 680px;
  background: linear-gradient(135deg, #fff7ed 0%, #e0f2fe 100%);
  overflow: hidden;
}

/* Weiche Überblendungen für das Skyline-Bild an hellen Tag */
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 20%, var(--bg-light) 95%),
              linear-gradient(to bottom, transparent 60%, var(--bg-light) 100%);
  z-index: 1;
}

.hero-bg-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 100%;
  opacity: 0.35;
  mix-blend-mode: multiply;
  transform: scale(1.03);
  transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s;
}

.hero-img-wrap:hover .hero-bg-img {
  transform: scale(1.01);
  opacity: 0.42;
}

@media (max-width: 768px) {
  .hero-img-wrap { height: 420px; }
  .hero-bg-img { object-position: center center; transform: scale(1); }
}
@media (max-width: 480px) {
  .hero-img-wrap { height: 320px; }
}

/* Zentriertes Luminous-Glass Board */
.hero-glass-board {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translate(-50%, 0);
  width: min(840px, 92vw);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  z-index: 2;
  box-shadow: none;
  animation: floatBoard 8s ease-in-out infinite;
}

@keyframes floatBoard {
  0%, 100% { transform: translate(-50%, 0) translateY(0); }
  50% { transform: translate(-50%, 0) translateY(-10px); }
}

.hero-logo {
  width: min(340px, 50vw); height: auto; display: block; margin: 0 auto 24px;
  filter: drop-shadow(0 4px 16px rgba(15, 45, 74, 0.15));
}

.hero-tagline {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  font-size: clamp(0.9rem, 2vw, 1.22rem);
  letter-spacing: 0.1em;
  margin-top: 16px;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}
.hero-tagline span { color: var(--orange); font-weight: 900; }

/* ---- HERO UNTER DEM BILD (Original Navy Hero Banner & Spacing) ---- */
.hero-below {
  background: #0f2d4a !important;
  border-top: 3px solid #ffffff !important;
  text-align: center !important;
  padding: 68px 24px 52px !important;
  position: relative !important;
}
.hero-below .hero-sub-h1 {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
}
.hero-below .hero-sub {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem) !important;
  line-height: 1.8 !important;
  font-family: 'Segoe UI', Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin-bottom: 28px !important;
}
.hero-below .btn-outline {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  background: transparent !important;
  margin-left: 12px !important;
}
.hero-below .btn-outline:hover {
  background: #ffffff !important;
  color: #0f2d4a !important;
}
.hero-below .hero-separator {
  display: none !important;
}

.hero-sub-h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--navy) 40%, var(--navy2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.15;
}

.hero-sub {
  color: var(--text-dark);
  font-size: clamp(1rem, 2vw, 1.18rem);
  margin-bottom: 36px;
  line-height: 1.8;
  font-weight: 400;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- PREMIUM BUTTONS ---- */
.btn {
  display: inline-block; padding: 16px 36px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: none; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(15, 45, 74, 0.08);
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232,112,10,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232,112,10,0.48);
}
.btn-outline {
  border: 1.5px solid rgba(15, 45, 74, 0.25);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--navy) !important;
  margin-left: 14px;
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 45, 74, 0.15);
}

.hero-separator {
  position: relative;
  width: 60%;
  max-width: 600px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(15, 45, 74, 0.22) 20%, rgba(15, 45, 74, 0.22) 80%, transparent);
  margin: 72px auto 0;
}
.hero-separator::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(232, 112, 10, 0.6);
}

/* ---- SECTIONS & KACHELN ---- */
.section { padding: 96px 24px; color: var(--text-dark); }
.section-alt {
  background: linear-gradient(135deg, #f1f4f9 0%, #e6ecf4 100%);
  border-top: 1px solid rgba(15, 45, 74, 0.06);
  border-bottom: 1px solid rgba(15, 45, 74, 0.06);
}
.container { max-width: 1100px; margin: 0 auto; }

.section-title {
  text-align: center; margin-bottom: 64px;
}
.section-title h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--navy) 40%, var(--navy2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title p {
  color: var(--grau) !important; margin-top: 12px; font-size: 1.05rem; max-width: 600px; margin-left: auto; margin-right: auto;
}
.section-title .line {
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange2) 100%);
  margin: 18px auto 0; border-radius: 10px;
  box-shadow: 0 0 12px rgba(232, 112, 10, 0.25);
}

/* ÜBER UNS (Editorial Grid) */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center;
}
.about-grid .text h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--navy) 40%, var(--navy2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-grid .text p { color: var(--text-dark) !important; margin-bottom: 18px; line-height: 1.85; font-size: 0.98rem; font-weight: 400; }
.about-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(15, 45, 74, 0.05); }
.about-img img { width: 100%; height: auto; display: block; transition: transform 0.6s; }
.about-img:hover img { transform: scale(1.02); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- LUMINOUS GLOW CARDS ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-top: 3.5px solid var(--card-color, var(--orange));
  border-radius: 20px;
  padding: 44px 32px;
  box-shadow: var(--shadow);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
}
.card a { margin-top: auto; align-self: flex-start; }
.card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--card-color, var(--orange2));
  border-top-color: var(--card-color, var(--orange2));
  box-shadow: 0 20px 40px rgba(15, 45, 74, 0.08), 
              0 0 32px var(--card-glow, rgba(232, 112, 10, 0.15));
}

.card-icon {
  width: 62px; height: 62px;
  background: #ffffff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 4px 4px 10px rgba(15, 45, 74, 0.08),
              -4px -4px 10px rgba(255, 255, 255, 0.9),
              inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .card-icon {
  background: var(--card-color, var(--orange));
  border-color: var(--card-color, var(--orange));
  box-shadow: 0 8px 24px var(--card-glow, rgba(232, 112, 10, 0.25));
}
.card-icon svg {
  width: 26px; height: 26px;
  stroke: var(--card-color, var(--navy)) !important; fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .card-icon svg {
  stroke: #ffffff !important;
  transform: scale(1.1);
}

/* Individual Neumorphic Icon Colors and Shadows matching the reference image */
.cards .card:nth-child(1) { --card-color: #0284c7; --card-glow: rgba(2, 132, 199, 0.28); }
.cards .card:nth-child(2) { --card-color: #10b981; --card-glow: rgba(16, 185, 129, 0.28); }
.cards .card:nth-child(3) { --card-color: #f97316; --card-glow: rgba(249, 115, 22, 0.28); }
.cards .card:nth-child(4) { --card-color: #8b5cf6; --card-glow: rgba(139, 92, 246, 0.28); }
.cards .card:nth-child(5) { --card-color: #06b6d4; --card-glow: rgba(6, 182, 212, 0.28); }
.cards .card:nth-child(6) { --card-color: #ec4899; --card-glow: rgba(236, 72, 153, 0.28); }

/* Custom Keyframe Animations for tactile micro-interactions */
@keyframes card-heartbeat {
  0%, 100% { transform: scale(1.1); }
  50% { transform: scale(0.95); }
}
@keyframes card-wiggle {
  0%, 100% { transform: rotate(0deg) scale(1.1); }
  25% { transform: rotate(-8deg) scale(1.1); }
  75% { transform: rotate(8deg) scale(1.1); }
}
@keyframes card-float {
  0%, 100% { transform: translateY(0) scale(1.1); }
  50% { transform: translateY(-4px) scale(1.1); }
}
@keyframes card-shield {
  0%, 100% { transform: scale(1.1); filter: drop-shadow(0 0 0px var(--card-color)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 5px var(--card-color)); }
}

/* Connect micro-animations on card hover */
.cards .card:nth-child(1):hover .card-icon svg { animation: card-float 2s ease-in-out infinite; }
.cards .card:nth-child(2):hover .card-icon svg { animation: card-heartbeat 1.2s ease-in-out infinite; }
.cards .card:nth-child(3):hover .card-icon svg { animation: card-wiggle 0.6s ease-in-out infinite; }
.cards .card:nth-child(4):hover .card-icon svg { animation: card-shield 1.5s ease-in-out infinite; }
.cards .card:nth-child(5):hover .card-icon svg { animation: card-wiggle 0.6s ease-in-out infinite; }
.cards .card:nth-child(6):hover .card-icon svg { animation: card-float 2s ease-in-out infinite; }
.card h3 { color: var(--navy); font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
.card p { color: var(--text-dark); font-size: 0.94rem; line-height: 1.7; font-weight: 400; margin-bottom: 24px !important; }

/* Symmetrical Premium Card Action Buttons with Arrow Micro-Animations */
.btn-premium-card {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #0f2d4a !important; /* Original Navy Background */
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  border: 2.5px solid #5f7c9a !important; /* Clean stahl-blue border */
  margin-top: auto !important; /* Forces perfect baseline symmetry at the bottom of the card */
  align-self: flex-start !important;
  box-shadow: 0 4px 10px rgba(15, 45, 74, 0.15) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-align: center !important;
}

.btn-premium-card .arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-block;
}

/* Subtly light up the button border when hovering anywhere on the card */
.card:hover .btn-premium-card {
  border-color: var(--orange) !important;
  box-shadow: 0 6px 14px rgba(232, 112, 10, 0.18) !important;
}

/* Elite direct hover triggers for tactile feedback */
.btn-premium-card:hover {
  background: var(--orange) !important;
  border-color: var(--orange2) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 24px rgba(232, 112, 10, 0.4) !important;
}

.btn-premium-card:hover .arrow {
  transform: translateX(4px) !important;
}

/* ---- STATS BAND (Original Navy Background & Compact Padding) ---- */
.stats-band {
  background: #0f2d4a !important; /* Original Navy Color */
  padding: 48px 24px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.stat-item {}
.stat-num {
  font-family: 'Barlow Condensed', 'Outfit', sans-serif !important;
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  color: #e8700a !important; /* Original Orange Color */
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: none !important;
  white-space: nowrap;
}
.stat-label {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.95rem !important;
  margin-top: 8px !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-family: 'Inter', sans-serif !important;
}

/* ---- CTA BANNER ---- */
.cta-band {
  background: radial-gradient(circle at left center, var(--navy2) 0%, var(--navy) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 88px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 14px; text-transform: uppercase; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.08rem; margin-bottom: 36px; font-weight: 400; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- FOOTER ---- */
footer {
  background: #2d3436;
  padding: 80px 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  max-width: 1100px; margin: 0 auto; padding-bottom: 40px;
  border-bottom: 1px solid rgba(15, 45, 74, 0.05);
}
.footer-brand img { height: 62px; margin-bottom: 18px; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.1)); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255, 255, 255, 0.65); font-weight: 400; }
.footer-col h4 { color: #ffffff; font-size: 0.98rem; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.88rem; transition: color 0.25s; font-weight: 400; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1100px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); font-weight: 400;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.5); text-decoration: none; font-weight: 400; }
.footer-bottom a:hover { color: var(--orange); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- PREMIUM CHATBOT-UI (Lara iOS-Glass Style) ---- */
#chat-btn {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  left: auto !important;
  top: auto !important;
  z-index: 9999 !important;
  height: 68px; border-radius: 34px;
  background: rgba(255, 255, 255, 0.8); color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.6); cursor: pointer;
  box-shadow: 0 15px 45px rgba(15, 45, 74, 0.12),
              0 0 20px rgba(232, 112, 10, 0.05);
  display: flex; align-items: center; gap: 14px;
  padding: 0 24px 0 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
#chat-btn::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 38px;
  border: 2px solid var(--orange);
  opacity: 0;
  animation: lara-holo-pulse 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}
@keyframes lara-holo-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.18); opacity: 0; }
}
#chat-btn:hover {
  background: var(--orange); border-color: var(--orange2); color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(232,112,10,0.45);
}
#chat-btn .chat-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--orange);
  background: #222;
  box-shadow: 0 4px 12px rgba(15, 45, 74, 0.15);
}
#chat-btn .chat-avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
}
#chat-btn .chat-label {
  display: flex; flex-direction: column; line-height: 1.25; text-align: left;
}
#chat-btn .chat-label strong { font-size: 0.98rem; font-weight: 700; font-family: 'Outfit', sans-serif; }
#chat-btn .chat-label span { font-size: 0.72rem; opacity: 0.75; font-weight: 300; }

#chat-window {
  position: fixed !important;
  bottom: 106px !important;
  right: 28px !important;
  left: auto !important;
  top: auto !important;
  z-index: 9999 !important;
  width: min(390px, calc(100vw - 40px));
  background: rgba(255, 255, 255, 0.88); border-radius: 24px;
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 80px rgba(15, 45, 74, 0.15);
  display: none; flex-direction: column; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#chat-window.open { display: flex; }
.chat-header {
  background: rgba(15, 45, 74, 0.95); color: #fff;
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center;
}
.chat-header span { font-weight: 700; font-size: 0.98rem; font-family: 'Outfit', sans-serif; }
.chat-header button { background: none; border: none; color: #fff; cursor: pointer; font-size: 1.1rem; opacity: 0.7; transition: opacity 0.2s; }
.chat-header button:hover { opacity: 1; }
.chat-body { flex: 1; padding: 20px; height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background: rgba(0,0,0,0.03); }
.chat-msg { max-width: 82%; padding: 12px 16px; border-radius: 16px; font-size: 0.88rem; line-height: 1.55; position: relative; }
.chat-msg.bot {
  background: #fff;
  border: 1px solid rgba(15, 45, 74, 0.06);
  color: var(--text-dark);
  align-self: flex-start;
  border-radius: 4px 16px 16px 16px;
  box-shadow: 0 4px 12px rgba(15, 45, 74, 0.03);
  padding-right: 32px;
}
.chat-msg.user {
  background: var(--orange); color: #fff;
  align-self: flex-end;
  border-radius: 16px 4px 16px 16px;
  box-shadow: 0 6px 18px rgba(232, 112, 10, 0.25);
}
.chat-input-row { display: flex; border-top: 1px solid rgba(15, 45, 74, 0.08); background: rgba(255, 255, 255, 0.5); }
.chat-input-row input {
  flex: 1; padding: 14px 18px; border: none; outline: none;
  font-size: 0.9rem; font-family: inherit; background: transparent; color: var(--text-dark);
}
.chat-input-row input::placeholder { color: var(--grau); opacity: 0.7; }
.chat-input-row button {
  padding: 14px 22px; background: var(--orange); color: #fff;
  border: none; cursor: pointer; font-size: 1.05rem; transition: background 0.25s, transform 0.2s;
}
.chat-input-row button:hover { background: var(--orange2); transform: scale(1.03); }

/* Quick Action Pills */
.chat-quick-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
  align-self: flex-start;
  max-width: 100%;
}
.chat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 3px 3px 8px rgba(15, 45, 74, 0.06),
              -3px -3px 8px rgba(255, 255, 255, 0.9),
              inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
}
.chat-pill:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 12px rgba(15, 45, 74, 0.1),
              -5px -5px 12px rgba(255, 255, 255, 1),
              inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
  color: var(--orange);
}
.chat-pill:active {
  transform: translateY(0.5px);
  box-shadow: inset 2px 2px 5px rgba(15, 45, 74, 0.08),
              inset -2px -2px 5px rgba(255, 255, 255, 0.8);
}
.chat-pill svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}
.chat-pill:hover svg {
  transform: scale(1.1);
}

/* Neumorphic 3D Circle Icons for Timeline & General Use */
.neumorphic-icon-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 4px 4px 10px rgba(15, 45, 74, 0.06),
              -4px -4px 10px rgba(255, 255, 255, 0.9),
              inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.neumorphic-icon-btn:hover {
  transform: translateY(-2.5px) scale(1.05);
  box-shadow: 6px 6px 14px rgba(15, 45, 74, 0.1),
              -6px -6px 14px rgba(255, 255, 255, 0.95),
              inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
}
.neumorphic-icon-btn:active {
  transform: translateY(0.5px) scale(0.98);
  box-shadow: inset 2.5px 2.5px 5px rgba(15, 45, 74, 0.07),
              inset -2.5px -2.5px 5px rgba(255, 255, 255, 0.85);
}
.neumorphic-icon-btn svg {
  width: 26px; height: 26px;
  stroke-width: 2.2;
  transition: transform 0.3s ease;
}
.neumorphic-icon-btn:hover svg {
  transform: scale(1.1);
}

/* Voice Speaker Button */
.chat-voice-btn {
  background: rgba(15, 45, 74, 0.05);
  border: 1px solid rgba(15, 45, 74, 0.08);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: absolute;
  right: 12px;
  top: 12px;
  color: var(--navy);
  opacity: 0.75;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-voice-btn:hover {
  opacity: 1;
  background: rgba(15, 45, 74, 0.1);
  color: var(--orange);
  border-color: rgba(232, 112, 10, 0.25);
  transform: scale(1.08);
}
.chat-voice-btn.active {
  opacity: 1;
  background: var(--orange);
  border-color: var(--orange2);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(232, 112, 10, 0.3);
  animation: lara-voice-bounce 0.8s infinite alternate;
}
@keyframes lara-voice-bounce {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

/* Voice Dictation Microphone Button - Robust Orange Styling */
.chat-input-row button.chat-mic-btn {
  background: var(--orange) !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 14px 20px !important;
}
.chat-input-row button.chat-mic-btn:hover {
  opacity: 1;
  background: var(--orange2) !important;
  transform: scale(1.05);
}
.chat-input-row button.chat-mic-btn.recording {
  opacity: 1 !important;
  background: #ef4444 !important;
  color: #fff !important;
  animation: mic-glow-pulse 1.2s infinite alternate;
}
/* Physical gap separating the two orange buttons */
.chat-input-row #chat-send {
  margin-left: 3px !important;
}
@keyframes mic-glow-pulse {
  0% { box-shadow: 0 0 4px #ef4444; }
  100% { box-shadow: 0 0 16px #ef4444; }
}

/* Typing Indicator Dots */
.typing-indicator {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 8px;
}
.typing-dot {
  width: 6px; height: 6px;
  background: rgba(15, 45, 74, 0.5);
  border-radius: 50%;
  animation: lara-typing-bounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes lara-typing-bounce {
  0%, 80%, 100% { transform: scale(0.3); opacity: 0.3; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* ---- PREMIUM SCROLL ANIMATIONS ---- */
.anim-out {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .anim-out { opacity: 1; transform: none; transition: none; }
}

/* ---- PREMIUM LEHRTEAM PAGE STYLES ---- */
.page-header {
  background: linear-gradient(135deg, #f1f4f9 0%, #e6ecf4 100%);
  padding: 128px 24px 72px;
  text-align: center;
  border-bottom: 1px solid rgba(15, 45, 74, 0.06);
}
.page-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--navy) 40%, var(--navy2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  line-height: 1.15;
}
.page-header p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--grau);
  font-weight: 400;
  max-width: 720px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.team-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-top: 3.5px solid var(--orange);
  border-radius: 20px;
  padding: 36px 16px; /* Optimierte Innenabstände für einzeilige Namen */
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(232, 112, 10, 0.35);
  border-top-color: var(--orange2);
  box-shadow: 0 20px 40px rgba(15, 45, 74, 0.1), 
              0 0 30px rgba(232, 112, 10, 0.15);
}
.team-photo-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3.5px solid var(--orange);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 45, 74, 0.08);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover .team-photo-wrap {
  border-color: var(--orange2);
  box-shadow: 0 8px 24px rgba(232, 112, 10, 0.3);
}
.team-card:hover .team-photo-wrap img {
  transform: scale(1.08);
}
.team-card h3 {
  color: var(--navy);
  font-size: 1.15rem; /* Schriftgröße leicht reduziert, damit lange Namen perfekt einzeilig bleiben */
  font-weight: 800;
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
  white-space: nowrap; /* Garantiert einzeilige Darstellung */
  text-overflow: ellipsis;
  max-width: 100%;
  overflow: hidden;
}
.team-card p {
  color: var(--text-dark);
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 400;
  margin-top: auto;
}

/* Spezial-Zuschnitte (Foto-Crops) ohne Inline-Styles */
.crop-peter-k img {
  transform: scale(1.3) translateY(-5%) translateX(14%);
  transform-origin: center top;
}
.team-card:hover .crop-peter-k img {
  transform: scale(1.38) translateY(-5%) translateX(14%);
}
.crop-rainer img {
  transform: scale(1.08) translateY(-7%) translateX(4%); /* Kopfgröße von 1.12 auf 1.08 reduziert. translateY(-7%) und translateX(4%) zentrieren ihn perfekt lückenlos und heben ihn exakt auf Augenhöhe. */
  transform-origin: center top;
}
.team-card:hover .crop-rainer img {
  transform: scale(1.16) translateY(-7%) translateX(4%);
}
.crop-peter-b img {
  transform: translateX(5%);
}
.team-card:hover .crop-peter-b img {
  transform: scale(1.08) translateX(5%);
}
.crop-frank img {
  transform: translateX(12%);
}
.team-card:hover .crop-frank img {
  transform: scale(1.08) translateX(12%);
}
.crop-silvana img {
  transform: scale(1.12) translateY(-15%); /* Perfekt ausbalanciert: S=1.12 verhindert weiße Ränder unten, zentriert ihr Gesicht perfekt auf Augenhöhe und passt ihre Kopfgröße an. */
  transform-origin: center top;
}
.team-card:hover .crop-silvana img {
  transform: scale(1.2) translateY(-15%);
}

.crop-matthias img {
  transform: scale(1.16) translateY(1.5%); /* Skalierung auf 1.16 vergrößert seinen Kopf und schneidet das Bild unten ab, translateY(1.5%) positioniert sein Gesicht perfekt (minimal tiefer gesetzt). */
  transform-origin: center top;
}
.team-card:hover .crop-matthias img {
  transform: scale(1.24) translateY(1.5%);
}

/* ==========================================================================
   PREMIUM QUALITY MANAGEMENT COMPONENT STYLES
   ========================================================================== */

.qm-hero {
  background: linear-gradient(135deg, #f1f4f9 0%, #e6ecf4 100%);
  padding: 140px 24px 80px;
  border-bottom: 1px solid rgba(15, 45, 74, 0.06);
  position: relative;
  overflow: hidden;
}
.qm-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: center;
}
.qm-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.qm-hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--orange);
}
.qm-hero-h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.qm-hero-h1 em {
  font-style: italic;
  color: var(--orange);
}
.qm-hero-intro {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-dark);
  max-width: 640px;
  font-weight: 400;
}
.qm-hero-seal {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qm-seal-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grau);
  text-align: center;
  line-height: 1.5;
  margin-top: 4px;
}

@keyframes sealGlow { 
  0%, 100% { filter: drop-shadow(0 4px 12px rgba(15, 45, 74, 0.08)) drop-shadow(0 0 8px rgba(232, 112, 10, 0.03)); } 
  50% { filter: drop-shadow(0 8px 20px rgba(15, 45, 74, 0.15)) drop-shadow(0 0 16px rgba(232, 112, 10, 0.08)); } 
}
.seal-svg { animation: sealGlow 4s ease-in-out infinite; }

.page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Specific overrides for Qualitätsmanagement page to reduce excessive gaps */
.page-body .section {
  padding: 0 !important;
  margin-bottom: 3.5rem !important; /* Elegant compact spacing instead of 96px padding */
}

.sec-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.5rem !important;
  margin-top: 0 !important;
}
.sec-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.08em;
  min-width: 24px;
}
.sec-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.sec-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(15, 45, 74, 0.12) 0%, transparent 100%);
}

.person-section {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px; /* Completely removed harsh orange left border for high-end look */
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.person-section:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(232, 112, 10, 0.25); /* Soft organic gold/orange glow on border only on hover */
  box-shadow: var(--shadow-hover);
}
.person-photo-wrap {
  width: 160px;
  height: 213px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 45, 74, 0.06);
  border: 1.5px solid rgba(15, 45, 74, 0.06); /* Highly professional thin gray border instead of bright orange */
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}
.person-photo-wrap img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.person-section:hover .person-photo-wrap {
  border-color: var(--orange2);
  box-shadow: 0 15px 35px rgba(15, 45, 74, 0.08), 0 0 28px rgba(232, 112, 10, 0.22);
  transform: translateY(-4px) scale(1.02);
}
.person-section:hover .person-photo-wrap img {
  transform: scale(1.05);
  filter: contrast(1.02) brightness(1.02);
}
.person-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.person-role {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.cred-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(232, 112, 10, 0.5);
}

.zitat {
  border-left: 4.5px solid var(--orange);
  padding: 1.75rem 2rem;
  background: rgba(254, 243, 235, 0.45);
  backdrop-filter: blur(10px);
  border-radius: 0 20px 20px 0;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.zitat-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.85;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 400;
}
.zitat-quelle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grau);
  letter-spacing: 0.02em;
}

.fliesstext {
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--text-dark);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: start;
}
/* Assign colors and glow colors to quality kachel indices */
.grid4 .kachel:nth-child(1) { --kachel-color: #10b981; --kachel-bg: #e6f8f3; --kachel-glow: rgba(16, 185, 129, 0.28); }
.grid4 .kachel:nth-child(2) { --kachel-color: #0284c7; --kachel-bg: #e0f2fe; --kachel-glow: rgba(2, 132, 199, 0.28); }
.grid4 .kachel:nth-child(3) { --kachel-color: #4f46e5; --kachel-bg: #eef2ff; --kachel-glow: rgba(79, 70, 229, 0.28); }
.grid4 .kachel:nth-child(4) { --kachel-color: #d97706; --kachel-bg: #fffbeb; --kachel-glow: rgba(217, 119, 6, 0.28); }

.kachel {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-top: 4px solid var(--kachel-color, var(--grau));
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.kachel:hover {
  border-top-color: var(--kachel-color, var(--orange2));
  border-color: var(--kachel-color);
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px rgba(15, 45, 74, 0.08),
              0 0 28px var(--kachel-glow, rgba(232, 112, 10, 0.12));
}
.kachel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 12px rgba(15, 45, 74, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--kachel-bg) !important;
}
.kachel-icon svg {
  transition: stroke 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.kachel:hover .kachel-icon {
  transform: scale(1.08) rotate(3deg);
  background: var(--kachel-color) !important;
  box-shadow: 0 6px 16px var(--kachel-glow);
}
.kachel:hover .kachel-icon svg {
  stroke: #ffffff !important;
}
.kachel-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.kachel-text {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin-top 0.3s ease;
  margin-top: 0;
}
.kachel:hover .kachel-text {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

/* Connect micro-animations on kachel hover */
.grid4 .kachel:nth-child(1):hover .kachel-icon svg { animation: card-float 2s ease-in-out infinite; }
.grid4 .kachel:nth-child(2):hover .kachel-icon svg { animation: card-shield 1.5s ease-in-out infinite; }
.grid4 .kachel:nth-child(3):hover .kachel-icon svg { animation: card-wiggle 0.6s ease-in-out infinite; }
.grid4 .kachel:nth-child(4):hover .kachel-icon svg { animation: card-heartbeat 1.2s ease-in-out infinite; }

.grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  align-items: start;
}
/* Assign colors and glow colors to competence card indices */
.grid2 .komp-card:nth-child(1) { --comp-color: #10b981; --comp-glow: rgba(16, 185, 129, 0.28); }
.grid2 .komp-card:nth-child(2) { --comp-color: #0284c7; --comp-glow: rgba(2, 132, 199, 0.28); }
.grid2 .komp-card:nth-child(3) { --comp-color: #4f46e5; --comp-glow: rgba(79, 70, 229, 0.28); }
.grid2 .komp-card:nth-child(4) { --comp-color: #f59e0b; --comp-glow: rgba(245, 158, 11, 0.28); }
.grid2 .komp-card:nth-child(5) { --comp-color: #059669; --comp-glow: rgba(5, 150, 105, 0.28); }
.grid2 .komp-card:nth-child(6) { --comp-color: #7c3aed; --comp-glow: rgba(124, 58, 237, 0.28); }

.komp-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.komp-card:hover {
  border-color: var(--comp-color, rgba(232, 112, 10, 0.3));
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 40px rgba(15, 45, 74, 0.08),
              0 0 28px var(--comp-glow, rgba(232, 112, 10, 0.12));
  transform: translateY(-5px);
}
.komp-accent {
  width: 4px;
  border-radius: 4px;
  align-self: stretch;
  flex-shrink: 0;
  min-height: 44px;
  box-shadow: 0 2px 6px rgba(15, 45, 74, 0.05);
}
.komp-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.komp-text {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin-top 0.3s ease;
  margin-top: 0;
}
.komp-card:hover .komp-text {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.5rem 0;
}
.pill {
  font-size: 0.82rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 45, 74, 0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
a.pill:hover {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
  box-shadow: 0 4px 12px rgba(232, 112, 10, 0.25);
  transform: translateY(-1px);
}

.qs-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qs-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.qs-item:hover {
  border-color: rgba(232, 112, 10, 0.35);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.qs-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
  min-width: 28px;
  padding-top: 1px;
  text-shadow: 0 0 8px rgba(232, 112, 10, 0.15);
}
.qs-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.qs-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.65;
  font-weight: 400;
}

.anfrage-box {
  background: radial-gradient(circle at left center, var(--navy2) 0%, var(--navy) 100%);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(15, 45, 74, 0.25);
  margin-top: 4rem;
}
.anfrage-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.anfrage-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  font-weight: 400;
  line-height: 1.7;
}
.anfrage-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(232, 112, 10, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.anfrage-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 112, 10, 0.48);
}

@media(max-width: 768px) {
  .qm-hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .qm-hero-tag {
    justify-content: center;
  }
  .qm-hero-intro {
    margin: 0 auto;
  }
  .person-section {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   PREMIUM REFERENCES PAGE COMPONENT STYLES
   ========================================================================== */

.sphere-wrap {
  width: 100%;
  max-width: 820px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 4rem;
}
/* Assign colors and glow colors to metric card indices */
.metrics-grid .metric-card:nth-child(1) { --card-color: #0284c7; --card-glow: rgba(2, 132, 199, 0.28); }
.metrics-grid .metric-card:nth-child(2) { --card-color: #10b981; --card-glow: rgba(16, 185, 129, 0.28); }
.metrics-grid .metric-card:nth-child(3) { --card-color: #f97316; --card-glow: rgba(249, 115, 22, 0.28); }

.metric-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-top: 3.5px solid var(--card-color, var(--orange));
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.metric-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--card-color, var(--orange2));
  border-top-color: var(--card-color, var(--orange2));
  box-shadow: 0 16px 40px rgba(15, 45, 74, 0.08),
              0 0 28px var(--card-glow, rgba(232, 112, 10, 0.12));
  transform: translateY(-6px);
}
.metric-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}
.metric-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 2rem;
}
.sector-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}
.sector-card:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(232, 112, 10, 0.35);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}
.sector-accent {
  position: absolute;
  left: 0;
  top: 30px;
  bottom: 30px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 1px 4px rgba(15, 45, 74, 0.05);
}
.sector-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 45, 74, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sector-icon svg {
  transition: stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sector-card:hover .sector-icon {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%) !important;
  box-shadow: 0 6px 16px rgba(232, 112, 10, 0.25);
}
.sector-card:hover .sector-icon svg {
  stroke: #ffffff !important;
}
.sector-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.sector-desc {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
}

/* Premium Glassmorphic Modal Overrides for sphere tag cloud */
#sphere-modal-overlay {
  background: rgba(10, 20, 50, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
#sphere-modal-card {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 24px !important;
  box-shadow: 0 30px 70px rgba(15, 45, 74, 0.18) !important;
  padding: 2.5rem !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#sphere-modal-card h3 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  letter-spacing: 0.02em !important;
}
#sphere-modal-divider {
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange2) 100%) !important;
  height: 4px !important;
  border-radius: 10px !important;
}
.sphere-modal-year {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%) !important;
  box-shadow: 0 4px 10px rgba(232, 112, 10, 0.25) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 100px !important;
  padding: 4px 12px !important;
}
.sphere-modal-title {
  font-family: 'Inter', sans-serif !important;
  color: var(--text-dark) !important;
  font-size: 0.94rem !important;
  line-height: 1.6 !important;
}
#sphere-modal-close {
  font-size: 1.25rem !important;
  transition: all 0.3s !important;
  background: rgba(15, 45, 74, 0.05) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: 20px !important;
  right: 20px !important;
}
#sphere-modal-close:hover {
  background: rgba(15, 45, 74, 0.1) !important;
  color: var(--orange) !important;
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .metrics-grid, .sector-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #sphere-modal-card {
    padding: 2rem 1.5rem !important;
  }
  /* Kachel-Texte auf Mobile immer sichtbar */
  .kachel-text {
    max-height: 200px !important;
    opacity: 1 !important;
    margin-top: 10px !important;
  }
}

/* ---- TOUCH-FEEDBACK: :active spiegelt :hover für Touchscreens ---- */
@media (hover: none) and (pointer: coarse) {
  /* Buttons */
  .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(232,112,10,0.48);
  }
  .btn-outline:active {
    background: var(--navy);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15,45,74,0.15);
  }
  /* Premium Card Buttons */
  .btn-premium-card:active {
    background: var(--orange) !important;
    border-color: var(--orange2) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 10px 24px rgba(232,112,10,0.4) !important;
  }
  .btn-premium-card:active .arrow {
    transform: translateX(4px) !important;
  }
  /* Feature Cards */
  .card:active {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.96);
    border-color: var(--card-color, var(--orange2));
    border-top-color: var(--card-color, var(--orange2));
    box-shadow: 0 20px 40px rgba(15,45,74,0.08), 0 0 32px var(--card-glow, rgba(232,112,10,0.15));
  }
  .card:active .card-icon {
    background: var(--card-color, var(--orange));
    border-color: var(--card-color, var(--orange));
    box-shadow: 0 8px 24px var(--card-glow, rgba(232,112,10,0.25));
  }
  .card:active .card-icon svg {
    stroke: #ffffff !important;
    transform: scale(1.1);
  }
  .card:active .btn-premium-card {
    border-color: var(--orange) !important;
  }
  /* Kacheln */
  .kachel:active {
    border-top-color: var(--kachel-color, var(--orange2));
    border-color: var(--kachel-color);
    transform: translateY(-6px);
    background: rgba(255,255,255,0.95);
    box-shadow: 0 16px 40px rgba(15,45,74,0.08), 0 0 28px var(--kachel-glow, rgba(232,112,10,0.12));
  }
  .kachel:active .kachel-icon {
    transform: scale(1.08) rotate(3deg);
    background: var(--kachel-color) !important;
    box-shadow: 0 6px 16px var(--kachel-glow);
  }
  .kachel:active .kachel-icon svg {
    stroke: #ffffff !important;
  }
  /* Team Cards */
  .team-card:active {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(15,45,74,0.12);
    border-top-color: var(--orange2);
  }
  /* Navigation */
  .nav-links a:active {
    color: #fff !important;
    background: var(--orange);
    box-shadow: 0 6px 20px rgba(232,112,10,0.35);
  }
  .dropdown-menu li a:active {
    background: var(--orange);
    color: #fff !important;
  }
  /* Lara Chat Button */
  #chat-btn:active {
    background: var(--orange);
    border-color: var(--orange2);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(232,112,10,0.45);
  }
}

