/* FernStudent — geteilte Komponenten-CSS (Homepage + Reports).
   Ergaenzt design-system.css; wird sitewide via head.njk geladen. */

/* Nav: Akademie + Studienflüsterer leicht hervorheben (Funnel-Links).
   Deutlich schwaecher als .nl.active (voll blau), klar staerker als normale .nl. */
.nl-accent{color:var(--blue);background:var(--blue-dim)}
.nl-accent:hover{color:var(--blue-hover);background:rgba(36,120,205,.14)}
.nl-accent.active{color:#fff;background:var(--blue)}

/* Hero: kleine FAQ statt Video rechts (nur Homepage) */
@media(min-width:1024px){.fk-hero .hero-grid{grid-template-columns:1fr minmax(360px,430px)}}
.fk-hero-faq{width:100%;max-width:460px;margin:0 auto}
.fk-faq-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:1.25rem 1.25rem 1rem;text-align:left}
.fk-faq-eyebrow{display:block;font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin-bottom:.85rem}
.fk-faq-card .faq-list{gap:.5rem}
.fk-faq-card .faq-summary h3{font-size:.9375rem;line-height:1.4}
.fk-faq-card .faq-item{margin:0}

/* Grosse FAQ-Sektion: lesbare Breite */
.fk-faq-full{max-width:820px;margin:2.5rem auto 0}

/* Vergleichstabelle im Karten-Stil (blauer Header, Zebra, abgerundet) */
.fk-table-wrap{max-width:1000px;margin:2.5rem auto 0;border:1px solid var(--border-s);border-radius:var(--radius-lg);overflow:auto;box-shadow:var(--shadow-card);-webkit-overflow-scrolling:touch}
.fk-table{width:100%;min-width:620px;border-collapse:collapse;font-size:.95rem;color:var(--text)}
.fk-table thead th{background:var(--blue);color:#fff;font-weight:700;text-align:left;padding:1rem 1.25rem;white-space:nowrap}
.fk-table tbody td{padding:1rem 1.25rem;line-height:1.55;vertical-align:top}
.fk-table tbody tr:nth-child(even) td{background:rgba(36,120,205,.05)}
.fk-table tbody td:first-child{font-weight:700;color:var(--text);white-space:nowrap}
.fk-table .fk-hl{color:var(--blue);font-weight:600}
.fk-table tbody td.fk-hl{color:var(--blue);font-weight:600}

/* ── Hochschul-Suche mit Autocomplete (fuehrt direkt zum Profil) ──────────── */
.fk-search{position:relative;z-index:30;max-width:560px;margin:2.5rem auto 0}
.fk-search-box{position:relative;display:flex;align-items:center}
.fk-search-icon{position:absolute;left:1.05rem;color:var(--text-3);font-size:.95rem;pointer-events:none}
.fk-search-input{width:100%;padding:.85rem 2.75rem;border:1px solid var(--border-s);border-radius:var(--radius-pill);background:var(--surface);color:var(--text);font-size:1rem;font-family:inherit;box-shadow:var(--shadow-card);transition:border-color .15s ease,box-shadow .15s ease}
.fk-search-input::placeholder{color:var(--text-3)}
.fk-search-input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-dim),var(--shadow-card)}
.fk-search-clear{position:absolute;right:.9rem;display:flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;border:none;background:transparent;color:var(--text-3);font-size:1.35rem;line-height:1;cursor:pointer;border-radius:50%}
.fk-search-clear:hover{color:var(--text);background:var(--blue-dim)}
.fk-search-list{position:absolute;top:calc(100% + .4rem);left:0;right:0;margin:0;padding:.35rem;list-style:none;background:var(--surface);border:1px solid var(--border-s);border-radius:var(--radius-md);box-shadow:var(--shadow-card-hover);max-height:22rem;overflow-y:auto;z-index:31}
.fk-search-item{display:flex;align-items:center;gap:.6rem;padding:.6rem .8rem;border-radius:var(--radius-sm,8px);cursor:pointer;scroll-margin:.35rem}
.fk-search-item[hidden]{display:none}
.fk-search-item:hover,.fk-search-item.active{background:var(--blue-dim)}
.fk-si-name{font-weight:600;color:var(--text);flex:1 1 auto;min-width:0}
.fk-search-item.active .fk-si-name{color:var(--blue)}
.fk-si-badge{flex:none;font-size:.6rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--blue);background:var(--blue-dim);border:1px solid var(--border-s);padding:.1rem .4rem;border-radius:var(--radius-pill)}
.fk-si-land{flex:none;font-size:.8rem;font-weight:700;color:var(--text-3)}
.fk-search-empty{padding:.7rem .8rem;color:var(--text-3);font-size:.9rem}

