/* ============================================
   Adrian Russ Consulting - Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --anthrazit: #111213;
  --anthrazit-light: #1a1b1e;
  --anthrazit-lighter: #2a2b2e;
  --blau: #2563eb;
  --blau-light: #3b82f6;
  --blau-dark: #1e40af;
  --blau-glow: rgba(37, 99, 235, 0.08);
  --gruen: #10b981;
  --orange: #f59e0b;
  --weiss: #ffffff;
  --grau-50: #f9fafb;
  --grau-100: #f3f4f6;
  --grau-200: #e5e7eb;
  --grau-300: #d1d5db;
  --grau-400: #9ca3af;
  --grau-500: #6b7280;
  --grau-600: #4b5563;
  --grau-700: #374151;
  --grau-800: #1f2937;
  --grau-900: #111827;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f3f4f6;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--blau);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blau-dark);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--grau-900);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--border-color);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--weiss);
  text-decoration: none;
  transition: color var(--transition);
  min-width: 0;
  flex-shrink: 1;
}

.nav-logo span {
  line-height: 1.25;
}

.nav.scrolled .nav-logo {
  color: var(--grau-900);
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav.scrolled .nav-links a {
  color: var(--grau-600);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blau);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--weiss);
}

.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active {
  color: var(--blau);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--blau) !important;
  color: var(--weiss) !important;
  padding: 10px 20px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--blau-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--weiss);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.nav.scrolled .nav-toggle span {
  background: var(--grau-700);
}

.nav-toggle.active span {
  background: var(--grau-700);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-dark {
  background: linear-gradient(135deg, #0a0c10 0%, #111827 50%, #0f172a 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--blau) 1px, transparent 1px),
    linear-gradient(90deg, var(--blau) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-1 {
  top: 15%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.06), transparent 70%);
}

.hero-glow-2 {
  bottom: 10%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.04), transparent 70%);
}

/* --- Pain Points Bar --- */
.hero-painpoints {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
  flex-wrap: wrap;
}

.painpoint-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 20px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.painpoint-sep {
  color: rgba(37, 99, 235, 0.35);
  font-size: 0.85rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
}

.hero-image {
  flex-shrink: 0;
  order: 2;
  text-align: center;
}

.hero-tuev {
  display: block;
  margin-top: 20px;
  text-align: center;
}

.hero-tuev img {
  width: 300px !important;
  height: auto !important;
  filter: none !important;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.hero-tuev:hover img {
  opacity: 1;
}

.hero-text {
  flex: 1;
  order: 1;
}

.hero-image img {
  width: 300px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  border: none;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.3));
}

.hero-badge {
  display: inline-block;
  background: var(--blau-glow);
  color: var(--blau);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-dark .hero-badge {
  background: rgba(37, 99, 235, 0.15);
  color: var(--blau-light);
  border-color: rgba(37, 99, 235, 0.3);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--grau-900);
}

.hero-dark .hero-title {
  color: var(--weiss);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--blau) 0%, var(--blau-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-dark .hero-title .highlight {
  background: linear-gradient(135deg, var(--blau-light) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--grau-600);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-dark .hero-subtitle {
  color: var(--grau-300);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--grau-500);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-dark .hero-description {
  color: var(--grau-300);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blau);
  color: var(--weiss);
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.hero-cta:hover {
  background: var(--blau-dark);
  color: var(--weiss);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.hero-dark .hero-cta {
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.4);
}

.hero-dark .hero-cta:hover {
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
}

.hero-cta svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* --- Credentials Bar --- */
.credentials-bar {
  background: var(--weiss);
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--border-color);
}

.credentials-label {
  text-align: center;
  font-size: 0.78rem;
  color: var(--grau-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  font-weight: 600;
}

/* TÜV Siegel – prominent, zentriert */
.credentials-tuev {
  text-align: center;
  margin-bottom: 24px;
}

.credential-tuev-link {
  display: inline-block;
  transition: transform var(--transition), opacity var(--transition);
}

.credential-tuev-link:hover {
  transform: scale(1.04);
}

.credential-logo-tuev {
  max-width: 220px;
  height: auto;
  object-fit: contain;
}

/* Referenz-Items – compact inline */
.credentials-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.credential-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

a.credential-chip:hover {
  color: var(--blau);
}

a.credential-chip:hover .credential-text {
  color: var(--blau);
  text-decoration: underline;
}

.credential-emoji {
  font-size: 1rem;
  line-height: 1;
}

.credential-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grau-700);
  white-space: nowrap;
  transition: color var(--transition);
}

