/* Glossar — Artikelseiten. Erzeugt aus dem Musterartikel, gilt fuer alle. */
/* ---- Nur für das Glossar. Später nach css/style.css übernehmen. ---- */
.g-pfad{font-size:13.5px;color:var(--muted);display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:18px}
.g-pfad a{color:var(--blau);text-decoration:none;font-weight:600}
.g-pfad a:hover{text-decoration:underline}

.g-definition{font-size:19px;line-height:1.6;color:var(--text);font-weight:500;
  border-left:4px solid var(--blau);padding:2px 0 2px 20px;margin:20px 0 32px;max-width:62ch}

/* Infobox */
.g-kurz{background:#fff;border:1px solid var(--border);border-top:4px solid var(--blau);
  border-radius:12px;padding:26px 28px;margin:0 0 40px}
.g-kurz h2{margin:0 0 16px;font-size:15px;font-weight:800;letter-spacing:.09em;
  text-transform:uppercase;color:var(--blau)}
.g-kurz ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.g-kurz li{display:flex;gap:13px;align-items:flex-start;font-size:16px;line-height:1.6;color:var(--text2)}
.g-kurz li::before{content:"";flex:0 0 9px;height:9px;margin-top:8px;border-radius:50%;background:var(--blau)}
.g-kurz strong{color:var(--text);font-weight:700}

