/* ============================================
   WWN Bildungsinstitut - Main Stylesheet 2026
   Bootstrap 5.3 Override | Mobile-First | SEO Optimized
   Dark Mode | Glassmorphism | PWA Ready | Core Web Vitals
   ============================================ */

/* ---------- CSS Custom Properties (Design System 2026) ---------- */
:root {
  /* Brand Colors */
  --wwn-primary: #1a3a6b;
  --wwn-primary-light: #2a5aa0;
  --wwn-primary-dark: #0f2447;
  --wwn-secondary: #e8a838;
  --wwn-secondary-light: #f0c060;
  --wwn-accent: #d63384;
  --wwn-success: #198754;
  --wwn-danger: #dc3545;
  --wwn-info: #0dcaf0;

  /* Neutrals - Light Mode Default */
  --wwn-white: #ffffff;
  --wwn-gray-50: #f8fafc;
  --wwn-gray-100: #f1f5f9;
  --wwn-gray-200: #e2e8f0;
  --wwn-gray-300: #cbd5e1;
  --wwn-gray-400: #94a3b8;
  --wwn-gray-500: #64748b;
  --wwn-gray-600: #475569;
  --wwn-gray-700: #334155;
  --wwn-gray-800: #1e293b;
  --wwn-gray-900: #0f172a;
  --wwn-dark: #0f172a;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1a3a6b 0%, #2a5aa0 100%);
  --gradient-secondary: linear-gradient(135deg, #e8a838 0%, #f0c060 100%);
  --gradient-hero: linear-gradient(135deg, rgba(26,58,107,0.97) 0%, rgba(15,36,71,0.95) 50%, rgba(26,58,107,0.92) 100%);
  --gradient-cta: linear-gradient(135deg, #e8a838 0%, #f0c060 50%, #e8a838 100%);
  --gradient-sz: linear-gradient(135deg, #1a3a6b 0%, #d63384 100%);
  --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-primary: 0 10px 40px -10px rgba(26,58,107,0.4);
  --shadow-gold: 0 10px 40px -10px rgba(232,168,56,0.5);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Font Stack */
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Floating action buttons (WhatsApp + back-to-top) */
  --fab-right: max(1.25rem, env(safe-area-inset-right, 0px));
  --fab-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  --fab-gap: 0.75rem;
  --fab-wa-size: 3.5rem;
  --fab-top-size: 3rem;
  --fab-cookie-lift: 5.5rem;
}

/* ---------- Dark Mode (explicit — brand colors unchanged) ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --wwn-surface: #0f172a;
  --wwn-surface-raised: #1e293b;
  --wwn-surface-muted: #334155;
  --wwn-text: #e2e8f0;
  --wwn-text-muted: #94a3b8;
  --wwn-heading: #f8fafc;
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-height, 120px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--wwn-gray-700);
  background-color: var(--wwn-white);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--wwn-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--wwn-primary-light);
}

::selection {
  background: rgba(232,168,56,0.3);
  color: var(--wwn-primary-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--wwn-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--wwn-gray-300);
  border-radius: var(--radius-full);
  border: 2px solid var(--wwn-gray-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--wwn-gray-400);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--wwn-gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

.section-title {
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  margin-top: var(--space-md);
}

.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--wwn-gray-500);
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  background: rgba(232,168,56,0.1);
  color: var(--wwn-secondary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Layout ---------- */
.section-padding {
  padding: var(--space-4xl) 0;
}

.section-padding-sm {
  padding: var(--space-3xl) 0;
}

/* ---------- Skip Link (Accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--wwn-primary);
  color: white;
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  z-index: 10000;
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--wwn-secondary);
  outline-offset: 2px;
}

/* ---------- Focus Visible (Accessibility) ---------- */
:focus-visible {
  outline: 3px solid var(--wwn-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Site Header (top-bar + navbar) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
}

.site-header.scrolled .navbar {
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .site-header.scrolled .navbar {
  background: rgba(15, 23, 42, 0.95);
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--wwn-primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}

.top-bar a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.top-bar a:hover {
  color: var(--wwn-secondary);
}

.top-bar-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

@media (min-width: 768px) {
  .top-bar-grid {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .top-bar {
    font-size: 0.75rem;
    padding: 0.4rem 0;
  }
  .top-bar-grid {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.4;
}

.top-bar-item i {
  color: var(--wwn-secondary);
  font-size: 0.9em;
  flex-shrink: 0;
}

.top-bar .divider {
  display: none;
}

/* ---------- Navbar 2026 ---------- */
.navbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  padding: 0.75rem 0;
  transition: var(--transition);
  z-index: 1030;
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  background: rgba(255,255,255,0.95);
}

[data-theme="dark"] .navbar {
  background: rgba(15,23,42,0.85);
  border-color: rgba(51,65,85,0.6);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(15,23,42,0.95);
}

.navbar-brand {
  transition: var(--transition);
}

.navbar-brand:hover {
  transform: scale(1.02);
}

.navbar-brand img,
.footer-brand .site-logo {
  height: 48px;
  width: auto;
  transition: height var(--transition-base), filter var(--transition), opacity var(--transition);
}

/* Logo: dark PNG on light navbar = no filter; footer always dark bg = light logo */
.site-footer .site-logo,
.footer-brand .site-logo {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .navbar-brand .site-logo {
  filter: brightness(0) invert(1);
}

[data-theme="light"] .navbar-brand .site-logo,
:root:not([data-theme="dark"]) .navbar-brand .site-logo {
  filter: none;
}

.footer-brand .site-logo {
  height: 49px;
}

/* Honeypot — hidden from users */
.wwn-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Team member photos — blur background + centered circular avatar */
.team-photo-wrap {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--wwn-primary-dark);
}

@media (min-width: 768px) {
  .team-photo-wrap {
    min-height: 100%;
    min-height: 280px;
  }
}

.team-photo-wrap--gold {
  background: var(--wwn-primary-dark);
}

.team-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: blur(14px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.85;
}

.team-photo-wrap--gold .team-photo-bg {
  filter: blur(14px) saturate(1.2) brightness(1.05);
}

.team-photo-avatar {
  position: relative;
  z-index: 1;
  width: clamp(96px, 28vw, 140px);
  height: clamp(96px, 28vw, 140px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.team-photo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
}

.navbar.scrolled .navbar-brand img {
  height: 44px;
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--wwn-gray-700) !important;
  padding: 0.75rem 1rem !important;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--wwn-secondary);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--wwn-primary) !important;
  background: rgba(26,58,107,0.04);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background: var(--wwn-gray-100);
  color: var(--wwn-primary);
  font-size: 1.5rem;
  transition: var(--transition);
}

.navbar-toggler:hover {
  background: var(--wwn-gray-200);
  transform: rotate(90deg);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid var(--wwn-primary);
  outline-offset: 2px;
}

/* CTA Button */
.btn-cta {
  background: var(--gradient-primary);
  color: white !important;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(26,58,107,0.5);
  color: white !important;
}

/* Dark Mode Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--wwn-gray-100);
  color: var(--wwn-gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  background: var(--wwn-gray-200);
  transform: rotate(20deg);
}

[data-theme="dark"] .theme-toggle {
  background: var(--wwn-gray-800);
  color: var(--wwn-gray-200);
}

/* ---------- Hero Section 2026 ---------- */
.hero-section {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: clamp(5rem, 12vh, 7.5rem) 0 clamp(2.5rem, 6vh, 5rem);
}

@media (min-width: 992px) {
  .hero-section {
    min-height: calc(100vh - 120px);
    min-height: calc(100dvh - 120px);
    padding: 7rem 0 5rem;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--wwn-secondary);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--wwn-accent);
  bottom: -100px;
  left: -100px;
  animation-delay: 2s;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  background: var(--wwn-success);
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,168,56,0.15);
  color: var(--wwn-secondary-light);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(232,168,56,0.2);
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--wwn-secondary);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
  opacity: 0.5;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.25rem;
  max-width: 36rem;
  line-height: 1.65;
}

.hero-image-mobile {
  width: 100%;
  margin: 1rem 0 1.25rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-mobile img {
  width: 100%;
  height: auto;
  max-height: min(58vw, 300px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-cta);
  color: var(--wwn-dark);
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  border: none;
  flex: 1 1 auto;
  min-width: min(100%, 260px);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(232,168,56,0.5);
  color: var(--wwn-dark);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  flex: 1 1 auto;
  min-width: min(100%, 200px);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  color: white;
  transform: translateY(-3px);
}

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

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-trust-badge:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.hero-trust-badge i {
  color: var(--wwn-secondary);
}

.hero-image-col {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 25px 80px -20px rgba(0,0,0,0.5);
  aspect-ratio: 5 / 4;
  max-height: min(520px, 58vh);
  transition: var(--transition-slow);
}

@media (min-width: 992px) {
  .hero-image-wrapper {
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  }
  .hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,58,107,0.3), transparent 50%);
}