.credentials-dot {
  color: var(--grau-300);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  padding: 0 4px;
}

@media (max-width: 768px) {
  .credentials-items {
    flex-direction: column;
    gap: 8px;
  }

  .credentials-dot {
    display: none;
  }
}

/* --- Blog / Artikel Section --- */
.section-white {
  background: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--grau-50, #f8fafc);
  border: 1px solid var(--grau-200, #e2e8f0);
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.10);
  border-color: var(--blau, #2563eb);
}

.blog-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blau, #2563eb);
  background: rgba(37, 99, 235, 0.08);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--grau-900, #0f172a);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--grau-500, #64748b);
  flex-grow: 1;
  margin-bottom: 16px;
}

.blog-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blau, #2563eb);
  transition: color 0.2s;
}

.blog-card:hover .blog-card-link {
  color: var(--blau-dark, #1d4ed8);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.blog-more-link {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--blau, #2563eb);
  border-radius: 8px;
  color: var(--blau, #2563eb);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.blog-more-link:hover {
  background: var(--blau, #2563eb);
  color: #fff;
}

/* --- Logo Carousel --- */
.logo-carousel {
  background: var(--weiss);
  padding: 32px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.logo-carousel-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--grau-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-weight: 600;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
  animation: scroll-logos 40s linear infinite;
  width: max-content;
}

.logo-track:hover {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity var(--transition);
}

.logo-item img,
.logo-item svg {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity var(--transition), transform var(--transition);
}

.logo-item:hover img,
.logo-item:hover svg {
  opacity: 1;
  transform: scale(1.05);
}

.logo-item .logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--grau-500);
  letter-spacing: 0.05em;
}

/* EBZ logo is natively blue — no filter needed */

/* h_da logo is square – make taller to fill space */
.logo-item[data-company="hda"] img,
.logo-item[data-company="hda"] svg {
  height: 44px;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- Section Common --- */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--bg-primary);
}

.section-gray {
  background: var(--grau-50);
}

/* Dark sections with anthrazit gradient */
.section-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--weiss);
}

.section-dark .section-label {
  color: var(--blau-light);
}

.section-dark .section-title {
  color: var(--weiss);
}

.section-dark .section-subtitle {
  color: var(--grau-300);
}

/* Accent section (Philosophie) */
.section-accent {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--weiss);
}

.section-accent .section-label {
  color: var(--blau-light);
}

.section-accent .section-title {
  color: var(--weiss);
}

.section-accent .section-subtitle {
  color: var(--grau-300);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  color: var(--blau);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--grau-900);
}

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

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--blau);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--blau-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--blau);
  stroke: var(--blau);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--grau-900);
}

