/* ==========================================================
   Entwurf „Lab“ – bioluminescent laboratory at midnight
   Liegt über styles.css und wird nur von entwurf-lab.html geladen.
   Regeln: eine Schriftstärke (400), Hierarchie nur über Größe und
   Laufweite, Mono für Labels, keine Schatten, keine Verläufe,
   Haarlinien, Lime nur auf Mikro-Flächen.
   ========================================================== */

@font-face { font-family: "Lab Sans"; src: url("../assets/fonts/InterTight-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lab Mono"; src: url("../assets/fonts/RobotoMono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

.theme-lab {
  /* Palette */
  --lime: #cef79e;
  --ink: #222f30;
  --bone: #f7f7f5;
  --paper: #ffffff;
  --graphite: #4d5757;
  --lichen: #c9cbbe;
  --tissue: #e7e8e1;
  --void: #000000;
  --ink-2: #263435;            /* Karten auf dunklem Grund */
  --mist: #a2aba9;             /* Sekundärtext auf Dunkel (lesbar, 6.2:1) */

  /* bestehende Variablen umbelegen (helle Abschnitte) */
  --bg: var(--bone);
  --bg-2: var(--tissue);
  --white: var(--paper);
  --text: var(--ink);
  --muted: var(--graphite);
  --second: var(--graphite);   /* zweite Zeile von Überschriften */
  --border: var(--lichen);
  --border-2: var(--lichen);
  --accent: var(--ink);
  --accent-pink: var(--graphite);
  --accent-2: var(--ink);
  --accent-3: var(--graphite);
  --ok: var(--ink);
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --grad: linear-gradient(var(--ink), var(--ink));
  --grad-loop: linear-gradient(var(--ink), var(--ink));
  --grad-text: none;
  --grad-text-loop: none;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --font: "Lab Sans", "Inter Tight", "Söhne", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Lab Mono", "Roboto Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  background: var(--bone);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.001em;
}

/* Dunkle Abschnitte */
.theme-lab .hero,
.theme-lab .is-dark {
  --bg: var(--ink);
  --bg-2: #2c3a3b;
  --white: var(--ink-2);
  --text: var(--paper);
  --muted: var(--mist);
  --second: #8d9998;
  --border: var(--graphite);
  --border-2: var(--graphite);
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* Eine Schriftstärke für alles */
.theme-lab *, .theme-lab *::before, .theme-lab *::after { font-weight: 400 !important; font-style: normal; }
.theme-lab ::selection { background: var(--lime); color: var(--ink); }
.theme-lab p { color: var(--muted); }
.theme-lab h1, .theme-lab h2, .theme-lab h3, .theme-lab h4 { color: var(--text); }
.theme-lab h2 { font-size: clamp(40px, 5.4vw, 75px); line-height: 1.05; letter-spacing: -0.02em; }
.theme-lab .section-head { max-width: 1000px; }
.theme-lab h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.006em; }
.theme-lab .section-sub { font-size: 22px; line-height: 1.3; letter-spacing: -0.006em; }

/* Keine Verläufe, keine Glows, keine Schatten */
.theme-lab .gradient-text {
  background: none !important; -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--second) !important; -webkit-text-fill-color: currentColor; animation: none;
}
.theme-lab .cursor-glow, .theme-lab .blob, .theme-lab .hero::before,
.theme-lab .contact-glow, .theme-lab .ai-orbit::before, .theme-lab .section-alt::before { display: none !important; }
.theme-lab [class] { box-shadow: none; }
.theme-lab .progress { background: var(--lime); }

/* ---------- Navigation ---------- */
.theme-lab .nav, .theme-lab .nav.scrolled {
  background: var(--ink); border-bottom: 1px solid var(--graphite);
  backdrop-filter: none; -webkit-backdrop-filter: none; padding-block: 14px;
}
.theme-lab .brand { color: var(--paper); font-size: 1.05rem; letter-spacing: -0.01em; }
.theme-lab .brand b { margin-left: 4px; color: var(--mist); }
.theme-lab .brand-mark rect { stroke: var(--graphite); }
.theme-lab .nav ul { gap: 6px; }
.theme-lab .nav ul a:not(.btn) {
  font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; color: var(--lichen);
  padding: 7px 12px; border: 1px solid transparent; border-radius: 12px; transition: border-color .2s, background .2s, color .2s;
}
.theme-lab .nav ul a:not(.btn)::after { display: none; }
.theme-lab .nav ul a:not(.btn):hover { color: var(--paper); border-color: var(--graphite); }
.theme-lab .nav ul a.active:not(.btn) { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.theme-lab .btn-small { background: var(--paper); color: var(--ink); border: 0; margin-left: 10px; }
.theme-lab .btn-small:hover { background: var(--lime); color: var(--ink); }
.theme-lab .nav-toggle { background: transparent; border-color: var(--graphite); }
.theme-lab .nav-toggle span { background: var(--paper); }

/* ---------- Buttons ---------- */
.theme-lab .btn {
  font-family: var(--mono); font-size: 14px; letter-spacing: -0.02em; text-transform: uppercase;
  border-radius: 8px; padding: 10px 16px; gap: 14px; animation: none;
}
.theme-lab .btn-primary { background: var(--btn-bg); color: var(--btn-fg); padding: 6px 6px 6px 18px; }
.theme-lab .btn-primary:hover { box-shadow: none; }
.theme-lab .btn-primary svg {
  width: 36px; height: 36px; padding: 9px; border-radius: 6px; background: var(--lime); stroke: var(--ink);
}
.theme-lab .btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--graphite); }
.theme-lab .btn-ghost:hover { border-color: var(--text); color: var(--text); }

/* ---------- Abschnitts-Zähler & Tags ---------- */
.theme-lab .kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; color: var(--muted);
  background: transparent; border: 1px solid var(--border); border-radius: 9999px; padding: 6px 12px; margin-bottom: 28px;
}
.theme-lab .bg-num { -webkit-text-stroke: 1px var(--border); opacity: .55; letter-spacing: -0.03em; }
.theme-lab .eyebrow {
  background: transparent; border: 1px solid var(--graphite); color: var(--lichen);
  font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; text-transform: uppercase; padding: 7px 14px;
}
.theme-lab .pulse { width: 6px; height: 6px; background: var(--lime); box-shadow: 0 0 0 0 rgba(206, 247, 158, .6); animation: labPulse 2.4s infinite; }
@keyframes labPulse { 70% { box-shadow: 0 0 0 9px rgba(206, 247, 158, 0); } 100% { box-shadow: 0 0 0 0 rgba(206, 247, 158, 0); } }

