/* Startseite (Entwurf 27.11.2026) — HUB-Public/startseite-neu.php
   Layout nach dem Landing-Entwurf des Owners; Ueberschriften in Inter wie auf
   der bisherigen Startseite; Schriften self-hosted; Logo als SVG-Sprite.
   Nur auf dieser Seite geladen, kein Bootstrap. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); 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: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin-ext.woff2') format('woff2'); 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('fonts/jetbrains-mono-latin.woff2') format('woff2'); }

:root {
  --bg: #ffffff;
  --soft: #f5f5f4;
  --soft-2: #fafaf9;
  --ink: #0b0b0c;
  --ink-2: #57575e;
  --ink-3: #8f8f96;
  --line: #e8e8e6;
  --amber: #fbbf24;      /* JoinOurServer brand accent */
  --amber-edge: #d4980a;
  --amber-text: #1c1400;
  --green: #10b981;
  --blurple: #5865f2;
  --head: "Inter", system-ui, -apple-system, sans-serif;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --surface: #ffffff;
  --art: #efefed;
  --art-hover: #e8e8e5;
  --hi: var(--hi);
  --text-2: #5d5d64;
  --track: var(--track);
  --bar: #c9c9c5;
  --bar-soft: #e3e3e0;
  --thumb: #ffffff;
  --accent-text: #b7791f;
  --accent-head: #d4980a;   /* Ueberschriften-Akzent hell: Gold statt Braun (Owner 28.11.2026) */
  --nav-bg: rgba(255,255,255,.9);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0d; --soft: #18181b; --soft-2: #111113; --ink: #f4f4f5; --ink-2: #a1a1aa; --ink-3: #71717a; --line: #26262b;
    --surface: #17171a; --art: #1e1e22; --art-hover: #25252a; --hi: rgba(251,191,36,.09); --text-2: #a1a1aa;
    --track: #2a2a30; --bar: #45454d; --bar-soft: #2a2a30; --thumb: #2c2c32; --accent-text: #fbbf24; --accent-head: #fbbf24; --nav-bg: rgba(23,23,26,.78);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0d; --soft: #18181b; --soft-2: #111113; --ink: #f4f4f5; --ink-2: #a1a1aa; --ink-3: #71717a; --line: #26262b;
  --surface: #17171a; --art: #1e1e22; --art-hover: #25252a; --hi: rgba(251,191,36,.09); --text-2: #a1a1aa;
  --track: #2a2a30; --bar: #45454d; --bar-soft: #2a2a30; --thumb: #2c2c32; --accent-text: #fbbf24; --accent-head: #fbbf24; --nav-bg: rgba(23,23,26,.78);
  color-scheme: dark;
}
.no-tx * { transition: none !important; }
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; letter-spacing: -0.035em; text-wrap: balance; }
p { text-wrap: pretty; }
.ic { width: 18px; height: 18px; flex-shrink: 0; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 10px; border: 0; font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 150ms ease; }
.btn:active { transform: scale(0.97); }
.btn-main { background: var(--amber); color: var(--amber-text); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 3px 0 var(--amber-edge); }
@media (hover: hover) and (pointer: fine) { .btn-main:hover { background: #fcc93f; }  }
.btn-main:active { transform: translateY(2px) scale(0.98); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 1px 0 var(--amber-edge); }
.btn-big { height: 54px; padding: 0 34px; font-size: 16px; border-radius: 12px; min-width: 200px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 2px 0 var(--amber-edge); }
.pill-label { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--soft); font-size: 13.5px; font-weight: 500; color: var(--ink-2); }

/* Nav: floating pill (milkychat), theme toggle inside */
.nav { position: fixed; top: calc(10px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav-in { pointer-events: auto; max-width: 1200px; width: calc(100% - 24px); margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 20px; padding: 0 10px 0 16px; border-radius: 16px; color: var(--ink); background: var(--nav-bg); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -20px rgba(0,0,0,.3); transition: box-shadow 200ms ease; }
.nav.solid .nav-in { box-shadow: 0 0 0 1px var(--line), 0 16px 36px -18px rgba(0,0,0,.38); }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 700 19px/1 var(--head); letter-spacing: -.04em; }
.nav-links { display: flex; gap: 26px; margin: 0 auto; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); } }
.nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav-right .signin { text-decoration: none; padding-left: 14px; border-left: 1px solid var(--line); line-height: 22px; }
.theme { position: relative; isolation: isolate; display: flex; padding: 3px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.theme::before { content: ""; position: absolute; z-index: -1; top: 3px; left: 3px; width: 30px; height: 30px; border-radius: 50%; background: var(--thumb); box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 0 0 1px var(--line); transition: transform 250ms var(--ease-in-out); }
.theme[data-on="dark"]::before { transform: translateX(30px); }
.theme button { position: relative; width: 30px; height: 30px; border: 0; padding: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); cursor: pointer; transition: color 150ms ease, transform 160ms var(--ease-out); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.theme button::after { content: ""; position: absolute; inset: -7px -1px; }
.theme button[aria-pressed="true"] { color: var(--ink); }
.theme button:active { transform: scale(0.9); }
.theme svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 520px) { .nav-right .signin { display: none; } .nav-in { gap: 10px; padding-left: 12px; } }

