@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;src:url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2")}
@font-face{font-family:"Plus Jakarta Sans";font-style:italic;font-weight:200 800;font-display:swap;src:url("/fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2")}
/* Rechnungswerk Ratgeber – gleiche Tokens & Fluid-Scaling wie die Startseite */
:root{--bg:#f7f9fd;--surface:#fff;--text:#17223b;--muted:#6b7890;--line:#e3e9f3;--blue:#2549df;--tint:#edf2ff;--green:#187850;--green-bg:#e8f7ee}
*{box-sizing:border-box}html{scroll-behavior:smooth;font-size:16px}
@media(min-width:951px){html{font-size:clamp(14px,1.25vw,22.5px)}}
@media(min-width:741px) and (max-width:950px){html{font-size:max(14px,1.684vw)}}
@media(max-width:740px){html{font-size:clamp(14px,4.267vw,17px)}}
body{margin:0;background:var(--bg);color:var(--text);font:.9375rem/1.6 "Plus Jakarta Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-decoration:none}
a:focus-visible,summary:focus-visible{outline:3px solid #8caaff;outline-offset:5px}
svg{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
h1,h2,h3,p{margin:0}
.wrap{max-width:71.875rem;margin:auto;padding:0 1.875rem}

/* Header */
.header-bar{position:sticky;top:0;z-index:50;background:rgba(247,249,253,.88);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.header{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;height:4.875rem}
.brand{display:flex;align-items:center;gap:.625rem;font-size:1.4375rem;letter-spacing:-.05em;font-weight:780;white-space:nowrap}
.brand svg{width:2.125rem;height:2.125rem;stroke:none}.dot{color:var(--blue)}
.header nav{white-space:nowrap;display:flex;gap:1.75rem;font-size:.8125rem;font-weight:550;color:var(--muted)}
.header nav a:hover,.header nav a[aria-current]{color:var(--blue)}
.account{display:flex;gap:1.25rem;align-items:center;font-size:.8125rem;font-weight:600}
.account .login:hover{color:var(--blue)}
.btn{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:.625rem;min-height:2.9375rem;border-radius:.5625rem;padding:.75rem 1.375rem;background:var(--blue);border:1px solid var(--blue);color:#fff;font-weight:650;font-size:.875rem;transition:background .15s}
.btn:hover{background:#193bc5}
.btn.small{min-height:2.4375rem;font-size:.75rem;padding:.5625rem .875rem}
.btn svg{width:1rem;height:1rem}

.eyebrow{display:flex;align-items:center;gap:.5rem;font-size:.6875rem;letter-spacing:.08em;font-weight:750;color:var(--blue);text-transform:uppercase}
.spark{width:.4375rem;height:.4375rem;background:var(--blue);border-radius:50%}

/* Übersicht */
.hub-hero{padding:4.5rem 0 3rem;max-width:42rem}
.hub-hero h1{font-size:3rem;line-height:1.1;letter-spacing:-.025em;font-weight:780;margin:1rem 0 1.125rem}
.hub-hero h1 em{color:var(--blue);font-style:normal}
.hub-hero p{color:var(--muted);font-size:1rem;line-height:1.75}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.post{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:.75rem;padding:1.75rem;transition:border-color .15s,box-shadow .15s}
.post:hover{border-color:#a8bdf8;box-shadow:0 .75rem 2rem #1b346410}
.post.featured{grid-column:span 2;background:#1738bd;border-color:#1738bd;color:#fff}
.post.featured p,.post.featured .meta{color:#cfdaff}
.post.featured .tag{background:#ffffff1f;color:#fff}
.post.featured h2{font-size:1.625rem}
.post.featured .more{color:#fff}
.tag{align-self:flex-start;font-size:.6875rem;font-weight:650;color:var(--blue);background:var(--tint);padding:.25rem .625rem;border-radius:100px;margin-bottom:1rem}
.post h2{font-size:1.0625rem;letter-spacing:-.02em;line-height:1.35;margin-bottom:.5rem}
.post p{font-size:.8125rem;color:var(--muted);line-height:1.7;flex:1}
.post .meta{font-size:.6875rem;color:var(--muted);margin-top:1.25rem}
.more{display:flex;align-items:center;gap:.375rem;margin-top:.5rem;font-size:.8125rem;font-weight:650;color:var(--blue)}
.more svg{width:1rem;height:1rem}

/* Artikel */
.crumbs{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem;color:var(--muted);padding:2rem 0 0;margin:0;list-style:none}
.crumbs li:not(:last-child):after{content:"/";margin-left:.5rem;color:#b8c1d1}
.crumbs a:hover{color:var(--blue)}
.article-head{max-width:46rem;padding:2.5rem 0 2.5rem}
.article-head h1{font-size:2.75rem;line-height:1.12;letter-spacing:-.025em;font-weight:780;margin:1rem 0 1.25rem}
.article-head .intro{font-size:1.0625rem;color:var(--muted);line-height:1.75}
.byline{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:1.5rem;font-size:.75rem;color:var(--muted)}
.byline span{display:flex;align-items:center;gap:.375rem}.byline svg{width:.875rem;height:.875rem}

.article-grid{display:grid;grid-template-columns:minmax(0,46rem) 1fr;gap:4rem;align-items:start;padding-bottom:2rem}
.toc{position:sticky;top:6.5rem;background:var(--surface);border:1px solid var(--line);border-radius:.75rem;padding:1.375rem 1.5rem}
.toc strong{display:block;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:.75rem}
.toc ol{margin:0;padding-left:1.125rem;font-size:.8125rem;line-height:1.6}
.toc li{margin:.375rem 0}.toc a:hover{color:var(--blue)}
.toc .btn{width:100%;margin-top:1.25rem}

.prose{font-size:1rem;line-height:1.8}
.prose h2{font-size:1.625rem;letter-spacing:-.02em;line-height:1.25;margin:3rem 0 1rem;scroll-margin-top:6rem}
.prose h3{font-size:1.125rem;letter-spacing:-.02em;margin:2rem 0 .625rem}
.prose p{margin:0 0 1.125rem}
.prose ul,.prose ol{margin:0 0 1.25rem;padding-left:1.375rem}
.prose li{margin:.375rem 0}
.prose a{color:var(--blue);text-decoration:underline;text-underline-offset:.2em}
.prose strong{font-weight:680}
.prose table{width:100%;border-collapse:collapse;font-size:.875rem;margin:0 0 1.5rem;background:var(--surface);border:1px solid var(--line);border-radius:.75rem;overflow:hidden}
.prose th,.prose td{padding:.75rem 1rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.prose th{background:var(--bg);font-size:.75rem;color:var(--muted);font-weight:650}
.prose tr:last-child td{border-bottom:0}
.note{background:var(--tint);border-radius:.75rem;padding:1.25rem 1.5rem;margin:0 0 1.5rem;font-size:.9375rem}
.note strong{color:var(--blue)}
.template{background:var(--surface);border:1px dashed #a8bdf8;border-radius:.75rem;padding:1.25rem 1.5rem;margin:0 0 1.5rem;font-family:ui-monospace,Consolas,monospace;font-size:.8125rem;line-height:1.7}
.checklist{list-style:none;padding:0!important}
.checklist li{position:relative;padding-left:1.75rem}
.checklist li:before{content:"";position:absolute;left:0;top:.45em;width:1.0625rem;height:1.0625rem;border-radius:.3rem;background:var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23187850' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center/70% no-repeat}
.disclaimer{font-size:.75rem;color:var(--muted);border-top:1px solid var(--line);padding-top:1.25rem;margin-top:2.5rem}

.cta-box{background:#1738bd;color:#fff;border-radius:1rem;padding:2.25rem 2.5rem;margin:3rem 0 0;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;position:relative;overflow:hidden}
.cta-box:after{content:"";position:absolute;width:16rem;height:16rem;border:3rem solid #ffffff08;border-radius:50%;right:4rem;top:-9rem;pointer-events:none}
.cta-box h2{font-size:1.5rem;margin:0;color:#fff}
.cta-box p{color:#cfdaff;font-size:.875rem;margin:.5rem 0 0}
.cta-box .btn{background:#fff;color:#1738bd;border-color:#fff;position:relative;z-index:1;text-decoration:none}
.cta-box .btn:hover{background:#edf2ff}

.related{padding:4.5rem 0 0}
.related>h2{font-size:1.5rem;letter-spacing:-.02em;margin-bottom:1.5rem}

.footer{display:flex;justify-content:space-between;gap:1.25rem;align-items:center;margin-top:6rem;padding:1.625rem 0 1.875rem;border-top:1px solid var(--line);font-size:.6875rem;color:var(--muted)}
.footer nav{display:flex;gap:1.25rem;flex-wrap:wrap}.footer a:hover{text-decoration:underline}
.footer .brand{font-size:1rem}.footer .brand svg{width:1.5rem;height:1.5rem}

@media(max-width:950px){.article-grid{grid-template-columns:1fr;gap:0}.toc{display:none}.posts{grid-template-columns:1fr 1fr}.header nav{gap:1.25rem}}
@media(max-width:740px){
  .wrap{padding:0 1.3125rem}.header{height:4.25rem}.header nav{display:none}.brand{font-size:1.3125rem}
  .hub-hero{padding:2.5rem 0 2rem}.hub-hero h1{font-size:2.375rem}
  .posts{grid-template-columns:1fr;gap:.75rem}.post.featured{grid-column:auto}.post.featured h2{font-size:1.25rem}
  .article-head{padding:1.75rem 0}.article-head h1{font-size:2rem}
  .prose h2{font-size:1.375rem}
  .prose table{display:block;overflow-x:auto}
  .cta-box{flex-direction:column;align-items:flex-start;padding:1.75rem 1.5rem}.cta-box .btn{width:100%}
  .footer{flex-direction:column;align-items:flex-start}
}
@media(max-width:430px){.account .small{display:none}}

.hub-section{margin:0 0 3rem}.hub-section>h2{font-size:1.25rem;letter-spacing:-.02em;margin-bottom:.25rem}.hub-section>p{color:var(--muted);font-size:.875rem;margin-bottom:1.25rem}

/* ---------- 0.0.39: Quellen, Hinweis, Lesefortschritt, Suche ---------- */

/* Der zentral angehängte Stand-/Gewährleistungshinweis (seit 0.0.38).
   Stand bisher unformatiert auf den öffentlichen Seiten. */
.guide-disclaimer{font-size:.75rem;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);padding-top:1.25rem;margin:2.5rem 0 0}

/* Amtliche Quellen am Artikelende */
.sources{margin:3rem 0 0;padding:1.5rem 1.75rem;background:var(--surface);border:1px solid var(--line);border-radius:.75rem}
.sources h2{font-size:.75rem!important;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0 0 .875rem!important}
.sources ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.sources li{margin:0}
.sources a{display:inline-flex;align-items:baseline;gap:.5rem;font-size:.8125rem;color:var(--blue);text-decoration:none;line-height:1.5}
.sources a:before{content:"";flex:none;width:.375rem;height:.375rem;border-radius:50%;background:var(--blue);transform:translateY(-.15em)}
.sources a:hover{text-decoration:underline;text-underline-offset:.2em}

/* Lesefortschritt */
.reading-progress{position:fixed;top:0;left:0;right:0;height:.1875rem;z-index:60;pointer-events:none}
.reading-progress i{display:block;height:100%;width:0;background:var(--blue);transition:width .1s linear}

/* Aktiver Abschnitt im Inhaltsverzeichnis */
.toc a{display:block;padding:.125rem 0;transition:color .15s}
.toc li{transition:color .15s}
.toc li:has(a.active){color:var(--blue);font-weight:650}
.toc a.active{color:var(--blue);font-weight:650}

/* Suche auf der Übersicht */
.hub-search{display:flex;align-items:center;gap:.75rem;max-width:30rem;margin:0 0 2.75rem;background:var(--surface);border:1px solid var(--line);border-radius:.75rem;padding:.25rem 1rem;transition:border-color .15s,box-shadow .15s}
.hub-search:focus-within{border-color:#a8bdf8;box-shadow:0 0 0 .25rem #2549df14}
.hub-search svg{width:1.125rem;height:1.125rem;color:var(--muted)}
.hub-search input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:.875rem;color:inherit;padding:.8125rem 0}
.hub-search input::placeholder{color:var(--muted)}
.hub-search input::-webkit-search-cancel-button{cursor:pointer}
.hub-empty{color:var(--muted);font-size:.9375rem;margin:0 0 3rem}

/* Übersichtskarten etwas ruhiger und mit klarerer Gruppentrennung */
.hub-section+.hub-section{border-top:1px solid var(--line);padding-top:2.5rem}
.post.featured{justify-content:center;position:relative;overflow:hidden}
.post.featured:after{content:"";position:absolute;width:9rem;height:9rem;border:1.75rem solid #ffffff0a;border-radius:50%;right:-3.5rem;bottom:-4rem;pointer-events:none}
.post.featured p{flex:none;max-width:32rem;font-size:.9375rem;margin-top:.25rem}
.post.featured .meta{margin-top:1.75rem}
@media(max-width:740px){.post.featured{justify-content:flex-start}.hub-search{margin-bottom:2rem}}
