/* =============================================
   ALLIGATOR ANALYTICA – Design System v2
   ============================================= */

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

:root {
  /* Navy palette – viel lebendiger als reines Schwarz */
  --dark-900: #0C1220;
  --dark-800: #101A2D;
  --dark-750: #131F35;
  --dark-700: #18273F;
  --dark-600: #1E3050;
  --dark-500: #243A5E;
  --dark-400: #2D4873;

  /* Magenta Markenfarbe */
  --magenta:        #D4006A;
  --magenta-light:  #FF4DAA;
  --magenta-dark:   #A0004E;
  --magenta-glow:   rgba(212, 0, 106, 0.3);
  --magenta-subtle: rgba(212, 0, 106, 0.07);

  /* Text */
  --text:       #EFF2F7;
  --text-soft:  #B8C2D8;
  --text-muted: #6E7E9E;

  /* Gradienten */
  --grad-magenta: linear-gradient(135deg, #FF4DAA 0%, #D4006A 55%, #9A0050 100%);
  --grad-card:    linear-gradient(160deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.01) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

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

/* =============================================
   UTILITY
   ============================================= */

.gradient-text {
  background: var(--grad-magenta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   NAVIGATION
   ============================================= */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(12, 18, 32, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0.875rem 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--grad-magenta);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px var(--magenta-glow);
  flex-shrink: 0;
}

.logo-icon svg { width: 20px; height: 20px; fill: white; }

.logo-icon-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.logo-text span { color: var(--magenta-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  background: var(--grad-magenta) !important;
  color: white !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 7px !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 16px var(--magenta-glow) !important;
  transition: all 0.2s !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px var(--magenta-glow) !important;
  filter: brightness(1.08) !important;
  background: var(--grad-magenta) !important;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-soft);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Groups themeToggle + hamburger so layout is: logo | nav-actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─── Mobile Menu Overlay ──────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark-900);
  z-index: 101; /* above navbar (100) so hamburger is hidden behind overlay */
  flex-direction: column;
}

.mobile-menu.open { display: flex; }

/* Header row: logo + close button */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* Scrollable nav body */
.mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

/* CTA row at bottom */
.mobile-menu-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* Section label (Leistungen, Tools, Branchen, Wissen) */
.mobile-nav-section {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  padding: 1.125rem 0 0.375rem;
  pointer-events: none;
}

/* Top-level links (Software, Hardware) */
.mobile-menu-nav > a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}

/* Sub-links (indented, muted) */
.mobile-sub-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0 0.5rem 0.875rem;
  display: block;
  transition: color 0.2s;
}

.mobile-menu-nav > a:hover,
.mobile-sub-link:hover { color: var(--magenta-light); }

.mobile-close {
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
}

.mobile-close:hover { color: var(--text); }

/* --- Nav Dropdown --- */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: flex !important;
  align-items: center;
  gap: 0.3rem;
  cursor: default;
}

.nav-arrow {
  font-size: 0.6rem;
  opacity: 0.55;
  transition: transform 0.2s;
  line-height: 1;
}

.nav-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.625rem);
  left: 50%;
  min-width: 230px;
  background: var(--dark-800);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 11px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  z-index: 200;
  list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.845rem;
  color: var(--text-muted) !important;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s;
  background: none !important;
  white-space: nowrap;
  font-weight: 500;
}

.dropdown-menu li a:hover {
  color: white !important;
  background: rgba(255,255,255,0.06) !important;
}

.dropdown-menu .dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0.375rem 0.5rem;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-magenta);
  color: white;
  padding: 0.875rem 1.875rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  box-shadow: 0 4px 18px var(--magenta-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--magenta-glow);
  filter: brightness(1.08);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  color: var(--text-soft);
  padding: 0.875rem 1.875rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: rgba(212,0,106,0.5);
  color: white;
  background: rgba(212,0,106,0.08);
  transform: translateY(-2px);
}

/* =============================================
   HERO – Split Layout
   ============================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 70% 30%, rgba(212, 0, 106, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 75%, rgba(59, 130, 246, 0.05) 0%, transparent 55%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 30%, transparent 80%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 0, 106, 0.1);
  border: 1px solid rgba(212, 0, 106, 0.3);
  color: #FF9DD0;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--magenta-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-headline {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* Gradient nur auf 2-3 Wörter */
.hero-headline .accent { color: var(--magenta-light); }

