/* =========================================================
   KS Work GmbH – Stylesheet
   Farben zentral in :root anpassbar
   ========================================================= */
:root {
  --navy: #1f2326;
  --navy-2: #2a2f33;
  --navy-3: #545b62;
  --accent: #e8540c;
  --accent-2: #c24506;
  --on-accent: #ffffff;
  --text: #1f2326;
  --muted: #5d646b;
  --bg: #ffffff;
  --bg-alt: #f4f4f2;
  --border: #e2e2df;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 35, 38, .10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 600 1rem var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px rgba(232, 84, 12, .28); }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 9px 18px; font-size: .92rem; }
.inline-link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-3); text-decoration: underline; cursor: pointer; font-weight: 600; }

/* Topbar */
.topbar { background: var(--accent); color: var(--on-accent); font-size: .9rem; font-weight: 600; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar-phone { text-decoration: none; }
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #fff; margin-right: 6px; animation: pulse 1.6s infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8);} 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0);} 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0);} }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); color: var(--text); box-shadow: 0 1px 0 var(--border), 0 6px 20px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo-mark { width: 38px; height: 38px; color: var(--accent); }
.logo-text { font-size: 1.2rem; letter-spacing: .3px; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--text); }
.main-nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { background: radial-gradient(1000px 500px at 80% 10%, var(--navy-3), transparent), var(--navy); color: #fff; padding: 80px 0 90px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.hero h1 span { color: var(--accent); }
.lead { font-size: 1.15rem; color: #c9cdd1; max-width: 600px; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; font-weight: 700; color: var(--accent-2); margin-bottom: .8em; }
.hero .eyebrow { color: var(--accent); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero-facts { list-style: none; display: flex; gap: 32px; padding: 0; margin: 0; flex-wrap: wrap; color: #c9cdd1; }
.hero-facts strong { display: block; color: #fff; font-size: 1.4rem; }
.hero-visual svg { width: 100%; max-width: 420px; margin-left: auto; filter: drop-shadow(0 20px 40px rgba(232, 84, 12, .3)); }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark p { color: #c9cdd1; }
.section-dark .eyebrow { color: var(--accent); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head p { color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); }
.card ul { padding-left: 0; list-style: none; margin: 0 0 20px; flex: 1; }
.card li { padding-left: 22px; position: relative; margin-bottom: 6px; font-size: .95rem; }
.card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-link { align-self: flex-start; background: none; border: 0; padding: 0; font: 700 .98rem var(--font); color: var(--accent-2); text-decoration: none; cursor: pointer; }
.card-link:hover { color: var(--accent); }
.card-highlight { border: 2px solid var(--accent); }
.card-badge { position: absolute; top: 18px; right: 18px; background: var(--accent); color: #fff; font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.card-cta { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border: 0; justify-content: center; }
.card-cta p { color: #c9cdd1; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.values li { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 22px; }
.values strong { display: block; color: var(--accent); font-size: 1.1rem; margin-bottom: 6px; }
.values span { color: #c9cdd1; font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { text-align: center; padding: 10px; }
.steps span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.steps p { color: var(--muted); }

/* Kontakt */
.contact-box { font-style: normal; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.contact-box a { color: var(--navy-3); font-weight: 600; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea { font: 1rem var(--font); padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fbfcfe; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.contact-form .check input { width: auto; margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #c40000; }

/* Footer */
.site-footer { background: var(--navy); color: #c9cdd1; padding: 34px 0; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer strong { color: #fff; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* Rechtsseiten */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal .note { background: #fdf0e8; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 8px; }

/* ================= Anfrage-Bot ================= */
.bot-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 8px; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px; padding: 14px 20px; font: 700 1rem var(--font); cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.bot-launcher svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.bot-launcher.hidden { display: none; }

.bot { position: fixed; right: 22px; bottom: 22px; z-index: 100; width: 390px; max-width: calc(100vw - 24px); height: 600px; max-height: calc(100vh - 44px); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(31, 35, 38, .35); display: flex; flex-direction: column; overflow: hidden; animation: botIn .22s ease-out; }
.bot[hidden] { display: none; }
@keyframes botIn { from { opacity: 0; transform: translateY(16px);} to { opacity: 1; transform: none;} }
.bot-header { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 14px 16px; }
.bot-header h2 { font-size: 1rem; margin: 0; }
.bot-header p { margin: 0; font-size: .8rem; color: #a4abb2; }
.bot-header > div:nth-child(2) { flex: 1; }
.bot-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1.1rem; }
.bot-close, .bot-restart { background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; padding: 4px 6px; opacity: .8; }
.bot-restart { font-size: 1.2rem; }
.bot-close:hover, .bot-restart:hover { opacity: 1; color: var(--accent); }

.bot-messages { flex: 1; overflow-y: auto; padding: 18px 14px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.45; white-space: pre-line; animation: botIn .18s ease-out; }
.msg-bot { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-user { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-alert { background: #fff0f0; border: 1px solid #f3b4b4; color: #7a0000; align-self: stretch; max-width: 100%; }
.msg-alert a { color: #c40000; font-weight: 700; }
.msg-summary { background: #fff; border: 2px solid var(--accent); align-self: stretch; max-width: 100%; }
.msg-summary dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: .88rem; }
.msg-summary dt { font-weight: 700; color: var(--muted); }
.msg-summary dd { margin: 0; word-break: break-word; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; background: var(--muted); border-radius: 50%; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25;} 40% { opacity: 1;} }

.bot-input { padding: 12px; border-top: 1px solid var(--border); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--navy-3); background: #fff; color: var(--navy-3); border-radius: 999px; padding: 8px 14px; font: 600 .9rem var(--font); cursor: pointer; transition: .15s; }
.chip:hover, .chip:focus { background: var(--navy-3); color: #fff; }
.chip-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent); }
.bot-form { display: flex; gap: 8px; }
.bot-form input, .bot-form textarea { flex: 1; font: 1rem var(--font); padding: 11px 13px; border: 1px solid var(--border); border-radius: 12px; resize: none; }
.bot-form input:focus, .bot-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.bot-form button { border: 0; background: var(--accent); color: var(--on-accent); border-radius: 12px; padding: 0 16px; font-weight: 700; cursor: pointer; }
.bot-hint { font-size: .78rem; color: var(--muted); margin: 6px 2px 0; }
.bot-hint a { color: var(--navy-3); }
.bot-error { color: #c40000; font-size: .82rem; margin: 6px 2px 0; }
.bot-skip { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: .85rem; cursor: pointer; margin-top: 6px; padding: 0; }

/* Responsive */
@media (max-width: 920px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 84px; left: 0; right: 0; background: #fff; box-shadow: 0 12px 20px rgba(0,0,0,.08); max-height: 0; overflow: hidden; transition: max-height .25s; }
  .main-nav.open { max-height: 400px; }
  .main-nav ul { flex-direction: column; align-items: flex-start; padding: 16px 20px 22px; gap: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 64px 0; }
  .values, .form-row { grid-template-columns: 1fr; }
  .bot { right: 12px; left: 12px; bottom: 12px; width: auto; height: calc(100vh - 24px); max-width: none; }
  .bot-launcher span { display: none; }
  .bot-launcher { padding: 16px; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ================= Erweiterungen v2 ================= */
.logo-img { height: 62px; width: auto; max-width: 200px; object-fit: contain; }
.logo-plate { background: #fff; padding: 4px 10px; border-radius: 8px; }
.hero-visual { display: flex; justify-content: flex-end; }
.hero-img { width: 100%; max-width: 440px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 3px solid rgba(255,255,255,.08); }
.card.has-img { padding-top: 0; overflow: hidden; }
.card-img { width: calc(100% + 56px); max-width: none; margin: 0 -28px 20px; aspect-ratio: 16 / 9; object-fit: cover; }
.card.has-img .card-icon { margin-top: -46px; position: relative; border: 3px solid #fff; }
.card.has-img .card-badge { z-index: 2; }
.about-img { margin-top: 24px; border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Geschichte */
#unternehmen .section-head p { color: var(--text); }
.timeline { list-style: none; padding: 0; margin: 0 auto 48px; max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 25%; right: 25%; top: 27px; height: 3px; background: linear-gradient(90deg, var(--border), var(--accent)); }
.timeline li { text-align: center; padding: 0 16px; position: relative; }
.tl-year { display: inline-block; position: relative; z-index: 1; background: #fff; border: 3px solid var(--border); color: var(--muted); font-weight: 700; padding: 12px 18px; border-radius: 999px; margin-bottom: 14px; font-size: .95rem; }
.tl-now .tl-year { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.timeline h3 { margin-bottom: .2em; }
.timeline p { color: var(--muted); margin: 0; }
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto; }
.partner { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; gap: 18px; align-items: flex-start; }
.partner h3 { margin: 0 0 2px; font-size: 1.2rem; }
.partner p { color: var(--muted); margin: 6px 0 0; font-size: .95rem; }
.partner .partner-role { color: var(--accent-2); font-weight: 700; margin: 0; font-size: .9rem; text-transform: uppercase; letter-spacing: .6px; }
.partner-img, .partner-ini { width: 76px; height: 76px; flex: none; border-radius: 50%; object-fit: cover; }
.partner-ini { display: grid; place-items: center; background: var(--navy); color: var(--accent); font-weight: 800; font-size: 1.5rem; }
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; gap: 20px; }
  .timeline::before { display: none; }
}
@media (max-width: 920px) {
  .hero-visual.has-photo { display: flex; justify-content: center; }
  .hero-visual.has-photo .hero-img { max-width: 520px; aspect-ratio: 16 / 10; }
}

/* v3: Logo im hellen Kopfbereich */
.site-header .logo-plate { background: transparent; padding: 0; }
@media (max-width: 760px) { .logo-img { height: 50px; } .header-inner { height: 72px; } .main-nav { top: 72px; } }
/* PV-Kachel hat mehr Text: auf großen Bildschirmen doppelt breit */
@media (min-width: 1100px) { .card#pv { grid-column: span 2; } }
@media (min-width: 1100px) { .card-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; } .card-cta h3 { margin: 0; flex: none; } .card-cta p { margin: 0; flex: 1; } }

/* ================= PV-Konfigurator ================= */
.card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pv-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.pv-steps { display: grid; gap: 18px; }
.pv-step { margin: 0; border: 1px solid var(--border); background: #fff; border-radius: var(--radius); padding: 22px 24px 24px; min-width: 0; }
.pv-step legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.pv-step legend + * { clear: both; }
.pv-step legend span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .95rem; flex: none; }
.pv-step legend em { font-weight: 400; font-style: normal; color: var(--muted); font-size: .9rem; }
.pv-help { color: var(--muted); font-size: .93rem; margin: -4px 0 14px; }
.pv-label { font-weight: 600; margin: 4px 0 8px; font-size: .93rem; }
.pv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.pv-tile { position: relative; cursor: pointer; }
.pv-tile input { position: absolute; opacity: 0; pointer-events: none; }
.pv-tile span { display: flex; flex-direction: column; justify-content: center; min-height: 54px; height: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 10px; background: #fafaf9; transition: border-color .15s, background .15s, box-shadow .15s; }
.pv-tile b { font-size: .95rem; }
.pv-tile small { color: var(--muted); font-size: .78rem; line-height: 1.3; margin-top: 2px; }
.pv-tile:hover span { border-color: var(--navy-3); }
.pv-tile input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, #fff); box-shadow: inset 0 0 0 1px var(--accent); }
.pv-tile input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pv-sub { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }
.pv-sub[hidden] { display: none; }
.pv-range { display: flex; align-items: center; gap: 18px; }
.pv-range input[type=range] { flex: 1; accent-color: var(--accent); height: 28px; }
.pv-num { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.pv-num input { width: 92px; font: 700 1.25rem var(--font); padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 10px; text-align: right; }
.pv-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .93rem; cursor: pointer; }
.pv-check input { margin-top: 4px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.pv-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 14px; }
.pv-row:first-child, .pv-step legend + .pv-row { margin-top: 0; }
.pv-row label, .pv-full { display: grid; gap: 5px; font-weight: 600; font-size: .9rem; }
.pv-full { margin-top: 14px; }
.pv-step input[type=text], .pv-step input[type=email], .pv-step input[type=tel], .pv-step select, .pv-step textarea, .pv-unit input {
  font: 1rem var(--font); padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fbfbfa; width: 100%; color: var(--text); }
.pv-step input:focus, .pv-step select:focus, .pv-step textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.pv-unit { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.pv-unit input { flex: 1; min-width: 0; }
.pv-input-disabled { opacity: .5; }
input:disabled { opacity: .45; }

.pv-summary { position: sticky; top: 110px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.pv-summary h3 { margin: 0; font-size: 1.2rem; }
.pv-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .9rem; }
.pv-summary dt { color: #a4abb2; }
.pv-summary dd { margin: 0; font-weight: 600; text-align: right; }
.pv-est { background: var(--navy-2); border-radius: 12px; padding: 14px; }
.pv-est-title { margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 700; }
.pv-est-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pv-est-grid b { display: block; font-size: 1.35rem; line-height: 1.2; }
.pv-est-grid span { color: #a4abb2; font-size: .78rem; }
.pv-disclaimer { margin: 10px 0 0; font-size: .75rem; color: #a4abb2; }
.pv-submit { width: 100%; }
.pv-status { margin: 0; font-size: .9rem; font-weight: 600; }
.pv-status.err { color: #ffb48f; }
.pv-done { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 2px solid var(--accent); border-radius: var(--radius); padding: 40px 30px; }
.pv-done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 2rem; display: grid; place-items: center; margin: 0 auto 14px; }
.pv-done p { color: var(--muted); margin: 0; }

@media (max-width: 980px) {
  .pv-form { grid-template-columns: 1fr; }
  .pv-summary { position: static; }
}
@media (max-width: 480px) {
  .pv-step { padding: 18px 16px 20px; }
  .pv-tiles { grid-template-columns: 1fr 1fr; }
  .pv-range { flex-direction: column; align-items: stretch; gap: 8px; }
  .pv-num { justify-content: flex-end; }
}
