/* ==========================================================================
   KI Web Studio – v2 Erweiterungen
   Theme-Umschalter (hell/dunkel), Hero-Animation, Preisrechner, Vorschau,
   Vorher/Nachher-Regler, Ablauf-Zeitleiste, Kundenstimmen, Gaming-Neon
   ========================================================================== */

/* ── Theme-Umschalter ── */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.35rem; height: 2.35rem; border-radius: 9999px;
  color: #e2e8f0; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer; transition: background .2s, transform .2s, color .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(59,130,246,0.18); transform: translateY(-1px); }
.theme-toggle:focus-visible, .cmp-handle:focus-visible, .calc-option input:focus-visible + span,
.pv-device button:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }
.theme-toggle svg { width: 1.1rem; height: 1.1rem; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.nav-simple-actions { display: flex; align-items: center; gap: .5rem; }

/* ── Hero: Canvas-Hintergrund & Aufbau-Animation ── */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-spot {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(99,102,241,0.16), transparent 60%);
  transition: background .2s;
}
.build-in { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: build-in .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
.build-word { display: inline-block; opacity: 0; transform: translateY(.45em); animation: build-in .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes build-in { to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .build-in, .build-word { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Feature-Teaser (Startseite) ── */
.feature-tile {
  position: relative; display: flex; flex-direction: column; gap: .5rem;
  padding: 1.5rem; border-radius: 1.25rem; text-decoration: none;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  transition: transform .25s, border-color .25s, box-shadow .25s; overflow: hidden;
}
.feature-tile:hover { transform: translateY(-4px); border-color: rgba(96,165,250,.5); box-shadow: 0 0 40px rgba(59,130,246,.18); }
.feature-tile-icon { font-size: 1.75rem; line-height: 1; }
.feature-tile-title { font-family: "Syne", system-ui, sans-serif; font-weight: 700; font-size: 1.125rem; color: #fff; }
.feature-tile-text { color: #94a3b8; font-size: .875rem; line-height: 1.6; }
.feature-tile-cta { margin-top: auto; padding-top: .5rem; color: #60a5fa; font-size: .875rem; font-weight: 600; }
.feature-tile--gaming { border-color: rgba(217,70,239,.3); background: linear-gradient(140deg, rgba(217,70,239,.08), rgba(34,211,238,.06)); }

/* ── Preisrechner ── */
.calc-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .calc-grid { grid-template-columns: minmax(0,1fr) 22rem; align-items: start; } }
.calc-step { padding: 1.5rem; border-radius: 1.25rem; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.08); }
.calc-step + .calc-step { margin-top: 1.25rem; }
.calc-steps { counter-reset: calcstep; }
.calc-steps .calc-step:not([hidden]) { counter-increment: calcstep; }
.calc-step-num::before { content: counter(calcstep); }
.calc-step-title { display: flex; align-items: center; gap: .6rem; font-family: "Syne", system-ui, sans-serif; font-weight: 700; color: #fff; font-size: 1.125rem; margin-bottom: 1rem; }
.calc-step-num { display: inline-flex; width: 1.75rem; height: 1.75rem; align-items: center; justify-content: center; border-radius: 9999px; font-size: .8rem; background: linear-gradient(135deg,#3b82f6,#8b5cf6); color: #fff; }
.calc-options { display: grid; gap: .75rem; }
@media (min-width: 640px) { .calc-options { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.calc-option { position: relative; display: block; cursor: pointer; }
.calc-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-option > span {
  display: flex; flex-direction: column; gap: .2rem; height: 100%;
  padding: .9rem 1rem; border-radius: .9rem; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03); transition: border-color .2s, background .2s, box-shadow .2s;
}
.calc-option:hover > span { border-color: rgba(96,165,250,.45); }
.calc-option input:checked + span { border-color: rgba(96,165,250,.9); background: rgba(59,130,246,.14); box-shadow: 0 0 0 1px rgba(96,165,250,.5), 0 0 24px rgba(59,130,246,.18); }
.calc-option input:disabled + span { opacity: .45; cursor: not-allowed; }
.calc-option-name { display: flex; justify-content: space-between; gap: .5rem; color: #fff; font-weight: 600; font-size: .95rem; }
.calc-option-price { color: #93c5fd; font-weight: 600; white-space: nowrap; font-size: .875rem; }
.calc-option-price.is-request { color: #34d399; }
.calc-option-desc { color: #94a3b8; font-size: .8rem; line-height: 1.5; }
.calc-summary { position: sticky; top: 6rem; padding: 1.5rem; border-radius: 1.25rem; background: linear-gradient(160deg, rgba(59,130,246,.16), rgba(139,92,246,.1)); border: 1px solid rgba(96,165,250,.45); box-shadow: 0 0 50px rgba(59,130,246,.18); }
.calc-total { font-family: "Syne", system-ui, sans-serif; font-weight: 800; font-size: 1.65rem; line-height: 1.2; white-space: nowrap; background: linear-gradient(135deg,#fff 30%,#93c5fd,#c084fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.calc-monthly { color: #e2e8f0; font-weight: 600; }
.calc-lines { margin: 1rem 0; padding: 0; list-style: none; font-size: .85rem; }
.calc-lines li { display: flex; justify-content: space-between; gap: .75rem; padding: .35rem 0; border-bottom: 1px dashed rgba(255,255,255,.08); color: #cbd5e1; }
.calc-lines li span:last-child { white-space: nowrap; color: #93c5fd; }
.calc-lines li.is-request span:last-child { color: #34d399; }
.calc-note { font-size: .75rem; color: #94a3b8; line-height: 1.5; }
.calc-pulse { animation: calc-pulse .45s ease; }
@keyframes calc-pulse { 50% { transform: scale(1.04); } }

/* ── Website-Vorschau ── */
.pv-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .pv-grid { grid-template-columns: 20rem minmax(0,1fr); align-items: start; } }
.pv-form { padding: 1.5rem; border-radius: 1.25rem; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.08); }
.pv-form label { display: block; color: #cbd5e1; font-size: .875rem; font-weight: 500; margin-bottom: .35rem; }
.pv-swatches { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pv-swatch { width: 2rem; height: 2rem; border-radius: 9999px; border: 2px solid rgba(255,255,255,.25); cursor: pointer; }
.pv-swatch[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 2px; }
.pv-color { width: 2.5rem; height: 2rem; border: 0; padding: 0; background: none; cursor: pointer; }
.pv-device { display: inline-flex; padding: .25rem; border-radius: 9999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pv-device button { padding: .35rem .9rem; border-radius: 9999px; font-size: .8rem; color: #94a3b8; }
.pv-device button[aria-pressed="true"] { background: rgba(59,130,246,.25); color: #fff; }
.pv-browser { border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.45); background: #fff; margin: 0 auto; transition: max-width .4s ease; max-width: 100%; }
.pv-browser.is-mobile { max-width: 390px; }
.pv-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #e2e8f0; }
.pv-bar i { width: .65rem; height: .65rem; border-radius: 9999px; background: #94a3b8; display: block; }
.pv-bar i:nth-child(1) { background: #f87171; } .pv-bar i:nth-child(2) { background: #fbbf24; } .pv-bar i:nth-child(3) { background: #34d399; }
.pv-url { flex: 1; margin-left: .5rem; padding: .25rem .75rem; border-radius: 9999px; background: #fff; color: #475569; font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Die Vorschau selbst: eigenes, helles Mini-Design */
.pv-site { --c: #2563eb; color: #0f172a; font-family: "Inter", system-ui, sans-serif; background: #fff; }
.pv-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.25rem; border-bottom: 1px solid #e2e8f0; }
.pv-logo { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1rem; color: #0f172a; min-width: 0; }
.pv-logo b { display: inline-flex; width: 2rem; height: 2rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .6rem; background: var(--c); color: #fff; font-size: .9rem; }
.pv-logo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-links { display: flex; gap: 1rem; font-size: .8rem; color: #475569; }
.pv-browser.is-mobile .pv-links { display: none; }
.pv-hero { padding: 2.75rem 1.5rem; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, #fff), #fff 70%); }
.pv-kicker { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); margin-bottom: .6rem; }
.pv-h1 { font-family: "Syne", system-ui, sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.15; margin-bottom: .75rem; color: #0f172a; overflow-wrap: anywhere; }
.pv-browser.is-mobile .pv-h1 { font-size: 1.5rem; }
.pv-lead { color: #475569; max-width: 36rem; font-size: .95rem; line-height: 1.6; margin-bottom: 1.25rem; }
.pv-btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.pv-btn { display: inline-flex; padding: .6rem 1.1rem; border-radius: .7rem; background: var(--c); color: #fff; font-weight: 600; font-size: .85rem; }
.pv-btn--ghost { background: transparent; color: var(--c); border: 1.5px solid var(--c); }
.pv-section { padding: 1.75rem 1.5rem; }
.pv-h2 { font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem; color: #0f172a; }
.pv-cards { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.pv-browser.is-mobile .pv-cards { grid-template-columns: 1fr; }
@media (max-width: 640px) { .pv-cards { grid-template-columns: 1fr; } .pv-links { display: none; } }
.pv-card { padding: 1rem; border-radius: .9rem; border: 1px solid #e2e8f0; background: #f8fafc; }
.pv-card-icon { font-size: 1.4rem; margin-bottom: .4rem; }
.pv-card h4 { font-weight: 700; font-size: .9rem; margin-bottom: .25rem; color: #0f172a; }
.pv-card p { font-size: .8rem; color: #64748b; line-height: 1.5; }
.pv-info { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; padding: 1.5rem; background: #f1f5f9; font-size: .8rem; color: #334155; }
.pv-browser.is-mobile .pv-info { grid-template-columns: 1fr; }
.pv-info strong { display: block; color: #0f172a; margin-bottom: .2rem; }
.pv-footer { padding: 1rem 1.5rem; background: #0f172a; color: #94a3b8; font-size: .72rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pv-site.is-dark { background: #0b1020; color: #e2e8f0; }
.pv-site.is-dark .pv-nav { border-color: #1e293b; } .pv-site.is-dark .pv-logo, .pv-site.is-dark .pv-h1, .pv-site.is-dark .pv-h2, .pv-site.is-dark .pv-card h4, .pv-site.is-dark .pv-info strong { color: #fff; }
.pv-site.is-dark .pv-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 30%, #0b1020), #0b1020 70%); }
.pv-site.is-dark .pv-lead, .pv-site.is-dark .pv-links { color: #94a3b8; }
.pv-site.is-dark .pv-card { background: #111a30; border-color: #1e293b; }
.pv-site.is-dark .pv-info { background: #0f1729; color: #cbd5e1; }
.pv-site.is-dark .pv-footer { background: #05070f; }
.pv-site.is-dark .pv-btn--ghost { color: #fff; border-color: var(--c); }

/* ── Vorher/Nachher-Regler ── */
.cmp { position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid rgba(255,255,255,.12); aspect-ratio: 1200 / 750; background: #0b1220; user-select: none; touch-action: pan-y; --pos: 50%; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(96,165,250,.9); pointer-events: none; }
.cmp-handle { position: absolute; top: 50%; left: var(--pos); width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; border-radius: 9999px; background: linear-gradient(135deg,#3b82f6,#8b5cf6); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 8px 24px rgba(0,0,0,.4); cursor: ew-resize; touch-action: none; }
.cmp-handle svg { width: 1.25rem; height: 1.25rem; }
.cmp-label { position: absolute; top: .75rem; padding: .25rem .65rem; border-radius: 9999px; font-size: .72rem; font-weight: 600; background: rgba(6,8,15,.75); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.cmp-label--before { left: .75rem; } .cmp-label--after { right: .75rem; }
.cmp-tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.25rem; }
.cmp-tab { padding: .45rem 1rem; border-radius: 9999px; font-size: .85rem; color: #cbd5e1; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.cmp-tab[aria-selected="true"] { color: #fff; background: rgba(59,130,246,.25); border-color: rgba(96,165,250,.7); }

/* ── Ablauf-Zeitleiste ── */
.tl { position: relative; max-width: 52rem; margin: 0 auto; padding-left: 3.25rem; }
.tl-track, .tl-fill { position: absolute; left: 1.2rem; top: .5rem; width: 3px; border-radius: 3px; }
.tl-track { bottom: .5rem; background: rgba(255,255,255,.08); }
.tl-fill { height: 0; background: linear-gradient(180deg,#3b82f6,#8b5cf6,#06b6d4); box-shadow: 0 0 16px rgba(96,165,250,.6); transition: height .15s linear; }
.tl-step { position: relative; padding: 0 0 3rem; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -3.25rem; top: 0; width: 2.45rem; height: 2.45rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; color: #94a3b8; background: #0b1020; border: 2px solid rgba(255,255,255,.15); transition: all .4s; z-index: 1; }
.tl-step.is-active .tl-dot { color: #fff; border-color: transparent; background: linear-gradient(135deg,#3b82f6,#8b5cf6); box-shadow: 0 0 0 5px rgba(59,130,246,.2), 0 0 24px rgba(139,92,246,.6); }
.tl-card { padding: 1.5rem; border-radius: 1.25rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.tl-step.is-active .tl-card { border-color: rgba(96,165,250,.35); }
.tl-meta { display: inline-block; font-size: .75rem; font-weight: 600; color: #93c5fd; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.3); padding: .15rem .6rem; border-radius: 9999px; margin-bottom: .6rem; }

/* ── Kundenstimmen ── */
.reviews-empty { text-align: center; padding: 2.5rem 1.5rem; border-radius: 1.5rem; border: 1px dashed rgba(148,163,184,.35); background: rgba(255,255,255,.02); }
.review-card { padding: 1.5rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.08); background: rgba(15,23,42,.45); }

/* ── Gaming-Seite (eigener Neon-Look, immer dunkel) ── */
.gaming-page { --neon-pink: #f0abfc; --neon-mag: #d946ef; --neon-cyan: #22d3ee; --neon-lime: #a3e635; background: #05030c; }
.gaming-page .mesh-bg { background: radial-gradient(ellipse 70% 50% at 15% 10%, rgba(217,70,239,.25), transparent 60%), radial-gradient(ellipse 60% 50% at 85% 20%, rgba(34,211,238,.2), transparent 55%), radial-gradient(ellipse 50% 40% at 50% 90%, rgba(163,230,53,.08), transparent 50%), #05030c; animation: none; }
.neon-title { color: #fff; text-shadow: 0 0 8px rgba(240,171,252,.8), 0 0 28px rgba(217,70,239,.7), 0 0 60px rgba(217,70,239,.45); }
.neon-cyan { color: #a5f3fc; text-shadow: 0 0 8px rgba(34,211,238,.9), 0 0 30px rgba(34,211,238,.6); }
.neon-card { position: relative; padding: 1.5rem; border-radius: 1.1rem; background: rgba(12,6,24,.75); border: 1px solid rgba(217,70,239,.35); box-shadow: inset 0 0 30px rgba(217,70,239,.06), 0 0 0 rgba(0,0,0,0); transition: transform .25s, box-shadow .25s, border-color .25s; }
.neon-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.7); box-shadow: inset 0 0 30px rgba(34,211,238,.08), 0 0 30px rgba(34,211,238,.25), 0 0 60px rgba(217,70,239,.18); }
.neon-card h3 { color: #fff; }
.neon-icon { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: .8rem; font-size: 1.5rem; background: rgba(217,70,239,.12); border: 1px solid rgba(217,70,239,.45); box-shadow: 0 0 18px rgba(217,70,239,.35); margin-bottom: 1rem; }
.neon-price { display: inline-block; margin-top: .9rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: #bef264; text-shadow: 0 0 10px rgba(163,230,53,.6); }
.neon-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: .8rem; font-weight: 700; color: #05030c; background: linear-gradient(90deg,#f0abfc,#22d3ee); box-shadow: 0 0 24px rgba(217,70,239,.55), 0 0 48px rgba(34,211,238,.25); transition: transform .2s, box-shadow .2s; }
.neon-btn:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(217,70,239,.8), 0 0 70px rgba(34,211,238,.4); }
.neon-btn--ghost { color: #a5f3fc; background: transparent; border: 1px solid rgba(34,211,238,.6); box-shadow: 0 0 18px rgba(34,211,238,.25); }
.neon-grid-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none; background-image: linear-gradient(rgba(217,70,239,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(217,70,239,.35) 1px, transparent 1px); background-size: 48px 48px; transform: perspective(500px) rotateX(60deg); transform-origin: bottom; mask-image: linear-gradient(to top, black, transparent 85%); animation: floor-move 4s linear infinite; }
@keyframes floor-move { to { background-position: 0 48px, 0 0; } }
.scanlines { position: fixed; inset: 0; pointer-events: none; z-index: 2; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.neon-tag { display: inline-block; padding: .2rem .7rem; border-radius: 9999px; font-size: .75rem; font-weight: 600; color: #f5d0fe; border: 1px solid rgba(217,70,239,.5); background: rgba(217,70,239,.1); }
@media (prefers-reduced-motion: reduce) { .neon-grid-floor { animation: none; } }

/* ==========================================================================
   HELLES THEME  (html[data-theme="light"])
   Bereiche mit fester dunkler Optik: .keep-dark, .project-thumb, Gaming-Seite
   ========================================================================== */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] body { background: #f6f8fc; color: #1e293b; }
html[data-theme="light"] .mesh-bg { background: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(59,130,246,.14), transparent 60%), radial-gradient(ellipse 60% 50% at 80% 20%, rgba(139,92,246,.12), transparent 55%), radial-gradient(ellipse 50% 40% at 50% 80%, rgba(6,182,212,.08), transparent 50%), #f6f8fc; animation: none; }
html[data-theme="light"] .mesh-bg::after { opacity: .15; }
html[data-theme="light"] .grid-overlay { background-image: linear-gradient(rgba(15,23,42,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.05) 1px, transparent 1px); }
html[data-theme="light"] .particles { opacity: .5; }

/* Textfarben (Tailwind-Klassen) – nicht in dunkel bleibenden Bereichen */
html[data-theme="light"] :is(.text-white, .text-slate-100, .text-slate-200):not(.keep-dark *, .project-thumb *, .btn-primary, .btn-primary *, .btn-whatsapp, .btn-whatsapp *, [class*="bg-gradient"][class*="-500 "], .calc-step-num, .tl-dot, .cmp *, .pv-site *, #ki-chat-widget *, .kws-cookie-banner *) { color: #0f172a; }
html[data-theme="light"] .text-slate-300:not(.keep-dark *, .project-thumb *, .cmp *, #ki-chat-widget *) { color: #334155; }
html[data-theme="light"] .text-slate-400:not(.keep-dark *, .project-thumb *, #ki-chat-widget *) { color: #475569; }
html[data-theme="light"] .text-slate-500:not(.keep-dark *, .project-thumb *, #ki-chat-widget *) { color: #5b6b80; }
html[data-theme="light"] .text-slate-600:not(.keep-dark *, #ki-chat-widget *) { color: #64748b; }
html[data-theme="light"] .text-blue-400:not(.keep-dark *), html[data-theme="light"] .text-blue-300:not(.keep-dark *) { color: #2563eb; }
html[data-theme="light"] .hover\:text-white:hover:not(.keep-dark *) { color: #0f172a; }
html[data-theme="light"] .text-emerald-400, html[data-theme="light"] .text-emerald-300:not(.project-thumb *) { color: #047857; }
html[data-theme="light"] .text-pink-400 { color: #db2777; }
html[data-theme="light"] .border-white\/5, html[data-theme="light"] .border-white\/10 { border-color: rgba(15,23,42,.08); }
html[data-theme="light"] .bg-white\/5 { background-color: rgba(15,23,42,.04); }

/* Navigation */
html[data-theme="light"] .nav-glass { background: rgba(255,255,255,.78); border-bottom-color: rgba(15,23,42,.08); }
html[data-theme="light"] .nav-glass.scrolled { background: rgba(255,255,255,.94); box-shadow: 0 8px 30px rgba(15,23,42,.08); }
html[data-theme="light"] .nav-pill { color: #475569; }
html[data-theme="light"] .nav-pill:hover, html[data-theme="light"] .nav-pill.active { color: #0f172a; background: rgba(15,23,42,.06); }
html[data-theme="light"] .nav-toggle, html[data-theme="light"] .theme-toggle { color: #0f172a; background: rgba(15,23,42,.05); border-color: rgba(15,23,42,.12); }
html[data-theme="light"] .nav-drawer { background: rgba(255,255,255,.98); border-top-color: rgba(15,23,42,.08); }
html[data-theme="light"] .nav-drawer-link { color: #334155; }
html[data-theme="light"] .nav-drawer-link:hover { color: #0f172a; }
html[data-theme="light"] .nav-drawer-link.active { color: #2563eb; }
html[data-theme="light"] .nav-drawer-actions { border-top-color: rgba(15,23,42,.08); }
html[data-theme="light"] .site-logo-text { color: #0f172a; }

/* Bausteine */
html[data-theme="light"] :is(.section-card, .service-card, .price-card-standard, .price-options-box, .project-card, .testimonial-card, .branchen-card, .ratgeber-teaser-card, .blog-card, .case-card, .feature-tile, .calc-step, .pv-form, .tl-card, .review-card, .reviews-empty) { background: #fff; border-color: rgba(15,23,42,.09); box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.05); }
html[data-theme="light"] .price-card-popular, html[data-theme="light"] .price-card-local { background: linear-gradient(160deg, rgba(59,130,246,.08), #fff 70%) !important; }
html[data-theme="light"] .feature-tile--gaming { background: linear-gradient(140deg, rgba(217,70,239,.08), #fff 70%); }
html[data-theme="light"] .feature-tile-title { color: #0f172a; }
html[data-theme="light"] .feature-tile-text, html[data-theme="light"] .price-option-desc, html[data-theme="light"] .calc-option-desc, html[data-theme="light"] .calc-note, html[data-theme="light"] .website-check-list li { color: #475569; }
html[data-theme="light"] .price-options-title, html[data-theme="light"] .price-option-label, html[data-theme="light"] .calc-step-title, html[data-theme="light"] .calc-option-name, html[data-theme="light"] .article-content h2 { color: #0f172a; }
html[data-theme="light"] .article-content h3, html[data-theme="light"] .testimonial-author { color: #1e293b; }
html[data-theme="light"] .article-content p, html[data-theme="light"] .article-content li { color: #475569; }
html[data-theme="light"] .article-content a:not(.btn-primary):not(.btn-whatsapp):not(.btn-ghost) { color: #2563eb; }
html[data-theme="light"] .price-amount, html[data-theme="light"] .stat-number, html[data-theme="light"] .calc-total { background-image: linear-gradient(135deg, #1e3a8a 20%, #2563eb, #7c3aed); }
html[data-theme="light"] .stat-item { border-right-color: rgba(15,23,42,.08); }
html[data-theme="light"] .price-special-box { border-top-color: rgba(15,23,42,.08); }
html[data-theme="light"] .btn-ghost { color: #1e293b; border-color: rgba(15,23,42,.18); background: rgba(255,255,255,.7); }
html[data-theme="light"] .btn-ghost:hover { color: #1d4ed8; }
html[data-theme="light"] .tag, html[data-theme="light"] .marquee-item, html[data-theme="light"] .badge, html[data-theme="light"] .tl-meta { color: #1d4ed8; background: rgba(59,130,246,.08); }
html[data-theme="light"] .form-input { background: #fff; border-color: rgba(15,23,42,.15); color: #0f172a; }
html[data-theme="light"] .form-input::placeholder { color: #94a3b8; }
html[data-theme="light"] .calc-option > span { background: #fff; border-color: rgba(15,23,42,.12); }
html[data-theme="light"] .calc-option input:checked + span { background: rgba(59,130,246,.08); }
html[data-theme="light"] .calc-option-price { color: #1d4ed8; }
html[data-theme="light"] .calc-option-price.is-request, html[data-theme="light"] .calc-lines li.is-request span:last-child { color: #047857; }
html[data-theme="light"] .calc-summary { background: linear-gradient(160deg, rgba(59,130,246,.1), #fff 75%); }
html[data-theme="light"] .calc-monthly, html[data-theme="light"] .calc-lines li { color: #1e293b; border-bottom-color: rgba(15,23,42,.1); }
html[data-theme="light"] .calc-lines li span:last-child { color: #1d4ed8; }
html[data-theme="light"] .pv-form label { color: #334155; }
html[data-theme="light"] .pv-device { background: #fff; border-color: rgba(15,23,42,.12); }
html[data-theme="light"] .pv-device button { color: #475569; }
html[data-theme="light"] .pv-device button[aria-pressed="true"] { color: #1e3a8a; background: rgba(59,130,246,.15); }
html[data-theme="light"] .pv-browser { box-shadow: 0 30px 70px rgba(15,23,42,.18); border-color: rgba(15,23,42,.12); }
html[data-theme="light"] .tl-track { background: rgba(15,23,42,.1); }
html[data-theme="light"] .tl-dot { background: #fff; color: #64748b; border-color: rgba(15,23,42,.15); }
html[data-theme="light"] .cmp-tab { color: #334155; background: #fff; border-color: rgba(15,23,42,.12); }
html[data-theme="light"] .cmp-tab[aria-selected="true"] { color: #1e3a8a; background: rgba(59,130,246,.12); }
html[data-theme="light"] .website-check-box { background: linear-gradient(135deg, rgba(16,185,129,.08), #fff 70%); }
html[data-theme="light"] .hero-spot { background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(99,102,241,.12), transparent 60%); }
html[data-theme="light"] .scroll-indicator { color: #94a3b8; }
html[data-theme="light"] .footer-gradient-line { opacity: .6; }
html[data-theme="light"] .project-card:hover { box-shadow: 0 24px 60px rgba(15,23,42,.12), 0 0 40px rgba(59,130,246,.15); }

/* Hero-Schriftzüge im hellen Design kräftiger */
html[data-theme="light"] .hero-glow-blue { color: #2563eb; text-shadow: 0 0 18px rgba(37,99,235,.25); }
html[data-theme="light"] .hero-glow-violet { color: #7c3aed; text-shadow: 0 0 18px rgba(124,58,237,.25); }
html[data-theme="light"] .hero-glow-cyan { color: #0891b2; text-shadow: 0 0 18px rgba(8,145,178,.25); }
html[data-theme="light"] .section-label { color: #2563eb; }
html[data-theme="light"] .gradient-text { background-image: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #0891b2 100%); filter: none; }

/* Buttons in Artikeln behalten ihre Schriftfarbe (beide Designs) */
.article-content a.btn-primary, .article-content a.btn-whatsapp { color: #fff; }
.article-content a.btn-ghost { color: #e2e8f0; }
html[data-theme="light"] .article-content a.btn-ghost { color: #1e293b; }