.hero-sub {
  font-size: 1.075rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.stat-unit { color: var(--magenta-light); }

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero Visual (rechte Seite) */
.hero-visual {
  position: relative;
}

.hero-mockup {
  background: linear-gradient(160deg, var(--dark-700), var(--dark-750));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(212,0,106,0.08);
  position: relative;
}

.mockup-header {
  background: var(--dark-600);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.dot-red   { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.mockup-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.kpi-card {
  background: var(--dark-600);
  border-radius: 10px;
  padding: 0.875rem;
  border: 1px solid rgba(255,255,255,0.06);
}

.kpi-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}

.kpi-value {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.kpi-change {
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

.kpi-down { color: #4ADE80; }
.kpi-up   { color: var(--magenta-light); }

.mockup-chart {
  background: var(--dark-600);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0.75rem;
}

.chart-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 70px;
}

.chart-bars .bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  transition: height 0.3s;
}

.bar-prev { background: rgba(212,0,106,0.3); }
.bar-curr { background: rgba(74,222,128,0.45); }

.mockup-alerts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alert-item {
  background: var(--dark-600);
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.alert-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.alert-ok   { background: #4ADE80; box-shadow: 0 0 6px #4ADE80; }
.alert-warn { background: #FBBF24; box-shadow: 0 0 6px #FBBF24; }

.alert-text { color: var(--text-soft); flex: 1; }
.alert-time { color: var(--text-muted); font-size: 0.68rem; }

/* Floating badge am Mockup */
.hero-badge-float {
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  background: linear-gradient(135deg, var(--dark-700), var(--dark-600));
  border: 1px solid rgba(212,0,106,0.25);
  border-radius: 12px;
  padding: 0.875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.badge-float-icon {
  width: 32px; height: 32px;
  background: rgba(74,222,128,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-float-icon svg {
  width: 16px; height: 16px;
  stroke: #4ADE80;
  fill: none;
  stroke-width: 2;
}

.badge-float-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
}

.badge-float-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* =============================================
   SECTION BASICS
   ============================================= */

section { padding: 6rem 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--magenta-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.875rem;
}

.section-title {
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.125rem;
  color: var(--text);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.75;
}

/* =============================================
   SECTION BACKGROUNDS (alternierend)
   ============================================= */

.section-alt {
  background: var(--dark-800);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-darker {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* =============================================
   CARDS
   ============================================= */

.card {
  background: var(--grad-card);
  background-color: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(212,0,106,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,0,106,0.1);
  background-color: var(--dark-600);
}

.card-icon {
  width: 48px; height: 48px;
  background: rgba(212,0,106,0.1);
  border: 1px solid rgba(212,0,106,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}

.card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--magenta-light);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card:hover .card-icon {
  background: rgba(212,0,106,0.18);
  box-shadow: 0 4px 16px rgba(212,0,106,0.2);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =============================================
   GRIDS
   ============================================= */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

/* =============================================
   HOW IT WORKS
   ============================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--magenta), rgba(212,0,106,0.25), var(--magenta));
}

.step { text-align: center; }

.step-number {
  width: 56px; height: 56px;
  background: var(--grad-magenta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px var(--magenta-glow);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--text);
}

.step-text {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* =============================================
   AUDIENCE CARDS
   ============================================= */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.75rem;
}

.audience-card {
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.25s;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.audience-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-magenta);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.audience-card:hover::after { transform: scaleX(1); }

.audience-card:hover {
  border-color: rgba(212,0,106,0.2);
  background: var(--dark-600);
  transform: translateY(-3px);
}

.audience-icon {
  width: 44px; height: 44px;
  background: rgba(212,0,106,0.1);
  border: 1px solid rgba(212,0,106,0.18);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.875rem;
}

.audience-icon svg {
  width: 20px; height: 20px;
  stroke: var(--magenta-light);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audience-title {
  font-weight: 700;
  font-size: 0.925rem;
  margin-bottom: 0.375rem;
  color: var(--text);
}

.audience-text {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* =============================================
   LOGOS
   ============================================= */

.logos-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.15);
}

.logos-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.75rem;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
}

.logo-placeholder {
  height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: 100px;
  justify-content: center;
  transition: all 0.2s;
}

.logo-placeholder:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-soft);
}

/* =============================================
   FEATURE SPLIT (Text + Bild)
   ============================================= */

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-visual {
  background: linear-gradient(160deg, var(--dark-700), var(--dark-750));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 2rem;
}

.img-placeholder svg {
  width: 40px; height: 40px;
  stroke: rgba(212,0,106,0.5);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.img-placeholder strong {
  display: block;
  color: var(--text-soft);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

/* =============================================
   ROI SECTION
   ============================================= */

.roi-section {
  background: linear-gradient(135deg, var(--dark-700), var(--dark-750));
  border: 1px solid rgba(212,0,106,0.15);
  border-radius: 22px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.roi-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(212,0,106,0.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.roi-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.roi-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(212,0,106,0.06);
  border-radius: 12px;
  border: 1px solid rgba(212,0,106,0.15);
  transition: all 0.25s;
}

.roi-stat:hover {
  background: rgba(212,0,106,0.1);
  border-color: rgba(212,0,106,0.3);
  transform: translateY(-2px);
}

.roi-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--magenta-light);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.roi-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
  text-align: center;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(212,0,106,0.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.125rem;
  position: relative;
  color: var(--text);
}

.cta-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  position: relative;
  line-height: 1.7;
}

/* =============================================
   CHECK / BULLET LISTS
   ============================================= */

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  align-items: flex-start;
}

.check-ok  { color: #4ADE80; flex-shrink: 0; font-weight: 700; }
.check-bad { color: var(--magenta-light); flex-shrink: 0; font-weight: 700; }
.check-arr { color: var(--magenta-light); flex-shrink: 0; font-weight: 700; }

/* =============================================
   TAGS
   ============================================= */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3125rem 0.875rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tag-magenta {
  background: rgba(212,0,106,0.1);
  border: 1px solid rgba(212,0,106,0.3);
  color: #FF9DD0;
}

.tag-green {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  color: #4ADE80;
}

.tag-gray {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

/* =============================================
   STATS BANNER
   ============================================= */

.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark-700);
}

.stat-cell {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}

.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: var(--dark-600); }

.stat-cell-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--magenta-light);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-cell-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.775rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.775rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--text); }

/* =============================================
   PAGE HERO (Unterseiten)
   ============================================= */

.page-hero {
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 650px; height: 550px;
  background: radial-gradient(ellipse, rgba(212,0,106,0.09) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, black, transparent);
  pointer-events: none;
}

/* =============================================
   DIVIDER
   ============================================= */

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,0,106,0.3), transparent);
}