/* ── Einfache Filter (Land + Preis) unter der Suche. Filtert die Karten,
   unabhaengig von der Suche (Suche springt aufs Profil, Filter dampft die
   Liste ein). Ausblenden via [hidden] auf den Karten (siehe .fk-card[hidden]). */
.fk-filter{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.55rem 1.5rem;max-width:840px;margin:1.1rem auto 0}
.fk-filter-group{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.fk-filter-label{font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-3);margin-right:.1rem}
.fk-filter-chip{font-family:inherit;font-size:.82rem;font-weight:600;color:var(--text-2);background:var(--surface);border:1px solid var(--border-s);border-radius:var(--radius-pill);padding:.32rem .82rem;cursor:pointer;line-height:1.2;transition:background .15s ease,border-color .15s ease,color .15s ease}
.fk-filter-chip:hover{border-color:var(--blue);color:var(--blue)}
.fk-filter-chip.is-active{background:var(--blue);border-color:var(--blue);color:#fff}
.fk-filter-chip:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
/* Land-Chip: Kuerzel + Flagge statt ausgeschriebenem Namen (spart Platz) */
.fk-filter-chip--land{display:inline-flex;align-items:center}
.fk-filter-chip--land .fk-flag{height:.85em;margin-left:.4rem}
.fk-filter-chip--land.is-active .fk-flag{box-shadow:0 0 0 1px rgba(255,255,255,.55)}
/* Preis: segmentiertes Pill-Control aus fuenf €. Klick auf das n-te faerbt
   1..n zusammenhaengend blau ("bis zu diesem Preis" = max. Preisniveau).
   Der Rahmen macht klar, dass es ein Bedienelement ist. Erneuter Klick auf
   die aktive Stufe oder "Alle" setzt zurueck, Hover blendet die Auswahl vor. */
.fk-price-ctrl{display:inline-flex;align-items:center}
.fk-price-seg{display:inline-flex;align-items:stretch;border:1px solid var(--border-s);border-radius:var(--radius-pill);overflow:hidden;background:var(--surface)}
.fk-euro{font-family:inherit;font-size:.92rem;font-weight:700;line-height:1.2;color:var(--text-3);background:none;border:none;border-left:1px solid var(--border-s);padding:.26rem .85rem;cursor:pointer;transition:background .12s ease,color .12s ease}
.fk-euro:first-child{border-left:none}
.fk-euro.hover-on{background:var(--blue-dim);color:var(--blue)}
.fk-euro.on{background:var(--blue);color:#fff}
.fk-euro:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.fk-filter-count{flex-basis:100%;text-align:center;margin:.4rem 0 0;font-size:.8rem;color:var(--text-3)}
/* Mobil (<768px): Gruppen untereinander, linksbuendig, Label je auf eigener
   Zeile. Sonst brechen die Chips mittig-zentriert unschoen um. */
@media (max-width:767px){
  .fk-filter{flex-direction:column;align-items:stretch;gap:.55rem;margin-top:1rem}
  .fk-filter-group{justify-content:flex-start}
  .fk-filter-label{flex-basis:100%;margin:0 0 .12rem}
  .fk-euro{font-size:1.05rem;padding:.44rem 1.05rem}
  .fk-filter-count{margin-top:.3rem}
}

/* ── Grosse Uebersicht: Karten-Grid statt Tabelle (kein Seitwaerts-Scrollen) ──
   Desktop: mehrspaltiges Raster. Mobil: eine Spalte. min(100%,290px) verhindert
   Ueberlauf auf sehr schmalen Handys. Head-to-Head bleibt eine Tabelle (unten). */
.fk-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:1.1rem;max-width:1120px;margin:1.5rem auto 0}
.fk-card{position:relative;cursor:pointer;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border-s);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}
.fk-card[hidden]{display:none}
.fk-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-2px)}
.fk-card:focus-within{box-shadow:var(--shadow-card-hover)}
.fk-card-head{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.9rem 1.1rem;background:var(--bg-raised);border-bottom:1px solid var(--border-s);text-decoration:none}
.fk-card--partner .fk-card-head{background:var(--blue-dim)}
.fk-card-name{font-weight:700;color:var(--text);line-height:1.3}
.fk-card--partner .fk-card-name{color:var(--blue)}
.fk-card-badge{font-size:.62rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--blue);background:var(--surface);border:1px solid var(--border-s);padding:.15rem .5rem;border-radius:var(--radius-pill)}
.fk-card-facts{margin:0;padding:.15rem 1.1rem .8rem;display:flex;flex-direction:column}
.fk-card-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.5rem 0;border-top:1px solid rgba(36,120,205,.1)}
.fk-card-facts>div:first-child{border-top:none}
.fk-card-facts dt{flex:0 0 auto;font-size:.68rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-3)}
/* Laenderflagge hinter dem Kuerzel; feiner Rahmen (box-shadow) definiert Weiss/Gold */
.fk-land{display:inline-flex;align-items:center;justify-content:flex-end;font-weight:700;color:var(--text)}
.fk-flag{height:.95em;width:auto;margin-left:.45rem;border-radius:2px;box-shadow:0 0 0 1px rgba(15,23,42,.15);flex:none}
.fk-flag--sq{height:1.05em}
.fk-card-facts dd{margin:0;text-align:right;color:var(--text);font-size:.9rem;line-height:1.45;-webkit-hyphens:none;hyphens:none}
/* Klar sichtbarer "Zum Profil"-Link; ::after macht die GANZE Karte klickbar */
.fk-card-cta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.7rem 1.1rem;border-top:1px solid var(--border-s);color:var(--blue);font-weight:600;font-size:.85rem;text-decoration:none;transition:background .2s ease}
.fk-card-cta::after{content:"";position:absolute;inset:0;z-index:1}
.fk-card-cta i{transition:transform .2s ease}
.fk-card:hover .fk-card-cta{background:var(--blue-dim)}
.fk-card:hover .fk-card-cta i{transform:translateX(4px)}
.fk-card-cta:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}

