/* destats – Seitendesign (hell, sachlich; Farben wie in den Karten) */
:root { --ink: #1d1d1b; --ink2: #55534e; --muted: #6f6d67; --line: #e8e6e1; --bg: #ffffff; --soft: #f6f5f1;
        --blue: #2a78d6; --blueDark: #1c5cab; --red: #e34948; --gray: #a3a19a; --grayDark: #6c6a64; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ds { margin: 0; background: var(--bg); color: var(--ink); font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.6; }
.ds a { color: var(--blueDark); }
.ds-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Kopf */
.ds-kopf { border-bottom: 1px solid var(--line); background: #fff; }
.ds-kopf-innen { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; flex-wrap: wrap; }
.ds-logo { font-weight: 800; font-size: 22px; letter-spacing: -0.4px; color: var(--ink) !important; text-decoration: none; }
.ds-logo span { color: var(--blue); }
.ds-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ds-nav a { color: var(--ink2); text-decoration: none; font-size: 15px; }
.ds-nav a:hover { color: var(--blue); }

/* Inhalt */
.ds-main { padding-bottom: 40px; }
.ds-krumen { font-size: 14px; color: var(--muted); margin: 22px 0 6px; }
.ds-krumen a { color: var(--muted); }
.ds h1 { font-size: 40px; line-height: 1.12; margin: 18px 0 10px; letter-spacing: -0.8px; }
.ds h2 { font-size: 28px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.4px; }
.ds h3 { font-size: 19px; margin: 24px 0 6px; }
.ds p { margin: 0 0 14px; max-width: 760px; }
.ds .lead { font-size: 19px; color: var(--ink2); max-width: 760px; }
.ds .kurzantwort { font-size: 19px; background: #eef5fd; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; padding: 14px 18px; max-width: 760px; margin: 10px 0 18px; }
.ds .stand { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.ds .kacheln { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 18px; }
.ds .kachel { background: var(--soft); border-radius: 14px; padding: 16px 18px 14px; }
.ds .kachel .k { font-size: 14px; color: var(--ink2); }
.ds .kachel .v { font-size: 30px; font-weight: 750; letter-spacing: -0.5px; line-height: 1.2; margin: 2px 0 4px; }
.ds .kachel .v small { font-size: 16px; font-weight: 600; color: var(--ink2); }
.ds .kachel .c { font-size: 13px; color: var(--muted); line-height: 1.4; }
.ds .kachel .c b { color: var(--ink2); font-weight: 600; }
.ds .inhalt { font-size: 15px; color: var(--ink2); margin: 22px 0 8px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; }
.ds .inhalt { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ds .inhalt a { text-decoration: none; white-space: nowrap; }
.ds section { padding: 34px 0 10px; border-top: 1px solid var(--line); margin-top: 30px; }
.ds .chart { margin: 10px 0 6px; position: relative; }
.ds .chart svg { width: 100%; height: auto; display: block; }
.ds .karte svg { max-width: 760px; margin: 0 auto; }
.ds .legende { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--ink2); margin: 4px 0 2px; }
.ds .legende i { display: inline-block; width: 22px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 7px; }
.ds .legende i.fl { height: 14px; width: 22px; border-radius: 3px; }
.ds .quelle { font-size: 13px; color: var(--muted); margin: 2px 0 10px; max-width: 760px; }
.ds .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ds table.t { border-collapse: collapse; width: 100%; font-size: 15px; margin: 8px 0 10px; }
.ds table.t th, .ds table.t td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.ds table.t th:first-child, .ds table.t td:first-child { text-align: left; }
.ds table.t th { font-size: 13px; color: var(--muted); font-weight: 600; }
.ds .tabelle-scroll { overflow-x: auto; }
.ds details.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
.ds details.faq summary { font-weight: 650; cursor: pointer; font-size: 17px; }
.ds details.faq p { margin: 8px 0 2px; }
.ds .methodik { background: var(--soft); border-radius: 14px; padding: 18px 22px; font-size: 14px; color: var(--ink2); margin: 34px 0 10px; }
.ds .methodik b { color: var(--ink); }
.ds .themen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0; }
.ds .themen a { display: block; background: var(--soft); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.ds .themen a b { display: block; font-size: 18px; margin-bottom: 2px; }
.ds .themen a span { font-size: 14px; color: var(--ink2); }
.ds .themen a:hover { background: #eef5fd; }

/* Werte-Hinweis beim Überfahren */
.ds-tip { position: absolute; pointer-events: none; background: #fff; border: 1px solid var(--line); border-radius: 8px;
          box-shadow: 0 4px 14px rgba(0,0,0,.08); padding: 7px 10px; font-size: 13px; line-height: 1.45; display: none; white-space: nowrap; z-index: 5; }

/* Fuß */
.ds-fuss { border-top: 1px solid var(--line); background: var(--soft); font-size: 13px; color: var(--muted); padding: 22px 0 30px; margin-top: 20px; }
.ds-fuss p { max-width: 860px; }
.ds-fuss-links a { margin-right: 18px; }

@media (max-width: 820px) {
  .ds .kacheln { grid-template-columns: repeat(2, 1fr); }
  .ds .zwei, .ds .themen { grid-template-columns: 1fr; }
  .ds h1 { font-size: 31px; }
  .ds h2 { font-size: 24px; }
}

/* Grafiken als Bild (PNG) */
figure.grafik{margin:1.5rem 0;padding:0}
figure.grafik img{display:block;width:100%;max-width:760px;height:auto;margin:0 auto;border:1px solid #e6e9ef;border-radius:8px;background:#fff}
figure.grafik figcaption{max-width:760px;margin:.5rem auto 0;font-size:.875rem;color:#5b6472;line-height:1.45}
.ds .weitere { margin-top: 40px; }
.ds .ds-nav a.ds-sprache { border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; font-size: 14px; }

/* Startseite: verlinkte Kacheln, Kartenvorschauen */
.ds a.kachel { display: block; text-decoration: none; color: inherit; transition: background .15s; }
.ds a.kachel:hover { background: #eef5fd; }
.ds .karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 14px 0 8px; }
.ds .karten a { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff; }
.ds .karten a:hover { border-color: var(--blue); }
.ds .karten img { display: block; width: 100%; height: auto; }
.ds .karten span { display: block; margin-top: 8px; font-weight: 600; font-size: 15px; text-align: center; }
@media (max-width: 820px) { .ds .karten { grid-template-columns: repeat(2, 1fr); } }
.ds .kacheln.drei { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .ds .kacheln.drei { grid-template-columns: repeat(2, 1fr); } }
