/* horaios Charis – gemeinsames Stylesheet im horaios-Erscheinungsbild (wie faktura.horaios.net) */
@font-face{font-family:"Schibsted Grotesk";font-weight:500;font-style:normal;font-display:swap;src:url(fonts/schibsted-grotesk-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Schibsted Grotesk";font-weight:700;font-style:normal;font-display:swap;src:url(fonts/schibsted-grotesk-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Schibsted Grotesk";font-weight:800;font-style:normal;font-display:swap;src:url(fonts/schibsted-grotesk-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"Public Sans";font-weight:400;font-style:normal;font-display:swap;src:url(fonts/public-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Public Sans";font-weight:400;font-style:italic;font-display:swap;src:url(fonts/public-sans-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Public Sans";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/public-sans-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"JetBrains Mono";font-weight:400;font-style:normal;font-display:swap;src:url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"JetBrains Mono";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/jetbrains-mono-latin-600-normal.woff2) format("woff2")}
:root {
  /* horaios tokens – same values as css/site.css of www.horaios.de and faktura.horaios.net */
  --ink: #12212b;
  --ink-soft: #4a5d6a;
  --paper: #f4f8fa;
  --surface: #ffffff;
  --line: #d5e0e7;
  --base: #0079ad;        /* links and accents (horaios carbon) */
  --base-deep: #005f88;
  --fill: #0079ad;        /* filled areas with white text – stays dark enough in dark mode */
  --brand: #009ee2;       /* blue of the horaios logo */
  --tile: #e3f4fc;
  --deep: #062f45;        /* dark areas (code, generated layers, contact) */
  --deep-fg: #cfe3ee;
  --signal: #E8A33D;      /* your own C# code */
  --signal-soft: #FBEBD2;
  --logo-grey: #6f6f6e;
  --radius-s: 6px;
  --radius-m: 10px;
  --measure: 64ch;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --ink: #e6eff4; --ink-soft: #a3bccb; --paper: #08151d; --surface: #0f222d; --line: #1f3b4c;
  --base: #33b5ea; --base-deep: #7fd0f2; --fill: #0a6d99; --tile: #0b2a3d;
  --deep: #031c29; --deep-fg: #cfe3ee; --signal: #f0b456; --signal-soft: #3a2b12; --logo-grey: #c9cfd3;
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --ink: #e6eff4; --ink-soft: #a3bccb; --paper: #08151d; --surface: #0f222d; --line: #1f3b4c;
  --base: #33b5ea; --base-deep: #7fd0f2; --fill: #0a6d99; --tile: #0b2a3d;
  --deep: #031c29; --deep-fg: #cfe3ee; --signal: #f0b456; --signal-soft: #3a2b12; --logo-grey: #c9cfd3;
  color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--base); text-underline-offset: 3px; }
a:hover { color: var(--base-deep); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }  /* as css/site.css of the other horaios sites */
.wrap.narrow > * { max-width: 820px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); font-weight: 750; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: 0; }
p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 1em; }
code { font-family: var(--font-mono); font-size: .88em; background: var(--tile); padding: 1px 6px; border-radius: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; padding: 0; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--logo-grey); text-decoration: none; line-height: 0; }
.brand:hover { color: var(--logo-grey); }
.brand svg { height: 44px; width: auto; flex: none; }
.brand .product { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1; color: var(--ink); padding-left: 14px; border-left: 1px solid var(--line); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
.site-nav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-weight: 400; font-size: .9375rem; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--base); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.btn {
  display: inline-block;
  background: var(--fill);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-s);
  transition: background .15s;
}
.btn:hover { background: var(--deep); color: #fff; }
.btn-small { padding: 8px 14px; font-size: .875rem; border: 1px solid var(--fill); }

/* Page head (Unterseiten) */
.page-head { padding: 40px 0 72px; }
.page-head .wrap { display: grid; gap: 20px; }
.eyebrow { font-family: var(--font-mono); font-size: .85rem; color: var(--base); background: var(--tile); padding: 4px 10px; border-radius: 4px; justify-self: start; }
.page-head h1 { max-width: 20ch; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 56ch; }
.lead strong { color: var(--ink); }

/* Hero (Startseite) */
.hero { padding: 40px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.hero h1 .line { display: block; }
.hero h1 .line:last-child { color: var(--base); }
.hero .lead { margin-top: 24px; max-width: 46ch; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.actions a.plain { font-weight: 600; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h2 { font-size: 1.05rem; font-weight: 650; letter-spacing: 0; }
.panel-head p { font-size: .9rem; color: var(--ink-soft); }
.panel .shot { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper); }

.plate {
  margin-top: 10px;
  background: var(--fill);
  color: #fff;
  border-radius: var(--radius-s);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.plate strong { font-size: 1rem; }
.plate span { font-size: .9rem; opacity: .85; }

.tally { margin-top: 18px; display: flex; gap: 32px; flex-wrap: wrap; }
.tally div { font-size: .9rem; color: var(--ink-soft); }
.tally b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.tally .accent b { color: var(--signal); }

/* Sections */
section.block { padding: 88px 0; border-top: 1px solid var(--line); }
section.block.tinted { background: var(--surface); }
section.block.compact { padding: 64px 0; }
.split { display: grid; gap: 24px 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.split > div > h2 + p, .split > div > h2 + ul { margin-top: 20px; }
.section-intro { margin-top: 12px; color: var(--ink-soft); }
.num { display: block; font-family: var(--font-mono); font-size: .85rem; font-weight: 500; color: var(--base); margin-bottom: 10px; letter-spacing: 0; }

ul.plain { margin: 24px 0 0; padding: 0; list-style: none; max-width: var(--measure); }
ul.plain li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; }
ul.plain li:last-child { border-bottom: 1px solid var(--line); }
ul.plain li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px;
  border-radius: 2px; background: var(--signal);
}
ul.plain.base li::before { background: var(--fill); }
ul.plain.muted li::before { background: transparent; border: 1.5px solid var(--ink-soft); }
ul.plain b { display: block; font-weight: 650; }
ul.plain span { color: var(--ink-soft); }

/* Link-Zeilen (wie "So sieht das im Alltag aus") */
.flows { margin-top: 40px; display: grid; border-top: 1px solid var(--line); }
.flow { display: grid; gap: 8px 40px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .flow { grid-template-columns: 300px 1fr; } }
.flow .path { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { font-size: .85rem; font-weight: 600; background: var(--tile); color: var(--ink); padding: 4px 10px; border-radius: 4px; text-decoration: none; }
a.chip:hover { background: var(--fill); color: #fff; }
.path .sep { color: var(--ink-soft); font-size: .9rem; }
.flow h3 { margin-bottom: 6px; }
.flow h3 a { color: var(--ink); text-decoration-color: var(--line); text-decoration-thickness: 2px; }
.flow h3 a:hover { color: var(--base); text-decoration-color: var(--base); }

/* Gruppen (wie "Die Module im Überblick") */
.groups { margin-top: 40px; display: grid; gap: 32px; }
@media (min-width: 700px) { .groups { grid-template-columns: repeat(2, 1fr); gap: 40px 56px; } }
@media (min-width: 1000px) { .groups { grid-template-columns: repeat(3, 1fr); } }
.group h3 { padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.group ul { margin: 0; padding: 0; list-style: none; }
.group li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .97rem; }
.group li:last-child { border-bottom: none; }

/* Karten */
.cards { margin-top: 32px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
section.block.tinted .card { background: var(--paper); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .bar-top { display: block; width: 32px; height: 6px; border-radius: 2px; background: var(--deep); margin-bottom: 16px; }
.card:nth-child(2) .bar-top { background: var(--fill); }
.card:nth-child(3) .bar-top { background: var(--signal); }

.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 600; font-size: .95rem; background: var(--signal-soft); color: var(--ink); padding: 6px 12px; border-radius: 4px; }
.status i { width: 10px; height: 10px; border-radius: 2px; background: var(--signal); flex: none; }

/* Stapel-Grafik (wie "Offen für Ihre eigenen Lösungen") */
.stack-visual { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
section.block:not(.tinted) .stack-visual { background: var(--surface); }
.stack-visual .row { display: flex; gap: 8px; flex-wrap: wrap; }
.stack-visual .row + .row { margin-top: 8px; }
.stack-visual .m { flex: 1 1 80px; text-align: center; padding: 12px 6px; border-radius: var(--radius-s); background: var(--deep); color: #fff; font-weight: 600; font-size: .9rem; }
.stack-visual .m.custom { background: var(--signal); color: var(--ink); }
.stack-visual .m.ext { background: transparent; border: 1.5px solid var(--ink-soft); color: var(--ink); }
.stack-visual .m.wide { flex-basis: 100%; }
.stack-visual .note { margin-top: 14px; font-size: .88rem; color: var(--ink-soft); }
.legend { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 14px; font-size: .85rem; color: var(--ink-soft); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Anteil-Balken */
.ratio { display: flex; height: 48px; border-radius: var(--radius-s); overflow: hidden; font-weight: 600; font-size: .9rem; margin-top: 28px; }
.ratio .gen { flex: 0 0 75%; background: var(--deep); color: #fff; display: flex; align-items: center; padding-inline: 16px; }
.ratio .own { flex: 1; background: var(--signal); color: #12212b; display: flex; align-items: center; padding-inline: 12px; min-width: 0; white-space: nowrap; overflow: hidden; }

.verdict { margin-top: 32px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.verdict div { border-left: 4px solid var(--line); padding: 4px 0 4px 16px; }
.verdict .yes { border-color: var(--base); }
.verdict .no { border-color: var(--ink-soft); }
.verdict b { display: block; font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; }
.verdict span { color: var(--ink-soft); font-size: .97rem; }

/* Download */
.download { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.download .file { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px 18px; text-decoration: none; color: var(--ink); }
.download .file:hover { border-color: var(--base); color: var(--ink); }
.download .file img { width: 32px; height: 32px; }
.download .file b { display: block; }
.download .file small { color: var(--ink-soft); font-size: .88rem; }

/* FAQ */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 8px; }
button.toggle { font: inherit; font-weight: 600; font-size: .95rem; color: var(--base); background: none; border: none; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.faq-group { scroll-margin-top: 20px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 1.35rem; }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 16px;
  align-items: start; padding-block: 18px; font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; line-height: 1.35;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--base); text-align: center; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--base); }
.answer { padding-bottom: 22px; max-width: var(--measure); display: grid; gap: 12px; color: var(--ink-soft); }
.answer p, .answer ul { margin: 0; }
.answer ul { padding-left: 1.2em; display: grid; gap: 4px; }
.answer .path { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.answer .chip.src { background: var(--deep); color: #fff; }

/* CTA */
.cta { background: var(--deep); color: #fff; padding: 88px 0; }
.cta h2 { color: #fff; }
.cta p { color: var(--deep-fg); margin-top: 16px; }
.cta .btn { background: var(--signal); color: #12212b; margin-top: 32px; }
.cta .btn:hover { background: #fff; color: var(--deep); }
.cta address { font-style: normal; color: var(--deep-fg); line-height: 1.8; }
.cta address a { color: #fff; }
.cta .split { align-items: end; }

footer.site-footer { padding: 32px 0; font-size: .8125rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
footer.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
footer.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
footer.site-footer .cert { display: inline-flex; align-items: center; gap: 8px; }
footer.site-footer a { color: var(--ink-soft); text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
footer.site-footer a:hover { color: var(--ink); text-decoration-color: currentColor; }
footer.site-footer .cert img { display: block; height: 44px; width: auto; border-radius: 4px; }

/* Versionshistorie (versions.html, generierter Inhalt) */
.versions { font-size: .97rem; }
.versions > h2 { display: none; }
.versions h3 {
  font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; letter-spacing: 0;
  margin: 56px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink);
}
.versions > h3:first-of-type { margin-top: 0; }
.versions h4 { margin: 16px 0 8px; font-size: 1rem; }
.versions table { width: 100%; border-collapse: separate; border-spacing: 0; }
.versions > table {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden;
}
.versions table table { background: transparent; border: 0; border-radius: 0; }
.versions th.header {
  background: var(--tile); color: var(--ink); text-align: left; vertical-align: top;
  font-weight: 650; font-size: .9rem; padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.versions > table > tbody > tr > th.header:first-child:not([colspan]) { width: 1%; white-space: nowrap; }
.versions th.header[style*="background-color: #bbb"] { background: var(--deep) !important; color: #fff !important; font-size: .85rem !important; letter-spacing: .02em; }
.versions th.header[style*="font-size: 0.5rem"] { background: var(--tile); padding: 0; width: 6px !important; min-width: 6px; }
.versions th.header[style*="font-size: 0.7rem"] { font-size: .95rem !important; background: var(--surface); color: var(--ink); }
.versions th.header [style*="text-overflow"] { font-family: var(--font-mono); font-size: .75rem; color: var(--ink-soft) !important; max-width: 6rem !important; }
.versions th.header img { width: 32px !important; max-width: none !important; height: auto; border-radius: 0; }
.versions th.bugfixes { background: var(--signal-soft); }
.versions th.newFeatures { background: var(--fill); color: #fff; }
.versions td.content { background: var(--surface); padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.versions table table td.content { border-bottom: 0; padding-top: 4px; }
.versions td.content [style*="font-size: 0.7rem"] { font-size: .85rem !important; }
.versions ul { margin: 0; padding-left: 1.2em; }
.versions ul > br { display: none; }
.versions li { margin: 3px 0; }
.versions li::marker { color: var(--signal); }
.versions img { border-radius: var(--radius-s); }
.versions img.shadow, .versions img.screenshot { border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(6, 47, 69, .14); }
.versions img.screenshot { max-width: 100%; margin: 8px 0; }
.versions .codeBox { font-family: var(--font-mono); font-size: .85rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; overflow-x: auto; white-space: pre; }
@media (max-width: 640px) {
  .versions td, .versions th, .versions li, .versions a { overflow-wrap: anywhere; }
  .versions table table { table-layout: fixed; }
  .versions > table > tbody > tr > th.header:first-child:not([colspan]) { white-space: normal; width: 3.5rem; }
  .versions > table > tbody > tr > th.header[style*="font-size: 0.5rem"] { width: 6px !important; }
  .versions img { max-width: 100% !important; height: auto; }
  .versions td.content, .versions th.header { padding: 10px 12px; }
  .versions [style*="max-width: 35%"] { max-width: 100% !important; margin-left: 0 !important; }
  .versions [style*="display: flex; justify-content: space-between"] { flex-wrap: wrap; gap: 8px; }
}

/* Lernbereich: Artikel mit Inhaltsverzeichnis */
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1000px) { .doc { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; } }
.doc-toc { font-size: .95rem; }
@media (min-width: 1000px) { .doc-toc { position: sticky; top: 24px; } }
.doc-toc h2 { font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 10px; }
.doc-toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.doc-toc li { border-bottom: 1px solid var(--line); }
.doc-toc a { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.doc-toc a:hover { color: var(--base); }
.doc-toc .pdf { display: inline-block; margin-top: 16px; font-weight: 600; }

.prose { max-width: 70ch; }
.prose > section { scroll-margin-top: 20px; }
.prose > section + section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.prose h2 { margin-bottom: 20px; }
.prose h3 { margin: 32px 0 10px; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose figure + p, .prose ol + p, .prose .steps + p, .prose pre + p { margin-top: 1em; }
.prose ul { margin: 12px 0 0; padding: 0; list-style: none; }
.prose ul li { position: relative; padding: 4px 0 4px 24px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.prose ul ul { margin-top: 4px; }
.prose ul ul li::before { background: transparent; border: 1.5px solid var(--ink-soft); }
.prose strong { font-weight: 650; }
.ui { font-family: var(--font); font-size: .92em; font-weight: 600; background: var(--tile); padding: 1px 7px; border-radius: 4px; white-space: nowrap; }
kbd { font-family: var(--font-mono); font-size: .85em; background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; padding: 1px 7px; border-radius: 4px; }

.steps { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 8px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px 12px 8px 8px; font-weight: 600; }
section.block.tinted .steps li { background: var(--paper); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; background: var(--deep); color: #fff; font-family: var(--font-display); font-weight: 700; }

.prose figure { margin: 28px 0; }
.prose figure img, .prose figure svg { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.prose figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }

pre.code { margin: 16px 0 0; background: var(--deep); color: #E6ECF4; font-family: var(--font-mono); font-size: .92rem; line-height: 1.5; padding: 16px 20px; border-radius: var(--radius-s); overflow-x: auto; }
pre.code .k { color: #F2B866; }
pre.code .t { color: #9CC3EA; }

.note { margin-top: 24px; background: var(--signal-soft); border-left: 4px solid var(--signal); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 14px 18px; }
.note p { max-width: none; }

.tips { margin-top: 20px; display: grid; gap: 12px; }
.tip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px; }
section.block.tinted .tip { background: var(--paper); }
.tip > b { display: block; font-weight: 650; }
.tip > span { color: var(--ink-soft); }
.tip dl { margin: 8px 0 0; display: grid; gap: 8px; }
.tip dt { font-weight: 600; }
.tip dt .ui { white-space: normal; }
.tip dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.compare-cards { margin-top: 24px; display: grid; gap: 16px; }
@media (min-width: 700px) { .compare-cards { grid-template-columns: 1fr 1fr; } }
.compare-cards .card h3 { margin-top: 0; }
.compare-cards .card.rec { border: 2px solid var(--base); }
.compare-cards .card ul { margin-top: 10px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 650; background: var(--fill); color: #fff; padding: 2px 8px; border-radius: 4px; margin-bottom: 10px; }
.badge.muted { background: var(--tile); color: var(--ink-soft); }

/* Lernbereich: Übersicht */
.flow .meta-line { margin-top: 8px; font-size: .9rem; color: var(--ink-soft); }
.flow.soon h3 { color: var(--ink-soft); }
.card li { font-size: .97rem; color: var(--ink-soft); }

pre.code code { background: none; color: inherit; padding: 0; font-size: inherit; }

/* Lernbereich: Tutorial "Erste Schritte" */
.doc-toc ol.tour { counter-reset: tour; }
.doc-toc ol.tour li { counter-increment: tour; }
.doc-toc ol.tour a, .doc-toc ol.tour span { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 8px 0; font-weight: 600; line-height: 1.35; }
.doc-toc ol.tour a::before, .doc-toc ol.tour span::before { content: counter(tour); font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); padding-top: 2px; }
.doc-toc ol.tour span { color: var(--ink-soft); font-weight: 500; }
.doc-toc ol.tour a[aria-current="page"] { color: var(--base); }
.doc-toc ol.tour a[aria-current="page"]::before { color: var(--base); font-weight: 700; }
.doc-toc .home { display: inline-block; margin-bottom: 14px; font-weight: 600; text-decoration: none; }

.prose figure:not(.shot) img, .prose figure svg, .prose figure.shot.wide img { width: 100%; } /* .shot keeps its width attribute: 2x screenshots show at half size */
.prose .pair { display: grid; gap: 16px; margin: 28px 0; }
@media (min-width: 640px) { .prose .pair { grid-template-columns: 1fr 1fr; align-items: start; } }
.prose .pair figure { margin: 0; }

.seen { margin-top: 24px; background: var(--tile); border-left: 4px solid var(--base); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 14px 18px; }
.seen b.label { display: block; font-family: var(--font-display); font-weight: 700; color: var(--base); margin-bottom: 4px; }
.seen p { max-width: none; }
.note b.label { display: block; font-family: var(--font-display); font-weight: 700; margin-bottom: 4px; }

table.fields { margin-top: 16px; width: 100%; border-collapse: collapse; font-size: .97rem; }
table.fields th, table.fields td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
table.fields th { font-weight: 650; font-size: .85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
table.fields td:first-child { white-space: nowrap; }
@media (max-width: 560px) { table.fields td:first-child { white-space: normal; } }

.pager { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pager a { display: grid; gap: 2px; text-decoration: none; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); color: var(--ink); max-width: 100%; }
section.block.tinted .pager a { background: var(--paper); }
.pager a:hover { border-color: var(--base); color: var(--ink); }
.pager small { font-size: .8rem; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pager b { font-weight: 650; }
.pager .next { margin-left: auto; text-align: right; }
table.fields code { overflow-wrap: anywhere; }
.prose .ui { white-space: normal; }
.seen + p, .seen + .tip, .note + p { margin-top: 20px; }
pre.code .c { color: #8FA3B8; font-style: italic; }
@media (max-width: 560px) { table.fields { display: block; overflow-x: auto; } }
.prose table.fields + p, .prose table.fields + ul { margin-top: 16px; }
.seen .ui, .seen code { background: var(--surface); }
.prose :not(.tip) + .tip { margin-top: 24px; }

/* horaios look: anchors below the sticky header */
html { scroll-padding-top: 84px; }
@media (max-width: 560px) { .brand svg { height: 36px; } .brand .product { font-size: 1rem; padding-left: 10px; } .brand { gap: 10px; } }

/* phone menu – as on www.horaios.de and faktura.horaios.net */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: .9375rem; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 6px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--base); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px; min-width: 240px; display: grid; box-shadow: 0 24px 48px -24px rgba(6, 47, 69, .4); }
.menu-panel a { padding: 10px 12px; border-radius: 4px; color: var(--ink); text-decoration: none; }
.menu-panel a:hover { background: var(--tile); }
.menu-panel a[aria-current="page"] { color: var(--base); font-weight: 600; }
@media (max-width: 980px) {
  .site-nav { flex-wrap: nowrap; gap: 10px; }
  .site-nav > a:not(.btn) { display: none; }
  .menu { display: block; }
  .site-header .wrap { flex-wrap: nowrap; }
}
@media (max-width: 360px) { .brand svg { height: 32px; } .site-nav .btn-small { padding: 6px 10px; font-size: .8125rem; } .menu summary { padding: 5px 10px; font-size: .8125rem; } }
/* the phone menu is not an FAQ entry */
details.menu { border-bottom: 0; }
.menu summary { display: block; line-height: 1.4; }
.menu summary::after { content: none; }
.menu summary:hover { color: var(--ink); }
.menu-panel a[aria-current="page"] { text-decoration: none; }
@media (max-width: 480px) { .site-nav .btn-small { display: none; } }
