/* Boxora Demo · gemeinsames Stylesheet
   Drei Looks über html[data-look]: kraft (Standard) · premium · bunt
   Sprachen über html[data-lang]: de · en (Texte stehen als Paare mit lang-Attribut im Markup) */


/* ============ Tokens ============ */
:root,
html[data-look="kraft"] {
  color-scheme: light;
  --bg: #F4EEE4;
  --bg-2: #EBE1D2;
  --surface: #FFFCF6;
  --surface-2: #F7F0E5;
  --surface-3: #EFE5D6;
  --ink: #1C1814;
  --ink-2: #51483E;
  --line: rgba(28, 24, 20, .12);
  --line-2: rgba(28, 24, 20, .24);
  --accent: #D13A1E;
  --accent-hover: #B5301A;
  --accent-text: #B5301A;
  --on-accent: #FFFFFF;
  --accent-soft: #F6DCD1;
  --kraft: #C29A6B;
  --kraft-2: #A9804F;
  --panel: #231C16;
  --panel-ink: #F6EFE5;
  --panel-ink-2: #CDBFAE;
  --panel-accent: #F08A6E;
  --ok: #256B40;
  --ok-soft: #DCEEDF;
  --warn: #8A4F08;
  --warn-soft: #F8E7C9;
  --focus: #1C1814;
  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w-display: 700;
  --ls-display: -0.035em;
  --lh-display: 1.02;
  --r-sm: 14px;
  --r: 24px;
  --r-btn: 999px;
  --sh-1: 0 1px 2px rgba(64, 40, 16, .06), 0 8px 22px -12px rgba(64, 40, 16, .18);
  --sh-2: 0 2px 6px rgba(64, 40, 16, .07), 0 26px 50px -22px rgba(64, 40, 16, .34);
  --head-bg: rgba(244, 238, 228, .86);
  --stage-glow: radial-gradient(closest-side, rgba(194, 154, 107, .42), rgba(194, 154, 107, 0));
  --c1: #D13A1E; --c2: #C29A6B; --c3: #2E7A4C; --c4: #1C1814; --c5: #E2A13B; --c6: #8A6A4A;
}

html[data-look="premium"] {
  color-scheme: dark;
  --bg: #0C0C0E;
  --bg-2: #111114;
  --surface: #16161A;
  --surface-2: #1C1C21;
  --surface-3: #24242A;
  --ink: #F2EEE7;
  --ink-2: #A9A39A;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .2);
  --accent: #D8B985;
  --accent-hover: #E7CEA4;
  --accent-text: #D8B985;
  --on-accent: #17130D;
  --accent-soft: rgba(216, 185, 133, .13);
  --kraft: #C49A6C;
  --kraft-2: #A9804F;
  --panel: #16161A;
  --panel-ink: #F2EEE7;
  --panel-ink-2: #A9A39A;
  --panel-accent: #D8B985;
  --ok: #7FD39B;
  --ok-soft: rgba(127, 211, 155, .12);
  --warn: #F0C27A;
  --warn-soft: rgba(240, 194, 122, .12);
  --focus: #D8B985;
  --f-display: "Geist", "Instrument Sans", system-ui, sans-serif;
  --f-text: "Instrument Sans", "Geist", system-ui, sans-serif;
  --w-display: 600;
  --ls-display: -0.045em;
  --lh-display: 1.0;
  --r-sm: 16px;
  --r: 28px;
  --r-btn: 999px;
  --sh-1: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 30px -14px rgba(0, 0, 0, .7);
  --sh-2: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(255, 255, 255, .06), 0 34px 70px -26px rgba(0, 0, 0, .9);
  --head-bg: rgba(12, 12, 14, .78);
  --stage-glow: radial-gradient(closest-side, rgba(216, 185, 133, .2), rgba(216, 185, 133, 0));
  --c1: #D8B985; --c2: #C47E52; --c3: #8FA89A; --c4: #F2EEE7; --c5: #B9A27A; --c6: #6F6A63;
}