/* ---------- Hero ---------- */
.theme-lab .hero { min-height: 100vh; padding: 150px 0 90px; align-items: stretch; }
.theme-lab .hero-lab { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(60px, 12vh, 160px); }
.theme-lab .hero h1 {
  font-size: clamp(56px, 10.6vw, 158px); line-height: 1; letter-spacing: -0.03em; color: var(--paper); margin: 0;
}
.theme-lab .hero h1 .gradient-text { color: var(--paper) !important; }
.theme-lab .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: end; }
.theme-lab .hero-rotator { font-size: 24px; letter-spacing: -0.006em; color: var(--paper); }
.theme-lab .rotator { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--paper); }
.theme-lab .caret { background: var(--lime); width: 2px; }
.theme-lab .lead { font-size: 22px; line-height: 1.3; color: var(--mist); max-width: 560px; }
.theme-lab .scroll-hint { border-color: var(--graphite); }
.theme-lab .scroll-hint span { background: var(--lime); }

.theme-lab .terminal { background: #1b2526; border: 1px solid var(--graphite); border-radius: 16px; }
.theme-lab .terminal-bar { background: transparent; border-bottom-color: var(--graphite); }
.theme-lab .terminal-bar span { color: var(--mist); }
.theme-lab .terminal-body { color: #b9c2c0; font-family: var(--mono); }
.theme-lab .terminal-body .p, .theme-lab .terminal-body .ok { color: var(--lime); }
.theme-lab .terminal-body .k { color: var(--paper); }
.theme-lab .terminal-body .s { color: var(--lichen); }
.theme-lab .terminal-body .c { color: #6f7b7a; }
.theme-lab .terminal-body .warn { color: var(--bone); }
.theme-lab .terminal-body .cursor { background: var(--lime); }
.theme-lab .badge { background: var(--ink); border: 1px solid var(--graphite); backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--mist); }
.theme-lab .badge b { color: var(--paper); }
.theme-lab .badge .badge-icon { background: var(--lime) !important; border-radius: 8px; width: 40px; height: 40px; color: var(--ink); }

/* ---------- Kennzahlen ---------- */
.theme-lab .stats { margin-top: 0; padding: 0 0 110px; }
.theme-lab .stats-grid { background: transparent; border: 0; border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); border-radius: 0; }
.theme-lab .stat { border-right-color: var(--graphite); padding: 44px 24px; text-align: left; }
.theme-lab .stat strong {
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--paper);
  font-size: clamp(48px, 6vw, 89px); letter-spacing: -0.02em; line-height: 1;
}
.theme-lab .stat > span { font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; color: var(--mist); margin-top: 14px; }