/* Hero: centered headline, product UI below, amber arc behind it, floating 3D tiles (milkychat) */
.hero2 { position: relative; padding: calc(150px + env(safe-area-inset-top, 0px)) 0 24px; text-align: center; overflow: hidden; }
/* Nur seitlich beschneiden (Kacheln, Bogen); nach unten darf der Schatten der Produktansicht auslaufen (28.11.2026) */
@supports (overflow: clip) { .hero2 { overflow-x: clip; overflow-y: visible; } }
.hero2 > .wrap { position: relative; z-index: 1; }
.hero2 h1 { font-size: clamp(44px, 7vw, 96px); line-height: .98; letter-spacing: -0.05em; }
.hero2 h1 .acc { color: var(--accent-head); }
.hero2 .sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 620px; margin: 22px auto 0; letter-spacing: -.01em; }
.hero2 .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero2 .btn-ghost { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 3px 0 var(--line); }
.made { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 34px 0 0; font-size: 14.5px; color: var(--ink-2); }
.made::before, .made::after { content: ""; width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); flex-shrink: 0; }
.made::after { transform: scaleX(-1); }
.floats { position: absolute; inset: 0; pointer-events: none; }
.float { position: absolute; width: 124px; height: 124px; border-radius: 32px; display: grid; place-items: center; }
.float svg { width: 58px; height: 58px; }
.float-l { left: max(20px, calc(50% - 650px)); top: 220px; transform: rotate(-10deg); color: #fff; background: linear-gradient(160deg, #8a93ff 0%, #5865f2 55%, #424bd0 100%); box-shadow: inset 0 2px 0 rgba(255,255,255,.4), inset 0 -8px 14px rgba(20,24,110,.35), 0 26px 44px -18px rgba(66,75,208,.6), 0 0 0 1px rgba(0,0,0,.08); }
.float-r { right: max(20px, calc(50% - 650px)); top: 320px; transform: rotate(9deg); background: linear-gradient(160deg, #ffdc73 0%, #fbbf24 55%, #e0a008 100%); box-shadow: inset 0 2px 0 rgba(255,255,255,.55), inset 0 -8px 14px rgba(150,90,0,.3), 0 26px 44px -18px rgba(212,152,10,.65), 0 0 0 1px rgba(0,0,0,.06); }
@media (max-width: 960px) {
  .floats { position: static; display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
  .float, .float-l, .float-r { position: static; width: 48px; height: 48px; border-radius: 16px; }
  .hero2 { padding-top: calc(104px + env(safe-area-inset-top, 0px)); }
}
.dash-wrap { position: relative; margin-top: 56px; isolation: isolate; }
.dash-wrap::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 170px; width: max(2400px, 190vw); height: 1600px; transform: translateX(-50%); border-radius: 50%; border-top: 1.5px solid rgba(212,152,10,.45); background: linear-gradient(180deg, rgba(251,191,36,.22) 0%, rgba(251,191,36,.08) 12%, rgba(251,191,36,0) 26%); }
.dash { max-width: 1140px; margin: 0 auto; padding: 8px; border-radius: 24px; background: color-mix(in srgb, var(--surface) 72%, transparent); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -44px rgba(0,0,0,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-align: left; }
.app { display: grid; grid-template-columns: 196px minmax(0, 1fr) 270px; height: 560px; border-radius: 16px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px var(--line); font-size: 13px; }
.side { background: var(--soft-2); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s-logo { display: flex; align-items: center; gap: 8px; font: 700 15px/1 var(--head); letter-spacing: -.035em; padding: 4px 8px 14px; }
.side h5 { margin: 12px 8px 4px; font: 600 10px/1 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.side span.nav-i { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.side span.nav-i.on { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.05); }
.side span.nav-i svg { width: 16px; height: 16px; flex-shrink: 0; }
.side span.nav-i em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.s-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-3); padding: 8px; }
.s-foot i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(251,191,36,.2); }
.main { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; overflow: hidden; }
.m-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.m-head b { display: block; font: 600 17px/1.2 var(--head); letter-spacing: -.025em; }
.m-head span { font-size: 12px; color: var(--ink-3); }
.m-chip { font-size: 12px; font-weight: 500; padding: 6px 10px; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 10px 12px; min-width: 0; }
.kpi small { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: inline-block; font: 600 19px/1.2 var(--font); letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--accent-text); margin-left: 4px; white-space: nowrap; }
.chart { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 10px 12px 4px; }
.chart-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--ink-3); }
.chart-top b { color: var(--ink); font-weight: 600; }
.chart svg { display: block; width: 100%; height: 118px; }
.chart .grid line { stroke: var(--line); }
.act { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 4px; }
.act-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 7px 10px 5px; }
.act-head .dot, .feed-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(251,191,36,.25); }
.act-head small { color: var(--ink-3); font-weight: 500; }
.act-rows { position: relative; }
.arow { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; background: var(--surface); }
.a-ico { width: 26px; height: 26px; border-radius: 7px; background: var(--soft); display: grid; place-items: center; color: var(--ink); }
.a-ico svg { width: 14px; height: 14px; }
.arow b { display: block; font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arow .m { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arow .r { font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.arow .r.ok { color: var(--ink-3); font-weight: 500; }
.arow.fresh .r:not(.ok) { color: var(--ink); }
.arow.leaving { position: absolute; margin: 0 !important; pointer-events: none; }
.panel { border-left: 1px solid var(--line); background: var(--soft-2); padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden; }
.p-card { background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 12px; }
.p-user { display: flex; align-items: center; gap: 10px; }
.p-av { width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: #1c1400; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.p-user b { display: block; font-size: 14px; } .p-user span { font-size: 12px; color: var(--ink-3); }
.p-badge { margin-left: auto; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--hi); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(251,191,36,.4); }
.p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.p-grid div { background: var(--soft); border-radius: 8px; padding: 6px 8px; min-width: 0; }
.p-grid small { display: block; font-size: 10.5px; color: var(--ink-3); }
.p-grid b { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.p-title { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.p-title span { color: var(--ink-3); font-weight: 500; }
.roles { display: flex; gap: 6px; flex-wrap: wrap; }
.roles span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.roles i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.roles span.dim i { background: var(--ink-3); }
.p-inv div { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.p-inv div:first-child { border-top: 0; padding-top: 0; }
.p-inv span { color: var(--ink-3); }
.num-tick { display: inline-block; transition: opacity 150ms ease, filter 150ms ease; }
.num-tick.swap { opacity: .35; filter: blur(2px); }
@media (max-width: 1080px) { .app { grid-template-columns: 186px minmax(0, 1fr); } .panel { display: none; } }
@media (max-width: 760px) {
  .dash-wrap { margin-top: 40px; }
  .dash { padding: 6px; border-radius: 20px; }
  .app { grid-template-columns: minmax(0, 1fr); height: 540px; border-radius: 14px; }
  .side { display: none; }
  .main { padding: 12px; gap: 10px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .chart svg { height: 86px; }
  .dash-wrap::before { top: 120px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero2 h1 { --rise: 16px; animation: rise 760ms var(--ease-out) both; }
  .hero2 .sub { --rise: 10px; animation: rise 620ms var(--ease-out) both 80ms; }
  .hero2 .ctas { --rise: 6px; animation: rise 520ms var(--ease-out) both 140ms; }
  .made, .floats { animation: fade 600ms ease both 200ms; }
  .dash { --rise: 22px; animation: rise-soft 800ms var(--ease-out) both 220ms; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise, 12px)); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise-soft { from { opacity: 0; transform: translateY(var(--rise, 12px)); } to { opacity: 1; transform: none; } }

/* Split sections */
.split { padding-block: clamp(80px, 11vw, 150px); overflow: hidden; }
.split .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
@media (max-width: 920px) { .split .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.copy h2 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.02; margin-top: 18px; }
.copy p { color: var(--ink-2); font-size: 17px; margin: 18px 0 0; max-width: 42ch; }
.copy .btn { margin-top: 28px; }

/* Stacked event cards (whop "Economic Intelligence") */
.stack { position: relative; padding: 10px 0 10px 40px; }
@media (max-width: 600px) { .stack { padding-left: 0; } }
.stack svg.trace { color: var(--line); position: absolute; left: -40vw; right: -10vw; top: 50%; height: 140px; width: 160vw; transform: translateY(-40%); pointer-events: none; }
.ev { position: relative; display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 12px; padding: 14px 16px; box-shadow: 0 0 0 1px var(--line), 0 12px 30px -18px rgba(0,0,0,.25); max-width: 480px; }
.ev + .ev { margin-top: -6px; }
.ev:nth-of-type(2) { margin-left: 16px; } .ev:nth-of-type(3) { margin-left: 32px; } .ev:nth-of-type(4) { margin-left: 48px; padding: 18px 20px; box-shadow: 0 0 0 1px var(--line), 0 22px 44px -18px rgba(0,0,0,.3); }
.ev:nth-of-type(5) { margin-left: 64px; }
@media (max-width: 600px) { .ev:nth-of-type(n) { margin-left: 0; } }
.ev-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--soft); color: var(--ink); }
.ev-ico svg { width: 20px; height: 20px; }
.ev b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.ev span { font-size: 13px; color: var(--ink-3); }
.ev > div { min-width: 0; }
.ev .amt { margin-left: auto; font: 600 15px var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ev .ok { margin-left: auto; color: var(--ink-3); font-size: 13px; font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .stack.in:not(.live) .ev { animation: slide 460ms var(--ease-out) both; --dx: 14px; }
  .stack.in:not(.live) .ev:nth-of-type(1) { --dx: 28px; animation-duration: 560ms; }
  .stack.in .ev:nth-of-type(2) { animation-delay: 70ms; } .stack.in .ev:nth-of-type(3) { animation-delay: 125ms; }
  .stack.in .ev:nth-of-type(4) { animation-delay: 165ms; } .stack.in .ev:nth-of-type(5) { animation-delay: 195ms; }
  .stack:not(.in) .ev { opacity: 0; }
}
@keyframes slide { from { opacity: 0; transform: translateX(var(--dx, 16px)); } to { opacity: 1; transform: none; } }

/* Invoice bleeding off the right edge (whop "CLI") */
.bleed { position: relative; margin-right: calc(-1 * max(24px, (100vw - 1240px) / 2 + 24px)); }
@media (max-width: 920px) { .bleed { margin-right: 0; } }
.inv { background: var(--surface); border-radius: 14px 0 0 14px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,.25); padding: 28px 32px; font-size: 14px; max-width: 760px; }
@media (max-width: 920px) { .inv { border-radius: 14px; padding: 20px; } }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.inv-top b { font: 600 26px/1 var(--head); letter-spacing: -.035em; }
.inv-meta { font: 400 12.5px/1.7 var(--mono); color: var(--ink-3); text-align: right; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; font-size: 13.5px; color: var(--ink-2); }
.inv-parties b { color: var(--ink); display: block; font-weight: 600; }
.inv-parties small { display: block; font: 500 11px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
/* Absender mit USt-ID hervorheben: Kernaussage des Abschnitts "Du bleibst der Verkaeufer" (28.11.2026) */
.inv-parties .inv-seller { margin: -10px -12px; padding: 10px 12px; border-radius: 10px; background: rgba(251,191,36,.10); box-shadow: inset 0 0 0 1px rgba(251,191,36,.55); }
.inv-parties .inv-seller small { color: var(--accent-text); }
.inv-vat { color: var(--accent-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.inv table { width: 100%; border-collapse: collapse; margin-top: 22px; font-variant-numeric: tabular-nums; }
.inv th { text-align: left; font: 500 11px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 8px; }
.inv th:last-child, .inv td:last-child { text-align: right; }
.inv td { padding: 11px 0; border-top: 1px solid var(--line); }
.inv tr.tot td { border-top: 1.5px solid var(--ink); font-weight: 600; font-size: 15px; }
.inv-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip { font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 6px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.chip.ok { background: var(--ink); color: var(--bg); }

/* Big headline + tile grid */
.section { padding-block: clamp(70px, 9vw, 120px); }
.mega { font-size: clamp(42px, 6.4vw, 88px); line-height: .98; letter-spacing: -0.045em; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { background: var(--soft-2); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: 8px 8px 22px; display: flex; flex-direction: column; min-width: 0; }
.tile-art { background: var(--art); height: 190px; border-radius: 12px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.tile h3 { font-size: 26px; margin-top: 18px; letter-spacing: -.03em; padding: 0 14px; }
.tile p { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 0; padding: 0 14px; max-width: 40ch; }
/* tile art pieces */
.mini-card { background: var(--surface); border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(0,0,0,.25); padding: 12px; width: 82%; font-size: 12px; }
.mini-card .lbl { font-size: 10.5px; color: var(--ink-3); margin-bottom: 4px; }
.field { height: 28px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; padding: 0 8px; color: var(--ink-3); font-size: 11.5px; margin-bottom: 6px; justify-content: space-between; }
.paybtn { height: 30px; border-radius: 7px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 600; font-size: 12px; margin-top: 4px; }
.dc { background: #313338; color: #dbdee1; border-radius: 10px; padding: 12px; width: 86%; font-size: 12.5px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.dc-row { display: flex; gap: 9px; align-items: flex-start; }
.dc-row + .dc-row { margin-top: 10px; }
.dc-av { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; font-size: 11px; color: #fff; }
.dc-n { color: #f2f3f5; font-weight: 600; font-size: 12.5px; }
.dc-n em { font-style: normal; background: var(--blurple); color: #fff; font-size: 9px; padding: 1px 4px; border-radius: 3px; margin-left: 4px; vertical-align: 1px; }
.mention { background: rgba(88,101,242,.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px; }
.role { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; border: 1px solid #45474e; border-radius: 5px; padding: 2px 7px; font-size: 11px; font-weight: 600; color: #f8dd8c; }
.role i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; width: 82%; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--bar-soft); }
.bars i.hi { background: var(--amber); }
.big-num { position: absolute; left: 18px; top: 16px; font: 600 26px/1 var(--head); letter-spacing: -.04em; }
.big-num small { display: block; font: 500 11px var(--font); color: var(--ink-3); letter-spacing: 0; margin-bottom: 4px; }
.list { width: 86%; background: var(--surface); border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(0,0,0,.25); font-size: 12px; overflow: hidden; }
.list div { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); gap: 8px; }
.list div:first-child { border-top: 0; color: var(--ink-3); font-size: 10.5px; }
.list .av { background: var(--soft); width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9px; font-weight: 700; margin-right: 6px; vertical-align: middle; }
.code { width: 88%; background: #0f0f11; color: #d6d6da; border-radius: 10px; padding: 12px 14px; font: 400 11.5px/1.7 var(--mono); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); white-space: pre; overflow: hidden; }
.code .k { color: var(--amber); } .code .s { color: #8bd5a8; } .code .c { color: #6b6b74; }

/* Pricing container with pill tabs (whop "API") */
.box { margin-top: 48px; background: var(--soft-2); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
@media (max-width: 920px) { .box { grid-template-columns: minmax(0, 1fr); } }
.box h3 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.02; }
.box .lead { color: var(--ink-2); font-size: 16.5px; margin: 14px 0 0; max-width: 40ch; }
.fee-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; max-width: 400px; }
.fee-list li { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.fee-list li b { font-variant-numeric: tabular-nums; }
.fee-list li:last-child { border-bottom: 1px solid var(--line); }
.calc { background: var(--surface); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(0,0,0,.3); padding: 26px; }
.calc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc label { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.calc .amt { font: 600 40px/1.1 var(--font); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin-top: 8px; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) var(--p, 18%), var(--track) var(--p, 18%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; margin-top: -8px; box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.2); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--track); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--ink); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid rgba(0,0,0,.15); }
.rows { margin-top: 18px; display: grid; gap: 14px; }
.r-top { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); gap: 10px; }
.r-top b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { height: 10px; border-radius: 99px; background: var(--soft); margin-top: 6px; overflow: hidden; }
.bar i { display: block; width: 100%; height: 100%; border-radius: 99px; background: var(--bar); transform-origin: left center; transition: transform 300ms var(--ease-in-out); }
.bar.me i { background: var(--amber); }
.save { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.save span { color: var(--ink-2); font-size: 14px; }
.save b { font: 600 32px/1 var(--font); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.calc-note { font-size: 12px; color: var(--ink-3); margin: 14px 0 0; line-height: 1.5; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.tabs button { height: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }

/* Marketplace carousel (whop "blueprints") */
.car-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 34px; }
.car-head span { font-size: 14px; color: var(--ink-2); }
.car-nav { display: flex; gap: 8px; }
.car-nav button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.car-nav button { transition: transform 160ms var(--ease-out), opacity 150ms ease, background-color 150ms ease; touch-action: manipulation; }
.car-nav button:active { transform: scale(0.94); }
.car-nav button:disabled { opacity: .35; cursor: default; transform: none; }
@media (hover: hover) and (pointer: fine) { .car-nav button:not(:disabled):hover { background: var(--art); } }
.car { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; margin-top: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.car::-webkit-scrollbar { display: none; }
.c-card { scroll-snap-align: start; text-decoration: none; min-width: 0; }
.c-art { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; position: relative; background: var(--art); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; color: var(--ink); transition: transform 160ms var(--ease-out), background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .c-card:hover .c-art { background-color: var(--art-hover); } }
.c-card:active .c-art { transform: scale(0.98); }
.c-art b { font: 600 22px/1 var(--head); letter-spacing: -.035em; }
.c-av { position: absolute; left: 16px; top: 16px; width: 44px; height: 44px; border-radius: 11px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 600 16px var(--head); letter-spacing: -.02em; }
.c-art small { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.c-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; gap: 10px; }
.c-meta span { color: var(--ink-2); }
.c-meta b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Comparison */
.tbl { margin-top: 44px; overflow-x: auto; }
table.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 13.5px; font-weight: 500; color: var(--ink-3); border-bottom: 1px solid var(--ink); }
.cmp thead th.me { color: var(--ink); font-weight: 600; }
.cmp td { color: var(--ink-2); }
.cmp td:first-child { color: var(--ink); font-weight: 500; padding-left: 0; }
.cmp thead th:first-child { padding-left: 0; }
.cmp td.me { color: var(--ink); font-weight: 600; background: var(--hi); }
.cmp th.me { background: var(--hi); }
.yes { display: inline-flex; gap: 6px; align-items: center; } .yes .ic { color: var(--ink); width: 16px; height: 16px; }
.only { font-size: 11px; font-weight: 600; background: var(--ink); color: var(--bg); border-radius: 5px; padding: 2px 6px; margin-left: 8px; }
.src { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* About split with photo (whop "mission") */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; }
@media (max-width: 920px) { .about { grid-template-columns: minmax(0, 1fr); } }
.about-copy { padding: clamp(56px, 8vw, 110px) max(24px, env(safe-area-inset-left, 0px)) clamp(56px, 8vw, 110px) max(24px, calc((100vw - 1240px) / 2 + 24px)); display: flex; flex-direction: column; justify-content: center; }
.about-copy h2 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.02; max-width: 13ch; }
.about-copy p { color: var(--ink-2); font-size: 16.5px; margin: 20px 0 0; max-width: 46ch; }
.about-copy .btn { margin-top: 28px; align-self: flex-start; }
.contact { margin-top: 26px; font-size: 15px; color: var(--ink-3); line-height: 1.8; }
.contact b { color: var(--ink); font-weight: 500; }
.copy-btn { border: 0; background: var(--soft); border-radius: 6px; padding: 2px 8px; font: 500 12px var(--font); color: var(--ink-2); cursor: pointer; margin-left: 6px; }
.about-img { position: relative; min-height: 340px; }
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-img::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 32%; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 12%, color-mix(in srgb, var(--bg) 74%, transparent) 26%, color-mix(in srgb, var(--bg) 50%, transparent) 42%, color-mix(in srgb, var(--bg) 27%, transparent) 60%, color-mix(in srgb, var(--bg) 10%, transparent) 78%, transparent 100%); }
@media (max-width: 920px) { .about-img::before { display: none; } }

/* Footer */
footer { background: #000; color: #fff; border-top: 1px solid #1c1c20; }
.f-app { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; border-bottom: 1px solid #1f1f22; flex-wrap: wrap; }
.f-app b { font: 600 22px/1.2 var(--head); letter-spacing: -.03em; display: block; }
.f-app span { color: #9a9aa2; font-size: 14.5px; }
.f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 28px; padding-block: 44px; }
@media (max-width: 820px) { .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.f-cols h4 { margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.f-cols a { display: block; color: #9a9aa2; text-decoration: none; font-size: 14px; padding: 4px 0; }
.f-cols a { transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .f-cols a:hover { color: #fff; } }
.f-cols a.logo { display: inline-flex; align-self: start; color: #fff; padding: 0; font-size: 19px; }
.f-bottom { border-top: 1px solid #1f1f22; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); color: #77777f; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.demo-note { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }

.swipe-hint { display: none; font-size: 13px; color: var(--ink-3); margin-top: 10px; }
/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .split { padding-block: 64px; }
  .section { padding-block: 56px; }
  .split .wrap { gap: 32px; }
  .copy h2 { font-size: 36px; }
  .copy p { font-size: 16px; }
  .hero2 .ctas .btn, .about-copy .btn-big, .f-app .btn, .copy .btn { width: 100%; align-self: stretch; }
  .hero2 h1 { font-size: clamp(42px, 12.4vw, 58px); }
  .made { font-size: 13.5px; gap: 10px; } .made::before, .made::after { width: 28px; }
  /* event stack: clean list, no trace line */
  .stack svg.trace { display: none; }
  .ev, .ev:nth-of-type(n) { margin: 0; max-width: none; padding: 12px 14px; }
  .ev + .ev { margin-top: 8px; }
  .ev b { font-size: 14px; } .ev span { font-size: 12.5px; }
  .ev-ico { width: 36px; height: 36px; }
  /* invoice */
  .inv { padding: 18px; }
  .inv-top b { font-size: 22px; }
  .inv-meta { text-align: left; width: 100%; }
  .inv-parties { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  /* tiles become a swipe row */
  .tiles { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; margin-top: 32px; margin-right: -16px; padding-right: 16px; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; padding: 8px 8px 18px; }
  .tile-art { height: 170px; }
  .tile h3 { font-size: 22px; margin-top: 16px; }
  .swipe-hint { display: block; }
  /* pricing */
  .box { margin-top: 28px; padding: 18px; gap: 28px; border-radius: 18px; }
  .box h3 { font-size: 30px; }
  .calc { padding: 18px; }
  .calc .amt { font-size: 34px; }
  .save b { font-size: 28px; }
  /* carousel */
  .car { grid-auto-columns: 78%; margin-right: -16px; padding-right: 16px; }
  .car-head { margin-top: 20px; }
  /* comparison: stacked rows instead of a scrolling table */
  .tbl { overflow: visible; margin-top: 28px; }
  table.cmp { min-width: 0; font-size: 14px; }
  .cmp thead { display: none; }
  .cmp tbody, .cmp tr { display: block; }
  .cmp tr { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cmp td { display: block; border: 0; padding: 0; font-size: 13.5px; }
  .cmp td:first-child { grid-column: 1 / -1; font-size: 15px; font-weight: 600; padding-bottom: 2px; }
  .cmp td:not(:first-child)::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); margin-bottom: 2px; }
  .cmp td.me { background: var(--hi); border-radius: 8px; padding: 8px; margin: -8px 0 -8px -8px; }
  .cmp td:not(:first-child):not(.me) { padding-top: 0; }
  .cmp td.me .only { display: table; margin: 6px 0 0; }
  /* about */
  .about-copy { padding: 56px 16px 40px; }
  .about-copy h2 { font-size: 36px; }
  .about-img { min-height: 260px; }
  .f-app { padding-block: 36px; }
}

/* ---------- Emil pass: press feedback, segmented thumb ---------- */
.tabs { position: relative; isolation: isolate; background: var(--soft); border-radius: 12px; padding: 4px; gap: 0; }
.tabs::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--thumb); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 0 0 1px var(--line); transform: translateX(0); transition: transform 250ms var(--ease-in-out); }
.tabs[data-pos="1"]::before { transform: translateX(100%); }
.tabs button, .tabs button[aria-pressed="true"] { background: transparent; box-shadow: none; height: 36px; border-radius: 9px; transition: color 150ms ease, transform 160ms var(--ease-out); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tabs button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.tabs button:active { transform: scale(0.97); }
.copy-btn { transition: transform 160ms var(--ease-out), background-color 150ms ease; touch-action: manipulation; }
.copy-btn:active { transform: scale(0.95); }
.copy-btn span { display: inline-block; transition: opacity 150ms ease, filter 150ms ease; }
.copy-btn.swap span { opacity: 0; filter: blur(2px); }
input[type=range]::-webkit-slider-thumb { transition: transform 150ms var(--ease-out); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type=range] { touch-action: pan-y; cursor: pointer; }
.num-swap { transition: opacity 150ms ease, filter 150ms ease; }
.num-swap.swap { opacity: .4; filter: blur(2px); }
@media (prefers-reduced-motion: no-preference) {
}
@media (prefers-reduced-motion: reduce) {
  .hero2 h1, .hero2 .sub, .hero2 .ctas, .dash, .made, .floats { animation: fade 400ms ease both; }
  .bar i, .tabs::before { transition-duration: 0ms; }
}

/* ---------- Emil pass 2: break-ui (German text, long values, zoom) ---------- */
h1, h2, h3, p, .tile p, .ev b, .ev span { hyphens: auto; -webkit-hyphens: auto; }
.hero2 h1, .mega { hyphens: manual; }
/* Hero-Untertitel: Satz fuer Satz umbrechen statt Silbentrennung (28.11.2026) */
.hero2 .sub { hyphens: manual; -webkit-hyphens: manual; max-width: 700px; display: flex; flex-wrap: wrap; justify-content: center; column-gap: .3em; }
.hero2 .sub .s { display: block; }
#mail { overflow-wrap: anywhere; }
.ns { display: none; }
@media (max-width: 520px) { .nl { display: none; } .ns { display: inline; } }
@media (max-width: 370px) { .nav .logo { font-size: 0; gap: 0; } .nav-in { gap: 8px; } }
.r-top span, .c-meta span { min-width: 0; }

/* ---------- Feinschliff ---------- */
::selection { background: #fde68a; color: #1c1400; }
h1, h2, h3 { text-rendering: optimizeLegibility; font-kerning: normal; }
/* buttons with a leading icon: optically lighter on the icon side */
.btn:has(> svg.ic:first-child) { padding-left: 18px; }
.btn-big:has(> svg.ic:first-child) { padding-left: 28px; padding-right: 34px; }
.btn .ic { margin-top: -1px; }
/* 44px hit targets without growing the layout */
.btn-sm, .car-nav button, .copy-btn, .tabs button { position: relative; }
.btn-sm::after, .car-nav button::after, .copy-btn::after { content: ""; position: absolute; inset: -6px; }
.tabs button::after { content: ""; position: absolute; inset: -4px 0; }
/* images sit on white: hairline outline instead of a hard edge */
.about-img img { outline: 1px solid rgba(0,0,0,.06); outline-offset: -1px; }
/* quieter secondary copy, consistent rhythm */
.copy p, .box .lead, .about-copy p { color: var(--text-2); }
.pill-label { letter-spacing: -.005em; }
.mega + .tiles, .mega + .box, .mega + .tbl { margin-top: 48px; }
@media (max-width: 700px) { .mega + .tiles, .mega + .box, .mega + .tbl { margin-top: 28px; } }
.ev .amt, .r-top b, .c-meta b, .fee-list b, .inv td:last-child { font-variant-numeric: tabular-nums; }
.c-art b { text-wrap: balance; }


/* ---------- Live feed ---------- */
.feed-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.feed-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(251,191,36,.25); }
.feed-head small { font-weight: 500; color: var(--ink-3); font-size: 12px; margin-left: 2px; }
.stack.live .ev b, .stack.live .ev > div > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev time { font: inherit; }
.ev.leaving { position: absolute; margin: 0 !important; pointer-events: none; z-index: 0; }
.ev.fresh .amt { color: var(--ink); }

/* ---------- milkychat structure: section heads, card titles, flow card, price band, FAQ, final CTA ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; }
.sec-head h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.045em; }
.sec-head p { margin: 0; color: var(--text-2); font-size: 16.5px; max-width: 44ch; justify-self: end; }
.sec-head p b { color: var(--ink); font-weight: 600; }
.sec-head + .tiles, .sec-head + .tbl, .sec-head + .car-head { margin-top: 44px; }
@media (max-width: 800px) { .sec-head { grid-template-columns: minmax(0, 1fr); gap: 14px; } .sec-head p { justify-self: start; } .sec-head + .tiles, .sec-head + .tbl, .sec-head + .car-head { margin-top: 28px; } }
.tile h3 { display: flex; align-items: center; gap: 10px; color: var(--accent-head); font-size: 22px; }
.t-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.06); }
.t-ico svg { width: 16px; height: 16px; }
.t-ico-lx { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.t-ico-lx img { width: 17px; height: 14px; display: block; }
a.t-ico-lx { transition: box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.t-ico-lx:hover { box-shadow: 0 0 0 2px var(--amber); transform: translateY(-1px); } }
a.t-ico-lx:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.tile p { padding-left: 54px; }
@media (max-width: 700px) { .tile p { padding-left: 14px; } }

.flow { margin-top: 16px; border-radius: 20px; background: var(--soft-2); box-shadow: inset 0 0 0 1px var(--line); padding: 8px 8px 22px; }
.flow-art { position: relative; border-radius: 12px; background: var(--art); padding: 28px 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; overflow: hidden; }
.flow-art::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; border-top: 1.5px dashed color-mix(in srgb, var(--ink-3) 55%, transparent); }
.f-step { position: relative; min-width: 0; }
.f-step > small { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.f-card { background: var(--surface); border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 12px 26px -16px rgba(0,0,0,.3); padding: 10px 12px; font-size: 12.5px; min-height: 76px; }
.f-card b { display: block; font-weight: 600; }
.f-card span { color: var(--ink-3); font-size: 11.5px; }
.f-card .f-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.f-card .amt-pill { font-weight: 600; font-size: 11.5px; padding: 2px 7px; border-radius: 6px; background: var(--hi); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(251,191,36,.35); }
.f-card.dcard { background: #313338; color: #dbdee1; box-shadow: 0 14px 28px -16px rgba(0,0,0,.6); }
.f-card.dcard b { color: #f2f3f5; }
.f-card.note { border-left: 3px solid var(--amber); }
.flow h3 { display: flex; align-items: center; gap: 10px; color: var(--accent-head); font-size: 22px; margin: 18px 0 0; padding: 0 14px; letter-spacing: -.03em; }
.flow p { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 0; padding: 0 14px 0 54px; max-width: 70ch; }
@media (max-width: 900px) { .flow-art { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow-art::before { display: none; } }
@media (max-width: 520px) { .flow-art { grid-template-columns: minmax(0, 1fr); padding: 16px; } .flow p { padding-left: 14px; } }

.price-band { position: relative; overflow: hidden; background: linear-gradient(180deg, transparent 0%, rgba(251,191,36,.10) 22%, rgba(251,191,36,.10) 78%, transparent 100%); }
.price-band .wrap { position: relative; }
.price-mark { position: absolute; left: 50%; top: clamp(150px, 16vw, 230px); transform: translateX(-50%); font: 800 clamp(180px, 30vw, 440px)/1 var(--head); letter-spacing: -0.07em; color: rgba(251,191,36,.16); white-space: nowrap; pointer-events: none; user-select: none; z-index: 0; }
.price-band .mega, .price-band .center-sub, .price-band .box, .price-band .facts { position: relative; z-index: 1; }
.mega.center { text-align: center; }
.center-sub { text-align: center; color: var(--text-2); font-size: 17px; max-width: 560px; margin: 16px auto 0; }
.price-band .box { background: color-mix(in srgb, var(--soft-2) 82%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.facts { list-style: none; padding: 22px 0 0; margin: 28px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.facts { gap: 8px 0; }
.facts li { display: inline-flex; align-items: center; }
.facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); opacity: .6; margin: 0 14px; flex-shrink: 0; }

.faq { padding-block: clamp(70px, 9vw, 120px); }
.faq h2 { text-align: center; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -0.045em; }
.faq-list { max-width: 760px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer; font-weight: 600; font-size: 16.5px; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; color: var(--ink-2); transition: transform 200ms var(--ease-out); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; border-radius: 1px; }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--text-2); font-size: 15.5px; max-width: 62ch; padding-right: 38px; }
.faq-more { text-align: center; margin-top: 22px; color: var(--ink-3); font-size: 14.5px; }
.faq-more a { color: var(--accent-text); font-weight: 600; text-decoration: none; }

.final { position: relative; overflow: hidden; text-align: center; padding: clamp(80px, 11vw, 150px) 0 clamp(90px, 12vw, 160px); background: radial-gradient(70% 90% at 50% 120%, rgba(251,191,36,.22), rgba(251,191,36,0) 70%); }
.final h2 { font-size: clamp(42px, 6.4vw, 88px); line-height: .98; letter-spacing: -0.05em; }
.final h2 .acc { color: var(--accent-head); }
.final .btn { margin-top: 32px; }
.final p { margin: 18px 0 0; color: var(--ink-3); font-size: 14.5px; }
.final p a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
@media (max-width: 700px) { .final .btn { width: 100%; } }

/* ---------- comparison: JoinOurServer column as one raised card ---------- */
.vs { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); margin-top: 44px; isolation: isolate; font-size: 15px; }
.vs-row { display: contents; }
.vs-bg { position: absolute; inset: 0; grid-column: 2 / 3; grid-row: 1 / auto; z-index: -1; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -34px rgba(0,0,0,.35), inset 0 3px 0 var(--amber); margin: 0 6px; }
.vs .c { display: flex; align-items: center; gap: 8px; padding: 15px 18px; border-top: 1px solid var(--line); min-width: 0; color: var(--ink-2); }
.vs .c.j { justify-content: flex-start; border-top-color: color-mix(in srgb, var(--line) 60%, transparent); color: var(--ink); margin: 0 6px; padding-left: 22px; }
.vs .c.lab { color: var(--ink); font-weight: 500; padding-left: 0; }
.vs-head .c { border-top: 0; padding-top: 22px; padding-bottom: 16px; font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.vs-head .c.j { font: 700 16px/1 var(--head); letter-spacing: -.03em; color: var(--ink); gap: 9px; }
.vs-group .c { grid-column: 1 / -1; border-top: 0; padding: 26px 0 8px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.vs-head + .vs-group .c { padding-top: 6px; }
.vs .c b { font-weight: 600; font-variant-numeric: tabular-nums; }
.yn { width: 20px; height: 20px; flex-shrink: 0; }
.yn.y { color: var(--amber); }
.yn.n { color: var(--ink-3); opacity: .7; }
.vs .c.j span { font-size: 13.5px; color: var(--ink-2); }
.only2 { font-size: 11px !important; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--hi); color: var(--accent-text) !important; box-shadow: inset 0 0 0 1px rgba(251,191,36,.4); white-space: nowrap; }
.vs-cta .c { border-top: 0; padding-top: 16px; padding-bottom: 22px; }
.vs-cta .c.j .btn { width: 100%; }
.vs .c.o:empty, .vs .c.lab:empty { border-top-color: transparent; }
@media (max-width: 760px) {
  .vs { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 13.5px; margin-top: 28px; }
  .vs-bg { display: none; }
  .vs .c.j { background: var(--hi); border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(251,191,36,.28); margin: 0 6px 12px 0; padding: 6px 9px; align-self: start; }
  .vs-head .c.j { background: none; box-shadow: none; padding: 16px 8px 8px; }
  .vs-cta .c.j { grid-column: 1 / -1; background: none; box-shadow: none; padding: 18px 0 0; margin: 0; }
  .vs-cta .c.o { display: none; }
  .vs .c.lab { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 14px 0 4px; font-size: 14.5px; font-weight: 600; }
  .vs-head .c.lab, .vs-cta .c.lab { display: none; }
  .vs .c { border-top: 0; padding: 6px 8px 14px; align-items: flex-start; flex-wrap: wrap; gap: 6px; }
  .vs .c.j { margin: 0 2px; padding-left: 10px; }
  .vs-head .c { padding: 16px 8px 8px; font-size: 12px; }
  .vs-head .c.j { font-size: 13px; gap: 6px; }
  .vs-group .c { padding: 22px 0 4px; }
  .vs-cta .c { padding: 8px 8px 12px; }
  .vs-cta .c.j .btn { height: 46px; font-size: 15px; }
}

.made-in { display: inline-flex; align-items: center; gap: 9px; }
.flag-de { width: 20px; height: 12px; flex-shrink: 0; border-radius: 2.5px; box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 1px 3px rgba(0,0,0,.35); }
@media (max-width: 760px) { .made-in { display: inline; } .flag-de { display: inline-block; vertical-align: -1px; margin-right: 7px; } }
/* ---------- floating tiles: real 3D renders (like milkychat) ---------- */
.float, .float-l, .float-r { background: none !important; box-shadow: none !important; border-radius: 0 !important; display: block; object-fit: contain; }
.float { width: 108px; height: 108px; }
.float-l { transform: none; filter: drop-shadow(0 24px 28px rgba(40,48,190,.35)) drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
.float-r { transform: none; filter: drop-shadow(0 24px 28px rgba(0,0,0,.35)) drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
@media (max-width: 1180px) { .float { width: 86px; height: 86px; } }
@media (max-width: 960px) { .float, .float-l, .float-r { width: 54px; height: 54px; } .float-l { filter: drop-shadow(0 12px 14px rgba(40,48,190,.4)); } .float-r { filter: drop-shadow(0 12px 14px rgba(200,140,0,.38)); } }

/* ---------- USP section: same tile language as the feature tiles ---------- */
.usp { padding-top: clamp(56px, 7vw, 96px); }
.mini-card .fv, .list .fv { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.mini-card .fv .flag-de { width: 16px; height: 10px; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.mini-card .yn, .list .yn { width: 14px; height: 14px; }
.fee-row + .fee-row { margin-top: 10px; }
.fee-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--ink-2); }
.fee-top b { color: var(--ink); font-variant-numeric: tabular-nums; }
.fee-bar { height: 8px; border-radius: 99px; background: var(--soft); margin-top: 5px; overflow: hidden; }
.fee-bar i { display: block; height: 100%; border-radius: 99px; background: var(--bar); transform-origin: left center; }
.fee-bar.me i { background: var(--amber); }
@media (max-width: 700px) { .usp-tiles { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; overflow: visible; margin-right: 0; padding-right: 0; } }

/* ---------- one design language everywhere: framed panels like the tiles ---------- */
/* eyebrow instead of grey pill labels */
.pill-label { background: none; height: auto; padding: 0; border-radius: 0; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.copy h2 { font-size: clamp(36px, 4.2vw, 56px); letter-spacing: -0.045em; line-height: 1.02; margin-top: 14px; }
/* framed panel = outer soft band + hairline, inner art surface (same as .tile / .tile-art) */
.stack, .bleed, .about-img { background: var(--art); border-radius: 14px; box-shadow: 0 0 0 8px var(--soft-2), 0 0 0 9px var(--line); margin: 9px; }
/* live feed: aligned list inside the panel, no cascade, no trace line */
.stack { padding: 20px; }
.stack svg.trace { display: none; }
.ev, .ev:nth-of-type(n) { margin-left: 0; max-width: none; padding: 13px 16px; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -18px rgba(0,0,0,.3); }
.ev + .ev { margin-top: 8px; }
/* invoice sits inside its panel instead of bleeding off the page */
.bleed { margin-right: 9px; padding: 22px; }
.inv { border-radius: 12px; max-width: none; box-shadow: 0 0 0 1px var(--line), 0 16px 36px -24px rgba(0,0,0,.3); }
/* about: copy + framed photo inside the content width */
.about { max-width: 1240px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) max(24px, env(safe-area-inset-left, 0px)); gap: 56px; align-items: center; min-height: 0; }
.about-copy { padding: 0; }
.about-img { min-height: 440px; overflow: hidden; }
.about-img::before { display: none; }
.about-img img { border-radius: 14px; outline: 0; }
@media (max-width: 920px) { .about { gap: 36px; } .about-img { min-height: 300px; } }
@media (max-width: 700px) {
  .stack { padding: 12px; } .bleed { padding: 12px; }
  .about { padding: 56px 16px; } .about-copy { padding: 0; }
  .stack, .bleed, .about-img { box-shadow: 0 0 0 6px var(--soft-2), 0 0 0 7px var(--line); margin: 7px; }
}

/* ---------- JoinOurServer: SVG-Logo, Sprachwahl, Entwurfshinweis ---------- */
.logo svg, .s-logo svg, .vs-head .c.j svg.logo-svg { display: block; height: 23px; width: auto; aspect-ratio: 166.02 / 25; overflow: visible; }
.logo { color: var(--ink); }
.s-logo svg { height: 17px; }
.vs-head .c.j svg.logo-svg { height: 26px; } /* 28.11.2026: Logo im Vergleich groesser als die Mitbewerber-Spalte (Owner-Wunsch) */
@media (max-width: 760px) { .vs-head .c.j svg.logo-svg { height: 20px; } }
.nav .logo { font-size: 0; gap: 0; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 600; }
.lang a { text-decoration: none; color: var(--ink-3); width: 32px; height: 30px; border-radius: 50%; display: grid; place-items: center; transition: color 150ms ease, background-color 150ms ease; }
.lang a[aria-current="true"] { color: var(--ink); background: var(--thumb); box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 0 0 1px var(--line); }
@media (hover: hover) and (pointer: fine) { .lang a:not([aria-current="true"]):hover { color: var(--ink); } }
.draft { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); white-space: nowrap; }
.draft a { color: inherit; font-weight: 600; text-decoration: none; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 16%, transparent); }
@media (max-width: 520px) { .draft { font-size: 12px; gap: 8px; left: 12px; right: 12px; transform: none; justify-content: space-between; white-space: normal; } }
.hero2 h1 { font-weight: 700; letter-spacing: -0.045em; }
.hero2 h1 .acc { color: var(--accent-head); }
/* Inter: Headline-Groessen etwas unter der Grotesk, damit die Zeilen gleich fallen */
.hero2 h1 { font-size: clamp(40px, 5.6vw, 76px); }
.sec-head h2, .faq h2 { font-size: clamp(36px, 4.6vw, 60px); }
.mega { font-size: clamp(40px, 6vw, 82px); }
.final h2 { font-size: clamp(40px, 6vw, 82px); }
.copy h2 { font-size: clamp(34px, 4vw, 52px); }
.about-copy h2 { font-size: clamp(36px, 4.2vw, 56px); }
.box h3 { font-size: clamp(32px, 3.4vw, 44px); }
.tile h3, .flow h3 { font-size: 21px; font-weight: 600; }
.c-art b { font-weight: 600; }
.inv-top b { font-weight: 600; }
.price-mark { font-weight: 800; }
/* Marktplatz-Karten mit echten Logos */
.c-art img.c-logo { position: absolute; left: 16px; top: 16px; width: 44px; height: 44px; border-radius: 11px; object-fit: cover; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
/* Marktplatz-Karussell: Logos groesser, mobil deutlich (28.11.2026) */
.c-art img.c-logo, .c-av { width: 56px; height: 56px; border-radius: 14px; }
.c-av { font-size: 20px; }
@media (max-width: 620px) { .c-art img.c-logo, .c-av { width: 72px; height: 72px; border-radius: 17px; } .c-av { font-size: 24px; } }
.c-art b { display: block; }
.made .flag-de { box-shadow: 0 0 0 1px var(--line); }
.faq summary { font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav .logo .mark-svg { display: none; height: 24px; width: 26px; }
@media (max-width: 640px) { .nav .logo .logo-svg { display: none; } .nav .logo .mark-svg { display: block; } .nav-in { gap: 10px; padding-left: 12px; } }
@media (max-width: 370px) { .nav .logo { font-size: 0; gap: 0; } }
.draft { left: 16px; transform: none; right: auto; }
@media (max-width: 520px) { .draft { left: 12px; right: 150px; } }
/* ---------- Lexware-Office-Abschnitt ---------- */
.split.lex { padding-top: 0; }
@media (min-width: 921px) { .split.lex .wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.split.lex .copy { order: 2; }
.split.lex .lex-panel { order: 1; }
@media (max-width: 920px) { .split.lex .copy { order: 1; } .split.lex .lex-panel { order: 2; } }
.lex-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; max-width: 46ch; }
.lex-points li { display: flex; gap: 12px; align-items: flex-start; }
.lex-points .yn { width: 18px; height: 18px; margin-top: 2px; }
.lex-points b { display: block; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.lex-points span { display: block; color: var(--text-2); font-size: 14.5px; margin-top: 2px; }
.lex-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.copy .lex-ctas .btn { margin-top: 0; }
.lex-panel { position: relative; }
.lex-badge { position: absolute; right: -6px; top: -34px; width: 96px; height: auto; z-index: 2; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.lex-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 2px 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.lex-flow span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.lex-flow span svg { width: 15px; height: 15px; }
.lex-flow span.lx { color: var(--ink); box-shadow: 0 0 0 1px var(--line), inset 0 -2px 0 #ff4554; }
.lex-flow i { flex: 1 0 14px; height: 1px; background: var(--ink-3); opacity: .5; min-width: 14px; }
.lex-head { display: flex; align-items: center; gap: 10px; }
.lex-head b { font: 600 20px/1 var(--head); letter-spacing: -.03em; }
.lex-head span { margin-left: auto; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.lex-inbox table { margin-top: 16px; }
.lex-inbox td { vertical-align: top; }
.lex-inbox td b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.lex-inbox td > span:not(.lex-amt):not(.fv) { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.lex-inbox td:last-child { white-space: nowrap; }
.lex-inbox .lex-amt { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.lex-inbox .fv { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; margin-top: 2px; }
.lex-inbox .fv .yn { width: 14px; height: 14px; }
.lex-inbox td small { display: block; font-size: 11px; color: var(--ink-3); }
@media (max-width: 700px) { .lex-badge { width: 72px; top: auto; bottom: -22px; right: -2px; } .lex-flow { font-size: 11.5px; } .lex-inbox td:last-child { white-space: normal; } }
.lex-ctas .btn { white-space: normal; height: auto; min-height: 46px; padding-block: 11px; text-align: center; line-height: 1.2; }
@media (max-width: 700px) { .lex-ctas { flex-direction: column; } .lex-ctas .btn { width: 100%; } .lex-points { max-width: none; } }

/* ======================================================================
   Gesamte oeffentliche Seite (28.11.2026): Navigation mit Funktionen-Menue
   und Drawer, Seitenkopf fuer Unterseiten, Fliesstext, Karten, Formulare
   ====================================================================== */
/* Nav: Funktionen-Menue */
.nav-links .menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; transition: color 150ms ease; }
.menu-btn .chev { width: 13px; height: 13px; transition: transform 200ms var(--ease-out); }
.menu.open .menu-btn, .menu-btn[aria-current="page"], .nav-links a[aria-current="page"] { color: var(--ink); }
.menu.open .menu-btn .chev { transform: rotate(180deg); }
.menu-panel { position: absolute; left: 50%; top: calc(100% + 18px); transform: translateX(-50%); width: min(1060px, calc(100vw - 32px)); background: var(--surface); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 30px 70px -30px rgba(0,0,0,.55); padding: 26px 28px 18px; text-align: left; }
.menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.menu-col h5 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font: 600 13.5px/1 var(--font); color: var(--ink); }
.menu-col h5 svg { width: 26px; height: 26px; padding: 5px; border-radius: 7px; background: var(--hi); color: var(--accent-text); }
.menu-col a { display: block; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; text-decoration: none; transition: background-color 150ms ease; }
.menu-col a b { display: block; font-weight: 600; font-size: 14px; color: var(--ink); letter-spacing: -.005em; }
.menu-col a span { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; margin-top: 1px; }
@media (hover: hover) and (pointer: fine) { .menu-col a:hover { background: var(--soft); } }
.menu-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.menu-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 600; text-decoration: none; }
.menu-foot a .ic { width: 15px; height: 15px; }
@media (max-width: 1100px) { .menu-panel { width: min(900px, calc(100vw - 32px)); } .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Nav: Burger + Drawer */
.burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--soft); color: var(--ink); cursor: pointer; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.burger svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.burger .i-close, .nav.drawer-open .burger .i-open { display: none; }
.nav.drawer-open .burger .i-close { display: block; }
@media (max-width: 900px) { .burger { display: grid; } }
.drawer { pointer-events: auto; position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; background: var(--bg); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.drawer-in { padding: calc(86px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-left, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto; }
.drawer .d-link { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 20px/1.2 var(--head); letter-spacing: -.02em; color: var(--ink); }
.d-groups { margin-top: 18px; }
.d-groups details { border-bottom: 1px solid var(--line); }
.d-groups summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 13px 2px; cursor: pointer; font-weight: 600; font-size: 15px; -webkit-tap-highlight-color: transparent; }
.d-groups summary::-webkit-details-marker { display: none; }
.d-groups summary > svg:first-child { width: 26px; height: 26px; padding: 5px; border-radius: 7px; background: var(--hi); color: var(--accent-text); }
.d-groups summary .chev { width: 16px; height: 16px; margin-left: auto; color: var(--ink-3); transition: transform 200ms var(--ease-out); }
.d-groups details[open] summary .chev { transform: rotate(180deg); }
.d-groups details a { display: block; padding: 9px 2px 9px 38px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.d-groups details a:last-child { padding-bottom: 14px; }
.d-actions { display: grid; gap: 10px; margin-top: 24px; }
.no-scroll, .no-scroll body { overflow: hidden; }
@media (min-width: 901px) { .drawer { display: none !important; } }

/* Unterseiten: Seitenkopf unter der schwebenden Nav */
.page { padding-top: calc(118px + env(safe-area-inset-top, 0px)); }
/* Kopf-Glow auf Unterseiten (28.11.2026, Owner-Wunsch): Gegenstueck zum .final-Glow,
   von oben hinter der Navigation nach unten auslaufend. Gleiche Farbe/Staerke wie .final. */
.page, .center-page { position: relative; isolation: isolate; }
.page::before, .center-page::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(820px, 90vh); z-index: -1; pointer-events: none; background: radial-gradient(80% 100% at 50% -8%, rgba(251,191,36,.24), rgba(251,191,36,0) 72%); }
.page-head { padding-bottom: clamp(36px, 5vw, 64px); }
.page-head .pill-label + h1 { margin-top: 16px; }
.page-head h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.045em; max-width: 20ch; }
.page-head .lead { color: var(--text-2); font-size: clamp(16.5px, 1.4vw, 19px); margin: 18px 0 0; max-width: 60ch; }
.page-head .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.page-head.center { text-align: center; }
.page-head.center h1, .page-head.center .lead { margin-left: auto; margin-right: auto; }
.page-head.center .ctas { justify-content: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs svg { width: 12px; height: 12px; }
@media (max-width: 700px) { .page { padding-top: calc(96px + env(safe-area-inset-top, 0px)); } .page-head .ctas .btn { width: 100%; } }

/* Fliesstext (Feature-Abschnitte, Rechtstexte) */
.prose { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; max-width: 70ch; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { color: var(--ink); }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 2.2em 0 .6em; letter-spacing: -.035em; }
.prose h3 { font-size: 19px; margin: 1.8em 0 .5em; letter-spacing: -.02em; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--ink-3); }
.prose a { color: var(--accent-text); text-decoration: none; font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose code { font: 500 .9em var(--mono); background: var(--soft); border-radius: 5px; padding: .1em .4em; color: var(--ink); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 1em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* Karten ohne Bildflaeche (Vorteile, Uebersichten) */
.b-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .b-grid { grid-template-columns: minmax(0, 1fr); } }
.b-card { background: var(--soft-2); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 22px 22px 24px; min-width: 0; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.b-card h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.b-card p { color: var(--ink-2); font-size: 14.5px; margin: 10px 0 0; line-height: 1.55; }
.b-card .more { margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--accent-text); display: inline-flex; align-items: center; gap: 6px; }
.b-card .more .ic { width: 14px; height: 14px; transition: transform 160ms var(--ease-out); }
a.b-card { transition: background-color 150ms ease, box-shadow 150ms ease; }
@media (hover: hover) and (pointer: fine) { a.b-card:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -22px rgba(0,0,0,.35); } a.b-card:hover .more .ic { transform: translateX(3px); } }
a.b-card:active { transform: scale(0.99); }

/* Chip-Liste (weitere Funktionen) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--soft); color: var(--ink-2); text-decoration: none; font-size: 13.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: color 150ms ease, background-color 150ms ease; }
.chips a svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .chips a:hover { color: var(--ink); background: var(--surface); } }

/* Formularelemente (Suche, Auswahl) */
.field-in { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.field-in:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.field-in svg { width: 17px; height: 17px; color: var(--ink-3); flex-shrink: 0; }
.field-in input, .field-in select { flex: 1; min-width: 0; border: 0; background: none; color: inherit; font: 500 15px var(--font); outline: 0; height: 100%; }
.field-in select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8f96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; background-size: 14px; }
.field-in input::placeholder { color: var(--ink-3); }
.field-in select option { color: #0b0b0c; background: #fff; }

/* Zentrierte Karte (Login-Auswahl, Fehler, Abmeldung) */
.center-page { min-height: 100svh; display: grid; place-items: center; padding: calc(96px + env(safe-area-inset-top, 0px)) 16px 64px; }
.center-card { width: 100%; max-width: 520px; background: var(--soft-2); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 4vw, 40px); }
.center-card h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.1; }
.center-card p { color: var(--text-2); font-size: 15.5px; margin: 12px 0 0; }
.center-card .btn { margin-top: 22px; }
.center-card.center { text-align: center; }
.big-code { font: 700 clamp(72px, 12vw, 120px)/1 var(--head); letter-spacing: -.06em; color: var(--accent-head); }
.choice { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: inherit; margin-top: 10px; transition: box-shadow 150ms ease; }
.choice:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.choice .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--hi); color: var(--accent-text); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.choice .ico svg { width: 20px; height: 20px; }
.choice .ico img { width: 100%; height: 100%; object-fit: cover; }
.choice b { display: block; font-weight: 600; font-size: 15px; color: var(--ink); }
.choice span { display: block; font-size: 12.5px; color: var(--ink-3); }
.choice > svg:last-child { margin-left: auto; width: 16px; height: 16px; color: var(--ink-3); }
.sec-label { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 6px; }

/* Lexware-Partner-CTA (Markenfarbe des Partners, nur fuer dessen Aufruf) */
.btn-lex { background: #ff4554; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 0 #c42f3c; }
@media (hover: hover) and (pointer: fine) { .btn-lex:hover { background: #ff5a67; } }
.btn-lex:active { transform: translateY(2px) scale(0.98); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 #c42f3c; }
.btn .ic.trail { margin-left: -2px; }
/* Funktionen-Menue haengt an der ganzen Leiste, nicht am Button (28.11.2026) */
.nav-in { position: relative; }
.nav-links .menu { position: static; }
.menu-panel { left: 0; right: 0; width: auto; transform: none; top: calc(100% + 10px); }
.menu-panel::before { top: -12px; height: 12px; }

/* ---------- Feature-Seiten (/features, 28.11.2026) ---------- */
.ft-hero-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ft-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--soft-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; color: var(--ink); flex-shrink: 0; }
.ft-icon .ic { width: 24px; height: 24px; }
.ft-icon-img { background: #fff; }
.ft-icon-img img { width: 30px; height: 30px; object-fit: contain; }
.ft-h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.04em; line-height: 1.05; }
.ft-h2 + .b-grid { margin-top: 28px; }
.ft-lead { color: var(--text-2); font-size: 16.5px; margin: 14px 0 0; max-width: 64ch; }
.ft-lead + .ft-screens { margin-top: 28px; }
.ft-benefits { padding-top: 0; }
.ft-sections { padding-block: clamp(40px, 6vw, 80px) 0; }
.ft-sec { padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 32px 56px; }
.ft-sec:last-child { padding-bottom: 0; }
.ft-sec h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.04em; line-height: 1.08; }
.ft-sec .prose { max-width: 66ch; }
@media (max-width: 860px) { .ft-sec { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.ft-faq { padding-top: clamp(70px, 9vw, 120px); }
.ft-final { padding-bottom: clamp(60px, 8vw, 110px); }
.ft-final-p { color: var(--text-2) !important; font-size: 16.5px !important; max-width: 52ch; margin: 18px auto 0 !important; }
.ft-other { padding-bottom: clamp(60px, 8vw, 100px); }
.ft-other .pill-label { display: block; margin-bottom: 14px; }
/* Uebersicht */
.ft-group { padding-block: 0 clamp(44px, 6vw, 72px); }
.ft-group-h { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.035em; margin-bottom: 20px; }
.ft-group-h .t-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--hi); color: var(--accent-text); box-shadow: none; }
.ft-group-h .t-ico svg { width: 18px; height: 18px; }
/* Lexware: Streifen Discord -> JoinOurServer -> Lexware Office, drei Schritte */
.ft-steps-sec, .ft-screens-sec { padding-top: 0; }
.ft-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; margin-top: 28px; }
.ft-strip-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 12px 18px; border-radius: 16px; background: var(--soft-2); box-shadow: inset 0 0 0 1px var(--line); text-align: center; min-width: 0; }
.ft-strip-tile b { font-weight: 600; font-size: 16px; color: var(--ink); margin-top: 6px; }
.ft-strip-tile > span { font-size: 13px; color: var(--ink-3); }
.ft-strip-mark { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; }
.ft-strip-mark.dc img { width: 72px; height: 72px; display: block; }
.ft-strip-mark.jos { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.ft-strip-mark.jos svg { width: 40px; height: 37px; }
.ft-strip-mark.lx { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ft-strip-mark.lx img { width: 36px; height: 30px; display: block; }
.ft-strip-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--accent-text); padding: 0 2px; }
.ft-strip-link svg { width: 24px; height: 24px; }
.ft-strip-link small { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; color: var(--ink-3); }
.ft-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ft-steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--soft-2); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 20px; min-width: 0; }
.ft-step-n { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; background: var(--amber); color: var(--amber-text); font: 700 14px/32px var(--font); text-align: center; }
.ft-steps h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.ft-steps p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 6px 0 0; }
@media (max-width: 860px) { .ft-strip { grid-template-columns: minmax(0, 1fr); } .ft-strip-link { flex-direction: row; padding: 2px 0; } .ft-strip-link svg { transform: rotate(90deg); } .ft-steps { grid-template-columns: minmax(0, 1fr); } }
/* Lexware: Screens in Browser-Rahmen + Lightbox */
.ft-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ft-screens.compact { gap: 14px; }
.ft-screens figure { margin: 0; min-width: 0; }
.ft-screen { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(0,0,0,.55); cursor: zoom-in; transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ft-screen:hover { transform: translateY(-2px); } }
.ft-screen-bar { height: 28px; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.ft-screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d8; display: block; }
.ft-screen img { display: block; width: 100%; height: auto; }
.ft-screens figcaption { color: var(--ink-2); font-size: 13.5px; margin: 10px 4px 0; line-height: 1.45; }
@media (max-width: 860px) { .ft-screens { grid-template-columns: minmax(0, 1fr); } }
.ft-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5,6,10,.92); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.ft-lightbox.open { display: flex; }
.ft-lightbox img { max-width: min(1440px, 96vw); max-height: 86vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 120px rgba(0,0,0,.8); background: #fff; }
.ft-lightbox-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255,255,255,.8); font-size: 14px; padding: 0 24px; }
.ft-lightbox-close { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ft-lightbox-close svg { width: 18px; height: 18px; }
/* Lexware: Partnerblock mit Badge, Logo-Kachel, Tracking-CTA */
.ft-partner { padding-top: 0; }
.ft-partner-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: var(--soft-2); box-shadow: inset 0 0 0 1px var(--line); }
.ft-partner-grid h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.04em; line-height: 1.08; margin-top: 14px; }
.ft-partner-grid p { color: var(--ink-2); font-size: 16px; margin: 14px 0 0; max-width: 60ch; }
.ft-badge { height: 110px; width: auto; }
.ft-partner-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.ft-partner-ctas .btn { white-space: normal; height: auto; min-height: 54px; padding-block: 12px; text-align: center; line-height: 1.2; }
.ft-note { font-size: 13px !important; color: var(--ink-3) !important; margin-top: 16px !important; }
.ft-logo-tile { display: flex; justify-content: center; align-items: center; background: #fff; border-radius: 20px; padding: 30px 34px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(255,69,84,.4); }
.ft-logo-tile img { width: 280px; max-width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .ft-partner-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 20px; } .ft-badge { height: 86px; } .ft-partner-ctas { flex-direction: column; } .ft-partner-ctas .btn { width: 100%; } }

/* ---------- Marktplatz (28.11.2026) ---------- */
.page-head h1 .acc { color: var(--accent-head); }
.mp-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-bottom: 28px; }
.mp-filters .field-in { cursor: text; }
.mp-filters .field-in:has(select) { cursor: pointer; }
.mp-filters input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
@media (max-width: 760px) { .mp-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .mp-filters .mp-search { grid-column: 1 / -1; } }
.mp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: clamp(56px, 8vw, 110px); }
@media (max-width: 980px) { .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mp-grid { grid-template-columns: minmax(0, 1fr); } }
.partner-item { min-width: 0; }
.mp-card { display: flex; flex-direction: column; height: 100%; background: var(--soft-2); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: 8px 8px 20px; text-decoration: none; color: inherit; transition: background-color 150ms ease, box-shadow 150ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mp-card:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -26px rgba(0,0,0,.4); } .mp-card:hover .mp-img { transform: scale(1.02); } }
.mp-card:active { transform: scale(0.99); }
.mp-art { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--art); box-shadow: inset 0 0 0 1px var(--line); }
.mp-img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.mp-art-text { display: flex; align-items: flex-end; padding: 16px; background: radial-gradient(120% 90% at 0% 100%, rgba(251,191,36,.18), transparent 60%), var(--art); }
.mp-art-name { font: 600 clamp(20px, 2vw, 26px)/1.05 var(--head); letter-spacing: -.035em; color: var(--ink); max-width: 100%; overflow-wrap: anywhere; }
.mp-logo { position: absolute; left: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 11px; object-fit: cover; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 6px 16px -8px rgba(0,0,0,.5); }
.mp-art-text .mp-logo { position: absolute; left: 14px; top: 14px; bottom: auto; }
.mp-body { padding: 16px 12px 0; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mp-body h3 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; }
.mp-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: auto; padding-top: 14px; }
.mp-price { font-weight: 600; font-size: 14.5px; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: auto; white-space: nowrap; }
.mp-foot .chip { box-shadow: inset 0 0 0 1px var(--line); }
.mp-foot .chip.mp-rec { background: var(--hi); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(251,191,36,.4); font-weight: 600; }
/* FSK18: Bild unkenntlich, 18+ Plakette, Klick fragt nach dem Alter */
.fsk18-img { filter: blur(22px) saturate(0.7); transform: scale(1.08) !important; }
.fsk18-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(0,0,0,.5); color: #fff; text-align: center; pointer-events: none; }
.fsk18-overlay .fsk18-badge { background: #ef4444; color: #fff; padding: 8px 18px; border-radius: 12px; font: 800 20px/1 var(--head); letter-spacing: .02em; box-shadow: 0 8px 24px -8px rgba(239,68,68,.6); }
.fsk18-overlay small { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.mp-empty { text-align: center; padding: clamp(40px, 6vw, 80px) 16px clamp(72px, 10vw, 130px); color: var(--ink-3); }
.mp-empty .mp-empty-ico { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--ink-3); display: block; }
.mp-empty p { margin: 0 0 16px; font-size: 15.5px; color: var(--ink-2); }
.mp-empty .btn-ghost.btn-sm { box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Rechtstexte (28.11.2026): Shells impressum/agb/datenschutz/avv ---------- */
.lg-wrap { max-width: 76ch; margin: 0 auto; padding-bottom: clamp(70px, 9vw, 120px); color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.lg-wrap h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.045em; color: var(--ink); margin: 0 0 10px; }
.lg-wrap h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.035em; color: var(--ink); margin: 2.4em 0 .7em; padding-bottom: .35em; border-bottom: 1px solid var(--line); }
.lg-wrap h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin: 1.8em 0 .5em; }
.lg-wrap p, .lg-wrap li { margin: 0 0 1em; }
.lg-wrap li { margin-bottom: .35em; }
.lg-wrap ul, .lg-wrap ol { padding-left: 1.3em; margin: 0 0 1em; }
.lg-wrap li::marker { color: var(--ink-3); }
.lg-wrap a { color: var(--accent-text); text-decoration: none; font-weight: 500; }
.lg-wrap a:hover { text-decoration: underline; }
.lg-wrap strong, .lg-wrap b { color: var(--ink); font-weight: 600; }
.lg-wrap code { font: 500 .9em var(--mono); background: var(--soft); border-radius: 5px; padding: .1em .4em; color: var(--ink); }
.lg-wrap section { scroll-margin-top: 96px; }
.lg-wrap .stand { font: 500 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 32px; }
.lg-wrap .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 14px; font-weight: 500; margin-bottom: 22px; }
.lg-wrap .back-link:hover { color: var(--ink); text-decoration: none; }
.lg-wrap .back-link .bi { display: inline-block; width: 1em; }
.lg-wrap .back-link .bi::before { content: "\2190"; }
.lg-wrap .kv { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 18px; margin: 14px 0 18px; }
.lg-wrap .kv dt { font: 500 11px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lg-wrap .kv dd { margin: 0; color: var(--ink); }
@media (max-width: 600px) { .lg-wrap .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; } .lg-wrap .kv dd { margin-bottom: 10px; } }
.lg-wrap .addr-img { display: inline-block; background: #ececea; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); padding: 14px 18px; margin: 6px 0 10px; color-scheme: light; } /* Adressbild (dunkle Schrift): Kasten in beiden Modi hellgrau, Owner 28.11.2026 */
.lg-wrap .addr-img img { display: block; max-width: 100%; height: auto; filter: invert(1); } /* Bild hat weisse Schrift: auf Hellgrau dunkel darstellen */

.lg-wrap .toc { background: var(--soft-2); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 20px 24px; margin: 28px 0 36px; }
.lg-wrap .toc h3 { margin: 0 0 10px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.lg-wrap .toc ol { margin: 0; padding-left: 20px; }
.lg-wrap .toc li { font-size: 14.5px; margin-bottom: 4px; }
.lg-wrap .toc a { color: var(--ink); font-weight: 500; }
.lg-wrap .callout { background: var(--hi); border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(251,191,36,.35); padding: 14px 18px; margin: 20px 0; font-size: 14.5px; color: var(--ink-2); }
.lg-wrap .callout p:last-child { margin-bottom: 0; }
.lg-wrap .processor-table, .lg-wrap table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14.5px; }
.lg-wrap th, .lg-wrap td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.lg-wrap th { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.lg-wrap td { color: var(--ink-2); }
@media (max-width: 600px) { .lg-wrap { font-size: 16px; } .lg-wrap .processor-table, .lg-wrap table { display: block; overflow-x: auto; } }

/* ---------- Login-Fallback, Fehlerseiten, Newsletter-Abmeldung (28.11.2026) ---------- */
.au-card p { line-height: 1.6; }
.au-card strong { color: var(--ink); font-weight: 600; }
.au-id { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.au-id small { display: block; font-size: 12px; color: var(--ink-3); }
.au-id b { font-weight: 600; font-size: 15px; color: var(--ink); }
.au-id a { margin-left: auto; font-size: 13px; color: var(--ink-3); text-decoration: none; }
.au-id a:hover { color: var(--ink); }
.au-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--blurple); flex-shrink: 0; }
.au-avatar-ico { display: grid; place-items: center; background: var(--soft); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.au-avatar-ico svg { width: 22px; height: 22px; }
.au-more { display: block; text-align: center; margin-top: 20px; font-size: 14px; color: var(--ink-3); text-decoration: none; }
.au-more:hover { color: var(--ink); }
.au-center { text-align: center; }
.au-clyde { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.au-clyde svg { width: 32px; height: 32px; }
.au-center .btn { width: 100%; }
.au-err .big-code { margin-bottom: 8px; }
.au-err p { max-width: 36ch; margin-left: auto; margin-right: auto; }
.au-muted { font-size: 13.5px !important; color: var(--ink-3) !important; }
.au-h-ico { display: flex; align-items: center; gap: 12px; }
.au-state { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 700 18px/1 var(--head); flex-shrink: 0; }
.au-state.ok { background: rgba(16,185,129,.14); color: var(--green); }
.au-state.warn { background: var(--hi); color: var(--accent-text); }
.au-state svg { width: 18px; height: 18px; }
.au-form { margin-top: 20px; display: grid; gap: 8px; }
.au-radio { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; font-size: 15px; color: var(--ink); }
.au-radio:has(input:checked) { box-shadow: 0 0 0 1.5px var(--ink); }
.au-radio input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); flex-shrink: 0; display: grid; place-items: center; }
.au-radio input:checked { box-shadow: inset 0 0 0 1.5px var(--ink); }
.au-radio input:checked::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.au-form .btn { margin-top: 10px; }
/* Feature-Seiten: Abstaende zwischen Vorteilen, Abschnitten und Partnerblock (28.11.2026) */
.ft-benefits { padding-block: 0 clamp(44px, 6vw, 80px); }
.ft-sections { padding-block: 0 clamp(50px, 7vw, 90px); }
.ft-sec:last-child { padding-bottom: 0; }
.ft-partner { padding-top: clamp(20px, 3vw, 40px); }
.ft-faq { padding-top: clamp(60px, 8vw, 110px); }
/* Marktplatz: ohne Bild keinen Alt-Text in der Kachel zeigen (Bilder liegen nur live) */
.mp-img, .mp-logo { color: transparent; }
.lg-wrap h2, .lg-wrap h3 { text-wrap: pretty; }
/* Icons in Vorteils- und Uebersichtskarten in Amber hervorgehoben (Owner-Wunsch 28.11.2026) */
.b-card .t-ico { background: var(--hi); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(251,191,36,.35); }
/* ---------- Ueber uns: Europakarte statt Foto (28.11.2026) ---------- */
.about-img.about-map { min-height: 440px; display: flex; flex-direction: column; overflow: hidden; }
.eu-map { position: absolute; inset: 0; margin: 0; }
.eu-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.eu-bg { fill: var(--art); }
.eu-pd { fill: var(--ink-3); }
.eu-pd-de { fill: var(--amber); }
.eu-dot { opacity: .6; }
.eu-dot-edge { opacity: .22; }
.eu-dot-de { opacity: 1; }
.eu-city circle { fill: var(--ink-2); }
.eu-city-de circle { fill: var(--amber); }
.eu-ffm circle { fill: var(--amber); }
.eu-ffm .ring { fill: none; stroke: var(--amber); stroke-width: 1.2; opacity: .7; }
@media (prefers-reduced-motion: no-preference) { .eu-ffm .ring { transform-box: fill-box; transform-origin: center; animation: eu-pulse 2.8s ease-out infinite; } }
@keyframes eu-pulse { 0% { transform: scale(.6); opacity: .9; } 70% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }
.eu-map figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.eu-map .chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; padding: 7px 11px; border-radius: 8px; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); box-shadow: 0 0 0 1px var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: normal; }
.eu-map .chip .ic { width: 14px; height: 14px; color: var(--accent-text); }
@media (max-width: 920px) { .about-img.about-map { min-height: 360px; } }
@media (max-width: 700px) { .about-img.about-map { min-height: 300px; } .eu-map .chip { font-size: 12px; padding: 6px 9px; } }
/* Hero-Icons schweben leicht (Owner-Wunsch 28.11.2026): nur vertikal, keine Drehung, versetzte Takte */
@media (prefers-reduced-motion: no-preference) {
  .float-l { animation: hover-l 6.5s ease-in-out infinite; }
  .float-r { animation: hover-r 7.5s ease-in-out infinite 1.4s; }
}
@keyframes hover-l { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes hover-r { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@media (max-width: 960px) {
  @keyframes hover-l { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
  @keyframes hover-r { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
}
/* Mobil ohne die beiden Hero-Icons (Owner-Wunsch 28.11.2026) */
@media (max-width: 960px) { .floats { display: none; } .hero2 { padding-top: calc(112px + env(safe-area-inset-top, 0px)); } }

/* ---------- API-Dokumentation /docs/api-docs.php (28.11.2026) ---------- */
.api-head { padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 44px); }
.api-head h1 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.api-ver { font: 600 13px/1 var(--mono); letter-spacing: .04em; padding: 6px 9px; border-radius: 8px; background: var(--hi); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(251,191,36,.35); vertical-align: middle; }
.api-base { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }
.api-base code { font: 500 13px var(--mono); color: var(--ink); background: var(--soft); padding: 6px 10px; border-radius: 8px; }
.api-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 48px; align-items: start; }
/* linke Navigation */
.api-nav { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
.api-nav-toggle summary { display: none; }
.api-nav-group { padding: 14px 0; border-top: 1px solid var(--line); }
.api-nav-group:first-child { border-top: 0; padding-top: 0; }
.api-nav-group h6 { margin: 0 0 6px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.api-nav-group h6 a { color: inherit; text-decoration: none; }
.api-nav-group h6 a.active { color: var(--accent-text); }
.api-nav a { display: flex; align-items: center; gap: 9px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 14px; line-height: 1.3; min-width: 0; }
.api-nav a.ep code { font: 500 12.5px var(--mono); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.api-nav a.active { background: var(--soft); color: var(--ink); }
.api-nav a.active code { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .api-nav a:hover { background: var(--soft); color: var(--ink); } .api-nav a:hover code { color: var(--ink); } }
.api-nav .m { flex: 0 0 44px; text-align: center; font: 700 10px/1 var(--mono); letter-spacing: .04em; padding: 4px 0; border-radius: 5px; color: #fff; }
/* Methoden-Farben wie in REST-Referenzen ueblich; einzige Stelle, an der die Seite ueber Amber hinausgeht */
.method-get { background: #10b981; color: #fff; }
.method-post { background: #3b82f6; color: #fff; }
.method-patch, .method-put { background: #f59e0b; color: #1c1400; }
.method-delete { background: #ef4444; color: #fff; }
/* Inhalt */
.api-doc { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; min-width: 0; }
.api-doc section { scroll-margin-top: 96px; padding-bottom: 8px; }
.api-doc section + section { margin-top: 44px; }
.api-doc h1 { font-size: clamp(30px, 3.4vw, 40px); color: var(--ink); letter-spacing: -.04em; }
.api-doc h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); letter-spacing: -.035em; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.api-doc h5 { font: 600 18px/1.3 var(--head); letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.api-doc h6 { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 20px 0 8px; }
.api-doc p { margin: 0 0 12px; }
.api-doc .lead { font-size: 17px; color: var(--text-2); }
.api-doc .text-muted { color: var(--ink-3); }
.api-doc .small, .api-doc small { font-size: 13.5px; }
.api-doc strong { color: var(--ink); font-weight: 600; }
.api-doc code { font: 500 .9em var(--mono); color: var(--ink); background: var(--soft); border-radius: 5px; padding: .1em .4em; }
.api-doc pre { margin: 0 0 14px; padding: 14px 16px; border-radius: 10px; background: #0f0f11; color: #d6d6da; overflow-x: auto; box-shadow: 0 0 0 1px var(--line); }
.api-doc pre code { font: 400 12.5px/1.65 var(--mono); color: inherit; background: none; padding: 0; }
.api-doc .card { background: var(--soft-2); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); margin: 0 0 16px; scroll-margin-top: 96px; overflow: hidden; }
.api-doc .card-header { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.api-doc .card-header code { font: 600 14px var(--mono); color: var(--ink); background: none; padding: 0; }
.api-doc .card-body { padding: 18px 18px 20px; }
.api-doc .card-body > :last-child { margin-bottom: 0; }
.api-doc .badge-pill { font: 700 11px/1 var(--mono); letter-spacing: .04em; padding: 5px 8px; border-radius: 6px; }
.api-doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 14px; }
.api-doc th, .api-doc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.api-doc th { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.api-doc td:first-child { white-space: nowrap; }
.api-doc .alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin: 14px 0 0; background: var(--hi); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(251,191,36,.35); }
.api-doc .alert-info { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.api-doc ul, .api-doc ol { padding-left: 1.3em; margin: 0 0 12px; }
.api-doc a { color: var(--accent-text); text-decoration: none; }
/* Tester */
.api-tester-btn { position: fixed; right: 18px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); /* ueber dem Kontakt-FAB */ z-index: 45; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: 600 14px var(--font); cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.api-tester-btn .ic { width: 16px; height: 16px; color: var(--amber); }
.api-tester-btn:active { transform: scale(.97); }
.api-tester { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(520px, 100vw); background: var(--bg); box-shadow: -1px 0 0 var(--line), -30px 0 60px -30px rgba(0,0,0,.5); display: flex; flex-direction: column; }
.api-tester-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.api-tester-head b { font: 600 17px/1.2 var(--head); letter-spacing: -.02em; }
.api-tester-close { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.api-tester-close svg { width: 18px; height: 18px; }
.api-tester-body { padding: 18px 20px calc(24px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.api-tester label { display: block; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 16px 0 6px; }
.api-tester label:first-child { margin-top: 0; }
.api-tester small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.api-tester .form-control, .api-tester .form-select { display: block; width: 100%; min-height: 42px; padding: 9px 12px; border: 0; border-radius: 10px; background: var(--surface); color: var(--ink); font: 500 13.5px var(--mono); box-shadow: inset 0 0 0 1px var(--line); outline: 0; }
.api-tester .form-control:focus, .api-tester .form-select:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.api-tester .form-select { font-family: var(--font); appearance: none; -webkit-appearance: none; cursor: pointer; }
.api-tester textarea.form-control { resize: vertical; line-height: 1.5; }
.api-tester-url { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.api-tester-url code { font: 500 12px var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }
.tester-method { font: 700 12px/1 var(--mono); padding: 7px 10px; border-radius: 8px; min-width: 56px; text-align: center; flex-shrink: 0; }
.api-param { margin-top: 8px; }
.api-param-name { font: 500 12px var(--mono); color: var(--ink-3); margin-bottom: 4px; }
.api-tester-send { width: 100%; margin-top: 20px; }
.api-tester-resp-head { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.api-tester-resp-head label { margin: 0; }
.status-2xx, .status-4xx, .status-5xx { font: 600 11px/1 var(--mono); padding: 5px 9px; border-radius: 6px; color: #fff; }
.status-2xx { background: #10b981; } .status-4xx { background: #f59e0b; color: #1c1400; } .status-5xx { background: #ef4444; }
.response-box { margin-top: 8px; padding: 12px; border-radius: 10px; background: #0f0f11; color: #d6d6da; font: 400 12px/1.6 var(--mono); max-height: 50vh; overflow: auto; white-space: pre-wrap; word-break: break-word; box-shadow: inset 0 0 0 1px var(--line); }
.api-tester-timing { font-size: 12px; color: var(--ink-3); margin-top: 8px; overflow-wrap: anywhere; }
body.tester-open .api-tester-btn { display: none; }
/* Mobil: Inhalt einklappbar ueber dem Text */
@media (max-width: 900px) {
  .api-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .api-nav { position: static; max-height: none; overflow: visible; padding: 0; }
  .api-nav-toggle { border-radius: 14px; background: var(--soft-2); box-shadow: inset 0 0 0 1px var(--line); padding: 0 14px; }
  .api-nav-toggle summary { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: 14px 0; font-weight: 600; cursor: pointer; }
  .api-nav-toggle summary::-webkit-details-marker { display: none; }
  .api-nav-toggle summary .chev { width: 16px; height: 16px; color: var(--ink-3); transition: transform 200ms var(--ease-out); }
  .api-nav-toggle[open] summary .chev { transform: rotate(180deg); }
  .api-nav-in { padding-bottom: 10px; }
  .api-doc pre { margin-left: -16px; margin-right: -16px; border-radius: 0; }
  .api-doc .card pre { margin-left: 0; margin-right: 0; border-radius: 10px; }
}
.api-tester[hidden] { display: none; }
.api-nav a.ep { align-items: flex-start; }
.api-nav a.ep .m { margin-top: 1px; }
.api-nav a.ep code { white-space: normal; overflow-wrap: anywhere; }

/* ---------- Kontakt-FAB unten rechts (28.11.2026): Discord + WhatsApp wie auf der bisherigen Startseite ---------- */
.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 46; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-main { position: relative; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--amber); color: #1c1400; display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 0 var(--amber-edge), 0 14px 30px -12px rgba(251,191,36,.7); transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.fab-main > svg { grid-area: 1 / 1; width: 22px; height: 22px; transition: opacity 160ms ease, transform 240ms var(--ease-out); }
.fab-main .fab-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.fab.open .fab-main .fab-close { opacity: 1; transform: none; }
.fab.open .fab-main .fab-open { opacity: 0; transform: rotate(90deg) scale(.6); }
@media (hover: hover) and (pointer: fine) { .fab-main:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--amber-edge), 0 18px 34px -12px rgba(251,191,36,.8); } }
.fab-main:active { transform: scale(.96); }
.fab-main:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.fab-list { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fab-list[hidden] { display: none; }
.fab-item { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font: 600 14px/1 var(--font); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -14px rgba(0,0,0,.6); animation: fab-in 260ms var(--ease-out) both; }
.fab-item:first-child { animation-delay: 50ms; }
@media (hover: hover) and (pointer: fine) { .fab-item:hover { background: var(--soft); } }
.fab-item:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
@keyframes fab-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
/* Marken-Kacheln: Discord-App-Icon (Clyde #E0E3FF auf #5865F2, unveraendert), WhatsApp-Gruen */
.fab-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.fab-ic-dc { background: #5865F2; color: #E0E3FF; }
.fab-ic-dc svg { width: 17px; height: 13px; }
.fab-ic-wa { background: #25D366; }
.fab-ic-wa svg { width: 17px; height: 17px; }
body.tester-open .fab { display: none; }
@media (prefers-reduced-motion: reduce) { .fab-item { animation: none; } .fab-main > svg, .fab-main { transition: none; } }

/* Rechner: Fussnoten-Stern in Amber (28.11.2026) */
.calc .star, .calc-note .star { color: var(--amber); font-weight: 700; }
.r-top sup.star { font-size: .95em; line-height: 0; margin-left: 2px; vertical-align: 0; }

/* === USP-Kacheln animiert (28.11.2026): Gebuehren zaehlen, Rechnungen laufen ein === */
.fee-anim .fee-bar i { transition: transform 900ms var(--ease-out); }
.fee-anim:not(.in) .fee-bar i { transform: scaleX(0) !important; }
.fee-anim .lbl { transition: opacity 200ms ease; }
.fee-anim .lbl.swap { opacity: .35; }
.inv-anim > div { max-height: 40px; }
.inv-anim > div.entering { animation: inv-in 520ms var(--ease-out) both; }
.inv-anim > div.leaving { animation: inv-out 520ms var(--ease-out) both; }
@keyframes inv-in { from { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; } to { max-height: 40px; opacity: 1; } }
@keyframes inv-out { to { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; border-top-width: 0; } }
.inv-anim .fv.is-sending { color: var(--ink-2); font-weight: 500; }
.inv-spin { width: 12px; height: 12px; margin: 0 4px; border-radius: 50%; border: 2px solid var(--amber); border-right-color: transparent; animation: inv-spin 800ms linear infinite; flex-shrink: 0; }
@keyframes inv-spin { to { transform: rotate(360deg); } }
.inv-anim .fv.just-done .yn { animation: inv-pop 380ms var(--ease-out) both; }
@keyframes inv-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fee-anim:not(.in) .fee-bar i { transform: none !important; } .inv-spin { animation: none; } }
