/*
 * Fachbeiträge auf neuralis.at (seit 12.11.2026): Richtung „Der i-Punkt“.
 * Fraunces (weiche Serife) für Überschriften, Source Sans 3 für den Lesetext, Navy #12304f und Blau #2c5c89.
 * Keine Inline-Stile im HTML; die Seite funktioniert ohne JavaScript vollständig.
 */
@font-face { font-family: 'Fraunces'; src: url('/blog/assets/fonts/fraunces-soft.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Schibsted Grotesk'; src: url('/assets/schibsted-grotesk.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/blog/assets/fonts/source-sans-3.woff2') format('woff2'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/blog/assets/fonts/source-sans-3-italic.woff2') format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --navy: #12304f;
  --navy-tief: #0b2036;
  --blau: #2c5c89;
  --blau-dunkel: #224a70;
  --blau-hell: #9cc1e4;
  --punkt: #8fb6dd;
  --hauch: #eef3f8;
  --hauch-tief: #dfe8f2;
  --linie: #d2dbe6;
  --tinte: #142030;
  --text: #2a3747;
  --leise: #536173;
  --weiss: #ffffff;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rand: clamp(1rem, 3.4vw, 3.5rem);
  --breit: 88rem;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.1875rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  accent-color: var(--blau);
}
img { max-width: 100%; height: auto; }
a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--blau-dunkel); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--hauch-tief); color: var(--tinte); }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; font-family: var(--serif); font-variation-settings: 'SOFT' 100; color: var(--tinte); font-weight: 560; line-height: 1.14; letter-spacing: -0.014em; text-wrap: balance; }

.sprung { position: absolute; left: var(--rand); top: -4rem; padding: 0.5rem 1rem; background: var(--navy); color: var(--weiss); z-index: 20; }
.sprung:focus { top: 1rem; }

/* Lesefortschritt: nur mit JavaScript sichtbar (blog.js setzt --fortschritt). */
.fortschritt { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 30; pointer-events: none; display: none; }
.js .fortschritt { display: block; }
.fortschritt span { display: block; height: 100%; background: var(--punkt); transform-origin: 0 50%; transform: scaleX(var(--fortschritt, 0)); }

/* Kopf */
.leiste { position: sticky; top: 0; z-index: 20; height: 3.5rem; padding: 0 var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--navy); color: var(--weiss); font-family: 'Schibsted Grotesk', system-ui, sans-serif; font-size: 1rem; line-height: 1.5; }
.leiste ul { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.leiste li a { display: inline-block; padding: 0.4rem 0; color: inherit; text-decoration: none; white-space: nowrap; text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; }
.leiste li a:hover, .leiste li a[aria-current] { text-decoration: underline; }
.leiste-logo { flex: none; display: block; }
.leiste-logo img { display: block; width: 7.75rem; height: auto; }

/* Raster: Inhalt und Seitenleiste */
.rahmen { max-width: var(--breit); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3.25rem) var(--rand) clamp(3rem, 7vw, 5.5rem); display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.rahmen > main { min-width: 0; }
@media (max-width: 64rem) { .rahmen { grid-template-columns: minmax(0, 1fr); } }

.pfad { font-size: 0.95rem; color: var(--leise); margin: 0 0 1.25rem; }
.pfad ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pfad li + li::before { content: '›'; margin-right: 0.35rem; color: var(--leise); }
.pfad a { color: var(--leise); }

/* Übersicht */
.ueberblick h1 { margin: 0; font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.ueberblick h1 .punkt { color: var(--blau); }
.einleitung { margin: 1rem 0 2.25rem; max-width: 46rem; font-size: clamp(1.15rem, 1.7vw, 1.3rem); color: var(--text); }
.karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2rem); }
@media (max-width: 80rem) { .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .karten { grid-template-columns: minmax(0, 1fr); } }
.karte { display: flex; flex-direction: column; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: var(--weiss); transition: border-color 0.2s, transform 0.2s; position: relative; }
.karte:hover { border-color: var(--blau); transform: translateY(-2px); }
.karte img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--hauch); border-bottom: 1px solid var(--linie); }
.karte-text { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.karte h2, .karte h3 { margin: 0; font-size: 1.3rem; line-height: 1.22; hyphens: manual; }
.karte h2 a, .karte h3 a { color: var(--tinte); text-decoration: none; }
.karte h2 a::after, .karte h3 a::after { content: ''; position: absolute; inset: 0; }
.karte p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--text); }
.karte .anriss { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.karte .meta { margin-top: auto; padding-top: 0.25rem; }
.meta { font-size: 0.92rem; color: var(--leise); display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; }
.marke { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blau); }