/* =============================================
   CONTACT FORM
   ============================================= */

.contact-form {
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.375rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark-600);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 0.8125rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(212,0,106,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.22); }

.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--dark-800); }

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

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { display: none; }
  .roi-section { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-banner { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .three-col { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 4rem 0; }
  .roi-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem 1.25rem; }
  .stats-banner { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  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; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =============================================
   STICKY CTA BAR
   ============================================= */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-800);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .sticky-cta-bar .sticky-cta-text { display: none; }
}

/* =============================================
   GLOSSAR
   ============================================= */

.glossar-search-wrap {
  margin: 2rem 0 2.5rem;
  max-width: 520px;
}

.glossar-search {
  width: 100%;
  background: var(--dark-800);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.glossar-search:focus {
  border-color: var(--magenta-light);
}

.glossar-search::placeholder {
  color: var(--text-muted);
}

.glossar-alpha-nav {
  position: sticky;
  top: 76px;
  z-index: 100;
  background: var(--dark-900);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0.75rem 0;
  margin-bottom: 3rem;
}

.glossar-alpha-nav .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.alpha-link {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}

.alpha-link:hover,
.alpha-link.active {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.alpha-link.has-entries {
  color: var(--magenta-light);
}

.glossar-letter-section {
  margin-bottom: 3.5rem;
}

.glossar-letter-section[hidden] { display: none; }

.glossar-letter-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--magenta-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.glossar-entry {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.glossar-entry[hidden] { display: none; }

.glossar-entry h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.glossar-entry p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.925rem;
  margin: 0;
}

.glossar-entry .glossar-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.825rem;
  color: var(--magenta-light);
  text-decoration: none;
}

.glossar-entry .glossar-link:hover {
  text-decoration: underline;
}

.glossar-no-results {
  color: var(--text-muted);
  padding: 2rem 0;
  display: none;
}

/* =============================================
   FAQ
   ============================================= */

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.faq-tab {
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}

.faq-tab:hover {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.faq-tab.active {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category[hidden] { display: none; }

.faq-category-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

details.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.975rem;
  color: #fff;
  gap: 1rem;
  user-select: none;
}

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

details.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--magenta-light);
  transition: transform 0.2s;
  line-height: 1;
}

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

details.faq-item .faq-answer {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.925rem;
}

details.faq-item .faq-answer a {
  color: var(--magenta-light);
  text-decoration: none;
}

details.faq-item .faq-answer a:hover {
  text-decoration: underline;
}

/* =============================================
   BREADCRUMB BAR
   ============================================= */

.breadcrumb-bar {
  margin-top: 76px;
}

/* =============================================
   FEATURE PILLS (software.html section nav)
   ============================================= */

.feature-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.feature-pill:hover {
  color: white;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.feature-pill.active {
  color: var(--magenta-light);
  background: rgba(212,0,106,0.08);
  border-color: rgba(212,0,106,0.25);
}

/* =============================================
   ENERGIEKOSTEN-RECHNER
   ============================================= */

.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 960px) {
  .calc-wrap { grid-template-columns: 1fr; }
}

/* Input card */
.calc-input-card {
  background: var(--dark-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem;
}

.calc-group {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.625rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  font-weight: 500;
}

.calc-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
}