/* ── Head-to-Head (A vs B): Tabelle, Silbentrennung aus ──────────────────── */
.fk-h2h td,.fk-h2h th{-webkit-hyphens:none;hyphens:none;overflow-wrap:normal}

/* Mobil (<768px): Head-to-Head -> Tabelle wird pro Kriterium zu einer Karte.
   Kriterium als Kopf, darunter beide Hochschulen nebeneinander (je 50%),
   jeweils mit Namen (aus --sa/--sb am <table>) als Label. Kein Scrollen, keine
   Kollisionen, Werte bekommen doppelt so viel Platz wie in der 3-Spalten-Tabelle. */
@media (max-width:767px){
  .fk-h2h-wrap{overflow:visible;border:none;box-shadow:none;background:transparent;border-radius:0}
  .fk-h2h{display:block;width:100%;min-width:0;font-size:.9rem}
  .fk-h2h thead{display:none}
  .fk-h2h tbody{display:block}
  .fk-h2h tbody tr{display:grid;grid-template-columns:1fr 1fr;background:var(--surface);border:1px solid var(--border-s);border-radius:var(--radius-md);box-shadow:var(--shadow-card);margin-bottom:.8rem;overflow:hidden}
  .fk-h2h tbody tr:nth-child(even) td{background:transparent}
  /* Kriterium = Kartenkopf ueber beide Spalten (tr in Selektor schlaegt die Zebra-Regel) */
  .fk-h2h tbody tr td:first-child{grid-column:1/-1;background:var(--blue-dim);color:var(--blue);font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:.5rem .85rem;white-space:normal;border-bottom:1px solid var(--border-s)}
  /* Wertespalten nebeneinander, mit Schul-Label darueber */
  .fk-h2h tbody td:nth-child(2),.fk-h2h tbody td:nth-child(3){padding:.65rem .85rem;white-space:normal;overflow-wrap:break-word;color:var(--text);font-weight:400;line-height:1.5}
  .fk-h2h tbody td:nth-child(2){border-right:1px solid rgba(36,120,205,.14)}
  .fk-h2h tbody td:nth-child(2)::before,.fk-h2h tbody td:nth-child(3)::before{display:block;font-size:.6rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-3);margin-bottom:.3rem}
  .fk-h2h tbody td:nth-child(2)::before{content:var(--sa)}
  .fk-h2h tbody td:nth-child(3)::before{content:var(--sb)}
}