.hero-floating-stat {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 16px 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: float 6s ease-in-out infinite;
  color: var(--wwn-gray-800);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-floating-stat i {
  font-size: 1.5rem;
  color: var(--wwn-secondary);
}

.hero-floating-stat strong {
  display: block;
  color: var(--wwn-primary);
  font-size: 1.1rem;
}

.hero-floating-stat small {
  color: var(--wwn-gray-500);
  font-size: 0.8rem;
}

.stat-1 {
  top: 20px;
  right: -20px;
  animation-delay: 0s;
}

.stat-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 1s;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--wwn-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--wwn-gray-100);
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .trust-bar {
  background: var(--wwn-gray-50);
  border-color: var(--wwn-gray-200);
}

.trust-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.trust-item:hover {
  background: var(--wwn-gray-50);
  transform: translateY(-5px);
}

[data-theme="dark"] .trust-item:hover {
  background: var(--wwn-gray-100);
}

.trust-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.trust-item:hover .trust-icon {
  transform: scale(1.1) rotate(5deg);
}

.trust-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--wwn-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.trust-label {
  font-size: 0.9rem;
  color: var(--wwn-gray-500);
  font-weight: 500;
}

/* ---------- Course Cards 2026 ---------- */
.course-card {
  background: var(--wwn-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--wwn-gray-100);
  transition: var(--transition-slow);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--wwn-gray-200);
}