.service-card p {
  color: var(--grau-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Dark section card variants --- */
.section-dark .service-card,
.section-dark .metric-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .service-card:hover,
.section-dark .metric-card:hover {
  border-color: var(--blau);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.section-dark .service-card h3 {
  color: var(--weiss);
}

.section-dark .service-card p,
.section-dark .metric-card-description {
  color: var(--grau-400);
}

.section-dark .metric-label {
  color: var(--grau-400);
}

/* About section on dark */
.section-dark .about-text h3 {
  color: var(--weiss);
}

.section-dark .about-text p {
  color: var(--grau-300);
}

.section-dark .about-network-canvas {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .usp-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .usp-item:hover {
  border-color: var(--blau-light);
}

.section-dark .usp-item span {
  color: var(--grau-300);
}

.section-dark .skill-tag {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--blau-light);
}

/* Booking section on dark */
.section-dark .booking-fallback {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .booking-fallback p {
  color: var(--grau-300);
}

.section-dark .booking-divider {
  color: var(--grau-500);
}

.section-dark .booking-divider::before,
.section-dark .booking-divider::after {
  background: rgba(255, 255, 255, 0.1);
}

.section-dark .booking-contact-link {
  color: var(--grau-300);
}

.section-dark .booking-contact-link:hover {
  color: var(--blau-light);
}

/* Inline paragraph in dark sections */
.section-dark p {
  color: var(--grau-400);
}

/* --- Philosophy Section --- */
.philosophy {
  position: relative;
  text-align: center;
  padding: 120px 0;
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-quote {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 32px;
  position: relative;
}

.philosophy-quote::before {
  content: '\201E';
  font-size: 4rem;
  color: var(--blau);
  position: absolute;
  top: -20px;
  left: -30px;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.philosophy-text {
  font-size: 1.1rem;
  color: var(--grau-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.philosophy-accent {
  display: inline-block;
  background: linear-gradient(135deg, var(--blau-light) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.section-accent .philosophy-quote {
  color: var(--weiss);
}

.section-accent .philosophy-text {
  color: var(--grau-300);
}

.section-accent .philosophy-quote::before {
  color: var(--blau-light);
  opacity: 0.4;
}

/* --- Metrics / Success Section --- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--blau);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.metric-card-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blau);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.metric-card-description {
  font-size: 0.9rem;
  color: var(--grau-500);
  margin-bottom: 24px;
  line-height: 1.6;
}

.metric-stats {
  display: flex;
  justify-content: space-around;
  gap: 16px;
}

.metric-stat {
  text-align: center;
}

.metric-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blau);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--grau-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- About / Werdegang Section --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--grau-900);
}

.about-text p {
  color: var(--grau-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-network-wrapper {
  position: relative;
}

.about-network-canvas {
  width: 100%;
  height: 600px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--grau-50);
}

/* Node Tooltip */
.node-tooltip {
  position: absolute;
  max-width: 320px;
  background: var(--weiss);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 10;
}

.node-tooltip.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.node-tooltip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.node-tooltip-header strong {
  color: var(--blau);
  font-size: 0.95rem;
}

.node-tooltip-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--grau-400);
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}

.node-tooltip-close:hover {
  color: var(--grau-700);
}

.node-tooltip-body {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--grau-600);
  line-height: 1.6;
}

/* USP Grid */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.usp-item:hover {
  border-color: var(--blau-light);
}

.usp-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blau);
}

.usp-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grau-700);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.skill-tag {
  background: var(--blau-glow);
  color: var(--blau);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* --- Social Impact Section --- */
.impact-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.impact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.impact-card:hover {
  transform: translateY(-4px);
  border-color: var(--gruen);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.08);
}

.impact-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.impact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gruen);
}

.impact-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--grau-900);
}

.impact-card p {
  color: var(--grau-500);
  font-size: 0.9rem;
  line-height: 1.7;
}

.section-accent .impact-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-accent .impact-card:hover {
  border-color: var(--gruen);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
}

.section-accent .impact-card h3 {
  color: var(--weiss);
}

.section-accent .impact-card p {
  color: var(--grau-400);
}

/* --- Booking Section --- */
.booking {
  text-align: center;
}

.booking-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.booking-iframe-container {
  background: var(--weiss);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 40px;
  min-height: 500px;
}

.booking-iframe-container iframe {
  width: 100%;
  height: 600px;
  border: none;
}

.booking-fallback {
  padding: 60px 40px;
  background: var(--grau-50);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-top: 40px;
}

.booking-fallback p {
  color: var(--grau-600);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.booking-schedule-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blau);
  color: var(--weiss);
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  margin-bottom: 8px;
}