/* ---------- Abschnitte ---------- */
.theme-lab .section { padding: clamp(90px, 10vw, 140px) 0; background: var(--bg); }
.theme-lab .section-alt, .theme-lab .section-industries, .theme-lab .section-training { background: var(--bg); }
.theme-lab .sub-head { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.006em; line-height: 1.2; color: var(--text); }

/* Karten (Leistungen) */
.theme-lab .card { background: var(--paper); border: 1px solid var(--lichen); border-radius: 20px; padding: 40px; }
.theme-lab .card::before, .theme-lab .card::after { display: none; }
.theme-lab .card:hover { border-color: var(--ink); }
.theme-lab .card-icon { background: var(--tissue); border-radius: 12px; animation: none; }
.theme-lab .card-icon svg { stroke: var(--ink); }
.theme-lab .ticks li { color: var(--ink); padding-left: 20px; }
.theme-lab .ticks li::before { width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--lime); outline: 1px solid rgba(34, 47, 48, .25); transform: none; top: .62em; }

/* Branchen-Hub (dunkel) */
.theme-lab .hub-paths path { stroke: var(--graphite); stroke-width: 1.5; }
.theme-lab .hub-core { background: var(--ink-2); border: 1px solid var(--lime); animation: none; box-shadow: none; }
.theme-lab .hub-core strong { color: var(--paper); font-size: clamp(1rem, 1.6vw, 1.25rem); letter-spacing: -0.006em; }
.theme-lab .hub-ring { border: 1px solid rgba(206, 247, 158, .45); }
.theme-lab .hub-node { background: var(--ink-2); border: 1px solid var(--graphite); color: var(--paper); font-size: 1.05rem; border-radius: 16px; }
.theme-lab .hub-node:hover { border-color: var(--lichen); }
.theme-lab .ind-icon { background: transparent; border: 1px solid var(--graphite); border-radius: 12px; animation: none; }
.theme-lab .ind-icon svg { stroke: var(--paper); }

/* Oracle (hell) */
.theme-lab .chips li { background: transparent; border: 1px solid var(--lichen); font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; color: var(--graphite); }
.theme-lab .chips li:hover { border-color: var(--ink); color: var(--ink); }
.theme-lab .tuning { background: var(--paper); border: 1px solid var(--lichen); border-radius: 20px; padding: 40px; }
.theme-lab .tuning-head span:first-child { font-size: 24px; letter-spacing: -0.006em; }
.theme-lab .tag { background: transparent; border: 1px solid var(--lichen); color: var(--graphite); font-family: var(--mono); font-size: 13px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.theme-lab .tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); outline: 1px solid rgba(34, 47, 48, .25); }
.theme-lab .bar { background: var(--tissue); }
.theme-lab .bar-before { background: var(--graphite); }
.theme-lab .bar-after { background: var(--lime); outline: 1px solid rgba(34, 47, 48, .3); }
.theme-lab .plan-lines path { stroke: var(--lichen); stroke-width: 1.5; }
.theme-lab .plan-nodes g rect { fill: var(--bone); stroke: var(--lichen); }
.theme-lab .plan-nodes g text { fill: var(--ink); }

