/* HELLO XR – Styles (mobile first, hell/dunkel, keine externen Ressourcen) */
:root {
  --bg: #ffffff; --surface: #ffffff; --soft: #f3f4ff; --ink: #0b0b2b; --muted: #5b5f7e; --line: #e6e8f5;
  --brand: #3b3bff; --brand2: #8b2cff; --cyan: #12b5ff; --ok: #12b76a;
  --grad: linear-gradient(135deg, #12b5ff, #3b3bff 48%, #8b2cff);
  --r: 18px; --shadow: 0 6px 24px rgba(59, 59, 255, .06);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Nirmala UI", sans-serif;
}
[data-theme="dark"] {
  --bg: #090a1d; --surface: #13152e; --soft: #1a1d3d; --ink: #eef0ff; --muted: #a3a8cf; --line: #262a52;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45); --brand: #6b73ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-text-size-adjust: 100%; }
img, canvas, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 8px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 14px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: .01em; font-size: 1.15rem; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark { width: 30px; height: 30px; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 10px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.hdr-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.icon-btn:hover { background: var(--soft); }
.langsel { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 10px 0 34px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.langsel > span { position: absolute; left: 10px; display: grid; pointer-events: none; color: var(--muted); }
.langsel select { appearance: none; border: 0; background: transparent; padding-right: 4px; font-size: .9rem; cursor: pointer; }
.langsel option { color: #111; }
@media (max-width: 899px) {
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; padding: 12px 16px 18px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open a { padding: 14px 12px; font-size: 1.05rem; }
}
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } .hdr-tools { margin-left: 8px; } }

/* Buttons, Chips, Badges */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 0; background: var(--grad); color: #fff; font-weight: 600; box-shadow: 0 8px 22px rgba(59, 59, 255, .3); transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; white-space: nowrap; transition: .15s; }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--brand); font-size: .75rem; font-weight: 600; }
.badge.ok { background: rgba(18, 183, 106, .14); color: var(--ok); }
.badge .ic { width: 1em; height: 1em; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: .85rem; letter-spacing: .02em; }
.hint { color: var(--muted); font-size: .85rem; }

/* Hero */
.hero { background: radial-gradient(760px 380px at 88% 0%, rgba(139, 44, 255, .10), transparent 65%), #fff; padding: 28px 0 6px; }
.hero-in { display: grid; gap: 8px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 7.4vw, 4.2rem); font-weight: 800; margin: 12px 0 16px; }
.hero h1 em { font-style: normal; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-visual { position: relative; min-height: 300px; height: 44vw; max-height: 480px; }
.hero-visual canvas { position: relative; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.glow { position: absolute; inset: 14% 10%; border-radius: 50%; background: var(--grad); filter: blur(80px); opacity: .16; }
.drag-hint { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); font-size: .75rem; color: var(--muted); padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--surface) 80%, transparent); }
@media (min-width: 900px) { .hero { padding: 56px 0 12px; } .hero-in { grid-template-columns: 1.05fr .95fr; } }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(18px); }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(6, 1fr); } }
.tile { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px; border: 0; background: transparent; border-radius: 14px; text-align: center; }
.tile:hover { background: var(--soft); }
.tile .ic { width: 28px; height: 28px; color: var(--brand); margin-bottom: 4px; }
.tile b { font-size: .95rem; }
.tile small { color: var(--muted); font-size: .72rem; }