.booking-schedule-btn:hover {
  background: var(--blau-dark);
  color: var(--weiss);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.booking-schedule-btn svg {
  width: 22px;
  height: 22px;
}

.booking-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: var(--grau-400);
  font-size: 0.85rem;
}

.booking-divider::before,
.booking-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grau-300);
}

.booking-contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.booking-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--grau-600);
  font-size: 1rem;
  transition: color var(--transition);
}

.booking-contact-link:hover {
  color: var(--blau);
}

.booking-contact-link svg {
  width: 20px;
  height: 20px;
  stroke: var(--blau);
}

/* --- Footer --- */
.footer {
  background: var(--grau-900);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 32px;
  color: var(--grau-300);
}

.footer .nav-logo {
  color: var(--weiss);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--grau-400);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--grau-300);
}

.footer-links a {
  display: block;
  color: var(--grau-400);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blau-light);
}

.footer-links p {
  color: var(--grau-400) !important;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grau-800);
  color: var(--grau-400);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--blau);
  color: var(--weiss);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--grau-800);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--grau-500);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--grau-500);
}

.footer-legal a:hover {
  color: var(--blau-light);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--weiss);
  border-top: 1px solid var(--border-color);
  padding: 20px 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

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

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.9rem;
  color: var(--grau-600);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--blau);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--blau);
  color: var(--weiss);
}

.btn-primary:hover {
  background: var(--blau-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--grau-100);
  color: var(--grau-600);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--grau-200);
  color: var(--grau-900);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-content {
    gap: 40px;
  }

  .hero-image img {
    width: 220px;
    height: auto;
  }

  .hero-tuev img { width: 220px !important; }

  .services-grid,
  .metrics-grid,
  .impact-content {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-network-canvas {
    height: 500px;
  }

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

@media (max-width: 1080px) {
  /* Prevent nav-links from causing horizontal scroll */
  .nav {
    overflow-x: hidden; /* fallback for older Samsung Internet / Android WebView */
    overflow-x: clip;   /* modern browsers: allows visible children like sticky nav */
  }

  /* Logo has plenty of room when nav links are in hamburger menu */
  .nav-logo span {
    white-space: nowrap;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--weiss);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  }

  /* Mobile menu links must be dark on white background */
  .nav-links a {
    color: var(--grau-600) !important;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--blau) !important;
  }

  /* CTA button keeps white text on blue background */
  .nav-links .nav-cta {
    color: var(--weiss) !important;
  }

  /* Language toggle: adapt for white mobile menu background */
  .nav-links .lang-toggle {
    background: var(--grau-100);
    border-color: var(--border-color);
  }
  .nav-links .lang-toggle .lang-opt {
    color: var(--grau-400);
  }
  .nav-links .lang-toggle .lang-opt.active {
    background: var(--blau);
    color: #fff;
  }

  .nav-links.open {
    right: 0;
  }

  /* Hamburger: prominent and clearly visible */
  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav-toggle span {
    width: 26px;
    height: 3px;
    border-radius: 2px;
  }
}