html[data-look="bunt"] {
  color-scheme: light;
  --bg: #FFF8EC;
  --bg-2: #FFEFD6;
  --surface: #FFFFFF;
  --surface-2: #FFF4E2;
  --surface-3: #FFE9C7;
  --ink: #1A1A1F;
  --ink-2: #4A4A55;
  --line: rgba(26, 26, 31, .12);
  --line-2: rgba(26, 26, 31, .26);
  --accent: #FF5B37;
  --accent-hover: #FF7452;
  --accent-text: #B8321A;
  --on-accent: #1A1A1F;
  --accent-soft: #FFE0D6;
  --kraft: #C29A6B;
  --kraft-2: #A9804F;
  --panel: #1A1A1F;
  --panel-ink: #FFF8EC;
  --panel-ink-2: #D3CFC6;
  --panel-accent: #FFC83D;
  --ok: #17784A;
  --ok-soft: #D5F4E4;
  --warn: #8F5600;
  --warn-soft: #FFEDC2;
  --focus: #1A1A1F;
  --f-display: "Unbounded", "DM Sans", system-ui, sans-serif;
  --f-text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w-display: 650;
  --ls-display: -0.03em;
  --lh-display: 1.06;
  --r-sm: 18px;
  --r: 32px;
  --r-btn: 999px;
  --sh-1: 0 1px 2px rgba(26, 26, 31, .05), 0 10px 24px -14px rgba(26, 26, 31, .2);
  --sh-2: 0 2px 6px rgba(26, 26, 31, .06), 0 28px 50px -24px rgba(26, 26, 31, .3);
  --head-bg: rgba(255, 248, 236, .88);
  --stage-glow: radial-gradient(closest-side, rgba(255, 200, 61, .5), rgba(255, 200, 61, 0));
  --c1: #FF5B37; --c2: #FFC83D; --c3: #3DCB8E; --c4: #5BB8FF; --c5: #FF8FB8; --c6: #B8E35A;
}

