/* cra.dserve.pl — samoocena CRA | DSERVE */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }

:root {
  --navy: #1d283b;
  --navy-2: #26344d;
  --navy-3: #33445f;
  --ink: #0f172a;
  --text: #1f2937;
  --muted: #5b6577;
  --line: #e3e7ee;
  --line-2: #cfd6e2;
  --bg: #f4f6f9;
  --card: #ffffff;
  --accent: #2f6fed;
  --accent-2: #1f58cc;
  --accent-soft: #eaf1ff;
  --ok: #12805c;
  --ok-soft: #e6f5ee;
  --warn: #a35a00;
  --warn-soft: #fff3df;
  --bad: #c0362c;
  --bad-soft: #fdecea;
  --c-default: #5b6577;
  --c-class1: #2f6fed;
  --c-class2: #7c3aed;
  --c-critical: #c0362c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 24px rgba(15, 23, 42, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); font-feature-settings: "tnum" 0; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent-2); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 .8em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(47, 111, 237, .45); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 860px; }
.muted { color: var(--muted); }
.opt { color: var(--muted); font-weight: 400; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Topbar + header */
.topbar { background: var(--navy); color: #c9d3e3; font-size: 13.5px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar__in { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar .sep { margin: 0 8px; opacity: .5; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__img { height: 34px; width: auto; }
.brand__text { display: none; font-weight: 800; font-size: 24px; letter-spacing: .04em; color: var(--navy); }
.brand--text .brand__img { display: none; }
.brand--text .brand__text { display: inline; }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--accent-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 11px 18px; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }
.btn--primary:disabled { background: #9db6ea; cursor: progress; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn--link { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 8px 4px; }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 14px 22px; font-size: 16px; }
.btn--dashed { width: 100%; background: #fff; border: 1.5px dashed var(--line-2); color: var(--accent-2); padding: 16px; }
.btn--dashed:hover { border-color: var(--accent); background: var(--accent-soft); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(47, 111, 237, .35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #16203a 100%); color: #dfe6f2; padding: 64px 0 56px; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 16px; }
.hero .lead { font-size: 18px; color: #c9d3e3; max-width: 640px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 6px 12px; border-radius: 999px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 30px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dates li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 12px 14px; }
.dates .d { display: block; font-weight: 700; color: #fff; font-size: 15px; }
.dates .t { display: block; font-size: 13px; color: #b8c4d8; margin-top: 2px; }
.dates .s { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.dates .s--now { background: #ffd8a8; color: #6b3a00; }
.dates .s--past { background: rgba(255, 255, 255, .15); color: #fff; }
.dates .s--future { background: rgba(47, 111, 237, .35); color: #fff; }
.hero__card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 26px 26px 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.hero__card h2 { font-size: 20px; }
.hero__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; border-top: 1px solid var(--line); padding-top: 12px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2312805c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.alertband { background: var(--warn-soft); border-bottom: 1px solid #f3dcb5; color: #5c3600; font-size: 15px; }
.alertband .wrap { display: flex; gap: 12px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.alertband strong { color: #3f2500; }
.alertband .dot { width: 10px; height: 10px; border-radius: 50%; background: #e07b00; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(224, 123, 0, .18); }

/* Tool */
.tool { padding: 36px 0 64px; scroll-margin-top: 70px; }
.stepper { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; counter-reset: s; }
.stepper button { width: 100%; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; text-align: left; color: var(--muted); font-weight: 600; font-size: 14px; }
.stepper .n { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; background: var(--bg); color: var(--muted); flex-shrink: 0; border: 1px solid var(--line); }
.stepper .is-done .n { background: var(--ok-soft); color: var(--ok); border-color: #bfe5d3; }
.stepper .is-current button { border-color: var(--accent); color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.stepper .is-current .n { background: var(--accent); color: #fff; border-color: var(--accent); }
.tool__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.tool__side { position: sticky; top: 88px; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.panel__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.panel__head h2 { font-size: 24px; margin-bottom: 4px; }
.panel__head p { color: var(--muted); margin: 0; }
.panel__num { width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.subhead { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 22px 0 10px; }
.subhead:first-of-type { margin-top: 0; }

/* Fields */
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 7px; padding: 0; }
.field--narrow { max-width: 420px; }
input[type="text"], input:not([type]), input[type="email"], input[type="tel"], select, textarea { width: 100%; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 13px; background: #fff; font-size: 15.5px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input.is-invalid, textarea.is-invalid { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%235b6577' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center/18px no-repeat; padding-right: 40px; }
.hint { font-size: 13.5px; color: var(--muted); margin: 7px 0 0; min-height: 1.2em; }
.hint.is-ok { color: var(--ok); }
.hint.is-err { color: var(--bad); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.nipbox { display: flex; gap: 10px; }
.nipbox input { font-size: 18px; letter-spacing: .04em; font-feature-settings: "tnum" 1; max-width: 260px; }

.company { background: var(--accent-soft); border: 1px solid #cfe0ff; border-radius: var(--radius-sm); padding: 14px 16px; margin: -4px 0 18px; font-size: 14.5px; }
.company strong { color: var(--ink); font-size: 16px; display: block; margin-bottom: 2px; }
.company .meta { color: var(--muted); }
.company .pkd { margin-top: 6px; color: var(--text); }

/* Segmented controls */
.seg { display: grid; gap: 8px; }
.seg--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg label { position: relative; display: block; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; background: #fff; font-size: 14.5px; transition: border-color .15s, background .15s; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:hover { border-color: var(--accent); }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.seg label:has(input:focus-visible) { outline: 3px solid rgba(47, 111, 237, .45); outline-offset: 2px; }
.seg .l { display: block; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.seg .h { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.35; }

/* Role cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rcard { position: relative; display: flex; gap: 12px; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.rcard:hover { border-color: var(--accent); }
.rcard input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.rcard:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.rcard .t { font-weight: 700; color: var(--ink); display: block; }
.rcard .d { font-size: 13.5px; color: var(--muted); display: block; margin-top: 2px; }
.rcard .r { font-size: 12px; color: var(--muted); display: inline-block; margin-top: 6px; background: var(--bg); border-radius: 6px; padding: 1px 6px; }
.pkdhint { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 18px; font-size: 14.5px; }
.pkdhint button { margin-left: 6px; }

/* Products */
.prod { border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 14px; background: #fff; overflow: hidden; }
.prod__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fafbfd; border-bottom: 1px solid var(--line); cursor: pointer; }
.prod__head .ttl { font-weight: 700; color: var(--ink); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prod__head .chev { transition: transform .2s; color: var(--muted); }
.prod.is-collapsed .prod__body { display: none; }
.prod.is-collapsed .prod__head { border-bottom: 0; }
.prod.is-collapsed .chev { transform: rotate(-90deg); }
.prod__body { padding: 18px 16px 6px; }
.prod__preview { margin: 4px 0 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg); font-size: 14px; }
.prod__preview .k { color: var(--muted); }
.prod__preview ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.prod__preview li { margin: 3px 0; }
.prod__remove { color: var(--bad); }
.empty { text-align: center; padding: 30px 20px; border: 1.5px dashed var(--line-2); border-radius: 12px; color: var(--muted); margin-bottom: 14px; background: #fafbfd; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; line-height: 1.5; }
.badge--in { background: var(--bad-soft); color: var(--bad); }
.badge--out { background: var(--ok-soft); color: var(--ok); }
.badge--verify { background: var(--warn-soft); color: var(--warn); }
.badge--pending { background: var(--bg); color: var(--muted); }
.badge--default { background: #eef1f5; color: var(--c-default); }
.badge--class1 { background: #e8f0ff; color: var(--c-class1); }
.badge--class2 { background: #f1eafe; color: var(--c-class2); }
.badge--critical { background: var(--bad-soft); color: var(--c-critical); }
.badge--krytyczny { background: var(--bad); color: #fff; }
.badge--wysoki { background: var(--bad-soft); color: var(--bad); }
.badge--średni { background: var(--warn-soft); color: var(--warn); }

/* Readiness */
.rgroup { margin-bottom: 26px; }
.rgroup h3 { font-size: 16px; margin-bottom: 12px; }
.rq { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; background: #fff; }
.rq.is-answered { border-color: var(--line-2); background: #fcfdfe; }
.rq__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.rq__t { font-weight: 700; color: var(--ink); }
.rq__ref { font-size: 12px; color: var(--muted); white-space: nowrap; }
.rq__q { font-size: 14.5px; color: var(--text); margin: 4px 0 10px; }
.rq .seg label { padding: 8px 10px; text-align: center; font-weight: 600; }
.rq .seg--answers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rq .seg label:has(input[value="no"]:checked), .rq .seg label:has(input[value="unknown"]:checked) { border-color: var(--bad); background: var(--bad-soft); box-shadow: inset 0 0 0 1px var(--bad); }
.rq .seg label:has(input[value="partial"]:checked) { border-color: #e39a2d; background: var(--warn-soft); box-shadow: inset 0 0 0 1px #e39a2d; }
.rq .seg label:has(input[value="yes"]:checked) { border-color: var(--ok); background: var(--ok-soft); box-shadow: inset 0 0 0 1px var(--ok); }
.rcrit { font-size: 12px; font-weight: 700; color: #fff; background: var(--bad); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }
.progress { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.bar { flex: 1; height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s; }

/* Live summary */
.live { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.live__head { padding: 18px 18px 16px; color: #fff; background: var(--navy); }
.live__head .k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #aebbd2; font-weight: 700; }
.live__head .v { font-size: 18px; font-weight: 700; margin-top: 6px; line-height: 1.3; }
.live__head--in { background: linear-gradient(135deg, #7a1f17, #b23227); }
.live__head--out { background: linear-gradient(135deg, #0d5b42, #13805c); }
.live__head--verify { background: linear-gradient(135deg, #7a4300, #b06300); }
.live__rows { padding: 6px 18px; }
.live__row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.live__row:last-child { border-bottom: 0; }
.live__row .k { color: var(--muted); }
.live__row .v { font-weight: 600; color: var(--ink); text-align: right; }
.live__score { padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.live__score .top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.live__score .top b { color: var(--ink); }
.live__foot { padding: 0 18px 18px; }
.live__foot .btn { width: 100%; }
.live__note { font-size: 12.5px; color: var(--muted); padding: 0 18px 16px; margin: 0; }

/* Results */
.verdict { border-radius: 12px; padding: 20px 22px; margin-bottom: 20px; border: 1px solid; }
.verdict h3 { font-size: 22px; margin-bottom: 6px; }
.verdict p { margin: 0 0 6px; }
.verdict--in { background: var(--bad-soft); border-color: #f4c7c1; }
.verdict--in h3 { color: #8e2219; }
.verdict--out { background: var(--ok-soft); border-color: #bfe5d3; }
.verdict--out h3 { color: #0b5a40; }
.verdict--verify { background: var(--warn-soft); border-color: #f3dcb5; }
.verdict--verify h3 { color: #6b3a00; }
.verdict--pending { background: var(--bg); border-color: var(--line); }
.verdict ul { margin: 8px 0 0; padding-left: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi .k { font-size: 12.5px; color: var(--muted); display: block; }
.kpi .v { font-size: 24px; font-weight: 800; color: var(--ink); display: block; margin-top: 4px; line-height: 1.15; font-feature-settings: "tnum" 1; }
.kpi .s { font-size: 12.5px; color: var(--muted); display: block; margin-top: 4px; }
.block { margin-top: 28px; }
.block > h3 { font-size: 19px; margin-bottom: 12px; }
.report4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.report4 div { background: #fff; border: 1px solid #f4c7c1; border-radius: 10px; padding: 10px 12px; }
.report4 b { display: block; font-size: 20px; color: var(--bad); }
.report4 span { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.report4 small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.rescard { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 10px; background: #fff; }
.rescard__top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.rescard__top h4 { margin: 0 auto 0 0; font-size: 16px; color: var(--ink); }
.rescard dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 6px 14px; margin: 10px 0 0; font-size: 14px; }
.rescard dt { color: var(--muted); }
.rescard dd { margin: 0; color: var(--text); }
.rescard ul { margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.gap { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.gap:last-child { border-bottom: 0; }
.gap h4 { margin: 0 0 3px; font-size: 15px; color: var(--ink); }
.gap p { margin: 0; font-size: 14px; }
.gap .ref { font-size: 12px; color: var(--muted); margin-top: 4px; display: block; }
.obl details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 8px; }
.obl summary { padding: 14px 16px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.obl summary::-webkit-details-marker { display: none; }
.obl summary span { font-weight: 400; color: var(--muted); font-size: 13px; }
.obl ul { margin: 0; padding: 0 16px 14px 34px; font-size: 14.5px; }
.obl li { margin: 6px 0; }
table.fines { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fines th, .fines td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fines th { background: #fafbfd; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.fines td.num { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; font-feature-settings: "tnum" 1; }
.fines tr:last-child td { border-bottom: 0; }
.note { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); box-shadow: 0 0 0 4px #fff; z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 10px; bottom: -6px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.is-past::before { background: var(--ok); }
.timeline li.is-now::before { background: #e07b00; }
.timeline .d { font-weight: 700; color: var(--ink); }
.timeline .t { font-weight: 600; }
.timeline p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }

.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 22px; }
.svc label { display: flex; gap: 10px; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.svc label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.svc input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.svc .t { font-weight: 700; color: var(--ink); display: block; font-size: 14.5px; }
.svc .d { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }
.svc .p { font-size: 12.5px; color: var(--accent-2); font-weight: 600; display: block; margin-top: 4px; }
.svc .rec { font-size: 11.5px; font-weight: 700; color: var(--ok); text-transform: uppercase; letter-spacing: .04em; }

.form { background: #fafbfd; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin: 10px 0; cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex-shrink: 0; }
.rodo { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.rodo summary { cursor: pointer; }
.rodo p { margin: 8px 0 0; }
.form__foot { display: flex; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.form__foot .hint { margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done { background: var(--ok-soft); border: 1px solid #bfe5d3; border-radius: 12px; padding: 20px; }
.done h4 { margin: 0 0 6px; font-size: 18px; color: #0b5a40; }

/* Why + FAQ + footer */
.why { padding: 56px 0; background: #fff; border-top: 1px solid var(--line); }
.why h2 { font-size: clamp(24px, 3vw, 32px); max-width: 760px; margin-bottom: 26px; }
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why article { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.why h3 { font-size: 16.5px; }
.why p { font-size: 14.5px; color: var(--muted); margin: 0; }
.faq { padding: 56px 0 64px; }
.faq h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 22px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 16px 18px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 13px; font-size: 22px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--text); }
.footer { background: var(--navy); color: #c9d3e3; padding: 44px 0 0; font-size: 14.5px; }
.footer a { color: #fff; }
.footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 5px 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.footer__brand { font-weight: 800; font-size: 22px; letter-spacing: .04em; color: #fff; margin-bottom: 6px; }
.footer__legal { font-size: 13px; color: #9fb0c9; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--navy-3); margin-top: 32px; padding-top: 16px; padding-bottom: 20px; font-size: 12.5px; color: #9fb0c9; }
.footer__bottom p { margin: 0; }

.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(15, 23, 42, .1); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; }
.mobilebar .txt { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.3; }
.mobilebar .txt b { display: block; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobilebar .txt span { color: var(--muted); }

@media (max-width: 1080px) {
  .tool__grid { grid-template-columns: minmax(0, 1fr); }
  .tool__side { display: none; }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.has-mobilebar { padding-bottom: 74px; }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .nav { display: none; }
  .header__cta { margin-left: auto; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 36px; }
  .hero .lead { font-size: 16.5px; }
  .dates { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 20px 16px; border-radius: 12px; }
  .panel__head h2 { font-size: 21px; }
  .panel__num { width: 32px; height: 32px; border-radius: 10px; }
  .stepper { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .stepper button { justify-content: center; padding: 8px 4px; }
  .stepper .l { display: none; }
  .grid2, .cards, .svc { grid-template-columns: minmax(0, 1fr); }
  .seg--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg--3, .prod .seg--2:not(.seg--yn) { grid-template-columns: minmax(0, 1fr); }
  .rq .seg--answers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nipbox { flex-direction: column; }
  .nipbox input { max-width: none; }
  .report4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rescard dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rescard dd { margin-bottom: 8px; }
  .gap { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .why__grid, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; }
  .topbar__right { display: none; }
  .header__in { height: 60px; }
  .header__cta { padding: 8px 12px; font-size: 13.5px; }
  .fines th:nth-child(2), .fines td:nth-child(2) { display: none; }
  .panel__foot .btn { padding: 11px 14px; }
}
@media print {
  .topbar, .header, .hero, .alertband, .stepper, .tool__side, .why, .faq, .footer, .mobilebar, .panel__foot, #kontakt { display: none !important; }
  .step { display: block !important; }
  .step:not([data-step="5"]) { display: none !important; }
  .panel { box-shadow: none; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