@media (max-width: 768px) {

  /* --- Pain Points Bar --- */
  .hero-painpoints {
    padding: 10px 16px;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }

  .painpoint-item {
    font-size: 0.72rem;
    padding: 3px 0;
    white-space: normal;
    text-align: center;
    line-height: 1.45;
    max-width: 100%;
    box-sizing: border-box;
  }

  .painpoint-sep {
    display: none;
  }

  .painpoint-data {
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* --- Hero --- */
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    width: 200px;
    height: auto;
  }

  .hero-tuev img { width: 200px !important; }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    margin: 0 auto 32px;
  }

  /* --- Sections general --- */
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .philosophy-quote {
    font-size: 1.4rem;
  }

  .philosophy-quote::before {
    position: static;
    display: block;
    margin-bottom: -20px;
  }

  /* --- Grids: single column --- */
  .services-grid,
  .metrics-grid,
  .impact-content {
    grid-template-columns: 1fr;
  }

  .usp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* --- About / Über mich section overflow fix --- */
  .about-content {
    overflow: hidden;
  }

  .about-text {
    overflow: hidden;
  }

  .about-network-wrapper,
  #skill-graph-container {
    overflow: hidden;
    max-width: 100%;
  }

  .tuev-badge-inline {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* --- KI-Check Teaser --- */
  .ki-check-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ki-check-teaser {
    text-align: center;
  }

  .ki-check-text .section-label {
    text-align: center;
  }

  .ki-check-features {
    align-items: flex-start;
    text-align: left;
  }

  .ki-check-card {
    max-width: 100%;
  }

  /* --- Metric Cards --- */
  .metric-card {
    padding: 28px 20px;
  }

  /* --- Process Timeline --- */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-line {
    display: none;
  }

  /* --- Blog Grid --- */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* --- Impact Grid --- */
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* --- Cookie Banner --- */
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Nav: smaller logo text on tiny screens */
  .nav-logo {
    font-size: 0.95rem;
    gap: 8px;
  }

  .nav-logo img {
    height: 32px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image img {
    width: 160px;
    height: auto;
  }

  .hero-tuev img { width: 160px !important; }

  /* Pain points: smaller text on small phones */
  .painpoint-keywords {
    font-size: 0.75rem;
    gap: 2px;
  }

  .painpoint-item {
    font-size: 0.68rem;
  }

  /* USP grid: single column on small phones */
  .usp-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Challenge stats */
  .challenge-stat-card {
    padding: 28px 20px 24px;
  }

  .challenge-stat-number {
    font-size: 2rem;
  }

  /* Metric stats stack */
  .metric-stats {
    flex-direction: column;
    gap: 12px;
  }

  /* Section header */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* KI-Check title */
  .ki-check-title {
    font-size: 1.5rem;
  }

  /* Booking section */
  .booking-schedule-btn {
    padding: 14px 24px;
    font-size: 1rem;
  }

  /* Service cards */
  .service-card {
    padding: 28px 20px;
  }

  /* Skills list */
  .skills-list {
    gap: 6px;
  }

  .skill-tag {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  /* Approach items */
  .approach-items p {
    font-size: 0.88rem;
    padding-left: 12px;
  }

  /* Philosophy */
  .philosophy-quote {
    font-size: 1.2rem;
  }

  .philosophy {
    padding: 80px 0;
  }

  /* Credentials */
  .credentials-label {
    font-size: 0.72rem;
  }

  .credential-text {
    font-size: 0.8rem;
  }

  /* Impact cards */
  .impact-card {
    padding: 28px 20px;
  }

  /* Future vision */
  .future-vision {
    padding: 28px 20px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 24px;
  }

  /* Legal pages: long German words need wrapping */
  .legal-content h1 {
    font-size: 1.6rem;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  .legal-content {
    overflow: hidden;
  }

  .legal-page {
    overflow-x: hidden;
  }
}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-page {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--grau-900);
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--grau-900);
}

.legal-content p {
  color: var(--grau-600);
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-content li {
  color: var(--grau-600);
  margin-bottom: 6px;
  line-height: 1.6;
}

.legal-content a {
  color: var(--blau);
  text-decoration: underline;
}

/* --- Company Popup --- */
.company-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 18, 19, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.company-popup-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.company-popup {
  background: var(--weiss);
  border-radius: 20px;
  max-width: 520px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s ease;
}

.company-popup-overlay.visible .company-popup {
  transform: translateY(0) scale(1);
}

.company-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--grau-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--grau-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  z-index: 1;
}

.company-popup-close:hover {
  background: var(--grau-200);
  color: var(--grau-900);
}

.company-popup-header {
  padding: 32px 32px 0;
}

.company-popup-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--grau-900);
  margin-bottom: 4px;
}

.company-popup-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--blau);
  font-weight: 500;
  margin-bottom: 16px;
}

.company-popup-link:hover {
  color: var(--blau-dark);
}

.company-popup-link svg {
  width: 14px;
  height: 14px;
}

