/*
Theme Name: J.P.M. AI
Theme URI: https://jpmai.de
Author: J.P.M. AI
Description: Dunkles Premium-Tech-Theme für jpmai.de nach J.P.M.-Brand-Guidelines (Violett #5B2EE0, Ring-Logo) – Inter selbst gehostet, Glow-Akzente, Glas-Karten, animierte Visuals. Beim Aktivieren werden Startseite, Lösungsseiten und Menü automatisch angelegt.
Version: 3.6.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: jpmai
*/

/* ---------- Schriften (OFL, im Theme gehostet – kein externer Aufruf) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --bg: #07090d;
  --bg-2: #0c1016;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);
  --ink: #f2f4f8;
  --muted: #a39dba;
  --muted-2: #6f6a85;
  --accent: #5B2EE0;        /* Brand: Violett */
  --accent-2: #A78BFA;      /* Violett hell (Text & Verläufe auf Dunkel) */
  --accent-deep: #4A22C2;   /* Violett dunkel (Hover, Text auf Hell) */
  --violet: #8B85A3;        /* Brand: Sekundär (Lavendel-Grau) */
  --ring: #5B2EE0;          /* Brand: Violett (Logo-Ring) */
  --ring-light: #C6B6F7;    /* Violett hell (Verlauf im Ring) */
  --blue: #6E86C9;          /* Sekundärer Glow */
  --glow-a: rgba(91,46,224,.5);
  --glow-b: rgba(110,134,201,.35);
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --r: 20px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01", "tnum"; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
::selection { background: var(--accent); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); position: relative; }

/* Hintergrund: feines Raster + Vignette */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 100%); }