/* Ebenen-Kennzeichnung — der Kern des Konzepts, sichtbar gemacht */
.g-ebene{margin:44px 0 0;scroll-margin-top:20px}
.g-ebene-kopf{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.g-ebene h2{margin:0;font-size:27px;font-weight:800;line-height:1.25;color:var(--text)}
.g-marke{font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  padding:4px 10px;border-radius:5px;white-space:nowrap}
.g-marke-fakt{background:#e8eff7;color:var(--blau)}
.g-marke-position{background:#f6e8de;color:var(--orange)}
.g-marke-meinung{background:#eceff3;color:var(--nav)}
.g-ebene-hinweis{font-size:14px;color:var(--muted);margin:0 0 18px;font-style:italic}
.g-ebene h3{margin:30px 0 10px;font-size:19.5px;font-weight:700;line-height:1.35;color:var(--dunkelblau)}
.g-ebene p{margin:0 0 15px;font-size:16.5px;line-height:1.72;color:var(--text2);max-width:64ch}
.g-ebene p strong{color:var(--text)}

/* Zuschreibung: Aussagen Dritter */
.g-zitat{border-left:3px solid var(--border-input);padding:4px 0 4px 18px;margin:0 0 18px;max-width:64ch}
.g-zitat p{margin:0 0 6px;font-size:16.5px;line-height:1.7}
.g-zitat cite{display:block;font-size:13.5px;color:var(--muted);font-style:normal;font-weight:600}

/* Frage an die Gegenseite - die Stelle, an der der Artikel fordert */
.g-frage{background:var(--blau);border-radius:10px;padding:20px 24px;margin:0 0 18px;max-width:64ch}
.g-frage p{margin:0;font-size:17.5px;line-height:1.55;color:#fff}
.g-frage strong{color:#fff;font-weight:800}

/* Offene Punkte ehrlich markieren */
.g-offen{background:#fdf6ef;border:1px solid #f0dcc7;border-radius:9px;padding:16px 18px;margin:0 0 18px;max-width:64ch}
.g-offen p{margin:0;font-size:15.5px;line-height:1.65;color:#7a4a1d}
.g-offen strong{color:#5e3714}

/* ---- Interaktives Element ---- */
.g-tool{background:var(--dunkelblau);border-radius:14px;padding:30px 32px;margin:36px 0;color:#fff}
.g-tool h3{margin:0 0 6px;font-size:21px;font-weight:800;color:#fff}
.g-tool-sub{margin:0 0 24px;font-size:14.5px;line-height:1.6;color:var(--footer-hell);max-width:60ch}
.g-regler{display:flex;flex-direction:column;gap:10px;margin-bottom:26px}
.g-regler-kopf{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.g-regler-kopf label{font-size:14.5px;font-weight:700;color:var(--footer-hell)}
.g-regler-wert{font-size:27px;font-weight:800;color:var(--orange-hell);font-variant-numeric:tabular-nums}
.g-tool input[type=range]{width:100%;height:32px;background:transparent;-webkit-appearance:none;appearance:none;cursor:pointer;margin:0}
.g-tool input[type=range]::-webkit-slider-runnable-track{height:7px;border-radius:4px;background:rgba(255,255,255,.22)}
.g-tool input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:26px;height:26px;
  border-radius:50%;background:var(--orange-hell);border:3px solid #fff;margin-top:-10px;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.g-tool input[type=range]::-moz-range-track{height:7px;border-radius:4px;background:rgba(255,255,255,.22)}
.g-tool input[type=range]::-moz-range-thumb{width:22px;height:22px;border-radius:50%;
  background:var(--orange-hell);border:3px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.g-tool input[type=range]:focus-visible{outline:3px solid var(--orange-hell);outline-offset:4px}
.g-schnell{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}
.g-schnell button{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);color:#fff;
  font:inherit;font-size:13px;font-weight:700;padding:6px 13px;border-radius:20px;cursor:pointer}
.g-schnell button:hover{background:rgba(255,255,255,.2)}
.g-schnell button[aria-pressed=true]{background:var(--orange);border-color:var(--orange)}
/* 280px ergibt bei vier Kacheln ein 2x2-Raster statt 3+1. */
.g-werte{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-bottom:24px}
.g-wert{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:16px 18px}
/* Die Kachel mit unserem Argument wird hervorgehoben. */
.g-wert-stark{background:rgba(196,95,38,.22);border-color:rgba(232,150,95,.55)}
.g-wert-stark .g-wert-titel{color:var(--orange-hell)}
/* Die Leerstelle, die der Projektwerber hinterlässt - bewusst als solche gezeigt. */
.g-wert-leer{background:transparent;border-style:dashed;border-color:rgba(255,255,255,.3)}
.g-wert-leer .g-wert-zahl{color:var(--footer-text);font-size:34px;line-height:1}
.g-wert-titel{font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--footer-text);margin-bottom:7px}
.g-wert-zahl{font-size:25px;font-weight:800;line-height:1.15;font-variant-numeric:tabular-nums}
.g-wert-zusatz{font-size:13px;color:var(--footer-hell);margin-top:4px;line-height:1.45}
.g-balken{display:flex;flex-direction:column;gap:11px;margin-bottom:22px}
.g-balken-zeile{display:grid;grid-template-columns:112px 1fr;gap:14px;align-items:center}
.g-balken-name{font-size:13.5px;font-weight:700;color:var(--footer-hell)}
.g-balken-spur{height:28px;background:rgba(255,255,255,.1);border-radius:5px;overflow:hidden;display:flex}
/* text-indent statt padding-left: Padding erzeugt auch bei Breite 0 eine
   Mindestbreite und hinterlässt einen sichtbaren Farbrest. */
.g-balken-fuell{height:100%;transition:width .18s ease;display:flex;align-items:center;text-indent:10px;
  font-size:12.5px;font-weight:800;color:#fff;white-space:nowrap;
  flex:0 0 auto;min-width:0;overflow:hidden}
.g-fuell-frei{background:#4a7fb5}
.g-fuell-kabel{background:var(--orange)}
.g-tool-fuss{font-size:12.5px;line-height:1.6;color:var(--footer-text);border-top:1px solid rgba(255,255,255,.15);
  padding-top:16px;margin:0}
.g-tool-fuss strong{color:var(--footer-hell)}

/* Querschnittsvergleich */
.g-quer{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:26px 0 30px}
.g-quer-karte{background:#fff;border:1px solid var(--border);border-radius:11px;padding:20px;text-align:center}
.g-quer-karte h4{margin:0 0 4px;font-size:16px;font-weight:800;color:var(--text)}
.g-quer-mass{font-size:29px;font-weight:800;line-height:1.1;margin-bottom:3px}
.g-quer-frei .g-quer-mass{color:#3d6f9f}
.g-quer-kabel .g-quer-mass{color:var(--orange)}
.g-quer-label{font-size:13px;color:var(--muted);margin-bottom:16px}
.g-quer-spur{height:22px;background:var(--border-hell);border-radius:4px;overflow:hidden}
.g-quer-fuell{height:100%;border-radius:4px}
.g-quer-frei .g-quer-fuell{background:#3d6f9f}
.g-quer-kabel .g-quer-fuell{background:var(--orange)}

/* Quellen */
.g-quellen{margin:44px 0 0}
.g-quellen ol{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:13px}
.g-quellen li{font-size:15px;line-height:1.62;color:var(--text2)}
.g-quellen .g-stufe{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.05em;
  padding:2px 7px;border-radius:4px;background:#e8eff7;color:var(--blau);margin-right:7px;vertical-align:1px}
.g-quellen .g-stufe-2{background:#eaf1ec;color:var(--gruen)}
.g-quellen .g-stufe-3{background:#f3eee8;color:#8a6a45}

/* Handlungszeile - Pflicht am Ende jedes Artikels */
.g-tun{background:#fff;border:1px solid var(--border);border-left:4px solid var(--orange);
  border-radius:10px;padding:22px 24px;margin-top:26px}
.g-tun h3{margin:0 0 14px;font-size:17px;font-weight:800;color:var(--orange)}
.g-tun ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.g-tun li{font-size:15.5px;line-height:1.62;color:var(--text2);padding-left:20px;position:relative}
.g-tun li::before{content:"→";position:absolute;left:0;color:var(--orange);font-weight:800}
.g-tun strong{color:var(--text)}
.g-tun a{color:var(--blau);font-weight:700}

.g-verwandt{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.g-verwandt a{display:inline-block;background:#fff;border:1px solid var(--border);border-radius:20px;
  padding:8px 16px;font-size:14.5px;font-weight:700;color:var(--blau);text-decoration:none}
.g-verwandt a:hover{border-color:var(--blau);background:#f4f8fc}

.g-stand{margin-top:40px;padding-top:20px;border-top:1px solid var(--border);
  font-size:13.5px;color:var(--muted);line-height:1.7}

@media (max-width:760px){
  .g-quer{grid-template-columns:1fr}
  .g-tool{padding:24px 20px}
  .g-kurz{padding:22px 20px}
  .g-ebene h2{font-size:23px}
  .g-balken-zeile{grid-template-columns:88px 1fr;gap:10px}
  .g-definition{font-size:17.5px;padding-left:16px}
}

/* Verweis auf einen Begriff, den es noch nicht gibt. Der Text bleibt lesbar,
   der Link entsteht automatisch, sobald die Zielseite gebaut ist. */
.g-kommt{border-bottom:1px dotted var(--border-input);color:var(--text2);cursor:help}
.g-verwandt-bald{display:inline-block;background:#fafbfc;border:1px dashed var(--border);border-radius:20px;
  padding:8px 16px;font-size:14.5px;font-weight:700;color:var(--muted);cursor:help}

/* Belegmarke: dezenter Verweis auf die Quellenliste. Zeigt, dass jede Aussage
   eine Fundstelle hat, ohne den Lesefluss zu zerschneiden. */
.g-beleg{font-size:11px;font-weight:700;margin-left:2px;vertical-align:super;line-height:0}
.g-beleg a{color:var(--muted);text-decoration:none;border-bottom:1px dotted var(--border-input)}
.g-beleg a:hover{color:var(--blau);border-bottom-color:var(--blau)}

/* Petition — steht in jedem Artikel am Ende der Handlungszeile. */
.g-petition{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}
.g-petition-text{font-size:15px;line-height:1.55;color:var(--text2);flex:1;min-width:230px}
.g-petition-text strong{color:var(--text);display:block;font-size:16px;margin-bottom:2px}
.g-petition .btn-cta{white-space:nowrap;flex:0 0 auto}
@media (max-width:560px){
  .g-petition{flex-direction:column;align-items:stretch}
  .g-petition .btn-cta{text-align:center}
}