/* PL/SQL-Labor (dunkle Karte auf hellem Grund) */
.theme-lab .plsql { background: var(--ink); border-radius: 20px; color: #b9c2c0; }
.theme-lab .plsql-head { background: transparent; border-bottom-color: var(--graphite); }
.theme-lab .plsql-steps li { font-family: var(--mono); font-size: 13px; background: transparent; border: 1px solid var(--graphite); color: var(--mist); }
.theme-lab .plsql-steps li.active { background: var(--lime); border-color: var(--lime); color: var(--ink); box-shadow: none; }
.theme-lab .plsql-steps li.done { color: var(--paper); background: transparent; }
.theme-lab .plsql-steps li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: .1em; opacity: 0; }
.theme-lab .plsql-steps li.done::before { opacity: 1; }
.theme-lab .plsql-code, .theme-lab .ln code { font-family: var(--mono); }
.theme-lab .ln .tk { color: var(--paper); }
.theme-lab .ln .tn { color: var(--lime); }
.theme-lab .ln .tp { color: var(--lichen); }
.theme-lab .ln .tc { color: #6f7b7a; }
.theme-lab .ln .heat { background: rgba(201, 203, 190, .2); }
.theme-lab .plsql.cool .ln .heat { background: rgba(206, 247, 158, .16); }
.theme-lab .ln.removing { background: rgba(201, 203, 190, .12); text-decoration-color: var(--lichen); }
.theme-lab .ln.added { background: rgba(206, 247, 158, .07); }
.theme-lab .typing-caret { background: var(--lime); }
.theme-lab .plsql-hot { background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12px; box-shadow: none; }
.theme-lab .plsql-hot.show { animation: labHot 1.6s ease-in-out infinite; }
@keyframes labHot { 50% { outline: 6px solid rgba(206, 247, 158, .25); } }
.theme-lab .plsql-prof { background: transparent; border-left-color: var(--graphite); }
.theme-lab .plsql-prof h4, .theme-lab .pm span { font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; color: var(--mist); }
.theme-lab .pm b { color: var(--paper); font-size: clamp(36px, 3.4vw, 48px); letter-spacing: -0.02em; }
.theme-lab .pm b.bad { color: var(--paper); }
.theme-lab .pm b.good { color: var(--lime); }
.theme-lab .pm .pm-mode { font-size: 18px; }
.theme-lab .pm-meter { background: rgba(255, 255, 255, .08); }
.theme-lab .pm-meter i { background: var(--lichen); }
.theme-lab .plsql.cool .pm-meter i { background: var(--lime); }
.theme-lab .plsql-checks li.on { color: var(--paper); }
.theme-lab .plsql-checks li::before { color: transparent; }
.theme-lab .plsql-checks li.on::before { background: var(--lime); color: var(--ink); }

/* KI (dunkel) */
.theme-lab .orbit { border: 1px solid var(--graphite); }
.theme-lab .orbit-core { background: var(--ink-2); border: 1px solid var(--lime); animation: none; box-shadow: none; }
.theme-lab .orbit-core span { color: var(--paper); }
.theme-lab .orbit-item { background: var(--ink); border: 1px solid var(--graphite); color: var(--paper); font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; }
.theme-lab .orbit-item::before { width: 6px; height: 6px; background: var(--lime); }
.theme-lab .ai-point { background: var(--ink-2); border: 1px solid var(--graphite); border-radius: 16px; }
.theme-lab .ai-point::after { display: none; }
.theme-lab .ai-point:hover { transform: none; border-color: var(--lichen); }
.theme-lab .marquee { background: transparent; border-color: var(--graphite); }
.theme-lab .marquee-track span { letter-spacing: -0.02em; -webkit-text-stroke: 1px var(--graphite); }
.theme-lab .marquee-track span:nth-child(3n+1) { color: var(--paper); -webkit-text-stroke: 0; }
.theme-lab .marquee-track span:nth-child(6n+4) { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--mist); -webkit-text-stroke: 0; }

/* KI-Beratung & Schulungen (hell) */
.theme-lab .trust-line { background: transparent; border: 1px solid var(--lichen); color: var(--graphite); font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; }
.theme-lab .shield { width: 8px; height: 8px; background: var(--lime); outline: 1px solid rgba(34, 47, 48, .25); }
.theme-lab .shield svg { display: none; }
.theme-lab .flow { background: var(--paper); border: 1px solid var(--lichen); border-radius: 20px; }
.theme-lab .flow-title { font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; }
.theme-lab .flow-switch { background: var(--tissue); font-family: var(--mono); font-size: 13px; }
.theme-lab .sw-knob { background: var(--ink); }
.theme-lab .flow[data-mode="ai"] .sw-knob { background: var(--lime); animation: none; }
.theme-lab .flow[data-mode="ai"] .sw-ai { color: var(--ink); }
.theme-lab .fs { font-size: 16px; }
.theme-lab .fs-icon { background: var(--bone); border: 1px solid var(--lichen); }
.theme-lab .fs-icon svg { stroke: var(--graphite); }
.theme-lab .fs::after { background: var(--lichen); height: 1px; }
.theme-lab .fs::before { background: var(--ink); height: 1px; }
.theme-lab .flow[data-mode="manual"] .fs.active .fs-icon { background: var(--ink); border-color: var(--ink); box-shadow: none; }
.theme-lab .flow .fs.active .fs-icon { background: var(--lime); border-color: var(--lime); animation: none; box-shadow: 0 0 0 8px rgba(206, 247, 158, .3); transform: scale(1.08); }
.theme-lab .flow[data-mode="manual"] .fs.active .fs-icon svg { stroke: var(--paper); }
.theme-lab .flow .fs.active .fs-icon svg { stroke: var(--ink); }
.theme-lab .fs.done .fs-icon { background: var(--paper); border-color: var(--ink); }
.theme-lab .fs.done .fs-icon svg { stroke: var(--ink); }
.theme-lab .flow[data-mode="ai"] .fs-human.done .fs-icon { background: var(--lime); border-color: var(--lime); }
.theme-lab .flow[data-mode="ai"] .fs-human.done .fs-icon svg { stroke: var(--ink); }
.theme-lab .flow-scan { background: linear-gradient(90deg, transparent, rgba(206, 247, 158, .28) 50%, transparent); }
.theme-lab .flow-scan::after { content: "KI"; background: var(--lime); color: var(--ink); font-family: var(--mono); box-shadow: none; }
.theme-lab .flow-time { font-family: var(--mono); font-size: 13px; }
.theme-lab .flow-bar { background: var(--tissue); }
.theme-lab .flow-bar i { background: var(--graphite); }
.theme-lab .flow[data-mode="ai"] .flow-bar i { background: var(--lime); outline: 1px solid rgba(34, 47, 48, .3); }
.theme-lab .flow-benefits { border-top-color: var(--lichen); }
.theme-lab .flow-benefits h3 { font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; color: var(--graphite); }
.theme-lab .webd-steps li { font-family: var(--mono); }
.theme-lab .benefit-chips li { background: var(--bone); border: 1px solid var(--lichen); color: var(--graphite); font-size: 15px; }
.theme-lab .benefit-chips li::before { content: ""; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--lime); vertical-align: .12em; opacity: 0; }
.theme-lab .benefit-chips li.on { background: var(--paper); border-color: var(--ink); color: var(--ink); transform: none; box-shadow: none; }
.theme-lab .benefit-chips li.on::before { opacity: 1; outline: 1px solid rgba(34, 47, 48, .3); }

