:root {
  --paper: #F3FAF7;
  --card: #FFFFFF;
  --ink: #2B4C44;
  --muted: #74938B;
  --line: #DFEDE8;
  --mint: #A9D5CB;
  --mint-deep: #3E7A69;
  --mint-soft: #E4F2EC;
  --berry: #EF5A9E;
  --berry-deep: #C63C7E;
  --berry-soft: #FDE9F3;
  --meadow-deep: #2E8F4A;
  --meadow-soft: #E5F8EB;
  --sun-soft: #FFF3D6;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.65;
}
h1, h2, h3 { font-family: 'Baloo 2', 'Nunito', sans-serif; font-weight: 800; line-height: 1.15; }
a { color: var(--mint-deep); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; border-radius: 4px; }
@font-face { font-family: 'Baloo 2'; src: url('fonts/baloo2-latin.woff2') format('woff2'); font-weight: 700 800; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('fonts/nunito-latin.woff2') format('woff2'); font-weight: 600 800; font-display: swap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--line); background: var(--paper); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-cta { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px; color: var(--ink); text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; }
.nav-cta:hover { border-color: var(--mint); background: var(--mint-soft); }

/* Artikel: eine Spalte, ~65 Zeichen – längere Zeilen verliert man beim Lesen. */
.post { max-width: 44em; margin: 0 auto; padding: 36px 0 8px; }
.eyebrow { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--berry-deep); margin-bottom: 8px; }
.post h1 { font-size: clamp(30px, 5.5vw, 44px); }
.post .lead { margin-top: 16px; font-size: 19px; }
.meta { margin-top: 14px; font-size: 14px; color: var(--muted); font-weight: 700; }
.post h2 { font-size: clamp(24px, 4vw, 31px); margin: 44px 0 14px; scroll-margin-top: 20px; }
.post h3 { font-size: 20px; margin: 28px 0 8px; }
.post p { margin-top: 12px; }
.post ul, .post ol { margin: 12px 0 0 22px; }
.post li { margin-top: 8px; }
.post li::marker { color: var(--mint-deep); font-weight: 800; }

/* Antwortkasten: die Kurzantwort steht oben, nicht am Ende. */
.answer { background: var(--mint-soft); border-radius: var(--radius); padding: 20px 22px; margin-top: 28px; }
.answer h2 { font-size: 20px; margin: 0 0 4px; }
.answer p:first-of-type { margin-top: 6px; }

.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-top: 24px; font-size: 16px; }
.toc p { font-weight: 800; margin: 0 0 6px; }
.toc ol { margin-left: 20px; }
.toc li { margin-top: 4px; }

.note { border-left: 4px solid var(--berry); background: var(--berry-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin-top: 20px; font-size: 16px; }
.note b { color: var(--berry-deep); }

.table-scroll { overflow-x: auto; margin-top: 20px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; background: var(--card); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mint-soft); font-weight: 800; font-size: 14px; }
tr:last-child td { border-bottom: 0; }
td b { color: var(--mint-deep); }

.verdict { display: grid; gap: 4px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: 0 var(--radius) var(--radius) 0; padding: 12px 16px; margin-top: 14px; font-size: 15px; }
.verdict span b { color: var(--ink); }

.figure { margin-top: 28px; background: var(--meadow-soft); border-radius: var(--radius); padding: 18px; text-align: center; }
.figure img { max-width: 240px; margin: 0 auto; }
.figure figcaption { margin-top: 8px; font-size: 14px; font-weight: 800; color: var(--meadow-deep); }

details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-top: 10px; }
summary { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; cursor: pointer; }
summary::marker { color: var(--mint-deep); }
details p { font-size: 16px; }

.cta { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; margin-top: 44px; }
.cta h2 { margin-top: 0; font-size: 24px; }
.cta .btn { display: inline-block; margin-top: 16px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; border-radius: 10px; padding: 11px 20px; }
.cta .btn:hover { background: #1f3a33; }

footer { border-top: 1px solid var(--line); margin-top: 44px; padding: 24px 0 32px; font-size: 14px; color: var(--muted); font-weight: 700; }
footer .foot { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

/* Blog-Übersicht */
.blog-head { max-width: 44em; margin: 0 auto; padding: 40px 0 4px; }
.blog-head h1 { font-size: clamp(30px, 5.5vw, 44px); }
.blog-head p { margin-top: 14px; font-size: 19px; }

.postlist { max-width: 44em; margin: 0 auto; padding: 8px 0 0; display: grid; gap: 16px; }
.post-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--ink); }
.post-card:hover { border-color: var(--mint); background: var(--mint-soft); }
.post-card h2 { font-size: 22px; margin: 6px 0 0; }
.post-card p { margin-top: 8px; font-size: 16px; }
.post-card .card-meta { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--berry-deep); }
.post-card .more { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 800; color: var(--mint-deep); }

.soon { max-width: 44em; margin: 24px auto 0; font-size: 15px; color: var(--muted); }

/* Brotkrume + Querverweise */
.crumb { max-width: 44em; margin: 0 auto; padding-top: 20px; font-size: 14px; font-weight: 700; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.related { background: var(--sun-soft); border-radius: var(--radius); padding: 16px 20px; margin-top: 24px; font-size: 16px; }
.related b { display: block; margin-bottom: 2px; }
