/* ============================================================
   PKVM MEDIA SOLUTIONS — Stylesheet
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --black:    #000000;
  --dark:     #0a0a0a;
  --navy:     #1a1a5e;
  --blue:     #4a6cf7;
  --sky:      #7eb8e8;
  --light-bg: #f5f5f7;
  --white:    #ffffff;
  --text-dim: rgba(255,255,255,0.45);
  --text-faint: rgba(255,255,255,0.2);
  --border:   rgba(255,255,255,0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --max-width: 1100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Theme tokens (dark default) */
  --t-bg:       #000000;
  --t-bg-card:  #0a0a0a;
  --t-bg-card2: rgba(255,255,255,0.03);
  --t-text:     #ffffff;
  --t-text-dim: rgba(255,255,255,0.45);
  --t-text-faint: rgba(255,255,255,0.2);
  --t-border:   rgba(255,255,255,0.08);
  --t-nav-blur: rgba(0,0,0,0.82);
  --t-input-bg: rgba(255,255,255,0.05);
  --t-input-border: rgba(255,255,255,0.1);
}

/* ---------- LIGHT MODE ---------- */
[data-theme="light"] {
  /* Theme tokens */
  --t-bg:       #dde0e9;
  --t-bg-card:  #f4f5f9;
  --t-bg-card2: rgba(0,0,0,0.03);
  --t-text:     #111111;
  --t-text-dim: rgba(0,0,0,0.5);
  --t-text-faint: rgba(0,0,0,0.25);
  --t-border:   rgba(0,0,0,0.08);
  --t-nav-blur: rgba(255,255,255,0.88);
  --t-input-bg: rgba(0,0,0,0.04);
  --t-input-border: rgba(0,0,0,0.12);
  /* Make base variables theme-responsive so inline styles using them update */
  --black:      #dde0e9;
  --dark:       #f4f5f9;
  --text-dim:   rgba(0,0,0,0.5);
  --text-faint: rgba(0,0,0,0.22);
  --border:     rgba(0,0,0,0.08);
  --white:      #111111;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ---------- Utilities ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--sky), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  border-left: 2px solid var(--blue);
  padding-left: 12px;
  margin-bottom: 20px;
}
.section-eyebrow-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(126,184,232,0.08);
  border: 1px solid rgba(126,184,232,0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

/* ---------- NAVIGATION ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: white; letter-spacing: -1px;
}
.nav-logo-text {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lang-btn {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  background: none;
}
.lang-btn:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.7); }
.nav-cta {
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 8px 0 16px;
}
.mobile-menu a, .mobile-menu button {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu.open { display: flex; }

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26,26,94,0.45) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(74,108,247,0.18) 0%, transparent 50%),
    var(--black);
}
.hero-content { max-width: 820px; }
.hero-eyebrow { margin-bottom: 28px; }
.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-full);
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-full);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-1px); }
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(126,184,232,0.7), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- STATS BAR ---------- */
#stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  padding: 36px 24px;
}
.stats-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 56px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 34px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.8px;
}

/* ---------- SERVICES ---------- */
#leistungen {
  padding: 110px 24px;
  background: var(--black);
}
.services-header { margin-bottom: 56px; }
.services-header h2 {
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}
.services-header p {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 460px;
  line-height: 1.65;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--dark);
  padding: 36px 30px 44px;
  position: relative;
  transition: background 0.25s;
  cursor: pointer;
}
.service-card:hover { background: rgba(255,255,255,0.04); }
.service-card.featured { grid-column: span 2; }
.service-card-num {
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.18);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.service-card-icon { font-size: 28px; margin-bottom: 16px; }
.service-card-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.service-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.service-card-arrow {
  position: absolute;
  bottom: 22px;
  right: 24px;
  font-size: 16px;
  color: var(--blue);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.service-card:hover .service-card-arrow { opacity: 1; transform: translateX(3px); }

/* ---------- PRINTYBEL SECTION ---------- */
#printybel {
  padding: 110px 24px;
  text-align: center;
  border-top: 1px solid rgba(126,184,232,0.08);
  border-bottom: 1px solid rgba(126,184,232,0.08);
  background: linear-gradient(135deg, #080818 0%, #0e0e2a 50%, #080818 100%);
}
.printybel-inner { max-width: 680px; margin: 0 auto; }
.printybel-inner h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.printybel-inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.48);
  max-width: 480px;
  margin: 0 auto 52px;
  line-height: 1.7;
}
.printybel-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.printybel-step {
  flex: 1;
  min-width: 110px;
  max-width: 160px;
  padding: 16px 12px;
  text-align: center;
  position: relative;
}
.printybel-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(126,184,232,0.3);
  font-size: 18px;
}
.step-icon { font-size: 26px; margin-bottom: 10px; }
.step-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85); }
.step-sub { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 4px; }

/* ---------- KI SECTION (LIGHT) ---------- */
#ki-section {
  padding: 110px 24px;
  background: var(--light-bg);
}
.ki-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ki-text .eyebrow-dark {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  border-left: 2px solid var(--blue);
  padding-left: 12px;
  margin-bottom: 20px;
}
.ki-text h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  color: #111;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.ki-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}
.ki-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ki-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.ki-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 7px;
}
.ki-card p {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}