:root {
  --gutter: 16px;
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-h1: clamp(2.35rem, 1.3rem + 4.4vw, 5.1rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 2.4vw, 3.25rem);
  --fs-h3: clamp(1.15rem, 1.02rem + .5vw, 1.42rem);
  --fs-lede: clamp(1.06rem, 1rem + .35vw, 1.28rem);
}
html[data-look="bunt"] { --fs-h1: clamp(2.05rem, 1.15rem + 3.7vw, 4.3rem); --fs-h2: clamp(1.6rem, 1.15rem + 2vw, 2.75rem); --fs-h3: clamp(1.08rem, 1rem + .4vw, 1.3rem); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* Sprachpaare: die jeweils andere Sprache ist weg */
html[data-lang="de"] body [lang="en"],
html[data-lang="en"] body [lang="de"] { display: none !important; }

/* ============ Grundlagen ============ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  min-height: 100vh;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
html.look-anim body, html.look-anim body * { transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease) !important; }
html[data-look="kraft"] body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .18 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .site-foot, .top { position: relative; z-index: 1; }
img, svg, canvas, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: var(--w-display); letter-spacing: var(--ls-display); line-height: var(--lh-display); color: var(--ink); text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.3; font-family: var(--f-text); font-weight: 650; }
h1 em, h2 em { font-style: normal; color: var(--accent-text); }
html[data-look="premium"] h1 em, html[data-look="premium"] h2 em { color: var(--accent); }
html[data-look="bunt"] h1 em, html[data-look="bunt"] h2 em { color: var(--ink); background: linear-gradient(transparent 58%, var(--c2) 58%, var(--c2) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
strong, b { font-weight: 650; }
small { font-size: .86em; }
.mono { font-family: var(--f-mono); font-size: .9em; letter-spacing: -0.01em; }
.muted { color: var(--ink-2); }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2); max-width: 38em; text-wrap: pretty; }
.label { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; font-weight: 650; color: var(--accent-text); margin-bottom: 14px; letter-spacing: -0.005em; }
.label::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
html[data-look="bunt"] .label::before { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section-tight { padding-block: clamp(44px, 6vw, 84px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); max-width: 760px; }
.section-head .lede { margin: 0; }
.split-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(28px, 4vw, 52px); }
.split-head > div { min-width: 0; max-width: 720px; }
.bg-2 { background: var(--bg-2); }
.bg-surface { background: var(--surface); }
html[data-look="premium"] .bg-2 { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ============ Icons ============ */
.i { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; }
.i-lg { width: 28px; height: 28px; }

/* ============ Knöpfe ============ */
.btn {
  --b-bg: var(--surface); --b-ink: var(--ink); --b-line: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  background: var(--b-bg); color: var(--b-ink); border: 1.5px solid var(--b-line);
  font: 600 1rem/1.15 var(--f-text); letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s;
  -webkit-tap-highlight-color: transparent; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-1); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i-go { transform: translateX(4px); }
.btn-primary { --b-bg: var(--accent); --b-ink: var(--on-accent); --b-line: var(--accent); }
.btn-primary:hover { --b-bg: var(--accent-hover); --b-line: var(--accent-hover); box-shadow: 0 12px 26px -12px var(--accent); }
.btn-dark { --b-bg: var(--ink); --b-ink: var(--bg); --b-line: var(--ink); }
.btn-ghost { --b-bg: transparent; }
.btn-ghost:hover { --b-bg: var(--surface); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .94rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.06rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
html[data-look="bunt"] .btn-primary:hover { transform: translateY(-2px) rotate(-1deg); }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1.5px; }
.link .i { transition: transform .25s var(--ease); }
.link:hover .i { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ============ Demo-Leiste + Kopf ============ */
.top { position: sticky; top: 0; z-index: 50; }
.demo-bar { background: var(--ink); color: var(--bg); font-size: .8rem; line-height: 1.2; }
html[data-look="premium"] .demo-bar { background: #1F1D1A; color: #EDE6DA; border-bottom: 1px solid rgba(255,255,255,.06); }
.db-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding-block: 4px; }
.db-note { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; }
.db-badge { flex: none; background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 3px 8px; border-radius: 6px; font-size: .74rem; letter-spacing: .01em; }
html[data-look="premium"] .db-badge { background: var(--accent); color: var(--on-accent); }
.db-txt { min-width: 0; opacity: .92; }
.db-long { display: none; }
@media (min-width: 720px) { .db-long { display: inline; } .db-short { display: none; } }
@media (max-width: 419px) { .demo-bar .seg-mini { gap: 1px; } .demo-bar .seg-mini button { padding: 6px 6px; } .demo-bar .db-ctrl { gap: 5px; } .db-in { gap: 6px; } .db-note { gap: 6px; } .db-badge { padding: 3px 6px; } .demo-bar { font-size: .76rem; } }
.db-ctrl { display: flex; align-items: center; gap: 8px; flex: none; }
.seg-mini { display: inline-flex; padding: 2px; border-radius: 999px; background: rgba(255,255,255,.12); gap: 2px; }
html[data-look="kraft"] .seg-mini, html[data-look="bunt"] .seg-mini { background: rgba(255,255,255,.14); }
.seg-mini button { appearance: none; border: 0; background: transparent; color: inherit; font: 600 .76rem/1 var(--f-text); padding: 6px 9px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; opacity: .78; transition: background-color .2s, opacity .2s, color .2s; }
.seg-mini button:hover { opacity: 1; }
.seg-mini button[aria-checked="true"] { background: var(--bg); color: var(--ink); opacity: 1; }
html[data-look="premium"] .seg-mini button[aria-checked="true"] { background: #EDE6DA; color: #141210; }
.seg-mini .lbl { display: none; }
@media (min-width: 560px) { .seg-mini .lbl { display: inline; } }
.look-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.look-dot.kraft { background: conic-gradient(#C29A6B 0 50%, #D13A1E 0); }
.look-dot.premium { background: conic-gradient(#121214 0 50%, #D8B985 0); }
.look-dot.bunt { background: conic-gradient(#FF5B37 0 33%, #FFC83D 0 66%, #3DCB8E 0); }
.seg-mini button[aria-checked="true"] .look-dot { box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); }

.site-head { background: var(--head-bg); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.sh-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
@media (min-width: 1200px) { .sh-in { min-height: 72px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; margin-right: auto; }
.brand-mark { width: 32px; height: 32px; flex: none; transition: transform .5s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-word { font-family: var(--f-display); font-weight: 700; font-size: 1.36rem; letter-spacing: -0.04em; line-height: 1; }
html[data-look="bunt"] .brand-word { font-size: 1.16rem; letter-spacing: -0.03em; }
.bm-a { fill: var(--accent); }
.bm-b { fill: var(--surface); }
.bm-c { stroke: var(--accent); }
html[data-look="premium"] .bm-b { fill: #0C0C0E; }
.main-nav { display: none; }
@media (min-width: 1200px) {
  .main-nav { display: flex; align-items: center; gap: 2px; margin-right: 8px; }
  .main-nav a { position: relative; white-space: nowrap; text-decoration: none; font-weight: 550; font-size: .95rem; color: var(--ink-2); padding: 10px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
  .main-nav a:hover { color: var(--ink); background: var(--surface-2); }
  .main-nav a[aria-current="page"] { color: var(--ink); }
  .main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); }
}
.sh-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.sh-portal { display: none; }
@media (min-width: 640px) { .sh-portal { display: inline-flex; } }
.sh-cta .t-long { display: none; }
@media (min-width: 420px) { .sh-cta .t-long { display: inline; } .sh-cta .t-short { display: none; } }
.menu-btn { appearance: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; }
.menu-btn .i { width: 22px; height: 22px; }
@media (min-width: 1200px) { .menu-btn { display: none; } }

.drawer { position: fixed; inset: 0; z-index: 80; display: grid; justify-items: end; visibility: hidden; pointer-events: none; }
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10, 8, 6, .42); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: relative; width: min(420px, 100%); height: 100%; overflow-y: auto; background: var(--surface); padding: 18px 22px 32px; transform: translateX(100%); transition: transform .42s var(--ease-out); display: flex; flex-direction: column; gap: 22px; box-shadow: var(--sh-2); }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer nav { display: grid; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 4px; text-decoration: none; font-family: var(--f-display); font-weight: var(--w-display); font-size: 1.4rem; letter-spacing: -0.03em; border-bottom: 1px solid var(--line); }
html[data-look="bunt"] .drawer nav a { font-size: 1.12rem; }
.drawer nav a[aria-current="page"] { color: var(--accent-text); }
.drawer .btn { width: 100%; }

/* Fester Gestalten-Knopf am Handy (erscheint erst beim Scrollen) */
.m-cta { position: fixed; z-index: 40; left: 50%; bottom: 16px; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; transition: transform .4s var(--ease-out), opacity .3s, visibility 0s .4s; box-shadow: var(--sh-2); }
.m-cta.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .4s var(--ease-out), opacity .3s; }
@media (min-width: 1200px) { .m-cta { display: none; } }

/* ============ Fuß ============ */
.site-foot { background: var(--panel); color: var(--panel-ink); padding: clamp(56px, 7vw, 96px) 0 28px; margin-top: 0; }
html[data-look="premium"] .site-foot { background: #08080A; border-top: 1px solid var(--line); }
.site-foot a { color: var(--panel-ink); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); } }
.foot-grid > * { min-width: 0; }
.foot-brand .brand { color: var(--panel-ink); margin: 0 0 16px; }
.foot-brand .bm-b { fill: var(--panel); }
.foot-brand p { color: var(--panel-ink-2); max-width: 30em; font-size: .96rem; }
.foot-col h4 { color: var(--panel-ink); font-size: .95rem; margin-bottom: 12px; }
.foot-col ul { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.foot-col li a { color: var(--panel-ink-2); }
.foot-col li a:hover { color: var(--panel-ink); }
.foot-role { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255,255,255,.06); color: var(--panel-ink); font-size: .92rem; line-height: 1.45; }
.foot-role .i { color: var(--panel-accent); margin-top: 2px; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; color: var(--panel-ink-2); font-size: .86rem; }
.foot-bottom p { margin: 0; }

/* ============ Karten, Raster ============ */
.card { position: relative; background: var(--surface); border-radius: var(--r); padding: clamp(20px, 2.4vw, 30px); box-shadow: var(--sh-1); min-width: 0; }
html[data-look="premium"] .card { border: 1px solid var(--line); box-shadow: none; }
.card-hover { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
html[data-look="premium"] .card-hover:hover { border-color: var(--line-2); }
.grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
.grid > * { min-width: 0; }
@media (min-width: 680px) { .g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stack { display: grid; gap: 12px; }
.chk { list-style: none; display: grid; gap: 10px; }
.chk li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.chk li .i { color: var(--accent-text); margin-top: 3px; }
html[data-look="premium"] .chk li .i { color: var(--accent); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 650; line-height: 1.3; background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.acc { background: var(--accent-soft); color: var(--accent-text); }
html[data-look="premium"] .badge.acc { color: var(--accent); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface-2); font-size: .94rem; line-height: 1.5; color: var(--ink); }
.note .i { margin-top: 2px; color: var(--accent-text); }
html[data-look="premium"] .note .i { color: var(--accent); }
.note p { margin: 0; }
.note.ok { background: var(--ok-soft); } .note.ok .i { color: var(--ok); }
.note.warn { background: var(--warn-soft); } .note.warn .i { color: var(--warn); }
.fn { font-size: .86rem; color: var(--ink-2); }
.placeholder-box { border: 2px dashed var(--line-2); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 8px; justify-items: start; color: var(--ink-2); background: transparent; }
.placeholder-box h3 { color: var(--ink); }

/* ============ Seitenkopf für Unterseiten ============ */
.page-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 15ch; }
.page-hero .lede { margin-top: 18px; }
.page-hero .btn-row { margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--ink-2); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.ph-split { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.ph-split > * { min-width: 0; }
@media (min-width: 960px) { .ph-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.ph-art { aspect-ratio: 5 / 4; border-radius: var(--r); background: var(--surface-2); position: relative; overflow: hidden; display: grid; place-items: center; }
.ph-art svg { width: 86%; height: auto; }

/* ============ Formulare ============ */
.form { display: grid; gap: 18px; }
.f-row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .f-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.f-row > * { min-width: 0; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field > label, .field > .flabel { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 450; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink);
  font: 400 1rem/1.4 var(--f-text); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input::placeholder, .textarea::placeholder { color: var(--ink-2); opacity: .75; }
.hint { font-size: .86rem; color: var(--ink-2); }
.err-msg { font-size: .86rem; color: var(--accent-text); font-weight: 600; display: none; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--accent-text); }
.field.invalid .err-msg { display: block; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.check.invalid { color: var(--accent-text); }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.choice { position: relative; display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s, background-color .2s; text-align: left; font: inherit; color: inherit; min-width: 0; }
.choice:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked), .choice[aria-pressed="true"], .choice[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice .c-t { font-weight: 650; line-height: 1.25; }
.choice .c-s { font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg button { appearance: none; border: 0; background: transparent; color: var(--ink-2); font: 600 .92rem/1 var(--f-text); padding: 10px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"], .seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
html[data-look="premium"] .seg button[aria-pressed="true"], html[data-look="premium"] .seg button[aria-selected="true"], html[data-look="premium"] .seg button[aria-checked="true"] { background: var(--surface-3); }
.range { width: 100%; accent-color: var(--accent); height: 28px; cursor: pointer; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ Häufige Fragen ============ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--sh-1); transition: box-shadow .3s; }
html[data-look="premium"] .faq details { border: 1px solid var(--line); box-shadow: none; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 14px; align-items: center; padding: 18px 20px; font-weight: 650; font-size: 1.04rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: transform .35s var(--ease-out), background-color .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--accent-soft); }
.faq .ans { padding: 0 20px 20px; color: var(--ink-2); max-width: 62em; }
.faq .ans p:last-child { margin: 0; }
.faq details[open] .ans { animation: ans-in .45s var(--ease-out); }
@keyframes ans-in { from { opacity: 0; transform: translateY(-6px); } }

/* ============ Prozess-Schritte (Start, Ablauf) ============ */
.proc { list-style: none; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); position: relative; counter-reset: p; }
.proc > li { position: relative; padding: 0 0 28px 62px; min-width: 0; }
.proc > li::before { counter-increment: p; content: counter(p); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 1.05rem/1 var(--f-display); background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); z-index: 1; }
html[data-look="premium"] .proc > li::before { border: 1px solid var(--line-2); box-shadow: none; background: var(--bg); }
.proc > li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line-2); transform-origin: top; }
.proc > li:last-child::after { display: none; }
.proc h3 { margin: 8px 0 6px; }
.proc p { color: var(--ink-2); margin: 0; }
.proc .dur { display: inline-flex; margin-top: 10px; }
@media (min-width: 1000px) {
  .proc { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
  .proc > li { padding: 64px 0 0; }
  .proc > li::after { left: 50px; right: -20px; top: 21px; bottom: auto; width: auto; height: 2px; transform-origin: left; }
  .proc.js-draw > li::after { transform: scaleX(0); transition: transform .9s var(--ease-out); }
  .proc.js-draw.in > li::after { transform: scaleX(1); }
  .proc.js-draw.in > li:nth-child(2)::after { transition-delay: .2s; }
  .proc.js-draw.in > li:nth-child(3)::after { transition-delay: .4s; }
  .proc.js-draw.in > li:nth-child(4)::after { transition-delay: .6s; }
}
.proc > li.hl::before { background: var(--accent); color: var(--on-accent); }

/* ============ Bewegung ============ */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
html.js .rv.rv-l { transform: translateX(-28px); }
html.js .rv.rv-s { transform: scale(.94); }
html.js .rv.in { opacity: 1; transform: none; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }
html.js main { animation: page-in .6s var(--ease-out) both; }
html.leaving main { opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease; }
::view-transition-old(root) { animation: .25s ease both vt-out; }
::view-transition-new(root) { animation: .45s var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html.js .rv, html.js .rv.rv-l, html.js .rv.rv-s { opacity: 1; transform: none; transition: none; }
  html.js main { animation: none; }
  .proc.js-draw > li::after { transform: none !important; transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
  .card-hover:hover, .btn:hover { transform: none; }
}

/* ============ Toast + Dialog ============ */
.toasts { position: fixed; z-index: 90; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: var(--ink); color: var(--bg); box-shadow: var(--sh-2); font-size: .95rem; line-height: 1.4; animation: toast-in .45s var(--ease-out); }
html[data-look="premium"] .toast { background: #EDE6DA; color: #141210; }
.toast .i { margin-top: 1px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.dlg { border: 0; padding: 0; border-radius: var(--r); background: var(--surface); color: var(--ink); width: min(560px, calc(100% - 32px)); box-shadow: var(--sh-2); max-height: calc(100vh - 48px); }
.dlg::backdrop { background: rgba(10, 8, 6, .5); }
.dlg[open] { animation: dlg-in .4s var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dlg-in { padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; }
.dlg-in h3 { font-size: 1.4rem; }
.dlg-x { position: absolute; top: 12px; right: 12px; }
.icon-btn { appearance: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .2s; }
.icon-btn:hover { background: var(--surface-3); transform: scale(1.05); }

/* ============ 3D-Bühnen ============ */
.stage { position: relative; isolation: isolate; border-radius: var(--r); overflow: hidden; touch-action: pan-y; }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; outline: none; opacity: 0; transition: opacity .8s var(--ease); }
.stage.ready canvas { opacity: 1; }
.stage .art-fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .6s var(--ease); }
.stage .art-fallback svg { width: min(78%, 520px); height: auto; }
.stage.ready .art-fallback { opacity: 0; pointer-events: none; }
.stage:focus-visible { outline-offset: -3px; }
.stage-glow { position: absolute; inset: 8% 10% 2%; background: var(--stage-glow); z-index: -1; pointer-events: none; }
.drag-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .82rem; font-weight: 600; box-shadow: var(--sh-1); white-space: nowrap; transition: opacity .5s; pointer-events: none; }
html[data-look="premium"] .drag-hint { background: rgba(28,28,33,.9); border: 1px solid var(--line); }
.stage.touched .drag-hint { opacity: 0; }
.stage:not(.ready) .drag-hint { display: none; }

/* ============ Produktkarten ============ */
.pcard { display: grid; text-decoration: none; color: inherit; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); min-width: 0; }
html[data-look="premium"] .pcard { border: 1px solid var(--line); box-shadow: none; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.pc-img { position: relative; aspect-ratio: 1 / .86; background: var(--pc-bg, var(--surface-2)); display: grid; place-items: center; overflow: hidden; }
html[data-look="premium"] .pc-img { background: radial-gradient(70% 60% at 50% 38%, #2A2722, #141417 75%); }
html[data-look="bunt"] .pc-img { background: var(--pc-bg, var(--surface-2)); }
.pc-img img, .pc-img svg { width: 84%; height: 84%; object-fit: contain; transition: transform .7s var(--ease-out); }
.pcard:hover .pc-img img, .pcard:hover .pc-img svg { transform: scale(1.06) rotate(-2.5deg); }
.pc-body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.pc-body h3 { font-size: 1.16rem; }
.pc-body p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; margin-top: 8px; font-size: .88rem; color: var(--ink-2); }
.pc-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ink); }
.pc-go .i { transition: transform .3s var(--ease-out); }
.pcard:hover .pc-go .i { transform: translateX(4px); }

/* ============ Abschluss-Fläche ============ */
.cta-panel { position: relative; overflow: hidden; border-radius: calc(var(--r) + 8px); background: var(--panel); color: var(--panel-ink); padding: clamp(32px, 6vw, 80px); display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
html[data-look="premium"] .cta-panel { background: radial-gradient(90% 120% at 85% 0%, rgba(216,185,133,.16), transparent 60%), #141417; border: 1px solid var(--line); }
html[data-look="bunt"] .cta-panel { background: var(--c4); color: var(--ink); }
@media (min-width: 900px) { .cta-panel { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
.cta-panel > * { min-width: 0; position: relative; }
.cta-panel h2 { color: inherit; max-width: 14ch; }
.cta-panel p { color: var(--panel-ink-2); max-width: 34em; margin: 16px 0 0; }
html[data-look="bunt"] .cta-panel p { color: #1A1A1F; }
.cta-panel .btn-row { justify-content: flex-start; }
.cta-panel .btn-ghost { --b-ink: var(--panel-ink); --b-line: rgba(255,255,255,.3); }
.cta-panel .btn-ghost:hover { --b-bg: rgba(255,255,255,.08); }
html[data-look="bunt"] .cta-panel .btn-ghost { --b-ink: #1A1A1F; --b-line: rgba(26,26,31,.4); }
.cta-deco { position: absolute; right: -70px; top: -90px; width: 340px; opacity: .1; pointer-events: none; }
.cta-deco path { fill: none; stroke: currentColor; stroke-width: .6; }
html[data-look="bunt"] .cta-deco { opacity: .25; }

/* ============ Tabellen ============ */
.tbl-wrap { overflow-x: auto; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--sh-1); }
html[data-look="premium"] .tbl-wrap { border: 1px solid var(--line); box-shadow: none; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.tbl th, .tbl td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-weight: 650; background: var(--surface-2); font-size: .88rem; }
.tbl tr:last-child td { border-bottom: 0; }
@media (max-width: 719px) {
  .tbl-wrap { overflow: visible; background: transparent; box-shadow: none; border: 0 !important; }
  .tbl { min-width: 0; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--sh-1); padding: 8px 16px; margin-bottom: 10px; }
  html[data-look="premium"] .tbl tr { border: 1px solid var(--line); box-shadow: none; }
  .tbl td { border: 0; padding: 7px 0; }
  .tbl td[data-l]::before { content: attr(data-l); display: block; font-size: .8rem; font-weight: 650; color: var(--ink-2); margin-bottom: 2px; }
}
.spec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.spec > div { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink-2); font-size: .94rem; }
.spec dd { margin: 0; font-weight: 550; }

/* ============ Rechtliches ============ */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin-bottom: 1em; }
.ph { background: var(--warn-soft); color: var(--warn); padding: 0 .3em; border-radius: 4px; font-weight: 600; }

/* Überlappungs-Schutz (LESSONS.md, K&P V14) */
html { overflow-wrap: break-word; }
h1, h2, h3, h4, .brand-word { hyphens: auto; overflow-wrap: anywhere; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; hyphenate-limit-chars: 12 5 5; }
address, a[href^="mailto:"], a[href^="tel:"] { overflow-wrap: anywhere; }