/* Mobil (<768px): Profil-Faktencheck (2-Spalten Key-Value) -> Label klein oben,
   Wert darunter ueber volle Breite. min-width:0 hebt die 620px-Basisbreite auf,
   damit nichts mehr rechts abgeschnitten wird. Zebra bleibt zur Zeilentrennung. */
@media (max-width:767px){
  .fk-kv{display:block;width:100%;min-width:0;font-size:.95rem}
  .fk-kv tbody{display:block}
  .fk-kv tbody tr{display:block}
  .fk-kv tbody td{display:block;white-space:normal;padding:0}
  .fk-kv tbody td:first-child{padding:.7rem 1rem 0;font-size:.68rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-3);white-space:normal}
  .fk-kv tbody td:last-child{padding:.15rem 1rem .7rem;color:var(--text);line-height:1.55}
}

/* Abschluss-Landkarte: Studienweg als Route */
.fk-map{max-width:1000px;margin:2.5rem auto 0}
.fk-map-track{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.fk-map-track::before{content:"";position:absolute;top:27px;left:12%;right:12%;height:3px;background:linear-gradient(90deg,rgba(36,120,205,.3),var(--blue));border-radius:2px;z-index:0}
.fk-map-step{position:relative;z-index:1;text-align:center}
.fk-map-node{width:54px;height:54px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.15rem;margin:0 auto;box-shadow:0 6px 18px rgba(36,120,205,.32);border:4px solid var(--bg)}
.fk-map-card{margin-top:1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:1rem .9rem;box-shadow:var(--shadow-card)}
.fk-map-name{font-size:1.05rem;font-weight:700;color:var(--text);margin:0 0 .5rem}
.fk-map-tag{display:inline-block;background:var(--blue-dim);color:var(--blue);font-weight:700;font-size:.72rem;padding:.25rem .6rem;border-radius:var(--radius-pill);margin-bottom:.55rem}
.fk-map-meta{font-size:.8rem;color:var(--text-2);line-height:1.5;margin:0}
.fk-map-swiss{max-width:760px;margin:2rem auto 0;background:var(--bg-alt);border:1px solid var(--border);border-radius:var(--radius-md);padding:1rem 1.25rem;text-align:center;font-size:.9rem;color:var(--text-2);line-height:1.6}
.fk-map-swiss strong{color:var(--blue);font-weight:700}
@media(max-width:720px){
  .fk-map-track{grid-template-columns:1fr;gap:1.5rem}
  .fk-map-track::before{display:none}
  .fk-map-step{display:flex;align-items:center;gap:1rem;text-align:left}
  .fk-map-node{flex:0 0 auto}
  .fk-map-card{margin-top:0;flex:1}
}

/* Anerkennung: Laender-Karten mit Flagge */
.fk-dach{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;max-width:1000px;margin:2.5rem auto 0}
.fk-dach-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:1.5rem;transition:transform var(--t) var(--ease),box-shadow var(--t) var(--ease)}
.fk-dach-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-card-hover)}
.fk-dach-head{display:flex;align-items:center;gap:.75rem;margin-bottom:.9rem}
.fk-dach-flag{width:34px;height:26px;border-radius:5px;overflow:hidden;flex:0 0 auto;box-shadow:0 1px 3px rgba(15,23,42,.22);display:block}
.fk-dach-flag svg{width:100%;height:100%;display:block}
.fk-dach-name{font-size:1.15rem;font-weight:700;color:var(--text);margin:0}
.fk-dach-card p{font-size:.9rem;color:var(--text-2);line-height:1.65;margin:0}
@media(max-width:820px){.fk-dach{grid-template-columns:1fr;max-width:620px}}

/* Sichtbare Breadcrumb (Unterseiten) */
.breadcrumb{padding:1.1rem 0 0}
.breadcrumb-list{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;list-style:none;margin:0;padding:0;font-size:.8125rem}
.breadcrumb-list li{display:flex;align-items:center;gap:.5rem;color:var(--text-3)}
.breadcrumb-list li + li::before{content:"›";color:var(--text-3);opacity:.7}
.breadcrumb-list a{color:var(--text-2);text-decoration:none}
.breadcrumb-list a:hover{color:var(--blue)}
.breadcrumb-list [aria-current="page"]{color:var(--text)}

/* Themen-Hub + Funnel-Karten: kleines Icon-Badge in der prog-card */
.prog-ic{width:42px;height:42px;border-radius:11px;background:var(--blue-dim);color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:1.05rem;margin-bottom:.25rem}