/* Sections */
.band { padding: 54px 0 4px; }
.h-sm { font-size: 1.15rem; margin-bottom: 14px; }
.sec { padding: 56px 0; }
.sec.alt { background: #fff; border-block: 1px solid var(--line); }
.sec-h { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.sec-h h2 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); font-weight: 800; }
.sec-h p { color: var(--muted); margin-top: 6px; }
.grid { display: grid; gap: 14px; }
.themes { grid-template-columns: 1fr; }
.mods { grid-template-columns: 1fr; }
.tools { grid-template-columns: 1fr; }
@media (min-width: 600px) { .themes, .mods, .tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .themes, .tools { grid-template-columns: repeat(3, 1fr); } .mods { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .themes { grid-template-columns: repeat(4, 1fr); } }

/* Cards */
.card { --h: 235; position: relative; display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
a.card:hover, button.card:hover { transform: translateY(-3px); border-color: hsl(var(--h) 90% 60%); }
.card h3 { font-size: 1.1rem; } .card h4 { font-size: .98rem; line-height: 1.3; }
.card p { color: var(--muted); font-size: .92rem; }
.card .meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: .85rem; }
.card .num { position: absolute; top: 16px; right: 18px; font-size: .8rem; font-weight: 700; color: var(--muted); opacity: .6; }
.ic-wrap { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: hsl(var(--h) 85% 52%); background: hsl(var(--h) 100% 60% / .13); font-size: 1.2rem; font-weight: 700; }
.ic-wrap .ic { width: 24px; height: 24px; }
.ic-wrap.sm { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.theme.rec { border-color: hsl(var(--h) 90% 58%); box-shadow: 0 0 0 3px hsl(var(--h) 100% 60% / .22), var(--shadow); }
.theme.more { align-items: center; justify-content: center; text-align: center; border-style: dashed; background: transparent; box-shadow: none; color: var(--muted); }
.mod { flex-direction: row; align-items: center; gap: 14px; padding: 16px; }
.mod small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.lvl { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: .75rem; color: var(--muted); }
.lvl i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.lvl i.on { background: var(--brand); }
.tool .badge { position: absolute; top: 20px; right: 18px; }
.empty { color: var(--muted); padding: 24px 0; }
.searchbar { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 50px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; }
.searchbar input { flex: 1; border: 0; background: transparent; outline: none; height: 100%; }
.searchbar > span { display: grid; color: var(--muted); }

/* 3D Lab */
.lab { display: grid; gap: 16px; }
@media (min-width: 900px) { .lab { grid-template-columns: 1.4fr 1fr; } }
.lab-view { position: relative; height: 340px; border-radius: var(--r); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--brand) 18%, var(--surface)), var(--surface)); border: 1px solid var(--line); overflow: hidden; }
@media (min-width: 900px) { .lab-view { height: 440px; } }
.lab-view canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.stats { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; }
.stats span { padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); font-size: .8rem; }
.lab-ctl { display: flex; flex-direction: column; gap: 18px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ctl > label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
input[type=range] { width: 100%; accent-color: var(--brand); }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; }
.switch input { position: absolute; opacity: 0; }
.sw { width: 42px; height: 24px; border-radius: 99px; background: var(--line); position: relative; transition: .2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + .sw { background: var(--brand); }
.switch input:checked + .sw::after { transform: translateX(18px); }
.switch input:focus-visible + .sw { outline: 3px solid var(--cyan); }

/* Panels, Tabs, Checks */
.panel { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 700px) { .panel { padding: 26px; } }
.tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { border: 0; background: transparent; padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab.on { color: var(--brand); border-color: var(--brand); }
.split { display: grid; gap: 20px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.4fr 1fr; } .split.one { grid-template-columns: 1fr 1fr; } }
.q { margin-bottom: 18px; }
.q h4 { font-size: 1rem; margin-bottom: 10px; font-weight: 600; }
.q h4 span { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 99px; background: var(--soft); color: var(--brand); font-size: .72rem; font-weight: 700; vertical-align: 2px; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.opts.two { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .opts:not(.two) { grid-template-columns: repeat(4, 1fr); } }
.opt { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: .85rem; transition: .15s; }
.opt i { font-style: normal; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: .7rem; font-weight: 700; color: var(--brand); }
.opt:hover { border-color: var(--brand); }
.opt.on { background: var(--grad); color: #fff; border-color: transparent; }
.opt.on i { background: rgba(255, 255, 255, .25); color: #fff; }
.res { align-self: start; padding: 20px; border-radius: var(--r); background: var(--soft); display: flex; flex-direction: column; gap: 10px; position: sticky; top: 80px; }
.score { display: flex; align-items: baseline; gap: 10px; }
.score b { font-size: 2.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score span { color: var(--muted); font-size: .9rem; }
.lvl-t { font-weight: 700; font-size: 1.1rem; }
.bar { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.bar > div, .prog > div { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i, .prog i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width .35s; }
.next small { display: block; color: var(--muted); }
.nextlink { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; }
.prog { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: .85rem; color: var(--muted); }
.prog > div { flex: 1; }
.cl { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cl label { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; }
.cl label:hover { border-color: var(--brand); }
.cl input { position: absolute; opacity: 0; }
.box { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; border: 2px solid var(--line); color: transparent; transition: .15s; }
.box .ic { width: 16px; height: 16px; stroke-width: 3; }
.cl input:checked + .box { background: var(--grad); border-color: transparent; color: #fff; }
.cl input:checked ~ .tx { color: var(--muted); text-decoration: line-through; }
.cl input:focus-visible + .box { outline: 3px solid var(--cyan); }

/* Dialog */
.dlg { border: 0; padding: 28px; width: min(440px, 92vw); border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.dlg::backdrop { background: rgba(10, 10, 40, .55); backdrop-filter: blur(4px); }
.dlg-x { position: absolute; top: 12px; right: 12px; }
.dlg-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 14px; }
.dlg-ic .ic { width: 28px; height: 28px; }
.dlg h3 { font-size: 1.5rem; margin-bottom: 8px; } .dlg h3 span { font-size: .9rem; color: var(--muted); font-weight: 500; }
.dlg p { color: var(--muted); margin-bottom: 18px; }

/* Detailseite */
.detail { padding: 24px 0 56px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; margin-bottom: 18px; }
.back .flip { transform: scaleX(-1); }
.d-hero { display: grid; gap: 20px; align-items: center; margin-bottom: 28px; }
@media (min-width: 900px) { .d-hero { grid-template-columns: 1.2fr 1fr; } }
.d-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; margin: 8px 0 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.d-visual { height: 300px; border-radius: var(--r); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--brand) 18%, var(--surface)), var(--surface)); border: 1px solid var(--line); }
.d-visual canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.detail h2 { font-size: 1.3rem; margin-bottom: 14px; }
.detail section { margin-bottom: 28px; }
.expect { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.expect li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--soft); }
.expect .ic { color: var(--brand); }
.note { color: var(--muted); font-size: .9rem; }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 32px 0; background: var(--surface); }
.ftr-in { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.ftr p { color: var(--muted); font-size: .88rem; margin-top: 8px; max-width: 48ch; }
.ftr-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; }
.ftr-meta .badge { padding: 4px; }
.sep { opacity: .5; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .hdr, .hero-visual, .lab, #tools { display: none; } }

/* Mobile-Header: Logo nie umbrechen, Platz sparen */
.logo { white-space: nowrap; }
@media (max-width: 520px) { #hsearch { display: none; } .langsel { padding-right: 6px; } .hdr-tools { gap: 4px; } .logo { font-size: 1.05rem; } }

/* Weißes Design mit blau-violetten Akzenten */
:root { --brand: #3b3bff; --brand2: #7c2cff; --grad: linear-gradient(135deg, #2f8bff, #3b3bff 50%, #7c2cff); }
.card, .panel, .lab-view, .lab-ctl, .tiles, .d-visual { box-shadow: 0 6px 24px rgba(59,59,255,.06); }
.lab-view, .d-visual { background: radial-gradient(circle at 50% 42%, #f1f2ff, #fff 70%); }
[data-theme="dark"] .lab-view, [data-theme="dark"] .d-visual { background: radial-gradient(circle at 50% 42%, #1c1f45, var(--surface) 70%); }
[data-theme="dark"] .hero, [data-theme="dark"] .sec.alt { background: var(--bg); }
.ic-wrap { color: var(--brand); background: #eef0ff; }
[data-theme="dark"] .ic-wrap { background: rgba(107,115,255,.16); }
.btn.ghost { color: var(--brand); border-color: #cfd3ff; }
.res { background: #f5f6ff; }
[data-theme="dark"] .res { background: var(--soft); }
.nav a { color: #2a2d55; }
[data-theme="dark"] .nav a { color: var(--muted); }

/* Größere Kacheln */
.themes { grid-template-columns: 1fr; gap: 18px; }
.mods, .tools { grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .themes, .mods, .tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .themes, .mods, .tools { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .themes { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 28px; gap: 10px; border-radius: 22px; }
.theme, .tool { min-height: 230px; }
.theme h3, .tool h3 { font-size: 1.25rem; }
.theme p, .tool p { font-size: .96rem; }
.ic-wrap.lg { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 8px; }
.ic-wrap.lg .ic { width: 30px; height: 30px; }
.mod { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 200px; padding: 26px; }
.mod h4 { font-size: 1.15rem; }
.mod .lvl { margin-top: auto; }
.tool .badge { top: 28px; right: 26px; }
.card .num { top: 24px; right: 26px; font-size: .9rem; }
.card:hover { box-shadow: 0 14px 36px rgba(59,59,255,.14); }

/* Modul-Filter: Kacheln ohne seitliches Scrollen */
.filters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
@media (min-width: 640px) { .filters { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .filters { grid-template-columns: repeat(4, 1fr); } }
.ftile { --h: 235; display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: .15s; }
.ftile:hover { border-color: hsl(var(--h) 90% 60%); transform: translateY(-1px); }
.ftile b { display: block; font-size: .92rem; line-height: 1.25; }
.ftile small { color: var(--muted); font-size: .75rem; }
.ftile.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 22px rgba(59,59,255,.28); }
.ftile.on small { color: rgba(255,255,255,.85); }
.ftile.on .ic-wrap { background: rgba(255,255,255,.2); color: #fff; }

/* Tool-Seiten */
.tool-head { margin-bottom: 26px; }
.t-title { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.t-title h1 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); font-weight: 800; }
#toolApp .lab-view { height: 380px; }
@media (min-width: 900px) { #toolApp .lab-view { height: 520px; } }
.filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .filters { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ftile { min-width: 0; padding: 12px; gap: 10px; } .ftile > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.ftile .ic-wrap.sm { width: 34px; height: 34px; }
.grid > * { min-width: 0; }

[hidden] { display: none !important; }

.levels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 22px; }
.lv-label { font-size: .85rem; font-weight: 600; color: var(--muted); margin-right: 4px; }

/* Spotlight Smart Glasses */
.spot-sec { padding: 8px 0 8px; }
.spot { display: grid; gap: 8px; align-items: center; padding: 28px; border-radius: 28px; border: 1px solid #d9dcff; background: linear-gradient(135deg, #f6f7ff 0%, #efeaff 100%); box-shadow: 0 14px 40px rgba(59,59,255,.10); overflow: hidden; }
[data-theme="dark"] .spot { background: linear-gradient(135deg, #14173a, #1d1646); border-color: var(--line); }
.spot h2 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; margin: 12px 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spot-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.spot-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.spot-list li > span:first-child { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; flex: none; }
.spot-list .ic { width: 15px; height: 15px; stroke-width: 3; }
.spot-visual { position: relative; height: 280px; }
.spot-visual canvas { width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
@media (min-width: 900px) { .spot { grid-template-columns: 1.05fr .95fr; padding: 44px 52px; } .spot-visual { height: 360px; } }
.mod.featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 12px 32px rgba(59,59,255,.16); }
.badge.star { background: var(--grad); color: #fff; position: absolute; top: 22px; right: 22px; }
@media (min-width: 640px) { .mod.featured { grid-column: span 2; } }
@media (min-width: 1000px) { .mod.featured { grid-column: span 1; } }

/* 3D-Modell (model-viewer) */
model-viewer { width: 100%; height: 100%; display: block; background: transparent; --poster-color: transparent; --progress-bar-color: #3b3bff; outline: none; }
.model-on canvas { display: none; }
.ftr-in .credit { flex-basis: 100%; color: var(--muted); font-size: .78rem; margin: 0; }
.ftr-in .credit a { color: var(--brand); text-decoration: underline; }
model-viewer::part(default-progress-bar) { display: none; }

.hero-visual model-viewer { position: absolute; inset: 0; z-index: 1; transition: opacity .6s; }
.hero-visual .drag-hint { z-index: 2; }

/* Footer: Rechtliches + Betreiberdaten */
.ftr-legal { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--muted); }
.ftr-legal nav { display: flex; gap: 8px; flex-wrap: wrap; font-weight: 600; }
.ftr-legal a { color: var(--brand); }
.ftr-legal address { font-style: normal; overflow-wrap: anywhere; }
.legal { max-width: 78ch; padding-top: 24px; padding-bottom: 48px; }
.legal h1 { margin: 12px 0 8px; }
.legal section { margin-top: 24px; }
.legal h2 { font-size: 1.1rem; margin-bottom: 6px; }
.legal p { line-height: 1.65; overflow-wrap: anywhere; }
.legal a { color: var(--brand); text-decoration: underline; }
.legal .note { color: var(--muted); font-size: .88rem; }