.blaettern { margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; list-style: none; padding: 0; }
.blaettern a, .blaettern span { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.85rem; align-items: center; justify-content: center; border: 1px solid var(--linie); border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--navy); }
.blaettern a:hover { border-color: var(--blau); }
.blaettern [aria-current] { background: var(--navy); border-color: var(--navy); color: var(--weiss); }

/* Seitenleiste */
.leiste-seite { display: flex; flex-direction: column; gap: 2rem; font-size: 1rem; }
@media (min-width: 64.01rem) { .leiste-seite { position: sticky; top: 5rem; max-height: calc(100vh - 6.5rem); overflow-y: auto; padding-right: 0.25rem; scrollbar-width: thin; } }
.leiste-seite h2 { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); margin: 0 0 0.75rem; }
.leiste-seite ul { list-style: none; margin: 0; padding: 0; }
.leiste-seite li { margin: 0 0 0.35rem; }
.leiste-seite li a { color: var(--navy); text-decoration: none; }
.leiste-seite li a:hover { text-decoration: underline; }
.leiste-seite .zahl { color: var(--leise); font-size: 0.9rem; }
.suche label { display: block; font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); margin: 0 0 0.6rem; }
.suche-zeile { display: flex; gap: 0.4rem; }
.suche input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 0.6rem 0.8rem; border: 1px solid var(--linie); border-radius: 10px; color: var(--tinte); background: var(--weiss); }
.suche input:focus { border-color: var(--blau); outline: 2px solid var(--blau); outline-offset: 0; }
.suche button, .knopf { font: inherit; font-size: 0.98rem; font-weight: 600; padding: 0.6rem 0.95rem; border: 0; border-radius: 10px; background: var(--navy); color: var(--weiss); cursor: pointer; }
.suche button:hover, .knopf:hover { background: var(--blau); }
.wolke { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.wolke li { margin: 0; }
.wolke a { display: inline-block; padding: 0.25rem 0.7rem; border: 1px solid var(--linie); border-radius: 999px; font-size: 0.92rem; }
.wolke a:hover { border-color: var(--blau); text-decoration: none; }

/* Beitrag */
.beitrag h1 { margin: 0 0 1rem; font-size: clamp(2rem, 3.9vw, 3.05rem); }
.beitrag .meta { margin: 0 0 1.75rem; }
.kurz { margin: 0 0 2rem; padding: 1.2rem 1.4rem 1.3rem; background: var(--hauch); border: 1px solid var(--hauch-tief); border-radius: var(--radius); }
.kurz p { margin: 0; font-size: 1.12rem; line-height: 1.6; color: var(--tinte); }
.kurz strong:first-child { display: flex; align-items: center; gap: 0.5rem; font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blau); margin-bottom: 0.35rem; }
.kurz strong:first-child::before { content: ''; width: 0.62rem; height: 0.62rem; border-radius: 50%; background: var(--blau); flex: none; }
.titelbild { margin: 0 0 2rem; }
.titelbild img { display: block; width: 100%; border-radius: var(--radius); border: 1px solid var(--linie); }
.inhalt { margin: 0 0 2.25rem; padding: 1.1rem 1.3rem; border: 1px solid var(--linie); border-radius: var(--radius); }
.inhalt h2 { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); margin: 0 0 0.5rem; }
.inhalt ol { margin: 0; padding-left: 1.3rem; font-size: 1.02rem; }
.inhalt li { margin: 0.2rem 0; }
.text { max-width: 44rem; }
.text h2 { margin: 2.6rem 0 0.8rem; font-size: clamp(1.6rem, 2.7vw, 2.15rem); }
.text h3 { margin: 1.9rem 0 0.5rem; font-size: clamp(1.25rem, 2vw, 1.45rem); }
.text p { margin: 0 0 1.1rem; }
.text ul, .text ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.text li { margin: 0.35rem 0; }
.text li::marker { color: var(--blau); }
.text strong { color: var(--tinte); }
.text blockquote { margin: 1.75rem 0; padding: 1.1rem 1.35rem; background: var(--navy); color: var(--weiss); border-radius: var(--radius); }
.text blockquote p { margin: 0; color: var(--weiss); font-size: 1.12rem; }
.text blockquote strong { color: var(--punkt); }
.text blockquote a { color: var(--weiss); }
.tabelle { overflow-x: auto; margin: 1.5rem 0 1.75rem; border: 1px solid var(--linie); border-radius: var(--radius); }
.text table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.45; }
.text th, .text td { text-align: left; vertical-align: top; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--linie); }
.text th { background: var(--hauch); color: var(--tinte); font-weight: 700; }
.text tr:last-child td { border-bottom: 0; }
.grafik { margin: 2rem 0 2.25rem; }
.grafik img { display: block; width: 100%; border-radius: var(--radius); border: 1px solid var(--linie); }
.grafik figcaption, .titelbild figcaption { margin-top: 0.6rem; font-size: 0.95rem; color: var(--leise); line-height: 1.45; }
.text code { font-size: 0.92em; background: var(--hauch); padding: 0.1em 0.35em; border-radius: 5px; }