/* Spoke (Blog-Layout): neutraler Redaktions-Avatar statt Personenfoto */
.spoke-av{width:34px;height:34px;border-radius:var(--radius-sm);background:var(--blue-dim);color:var(--blue);display:inline-flex;align-items:center;justify-content:center;font-size:.9rem;flex:0 0 auto}
/* Neutrale "Über diese Seite"-Box (E-E-A-T ohne Personenkult) */
.spoke-aboutbox{display:flex;gap:1rem;align-items:flex-start;margin:2.5rem 0 0;padding:1.5rem;background:var(--bg-alt);border:1px solid var(--border);border-radius:var(--radius-lg)}
.spoke-aboutbox-ic{flex:0 0 auto;width:40px;height:40px;border-radius:11px;background:var(--surface);border:1px solid var(--border);color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:1.05rem}
.spoke-aboutbox-kicker{display:block;font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);margin-bottom:.35rem}
.spoke-aboutbox-text{color:var(--text-2);line-height:1.65;font-size:.9rem;margin:0 0 .6rem}
.spoke-aboutbox-link{font-weight:600;color:var(--blue);text-decoration:none;font-size:.9rem;display:inline-flex;align-items:center;gap:.4rem}

/* ============================================================
   DATA-VIZ (FernStudent) — reine CSS/SVG, keine JS-Library, kein CDN.
   Jede Grafik ist mit sichtbarem Label + Wert gebaut (screenreader- und
   KI-lesbar); begleitend steht die Zahl im Fliesstext oder in einer <table>.
   Farbwerte kommen aus dem Site-Theme (--blue etc.).
   ============================================================ */

/* Vorschau-/Platzhalter-Hinweis (solange echte Daten + Quellen fehlen) */
.dv-note{max-width:900px;margin:1.5rem auto 0;display:flex;gap:.85rem;align-items:flex-start;padding:.9rem 1.15rem;background:var(--blue-dim);border:1px dashed var(--border-s);border-radius:var(--radius-md);color:var(--text-2);font-size:.85rem;line-height:1.6}
.dv-note i{color:var(--blue);margin-top:.15rem;flex:0 0 auto}

/* KPI-Kacheln */
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem;max-width:1080px;margin:2.5rem auto 0}
.stat-card{position:relative;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-card);padding:1.75rem 1.6rem;transition:transform var(--t) var(--ease),box-shadow var(--t) var(--ease),border-color var(--t) var(--ease)}
.stat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-card-hover)}
.stat-num{font-size:clamp(2.2rem,5vw,2.9rem);font-weight:800;color:var(--blue);line-height:1;letter-spacing:-.02em;font-feature-settings:'tnum';display:flex;align-items:baseline;gap:.15rem}
.stat-num .stat-unit{font-size:1.25rem;font-weight:700}
.stat-label{font-weight:700;color:var(--text);margin-top:.7rem;line-height:1.35}
.stat-sub{font-size:.85rem;color:var(--text-2);margin-top:.4rem;line-height:1.55}
.stat-trend{align-self:flex-start;display:inline-flex;align-items:center;gap:.35rem;margin-top:.9rem;font-size:.78rem;font-weight:700;color:var(--success);background:rgba(5,150,105,.09);padding:.25rem .6rem;border-radius:var(--radius-pill)}
.stat-trend.is-down{color:var(--amber-text);background:rgba(245,158,11,.1)}
/* Klickbare KPI-Kachel (Homepage → Report): deutliche Affordanz */
a.stat-card{cursor:pointer;text-decoration:none;color:inherit}
a.stat-card:hover{border-color:var(--blue)}
.stat-go{margin-top:auto;padding-top:1.1rem;border-top:1px solid var(--border);display:flex;align-items:center;gap:.45rem;font-size:.85rem;font-weight:700;color:var(--blue)}
.stat-go::after{content:"";flex:1}
.stat-go i{transition:transform var(--t) var(--ease)}
a.stat-card:hover .stat-go i{transform:translateX(4px)}

/* Figur-Karte (Balken/Donut sitzen darin) */
.dv-figure{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:1.9rem;max-width:860px;margin:2.5rem auto 0}
.dv-figure-title{font-size:1.1rem;font-weight:700;color:var(--text);line-height:1.35;margin:0 0 .4rem}
.dv-figure-sub{font-size:.9rem;color:var(--text-2);line-height:1.6;margin:0 0 1.6rem}
.dv-source{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--border);font-size:.78rem;color:var(--text-3);display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;line-height:1.5}
.dv-source i{color:var(--blue)}
.dv-tag{font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);background:var(--blue-dim);padding:.22rem .55rem;border-radius:var(--radius-pill)}