/* ---------- CONTACT SECTION ---------- */
#contact-section {
  padding: 110px 24px;
  background: var(--black);
  text-align: center;
}
.contact-inner { max-width: 520px; margin: 0 auto; }
.contact-inner h2 {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  line-height: 1.05;
}
.contact-inner .sub {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 48px;
}
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--white);
  width: 100%;
  transition: border-color 0.2s;
  resize: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.28); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(74,108,247,0.5);
}
.contact-form textarea { rows: 4; }
.form-submit {
  margin-top: 4px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 16px;
  border-radius: var(--radius-sm);
  width: 100%;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.88; }
.form-message {
  margin-top: 12px;
  font-size: 13px;
  display: none;
}
.form-message.success { color: var(--sky); display: block; }
.form-message.error { color: #f87171; display: block; }
.contact-info {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info a, .contact-info span {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.contact-info a:hover { color: rgba(255,255,255,0.6); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-icon {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--navy), var(--sky));
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.55); }

/* ---------- SUBPAGE HERO ---------- */
.subpage-hero {
  padding: 150px 24px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(26,26,94,0.4) 0%, transparent 55%),
    var(--black);
}
.subpage-hero .section-eyebrow-pill { margin-bottom: 24px; }
.subpage-hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.subpage-hero p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---------- FEATURE CARDS GRID ---------- */
.feature-section {
  padding: 80px 24px;
  background: var(--black);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
}
.feature-card.highlight {
  background: linear-gradient(135deg, rgba(26,26,94,0.4), rgba(74,108,247,0.1));
  border-color: rgba(74,108,247,0.2);
}
.feature-card.full { grid-column: span 2; }
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sky);
  background: rgba(126,184,232,0.1);
  border: 1px solid rgba(126,184,232,0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

/* ---------- PRINTYBEL SUBPAGE ---------- */
.printybel-hero-section {
  background: linear-gradient(135deg, #060612 0%, #0c0c28 50%, #060612 100%);
}
.printybel-steps-large {
  padding: 80px 24px;
  background: linear-gradient(135deg, #080818, #0e0e2a);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(126,184,232,0.08);
  border: 1px solid rgba(126,184,232,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.step-card {
  background: #0a0a1e;
  padding: 36px 24px;
  text-align: center;
}
.step-card-num {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(126,184,232,0.3);
  margin-bottom: 16px;
}
.step-card-icon { font-size: 32px; margin-bottom: 14px; }
.step-card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-card-desc { font-size: 12px; color: rgba(255,255,255,0.38); line-height: 1.55; }
.income-highlight {
  padding: 80px 24px;
  background: #0a0a1a;
  text-align: center;
}
.income-highlight-inner {
  max-width: 620px;
  margin: 0 auto;
}
.income-highlight-inner h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.income-highlight-inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ---------- KI SUBPAGE SPOTLIGHT ---------- */
.ki-spotlight {
  padding: 80px 24px;
  background: linear-gradient(135deg, rgba(74,108,247,0.06), rgba(0,0,0,0) 70%), var(--black);
  border: none;
  position: relative;
  overflow: hidden;
}
.ki-spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ki-spotlight-text h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.ki-spotlight-text p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}
.ki-visual {
  background: linear-gradient(135deg, rgba(26,26,94,0.5), rgba(74,108,247,0.2));
  border: 1px solid rgba(74,108,247,0.2);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
}
.ki-visual-icon { font-size: 56px; margin-bottom: 16px; }
.ki-visual-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.ki-visual-desc { font-size: 13px; color: var(--text-dim); line-height: 1.55; }

/* ---------- ÜBER UNS ---------- */
.timeline { padding: 80px 24px; background: var(--black); }
.timeline-inner { max-width: 700px; margin: 0 auto; }
.timeline-title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 48px; }
.timeline-item { display: flex; gap: 24px; margin-bottom: 40px; }
.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.timeline-content h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.mission-section {
  padding: 80px 24px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  text-align: center;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mission-card {
  padding: 28px;
}
.mission-card-icon { font-size: 28px; margin-bottom: 14px; }
.mission-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.mission-card p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ---------- PLATFORMS (Social Media) ---------- */
.platforms {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 48px 24px 0;
}
.platform-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.platform-pill span { font-size: 18px; }

/* ---------- KONTAKT SEITE ---------- */
.contact-page {
  padding: 80px 24px;
  background: var(--black);
}
.contact-page-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-page-info h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  font-size: 20px;
  margin-top: 1px;
}
.contact-detail-text h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.contact-detail-text a, .contact-detail-text span {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.contact-detail-text a:hover { color: var(--white); }

/* ---------- IMPRESSUM / DATENSCHUTZ ---------- */
.legal-page { padding: 80px 24px 120px; background: var(--black); }
.legal-inner { max-width: 720px; }
.legal-inner h1 { font-size: 40px; font-weight: 900; letter-spacing: -1px; margin-bottom: 40px; }
.legal-inner h2 { font-size: 18px; font-weight: 700; margin-top: 36px; margin-bottom: 12px; }
.legal-inner h3 { font-size: 15px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; color: rgba(255,255,255,0.7); }
.legal-inner p { font-size: 14px; color: var(--text-dim); line-height: 1.75; margin-bottom: 12px; }
.legal-inner a { color: var(--sky); text-decoration: underline; }
.legal-inner ul { margin: 12px 0 12px 20px; }
.legal-inner ul li { font-size: 14px; color: var(--text-dim); line-height: 1.75; list-style: disc; }

/* ---------- ANIMATIONS (initial state) ---------- */
.anim-fade { opacity: 0; transform: translateY(36px); }
.anim-fade-left { opacity: 0; transform: translateX(-36px); }
.anim-fade-right { opacity: 0; transform: translateX(36px); }
.anim-scale { opacity: 0; transform: scale(0.94); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }
  .ki-inner { grid-template-columns: 1fr; gap: 40px; }
  .ki-cards { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .ki-spotlight-inner { grid-template-columns: 1fr; }
  .contact-page-inner { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { letter-spacing: -1px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.full { grid-column: span 1; }
  .ki-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .printybel-steps { flex-direction: column; align-items: center; }
  .printybel-step::after { display: none; }
  .footer-inner { flex-direction: column; gap: 12px; }
  .stats-inner { gap: 16px 32px; }
}

/* ---------- PREFERS REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .anim-fade, .anim-fade-left, .anim-fade-right, .anim-scale {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-line { animation: none; }
}

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

[data-theme="light"] body {
  background: var(--t-bg);
  color: var(--t-text);
}

/* Nav */
[data-theme="light"] #nav.scrolled {
  background: var(--t-nav-blur);
  border-bottom-color: var(--t-border);
}
[data-theme="light"] .nav-logo-text { color: #111; }
[data-theme="light"] .nav-links a { color: rgba(0,0,0,0.5); }
[data-theme="light"] .nav-links a:hover { color: #111; }
[data-theme="light"] .nav-hamburger span { background: #111; }
[data-theme="light"] .lang-btn { color: rgba(0,0,0,0.45); border-color: rgba(0,0,0,0.18); }
[data-theme="light"] .lang-btn:hover { border-color: rgba(0,0,0,0.4); color: rgba(0,0,0,0.7); }
[data-theme="light"] .mobile-menu {
  background: rgba(255,255,255,0.97);
  border-top-color: var(--t-border);
}
[data-theme="light"] .mobile-menu a { color: rgba(0,0,0,0.7); }

/* Hero */
[data-theme="light"] #hero {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(74,108,247,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(126,184,232,0.1) 0%, transparent 50%),
    var(--t-bg);
}
[data-theme="light"] .hero-subtitle { color: rgba(0,0,0,0.5); }
[data-theme="light"] .btn-secondary {
  border-color: rgba(0,0,0,0.22);
  color: #111;
}
[data-theme="light"] .scroll-label { color: rgba(0,0,0,0.25); }

/* Stats */
[data-theme="light"] #stats {
  background: #ffffff;
  border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .stat-label { color: rgba(0,0,0,0.4); }

/* Services */
[data-theme="light"] #leistungen { background: var(--t-bg); }
[data-theme="light"] .services-header h2 { color: #111; }
[data-theme="light"] .services-header p { color: rgba(0,0,0,0.5); }
[data-theme="light"] .services-grid {
  background: rgba(0,0,0,0.07);
  border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .service-card { background: #ffffff; }
[data-theme="light"] .service-card:hover { background: #f0f0f5; }
[data-theme="light"] .service-card-num { color: rgba(0,0,0,0.18); }
[data-theme="light"] .service-card-name { color: #111; }
[data-theme="light"] .service-card-desc { color: rgba(0,0,0,0.45); }

/* Contact section */
[data-theme="light"] #contact-section { background: #f0f0f5; }
[data-theme="light"] .contact-inner h2 { color: #111; }
[data-theme="light"] .contact-inner .sub { color: rgba(0,0,0,0.5); }
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
  color: #111;
}
[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder { color: rgba(0,0,0,0.3); }
[data-theme="light"] .contact-info a,
[data-theme="light"] .contact-info span { color: rgba(0,0,0,0.35); }
[data-theme="light"] .contact-info a:hover { color: rgba(0,0,0,0.7); }

/* Footer */
[data-theme="light"] footer {
  background: #e8e8ec;
  border-top-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .footer-copy { color: rgba(0,0,0,0.3); }
[data-theme="light"] .footer-links a { color: rgba(0,0,0,0.3); }
[data-theme="light"] .footer-links a:hover { color: rgba(0,0,0,0.6); }

/* Feature sections */
[data-theme="light"] .feature-section { background: var(--t-bg); }
[data-theme="light"] .feature-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .feature-card h3 { color: #111; }
[data-theme="light"] .feature-card p { color: rgba(0,0,0,0.5); }
[data-theme="light"] .feature-card.highlight {
  background: linear-gradient(135deg, rgba(26,26,94,0.05), rgba(74,108,247,0.04));
  border-color: rgba(74,108,247,0.15);
}

/* KI section (was already light, stays similar) */
[data-theme="light"] #ki-section { background: #eaeaef; }

/* Subpage hero */
[data-theme="light"] .subpage-hero {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(74,108,247,0.06) 0%, transparent 55%),
    var(--t-bg);
}
[data-theme="light"] .subpage-hero h1 { color: #111; }
[data-theme="light"] .subpage-hero p { color: rgba(0,0,0,0.5); }

/* Legal pages */
[data-theme="light"] .legal-page { background: var(--t-bg); }
[data-theme="light"] .legal-inner h1,
[data-theme="light"] .legal-inner h2 { color: #111; }
[data-theme="light"] .legal-inner h3 { color: rgba(0,0,0,0.6); }
[data-theme="light"] .legal-inner p,
[data-theme="light"] .legal-inner ul li { color: rgba(0,0,0,0.55); }

/* Über uns */
[data-theme="light"] .timeline { background: var(--t-bg); }
[data-theme="light"] .timeline-title { color: #111; }
[data-theme="light"] .timeline-content h3 { color: #111; }
[data-theme="light"] .timeline-content p { color: rgba(0,0,0,0.5); }
[data-theme="light"] .mission-section {
  background: #eaeaef;
  border-color: rgba(0,0,0,0.07);
}
[data-theme="light"] .mission-card h3 { color: #111; }
[data-theme="light"] .mission-card p { color: rgba(0,0,0,0.5); }

/* Kontakt page */
[data-theme="light"] .contact-page { background: var(--t-bg); }
[data-theme="light"] .contact-page-info h2 { color: #111; }
[data-theme="light"] .contact-detail-text h4 { color: #111; }
[data-theme="light"] .contact-detail-text a,
[data-theme="light"] .contact-detail-text span { color: rgba(0,0,0,0.5); }

/* Theme Toggle Button */
.theme-btn {
  width: 34px;
  height: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
  flex-shrink: 0;
}
.theme-btn::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s;
}
[data-theme="light"] .theme-btn {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .theme-btn::after {
  transform: translateX(14px);
  background: var(--blue);
}
.theme-icon {
  font-size: 14px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  background: none;
  border: none;
  padding: 4px;
  line-height: 1;
}
.theme-icon:hover { opacity: 1; }

/* ============================================================
   LIGHT MODE: COMPREHENSIVE TEXT & BACKGROUND FIXES
   Fixes all hardcoded inline-style colors on subpages
   ============================================================ */

/* --- ALL headings turn dark --- */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 { color: #111111 !important; }

/* --- Body text turns dark --- */
[data-theme="light"] p,
[data-theme="light"] span:not(.gradient-text):not(.section-eyebrow):not(.section-eyebrow-pill):not(.badge):not(.stat-number):not(.platform-pill) { color: rgba(0,0,0,0.6) !important; }

/* --- Restore white text in intentionally dark sections --- */
[data-theme="light"] #printybel h1,
[data-theme="light"] #printybel h2,
[data-theme="light"] #printybel h3,
[data-theme="light"] #printybel h4,
[data-theme="light"] #printybel p,
[data-theme="light"] #printybel span,
[data-theme="light"] .printybel-hero-section h1,
[data-theme="light"] .printybel-hero-section h2,
[data-theme="light"] .printybel-hero-section p,
[data-theme="light"] .printybel-steps-large h2,
[data-theme="light"] .printybel-steps-large h3,
[data-theme="light"] .printybel-steps-large p,
[data-theme="light"] .printybel-steps-large span,
[data-theme="light"] .income-highlight h2,
[data-theme="light"] .income-highlight p,
[data-theme="light"] .ki-visual h3,
[data-theme="light"] .ki-visual p,
[data-theme="light"] .ki-visual span,
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-title span,
[data-theme="light"] #hero h1,
[data-theme="light"] #hero p,
[data-theme="light"] .subpage-hero h1,
[data-theme="light"] .subpage-hero p { color: inherit !important; }

[data-theme="light"] .hero-subtitle { color: rgba(0,0,0,0.5) !important; }
[data-theme="light"] .subpage-hero p { color: rgba(0,0,0,0.5) !important; }

/* --- Section backgrounds using inline styles --- */
[data-theme="light"] div[style*="background:#0a0a0a"],
[data-theme="light"] div[style*="background: #0a0a0a"],
[data-theme="light"] div[style*="background:var(--dark)"],
[data-theme="light"] div[style*="background: var(--dark)"] { background: #ffffff !important; }

[data-theme="light"] div[style*="background:rgba(255,255,255,0.02)"],
[data-theme="light"] div[style*="background: rgba(255,255,255,0.02)"],
[data-theme="light"] div[style*="background:rgba(255,255,255,0.03)"],
[data-theme="light"] div[style*="background: rgba(255,255,255,0.03)"],
[data-theme="light"] div[style*="background:rgba(255,255,255,0.04)"],
[data-theme="light"] div[style*="background: rgba(255,255,255,0.04)"] { background: #f0f0f5 !important; }

[data-theme="light"] section[style*="background:#0a0a0a"],
[data-theme="light"] section[style*="background: #0a0a0a"],
[data-theme="light"] section[style*="background:var(--black)"],
[data-theme="light"] section[style*="background: var(--black)"],
[data-theme="light"] section[style*="background:var(--dark)"],
[data-theme="light"] section[style*="background: var(--dark)"],
[data-theme="light"] section[style*="background:rgba(255,255,255,0.02)"],
[data-theme="light"] section[style*="background: rgba(255,255,255,0.02)"] { background: #f0f0f5 !important; }

/* --- Inline border fixes --- */
[data-theme="light"] div[style*="border:1px solid var(--border)"],
[data-theme="light"] div[style*="border: 1px solid var(--border)"],
[data-theme="light"] div[style*="border-top:1px solid var(--border)"],
[data-theme="light"] div[style*="border-top: 1px solid var(--border)"] { border-color: rgba(0,0,0,0.1) !important; }

/* --- Step cards (subpages) --- */
[data-theme="light"] .step-card { background: #f8f8fc !important; }
[data-theme="light"] .step-card-num,
[data-theme="light"] .step-card-desc { color: rgba(0,0,0,0.5) !important; }
[data-theme="light"] .step-card-title { color: #111 !important; }

/* --- Service card number & icon --- */
[data-theme="light"] .service-card-num { color: rgba(0,0,0,0.18) !important; }
[data-theme="light"] .service-card-name { color: #111 !important; }
[data-theme="light"] .service-card-desc { color: rgba(0,0,0,0.5) !important; }

/* --- Stats bar label --- */
[data-theme="light"] .stat-label { color: rgba(0,0,0,0.4) !important; }

/* --- Platform pills in light mode --- */
[data-theme="light"] .platform-pill { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); color: rgba(0,0,0,0.7); }
[data-theme="light"] .platform-pill span { color: inherit !important; }

/* --- Badge --- */
[data-theme="light"] .badge { color: var(--blue) !important; background: rgba(74,108,247,0.08) !important; border-color: rgba(74,108,247,0.2) !important; }

/* --- Section eyebrow in light mode --- */
[data-theme="light"] .section-eyebrow { color: var(--blue) !important; }

/* --- KI cards on homepage --- */
[data-theme="light"] .ki-card { background: #fff !important; }
[data-theme="light"] .ki-card h3 { color: #111 !important; }
[data-theme="light"] .ki-card p { color: rgba(0,0,0,0.55) !important; }

/* --- Contact detail text on Kontakt page --- */
[data-theme="light"] .contact-detail-text h4 { color: #111 !important; }
[data-theme="light"] .contact-detail-text a,
[data-theme="light"] .contact-detail-text span { color: rgba(0,0,0,0.55) !important; }

/* --- Select dropdown on Kontakt page --- */
[data-theme="light"] select { background: #fff !important; color: #111 !important; border-color: rgba(0,0,0,0.12) !important; }
[data-theme="light"] option { background: #fff; color: #111; }

/* --- Timeline --- */
[data-theme="light"] .timeline-title { color: #111 !important; }
[data-theme="light"] .timeline-content h3 { color: #111 !important; }
[data-theme="light"] .timeline-content p { color: rgba(0,0,0,0.55) !important; }

/* --- Services header --- */
[data-theme="light"] .services-header p { color: rgba(0,0,0,0.5) !important; }

/* --- Feature card in light --- */
[data-theme="light"] .feature-card h3 { color: #111 !important; }
[data-theme="light"] .feature-card p { color: rgba(0,0,0,0.55) !important; }

/* --- KI spotlight text --- */
[data-theme="light"] .ki-spotlight-text h2 { color: #111 !important; }
[data-theme="light"] .ki-spotlight-text p { color: rgba(0,0,0,0.55) !important; }
[data-theme="light"] .ki-spotlight { background: #f0f0f5 !important; }
[data-theme="light"] .ki-visual { background: linear-gradient(135deg, rgba(26,26,94,0.08), rgba(74,108,247,0.05)) !important; border-color: rgba(74,108,247,0.15) !important; }
[data-theme="light"] .ki-visual-title { color: #111 !important; }
[data-theme="light"] .ki-visual-desc { color: rgba(0,0,0,0.55) !important; }

/* --- Scroll indicator --- */
[data-theme="light"] .scroll-label { color: rgba(0,0,0,0.25) !important; }

/* --- Footer in light --- */
[data-theme="light"] footer { background: #e4e4e9 !important; }
[data-theme="light"] .footer-copy { color: rgba(0,0,0,0.35) !important; }
[data-theme="light"] .footer-links a { color: rgba(0,0,0,0.35) !important; }
[data-theme="light"] .footer-links a:hover { color: rgba(0,0,0,0.7) !important; }
[data-theme="light"] .footer-brand-icon { background: linear-gradient(135deg, var(--navy), var(--blue)) !important; }

/* --- Legal page --- */
[data-theme="light"] .legal-page { background: var(--t-bg) !important; }
[data-theme="light"] .legal-inner h1,
[data-theme="light"] .legal-inner h2,
[data-theme="light"] .legal-inner h3 { color: #111 !important; }
[data-theme="light"] .legal-inner p,
[data-theme="light"] .legal-inner li { color: rgba(0,0,0,0.6) !important; }

/* --- Feature section background --- */
[data-theme="light"] .feature-section { background: #f5f5f7 !important; }
[data-theme="light"] #leistungen { background: #f5f5f7 !important; }

/* --- Printybel: helle Hintergründe im Light Mode --- */
[data-theme="light"] .printybel-steps-large {
  background: #e8e8ef !important;
}
[data-theme="light"] .printybel-steps-large h2 { color: #111 !important; }
[data-theme="light"] .steps-grid {
  background: rgba(0,0,0,0.06) !important;
  border-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .income-highlight {
  background: linear-gradient(135deg, rgba(74,108,247,0.07), rgba(126,184,232,0.04)) !important;
}
[data-theme="light"] .income-highlight-inner h2 { color: #111 !important; }
[data-theme="light"] .income-highlight-inner p { color: rgba(0,0,0,0.55) !important; }

/* --- Über uns: "Was uns unterscheidet" Karten --- */
[data-theme="light"] div[style*="background:rgba(255,255,255,0.03)"],
[data-theme="light"] div[style*="background: rgba(255,255,255,0.03)"],
[data-theme="light"] div[style*="background:rgba(255,255,255,0.04)"],
[data-theme="light"] div[style*="background: rgba(255,255,255,0.04)"] {
  background: #f0f0f5 !important;
  border-color: rgba(0,0,0,0.08) !important;
}

/* --- Breite Abfang-Regel: alle inline rgba(255,255,255,X) Textfarben --- */
[data-theme="light"] span[style*="color:rgba(255,255,255"],
[data-theme="light"] span[style*="color: rgba(255,255,255"],
[data-theme="light"] div[style*="color:rgba(255,255,255"],
[data-theme="light"] div[style*="color: rgba(255,255,255"],
[data-theme="light"] p[style*="color:rgba(255,255,255"],
[data-theme="light"] p[style*="color: rgba(255,255,255"],
[data-theme="light"] li[style*="color:rgba(255,255,255"],
[data-theme="light"] li[style*="color: rgba(255,255,255"] {
  color: rgba(0,0,0,0.6) !important;
}

/* --- Inline color:#fff / color:white Overrides --- */
[data-theme="light"] span[style*="color:#fff"],
[data-theme="light"] span[style*="color: #fff"],
[data-theme="light"] div[style*="color:#fff"],
[data-theme="light"] div[style*="color: #fff"] {
  color: rgba(0,0,0,0.6) !important;
}

/* --- Über uns & allgemeine inline h3 ohne Farbe --- */
[data-theme="light"] div[style*="padding:28px"] h3,
[data-theme="light"] div[style*="padding: 28px"] h3 { color: #111 !important; }
[data-theme="light"] div[style*="padding:28px"] p,
[data-theme="light"] div[style*="padding: 28px"] p { color: rgba(0,0,0,0.55) !important; }

/* ============================================================
   LIGHT MODE — Phase 3 Fixes
   ============================================================ */

/* --- Buttons: immer weiße Schrift auf blauem Hintergrund --- */
[data-theme="light"] .btn-primary { color: #ffffff !important; }
[data-theme="light"] .nav-cta { color: #ffffff !important; }
[data-theme="light"] .btn-secondary {
  border-color: rgba(0,0,0,0.2) !important;
  color: #111111 !important;
}

/* --- Section-Eyebrow-Pill: lesbar auf hellem Hintergrund --- */
[data-theme="light"] .section-eyebrow-pill {
  background: rgba(74,108,247,0.08) !important;
  border-color: rgba(74,108,247,0.2) !important;
  color: var(--blue) !important;
}

/* --- #printybel (Homepage): heller Hintergrund im Light Mode --- */
[data-theme="light"] #printybel {
  background: linear-gradient(135deg, rgba(74,108,247,0.07), rgba(126,184,232,0.04)) !important;
  border-color: rgba(74,108,247,0.1) !important;
}
[data-theme="light"] #printybel h2 { color: #111 !important; }
[data-theme="light"] #printybel p { color: rgba(0,0,0,0.55) !important; }
[data-theme="light"] #printybel .step-label { color: #111 !important; }
[data-theme="light"] #printybel .step-sub { color: rgba(0,0,0,0.4) !important; }

/* --- Hartkodierte dunkle Sektions-Hintergründe (PKVM Intelligence etc.) --- */
[data-theme="light"] section[style*="background: linear-gradient(135deg, #050515"],
[data-theme="light"] section[style*="background: linear-gradient(135deg, #080818"],
[data-theme="light"] section[style*="background:linear-gradient(135deg, #050515"],
[data-theme="light"] section[style*="background:linear-gradient(135deg, #080818"] {
  background: #eaecf2 !important;
}

/* --- Hartkodiertes #7eb8e8 (hellblau) → dunkelblau auf hellem Bg --- */
[data-theme="light"] span[style*="color:#7eb8e8"],
[data-theme="light"] span[style*="color: #7eb8e8"],
[data-theme="light"] div[style*="color:#7eb8e8"],
[data-theme="light"] div[style*="color: #7eb8e8"] {
  color: var(--blue) !important;
}

/* --- Hartkodierte Pill-Tags mit rgba(74,108,247) Hintergrund (bleiben) --- */
[data-theme="light"] span[style*="background:rgba(74,108,247,0.1"],
[data-theme="light"] span[style*="background: rgba(74,108,247,0.1"] {
  background: rgba(74,108,247,0.1) !important;
  border-color: rgba(74,108,247,0.25) !important;
  color: var(--blue) !important;
}

/* --- Sektions mit background: rgba(255,255,255,0.02) + border-top --- */
[data-theme="light"] section[style*="background:rgba(255,255,255,0.02)"],
[data-theme="light"] section[style*="background: rgba(255,255,255,0.02)"] {
  background: #e4e7f0 !important;
}

/* ============================================================
   LIGHT MODE — Phase 4 Final Fixes
   ============================================================ */

/* --- Force-light sections (hardcoded dark backgrounds replaced) --- */
[data-theme="light"] .lm-force-light {
  background: #eaecf2 !important;
}
[data-theme="light"] .lm-force-light h2,
[data-theme="light"] .lm-force-light h3 { color: #111 !important; }
[data-theme="light"] .lm-force-light p { color: rgba(0,0,0,0.55) !important; }
[data-theme="light"] .lm-force-light span[style*="color:#7eb8e8"],
[data-theme="light"] .lm-force-light span[style*="color: #7eb8e8"] { color: #4a6cf7 !important; }

/* --- section-eyebrow: stronger override --- */
[data-theme="light"] .section-eyebrow { color: #4a6cf7 !important; }
[data-theme="light"] .section-eyebrow-pill {
  background: rgba(74,108,247,0.1) !important;
  border-color: rgba(74,108,247,0.25) !important;
  color: #4a6cf7 !important;
}

/* --- All subpages: catch remaining rgba(255,255,255,X) in class-based CSS --- */
[data-theme="light"] .step-card-desc { color: rgba(0,0,0,0.5) !important; }
[data-theme="light"] .step-card-num { color: rgba(74,108,247,0.5) !important; }
[data-theme="light"] .printybel-step .step-sub { color: rgba(0,0,0,0.45) !important; }
[data-theme="light"] .printybel-step .step-label { color: #111 !important; }

/* --- ki-visual in light mode --- */
[data-theme="light"] .ki-visual-title { color: #111 !important; }
[data-theme="light"] .ki-visual-desc { color: rgba(0,0,0,0.55) !important; }

/* --- Contact section (dark) becomes light --- */
[data-theme="light"] #contact-section {
  background: linear-gradient(135deg, rgba(74,108,247,0.07), rgba(26,26,94,0.05)) !important;
}
[data-theme="light"] #contact-section h2 { color: #111 !important; }
[data-theme="light"] #contact-section .sub { color: rgba(0,0,0,0.55) !important; }

/* --- Stats bar in light mode --- */
[data-theme="light"] #stats { background: #d8dbe5 !important; border-color: rgba(0,0,0,0.06) !important; }
[data-theme="light"] .stat-number {
  background: linear-gradient(135deg, #4a6cf7, #1a2ca0) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
[data-theme="light"] .stat-label { color: rgba(0,0,0,0.5) !important; }

/* --- Form inputs in light mode --- */
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea,
[data-theme="light"] .contact-form select {
  background: rgba(255,255,255,0.7) !important;
  border-color: rgba(0,0,0,0.12) !important;
  color: #111 !important;
}
[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder { color: rgba(0,0,0,0.35) !important; }

/* --- Nav in light mode --- */
[data-theme="light"] #nav { background: rgba(221,224,233,0.9) !important; border-bottom-color: rgba(0,0,0,0.08) !important; }
[data-theme="light"] .nav-links a { color: rgba(0,0,0,0.65) !important; }
[data-theme="light"] .nav-links a:hover { color: #111 !important; }
[data-theme="light"] .nav-logo-text { color: #111 !important; }
[data-theme="light"] .nav-logo-icon { background: linear-gradient(135deg, #1a1a5e, #4a6cf7) !important; }

/* --- Mobile menu in light mode --- */
[data-theme="light"] .mobile-menu { background: #d8dbe5 !important; }
[data-theme="light"] .mobile-menu a { color: #111 !important; border-bottom-color: rgba(0,0,0,0.07) !important; }

/* --- Eyebrow-dark (used on homepage KI section) --- */
[data-theme="light"] .eyebrow-dark { color: #4a6cf7 !important; }

/* --- Hamburger lines in light mode --- */
[data-theme="light"] .nav-hamburger span { background: #111 !important; }

/* ============================================================
   LIGHT MODE — Phase 6 Core Typography & Button Fixes
   ============================================================ */

/* --- Heading spans: override the broad span rule for h1/h2/h3/h4 ---
   Must match the SAME :not() count as the broad rule to win via element specificity */
[data-theme="light"] h1 span:not(.gradient-text):not(.section-eyebrow):not(.section-eyebrow-pill):not(.badge):not(.stat-number):not(.platform-pill),
[data-theme="light"] h2 span:not(.gradient-text):not(.section-eyebrow):not(.section-eyebrow-pill):not(.badge):not(.stat-number):not(.platform-pill),
[data-theme="light"] h3 span:not(.gradient-text):not(.section-eyebrow):not(.section-eyebrow-pill):not(.badge):not(.stat-number):not(.platform-pill),
[data-theme="light"] h4 span:not(.gradient-text):not(.section-eyebrow):not(.section-eyebrow-pill):not(.badge):not(.stat-number):not(.platform-pill) {
  color: #111111 !important;
}

/* --- Gradient text: richer/darker gradient for light mode --- */
/* (sky blue #7eb8e8 is nearly invisible on light backgrounds) */
[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #4a6cf7, #1a2ca0) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* --- Form submit button: always white text on blue gradient background --- */
[data-theme="light"] .form-submit { color: #ffffff !important; }

/* ============================================================
   LIGHT MODE — Phase 5 Final Remaining Fixes
   ============================================================ */

/* --- Sky-blue inline colors (rgba(126,184,232,...)) → readable blue on light bg --- */
[data-theme="light"] div[style*="color:rgba(126,184,232"],
[data-theme="light"] div[style*="color: rgba(126,184,232"],
[data-theme="light"] span[style*="color:rgba(126,184,232"],
[data-theme="light"] span[style*="color: rgba(126,184,232"] {
  color: rgba(74,108,247,0.75) !important;
}

/* --- lang-btn: visible in light mode nav --- */
[data-theme="light"] .lang-btn {
  color: rgba(0,0,0,0.55) !important;
  border-color: rgba(0,0,0,0.2) !important;
}
[data-theme="light"] .lang-btn:hover {
  color: rgba(0,0,0,0.8) !important;
  border-color: rgba(0,0,0,0.4) !important;
}

/* --- Nav scrolled state: stay light in light mode --- */
[data-theme="light"] #nav.scrolled {
  background: rgba(221,224,233,0.96) !important;
  border-bottom-color: rgba(0,0,0,0.1) !important;
}

/* --- Services grid border/gap in light mode --- */
[data-theme="light"] .services-grid {
  background: rgba(0,0,0,0.06) !important;
  border-color: rgba(0,0,0,0.06) !important;
}

/* --- Inline rgba(255,255,255,0.07) borders → visible in light mode --- */
[data-theme="light"] div[style*="border:1px solid rgba(255,255,255,0.07)"],
[data-theme="light"] div[style*="border: 1px solid rgba(255,255,255,0.07)"] {
  border-color: rgba(0,0,0,0.09) !important;
}

/* --- Intel cards (PKVM Intelligence page) --- */
[data-theme="light"] .intel-card {
  background: #f4f5f9 !important;
  border-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .intel-card h3 { color: #111 !important; }
[data-theme="light"] .intel-card p { color: rgba(0,0,0,0.55) !important; }
[data-theme="light"] .intel-card-tag { color: var(--blue) !important; }

/* --- Launchpad hero subtitle --- */
[data-theme="light"] .launchpad-hero p,
[data-theme="light"] .launchpad-hero .hero-subtitle { color: rgba(0,0,0,0.5) !important; }

/* --- Launchpad launch cards --- */
[data-theme="light"] .launch-card { background: #f4f5f9 !important; border-color: rgba(0,0,0,0.08) !important; }
[data-theme="light"] .launch-card h3 { color: #111 !important; }
[data-theme="light"] .launch-card p { color: rgba(0,0,0,0.55) !important; }

/* --- step-card text that uses rgba(255,255,255,...) directly --- */
[data-theme="light"] .step-card { background: #f4f5f9 !important; border-color: rgba(0,0,0,0.07) !important; }

/* --- Process section on influencer/affiliate pages (white bg variant) --- */
[data-theme="light"] section[style*="background: rgba(255,255,255,0.02)"] h2,
[data-theme="light"] section[style*="background:rgba(255,255,255,0.02)"] h2 { color: #111 !important; }

/* --- Affiliate mock card: border and label --- */
[data-theme="light"] div[style*="background: rgba(255,255,255,0.03)"],
[data-theme="light"] div[style*="background:rgba(255,255,255,0.03)"] {
  background: #f0f0f7 !important;
  border-color: rgba(0,0,0,0.09) !important;
}

/* --- Social media mini-cards: paragraph text --- */
[data-theme="light"] p[style*="color:rgba(255,255,255,0.38)"],
[data-theme="light"] p[style*="color: rgba(255,255,255,0.38)"] { color: rgba(0,0,0,0.5) !important; }

/* --- Printybel hero section: go light in light mode --- */
[data-theme="light"] .printybel-hero-section {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(74,108,247,0.07) 0%, transparent 55%),
    var(--t-bg) !important;
}
[data-theme="light"] .printybel-hero-section h1 { color: #111 !important; }
[data-theme="light"] .printybel-hero-section p { color: rgba(0,0,0,0.5) !important; }