/* Range slider */
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  outline: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--magenta);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 0 4px rgba(212,0,106,0.15);
  transition: box-shadow 0.2s;
}
.calc-range::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(212,0,106,0.25);
}
.calc-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--magenta);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
}

/* Text / number / select inputs */
.calc-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.calc-input:focus {
  border-color: rgba(212,0,106,0.5);
}
.calc-input option {
  background: var(--dark-800);
}

/* Company size radios */
.size-radios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

.size-radio input[type="radio"] {
  display: none;
}

.size-radio label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.75rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.size-radio label:hover {
  border-color: rgba(212,0,106,0.3);
  background: rgba(212,0,106,0.05);
}

.size-radio input[type="radio"]:checked + label {
  border-color: rgba(212,0,106,0.6);
  background: rgba(212,0,106,0.1);
}

.size-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
}

.size-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.size-bafa {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--magenta-light);
}

/* Results sticky panel */
.calc-sticky {
  position: sticky;
  top: 90px;
}

.calc-results {
  background: var(--dark-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.75rem;
}

.calc-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.calc-results-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.calc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6EE7B7;
  background: rgba(110,231,183,0.08);
  border: 1px solid rgba(110,231,183,0.2);
  border-radius: 100px;
  padding: 0.25rem 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6EE7B7;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Savings block */
.calc-savings-block {
  background: rgba(212,0,106,0.07);
  border: 1px solid rgba(212,0,106,0.2);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.calc-savings-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.calc-savings-range {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 0.375rem;
}

.calc-savings-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Breakdown table */
.calc-breakdown {
  margin-bottom: 1.25rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
}

.calc-row-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.calc-row-value {
  font-size: 0.925rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

.calc-row-value.white  { color: white; }
.calc-row-value.yellow { color: #FCD34D; }
.calc-row-value.magenta { color: var(--magenta-light); }

.calc-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0.25rem 0;
}

/* Amortization */
.calc-amort-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.calc-amort-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}

.calc-amort-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.875rem;
}

.calc-amort-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.375rem;
}

.calc-amort-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #6EE7B7, var(--magenta-light));
  transition: width 0.5s ease;
}

.calc-amort-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* CTA block */
.calc-cta-block {
  margin-top: 1.25rem;
}

.calc-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* Methodology toggle */
.method-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.method-toggle:hover {
  color: white;
  border-color: rgba(255,255,255,0.14);
}

.method-toggle svg {
  flex-shrink: 0;
  transition: transform 0.25s;
}

.method-toggle.open svg {
  transform: rotate(180deg);
}

.method-body {
  display: none;
  padding: 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
  border-radius: 0 0 10px 10px;
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.method-body.open {
  display: block;
}

.method-body p {
  margin: 0 0 0.5rem;
}

/* =============================================
   ISO 50001 READINESS-CHECK
   ============================================= */

.readiness-wrap {
  max-width: 680px;
  margin: 0 auto;
}

/* Progress */
.readiness-progress-track {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-bottom: 0.625rem;
  overflow: hidden;
}

.readiness-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--magenta), var(--magenta-light));
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.readiness-step-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 2.75rem;
}

.readiness-step-label strong {
  color: white;
}

/* Question */
.readiness-q-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--magenta-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.625rem;
}

.readiness-q-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}

.readiness-q-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.45;
  margin-bottom: 1.75rem;
}

/* Option cards */
.readiness-options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2.25rem;
}

.readiness-option {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  text-align: left;
  width: 100%;
  font-family: inherit;
}

.readiness-option:hover {
  border-color: rgba(212,0,106,0.35);
  background: rgba(212,0,106,0.04);
  transform: translateX(2px);
}

.readiness-option.selected {
  border-color: rgba(212,0,106,0.65);
  background: rgba(212,0,106,0.09);
  transform: translateX(2px);
}

.readiness-opt-letter {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.readiness-option.selected .readiness-opt-letter {
  background: var(--magenta);
  border-color: var(--magenta);
  color: white;
}

.readiness-opt-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  transition: color 0.15s;
}

.readiness-option.selected .readiness-opt-text {
  color: white;
}

