/* Berufsprofil: Gestaltung
   Idee: Schweizer Wegweiser. Berufswahl heisst Richtung wählen.
   Farben: Fichtengrün als Tinte, Signalgelb als einziger Akzent, kühles Papierweiss.
   Schrift: Bricolage Grotesque (Titel), IBM Plex Sans (Text), beide lokal eingebunden. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage-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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/bricolage-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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(/assets/fonts/plex-sans-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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(/assets/fonts/plex-sans-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;
}

:root {
  --paper: #f2f5f1;
  --surface: #ffffff;
  --ink: #14211c;
  --muted: #566660;
  --line: #d4dcd6;
  --line-strong: #b7c3bb;
  --spruce: #1e4d3f;
  --spruce-deep: #143529;
  --spruce-soft: #e3eee7;
  --spruce-text: #1e4d3f;
  --signal: #f5c21b;
  --signal-deep: #d9a500;
  --signal-ink: #1b1a12;
  --post: #2b3a33;
  --ok: #1f7a4d;
  --warn-bg: #fff3d6;
  --warn-ink: #5a3f00;
  --focus: #1e4d3f;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --wrap: 1120px;
  --measure: 720px;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1613;
    --surface: #172019;
    --ink: #ecf0ec;
    --muted: #9baaa2;
    --line: #27332c;
    --line-strong: #3a4941;
    --spruce: #2a6b57;
    --spruce-deep: #1e4d3f;
    --spruce-soft: #1b2a23;
    --spruce-text: #8fd3b6;
    --post: #0b100e;
    --warn-bg: #3a2c08;
    --warn-ink: #ffd98a;
    --focus: #8fd3b6;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1613;
  --surface: #172019;
  --ink: #ecf0ec;
  --muted: #9baaa2;
  --line: #27332c;
  --line-strong: #3a4941;
  --spruce: #2a6b57;
  --spruce-deep: #1e4d3f;
  --spruce-soft: #1b2a23;
  --spruce-text: #8fd3b6;
  --post: #0b100e;
  --warn-bg: #3a2c08;
  --warn-ink: #ffd98a;
  --focus: #8fd3b6;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
}
a { color: var(--spruce-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 650; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 0; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .35em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.measure { max-width: var(--measure); }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(var(--measure), 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--signal-ink); padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Kopf und Fuss ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
nav.main { display: flex; align-items: center; gap: 6px; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
nav.main a:hover { background: var(--spruce-soft); }
nav.main a[aria-current="page"] { background: var(--spruce-soft); color: var(--spruce-text); }
nav.main a.btn { margin-left: 8px; padding: 9px 16px; font-size: .92rem; color: #fff; border-radius: 999px; }
nav.main a.btn:hover { background: var(--spruce-deep); }
@media (max-width: 640px) { nav.main .btn { display: none; } nav.main a { padding: 8px 9px; font-size: .9rem; } .brand { font-size: 1.1rem; } header.site .wrap { gap: 12px; } }
@media (max-width: 400px) { .brand span { display: none; } }

main { padding: 0 0 72px; }
footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0 48px; font-size: .92rem; color: var(--muted); }
footer.site .cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { footer.site .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
footer.site h4 { color: var(--ink); margin-bottom: .6em; font-family: var(--body); font-weight: 600; font-size: .95rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: .4em; }
footer.site a { color: var(--muted); }
footer.site .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  border: 1.5px solid var(--spruce); background: var(--spruce); color: #fff;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .08s;
}
.btn:hover { background: var(--spruce-deep); border-color: var(--spruce-deep); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--spruce-text); }
.btn.secondary:hover { background: var(--spruce-soft); }
.btn.signal { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.btn.signal:hover { background: var(--signal-deep); border-color: var(--signal-deep); }
.btn.large { padding: 16px 28px; font-size: 1.08rem; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 24px 0; }

/* ---------- Startseite: Hero mit Wegweiser ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 64px); }
.hero .wrap { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero h1 { margin-bottom: .4em; max-width: 14ch; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.hero .facts li { display: flex; align-items: center; gap: 8px; margin: 0; }
.hero .facts svg { width: 18px; height: 18px; color: var(--spruce-text); flex: none; }

.signpost { position: relative; display: grid; justify-items: start; padding: 24px 0 0 56px; min-height: 380px; }
.signpost .post {
  position: absolute; left: 42px; top: 0; bottom: 0; width: 14px;
  background: linear-gradient(90deg, var(--post), color-mix(in srgb, var(--post) 70%, #fff 30%));
  border-radius: 7px 7px 2px 2px;
}
.signpost .post::before { content: ""; position: absolute; left: -4px; top: -10px; width: 22px; height: 14px; background: var(--post); border-radius: 11px 11px 0 0; }
.signpost .sign {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px;
  background: var(--signal); color: var(--signal-ink);
  font-family: var(--display); font-weight: 650; font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: -0.01em;
  padding: 12px 26px 12px 18px; margin: 0 0 14px -6px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
  box-shadow: 0 2px 0 var(--signal-deep);
  animation: sign-in .7s cubic-bezier(.2,.8,.2,1) both;
}
.signpost .sign small { font-family: var(--body); font-weight: 500; font-size: .78rem; opacity: .75; white-space: nowrap; }
.signpost .sign.left {
  justify-self: start; margin-left: -34px; padding: 12px 18px 12px 30px;
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 50%);
  transform: translateX(-10px);
}
.signpost .sign:nth-child(2) { animation-delay: .05s; }
.signpost .sign:nth-child(3) { animation-delay: .12s; }
.signpost .sign:nth-child(4) { animation-delay: .19s; }
.signpost .sign:nth-child(5) { animation-delay: .26s; }
.signpost .sign:nth-child(6) { animation-delay: .33s; }
.signpost .sign:nth-child(7) { animation-delay: .40s; }
@keyframes sign-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.signpost .sign.left { animation-name: sign-in-left; }
@keyframes sign-in-left { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(-10px); } }
.signpost .plate {
  position: relative; z-index: 1; margin: 6px 0 0 -6px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 8px 14px; font-size: .85rem; color: var(--muted);
}
@media (max-width: 879px) { .signpost { min-height: 0; padding-left: 40px; } .signpost .post { left: 26px; } .signpost .sign.left { margin-left: -22px; } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section.tinted { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Zwei Tests */
.tests { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .tests { grid-template-columns: 1fr 1fr; } }
.test {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 28px 24px; text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.test:hover { border-color: var(--spruce); box-shadow: 0 0 0 1px var(--spruce); }
.test .glyph { height: 56px; margin-bottom: 18px; color: var(--spruce-text); }
.test h3 { font-size: 1.5rem; margin-bottom: .3em; }
.test p { color: var(--muted); margin-bottom: 1.2em; }
.test .meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.test .meta strong { color: var(--ink); font-weight: 600; }
.test .go { margin-top: 18px; align-self: flex-start; }

/* Ablauf in drei Schritten (Reihenfolge, deshalb nummeriert) */
.steps { display: grid; gap: 28px; grid-template-columns: 1fr; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.steps li { counter-increment: step; position: relative; padding-top: 52px; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--signal); color: var(--signal-ink);
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
}
@media (min-width: 760px) {
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 46px; right: -24px; border-top: 2px dashed var(--line-strong); }
}
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }

