/* germanystats – Design 0.8 „Datenredaktion“
   Schwarz auf Weiß, feine Haarlinien, große Zahlen. Keine Akzentfarbe (kein Rot, Gold, Blau, keine Flaggenfarben) –
   Farbe kommt ausschließlich aus den Grafiken. Systemschriften (keine externen Schriftdienste).
   Text, Kästen, Grafiken und Tabellen einer Seite sind gleich breit. */
:root {
  --ink: #111111; --ink2: #3a3a3a; --muted: #6e6e6e; --hell: #9a9a9a;
  --line: #e6e6e6; --line2: #cfcfcf; --flaeche: #f6f6f5; --flaeche2: #efefed;
  --r: 6px;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
  --anzeige: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body.gs { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.gs a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line2); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s, background .15s, border-color .15s, opacity .15s; }
.gs a:hover { text-decoration-color: var(--ink); }
.gs-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.gs-wrap.gs-schmal { max-width: 944px; }
.gs-i { flex: none; display: block; }
.gs-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gs-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff !important; padding: 8px 14px; font-weight: 700; }
.gs-skip:focus { left: 8px; }
::selection { background: #e4e4e2; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Kopf ---------- */
.gs-kopf { background: #fff; border-bottom: 1px solid var(--ink); position: relative; z-index: 30; }
.gs-kopf-oben { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.gs-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; text-decoration: none !important; font-family: var(--anzeige); font-size: 25px; letter-spacing: -.035em; font-weight: 400; line-height: 1; white-space: nowrap; }
.gs-logo b { font-weight: 800; }
.gs-marke { display: block; }
.gs-kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.gs-sprache { color: var(--ink) !important; text-decoration: none !important; font-size: 13px; font-weight: 700; letter-spacing: .08em; border: 1px solid var(--ink); padding: 5px 11px; line-height: 1.2; }
.gs-sprache:hover { background: var(--ink); color: #fff !important; }
.gs-suchknopf { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }

/* Suche */
.gs-suche { position: relative; display: flex; align-items: center; flex: 1; max-width: 460px; }
.gs-suche > .gs-i { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.gs-suche input[type=search] { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--flaeche); border: 1px solid transparent; border-radius: 999px; padding: 9px 16px 9px 42px; outline: none; -webkit-appearance: none; appearance: none; }
.gs-suche input[type=search]::placeholder { color: var(--muted); }
.gs-suche input[type=search]:focus { background: #fff; border-color: var(--ink); }
.gs-suche input::-webkit-search-cancel-button { display: none; }
.gs-suche button { display: none; }
.gs-treffer { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; color: var(--ink); border: 1px solid var(--ink); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .3); padding: 4px 0; z-index: 50; max-height: 70vh; overflow: auto; }
.gs-treffer a { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 16px; text-decoration: none !important; color: var(--ink) !important; font-size: 15px; line-height: 1.35; }
.gs-treffer a + a { border-top: 1px solid var(--line); }
.gs-treffer a span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.gs-treffer a.aktiv, .gs-treffer a:hover { background: var(--flaeche); }
.gs-treffer mark { background: none; color: inherit; font-weight: 800; }
.gs-treffer .gs-kein { padding: 10px 16px; color: var(--muted); font-size: 14.5px; }
.gs-treffer .gs-alle-treffer { justify-content: flex-start; font-weight: 600; font-size: 14px; }

/* Kategorie-Leiste */
.gs-nav { background: #fff; border-top: 1px solid var(--line); }
.gs-nav-innen { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.gs-nav-innen::-webkit-scrollbar { display: none; }
.gs-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 13px 0 11px; color: var(--ink2) !important; text-decoration: none !important; font-size: 14.5px; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.gs-nav a .gs-i { display: none; }
.gs-nav a:hover { color: var(--ink) !important; border-bottom-color: var(--line2); }
.gs-nav a.aktiv { color: var(--ink) !important; border-bottom-color: var(--ink); }

/* ---------- Startseite: Kopfbereich ---------- */
.gs-hero { background: #fff; padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.gs-hero-raster { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
.gs-dach { margin: 0 0 16px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gs .gs-hero h1 { font-family: var(--anzeige); font-size: 76px; line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 0 0 22px; color: var(--ink); }
.gs-hero-text { max-width: 640px; font-size: 20px; line-height: 1.55; color: var(--ink2); margin: 0 0 32px; }
.gs-suche-hero, .gs-suche-seite { max-width: 680px; }
.gs-suche.gs-suche-hero > .gs-i, .gs-suche.gs-suche-seite > .gs-i { left: 20px; color: var(--ink); }
.gs-suche-hero input[type=search], .gs-suche-seite input[type=search] { font-size: 18px; padding: 18px 128px 18px 54px; border-radius: 0; background: #fff; border: 2px solid var(--ink); }
.gs-suche-hero input[type=search]:focus, .gs-suche-seite input[type=search]:focus { background: #fff; box-shadow: 0 0 0 4px #ececea; }
.gs-suche-hero button, .gs-suche-seite button { display: block; position: absolute; right: 7px; top: 7px; bottom: 7px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 15px; padding: 0 22px; cursor: pointer; }
.gs-suche-hero button:hover, .gs-suche-seite button:hover { background: #333; }
.gs-suche-seite { margin: 6px 0 22px; }
.gs-beliebt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.gs-beliebt a { color: var(--ink) !important; font-weight: 600; text-decoration-color: var(--line2) !important; }
.gs-beliebt a:hover { text-decoration-color: var(--ink) !important; }
.gs-hero-zahlen { border-top: 3px solid var(--ink); }
.gs-hero-zahlen p { margin: 12px 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gs-hero-zahlen a { display: block; padding: 14px 0 13px; border-bottom: 1px solid var(--line); text-decoration: none !important; color: var(--ink) !important; }
.gs-hero-zahlen a span { display: block; }
.gs-hero-zahlen .k { font-size: 14px; font-weight: 600; color: var(--ink2); }
.gs-hero-zahlen .v { font-family: var(--anzeige); font-size: 36px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 2px 0 1px; font-variant-numeric: tabular-nums; }
.gs-hero-zahlen .c { font-size: 13px; color: var(--muted); }
.gs-hero-zahlen a:hover .v { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Titelbereich der Seiten ---------- */
.gs-band { background: #fff; padding: 30px 0 34px; }
.gs-krumen ol { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13.5px; color: var(--muted); }
.gs-krumen li + li::before { content: "›"; margin: 0 9px; color: var(--hell); }
.gs-krumen a { color: var(--muted) !important; text-decoration: none !important; }
.gs-krumen a:hover { color: var(--ink) !important; text-decoration: underline !important; }
.gs-dachzeile { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; text-decoration: none !important; margin-bottom: 12px; }
.gs-dachzeile .gs-i { display: none; }
.gs-dachzeile:hover { color: var(--ink) !important; }
.gs h1 { font-family: var(--anzeige); font-size: 52px; line-height: 1.04; letter-spacing: -.04em; font-weight: 800; margin: 0 0 18px; color: var(--ink); text-wrap: balance; }
.gs .lead { font-size: 21px; line-height: 1.55; color: var(--ink2); margin: 0; }
.gs-band-raster.mit-zahl { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 44px; align-items: end; }
.gs-band-zahl { border-top: 3px solid var(--ink); padding: 12px 0 4px; }
.gs-band-zahl span { display: block; }
.gs-band-zahl .k { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.gs-band-zahl .v { font-family: var(--anzeige); font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.gs-band-zahl .c { font-size: 13.5px; color: var(--muted); }
.gs-kat-titel { display: block; }
.gs-kat-titel h1 { margin: 0; font-size: 60px; }
.gs-kat-icon { display: none; }
.gs-band-kat { border-bottom: 1px solid var(--line); padding-bottom: 38px; }
.gs-band-kat .gs-kat-intro { margin: 18px 0 0; max-width: 780px; font-size: 20px; line-height: 1.55; color: var(--ink2); }
.gs-band-kat .gs-kat-intro p { margin: 0; }

/* ---------- Inhalt ---------- */
.ds-main { padding-top: 4px; padding-bottom: 72px; }
.gs h2 { font-family: var(--anzeige); font-size: 32px; line-height: 1.16; letter-spacing: -.03em; font-weight: 800; margin: 0 0 16px; color: var(--ink); text-wrap: balance; }
.gs h3 { font-family: var(--anzeige); font-size: 22px; line-height: 1.3; letter-spacing: -.015em; font-weight: 750; margin: 34px 0 10px; }
.gs p { margin: 0 0 18px; }
.gs b, .gs strong { font-weight: 700; }
.gs .kurzantwort { font-size: 18.5px; line-height: 1.65; background: var(--flaeche); border-left: 3px solid var(--ink); padding: 20px 24px; margin: 0 0 14px; }
.gs .kurzantwort > b:first-child { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.gs .stand { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0 0 30px; }

/* Kennzahlen: Zahlenleiste mit Haarlinien */
.gs .kacheln { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 34px; border-top: 3px solid var(--ink); }
.gs .kacheln.drei { grid-template-columns: repeat(3, 1fr); }
.gs .kachel { padding: 14px 18px 16px 0; border-bottom: 1px solid var(--line); }
.gs .kacheln > .kachel:not(:nth-child(4n+1)) { padding-left: 18px; border-left: 1px solid var(--line); }
.gs .kacheln.drei > .kachel { padding-left: 18px; border-left: 1px solid var(--line); }
.gs .kacheln.drei > .kachel:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.gs .kachel .k { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; line-height: 1.35; }
.gs .kachel .v { font-family: var(--anzeige); font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 8px 0 5px; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.gs .kachel .v small { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink2); letter-spacing: 0; }
.gs .kachel .c { font-size: 13px; color: var(--muted); line-height: 1.42; }
.gs .kachel .c b { color: var(--ink2); font-weight: 700; }
.gs a.kachel { display: block; text-decoration: none !important; color: inherit !important; }
.gs a.kachel:hover { background: var(--flaeche); }

/* Inhaltsverzeichnis: klebende Textleiste */
.gs .inhalt { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 22px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; font-size: 14.5px; margin: 0 -32px 8px; padding: 0 32px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: opacity .2s, transform .2s; }
.gs .inhalt::-webkit-scrollbar { display: none; }
.gs .inhalt b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.gs .inhalt a { text-decoration: none !important; color: var(--ink2) !important; padding: 12px 0 10px; border-bottom: 2px solid transparent; font-weight: 500; }
.gs .inhalt a:hover { color: var(--ink) !important; }
.gs .inhalt a.aktiv { color: var(--ink) !important; border-bottom-color: var(--ink); font-weight: 650; }
.gs .inhalt.weg { opacity: 0; transform: translateY(-100%); pointer-events: none; }

/* Abschnitte: nummeriert, durch Haarlinie getrennt */
.gs .ds-main { counter-reset: abschnitt; }
.gs .ds-main > section[id] { padding-top: 44px; margin-top: 30px; border-top: 1px solid var(--line); counter-increment: abschnitt; }
.gs .ds-main > section[id]::before { content: counter(abschnitt, decimal-leading-zero); display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--hell); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.gs .inhalt + section { border-top: 0 !important; margin-top: 0 !important; padding-top: 30px !important; }
.gs .quelle { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.gs .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gs .hinweis { background: var(--flaeche); border-left: 3px solid var(--ink); padding: 16px 20px; font-size: 16px; }
.gs .legende { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--ink2); margin: 4px 0 2px; }
.gs .chart { margin: 10px 0 6px; position: relative; }
.gs .chart svg { width: 100%; height: auto; display: block; }

/* Grafiken (PNG) in voller Breite, mit Haarlinie */
.gs figure.grafik { margin: 26px 0 28px; padding: 16px 0 0; background: #fff; border-top: 1px solid var(--ink); }
.gs figure.grafik img { display: block; width: 100%; height: auto; margin: 0; }
.gs figure.grafik > a { display: block; max-width: 640px; margin: 0 auto; cursor: zoom-in; text-decoration: none; }
.gs figure.grafik figcaption { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* Tabellen */
.gs .tabelle-scroll { overflow-x: auto; margin: 20px 0 26px; }
.gs table.t { border-collapse: collapse; width: 100%; font-size: 15.5px; margin: 0; font-variant-numeric: tabular-nums; border-top: 2px solid var(--ink); }
.gs table.t th, .gs table.t td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.gs table.t th:first-child, .gs table.t td:first-child { text-align: left; padding-left: 0; }
.gs table.t th:last-child, .gs table.t td:last-child { padding-right: 0; }
.gs table.t thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; white-space: nowrap; border-bottom: 1px solid var(--ink); }
.gs table.t tbody tr:hover td { background: var(--flaeche); }
.gs table.t a { font-weight: 600; }

/* Häufige Fragen */
.gs details.faq { border-bottom: 1px solid var(--line); }
.gs details.faq:first-of-type { border-top: 1px solid var(--ink); }
.gs details.faq summary { font-family: var(--anzeige); font-weight: 700; cursor: pointer; font-size: 18.5px; line-height: 1.4; list-style: none; position: relative; padding: 17px 44px 17px 0; letter-spacing: -.01em; }
.gs details.faq summary::-webkit-details-marker { display: none; }
.gs details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; font-weight: 300; color: var(--ink); }
.gs details.faq[open] summary::after { content: "−"; }
.gs details.faq p { margin: 0; padding: 0 0 20px; color: var(--ink2); }

/* Methodik, „Passend dazu“ */
.gs .methodik { border-top: 1px solid var(--ink); padding: 16px 0 0; font-size: 14px; line-height: 1.65; color: var(--muted); margin: 44px 0 10px; }
.gs .methodik b { color: var(--ink); }
.gs p.passend { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin: 34px 0 6px; font-size: 17px; line-height: 1.65; }
.gs p.passend b { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.gs p.passend a { font-weight: 650; text-decoration-color: var(--ink2); }

/* ---------- Karten (Übersichten, Empfehlungen) ---------- */
.gs-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 40px 28px; margin: 34px 0 20px; }
.gs-karte { display: flex; flex-direction: column; text-decoration: none !important; color: var(--ink) !important; }
.gs-karte-bild { display: block; aspect-ratio: 16 / 9; background: var(--flaeche); border: 1px solid var(--line); overflow: hidden; }
.gs-karte-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .3s; }
.gs-karte:hover .gs-karte-bild img { transform: scale(1.03); }
.gs-karte-text { display: flex; flex-direction: column; gap: 6px; padding: 14px 0 0; }
.gs-karte-text b { font-family: var(--anzeige); font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.gs-karte:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gs-kz { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.gs-kz em { font-style: normal; font-weight: 800; color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; margin-right: 3px; }
.gs-ex { font-size: 15px; color: var(--ink2); line-height: 1.55; }
.gs-karten-drei { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 18px; }
.gs-karten-drei .gs-karte-text b { font-size: 18px; }
.gs-leer { color: var(--muted); }
.gs-mehr { margin: 6px 0 0; }
.gs-mehr a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15.5px; }

/* Textlisten (Länder, Städte) */
.gs-chips { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.gs-chips a { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none !important; color: var(--ink) !important; font-size: 16px; font-weight: 600; line-height: 1.6; border-bottom: 1px solid var(--line2); }
.gs-chips a small { font-size: 13px; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.gs-chips a:hover { border-bottom-color: var(--ink); }
.gs-chips a.gs-chip-mehr { border-bottom: 2px solid var(--ink); align-items: center; font-weight: 700; }
.gs-weitere { margin-top: 56px; padding-top: 0 !important; border-top: 3px solid var(--ink) !important; }
.gs-weitere::before { display: none !important; }
.gs-weitere h2 { font-size: 15px !important; letter-spacing: .1em; text-transform: uppercase; margin: 14px 0 0 !important; }
.gs-weitere .gs-chips { margin-top: 18px; }

/* „Weitere Kategorien“ (nur Suche/404) */
.gs-alle { margin-top: 48px; padding-top: 14px; border-top: 3px solid var(--ink); }
.gs-alle h2 { font-size: 15px !important; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px !important; }
.gs-alle div { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.gs-alle a { display: inline-flex; text-decoration: none !important; color: var(--ink) !important; font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--line2); }
.gs-alle a .gs-i { display: none; }
.gs-alle a:hover { border-bottom-color: var(--ink); }

/* ---------- Kategorie-Übersichten ---------- */
.gs-kategorie .ds-main { padding-top: 0; }
.gs-filter { position: relative; max-width: 620px; margin: 34px 0 30px; }
.gs-filter label .gs-i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink); }
.gs-filter input { width: 100%; font: inherit; font-size: 17px; padding: 15px 18px 15px 50px; border: 2px solid var(--ink); border-radius: 0; outline: none; background: #fff; -webkit-appearance: none; appearance: none; }
.gs-filter input:focus { box-shadow: 0 0 0 4px #ececea; }
.gs-laender { columns: 3 320px; column-gap: 40px; }
.gs-land { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 30px; border-top: 3px solid var(--ink); }
.gs-land-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 0 10px; border-bottom: 1px solid var(--line); text-decoration: none !important; color: var(--ink) !important; }
.gs-land-kopf b { font-family: var(--anzeige); font-size: 21px; letter-spacing: -.02em; font-weight: 800; }
.gs-land-kopf span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gs-land-kopf:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gs-land ul { list-style: none; margin: 0; padding: 0; }
.gs-land li a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none !important; color: var(--ink) !important; font-size: 15.5px; line-height: 1.35; }
.gs-land li a small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gs-land li a:hover { background: var(--flaeche); }
.gs-land-hinweis { font-size: 14px; color: var(--muted); margin: 10px 0 0 !important; }
.gs-land[hidden], .gs-land li[hidden] { display: none; }

/* ---------- Startseite ---------- */
.gs-start .ds-main { padding-top: 0; counter-reset: none; }
.gs-start .ds-main > section.gs-abschnitt { border-top: 0; margin-top: 0; padding-top: 64px; counter-increment: none; }
.gs-start .ds-main > section.gs-abschnitt::before { display: none; }
.gs-abschnitt > h2 { font-size: 15px !important; letter-spacing: .12em; text-transform: uppercase; padding-top: 14px; border-top: 3px solid var(--ink); margin-bottom: 4px !important; }
.gs-abschnitt > .gs-unter { color: var(--muted); font-size: 16px; margin: 0 0 26px; max-width: 760px; }
.gs-kats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.gs-kat { display: flex; flex-direction: column; padding: 18px 0 22px; border-bottom: 1px solid var(--line); }
.gs-kat-kopf { display: block; text-decoration: none !important; color: var(--ink) !important; margin-bottom: 10px; }
.gs-kat-kopf .gs-kat-icon { display: none; }
.gs-kat-kopf b { display: block; font-family: var(--anzeige); font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.gs-kat-kopf small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.gs-kat-kopf:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gs-kat ul { list-style: none; margin: 0 0 12px; padding: 0; flex: 1; }
.gs-kat li a { display: block; padding: 4px 0; font-size: 15.5px; line-height: 1.4; text-decoration: none !important; color: var(--ink2) !important; }
.gs-kat li a:hover { color: var(--ink) !important; text-decoration: underline !important; }
.gs-kat-mehr { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink) !important; text-decoration: none !important; }
.gs-kat-mehr:hover { text-decoration: underline !important; }
.gs-start .kacheln { margin-top: 0; }
.gs .karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 8px 0; }
.gs .karten a { display: block; text-decoration: none !important; color: var(--ink) !important; }
.gs .karten img { display: block; width: 100%; height: auto; transition: opacity .2s; }
.gs .karten a:hover img { opacity: .85; }
.gs .karten span { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ink); font-family: var(--anzeige); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.gs-orte-start { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 4px; }
.gs-orte-start h3 { margin: 0 0 14px !important; font-size: 13px !important; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.gs-start .methodik { margin-top: 64px; }
.gs-start .faq-block { max-width: 944px; }

/* Suchseite / 404 */
.gs-such-h1 { margin-top: 30px !important; }
.gs-such-info { color: var(--muted); }
.gs-such-liste { list-style: none; margin: 0; padding: 0; max-width: 760px; border-top: 2px solid var(--ink); }
.gs-such-liste li { border-bottom: 1px solid var(--line); }
.gs-such-liste a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; text-decoration: none !important; color: var(--ink) !important; }
.gs-such-liste a:hover b { text-decoration: underline; }
.gs-such-liste span { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.gs-fehler { padding: 30px 0 10px; }

/* Werte-Hinweis beim Überfahren (Diagramme mit Skript) */
.ds-tip { position: absolute; pointer-events: none; background: #fff; border: 1px solid var(--ink); padding: 7px 10px; font-size: 13px; line-height: 1.45; display: none; white-space: nowrap; z-index: 5; }

/* ---------- Fuß ---------- */
.gs-fuss { background: var(--flaeche); color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 56px; border-top: 1px solid var(--ink); }
.gs-fuss-innen { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 48px; padding-top: 48px; padding-bottom: 36px; }
.gs-fuss .gs-logo { font-size: 22px; margin-bottom: 14px; }
.gs-fuss p { margin: 0; max-width: 520px; }
.gs-fuss h2 { font-family: var(--sans); font-size: 12.5px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px !important; font-weight: 700; }
.gs-fuss ul { list-style: none; margin: 0; padding: 0; }
.gs-fuss li { margin: 0 0 4px; }
.gs-fuss a { color: var(--ink2) !important; text-decoration: none !important; }
.gs-fuss a:hover { color: var(--ink) !important; text-decoration: underline !important; }
.gs-fuss-laender { columns: 2; column-gap: 20px; }
.gs-fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--line2); font-size: 13px; }
.gs-fuss-links a { margin-left: 18px; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1060px) {
  .gs-kats { grid-template-columns: repeat(2, 1fr); }
  .gs-hero-raster { grid-template-columns: 1fr; gap: 40px; }
  .gs-hero-zahlen { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .gs-hero-zahlen p { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .gs-wrap { padding: 0 20px; }
  .gs .inhalt { margin: 0 -20px 6px; padding: 0 20px; }
  .gs-kopf-oben { min-height: 60px; gap: 12px; }
  .gs-kopf .gs-suche-kopf { display: none; }
  .gs-suchknopf { display: block; }
  body.gs-suche-offen .gs-kopf-oben { flex-wrap: wrap; padding-bottom: 12px; }
  body.gs-suche-offen .gs-kopf .gs-suche-kopf { display: flex; order: 3; flex-basis: 100%; max-width: none; }
  body.gs-suche-offen .gs-suche-kopf input[type=search] { font-size: 16px; padding-top: 11px; padding-bottom: 11px; }
  .gs-nav-innen { gap: 20px; }
  .gs-hero { padding: 40px 0 40px; }
  .gs .gs-hero h1 { font-size: 46px; }
  .gs-hero-text { font-size: 17.5px; }
  .gs-suche-hero input[type=search], .gs-suche-seite input[type=search] { font-size: 16px; padding: 15px 16px 15px 48px; }
  .gs-suche.gs-suche-hero > .gs-i, .gs-suche.gs-suche-seite > .gs-i { left: 16px; }
  .gs-suche-hero button, .gs-suche-seite button { display: none; }
  .gs h1, .gs-kat-titel h1 { font-size: 36px; }
  .gs h2 { font-size: 26px; }
  .gs h3 { font-size: 20px; }
  .gs .lead, .gs-band-kat .gs-kat-intro { font-size: 18px; }
  .gs-band { padding: 20px 0 26px; }
  .gs-krumen ol { margin-bottom: 16px; font-size: 13px; }
  .gs-band-raster.mit-zahl { display: block; }
  .gs-band-zahl { display: none !important; }
  .gs .kacheln, .gs .kacheln.drei { grid-template-columns: repeat(2, 1fr); }
  .gs .kacheln > .kachel, .gs .kacheln.drei > .kachel { padding-left: 14px !important; border-left: 1px solid var(--line) !important; }
  .gs .kacheln > .kachel:nth-child(odd), .gs .kacheln.drei > .kachel:nth-child(odd) { padding-left: 0 !important; border-left: 0 !important; }
  .gs .kachel .v { font-size: 27px; }
  .gs .zwei { grid-template-columns: 1fr; }
  .gs .karten { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .gs-orte-start { grid-template-columns: 1fr; gap: 26px; }
  .gs-karten-drei { grid-template-columns: 1fr; gap: 18px; }
  .gs-karten-drei .gs-karte { flex-direction: row; gap: 14px; align-items: flex-start; }
  .gs-karten-drei .gs-karte-bild { width: 120px; flex: none; }
  .gs-karten-drei .gs-karte-text { padding-top: 0; }
  .gs-fuss-innen { grid-template-columns: 1fr 1fr; gap: 28px; }
  .gs-fuss-marke { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body.gs { font-size: 17px; }
  .gs-wrap { padding: 0 18px; }
  .gs .inhalt { margin: 0 -18px 6px; padding: 0 18px; }
  .gs-logo { font-size: 21px; }
  .gs .gs-hero h1 { font-size: 40px; }
  .gs h1, .gs-kat-titel h1 { font-size: 31px; }
  .gs-kats { grid-template-columns: 1fr; }
  .gs-hero-zahlen { grid-template-columns: 1fr; }
  .gs-laender { columns: 1; }
  .gs .kurzantwort { padding: 16px 18px; font-size: 17px; }
  .gs table.t th, .gs table.t td { padding: 9px 10px; font-size: 14px; }
  .gs-fuss-innen { grid-template-columns: 1fr; }
  .gs-fuss-links a { margin: 0 14px 0 0; }
  .gs-treffer a span { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .gs-kopf, .gs-nav, .gs-fuss, .inhalt, .gs-alle, .gs-weitere { display: none !important; } }
