@font-face { font-family: "Gelasio"; src: url("fonts/gelasio-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gelasio"; src: url("fonts/gelasio-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans"; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans"; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans"; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root { --navy:#1F3A5F; --orange:#C86A2A; --grey:#F5F6F8; --line:#D8DDE3; --text:#2B3440; --muted:#5E6B7A; --cream:#FBF3EC; }
* { box-sizing: border-box; }
html { font-family: "Source Sans", Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; }
body { margin: 0; }
a { color: var(--navy); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: "Gelasio", Georgia, serif; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--navy); }
.muted { color: var(--muted); font-size: .9rem; }

/* header */
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; height: 64px; gap: 16px; }
.brand { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--navy); text-decoration: none; }
.brand span { color: var(--orange); }
header.top nav a { font-size: .9rem; margin-left: 18px; text-decoration: none; color: var(--navy); font-weight: 600; }

/* hero */
.hero { padding: 72px 0 56px; border-left: 10px solid var(--orange); }
.hero .wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: center; }
.hero img { width: 100%; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(31,58,95,.14); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 3px; font-weight: 700; text-decoration: none; font-size: .95rem; }
.btn.primary { background: var(--navy); color: #fff; }
.btn.ghost { border: 1.5px solid var(--navy); color: var(--navy); }

/* sections */
section { padding: 64px 0; }
section.grey { background: var(--grey); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 22px; }
.card.navy { background: var(--navy); border-color: var(--navy); color: #E6EBF1; }
.card.navy h3, .card.navy h4 { color: #fff; }
.card.navy .label { color: #F2B98F; }
.card p:last-child { margin-bottom: 0; }
.num { font-family: "Gelasio", Georgia, serif; font-size: 2rem; color: var(--orange); line-height: 1; margin-bottom: .35em; }
.quote { border-left: 8px solid var(--orange); background: var(--cream); padding: 18px 24px; font-family: "Gelasio", Georgia, serif; font-size: 1.25rem; color: var(--navy); margin: 28px 0 0; }
ul.check { list-style: none; padding: 0; margin: 0 0 1em; }
ul.check li { padding-left: 28px; position: relative; margin-bottom: .5em; }
ul.check li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }

/* form */
.formbox { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--orange); border-radius: 4px; padding: 28px; }
.formbox label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin: 0 0 4px; }
.formbox input[type=text], .formbox input[type=email] { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 3px; font: inherit; margin-bottom: 14px; }
.formbox .consent { display: flex; gap: 10px; font-size: .82rem; color: var(--muted); margin: 4px 0 18px; }
.formbox .consent input { margin-top: 4px; }
.formbox button { width: 100%; border: 0; cursor: pointer; }
.placeholder-note { font-size: .78rem; color: var(--orange); margin-top: 10px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .85rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer b { color: var(--orange); font-weight: 600; }
footer a { color: var(--muted); margin-left: 16px; }

/* legal pages */
.legal { padding: 56px 0 72px; max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }

@media (max-width: 860px) {
  .hero { border-left-width: 6px; padding: 48px 0 40px; }
  .hero .wrap, .grid2 { grid-template-columns: 1fr; }
  .hero img { max-width: 260px; }
  .grid3, .grid4 { grid-template-columns: 1fr; }
  header.top nav { display: none; }
  section { padding: 48px 0; }
}

/* check page */
.hero .wrap.one { grid-template-columns: 1fr; }
.hero .wrap.one > div { max-width: 860px; }
.btn { font-family: inherit; }
table.ampel { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); margin-top: 8px; }
table.ampel th { text-align: left; background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem; padding: 10px 14px; }
table.ampel td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
table.ampel td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.dot.g { background: #3E8E5A; } .dot.y { background: #E2B33C; } .dot.r { background: #C0412F; }
.formbox select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 3px; font: inherit; margin-bottom: 14px; background: #fff; }
.formbox input:disabled, .formbox select:disabled { background: var(--grey); }
.formbox button:disabled { opacity: .45; cursor: not-allowed; }
.soon { background: var(--cream); border-left: 4px solid var(--orange); padding: 10px 12px; font-size: .88rem; margin: 16px 0 12px; }
.btn.full { display: block; text-align: center; }

/* logo, sticky header, back to top */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); }
header.top .wrap { height: 80px; }
.brand img { display: block; height: 50px; width: auto; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 20; display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; padding: 10px 14px; border-radius: 3px; box-shadow: 0 6px 18px rgba(31,58,95,.25); opacity: 0; pointer-events: none; transition: opacity .2s; }
.totop.show { opacity: 1; pointer-events: auto; }
/* about with portrait */
.about { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; }
.portrait { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(31,58,95,.15); }
.portrait.placeholder { display: flex; align-items: center; justify-content: center; background: #E6EAEF; color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) {
  header.top .wrap { height: 64px; }
  .brand img { height: 40px; }
  .totop span { display: none; }
  .about { grid-template-columns: 1fr; }
  .portrait { width: 120px; height: 120px; }
}
footer { padding-bottom: 84px; }
/* portrait: Hochformat statt Kreis */
.about { grid-template-columns: 230px 1fr; gap: 32px; }
.portrait { width: 230px; height: auto; aspect-ratio: 4 / 5; border-radius: 3px; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(31,58,95,.16); object-fit: cover; }
#autor .wrap.grid2 { grid-template-columns: 1.35fr .65fr; }
@media (max-width: 860px) { .portrait { width: 200px; height: auto; } #autor .wrap.grid2 { grid-template-columns: 1fr; } }
/* brevo form */
.formbox .formnote { font-size: .8rem; color: var(--muted); margin: 0 0 16px; }
.formbox .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.formbox form { position: relative; }
.formbox .consent { align-items: flex-start; } .formbox .consent input { flex: 0 0 auto; }
.formbox .formmsg { background: #FFEDED; border-left: 4px solid #C0412F; padding: 10px 12px; font-size: .88rem; margin: 14px 0 0; }

/* mobile navigation: second row under the logo */
@media (max-width: 860px) {
  header.top .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; gap: 0; }
  header.top nav { display: flex; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 10px; }
  header.top nav a { margin: 0; padding: 11px 4px; font-size: .95rem; }
  html { scroll-padding-top: 118px; }
}

/* quick-check: Rechner und Formular */
.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; margin-top: 24px; }
.calc-in, .calc-out { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.calc-out { border-top: 6px solid var(--orange); }
.calc label, .formbox label output { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--navy); }
.calc label { margin: 0 0 6px; }
.calc output, .formbox output { color: var(--orange); font-weight: 700; white-space: nowrap; }
.formbox label output { display: inline; float: right; }
input[type=range] { width: 100%; accent-color: var(--navy); margin: 0 0 22px; height: 28px; }
.korridor { position: relative; }
.korridor .band { position: absolute; left: 33.3%; width: 33.4%; bottom: 14px; height: 6px; background: #3E8E5A; opacity: .55; border-radius: 3px; pointer-events: none; }
.calc .hint { font-size: .82rem; color: var(--muted); margin: -12px 0 20px; }
.calc .fix { border-top: 1px solid var(--line); padding-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-weight: 600; color: var(--navy); }
.calc .fix b { color: var(--orange); }
.calc .fix .bar, .calc .fix small { grid-column: 1 / -1; }
.calc .fix .bar { height: 10px; background: var(--grey); border-radius: 5px; overflow: hidden; }
.calc .fix .bar i { display: block; width: 50%; height: 100%; background: var(--orange); }
.calc .fix small { font-weight: 400; color: var(--muted); }
.calc .big { font-family: "Gelasio", Georgia, serif; font-weight: 700; font-size: 2.6rem; color: var(--navy); line-height: 1.1; margin: 6px 0 10px; }
.calc .formel { font-size: .85rem; color: var(--muted); margin: 0 0 14px; }
.calc .spanne { margin: 0 0 20px; }
.steps { display: flex; gap: 8px; margin-bottom: 20px; }
.steps span { flex: 1; text-align: center; font-size: .82rem; font-weight: 700; padding: 8px 4px; border-bottom: 3px solid var(--line); color: var(--muted); }
.steps span.on { border-color: var(--orange); color: var(--navy); }
.formbox fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.formbox .flabel { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin: 0 0 6px; }
.formbox small { font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips label { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px; margin: 0; font-weight: 400; cursor: pointer; }
.chips label:has(input:checked) { border-color: var(--navy); background: var(--grey); font-weight: 600; }
.formbox .more { margin: 0 0 16px; } .formbox .more summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: .9rem; margin-bottom: 10px; }
.formbox .row2 { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.formbox .row2 .ghost { background: #fff; border: 1.5px solid var(--navy); width: auto; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc .big { font-size: 2.1rem; } }

/* check-seite v3: hero mit deckblatt, ergebnis, cta-leiste */
.qc-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.qc-hero h1 { font-size: 2.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.small { font-size: .88rem; }
.cover { position: relative; background: #fff; border: 1px solid var(--line); border-top: 8px solid var(--navy); border-radius: 3px; padding: 30px 30px 22px; box-shadow: 0 18px 40px rgba(31,58,95,.18); transform: rotate(1.2deg); max-width: 400px; justify-self: end; }
.cover-stamp { position: absolute; top: 14px; right: -10px; background: var(--orange); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; }
.cover-logo { height: 34px; width: auto; display: block; margin-bottom: 26px; }
.cover-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.cover-title { font-family: "Gelasio", Georgia, serif; font-weight: 700; font-size: 1.7rem; color: var(--navy); margin: 6px 0 2px; }
.cover-sub { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.cover-kpi { border-top: 1px solid var(--line); padding-top: 16px; display: flex; align-items: baseline; gap: 10px; }
.cover-kpi b { font-family: "Gelasio", Georgia, serif; font-size: 1.9rem; color: var(--navy); white-space: nowrap; }
.cover-kpi span { font-size: .85rem; color: var(--text); }
.cover-amp { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 16px 0; font-size: .82rem; color: var(--navy); font-weight: 600; }
.cover-amp .dot { margin-right: 6px; }
.cover-risk { background: var(--cream); border-left: 5px solid var(--orange); padding: 10px 14px; }
.cover-risk span { display: block; font-size: .75rem; color: var(--muted); }
.cover-risk b { font-family: "Gelasio", Georgia, serif; font-size: 1.2rem; color: var(--navy); }
.cover-foot { font-size: .72rem; color: var(--muted); margin-top: 16px; text-align: right; }
.res { gap: 40px; margin-top: 24px; }
.res h3 { font-size: 1.15rem; }
ol.toc { padding-left: 1.2em; margin: 0; } ol.toc li { margin-bottom: .6em; }
ul.finds { list-style: none; padding: 0; margin: 0; } ul.finds li { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); padding: 10px 14px; margin-bottom: 10px; font-size: .95rem; }
ol.steps3 { list-style: none; counter-reset: s; padding: 0; margin: 22px 0; }
ol.steps3 li { counter-increment: s; position: relative; padding-left: 52px; margin-bottom: 18px; }
ol.steps3 li::before { content: "0" counter(s); position: absolute; left: 0; top: -2px; font-family: "Gelasio", Georgia, serif; font-size: 1.5rem; color: var(--orange); }
.ctabar { display: none; }
@media (max-width: 860px) {
  .qc-hero { grid-template-columns: 1fr; gap: 36px; }
  .qc-hero h1 { font-size: 1.9rem; }
  .cover { justify-self: center; transform: none; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
  .ctabar { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: var(--orange); color: #fff; text-align: center; font-weight: 700; padding: 14px; border-radius: 3px; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.2); transform: translateY(140%); transition: transform .2s; }
  .ctabar.show { transform: none; }
  .totop { bottom: 78px; }
}
.cover .cover-logo { border: 0; box-shadow: none; padding: 0; background: none; border-radius: 0; max-width: 200px; }
.cover-stamp { top: -14px; right: 18px; }
.cover { max-width: 420px; padding-top: 34px; }
.cover-risk b { font-size: 1.1rem; white-space: nowrap; }
.cover-amp { font-size: .8rem; }
table.ampel td:nth-child(2) { white-space: nowrap; }
.tipbox { margin-top: 40px; background: var(--cream); border-left: 6px solid var(--orange); padding: 24px 28px; max-width: 760px; }
.tipbox h3 { margin-top: 4px; }
.tipbox p { margin: 0 0 18px; }
