@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/fonts/sora.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/instrument-sans.woff2") format("woff2"); }
:root {
  color-scheme: light;
  --bg: #f4f8ff;
  --surface: #ffffff;
  --ink: #071d49;
  --text: #24345c;
  --muted: #4e5d7e;
  --line: #dce5f5;
  --primary: #1455ff;
  --soft: #a9d0ff;
  --soft-bg: #e6f0ff;
  --font-display: "Sora", "Segoe UI", Arial, system-ui, sans-serif;
  --font-body: "Instrument Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
@media (max-width: 359px) { .post-head h1 { hyphens: auto; } }

.top { background: rgba(244, 248, 255, .92); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 800 21px/1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; }
.logo svg { width: 49px; height: 28px; flex: none; }
.logo .frei { color: var(--primary); }
.top nav { display: flex; align-items: center; gap: 8px; }
.top nav .link { padding: 10px 12px; font-size: 15px; font-weight: 600; text-decoration: none; }
.top nav .link[aria-current="page"] { color: var(--primary); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 16px/1 var(--font-body); padding: 15px 22px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: transform .2s cubic-bezier(.25, 1, .5, 1), background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: #0f46d9; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.top .btn { padding: 11px 18px; font-size: 15px; }

.crumb { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.meta span, .meta time { white-space: nowrap; }
.meta > * + *::before { content: "·"; margin-right: 10px; }
.meta > :last-child { flex-basis: 100%; }
.meta > :last-child::before { content: none; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.post-head { padding-block: clamp(28px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.post-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.post-head h1 { font-size: clamp(28px, 4.6vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin: 14px 0 16px; }
.post-head .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); margin: 0; max-width: 60ch; }
.post-head figure { margin: 0; }
.post-head figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 18px 40px rgba(7, 29, 73, .12); }
@media (min-width: 900px) {
  .post-head .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; }
}

.post-body .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 1080px) {
  .post-body .wrap { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
  .side { position: sticky; top: 24px; }
}
.prose { min-width: 0; max-width: 720px; color: var(--text); font-size: 18px; line-height: 1.72; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--primary); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose h2 { clear: both; font-size: clamp(25px, 2.6vw, 31px); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; margin: 48px 0 16px; }
.prose h3 { font-size: 21px; font-weight: 700; line-height: 1.3; margin: 32px 0 10px; }
.prose figure { margin: 32px 0; }
.prose figure img { display: block; width: 100%; border-radius: 18px; }
.prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.prose blockquote { margin: 32px 0; padding: 22px 26px; border-left: 5px solid var(--primary); border-radius: 0 18px 18px 0; background: var(--soft-bg); color: var(--ink); font: 700 20px/1.45 var(--font-display); letter-spacing: -0.01em; }
.prose blockquote p { margin: 0; }
.table-wrap { clear: both; margin: 28px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--soft-bg); color: var(--ink); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }

.ki-hinweis { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); opacity: .8; }
.post-head figcaption { text-align: right; }
.vorlage { position: relative; margin: 28px 0; padding: 22px 24px 18px; border: 1.5px dashed var(--soft); border-radius: 18px; background: var(--surface); font-size: 16px; line-height: 1.65; color: var(--ink); }
.vorlage::before { content: "Vorlage"; position: absolute; top: -11px; left: 18px; padding: 0 8px; background: var(--surface); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.vorlage p { margin: 0 0 12px; }
.vorlage .kopieren { margin-top: 6px; padding: 9px 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; font: 600 14px/1 var(--font-body); color: var(--ink); cursor: pointer; }
.kurz { margin: 0 0 28px; padding: 22px 26px; border-radius: 20px; background: var(--ink); color: #ffffff; }
.kurz-label { margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.kurz p { margin: 0; font: 600 19px/1.5 var(--font-body); }
.toc { margin: 0 0 36px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.toc summary { cursor: pointer; font: 700 16px/1.4 var(--font-display); color: var(--ink); }
.toc ol { margin: 12px 0 0; padding-left: 22px; font-size: 16px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }

.faq-block, .quellen { clear: both; }
.faq-block h3 { margin: 0; padding: 20px 0 8px; border-top: 1px solid var(--line); font-size: 19px; }
.faq-block p { margin: 0 0 18px; }
.quellen h2 { font-size: 22px; }
.quellen ol, .quellen ul { font-size: 15px; line-height: 1.55; color: var(--muted); }
.quellen a { color: var(--muted); word-break: break-word; }

.author { clear: both; display: flex; gap: 18px; align-items: center; margin-top: 48px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.author img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.author b { display: block; font: 700 17px/1.3 var(--font-display); color: var(--ink); }
.author span { display: block; font-size: 15px; line-height: 1.5; color: var(--muted); }

.cta-card { padding: 26px; border-radius: 24px; background: var(--ink); color: #ffffff; text-align: left; }
.cta-card .seal { display: block; width: 104px; height: auto; margin: -4px 0 14px; transform: rotate(-6deg); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25)); }
.cta-card h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; color: #ffffff; }
.cta-card p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: #c9d8f5; }
.cta-card .btn { width: 100%; }
.cta-card .btn + .btn { margin-top: 10px; }
.cta-card .btn-ghost { border-color: rgba(169, 208, 255, .6); color: #ffffff; }

.more { padding-block: clamp(56px, 7vw, 88px); background: var(--surface); border-top: 1px solid var(--line); }
.more h2, .list-head h1 { margin: 0 0 28px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.025em; }
.list-head { padding-block: clamp(36px, 6vw, 72px) 8px; }
.list-head p { max-width: 60ch; margin: -12px 0 32px; font-size: 19px; color: var(--muted); }
.list { padding-bottom: clamp(56px, 7vw, 96px); }

footer { padding-block: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); background: var(--surface); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
footer .logo { font-size: 18px; }
.foot-left { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot-cta { display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 999px; background: var(--primary); color: #ffffff; font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; }
.foot-cta:hover { background: #0f46d9; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { display: inline-block; padding-block: 11px; }

@media (max-width: 560px) {
  .top nav .link { display: none; }
  .prose { font-size: 17px; }
  .kurz, .toc { padding: 18px 20px; }
}
@media (max-width: 380px) {
  .top .logo { font-size: 18px; }
  .logo svg { width: 38px; height: 22px; }
  .top .btn { padding: 9px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