.company-popup-body {
  padding: 16px 32px 32px;
}

.company-popup-body p {
  color: var(--grau-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.company-popup-body p:last-child {
  margin-bottom: 0;
}

.company-popup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.company-popup-tag {
  background: var(--blau-glow);
  color: var(--blau);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

/* --- Section Dividers --- */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--blau) 50%, transparent 100%);
  opacity: 0.15;
}

/* --- Language Toggle --- */
/* DE/EN Language Toggle — simple equal-size pill switch */
.lang-toggle {
  display: inline-flex;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  font-family: var(--font-sans);
  margin-right: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
}
.lang-toggle .lang-opt {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 32px !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle .lang-opt.active {
  background: var(--blau);
  color: #fff;
}
/* Scrolled (white nav) state */
.nav.scrolled .lang-toggle {
  background: var(--grau-100);
  border-color: var(--border-color);
}
.nav.scrolled .lang-toggle .lang-opt {
  color: var(--grau-400);
}
.nav.scrolled .lang-toggle .lang-opt.active {
  background: var(--blau);
  color: #fff;
}

/* --- Language Switching for Content ---
     Toggle spans now use .lang-opt class, so they are NOT affected by these rules */
html:not([lang="en"]) .lang-en { display: none; }
html[lang="en"] .lang-de { display: none; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-blau { color: var(--blau-light); }
.text-gruen { color: var(--gruen); }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* --- Pain Points Keywords Row --- */
.painpoint-keywords {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--weiss, #fff);
}

.painpoint-kw-sep {
  opacity: 0.4;
}

.painpoint-data {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .painpoint-keywords {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    font-size: 0.85rem;
  }
  .painpoint-kw-sep { display: none; }
  .painpoint-data {
    flex-direction: column;
    gap: 8px;
  }
}

/* --- Source Citations (Herausforderung cards) --- */
.source-citation {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.8rem;
  color: #8896a6;
}

.source-citation a {
  color: #8896a6;
  text-decoration: underline;
}

.source-citation a:hover {
  color: var(--blau);
}

/* --- Service Outcome Lines --- */
.service-outcome {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--grau-200, rgba(0,0,0,0.06));
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blau);
}

.section-dark .service-outcome {
  border-top-color: rgba(255,255,255,0.1);
}

/* --- Studies Bar (Erfolge) --- */
.studies-bar {
  margin-top: 32px;
  padding: 28px 32px;
  background: rgba(0,0,0,0.02);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.studies-bar-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8896a6;
  margin-bottom: 16px;
}

.studies-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.study-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.15);
}

.study-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blau, #2563eb);
}