/* Ergebnis-Vorschau und Bericht */
.preview { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .preview { grid-template-columns: .95fr 1.05fr; gap: 56px; } }
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: 0 24px 60px -32px rgba(20, 40, 30, .35);
}
.mock .eyebrow { font-size: .85rem; color: var(--muted); margin: 0 0 4px; }
.mock .code { margin-bottom: 14px; }
.mock .bars { margin: 8px 0 0; }
.report-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.report-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.report-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--spruce-soft);
}
.report-list li::after {
  content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px;
  border-right: 2px solid var(--spruce-text); border-bottom: 2px solid var(--spruce-text); transform: rotate(45deg);
}
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-family: var(--display); font-size: 2rem; letter-spacing: -0.02em; }
.price span { color: var(--muted); }

/* Zielgruppen */
.audience { display: grid; gap: 24px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.audience li { margin: 0; padding-top: 18px; border-top: 2px solid var(--spruce); }
.audience h3 { font-size: 1.15rem; margin-bottom: .3em; }
.audience p { color: var(--muted); margin: 0; }

/* Vertrauen */
.trust { display: grid; gap: 20px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin: 0; align-items: start; }
.trust svg { width: 44px; height: 44px; color: var(--spruce-text); background: var(--spruce-soft); border-radius: var(--r-md); padding: 10px; }
.trust strong { display: block; margin-bottom: 2px; }
.trust span { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { max-width: var(--measure); }
details { border-top: 1px solid var(--line); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; font-weight: 600; font-size: 1.05rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--spruce-text); border-bottom: 2px solid var(--spruce-text);
  transform: rotate(45deg); transition: transform .2s; margin-right: 4px;
}
details[open] summary::after { transform: rotate(-135deg); }
details p { color: var(--muted); margin: 0 0 18px; max-width: 60ch; }

/* ---------- Innenseiten ---------- */
.page-head { padding: clamp(32px, 5vw, 56px) 0 8px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 20ch; }
.page-head .lead { margin-bottom: 0; }
.page-head .facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.page-head .facts li { margin: 0; padding-left: 14px; position: relative; }
.page-head .facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { max-width: 68ch; }

/* ---------- Test ---------- */
#quiz { margin-top: 24px; }
.progress { position: relative; height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 8px 0 8px; }
.progress > div { height: 100%; background: var(--spruce); border-radius: 999px; width: 0; transition: width .3s; }
.hint { font-size: .92rem; color: var(--muted); margin: 0 0 20px; }
#qform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 28px; }
@media (max-width: 560px) { #qform { padding: 4px 16px; } }
.item { padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
.item:last-of-type { border-bottom: 0; }
.item .q { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 16px; max-width: 32em; }
.item.missing .q { color: #b3261e; }
.item.missing .q::after { content: " Bitte beantworten."; font-family: var(--body); font-weight: 500; font-size: .9rem; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale label {
  position: relative; display: grid; justify-items: center; gap: 8px; cursor: pointer; user-select: none;
  padding: 12px 6px 10px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper);
  text-align: center; font-size: .82rem; line-height: 1.25; color: var(--muted);
  transition: border-color .12s, background .12s;
}
.scale label:hover { border-color: var(--line-strong); }
.scale input { position: absolute; opacity: 0; width: 0; height: 0; }
.scale .n {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line-strong); font-weight: 600; color: var(--ink); background: var(--surface);
  font-family: var(--display); font-size: .95rem;
}
.scale label:has(input:checked) { border-color: var(--spruce); background: var(--spruce-soft); color: var(--ink); }
.scale label:has(input:checked) .n { background: var(--spruce); border-color: var(--spruce); color: #fff; }
.scale label:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 560px) {
  .scale { gap: 6px; }
  .scale label { padding: 10px 2px 8px; }
  .scale .t { display: none; }
  .scale label:first-child .t, .scale label:last-child .t { display: block; font-size: .72rem; }
}
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0 18px; }
.about { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); max-width: var(--measure); }
.about h2 { font-size: 1.5rem; }

/* ---------- Ergebnis ---------- */
#result { margin-top: 24px; scroll-margin-top: 88px; }
#result h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
#result > h3 { margin-top: 1.8em; }
.code {
  display: inline-block; font-family: var(--display); font-weight: 750; letter-spacing: .04em;
  font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: var(--ink);
  background: linear-gradient(transparent 55%, var(--signal) 55%, var(--signal) 92%, transparent 92%);
  padding: 0 .1em; margin: 4px 0 18px;
}
.bars { display: grid; gap: 12px; margin: 20px 0 28px; }
.bar { display: grid; gap: 6px; }
.bar .label { display: flex; justify-content: space-between; font-size: .95rem; gap: 12px; }
.bar .label span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); }
.bar.top .label span:first-child { font-weight: 600; }
.bar .track { height: 12px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--line-strong); border-radius: 999px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.bar.top .fill { background: var(--spruce); }
ul.jobs { columns: 2; column-gap: 32px; padding-left: 20px; }
@media (max-width: 560px) { ul.jobs { columns: 1; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; margin: 16px 0; }
.card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } }
.badge { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--spruce-soft); color: var(--spruce-text); margin-bottom: 10px; }
.upsell { border: 0; background: var(--spruce); color: #fff; padding: 32px; margin: 36px 0; border-radius: var(--r-lg); }
.upsell .badge { background: var(--signal); color: var(--signal-ink); }
.upsell h3 { color: #fff; font-size: 1.5rem; }
.upsell p { color: rgba(255,255,255,.85); }
.upsell p.small { color: rgba(255,255,255,.7); }
.upsell .btn { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.upsell .btn:hover { background: var(--signal-deep); border-color: var(--signal-deep); }
.notice { background: var(--spruce-soft); border-radius: var(--r-md); padding: 14px 18px; font-size: .95rem; margin: 0 0 20px; }
.notice.warn { background: var(--warn-bg); color: var(--warn-ink); }

/* ---------- Ratgeber ---------- */
.crumb { margin: 0 0 10px; font-size: .9rem; }
.crumb a { color: var(--muted); }
.article .meta { color: var(--muted); font-size: .9rem; margin: 0 0 28px; }
.article h2 { font-size: 1.5rem; margin-top: 2em; }
.article h3 { font-size: 1.15rem; margin-top: 1.6em; }
.article table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 0 0 1.5em; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-weight: 600; }
.article ul.more { padding-left: 20px; }
.refs { padding-left: 0; list-style: none; }
.refs li { padding-left: 1.6em; text-indent: -1.6em; font-size: .92rem; color: var(--muted); margin-bottom: .5em; }
.refs li em { color: var(--ink); font-style: italic; }
.article p + ul.refs { margin-top: -.4em; }
.cta-box { background: var(--spruce); color: #fff; border-radius: var(--r-lg); padding: 28px 32px; margin: 44px 0; }
.cta-box h2 { color: #fff; margin-top: 0; font-size: 1.4rem; }
.cta-box p { color: rgba(255,255,255,.85); max-width: 60ch; }
.cta-box .btn { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.cta-box .btn:hover { background: var(--signal-deep); border-color: var(--signal-deep); }
.article-list { display: grid; gap: 20px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 24px 0 0; }
@media (min-width: 760px) { .article-list { grid-template-columns: 1fr 1fr; } }
.article-list li { margin: 0; }
.article-list a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.article-list a:hover { border-color: var(--spruce); box-shadow: 0 0 0 1px var(--spruce); }
.article-list .read { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.article-list h3 { font-size: 1.25rem; margin-bottom: .4em; }
.article-list p { color: var(--muted); margin: 0; }

/* ---------- Bericht und Druck ---------- */
.report { max-width: var(--measure); }
.report h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.report h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: 1em; border-top: 1px solid var(--line); page-break-after: avoid; }
.report .section { padding: 0; page-break-inside: avoid; }
@media print {
  header.site, footer.site, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 11.5pt; }
  main { padding: 0; }
  .wrap { width: 100%; }
  .card { border: 1px solid #bbb; break-inside: avoid; }
  .code { background: none; border-bottom: 4px solid #000; }
  .bar .fill, .bar.top .fill { background: #333; }
  .bar .track { background: #ddd; }
  a { color: #000; text-decoration: none; }
}