/* Horizontaler Balken-Chart */
.barchart{display:flex;flex-direction:column;gap:1rem}
.bar-row{display:grid;grid-template-columns:minmax(88px,26%) 1fr max-content;align-items:center;gap:1rem}
.bar-label{font-size:.9rem;color:var(--text);font-weight:500;line-height:1.3}
.bar-track{position:relative;background:var(--blue-dim);border-radius:var(--radius-pill);height:16px;overflow:hidden}
.bar-fill{display:block;height:100%;width:var(--val,0%);background:linear-gradient(90deg,var(--blue),var(--blue-hover));border-radius:var(--radius-pill);transition:width .9s var(--ease)}
.bar-val{font-size:.85rem;font-weight:700;color:var(--blue);font-feature-settings:'tnum';text-align:right;white-space:nowrap}
.bar-row.is-muted .bar-fill{background:linear-gradient(90deg,#94a3b8,#64748b)}
.bar-row.is-muted .bar-val{color:var(--text-3)}
@media (prefers-reduced-motion: reduce){.bar-fill{transition:none}}

/* Donut (Einzel-Prozentwert, sauberer SVG-Ring mit sichtbarem Track + rundem Bogen) */
.donut-wrap{display:flex;flex-wrap:wrap;gap:1.75rem 2.5rem;align-items:center;justify-content:flex-start}
.donut{position:relative;width:168px;height:168px;flex:0 0 auto;display:grid;place-items:center}
.donut svg{width:100%;height:100%;display:block;overflow:visible}
.donut-track{fill:none;stroke:#dbe8f7;stroke-width:4}
.donut-arc{fill:none;stroke:var(--blue);stroke-width:4;stroke-linecap:round;transition:stroke-dasharray .9s var(--ease)}
.donut-val{position:absolute;inset:0;display:grid;place-items:center;z-index:1;font-size:2rem;font-weight:800;color:var(--blue);font-feature-settings:'tnum'}
@media (prefers-reduced-motion: reduce){.donut-arc{transition:none}}
.donut-cap{max-width:320px}
.donut-cap h4{font-size:1rem;font-weight:700;color:var(--text);margin:0 0 .4rem}
.donut-cap p{font-size:.9rem;color:var(--text-2);line-height:1.6;margin:0}

@media (max-width:560px){
  .bar-row{grid-template-columns:1fr;gap:.35rem}
  .bar-row .bar-val{text-align:left}
  .dv-figure{padding:1.4rem}
}

/* Antwort-zuerst-Satz (GEO: direkte 40-60-Wort-Antwort unter der H2) — dezente, rundum abgerundete Karte */
.dv-answer{max-width:780px;margin:1.5rem auto 0;padding:1rem 1.5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:0 1px 2px rgba(15,23,42,.04);color:var(--text-2);font-size:.98rem;line-height:1.7}
.dv-answer .dv-answer-k{font-weight:700;color:var(--blue)}

/* Maschinenlesbare Daten-Tabelle je Grafik (aufklappbar, KI-/Screenreader-extrahierbar) */
.dv-table-details{margin-top:1.35rem;border-top:1px solid var(--border);padding-top:1rem}
.dv-table-details > summary{cursor:pointer;font-size:.85rem;font-weight:600;color:var(--blue);list-style:none;display:inline-flex;align-items:center;gap:.5rem}
.dv-table-details > summary::-webkit-details-marker{display:none}
.dv-table-details[open] > summary{margin-bottom:1rem}
.dv-table{width:100%;border-collapse:collapse;font-size:.85rem}
.dv-table caption{text-align:left;color:var(--text-3);font-size:.78rem;margin-bottom:.6rem;caption-side:top}
.dv-table th,.dv-table td{text-align:left;padding:.5rem .8rem;border-bottom:1px solid var(--border);vertical-align:top}
.dv-table thead th{font-weight:600;color:var(--text);background:var(--bg-alt);white-space:nowrap}
.dv-table tbody th{font-weight:500;color:var(--text)}
.dv-table td.dv-num,.dv-table th.dv-num{text-align:right;font-variant-numeric:tabular-nums;font-feature-settings:'tnum';white-space:nowrap}
.dv-table tr:last-child td,.dv-table tr:last-child th{border-bottom:0}

/* Zitier-Box (sitewide, damit auch die Report-Seiten auf base.njk sie nutzen) */
.blog-cite-box{background:var(--surface);border:1px solid var(--border-s);border-radius:var(--radius-lg);padding:1.5rem;margin:2.5rem auto 0;max-width:820px}
.blog-cite-box .sh-eyebrow{margin-bottom:.75rem}
.cite-apa{font-size:.875rem;color:var(--text-2);line-height:1.7;margin-bottom:1rem;font-family:'Georgia','Times New Roman',serif;padding:.75rem 1rem;background:var(--bg-alt);border-radius:var(--radius-sm);border:1px solid var(--border)}
.cite-copy{font-size:.8125rem}
.cite-copied{color:var(--success) !important;border-color:var(--success) !important}

/* Hero: dekorative Daten-Illustration (rein schmückend, KEINE echten Zahlen, aria-hidden) */
.hero-viz{display:grid;grid-template-columns:1.1fr .9fr;gap:1rem;width:100%;max-width:470px;margin-inline:auto}
.hviz-tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:1.15rem;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hviz-main{grid-column:1;grid-row:1 / span 2;padding:1.35rem}
.hviz-donut{grid-column:2;aspect-ratio:1 / .82}
.hviz-bars{grid-column:2;aspect-ratio:1 / .82}
.hviz-tile svg{width:100%;height:100%;display:block}
@media (max-width:640px){.hero-viz{max-width:400px}}

/* Legal-Tabelle (Impressum/Datenschutz, wie Ritterconsult) */
.legal-table{width:100%;border-collapse:collapse;margin:1rem 0 1.25rem;font-size:.9rem}
.legal-table th,.legal-table td{text-align:left;padding:.6rem .8rem;border:1px solid var(--border);vertical-align:top}
.legal-table thead th{background:var(--bg-alt);font-weight:600;color:var(--text);white-space:nowrap}
.legal-table code{font-family:var(--font-mono);font-size:.85em}

/* ── Quellen-Links, Methodik-Block, Daten-Download (GEO/Zitierfähigkeit) ── */
.dv-source a,.dv-method-sources a{color:var(--blue);text-decoration:none;border-bottom:1px solid rgba(36,120,205,.35)}
.dv-source a:hover,.dv-method-sources a:hover{border-bottom-color:var(--blue)}
.cmp-note a{color:var(--blue);text-decoration:none;border-bottom:1px solid rgba(36,120,205,.35)}
.cmp-note a:hover{border-bottom-color:var(--blue)}

.dv-provenance{max-width:820px;margin:2.25rem auto 0;display:grid;gap:1.5rem}
.dv-method{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.5rem 1.6rem}
.dv-method h3{font-size:1.0625rem;font-weight:600;color:var(--text);margin:0 0 .6rem}
.dv-method p{font-size:.9375rem;color:var(--text-2);line-height:1.7;margin:0 0 .75rem}
.dv-method p:last-child{margin-bottom:0}
.dv-method-sources{font-size:.9rem}
.dv-method-stand{font-size:.85rem;color:#667085}

.dv-download{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.1rem 1.4rem}
.dv-download-label{font-weight:600;color:var(--text);font-size:.95rem}
.dv-download-label i{color:var(--blue);margin-right:.4rem}
.dv-dl-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .9rem;border:1px solid var(--blue);border-radius:999px;color:var(--blue);font-size:.85rem;font-weight:600;text-decoration:none}
.dv-dl-btn:hover{background:var(--blue);color:#fff}
.dv-download-note{font-size:.82rem;color:#667085;margin-left:auto}
@media(max-width:560px){.dv-download-note{margin-left:0;width:100%}}

/* ===== Ratgeber (Spokes) ===== */
.rg-body{max-width:760px;margin:0 auto}
.rg-body h2{font-size:1.4rem;font-weight:600;color:var(--text);margin:2.6rem 0 .9rem;line-height:1.3}
.rg-body h2:first-child{margin-top:0}
.rg-body p{color:var(--text-2);line-height:1.75;margin:0 0 1.15rem}
.rg-body ul{margin:0 0 1.4rem;padding-left:0;list-style:none}
.rg-body ul li{position:relative;color:var(--text-2);line-height:1.7;padding-left:1.6rem;margin-bottom:.7rem}
.rg-body ul li::before{content:"";position:absolute;left:.35rem;top:.62rem;width:6px;height:6px;border-radius:50%;background:var(--blue)}
.rg-block-label{display:block;font-size:.75rem;text-transform:uppercase;letter-spacing:.07em;color:var(--blue);font-weight:600;margin-bottom:.9rem}
.rg-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.9rem}
.rg-card{display:block;padding:1rem 1.15rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);text-decoration:none;transition:border-color .15s,transform .15s}
.rg-card:hover{border-color:var(--blue);transform:translateY(-2px)}
.rg-card .rg-card-k{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);margin-bottom:.3rem}
.rg-card .rg-card-t{font-weight:600;color:var(--text)}
.rg-card .rg-card-t i{color:var(--blue);font-size:.78em;margin-left:.35rem}
.rg-sources{list-style:none;padding:0;margin:.6rem 0 0}
.rg-sources li{margin-bottom:.55rem;color:var(--text-2);font-size:.92rem}
.rg-sources li i{color:var(--blue);margin-right:.5rem;font-size:.85em}
.rg-sources a{color:var(--blue);text-decoration:none}
.rg-sources a:hover{text-decoration:underline}
.rg-faq{max-width:760px;margin:1.5rem auto 0}
.rg-faq details{border-bottom:1px solid var(--border);padding:1.1rem 0}
.rg-faq summary{cursor:pointer;font-weight:600;color:var(--text);list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}
.rg-faq summary::-webkit-details-marker{display:none}
.rg-faq summary::after{content:"+";color:var(--blue);font-weight:400;font-size:1.35rem;line-height:1;flex-shrink:0}
.rg-faq details[open] summary::after{content:"\2212"}
.rg-faq details p{color:var(--text-2);line-height:1.7;margin:.85rem 0 0}
.rg-index-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.25rem;margin-top:2.5rem}
.rg-index-card{display:flex;flex-direction:column;padding:1.5rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);text-decoration:none;transition:border-color .15s,transform .15s}
.rg-index-card:hover{border-color:var(--blue);transform:translateY(-3px)}
.rg-index-card .rg-ic-k{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--blue);margin-bottom:.6rem}
.rg-index-card h3{font-size:1.15rem;font-weight:600;color:var(--text);margin:0 0 .6rem;line-height:1.35}
.rg-index-card p{color:var(--text-2);line-height:1.6;font-size:.92rem;margin:0 0 1rem}
.rg-index-card .rg-ic-more{margin-top:auto;color:var(--blue);font-weight:600;font-size:.9rem}
.rg-index-card .rg-ic-more i{font-size:.8em;margin-left:.3rem}