.study-desc {
  font-size: 0.82rem;
  color: var(--grau-600, #4b5563);
}

.study-source {
  font-size: 0.75rem;
  color: var(--grau-400, #9ca3af);
  text-decoration: underline;
  margin-left: 4px;
}

.study-source:hover {
  color: var(--blau);
}

/* --- Process Section --- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  text-align: center;
  margin-top: 48px;
}

.process-line {
  position: absolute;
  top: 44px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, rgba(37,99,235,0.3), var(--blau), rgba(37,99,235,0.3));
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.process-number {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--anthrazit-light, #1a1b1e);
  border: 2px solid var(--blau);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blau);
  box-shadow: 0 0 30px rgba(37,99,235,0.15);
}

.process-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--grau-100, #f3f4f6);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--grau-400, #94a3b8);
  line-height: 1.7;
  margin-bottom: 16px;
}

.process-time {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blau-light, #3b82f6);
}

@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .process-line { display: none; }
}

/* --- FAQ Section --- */
.faq-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.faq-title {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--grau-100, #f3f4f6);
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-item summary {
  padding: 16px 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grau-100, #f3f4f6);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--blau);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  font-size: 0.9rem;
  color: var(--grau-400, #94a3b8);
  line-height: 1.7;
  padding-bottom: 16px;
  padding-right: 32px;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ============================================
   NEW: Hero Trust Badges & CTA Meta
   ============================================ */
.hero-cta-meta {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.hero-trust-sep {
  color: rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
  .hero-trust-badges { justify-content: center; }
}

/* ============================================
   NEW: Challenge Stats Grid
   ============================================ */
.challenge-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.challenge-stat-card {
  background: var(--grau-50);
  border: 1px solid var(--grau-200);
  border-radius: 16px;
  padding: 40px 32px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.challenge-stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--blau);
  line-height: 1.1;
  margin-bottom: 8px;
}

.challenge-stat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--grau-800);
  margin-bottom: 12px;
}

.challenge-stat-card p {
  font-size: 0.93rem;
  color: var(--grau-500);
  line-height: 1.7;
  margin-bottom: 12px;
}

.challenge-stat-card .source-citation {
  font-size: 0.8rem;
  color: var(--grau-400);
  margin-bottom: 16px;
}

.challenge-ki-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blau);
  text-decoration: none;
  transition: color 0.2s;
}

.challenge-ki-link:hover {
  color: var(--blau-dark);
}

@media (max-width: 1024px) {
  .challenge-stats-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================
   NEW: KI-Readiness-Check Teaser
   ============================================ */
/* --- KI-Check Teaser (Landing Page) --- */
.ki-check-teaser {
  text-align: left;
}

.ki-check-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ki-check-text .section-label {
  text-align: left;
}

.ki-check-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--weiss);
  line-height: 1.25;
  margin-bottom: 16px;
}

.ki-check-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
}

.ki-check-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.ki-check-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ki-check-feature svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blau-light);
}

.ki-check-feature div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ki-check-feature strong {
  font-size: 0.95rem;
  color: var(--weiss);
}

.ki-check-feature span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.ki-check-cta {
  margin-bottom: 0;
}

/* Visual preview card */
.ki-check-visual {
  display: flex;
  justify-content: center;
}

.ki-check-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ki-check-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ki-check-card-dots {
  display: flex;
  gap: 6px;
}

.ki-check-card-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ki-check-card-dots span:nth-child(1) { background: #ef4444; }
.ki-check-card-dots span:nth-child(2) { background: #f59e0b; }
.ki-check-card-dots span:nth-child(3) { background: #22c55e; }

.ki-check-card-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.ki-check-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ki-check-card-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ki-check-card-bar span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.ki-check-card-bar::after {
  content: '';
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  position: relative;
}

.ki-check-card-bar::after {
  background: linear-gradient(90deg, var(--blau) 0%, var(--blau) var(--bar-w), rgba(255,255,255,0.08) var(--bar-w));
}

.ki-check-card-score {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ki-check-score-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blau-light);
  line-height: 1;
}

.ki-check-card-score span:not(.ki-check-score-num) {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

@media (max-width: 768px) {
  .ki-check-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ki-check-teaser {
    text-align: center;
  }
  .ki-check-text .section-label {
    text-align: center;
  }
  .ki-check-features {
    align-items: flex-start;
    text-align: left;
  }
  .ki-check-cta {
    margin: 0 auto;
  }
}

/* ============================================
   NEW: About Approach Section
   ============================================ */
.about-approach {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.about-approach h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--grau-100);
  margin-bottom: 20px;
}

.approach-items p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 2px solid var(--blau);
}

.approach-items p strong {
  color: var(--blau-light);
}

/* ============================================
   NEW: About Values Quotes
   ============================================ */
.about-values {
  margin-top: 32px;
}

.about-values blockquote {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  font-style: italic;
  padding-left: 20px;
  border-left: 2px solid rgba(37,99,235,0.3);
  margin-bottom: 16px;
}

/* ============================================
   NEW: TÜV Badge Inline
   ============================================ */
.tuev-badge-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}

.tuev-badge-img {
  width: 64px;
  height: auto;
}

.tuev-badge-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tuev-badge-text strong {
  font-size: 0.9rem;
  color: var(--grau-100);
}