.course-card-header {
  padding: 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.course-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: spin-slow 20s linear infinite;
}

.course-card-header.a1 { background: linear-gradient(135deg, #198754 0%, #20c997 100%); }
.course-card-header.a2 { background: linear-gradient(135deg, #1a3a6b 0%, #2a5aa0 100%); }
.course-card-header.b1 { background: linear-gradient(135deg, #e8a838 0%, #f0c060 100%); }
.course-card-header.b2 { background: linear-gradient(135deg, #d63384 0%, #e8590c 100%); }

.course-card-header .level {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  position: relative;
}

.course-card-header .level-name {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 0.5rem;
  font-weight: 500;
  position: relative;
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: -35px;
  background: var(--wwn-secondary);
  color: var(--wwn-dark);
  padding: 4px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  box-shadow: var(--shadow);
  z-index: 2;
}

.course-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wwn-gray-50);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--wwn-gray-600);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.course-features {
  margin-bottom: 1.5rem;
  flex: 1;
  list-style: none;
  padding: 0;
}

.course-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--wwn-gray-600);
}

.course-features li i {
  margin-top: 3px;
  font-size: 1rem;
}

.course-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--wwn-gray-900);
  margin-bottom: 1rem;
  text-align: center;
}

.course-price small {
  font-size: 1rem;
  color: var(--wwn-gray-400);
  font-weight: 500;
}

.btn-course {
  padding: 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition);
}

.btn-course:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- SZ Section ---------- */
.oif-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0;
}

.oif-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.oif-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  text-align: center;
  color: white;
  transition: var(--transition-slow);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.oif-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: var(--transition-slow);
}

.oif-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.oif-card:hover::before {
  transform: scaleX(1);
}

.oif-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.oif-section .oif-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--wwn-white);
}

.oif-section .oif-icon {
  color: var(--wwn-secondary-light);
}

[data-theme="dark"] .oif-section .oif-card h4,
[data-theme="dark"] .oif-section .oif-icon {
  color: var(--wwn-secondary-light);
}

[data-theme="dark"] .oif-section .oif-card h4 {
  color: var(--wwn-white);
}

.oif-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* ---------- Feature Boxes ---------- */
.feature-box {
  background: var(--wwn-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-2xl);
  text-align: center;
  transition: var(--transition-slow);
  border: 1px solid var(--wwn-gray-100);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition-slow);
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--wwn-gray-200);
}

.feature-box:hover::after {
  transform: scaleX(1);
}

.feature-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-bounce);
}

.feature-box:hover .feature-icon-wrap {
  transform: scale(1.15) rotate(5deg);
}

.feature-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wwn-gray-900);
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--wwn-gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Process Steps ---------- */
.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--wwn-white);
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--wwn-gray-100);
  transition: var(--transition);
  position: relative;
}

.process-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
  border-color: var(--wwn-gray-200);
}

.step-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}

/* Gold/heller Verlauf: dunkle Ziffer für Lesbarkeit */
.step-number--gold,
.step-number[style*="gradient-secondary"],
.step-number[style*="e8a838"],
.step-number[style*="f0c060"] {
  background: var(--gradient-secondary);
  color: var(--wwn-dark) !important;
}

