/* FIN-Check – öffentliche Seite */
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }

/* Kopfzeile */
.site-head { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo:hover { color: #fff; }
.logo-mark { width: 34px; height: 34px; }
.site-nav { display: flex; gap: .3rem; }
.site-nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: .94rem; padding: .45em .8em; border-radius: 8px; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.page-plain .site-head { position: static; background: var(--ink); }

/* Startbereich */
.hero { position: relative; color: #fff; padding: 128px 0 96px; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(64, 120, 255, .35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(20, 184, 166, .18), transparent 60%),
    linear-gradient(180deg, #0b1424 0%, #0f1f3b 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #a9c2ff; background: rgba(120, 160, 255, .12); border: 1px solid rgba(140, 175, 255, .25); padding: .35em .8em; border-radius: 999px; margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: #8fb1ff; }
.hero .lead { font-size: 1.12rem; color: rgba(229, 236, 250, .86); max-width: 34em; margin-bottom: 1.5rem; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 0; margin: 0; list-style: none; color: rgba(229, 236, 250, .8); font-size: .93rem; }
.trust li { display: flex; align-items: center; gap: .45em; }
.trust svg { color: #6ee7b7; }

/* Prüf-Formular */
.check-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); }
.check-card h2 { font-size: 1.25rem; margin-bottom: .25em; }
.check-card .sub { color: var(--muted); font-size: .94rem; margin-bottom: 1.2rem; }
.fin-field { position: relative; }
.fin-input { width: 100%; height: 60px; padding: 0 4.2rem 0 1rem; border: 2px solid var(--line-2); border-radius: 12px; font-family: var(--mono);
  font-size: 1.28rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: #fbfcfe; transition: border-color .15s, box-shadow .15s; }
.fin-input::placeholder { color: #aab4c4; letter-spacing: .08em; }
.fin-input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(20, 70, 200, .14); }
.fin-input.is-invalid { border-color: var(--danger); }
.fin-count { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.fin-count.full { color: var(--ok); font-weight: 700; }
.fin-count.over { color: var(--danger); font-weight: 700; }
.check-card .btn-lg { width: 100%; margin-top: 14px; }
.check-card .fine { font-size: .8rem; color: var(--muted); margin: 12px 0 0; display: flex; gap: .45em; align-items: flex-start; }
.check-card .fine svg { margin-top: .15em; }
.where-link { display: inline-flex; align-items: center; gap: .35em; font-size: .88rem; margin-top: .6rem; }

/* Ergebnis */
.result-wrap { margin-top: -48px; position: relative; z-index: 2; }
.result { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 24px; }
.result-head { display: flex; gap: 1rem; align-items: center; padding: 22px 26px; border-bottom: 1px solid; }
.result-head h2 { font-size: 1.45rem; margin: 0; }
.result-head .kicker { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-bottom: .15rem; }
.result-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.result-danger .result-head { background: var(--danger-bg); border-color: var(--danger-line); color: #7d1510; }
.result-danger .result-icon { background: var(--danger); color: #fff; }
.result-warn .result-head { background: var(--warn-bg); border-color: var(--warn-line); color: #6b3700; }
.result-warn .result-icon { background: #e08a12; color: #fff; }
.result-ok .result-head { background: var(--ok-bg); border-color: var(--ok-line); color: #0d4f26; }
.result-ok .result-icon { background: var(--ok); color: #fff; }
.result-info .result-head { background: var(--info-bg); border-color: var(--info-line); color: #163d9e; }
.result-info .result-icon { background: var(--info); color: #fff; }
.result-body { padding: 22px 26px 26px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.result-body .lead { font-size: 1.06rem; color: var(--ink-2); }
.result-tips { margin: 0; padding: 0; list-style: none; }
.result-tips li { display: flex; gap: .6em; align-items: flex-start; padding: .55em 0; border-top: 1px solid var(--line); font-size: .96rem; }
.result-tips li:first-child { border-top: 0; }
.result-tips svg { margin-top: .2em; color: var(--muted); }
.facts { margin: 0; background: #f7f9fc; border: 1px solid var(--line); border-radius: 12px; padding: 6px 16px; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .6em 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; font-weight: 600; text-align: right; font-size: .94rem; }
.result-foot { padding: 14px 26px; border-top: 1px solid var(--line); background: #fbfcfe; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }

/* Abschnitte */
.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.section .intro { color: var(--muted); max-width: 40em; font-size: 1.05rem; margin-bottom: 2rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.section-alt .step { background: var(--bg); box-shadow: none; }
.step-num { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; margin-bottom: .9rem; }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

.where { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.where-list { margin: 0; padding: 0; list-style: none; }
.where-list li { display: flex; gap: .9rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.where-list li:first-child { border-top: 0; }
.pin { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; font-size: .9rem; }
.where-list strong { display: block; }
.where-list div span { color: var(--muted); font-size: .95rem; display: block; }
.car-art { background: linear-gradient(180deg, #f2f6fd, #e8eef9); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.car-art .body { fill: #fff; stroke: #2b3a52; stroke-width: 2.4; stroke-linejoin: round; }
.car-art .glass { fill: #d6e3fa; stroke: #2b3a52; stroke-width: 2; }
.car-art .wheel { fill: #2b3a52; }
.car-art .hub { fill: #c9d4e6; }
.car-art .ground { stroke: #b9c6da; stroke-width: 2; stroke-dasharray: 6 6; }
.car-art .pin-c { fill: var(--brand); }
.car-art .pin-t { fill: #fff; font: 800 13px var(--sans); text-anchor: middle; dominant-baseline: central; }
.car-art .doc { fill: #fff; stroke: #2b3a52; stroke-width: 2; }
.car-art .doc-line { stroke: #c3cede; stroke-width: 3; stroke-linecap: round; }
.car-art .doc-e { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 2; }
.car-art .doc-t { fill: var(--brand); font: 800 12px var(--mono); }

.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--ink-2); }

/* Fußzeile */
.site-foot { background: var(--ink); color: rgba(229, 236, 250, .7); padding: 36px 0; font-size: .92rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.site-foot a { color: rgba(229, 236, 250, .85); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Rechtstexte & Fehlerseiten */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: 2rem; }
.legal-text { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; white-space: pre-line; }
.err { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(800px 400px at 50% -10%, rgba(64, 120, 255, .18), transparent 60%), var(--bg); }
.err-code { font-size: 4.5rem; font-weight: 900; letter-spacing: -.04em; color: var(--brand); line-height: 1; margin-bottom: .2em; }
.err h1 { font-size: 1.5rem; }
.err p { color: var(--muted); max-width: 30em; margin: 0 auto 1.4rem; }

@media (max-width: 900px) {
  .hero { padding: 104px 0 80px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .result-body { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .where { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-nav { display: none; }
  .check-card { padding: 20px; }
  .fin-input { font-size: 1.05rem; letter-spacing: .06em; }
  .result-head { padding: 18px; }
  .result-body { padding: 18px; }
  .result-foot { padding: 12px 18px; }
  .section { padding: 52px 0; }
}
@media print {
  .site-head, .hero, .section, .site-foot, .result-foot { display: none !important; }
  .result-wrap { margin: 0; }
}