/* Nav buttons */
.readiness-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.readiness-back-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-muted);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}
.readiness-back-btn:hover:not(:disabled) {
  color: white;
  border-color: rgba(255,255,255,0.25);
}
.readiness-back-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.readiness-next-btn {
  background: var(--magenta);
  border: none;
  border-radius: 8px;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, opacity 0.18s;
}
.readiness-next-btn:hover:not(:disabled) {
  background: var(--magenta-light);
}
.readiness-next-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Question transition */
.readiness-q-area {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.readiness-q-area.fade-out {
  opacity: 0;
  transform: translateX(-12px);
}
.readiness-q-area.fade-in-right {
  animation: slideInRight 0.25s ease forwards;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── RESULTS ── */
.readiness-results-wrap {
  max-width: 680px;
  margin: 0 auto;
}

/* Gauge */
.score-gauge-outer {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
  position: relative;
}
.score-gauge-svg {
  width: 180px;
  height: 180px;
}
.score-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-gauge-pct {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.score-gauge-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* Level badge */
.readiness-level {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.readiness-level.level-0 { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #FCA5A5; }
.readiness-level.level-1 { background: rgba(251,146,60,0.12); border: 1px solid rgba(251,146,60,0.3); color: #FDB27A; }
.readiness-level.level-2 { background: rgba(96,165,250,0.12); border: 1px solid rgba(96,165,250,0.3); color: #93C5FD; }
.readiness-level.level-3 { background: rgba(110,231,183,0.12); border: 1px solid rgba(110,231,183,0.3); color: #6EE7B7; }

.readiness-level-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* Recommendation cards */
.readiness-recs-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.readiness-recs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.readiness-rec {
  display: flex;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  align-items: flex-start;
}

.readiness-rec-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212,0,106,0.1);
  border: 1px solid rgba(212,0,106,0.25);
  color: var(--magenta-light);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.readiness-rec-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.readiness-rec-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.readiness-restart-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
}
.readiness-restart-btn:hover {
  color: white;
  border-color: rgba(255,255,255,0.25);
}

/* =============================================
   LASTSPITZEN-RECHNER
   ============================================= */

/* Voltage level radio cards */
.voltage-radios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

.voltage-radio input[type="radio"] { display: none; }

.voltage-radio label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.875rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.voltage-radio label:hover {
  border-color: rgba(212,0,106,0.3);
  background: rgba(212,0,106,0.05);
}
.voltage-radio input[type="radio"]:checked + label {
  border-color: rgba(212,0,106,0.6);
  background: rgba(212,0,106,0.1);
}
.voltage-name { font-size: 0.875rem; font-weight: 700; color: white; }
.voltage-abbr { font-size: 0.7rem; color: var(--text-muted); }
.voltage-price { font-size: 0.7rem; font-weight: 700; color: var(--magenta-light); margin-top: 0.2rem; }

/* Aha-block: the "wow" number */
.lspitzen-aha {
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.lspitzen-aha-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #FCA5A5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}
.lspitzen-aha-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}
.lspitzen-aha-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.375rem;
}

/* Bar chart */
.lspitzen-bars {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.lspitzen-bar-row { display: flex; flex-direction: column; gap: 0.35rem; }

.lspitzen-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.lspitzen-bar-name { color: var(--text-muted); }
.lspitzen-bar-numbers { display: flex; gap: 0.75rem; }
.lspitzen-bar-kw { color: white; font-weight: 600; }
.lspitzen-bar-eur { color: var(--text-muted); }

.lspitzen-bar-track {
  height: 28px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.lspitzen-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 2px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
}
.bar-blue    { background: rgba(96,165,250,0.4); border-right: 2px solid #60A5FA; }
.bar-red     { background: rgba(239,68,68,0.35); border-right: 2px solid #EF4444; }
.bar-green   { background: rgba(110,231,183,0.35); border-right: 2px solid #6EE7B7; }

/* Savings block (reuses some calc styles) */
.lspitzen-savings {
  background: rgba(110,231,183,0.07);
  border: 1px solid rgba(110,231,183,0.2);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.lspitzen-savings-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #6EE7B7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}
.lspitzen-savings-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
}
.lspitzen-savings-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

/* ── Energie-Benchmark-Seite ─────────────────────────────────────── */
.bench-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.bench-tab { padding: 0.45rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); background: var(--dark-800); color: var(--text-muted); cursor: pointer; font-size: 0.85rem; transition: all .2s; }
.bench-tab.active, .bench-tab:hover { border-color: rgba(212,0,106,0.5); background: rgba(212,0,106,0.1); color: white; }
.bench-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.25rem; margin-bottom: 1.5rem; }
.bench-card { background: var(--dark-800); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 1.5rem; }
.bench-card-title { font-size: 0.95rem; font-weight: 700; color: white; margin-bottom: 0.2rem; }
.bench-card-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.bench-bar-wrap { position: relative; margin: 0.75rem 0 0.3rem; }
.bench-bar-track { height: 20px; border-radius: 10px; overflow: hidden; display: flex; position: relative; }
.bench-zone-gut    { background: rgba(110,231,183,0.22); }
.bench-zone-mittel { background: rgba(251,191,36,0.18); }
.bench-zone-schlecht { background: rgba(239,68,68,0.20); }
.bench-marker { position: absolute; top: 0; height: 100%; width: 3px; background: white; box-shadow: 0 0 6px rgba(255,255,255,0.5); border-radius: 2px; transition: left .25s ease; display: none; }
.bench-zone-labels { display: flex; font-size: 0.69rem; margin-top: 0.3rem; }
.bench-zone-labels span { text-align: center; }
.lbl-gut    { color: #6EE7B7; }
.lbl-mittel { color: #FBBf24; }
.lbl-schlecht { color: #EF4444; }
.bench-thresholds { display: flex; justify-content: space-between; font-size: 0.69rem; color: rgba(255,255,255,0.25); margin-top: 0.15rem; }
.bench-input-row { display: flex; align-items: center; gap: 0.65rem; margin-top: 1.1rem; flex-wrap: wrap; }
.bench-input-row label { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }
.bench-val-input { width: 85px; padding: 0.38rem 0.6rem; background: var(--dark-700); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; color: white; font-size: 0.9rem; text-align: right; outline: none; }
.bench-val-input:focus { border-color: rgba(212,0,106,0.5); }
.bench-badge { padding: 0.28rem 0.7rem; border-radius: 999px; font-size: 0.73rem; font-weight: 700; }
.bench-badge.gut     { background: rgba(110,231,183,0.12); color: #6EE7B7; border: 1px solid rgba(110,231,183,0.3); }
.bench-badge.mittel  { background: rgba(251,191,36,0.12);  color: #FBBf24; border: 1px solid rgba(251,191,36,0.3); }
.bench-badge.schlecht{ background: rgba(239,68,68,0.12);   color: #EF4444; border: 1px solid rgba(239,68,68,0.3); }

/* ── EDL-G Pflicht-Check ─────────────────────────────────────────── */
.edlg-wrap { max-width: 660px; }
.edlg-card { background: var(--dark-800); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 2.5rem; }
.edlg-progress { display: flex; gap: 0.4rem; margin-bottom: 2rem; }
.edlg-prog-seg { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); transition: background .3s; }
.edlg-prog-seg.done    { background: var(--magenta); }
.edlg-prog-seg.current { background: rgba(212,0,106,0.45); }
.edlg-step { display: none; }
.edlg-step.active { display: block; }
.edlg-step-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.edlg-question { font-size: 1.05rem; font-weight: 700; color: white; margin-bottom: 1.4rem; line-height: 1.5; }
.edlg-options { display: flex; flex-direction: column; gap: 0.6rem; }
.edlg-option { padding: 0.85rem 1.1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.09); background: var(--dark-700); cursor: pointer; color: var(--text-muted); font-size: 0.9rem; transition: all .15s; display: flex; align-items: center; gap: 0.75rem; }
.edlg-option:hover { border-color: rgba(212,0,106,0.35); color: white; background: rgba(212,0,106,0.04); }
.edlg-option.selected { border-color: rgba(212,0,106,0.65); background: rgba(212,0,106,0.1); color: white; }
.edlg-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.18); flex-shrink: 0; transition: all .15s; }
.edlg-option.selected .edlg-radio { border-color: var(--magenta); background: var(--magenta); }
.edlg-nav { display: flex; justify-content: flex-end; margin-top: 1.75rem; }
.edlg-btn-next { padding: 0.6rem 1.5rem; border-radius: 8px; border: none; cursor: pointer; font-size: 0.9rem; font-weight: 600; background: var(--magenta); color: white; transition: all .2s; }
.edlg-btn-next:hover:not(:disabled) { background: var(--magenta-light); }
.edlg-btn-next:disabled { opacity: 0.35; cursor: not-allowed; }
.edlg-result { display: none; }
.edlg-result.active { display: block; }
.edlg-result-box { border-radius: 14px; padding: 1.75rem 2rem; margin-bottom: 1.5rem; }
.edlg-pflicht-box { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.2); }
.edlg-frei-box    { background: rgba(110,231,183,0.06); border: 1px solid rgba(110,231,183,0.2); }
.edlg-grenz-box   { background: rgba(251,191,36,0.06); border: 1px solid rgba(251,191,36,0.2); }
.edlg-result-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.edlg-result-title { font-size: 1.3rem; font-weight: 800; color: white; margin-bottom: 0.6rem; }
.edlg-result-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; }
.edlg-result-items { margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: 0.55rem; }
.edlg-result-item { display: flex; gap: 0.6rem; font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.edlg-result-item strong { color: white; }
.edlg-restart-btn { background: none; border: 1px solid rgba(255,255,255,0.12); color: var(--text-muted); padding: 0.5rem 1.1rem; border-radius: 8px; cursor: pointer; font-size: 0.82rem; transition: all .2s; margin-top: 1.5rem; display: inline-block; }
.edlg-restart-btn:hover { border-color: rgba(255,255,255,0.25); color: white; }

/* ── Multisite-Seite ─────────────────────────────────────────────── */
.ms-problem-card  { background: rgba(239,68,68,0.05); border: 1px solid rgba(239,68,68,0.15); border-radius: 14px; padding: 1.75rem; }
.ms-problem-num   { font-size: 0.72rem; font-weight: 800; color: #EF4444; letter-spacing: 0.06em; margin-bottom: 0.75rem; }
.ms-solution-card { background: rgba(110,231,183,0.05); border: 1px solid rgba(110,231,183,0.13); border-radius: 14px; padding: 1.75rem; }
.ms-solution-num  { font-size: 0.72rem; font-weight: 800; color: #6EE7B7; letter-spacing: 0.06em; margin-bottom: 0.75rem; }
.ms-vertical-card { background: var(--dark-800); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 1.5rem; transition: border-color .2s; }
.ms-vertical-card:hover { border-color: rgba(212,0,106,0.3); }
.ms-vertical-tag  { display: inline-block; font-size: 0.68rem; font-weight: 700; color: var(--magenta-light); background: rgba(212,0,106,0.1); border: 1px solid rgba(212,0,106,0.2); border-radius: 999px; padding: 0.2rem 0.6rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ms-feature-row   { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ms-feature-row:last-child { border-bottom: none; padding-bottom: 0; }
.ms-feature-icon  { width: 32px; height: 32px; border-radius: 8px; background: rgba(212,0,106,0.1); border: 1px solid rgba(212,0,106,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── Software-Vergleich (vergleich.html) ─────────────────────────────────── */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid rgba(255,255,255,0.07); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table thead th { padding: 1rem 1.25rem; background: var(--dark-700); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); text-align: left; border-bottom: 1px solid rgba(255,255,255,0.07); }
.compare-table tbody td { padding: 0.85rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: var(--text-muted); vertical-align: middle; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table thead th.col-alligator,
.compare-table tbody td.col-alligator { background: rgba(212,0,106,0.06); }
.compare-table thead th.col-alligator { color: white; }
.th-badge { display: inline-block; font-size: 0.62rem; font-weight: 700; background: var(--magenta); color: white; border-radius: 999px; padding: 0.15rem 0.55rem; margin-left: 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; vertical-align: middle; }
.check-yes     { color: #6EE7B7; font-weight: 500; }
.check-no      { color: #F87171; font-weight: 500; }
.check-partial { color: #FCD34D; font-weight: 500; }

.verdict-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.verdict-card { background: var(--dark-800); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.verdict-alligator { border-color: rgba(212,0,106,0.3); background: rgba(212,0,106,0.04); }
.verdict-header { display: flex; align-items: center; gap: 1rem; }
.verdict-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.verdict-icon svg { width: 20px; height: 20px; }
.verdict-name { font-size: 1rem; font-weight: 700; color: white; line-height: 1.3; }
.verdict-sub  { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }
.verdict-pros, .verdict-cons { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.verdict-pros li, .verdict-cons li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }
.verdict-fazit { font-size: 0.82rem; color: var(--text-muted); line-height: 1.8; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); }

/* ── software.html ───────────────────────────────────────────────── */
.uc-card {
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color .2s, transform .2s;
}
.uc-card:hover { border-color: rgba(212,0,106,0.25); transform: translateY(-3px); }
.uc-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--magenta-light);
  background: rgba(212,0,106,0.1);
  border: 1px solid rgba(212,0,106,0.2);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.875rem;
}
.uc-saving { font-size: 1.25rem; font-weight: 800; color: white; line-height: 1.2; }
.uc-saving span { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }

.zg-card {
  background: var(--dark-700);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}
.zg-card:hover { border-color: rgba(212,0,106,0.25); transform: translateY(-3px); }

.bc-card {
  background: var(--dark-800);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
  transition: border-color .2s;
}
.bc-card:hover { border-color: rgba(212,0,106,0.2); }

@media (max-width: 900px) {
  .bc-card { grid-template-columns: 1fr 1fr; padding: 1.5rem; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .bc-card { grid-template-columns: 1fr; }
}

/* =============================================
   THEME TOGGLE BUTTON
   ============================================= */

.theme-toggle {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(255,255,255,0.11); color: var(--text); }

/* Dark mode: show sun icon ("switch to light") */
.theme-toggle .icon-moon { display: none; }

/* Light mode: show moon icon ("switch to dark"), hide sun */
html[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }
html[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
  color: var(--text-muted);
}
html[data-theme="light"] .theme-toggle:hover { background: rgba(0,0,0,0.1); }

/* =============================================
   LIGHT MODE
   ============================================= */

/* ── CSS variable overrides ── */
html[data-theme="light"] {
  --dark-900: #FFFFFF;
  --dark-800: #F3F6FB;
  --dark-750: #ECF1FA;
  --dark-700: #E4EBF5;
  --dark-600: #D6E0F0;
  --dark-500: #C5D0E8;
  --dark-400: #B0BDD8;
  --text:       #0D1829;
  --text-soft:  #1E2F4A;
  --text-muted: #5A6E8C;
  --grad-card: linear-gradient(160deg, rgba(0,0,0,0.025) 0%, rgba(0,0,0,0.005) 100%);
}

/* ── Smooth theme switch ── */
body { transition: background-color 0.2s, color 0.2s; }
html[data-theme="light"] body { background: #FFFFFF; }

/* ── Navbar ── */
html[data-theme="light"] .navbar.scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: rgba(0,0,0,0.09);
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.active { background: rgba(0,0,0,0.05); }
html[data-theme="light"] .logo-text { color: #0D1829; }
html[data-theme="light"] .hamburger span { background: #2D3E5A; }

/* ── Dropdown ── */
html[data-theme="light"] .dropdown-menu {
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .dropdown-menu li a:hover {
  color: #0D1829 !important;
  background: rgba(0,0,0,0.05) !important;
}
html[data-theme="light"] .dropdown-menu .dropdown-divider { background: rgba(0,0,0,0.06); }

/* ── Mobile menu ── */
html[data-theme="light"] .mobile-menu { background: #FFFFFF; }
html[data-theme="light"] .mobile-menu-header { border-bottom-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .mobile-menu-footer { border-top-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .mobile-menu-nav > a { color: #0D1829; border-bottom-color: rgba(0,0,0,0.06); }
html[data-theme="light"] .mobile-sub-link { color: #5A6E8C; }
html[data-theme="light"] .mobile-nav-section { color: #8A9AB8; }
html[data-theme="light"] .mobile-close { color: #8A9AB8; }

/* ── Hero grid lines ── */
html[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.045) 1px, transparent 1px);
}

/* ── Section borders (hardcoded rgba white) ── */
html[data-theme="light"] .section-alt {
  border-top-color: rgba(0,0,0,0.06);
  border-bottom-color: rgba(0,0,0,0.06);
}
html[data-theme="light"] .section-darker {
  background: rgba(0,0,0,0.025);
  border-top-color: rgba(0,0,0,0.05);
}

/* ── Cards ── */
html[data-theme="light"] .card { border-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 0 0 1px rgba(212,0,106,0.12);
}
html[data-theme="light"] .uc-card,
html[data-theme="light"] .zg-card,
html[data-theme="light"] .bc-card,
html[data-theme="light"] .verdict-card { border-color: rgba(0,0,0,0.07); }

/* ── FAQ ── */
html[data-theme="light"] details.faq-item { border-bottom-color: rgba(0,0,0,0.08); }

/* ── Buttons ── */
html[data-theme="light"] .btn-secondary {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.13);
  color: var(--text-soft);
}
html[data-theme="light"] .btn-secondary:hover {
  background: rgba(212,0,106,0.07);
  color: #0D1829;
  border-color: rgba(212,0,106,0.35);
}

/* ── Headings — override inline style="color: white" ── */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4 { color: #0D1829 !important; }

/* Gradient text: -webkit-text-fill-color wins visually so !important on color is harmless */
html[data-theme="light"] .gradient-text { color: var(--magenta) !important; }

/* Stat numbers (CSS class with hardcoded color: white) */
html[data-theme="light"] .stat-number { color: #0D1829; }

/* ── Footer ── */
html[data-theme="light"] .footer {
  background: #F3F6FB;
  border-top-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .footer-bottom { border-top-color: rgba(0,0,0,0.06); }

/* ── Sticky CTA bar ── */
html[data-theme="light"] .sticky-cta-bar { border-top-color: rgba(0,0,0,0.1); }

/* ── Calculator ── */
html[data-theme="light"] .calc-input-card { border-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .calc-results    { border-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .calc-input {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  color: #0D1829;
}
html[data-theme="light"] .calc-input:focus { border-color: rgba(212,0,106,0.5); }
html[data-theme="light"] .calc-input option { background: #F3F6FB; color: #0D1829; }
html[data-theme="light"] .size-radio label {
  border-color: rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.03);
}

/* =============================================
   LANGUAGE TOGGLE
   ============================================= */

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1;
  height: 26px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.lang-toggle:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}

.lang-toggle-footer {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.lang-toggle-footer:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,0.3);
}

/* Light mode overrides */
html[data-theme="light"] .lang-toggle {
  border-color: rgba(0,0,0,0.18);
  color: #5A6A80;
}
html[data-theme="light"] .lang-toggle:hover {
  color: #0D1829;
  border-color: rgba(0,0,0,0.35);
  background: rgba(0,0,0,0.05);
}
html[data-theme="light"] .lang-toggle-footer {
  border-color: rgba(0,0,0,0.15);
}