/* ---------- Typografie ---------- */
.display { font-size: clamp(40px, 6.6vw, 96px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.display-md { font-size: clamp(30px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.display-sm { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.grad { background: linear-gradient(92deg, #fff 0%, #d9ccfc 45%, #9B78F5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-blue { background: linear-gradient(92deg, #fff 0%, #d7d3e6 50%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--muted); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); display: inline-block; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7,9,13,.6); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.brand::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(45deg, var(--ring-light) 0%, #7C4DEA 55%, var(--ring) 100%); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); box-shadow: 0 0 18px -4px rgba(91,46,224,.75); }
.brand small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line-2); letter-spacing: 0; }
@media (max-width: 1000px) { .brand small { display: none; } }
.brand span { color: var(--muted); font-weight: 500; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a { font-size: 14.5px; color: var(--muted); font-weight: 500; padding: 8px 12px; border-radius: 10px; display: block; }
.nav a:hover, .nav .current-menu-item > a, .nav .current-menu-ancestor > a { color: var(--ink); background: var(--surface-2); }
.nav .sub-menu { display: none; }
.nav .menu-item-has-children { position: relative; }
.nav .menu-item-has-children:hover .sub-menu, .nav .menu-item-has-children:focus-within .sub-menu { display: grid; position: absolute; top: calc(100% + 6px); left: 0; padding: 8px; min-width: 320px;
  background: #0d0f16; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.6); z-index: 60; }
.nav .sub-menu li a { padding: 9px 12px; font-size: 14px; border-radius: 8px; }
.nav-cta a { color: #fff !important; background: var(--accent); font-weight: 600; margin-left: 8px; }
.nav-cta a:hover { background: var(--accent-2) !important; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 10px; font: 500 13px var(--sans); cursor: pointer; padding: 8px 12px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #0a0b11; border-bottom: 1px solid var(--line-2); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav a { padding: 12px 8px; font-size: 17px; color: var(--ink); }
  .nav .sub-menu, .nav .menu-item-has-children:hover .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 8px 12px; background: none; min-width: 0; }
  .nav .sub-menu li a { color: var(--muted); font-size: 15px; padding: 8px; }
  .nav-cta a { display: inline-block; margin: 8px 0 0; }
}

/* ---------- Layout ---------- */
.section { padding: clamp(72px, 9vw, 136px) 0; position: relative; overflow: clip; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; position: relative; overflow: clip; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 44px; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.7fr; gap: 72px; }  }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* Glows */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: -1; opacity: .9; }
.glow-a { background: var(--glow-a); }
.glow-b { background: var(--glow-b); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #06070b; padding: 15px 24px; border-radius: 12px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em;
  transition: transform .15s, box-shadow .2s, background .15s; border: 1px solid transparent; white-space: nowrap; }
.btn::after { content: "→"; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); background: var(--accent-2); color: #14093a; }
.btn:hover::after { transform: translateX(3px); }
.btn-accent { background: linear-gradient(135deg, #6E44E8, var(--accent)); color: #fff; box-shadow: 0 0 0 1px rgba(91,46,224,.5), 0 12px 40px -8px var(--glow-a); }
.btn-accent:hover { background: linear-gradient(135deg, #7C4DEA, #6A38E4); box-shadow: 0 0 0 1px rgba(91,46,224,.7), 0 16px 48px -6px var(--glow-a); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.actions .note { font-size: 13.5px; color: var(--muted); max-width: 30ch; line-height: 1.5; }
.link-arrow { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; }
.link-arrow::after { content: "→"; transition: transform .15s; color: var(--accent-2); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Karten ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: relative; overflow: hidden; transition: border-color .2s, transform .2s, background .2s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(600px 200px at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.08), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: var(--line-2); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
a.card:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vw, 140px) 0 clamp(48px, 6vw, 96px); position: relative; overflow: clip; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }
.hero .pill { margin-bottom: 28px; max-width: 100%; white-space: normal; }
.hero .lead { margin-top: 28px; }
.hero .actions { margin-top: 40px; }
.hero .glow-a { width: 760px; height: 560px; top: -200px; left: -200px; opacity: .7; }
.hero .glow-b { width: 640px; height: 520px; top: 40px; right: -260px; opacity: .5; }

/* Animiertes System-Panel */
.panel { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line-2); border-radius: 22px; padding: 22px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset; position: relative; }
.panel::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(91,46,224,.55), transparent 40%, transparent 60%, rgba(139,133,163,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.panel-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.panel-head .live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); }
.panel-head .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.flow { list-style: none; margin: 0; padding: 18px 0 0; display: grid; gap: 10px; }
.flow li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); opacity: .45; transform: translateX(-4px); transition: opacity .5s, transform .5s, border-color .5s; }
.flow li.on { opacity: 1; transform: none; border-color: rgba(255,255,255,.14); }
.flow .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.flow li.on .ic { background: linear-gradient(135deg, #6E44E8, var(--accent)); color: #fff; box-shadow: 0 0 20px -4px var(--glow-a); }
.flow .t { font-size: 14.5px; font-weight: 500; display: block; }
.flow .s { font-size: 12.5px; color: var(--muted); margin-top: 2px; display: block; }
.flow .st { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.flow li.on .st { color: var(--accent-2); }
.panel-foot { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
@media (min-width: 480px) { .panel-foot { grid-template-columns: repeat(3, 1fr); } }
.panel-foot div { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.panel-foot b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.panel-foot span { font-size: 11.5px; color: var(--muted); font-family: var(--mono); }

/* ---------- Logos / Vertrauen ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: "✓"; color: var(--accent-2); font-weight: 700; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; gap: 16px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats .card { padding: 32px 28px; }
.stats .num { font-size: clamp(40px, 4.6vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stats p { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 30ch; }

/* ---------- Bento: Lösungen ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .wide { grid-column: span 2; } }
.bento .card { display: flex; flex-direction: column; min-height: 220px; }
.bento .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bento h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.02em; margin-top: 44px; }
.bento p { color: var(--muted); font-size: 15px; margin-top: 10px; flex: 1; }
.bento .go { margin-top: 20px; font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.bento .go::after { content: "→"; color: var(--accent-2); transition: transform .15s; }
.bento .card:hover .go::after { transform: translateX(4px); }
.bento .tag { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.bento .featured { background: linear-gradient(160deg, rgba(91,46,224,.14), rgba(255,255,255,.03) 55%); border-color: rgba(91,46,224,.35); }
.bento .featured .tag { color: var(--accent-2); border-color: rgba(91,46,224,.55); }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 56px 0 24px; }
.group-head:first-of-type { margin-top: 32px; }
.group-head .lead { max-width: 60ch; font-size: 16px; }

/* ---------- Gründer ---------- */
.founder { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 0.75fr 1.25fr; gap: 64px; } }
.founder .photo { aspect-ratio: 4/5; border-radius: var(--r); border: 1px solid var(--line-2); background: radial-gradient(120% 90% at 30% 20%, rgba(91,46,224,.25), transparent 50%), radial-gradient(100% 80% at 80% 90%, rgba(139,133,163,.25), transparent 50%), #0d0f16; display: grid; place-items: center; text-align: center; color: var(--muted); font-family: var(--mono); font-size: 12.5px; padding: 24px; overflow: hidden; }
.founder .photo img { width: 100%; height: 100%; object-fit: cover; }
.founder blockquote { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; text-wrap: balance; }
.founder .who { margin-top: 24px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.founder .who b { color: var(--ink); font-weight: 600; }

/* ---------- Audit-Teaser ---------- */
.audit { border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: grid; gap: 32px; position: relative; overflow: hidden; border: 1px solid rgba(91,46,224,.35);
  background: radial-gradient(900px 400px at 10% 0%, rgba(91,46,224,.2), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(139,133,163,.18), transparent 60%), #0b0d14; }
@media (min-width: 900px) { .audit { grid-template-columns: 1.5fr 1fr; align-items: end; } }
.audit .specs { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.audit .specs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.audit .specs span { color: var(--muted); }
.audit .specs b { font-weight: 600; text-align: right; }

/* ---------- Passt / passt nicht ---------- */
.notfor { display: grid; gap: 16px; }
@media (min-width: 900px) { .notfor { grid-template-columns: 1fr 1fr; gap: 24px; } }
.notfor ul { list-style: none; padding: 0; margin: 20px 0 0; }
.notfor li { padding: 12px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 15.5px; color: var(--muted); }
.notfor li::before { font-weight: 700; }
.notfor .yes li::before { content: "✓"; color: var(--accent-2); }
.notfor .no li::before { content: "✕"; color: var(--muted-2); }
.notfor .yes li { color: var(--ink); }

/* ---------- Physische KI ---------- */
.physical { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .physical { grid-template-columns: 1fr 1fr; gap: 64px; } }
.physical .visual { aspect-ratio: 4/3; border-radius: var(--r); border: 1px solid var(--line-2); position: relative; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 60%, rgba(91,46,224,.3), transparent 70%), radial-gradient(40% 40% at 70% 30%, rgba(139,133,163,.3), transparent 70%), #0a0c13; }
.physical .visual img { width: 100%; height: 100%; object-fit: cover; }
.physical .visual .hint { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); font-family: var(--mono); font-size: 12.5px; padding: 24px; }
.physical .visual svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }

/* ---------- Use-Case-Seite ---------- */
.case-hero { padding: clamp(64px, 9vw, 128px) 0 clamp(40px, 5vw, 72px); position: relative; overflow: clip; }
.case-hero .glow-a { width: 600px; height: 400px; top: -120px; left: -200px; opacity: .4; }
.case-hero .eyebrow { margin-bottom: 24px; }
.case-hero .lead { margin-top: 24px; max-width: 54ch; }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.case-meta .pill b { color: var(--ink); font-weight: 600; }
.prose { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; max-width: 62ch; color: #cfd3db; }
.shot { border-radius: var(--r); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); aspect-ratio: 16/9; display: grid; place-items: center; text-align: center; padding: 32px; color: var(--muted); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; position: relative; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.shot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 40px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.shot::after { content: ""; position: absolute; top: 14px; left: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 18px 0 0 rgba(255,255,255,.25), 36px 0 0 rgba(255,255,255,.12); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 13px; color: var(--accent-2); padding-top: 4px; }
.steps h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; }
.kpi { margin-top: 36px; padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.kpi .num { font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.kpi p { margin-top: 10px; color: var(--muted); max-width: 34ch; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 0 20px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 17px; font-weight: 500; display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; text-align: right; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; max-width: 64ch; }
.next-cases { display: grid; gap: 12px; }
@media (min-width: 720px) { .next-cases { grid-template-columns: repeat(3, 1fr); } }
.next-cases .card { padding: 22px; font-weight: 500; font-size: 16px; }
.next-cases .n { font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: block; margin-bottom: 14px; }

/* ---------- Lösungs-Übersicht ---------- */
.solutions-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.solutions-list a { display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center; }
.solutions-list .n { font-family: var(--mono); color: var(--muted); font-size: 12.5px; }
.solutions-list .t { font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.02em; font-weight: 600; display: block; }
.solutions-list .c { color: var(--muted); margin-top: 6px; font-size: 15px; max-width: 70ch; display: block; }
.solutions-list .arrow { color: var(--accent-2); font-size: 22px; }
@media (max-width: 600px) { .solutions-list a { grid-template-columns: 1fr; gap: 6px; } .solutions-list .arrow { display: none; } }

/* ---------- CTA-Sektion ---------- */
.cta-final { text-align: center; }
.cta-final .display-md { max-width: 20ch; margin: 0 auto; }
.cta-final .actions { margin-top: 36px; justify-content: center; }
.cta-final .glow-a { width: 800px; height: 400px; left: 50%; transform: translateX(-50%); bottom: -200px; opacity: .45; }

/* ---------- Allgemeine Seiten ---------- */
.page-body { max-width: 72ch; color: #cfd3db; }
.page-body h2 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; margin: 48px 0 14px; color: var(--ink); font-weight: 600; }
.page-body h3 { font-size: 19px; margin: 28px 0 8px; color: var(--ink); font-weight: 600; }
.page-body p { margin: 0 0 16px; }
.page-body ul { padding-left: 20px; }
.page-body li { margin-bottom: 6px; }
.page-body strong { color: var(--ink); }
.placeholder { background: rgba(255,191,61,.18); color: #ffd98a; padding: 0 5px; border-radius: 4px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; } }
.contact-mail { font-size: clamp(20px, 2.6vw, 36px); letter-spacing: -0.02em; font-weight: 600; word-break: break-all; }
.contact-mail:hover { color: var(--accent-2); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: 15.5px; }
.contact-list .k { color: var(--muted); font-size: 13px; padding-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 36px; font-size: 13.5px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-footer .fbrand { display: flex; align-items: center; gap: 14px; }
.site-footer .fbrand .brand { font-size: 15px; }
.site-footer .fbrand span.sub { color: var(--muted-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Sticky CTA (mobil) ---------- */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(7,9,13,.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .25s; }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { width: 100%; justify-content: space-between; }
  body { padding-bottom: 76px; }
}

/* ---------- Animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .float { animation: float 7s ease-in-out infinite; }
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}

/* ---------- WordPress ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.alignwide, .alignfull { max-width: 100%; }

/* =========================================================
   HELLE VARIANTE
   Aktivieren: in functions.php  define( 'JPMAI_LIGHT', true );
   ========================================================= */
.theme-light {
  --bg: #ffffff;
  --bg-2: #f5f7f8;
  --surface: rgba(11,13,18,.028);
  --surface-2: rgba(11,13,18,.055);
  --line: rgba(11,13,18,.09);
  --line-2: rgba(11,13,18,.16);
  --ink: #0b0d12;
  --muted: #5c5a6e;
  --muted-2: #8B85A3;
  --glow-a: rgba(91,46,224,.30);
  --glow-b: rgba(139,133,163,.22);
}
.theme-light body { background: var(--bg); color: var(--ink); }
.theme-light body::before {
  background-image: linear-gradient(rgba(11,13,18,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,13,18,.045) 1px, transparent 1px);
}
.theme-light ::selection { background: var(--accent); color: #fff; }

/* Typografie */
.theme-light .grad { background: linear-gradient(92deg, #0b0d12 0%, #4A22C2 58%, #6E44E8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-light .grad-blue { background: linear-gradient(92deg, #0b0d12 0%, #6f6889 60%, #8B85A3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-light .eyebrow::before { box-shadow: none; }
.theme-light .pill { background: #fff; border-color: var(--line-2); box-shadow: 0 1px 2px rgba(11,13,18,.04); }
.theme-light .pill i { box-shadow: none; }

/* Header */
.theme-light .site-header { background: rgba(255,255,255,.8); }
.theme-light .nav .menu-item-has-children:hover .sub-menu,
.theme-light .nav .menu-item-has-children:focus-within .sub-menu { background: #fff; box-shadow: 0 24px 48px rgba(11,13,18,.12); }
.theme-light .brand::before { box-shadow: 0 0 14px -6px rgba(91,46,224,.6); }
.theme-light .nav-toggle { color: var(--ink); }
@media (max-width: 900px) { .theme-light .nav { background: #fff; } }

/* Buttons */
.theme-light .btn { background: var(--ink); color: #fff; }
.theme-light .btn:hover { background: var(--accent-deep); color: #fff; }
.theme-light .btn-accent { background: linear-gradient(135deg, #6E44E8, var(--accent)); color: #fff; box-shadow: 0 0 0 1px rgba(74,34,194,.25), 0 10px 30px -10px rgba(91,46,224,.55); }
.theme-light .btn-accent:hover { background: linear-gradient(135deg, #7C4DEA, #4A22C2); color: #fff; }
.theme-light .btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.theme-light .btn-ghost:hover { background: var(--surface-2); }
.theme-light .link-arrow::after { color: var(--accent-deep); }

/* Karten & Flächen */
.theme-light .card { background: #fff; box-shadow: 0 1px 2px rgba(11,13,18,.04); }
.theme-light .card::before { background: radial-gradient(600px 200px at var(--mx,50%) var(--my,0%), rgba(11,13,18,.05), transparent 60%); }
.theme-light .card:hover { background: #fff; border-color: var(--line-2); box-shadow: 0 12px 32px -12px rgba(11,13,18,.16); }

/* Hero-Panel */
.theme-light .panel { background: #fff; box-shadow: 0 30px 70px -30px rgba(11,13,18,.28); }
.theme-light .panel::after { background: linear-gradient(135deg, rgba(91,46,224,.7), transparent 40%, transparent 60%, rgba(139,133,163,.5)); }
.theme-light .flow li { background: #fff; }
.theme-light .flow li.on { background: #fbfcfc; border-color: rgba(11,13,18,.14); }
.theme-light .flow .ic { background: var(--surface-2); color: var(--muted); }
.theme-light .flow li.on .ic { background: linear-gradient(135deg, #6E44E8, var(--accent)); color: #fff; box-shadow: none; }
.theme-light .flow li.on .st, .theme-light .panel-head .live,
.theme-light .link-arrow::after, .theme-light .trust li::before, .theme-light .bento .go::after,
.theme-light .solutions-list .arrow, .theme-light .contact-mail:hover { color: var(--accent-deep); }
.theme-light .panel-head .live i { background: var(--accent-deep); box-shadow: none; }
.theme-light .panel-foot div { background: #fbfcfc; }

/* Audit-Teaser */
.theme-light .audit { border-color: rgba(74,34,194,.35);
  background: radial-gradient(900px 400px at 8% 0%, rgba(91,46,224,.16), transparent 62%), radial-gradient(700px 400px at 100% 100%, rgba(139,133,163,.14), transparent 62%), #fbfcfd; }

/* Lösungs-Karten */
.theme-light .bento .featured { background: linear-gradient(160deg, rgba(91,46,224,.14), #fff 58%); border-color: rgba(74,34,194,.3); }
.theme-light .bento .featured .tag { color: var(--accent-deep); border-color: rgba(91,46,224,.35); }

/* Use-Case-Seite */
.theme-light .prose { color: #3c3b49; }
.theme-light .shot { background: #fbfcfd; box-shadow: 0 24px 60px -30px rgba(11,13,18,.28); }
.theme-light .shot::before { background: rgba(11,13,18,.02); }
.theme-light .shot::after { box-shadow: 18px 0 0 rgba(11,13,18,.15), 36px 0 0 rgba(11,13,18,.08); }
.theme-light .steps li { background: #fff; }
.theme-light .steps li::before { color: var(--accent-deep); }
.theme-light .tags li { background: #fff; }
.theme-light .kpi { background: #fff; }
.theme-light .faq details { background: #fff; }
.theme-light .faq summary::after { color: var(--accent-deep); }

/* Physische KI */
.theme-light .physical .visual {
  background: radial-gradient(60% 50% at 50% 60%, rgba(91,46,224,.22), transparent 72%), radial-gradient(40% 40% at 72% 28%, rgba(139,133,163,.2), transparent 72%), #fbfcfd; }
.theme-light .physical .visual svg g[stroke] { stroke: rgba(11,13,18,.18); }

/* Gründerblock (falls wieder aktiviert) */
.theme-light .founder .photo { background: radial-gradient(120% 90% at 30% 20%, rgba(91,46,224,.2), transparent 55%), radial-gradient(100% 80% at 80% 90%, rgba(139,133,163,.18), transparent 55%), #f5f7f8; }

/* Passt / passt nicht */
.theme-light .notfor .yes li::before { color: var(--accent-deep); }
.theme-light .notfor li { color: var(--muted); }
.theme-light .notfor .yes li { color: var(--ink); }

/* Seiteninhalte */
.theme-light .page-body { color: #3c3b49; }
.theme-light .placeholder { background: #fff2c2; color: #6b5200; }
.theme-light .contact-mail:hover { color: var(--accent-deep); }

/* Footer & Sticky-CTA */
.theme-light .site-footer { border-top-color: var(--line); }
@media (max-width: 900px) { .theme-light .sticky-cta { background: rgba(255,255,255,.9); border-top-color: var(--line-2); } }