.process-step h5 {
  font-weight: 700;
  color: var(--wwn-gray-900);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--wwn-white);
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--wwn-gray-100);
  transition: var(--transition-slow);
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 6rem;
  color: var(--wwn-gray-100);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.testimonial-stars {
  color: var(--wwn-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.testimonial-text {
  color: var(--wwn-gray-600);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author-info h6 {
  font-weight: 700;
  color: var(--wwn-gray-900);
  margin-bottom: 0.25rem;
}

.testimonial-author-info small {
  color: var(--wwn-gray-400);
  font-size: 0.85rem;
}

/* ---------- FAQ Section ---------- */
.faq-section .accordion-item {
  border: 1px solid var(--wwn-gray-200);
  border-radius: var(--radius-xl) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--wwn-white);
  transition: var(--transition);
}

.faq-section .accordion-item:hover {
  border-color: var(--wwn-gray-300);
  box-shadow: var(--shadow-sm);
}

.faq-section .accordion-button {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--wwn-gray-900);
  background: transparent;
  box-shadow: none;
  border-radius: 0 !important;
}

.faq-section .accordion-button:not(.collapsed) {
  background: rgba(26,58,107,0.02);
  color: var(--wwn-primary);
}

.faq-section .accordion-button::after {
  width: 1.5rem;
  height: 1.5rem;
  background-size: 1.5rem;
  transition: var(--transition-bounce);
}

.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-section .accordion-body {
  padding: 0 1.5rem 1.5rem;
  color: var(--wwn-gray-600);
  line-height: 1.8;
}

/* ---------- CTA Sections ---------- */
.cta-section {
  background: var(--gradient-primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-cta);
  color: var(--wwn-dark);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  border: none;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-cta-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -12px rgba(232,168,56,0.6);
  color: var(--wwn-dark);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  background: transparent;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  transition: var(--transition);
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
  transform: translateY(-3px);
}

/* ---------- Locations ---------- */
.location-card {
  background: var(--wwn-white);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--wwn-gray-100);
  transition: var(--transition-slow);
  height: 100%;
}

.location-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.location-card > h4,
.location-card .location-card-title {
  font-weight: 700;
  color: var(--wwn-gray-900);
  margin-bottom: 1rem;
}

.location-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.location-card-header h4 {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: var(--wwn-gray-900);
}

/* ---------- Kontakt: Formular & Karten ---------- */
.kontakt-form-section {
  padding-bottom: var(--space-4xl);
}

.kontakt-location-sidebar {
  align-self: flex-start;
}

.kontakt-location-sidebar .location-card {
  height: auto;
}

.kontakt-maps-section {
  border-top: 1px solid var(--wwn-gray-200);
  padding-top: var(--space-4xl);
  position: relative;
  z-index: 1;
  clear: both;
}

/* ---------- Dokumenten-Checkliste ---------- */
.doc-checklist li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  column-gap: 0.85rem;
  align-items: start;
  margin-bottom: 1rem;
}

.doc-checklist li > i {
  margin-top: 0.2rem;
  font-size: 1.1rem;
  line-height: 1;
}

.doc-checklist li > div {
  min-width: 0;
}

.doc-checklist strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.15rem;
  color: var(--wwn-gray-900);
}

.doc-checklist small {
  display: block;
  line-height: 1.55;
  color: var(--wwn-gray-600);
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--wwn-gray-200);
}

.map-container iframe {
  filter: grayscale(0.2) contrast(1.1);
  transition: var(--transition);
}

.map-container:hover iframe {
  filter: grayscale(0) contrast(1);
}

/* ---------- Story illustrations (homepage) ---------- */
.story-bridge-section {
  padding: var(--space-3xl) 0;
  background: var(--wwn-white);
}

.story-bridge-figure {
  margin: 0;
  max-width: 100%;
}

.story-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 1584 / 672;
  object-fit: cover;
  object-position: center;
}

.story-illustration-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.story-illustration-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1376 / 768;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.story-illustration-wrap:hover img {
  transform: scale(1.02);
}

.story-figure-caption {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--wwn-gray-500);
  text-align: center;
  line-height: 1.6;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.story-success-section {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: linear-gradient(180deg, var(--wwn-gray-50) 0%, var(--wwn-white) 100%);
}

.story-success-figure {
  margin: 0 auto;
  max-width: 1100px;
}

[data-theme="dark"] .story-bridge-section {
  background: var(--wwn-surface);
}

[data-theme="dark"] .story-success-section {
  background: linear-gradient(180deg, var(--wwn-surface) 0%, var(--wwn-surface-raised) 100%);
}

[data-theme="dark"] .story-figure-caption {
  color: var(--wwn-text-muted);
}

@media (max-width: 767.98px) {
  .story-bridge-section,
  .story-success-section {
    padding: var(--space-2xl) 0;
  }
}

/* ---------- Nachhilfe ---------- */
.nachhilfe-schedule-box {
  background: var(--gradient-secondary);
  color: var(--wwn-dark);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-gold);
}