.theme-lab .area { background: var(--paper); border: 1px solid var(--lichen); border-radius: 16px; padding: 28px; }
.theme-lab .area:hover { transform: none; border-color: var(--ink); }
.theme-lab .area h4 { font-size: 20px; letter-spacing: -0.006em; }
.theme-lab .area-icon { background: var(--tissue); border-radius: 10px; }
.theme-lab .area-icon svg { stroke: var(--ink); stroke-width: 2.4; }
.theme-lab .area:hover .area-icon { background: var(--lime); }
.theme-lab .area:hover .area-icon svg { stroke: var(--ink); transform: none; }
.theme-lab .area-cta { background: var(--ink); animation: none; }
.theme-lab .area-cta h4 { color: var(--paper); font-size: 24px; }
.theme-lab .area-cta p { color: var(--mist); }
.theme-lab .area-arrow { width: 40px; height: 40px; border-radius: 8px; background: var(--lime); }
.theme-lab .area-arrow svg { stroke: var(--ink); }
.theme-lab .area-cta:hover .area-arrow { background: var(--lime); }

.theme-lab .offer { background: var(--paper); border: 1px solid var(--lichen); border-radius: 20px; padding: 40px 30px; }
.theme-lab .offer::after { display: none; }
.theme-lab .offer:hover { transform: none; border-color: var(--ink); }
.theme-lab .offer h4 { font-size: 22px; letter-spacing: -0.006em; }
.theme-lab .offer-icon { background: var(--tissue); border-radius: 12px; animation: none; }
.theme-lab .offer-icon svg { stroke: var(--ink); stroke-width: 2.4; }
.theme-lab .aud { background: transparent; border: 1px solid var(--lichen); }
.theme-lab .aud b::before { font-family: var(--mono); font-size: 13px; }