.tuev-badge-text span {
  font-size: 0.8rem;
  color: var(--grau-400);
}

/* ============================================
   NEW: Engagement / Impact Section (v2)
   ============================================ */
.mission-statement {
  max-width: 740px;
  margin: 0 auto 56px;
  text-align: center;
}

.mission-statement blockquote {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.8;
  color: var(--grau-700);
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

.mission-statement blockquote::before {
  content: '\201E';
  position: absolute;
  top: -16px;
  left: -6px;
  font-size: 3.5rem;
  color: var(--blau);
  opacity: 0.25;
  font-style: normal;
  line-height: 1;
}

.commitment-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.15);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blau-dark);
  margin-top: 28px;
}

.commitment-badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--blau);
  flex-shrink: 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.impact-grid .impact-card {
  background: #fff;
  border: 1px solid var(--grau-200);
  border-radius: 16px;
  padding: 36px 32px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border-top: 3px solid transparent;
}

.impact-grid .card-trafficking {
  border-top-color: #f43f5e;
}

.impact-grid .card-education {
  border-top-color: #f59e0b;
}

.impact-grid .card-rights {
  border-top-color: #10b981;
}

.impact-grid .impact-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}

.impact-grid .impact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.impact-grid .impact-icon svg {
  width: 24px;
  height: 24px;
}

.card-trafficking .impact-icon { background: #ffe4e6; }
.card-trafficking .impact-icon svg { stroke: #f43f5e; }
.card-education .impact-icon { background: #fef3c7; }
.card-education .impact-icon svg { stroke: #f59e0b; }
.card-rights .impact-icon { background: #d1fae5; }
.card-rights .impact-icon svg { stroke: #10b981; }

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.card-trafficking .card-tag { color: #f43f5e; }
.card-education .card-tag { color: #f59e0b; }
.card-rights .card-tag { color: #10b981; }

.impact-grid .impact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--grau-800);
}

.impact-grid .impact-card p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--grau-500);
}

.future-vision {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 40px;
  border: 1px solid var(--grau-200);
  border-radius: 16px;
  background: #fff;
}

.future-vision h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--grau-800);
  margin-bottom: 12px;
}

.future-vision p {
  font-size: 0.95rem;
  color: var(--grau-500);
  line-height: 1.75;
}

/* ============================================
   NEW: SVG Skill Graph
   ============================================ */
.sg-header-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 4px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.sg-header-hint {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.sg-tooltip {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8,14,26,0.96);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 10px;
  padding: 10px 18px;
  max-width: 440px;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  line-height: 1.6;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.sg-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
  position: relative;
  z-index: 2;
}

.sg-badge {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 5px 12px;
  color: rgba(255,255,255,0.38);
  font-size: 10px;
  cursor: default;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.sg-badge-loc {
  font-size: 8px;
  opacity: 0.5;
}

.sg-badge-label {
  font-weight: 500;
}

@media (max-width: 768px) {
  #skill-graph-container {
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }
  #skill-graph-container svg {
    max-width: 100%;
    height: auto;
  }
  .sg-badges {
    gap: 4px;
  }
  .sg-badge {
    font-size: 8px;
    padding: 4px 8px;
  }
}

/* ============================================
   Generic .grid-3 and .card (for hidden sections)
   ============================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--blau);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--grau-900);
}

.card p {
  color: var(--grau-500);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Testimonial card variant */
.testimonial-card {
  text-align: center;
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--grau-700);
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  font-size: 0.95rem;
  color: var(--grau-900);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--grau-500);
}

/* Newsletter bar */
.newsletter-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* ── Responsive: grid-3, card, FAQ, forms ── */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px 20px;
  }

  .faq-item summary {
    font-size: 0.85rem;
    padding-right: 24px;
  }

  .faq-item p {
    padding-right: 8px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .faq-item summary {
    font-size: 0.82rem;
  }

  .faq-item p {
    padding-right: 0;
    font-size: 0.82rem;
  }

  .card {
    padding: 20px 16px;
  }
}