.nachhilfe-bento-card {
  height: 100%;
  padding: var(--space-xl);
  background: var(--wwn-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--wwn-gray-100);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.nachhilfe-bento-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.nachhilfe-bento-card .bento-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

[data-theme="dark"] .nachhilfe-bento-card {
  background: var(--wwn-surface-raised);
  border-color: var(--wwn-surface-muted);
}

/* ---------- Floating actions: WhatsApp (unten) + Nach oben (darüber) ---------- */
.whatsapp-float {
  position: fixed;
  bottom: var(--fab-bottom);
  right: var(--fab-right);
  width: var(--fab-wa-size);
  height: var(--fab-wa-size);
  background: #25d366;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 1040;
  transition: bottom var(--transition), transform var(--transition), background var(--transition);
  text-decoration: none;
}

body.cookie-banner-visible {
  --fab-bottom: calc(max(1.25rem, env(safe-area-inset-bottom, 0px)) + var(--fab-cookie-lift));
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: #128c7e;
  color: white;
}

#backToTopBtn {
  position: fixed;
  bottom: calc(var(--fab-bottom) + var(--fab-wa-size) + var(--fab-gap));
  right: calc(var(--fab-right) + (var(--fab-wa-size) - var(--fab-top-size)) / 2);
  width: var(--fab-top-size);
  height: var(--fab-top-size);
  background: var(--wwn-primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-lg);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), bottom var(--transition);
  border: none;
  cursor: pointer;
}

#backToTopBtn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#backToTopBtn:hover {
  background: var(--wwn-primary-dark);
  transform: translateY(-3px);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--wwn-gray-900);
  color: white;
  padding: 20px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner a {
  color: var(--wwn-secondary);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--wwn-secondary-light);
}

/* ---------- AI Chat Widget ---------- */
.ai-chat-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1040;
}

.ai-chat-button {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  border: none;
  position: relative;
}

.ai-chat-button::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  opacity: 0.3;
  animation: pulse-glow 2s infinite;
  z-index: -1;
}

.ai-chat-button:hover {
  transform: scale(1.1);
}

.ai-chat-panel {
  position: absolute;
  bottom: 75px;
  left: 0;
  width: 350px;
  max-width: calc(100vw - 60px);
  background: var(--wwn-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--wwn-gray-200);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: var(--transition);
}

.ai-chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.ai-chat-header {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-body {
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.ai-chat-message {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.ai-chat-message.ai {
  align-items: flex-start;
}

.ai-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.ai-chat-bubble {
  background: var(--wwn-gray-50);
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: var(--wwn-gray-700);
  max-width: 80%;
}

.ai-chat-input {
  display: flex;
  gap: 8px;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--wwn-gray-100);
}

.ai-chat-input input {
  flex: 1;
  border: 1px solid var(--wwn-gray-200);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.ai-chat-input input:focus {
  border-color: var(--wwn-primary);
  box-shadow: 0 0 0 3px rgba(26,58,107,0.1);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wwn-gray-900);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
}

.footer-brand img {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-heading {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--wwn-secondary);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--wwn-secondary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--wwn-secondary);
  margin-top: 3px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.75);
}

.footer-contact-item a:hover {
  color: var(--wwn-secondary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md);
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
  background: var(--wwn-secondary);
  color: var(--wwn-dark);
  transform: translateY(-3px);
  border-color: var(--wwn-secondary);
}

.newsletter-form .input-group {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-form input {
  background: transparent;
  border: none;
  color: white;
  padding: 12px 20px;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
  background: rgba(255,255,255,0.05);
  box-shadow: none;
  color: white;
}

.newsletter-form button {
  background: var(--wwn-secondary);
  color: var(--wwn-dark);
  padding: 12px 20px;
  border: none;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--wwn-secondary-light);
}

.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

.sz-badge-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,168,56,0.1);
  color: var(--wwn-secondary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(232,168,56,0.2);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,168,56,0.4); }
  50% { box-shadow: 0 0 0 15px rgba(232,168,56,0); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

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

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fade-in-up {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
}

.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.3s; }
.fade-in-up.delay-4 { transition-delay: 0.4s; }