.theme-lab .steps::before { background: var(--border); height: 1px; }
.theme-lab .steps::after { background: var(--text); height: 1px; }
.theme-lab .step-no { background: var(--bg); border: 1px solid var(--border); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.theme-lab .step.active .step-no { background: var(--lime); border-color: var(--lime); color: var(--ink); box-shadow: none; }
.theme-lab .step h3 { font-size: 22px; }

.theme-lab .limits { background: var(--tissue); border: 0; border-radius: 40px; }
.theme-lab .limits-grid dt::before { background: var(--graphite); box-shadow: none; width: 6px; height: 6px; }

/* Webdesign (dunkel) */
.theme-lab .webd { background: var(--ink-2); border: 1px solid var(--graphite); border-radius: 40px; }
.theme-lab .webd-steps li { background: transparent; border: 1px solid var(--graphite); color: var(--mist); font-size: 13px; }
.theme-lab .webd-steps li::before { background: transparent; border: 1px solid var(--graphite); color: var(--mist); vertical-align: middle; }
.theme-lab .webd-steps li.active { background: var(--lime); border-color: var(--lime); color: var(--ink); box-shadow: none; }
.theme-lab .webd-steps li.active::before { border-color: var(--ink); color: var(--ink); background: transparent; }
.theme-lab .webd-steps li.done { background: transparent; color: var(--paper); border-color: var(--graphite); }
.theme-lab .webd-steps li.done::before { content: ""; border-color: var(--graphite); background: radial-gradient(circle, var(--lime) 0 3px, transparent 3.5px); }
.theme-lab .chat-user { background: var(--paper); color: var(--ink); }
.theme-lab .chat-user p { color: var(--ink); }
.theme-lab .chat-label { color: var(--graphite); }
.theme-lab .chat-ai { background: transparent; border: 1px solid var(--graphite); }
.theme-lab .chat-ai li { color: var(--mist); }
.theme-lab .chat-ai li::before { background: transparent; border: 1px solid var(--graphite); color: var(--mist); }
.theme-lab .chat-ai li.on, .theme-lab .chat-ai li.busy { color: var(--paper); }
.theme-lab .chat-ai li.on::before { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.theme-lab .chat-ai li.busy::before { background: transparent; border-color: var(--lime); color: var(--lime); animation: none; }
.theme-lab .chat-human { color: var(--paper); }
.theme-lab .browser { border-color: var(--graphite); }
.theme-lab .browser-bar { background: var(--tissue); }
.theme-lab .site-wrap { background: var(--bone); --text: var(--ink); --muted: var(--graphite); --white: var(--paper); --border: var(--lichen); --bg-2: var(--tissue); color: var(--ink); }
.theme-lab .s-hero { background: var(--tissue); }
.theme-lab .s-cta, .theme-lab .s-ico { background: var(--ink); }
.theme-lab .s-hero-img { background: var(--ink); animation: none; }
.theme-lab .s-hero-img svg { fill: var(--lime); }
.theme-lab .sc-track { stroke: var(--graphite); }
.theme-lab .sc-val { stroke: var(--lime); stroke-width: 2; }
.theme-lab .score b { color: var(--lime); }
.theme-lab .score span { font-family: var(--mono); font-size: 13px; color: var(--mist); }
.theme-lab .web-features .offer { background: var(--ink-2); border-color: var(--graphite); }
.theme-lab .web-features .offer:hover { border-color: var(--lichen); }
.theme-lab .web-features .offer-icon { background: transparent; border: 1px solid var(--graphite); }
.theme-lab .web-features .offer-icon svg { stroke: var(--paper); }
.theme-lab .proof { background: transparent; border: 1px solid var(--graphite); color: var(--mist); }
.theme-lab .proof:hover { transform: none; border-color: var(--lichen); }
.theme-lab .proof b { color: var(--paper); }
.theme-lab .proof .ai-spark { color: var(--lime); }

/* Kontakt (dunkel) */
.theme-lab .contact-box { background: var(--ink-2); border: 1px solid var(--graphite); border-radius: 40px; }
.theme-lab .contact-box::after { display: none; }

/* Footer: reines Schwarz */
.theme-lab .footer { background: var(--void); border-top: 0; color: var(--mist); --text: var(--paper); --muted: var(--mist); }
.theme-lab .footer .brand { color: var(--paper); }
.theme-lab .footer h4 { color: var(--paper); font-family: var(--mono); font-size: 13px; }
.theme-lab .footer ul a, .theme-lab .footer address a { font-family: var(--mono); font-size: 14px; color: var(--lichen); }
.theme-lab .footer ul a:hover, .theme-lab .footer address a:hover { color: var(--lime); }
.theme-lab .footer .footer-legal a { background: transparent; border: 1px solid var(--graphite); color: var(--paper); font-family: var(--mono); font-size: 14px; }
.theme-lab .footer .footer-legal a:hover { border-color: var(--lime); color: var(--paper); transform: none; }
.theme-lab .footer-bottom { border-top-color: #1f2a2b; font-family: var(--mono); font-size: 13px; }
.theme-lab .ai-note { background: transparent; border: 1px solid var(--graphite); color: var(--lichen); font-family: var(--mono); font-size: 13px; }
.theme-lab .ai-note:hover { background: transparent; color: var(--paper) !important; }
.theme-lab .ai-spark { color: var(--lime); }

/* Schwebende Formen: Haarlinien + leuchtende Punkte */
.theme-lab .fl-ring { border: 1px solid var(--border); }
.theme-lab .fl-plus { background: linear-gradient(var(--border), var(--border)) center / 100% 1px no-repeat, linear-gradient(var(--border), var(--border)) center / 1px 100% no-repeat; }
.theme-lab .fl-dot { background: radial-gradient(circle, rgba(206, 247, 158, .35), transparent 65%); }
.theme-lab .fl-grid { background-image: radial-gradient(var(--border) 1.2px, transparent 1.2px); }

/* Umschalter Entwurf ↔ aktuelle Version */
.draft-switch {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; background: #000; color: #f7f7f5; border: 1px solid #4d5757;
  font: 400 13px/1 "Lab Mono", ui-monospace, monospace; letter-spacing: -0.02em; text-decoration: none;
}
.draft-switch:hover { border-color: #cef79e; }
.ds-dot { width: 6px; height: 6px; border-radius: 50%; background: #cef79e; }

/* Responsive */
@media (max-width: 1120px) {
  .theme-lab .nav ul { background: var(--ink); gap: 14px; }
  .theme-lab .nav ul a:not(.btn) { font-size: 1rem; color: var(--paper); }
  .theme-lab .nav ul .nav-legal { border-top-color: var(--graphite); }
  .theme-lab .nav ul .nav-legal a { color: var(--lichen); }
  .theme-lab .btn-small { margin-left: 0; }
}
@media (max-width: 1000px) {
  .theme-lab .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .theme-lab .stat { text-align: left; }
  .theme-lab .stat:nth-child(-n+2) { border-bottom-color: var(--graphite); }
}
@media (max-width: 760px) {
  .theme-lab .hero { padding-top: 120px; }
  .theme-lab .lead, .theme-lab .section-sub { font-size: 19px; }
  .theme-lab .card, .theme-lab .tuning, .theme-lab .offer { padding: 28px; }
  .theme-lab .limits, .theme-lab .webd, .theme-lab .contact-box { border-radius: 24px; }
  .draft-switch { left: 8px; right: 8px; bottom: 8px; justify-content: center; }
}

/* ---------- Rechtstexte (Impressum, Datenschutz, 404) ---------- */
.theme-lab .legal { background: var(--bone); padding: 150px 0 110px; }
.theme-lab .legal h1 { font-size: clamp(48px, 7vw, 89px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 40px; }
.theme-lab .legal h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.006em; margin-top: 2.2em; }
.theme-lab .legal h3 { font-size: 22px; }
.theme-lab .legal p, .theme-lab .legal li { color: var(--graphite); font-size: 18px; line-height: 1.45; }
.theme-lab .legal strong { color: var(--ink); }
.theme-lab .legal a:not(.btn) { color: var(--ink); text-decoration-color: var(--lichen); }
.theme-lab .legal a:not(.btn):hover { text-decoration-color: var(--ink); }
.theme-lab .legal-card { background: var(--paper); border: 1px solid var(--lichen); border-radius: 20px; padding: 32px 36px; }
.theme-lab .legal .callout, .theme-lab .legal .ai-box { border-left: 1px solid var(--lichen); background: var(--paper); }
.theme-lab .legal .ai-box { position: relative; }
.theme-lab .legal .ai-box::before { content: ""; position: absolute; top: 34px; left: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); outline: 1px solid rgba(34, 47, 48, .25); }
.theme-lab .legal .stand { font-family: var(--mono); font-size: 13px; color: var(--graphite); }
.theme-lab .legal mark { background: var(--lime); color: var(--ink); }
.theme-lab .nav .btn-small { margin-left: 0; }

/* 404-Seite */
.theme-lab .notfound { min-height: 100vh; display: flex; align-items: center; background: var(--ink); color: var(--paper); padding: 140px 0 80px; }
.theme-lab .notfound h1 { font-size: clamp(56px, 10.6vw, 158px); line-height: 1; letter-spacing: -0.03em; color: var(--paper); margin: 0 0 32px; }
.theme-lab .notfound p:not(.kicker) { color: var(--mist); font-size: 22px; max-width: 560px; margin-bottom: 40px; }

/* Stabile Höhen auf kleinen Bildschirmen */
@media (max-width: 900px) {
  .theme-lab .plsql-prof { grid-template-columns: 1fr; }
  .theme-lab .pm b { font-size: clamp(28px, 8vw, 48px); }
  .theme-lab .pm .pm-mode { font-size: 17px; min-height: 0; }
}
@media (max-width: 520px) {
  .theme-lab .plsql-steps { flex-wrap: nowrap; }
  .theme-lab .plsql-steps li { font-size: 11px; padding: 4px 9px; white-space: nowrap; }
  .theme-lab .plsql-steps li::before { margin-right: 6px; }
}

/* Sprach-Hinweis „DE · EN“ */
.theme-lab .lang-tag { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; color: var(--graphite); }
.theme-lab .lang-tag span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border: 1px solid var(--lichen); border-radius: 6px; color: var(--ink); }
.theme-lab .lang-tag span + span { background: var(--lime); border-color: var(--lime); margin-right: 4px; }

/* ---------- Sprachumschalter DE | EN ---------- */
.theme-lab .nav nav { display: flex; align-items: center; gap: 12px; }
.theme-lab #nav-menu { order: 1; }
.theme-lab .lang-switch { order: 2; }
.theme-lab .nav-toggle { order: 3; }
.theme-lab .lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--graphite); border-radius: 10px; }
.theme-lab .lang-switch a { font-family: var(--mono); font-size: 12px; letter-spacing: -0.02em; line-height: 1; padding: 6px 8px; border-radius: 7px; color: var(--lichen); text-decoration: none; transition: background .2s, color .2s; }
.theme-lab .lang-switch a:hover { color: var(--paper); }
.theme-lab .lang-switch a.active { background: var(--lime); color: var(--ink); }
.theme-lab .nav-right { display: flex; align-items: center; gap: 12px; }

/* Texte aus dem Stylesheet in der jeweiligen Sprache */
html[lang="en"] .aud b::before { content: "For "; }
html[lang="en"] .theme-lab .flow-scan::after { content: "AI"; }

/* ==========================================================
   Kontaktformular
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.theme-lab .contact-box { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; text-align: left; padding: clamp(32px, 5vw, 64px); }
.theme-lab .contact-box .section-sub { margin-inline: 0; }
.theme-lab .contact-intro h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; }
.theme-lab .mail-spaced { margin: 28px 0 0; font-family: var(--mono); font-size: 15px; letter-spacing: 0; color: var(--paper); white-space: nowrap; }
@media (max-width: 520px) { .theme-lab .mail-spaced { font-size: 13px; } }
.theme-lab .mail-spaced span { display: block; margin-bottom: 6px; font-size: 13px; color: var(--mist); }
.mail-spaced-inline { font-family: var(--mono, monospace); letter-spacing: 0; white-space: nowrap; }

.theme-lab .cform { display: grid; gap: 16px; }
.theme-lab .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.theme-lab .cf-field { display: grid; gap: 6px; }
.theme-lab .cf-field > span, .theme-lab .cf-cap-title { font-family: var(--mono); font-size: 13px; letter-spacing: -0.02em; color: var(--mist); }
.theme-lab .cf-field i, .theme-lab .cf-cap-title i { font-style: normal; color: var(--lime); }
.theme-lab .cf-field em { font-style: normal; color: #7f8b8a; }
.theme-lab .cform input, .theme-lab .cform textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--paper); background: rgba(255, 255, 255, .03);
  border: 1px solid var(--graphite); border-radius: 8px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.theme-lab .cform textarea { min-height: 140px; resize: vertical; }
.theme-lab .cform input::placeholder { color: #6f7b7a; }
.theme-lab .cform input:focus, .theme-lab .cform textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(206, 247, 158, .15); }
.theme-lab .cform .is-invalid { border-color: #ff9b8f; }
.theme-lab .cf-trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.theme-lab .cf-captcha { display: grid; gap: 6px; }
.theme-lab .cf-cap-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.theme-lab .cf-cap-img { width: 220px; height: 64px; display: grid; place-items: center; border-radius: 8px; background: var(--bone); color: var(--ink); overflow: hidden; }
.theme-lab .cf-cap-img svg { display: block; width: 220px; height: 64px; }
.theme-lab .cf-cap-loading { font-family: var(--mono); font-size: 12px; color: var(--graphite); padding: 0 10px; text-align: center; }
.theme-lab .cf-cap-new { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: transparent; border: 1px solid var(--graphite); color: var(--paper); cursor: pointer; transition: border-color .2s; }
.theme-lab .cf-cap-new:hover { border-color: var(--lime); }
.theme-lab .cf-cap-new svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-lab .cf-cap-new.spin svg { animation: capSpin .6s var(--ease); }
@keyframes capSpin { to { transform: rotate(360deg); } }
.theme-lab .cf-cap-ans { width: 130px; }
.theme-lab .cf-note { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--mist); }
.theme-lab .cf-note a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--graphite); text-underline-offset: 3px; }
.theme-lab .cf-send { justify-self: start; }
.theme-lab .cf-send[disabled] { opacity: .6; cursor: wait; }
.theme-lab .cf-status { margin: 0; min-height: 1.4em; font-family: var(--mono); font-size: 13px; color: var(--mist); }
.theme-lab .cf-status.is-error { color: #ff9b8f; }
.theme-lab .cf-status.is-ok { color: var(--lime); }

@media (max-width: 1000px) {
  .theme-lab .contact-box { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .theme-lab .cf-row { grid-template-columns: 1fr; }
  .theme-lab .cf-cap-img, .theme-lab .cf-cap-img svg { width: 190px; height: 56px; }
}