/* ===== Ratgeber GEO: TL;DR-Box, Autor-Zeile, Inhaltsverzeichnis ===== */
.blog-tldr{background:var(--bg-alt);border:1px solid var(--border);border-left:4px solid var(--blue);border-radius:var(--radius-md);padding:1.25rem 1.5rem;margin:0 0 2rem}
.blog-tldr-head{display:flex;align-items:center;gap:.5rem;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);margin-bottom:.85rem}
.blog-tldr-head i{font-size:.85rem}
.blog-tldr-list{margin:0;padding-left:1.25rem}
.blog-tldr-list li{font-size:.9375rem;color:var(--text-2);line-height:1.6;margin-bottom:.5rem;padding-left:.25rem}
.blog-tldr-list li:last-child{margin-bottom:0}
.blog-tldr-list li::marker{color:var(--blue)}
.rg-author{display:inline-flex;align-items:center;gap:.55rem;margin-top:1.1rem;font-size:.9rem;color:var(--text-2)}
.rg-author .rg-author-av{width:30px;height:30px;border-radius:50%;background:var(--blue);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;flex:0 0 auto}
.rg-author a{color:var(--blue);font-weight:600;text-decoration:none}
.rg-author a:hover{text-decoration:underline}
.rg-meta-sep{color:var(--text-3);margin:0 .1rem}
.rg-toc{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.1rem 1.4rem;margin:0 0 2rem}
.rg-toc-head{font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--text-3);margin-bottom:.7rem}
.rg-toc ol{margin:0;padding-left:1.2rem;display:grid;gap:.35rem}
.rg-toc li{color:var(--text-2);line-height:1.5}
.rg-toc a{color:var(--blue);text-decoration:none;font-size:.94rem}
.rg-toc a:hover{text-decoration:underline}
.rg-body h2{scroll-margin-top:90px}