.faq { margin: 2.75rem 0 0; max-width: 44rem; }
.faq h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 2.7vw, 2.15rem); }
.faq details { border-top: 1px solid var(--linie); padding: 0.9rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--linie); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--tinte); list-style-position: outside; }
.faq summary h3 { display: inline; font-family: var(--sans); font-size: 1.08rem; letter-spacing: 0; }
.faq details p { margin: 0.6rem 0 0; }

.quellen { margin: 2.5rem 0 0; max-width: 44rem; font-size: 0.98rem; }
.quellen h2 { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); margin: 0 0 0.6rem; }
.quellen ul { margin: 0; padding-left: 1.2rem; }
.hinweis { margin: 1.75rem 0 0; max-width: 44rem; font-size: 0.95rem; color: var(--leise); }

.teilen { margin: 2.5rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--linie); max-width: 44rem; }
.teilen h2 { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); margin: 0 0 0.7rem; }
.teilen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.teilen a, .teilen button { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.6rem; padding: 0 0.95rem; border: 1px solid var(--linie); border-radius: 999px; background: var(--weiss); color: var(--navy); font: inherit; font-size: 0.95rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.teilen a:hover, .teilen button:hover { border-color: var(--blau); color: var(--blau); }
.teilen svg { width: 1.05rem; height: 1.05rem; fill: currentColor; flex: none; }
.teilen [hidden] { display: none; }
.teilen .kopiert { border-color: var(--blau); background: var(--hauch); }

.weiter { margin: 3rem 0 0; }
.weiter > h2 { margin: 0 0 1.1rem; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.weiter .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 80rem) { .weiter .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .weiter .karten { grid-template-columns: minmax(0, 1fr); } }

/* Suche */
.treffer-info { color: var(--leise); margin: 0 0 1.25rem; }
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { padding: 1rem 0; border-top: 1px solid var(--linie); }
.liste h2 { margin: 0 0 0.25rem; font-size: 1.3rem; }
.liste h2 a { color: var(--tinte); text-decoration: none; }
.liste h2 a:hover { text-decoration: underline; }
.liste p { margin: 0 0 0.3rem; font-size: 1rem; }
.liste [hidden] { display: none; }

/* Fuß, wie auf der Startseite */
.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 2rem; padding: 1.5rem var(--rand) 2rem; background: var(--navy); border-top: 1px solid rgba(198, 214, 231, 0.35); color: #c6d6e7; font-family: 'Schibsted Grotesk', system-ui, sans-serif; font-size: 1rem; line-height: 1.5; }
.fuss p { margin: 0; }
.fuss ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.fuss a { color: inherit; padding: 0.25rem 0; display: inline-block; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; }
.fuss a:hover { color: var(--weiss); }

@media (max-width: 40rem) {
  body { font-size: 1.125rem; }
  .kurz, .inhalt { padding: 1rem 1.05rem; }
  .pfad li[aria-current] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .karte { transition: none; } .karte:hover { transform: none; } }
@media print { .fortschritt, .leiste-seite, .teilen, .leiste, .weiter { display: none; } .rahmen { display: block; } }
.ueberblick > .suche { margin: 0.75rem 0 1rem; }

@media (max-width: 46rem) {
  .leiste { justify-content: flex-start; font-size: 0.9rem; overflow-x: auto; scrollbar-width: none; }
  .leiste-logo { display: none; }
  .leiste ul { gap: 0.8rem; }
  .leiste .breit { display: none; }
}