/* ---------- Page Hero (Subpages) ---------- */
.page-hero {
  background: var(--gradient-hero);
  color: var(--wwn-white);
  padding: 60px 0 50px;
  position: relative;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.page-hero h1 .highlight {
  color: var(--wwn-secondary-light);
  -webkit-text-fill-color: currentColor;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.page-hero h1 .highlight::after {
  display: none;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

[data-theme="dark"] .page-hero h1,
[data-theme="dark"] .page-hero h1 .highlight {
  color: #ffffff;
}

[data-theme="dark"] .page-hero h1 .highlight {
  color: var(--wwn-secondary-light);
}

[data-theme="dark"] .page-hero p {
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-section {
  background: var(--wwn-gray-50);
  padding: 14px 0;
  border-bottom: 1px solid var(--wwn-gray-200);
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--wwn-gray-600);
}

.breadcrumb-item a:hover {
  color: var(--wwn-primary);
}

.breadcrumb-item.active {
  color: var(--wwn-primary);
  font-weight: 600;
}

/* ---------- Contact Section ---------- */
.contact-card {
  background: var(--wwn-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--wwn-gray-100);
  height: 100%;
}

.contact-card .contact-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  color: var(--wwn-white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
}

/* ---------- Team Page ---------- */
.team-card {
  background: var(--wwn-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--wwn-gray-100);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.team-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card-body {
  padding: var(--space-xl);
}

.team-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.team-card-body .role {
  color: var(--wwn-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.team-card-body p {
  font-size: 0.95rem;
  color: var(--wwn-gray-600);
  line-height: 1.7;
}

.team-certificate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wwn-gray-50);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wwn-gray-700);
  margin: 4px;
}

/* ---------- Blog ---------- */
.blog-card {
  background: var(--wwn-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--wwn-gray-100);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Legacy blog thumbnails (inline gradients in HTML) */
.blog-card-img.d-flex {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--wwn-white);
}

.blog-card-img.d-flex .text-center,
.blog-card-img.d-flex .text-white {
  color: inherit;
}

.blog-card-img.d-flex[style*="e8a838"],
.blog-card-img.d-flex[style*="f0c060"] {
  color: var(--wwn-dark);
}

.blog-card-visual {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  text-align: center;
  background: var(--gradient-primary);
  color: var(--wwn-white);
}

.blog-card-visual i {
  font-size: 3rem;
  opacity: 0.92;
  line-height: 1;
}

.blog-card-visual-label {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 16rem;
}

.blog-card-visual--sz {
  background: var(--gradient-sz);
  color: var(--wwn-white);
}

.blog-card-visual--gold {
  background: var(--gradient-secondary);
  color: var(--wwn-dark);
}

.blog-card-visual--success {
  background: linear-gradient(135deg, #198754 0%, #20c997 100%);
  color: var(--wwn-white);
}

.blog-card-visual--tr {
  background: linear-gradient(135deg, #1a3a6b 0%, #2a5aa0 55%, #e8a838 100%);
  color: var(--wwn-white);
}

.blog-card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-body .blog-tag {
  display: inline-block;
  background: rgba(26,58,107,0.08);
  color: var(--wwn-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: var(--wwn-gray-900);
}

.blog-card-body h3 a:hover {
  color: var(--wwn-primary);
}

.blog-card-body p {
  color: var(--wwn-gray-600);
  font-size: 0.95rem;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--wwn-gray-500);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--wwn-gray-100);
}

/* Blog Article */
.blog-article {
  font-size: 1.05rem;
  line-height: 1.85;
}

.blog-article h2 {
  font-size: 1.6rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--wwn-primary);
}

.blog-article h3 {
  font-size: 1.3rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--wwn-primary-dark);
}

[data-theme="dark"] .blog-article h2,
[data-theme="dark"] .blog-article h3 {
  color: var(--wwn-heading);
}

.blog-article p {
  margin-bottom: var(--space-lg);
}

.blog-article ul, .blog-article ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.blog-article li {
  margin-bottom: var(--space-sm);
}

.blog-article blockquote {
  border-left: 4px solid var(--wwn-secondary);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  font-style: italic;
  color: var(--wwn-gray-600);
}

.blog-lang-note {
  background: rgba(26, 58, 107, 0.06);
  border: 1px solid var(--wwn-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.95rem;
  color: var(--wwn-gray-700);
  margin-bottom: var(--space-lg);
}

.blog-author-role {
  font-size: 0.85rem;
  color: var(--wwn-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-hero-title-tr {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.25;
}

.blog-preview-card .blog-tag-tr {
  background: rgba(232, 168, 56, 0.15);
  color: var(--wwn-dark);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--wwn-primary);
  margin-top: var(--space-sm);
  text-decoration: none;
}

.blog-read-more:hover {
  color: var(--wwn-secondary);
}

/* Author Bio */
.author-bio {
  background: var(--wwn-gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.author-bio .author-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--wwn-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Social Share */
.social-share {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.social-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--wwn-gray-100);
  color: var(--wwn-gray-600);
  transition: var(--transition-fast);
}

.social-share a:hover {
  background: var(--wwn-primary);
  color: var(--wwn-white);
}

/* ---------- Form Styling ---------- */
.wwn-form .form-control,
.wwn-form .form-select {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border: 2px solid var(--wwn-gray-200);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.wwn-form .form-control:focus,
.wwn-form .form-select:focus {
  border-color: var(--wwn-primary);
  box-shadow: 0 0 0 4px rgba(26,58,107,0.1);
}

.wwn-form .form-label {
  font-weight: 600;
  color: var(--wwn-gray-800);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.btn-submit {
  background: var(--gradient-primary);
  color: var(--wwn-white);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  border: none;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(26,58,107,0.4);
  color: var(--wwn-white);
}

/* ---------- Comparison Table ---------- */
.comparison-table {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table thead th {
  background: var(--gradient-primary);
  color: var(--wwn-white);
  font-weight: 700;
  padding: var(--space-md) var(--space-lg);
  border: none;
  font-size: 0.95rem;
}

.comparison-table tbody td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--wwn-gray-100);
  vertical-align: middle;
}

.comparison-table tbody tr:hover {
  background: var(--wwn-gray-50);
}

/* ---------- Legal Pages ---------- */
.legal-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--wwn-gray-700);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--wwn-gray-900);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content ul {
  margin-bottom: var(--space-lg);
}

/* ---------- Screen Reader Only ---------- */
.sr-only-custom {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 5.5rem 0 2.5rem;
    min-height: auto;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.35rem);
    margin-bottom: 1rem;
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
    margin-bottom: 1rem;
  }
  .hero-floating-stat {
    display: none;
  }
  .section-padding {
    padding: 60px 0;
  }
  .stat-1, .stat-2 {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin: 1rem auto;
    max-width: 280px;
  }
  .ai-chat-panel {
    left: 0;
    right: auto;
  }
  .navbar-collapse {
    padding: var(--space-md) 0;
  }
  .navbar .nav-link {
    padding: 12px 16px !important;
    font-size: 1rem;
  }
  .navbar .btn-cta {
    margin-top: var(--space-sm);
    display: block;
    text-align: center;
  }
  .site-header .navbar-collapse.show,
  .site-header .navbar-collapse.collapsing {
    max-height: calc(100dvh - var(--site-header-height, 120px));
    overflow-y: auto;
  }
}

@media (max-width: 767.98px) {
  .hero-image-mobile img {
    max-height: min(65vw, 320px);
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .btn-hero-primary, .btn-hero-outline {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .hero-trust-badge {
    font-size: 0.8rem;
    padding: 8px 14px;
  }
  .trust-item {
    padding: 1rem;
  }
  .trust-number {
    font-size: 1.5rem;
  }
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  .step-number {
    margin: 0 auto;
  }
  .cta-section .col-lg-5 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .btn-cta-gold, .btn-cta-outline {
    width: 100%;
    justify-content: center;
    margin-left: 0 !important;
  }
  .section-padding {
    padding: var(--space-2xl) 0;
  }
  .hero-section {
    padding: 60px 0 40px;
  }
  .hero-trust-badges {
    gap: var(--space-md);
  }
  .course-card-body {
    padding: var(--space-lg);
  }
}

/* ---------- Dark Mode Component Overrides ---------- */
[data-theme="dark"] body {
  background-color: var(--wwn-surface);
  color: var(--wwn-text);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .section-title,
[data-theme="dark"] .feature-box h4,
[data-theme="dark"] .course-price,
[data-theme="dark"] .process-step h5,
[data-theme="dark"] .kontakt-maps-section {
  border-top-color: var(--wwn-surface-muted);
}

[data-theme="dark"] .location-card h4,
[data-theme="dark"] .location-card .location-card-title,
[data-theme="dark"] .testimonial-author-info h6,
[data-theme="dark"] .team-card h3 {
  color: var(--wwn-heading);
}

[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .feature-box p,
[data-theme="dark"] .trust-label,
[data-theme="dark"] .course-features li,
[data-theme="dark"] .course-duration,
[data-theme="dark"] .testimonial-text,
[data-theme="dark"] .accordion-body,
[data-theme="dark"] .form-label,
[data-theme="dark"] .breadcrumb-item,
[data-theme="dark"] .legal-content p,
[data-theme="dark"] .legal-content li {
  color: var(--wwn-text-muted);
}

[data-theme="dark"] .navbar .nav-link {
  color: var(--wwn-text) !important;
}

[data-theme="dark"] .navbar .nav-link:hover,
[data-theme="dark"] .navbar .nav-link.active {
  color: var(--wwn-secondary-light) !important;
  background: rgba(232, 168, 56, 0.1);
}

[data-theme="dark"] .trust-bar,
[data-theme="dark"] .feature-box,
[data-theme="dark"] .course-card,
[data-theme="dark"] .process-step,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .location-card,
[data-theme="dark"] .page-hero + .breadcrumb-section,
[data-theme="dark"] .faq-section .accordion-item {
  background: var(--wwn-surface-raised);
  border-color: var(--wwn-surface-muted);
  color: var(--wwn-text);
}

[data-theme="dark"] .trust-item:hover,
[data-theme="dark"] .feature-box:hover {
  background: var(--wwn-surface-muted);
}

[data-theme="dark"] .trust-number {
  color: var(--wwn-secondary-light);
}

[data-theme="dark"] .hero-floating-stat {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid var(--wwn-surface-muted);
}

[data-theme="dark"] .hero-floating-stat strong {
  color: var(--wwn-secondary-light);
}

[data-theme="dark"] .hero-floating-stat small {
  color: var(--wwn-text-muted);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background-color: var(--wwn-surface-raised);
  border-color: var(--wwn-surface-muted);
  color: var(--wwn-text);
}

[data-theme="dark"] .form-control::placeholder {
  color: var(--wwn-text-muted);
}

[data-theme="dark"] .accordion-button {
  color: var(--wwn-heading);
  background-color: transparent;
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
  color: var(--wwn-secondary-light);
  background-color: rgba(26, 58, 107, 0.25);
}

[data-theme="dark"] .site-footer {
  background: var(--wwn-primary-dark);
  color: var(--wwn-text-muted);
}

[data-theme="dark"] .footer-heading {
  color: var(--wwn-heading);
}

[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-contact-item a {
  color: var(--wwn-text-muted);
}

[data-theme="dark"] .footer-links a:hover,
[data-theme="dark"] .footer-contact-item a:hover {
  color: var(--wwn-secondary);
}

[data-theme="dark"] .cookie-banner {
  background: var(--wwn-primary-dark);
  color: var(--wwn-text);
}

[data-theme="dark"] .theme-toggle {
  background: var(--wwn-surface-muted);
  color: var(--wwn-secondary-light);
}

[data-theme="dark"] .navbar-toggler {
  background: var(--wwn-surface-muted);
  color: var(--wwn-secondary-light);
}

/* Inline legacy gray utilities — readable in dark mode */
[data-theme="dark"] [style*="wwn-gray-600"],
[data-theme="dark"] [style*="wwn-gray-500"],
[data-theme="dark"] [style*="wwn-gray-700"] {
  color: var(--wwn-text-muted) !important;
}

[data-theme="dark"] .page-hero .hero-subtitle,
[data-theme="dark"] .breadcrumb-item a {
  color: var(--wwn-text-muted);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Print Styles ---------- */
@media print {
  .navbar, .whatsapp-float, .ai-chat-widget, #backToTopBtn,
  .cookie-banner, .top-bar, .site-footer {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: #000;
  }
  .hero-section, .page-hero {
    background: none !important;
    color: #000 !important;
    padding: 20px 0 !important;
  }
  .hero-title, .hero-subtitle, .page-hero h1, .page-hero p {
    color: #000 !important;
  }
  .section-padding {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8rem;
    color: #666;
  }
}

/* ==================== GOOGLE BUSINESS REVIEWS ==================== */
.hero-floating-stat-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.hero-floating-stat-link:hover,
.hero-floating-stat-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
  color: inherit;
}

.hero-floating-stat-link:focus-visible {
  outline: 2px solid var(--wwn-secondary);
  outline-offset: 3px;
}

.btn-google-reviews {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #fff;
  color: #1a3a6b;
  border: 2px solid #4285f4;
  border-radius: var(--radius-full);
  font-weight: 700;
  padding: 12px 28px;
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.btn-google-reviews:hover,
.btn-google-reviews:focus-visible {
  border-color: #1a73e8;
  background: #f8fbff;
  box-shadow: var(--shadow-md);
  color: #1a3a6b;
  transform: translateY(-1px);
}

.btn-google-write {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  padding: 12px 28px;
  border: 2px solid var(--wwn-secondary);
  background: var(--wwn-secondary);
  color: var(--wwn-dark);
}

.btn-google-write:hover,
.btn-google-write:focus-visible {
  background: #f0c060;
  border-color: #f0c060;
  color: var(--wwn-dark);
  transform: translateY(-1px);
}

.google-reviews-cta {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.google-rating-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin-top: var(--space-md);
  padding: 0.75rem 1.25rem;
  background: var(--wwn-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  color: #f4b400;
  font-size: 1.25rem;
}

.google-rating-score {
  font-weight: 800;
  color: var(--wwn-primary);
  margin-left: 0.35rem;
}

.google-rating-count {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wwn-gray-600);
  width: 100%;
  text-align: center;
}

.map-google-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--wwn-gray-50);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.footer-google-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-google-link:hover {
  color: var(--wwn-secondary);
}

.social-links a.social-google {
  background: #fff;
  color: #4285f4;
}

.social-links a.social-google:hover {
  background: #4285f4;
  color: #fff;
}

.thank-you-google-cta {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--wwn-gray-200);
}

[data-theme="dark"] .btn-google-reviews {
  background: var(--wwn-gray-800);
  border-color: #4285f4;
  color: #f0c060;
}

[data-theme="dark"] .btn-google-write {
  background: var(--wwn-secondary);
  color: var(--wwn-dark);
  border-color: var(--wwn-secondary);
}

[data-theme="dark"] .google-rating-badge {
  background: var(--wwn-gray-800);
  border: 1px solid #334155;
}

[data-theme="dark"] .map-google-actions {
  background: var(--wwn-gray-900);
}