/* Städte entdecken (eulendatenbank_staedte.go, edb-staedte*.html, edb-stadt*.html): Entwurf der Designerin Astra vom
   18.11.2026, vom Owner abgenommen – Abstände, Farben, Schriften und Aufbau wie im Entwurf (index.html dort). Eigene
   Datei, nur für die neuen Seiten; alle Regeln unter .sd bzw. .sd-einstieg, damit Kopf, Fuß und stil.css unberührt
   bleiben. Schriften: IBM Plex Sans 600 und Source Sans 3 400 (SIL OFL 1.1, Lizenz /static/schriften/LIZENZ-SCHRIFTEN.txt),
   dieselben Dateien wie im Entwurf, vom eigenen Server.
   Abweichung (Regel A6, TestKeinStreifenLinks): der Statuskasten trägt statt des Streifens links einen Rand ringsum. */
@font-face { font-family: "EDB Source"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/schriften/source-sans-3-normal-400-latin.woff2") format("woff2"); }
@font-face { font-family: "EDB Plex"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/static/schriften/ibm-plex-sans-normal-600-latin.woff2") format("woff2"); }

body.sd-seite { background: #f5f7fa; }
.sd { color-scheme: light; --text: #15263f; --muted: #5b6a7d; --rand: #dce3eb; --bg: #ffffff; --karte: #ffffff; --aktion: #15263f;
  --cta-dunkel: #376d91; --g-balken: #245c83; --fokus: #327aa9;
  box-sizing: border-box; width: 100%; max-width: 1120px; margin: auto; padding: 35px 20px;
  background: #f5f7fa; color: #15263f; font: 17px "EDB Source", Arial, sans-serif; overflow-wrap: break-word; }
.sd h1, .sd h2, .sd h3, .sd strong { font-family: "EDB Plex", Arial, sans-serif; font-weight: 600; letter-spacing: normal; text-wrap: wrap; }
.sd h1 { font-size: 44px; line-height: 1.12; margin: 12px 0; }
.sd h2 { font-size: 25px; line-height: normal; margin: 0 0 12px; }
.sd h3 { font-size: 18px; line-height: normal; margin: 0 0 8px; }
.sd p { line-height: 1.5; margin: 1em 0; }
.sd a { color: inherit; }
.sd small, .sd .muted { color: #5b6a7d; }
.sd small { font-size: 13px; line-height: normal; }
.sd .intro { max-width: 720px; }
.sd .eyebrow { color: #376d91; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.sd .search { display: flex; gap: 12px; margin: 24px 0; }
.sd input, .sd select, .sd button { font: inherit; border: 1px solid #bdc9d7; border-radius: 9px; padding: 12px; background: white; color: #15263f; margin: 0; }
.sd input { width: 100%; }
.sd button { cursor: pointer; }
.sd button:hover, .sd .map a:hover, .sd .topics a:hover, .sd .citylist a:hover, .sd .cta-knopf:hover { border-color: #225b88; background: #edf4fa; }
.sd button:focus-visible, .sd input:focus-visible, .sd select:focus-visible, .sd a:focus-visible { outline: 3px solid #327aa9; outline-offset: 3px; }
.sd .layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; }
.sd .card { background: white; border: 1px solid #dce3eb; border-radius: 16px; padding: 24px; }
.sd .map { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(6, 50px); gap: 5px; margin: 16px 0; }
.sd .map a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none;
  padding: 3px; font-size: 12px; line-height: normal; background: #edf4fa; border: 1px solid #d5e4ef; border-radius: 9px; color: #15263f; }
.sd .map a.active { background: #245c83; color: white; }
.sd .map b { display: block; }
.sd .map small { font-size: 10px; color: inherit; }
/* Schematische Anordnung der Länder (Spalte, Zeile) wie im Entwurf */
.sd .l-sh { grid-column: 3; grid-row: 1; } .sd .l-hh { grid-column: 3; grid-row: 2; } .sd .l-ni { grid-column: 2; grid-row: 3; }
.sd .l-hb { grid-column: 2; grid-row: 2; } .sd .l-nw { grid-column: 1; grid-row: 4; } .sd .l-he { grid-column: 2; grid-row: 4; }
.sd .l-rp { grid-column: 1; grid-row: 5; } .sd .l-bw { grid-column: 2; grid-row: 6; } .sd .l-by { grid-column: 4; grid-row: 6; }
.sd .l-sl { grid-column: 1; grid-row: 6; } .sd .l-be { grid-column: 5; grid-row: 3; } .sd .l-bb { grid-column: 4; grid-row: 3; }
.sd .l-mv { grid-column: 4; grid-row: 2; } .sd .l-sn { grid-column: 4; grid-row: 5; } .sd .l-st { grid-column: 3; grid-row: 3; }
.sd .l-th { grid-column: 3; grid-row: 4; }
.sd .sd-karte { display: block; width: 100%; height: auto; margin: 16px 0; }
.sd .topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.sd .topics a { font-size: 14px; line-height: normal; padding: 8px 12px; border: 1px solid #bdc9d7; border-radius: 9px; background: white;
  color: #15263f; text-decoration: none; }
.sd .topics a.active { background: #15263f; color: white; }
.sd .citylist { max-height: 375px; overflow: auto; border-top: 1px solid #dce3eb; list-style: none; margin: 0; padding: 0; }
.sd .citylist li { margin: 0; }
.sd .citylist a { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; text-decoration: none;
  border: 0; border-bottom: 1px solid #e4e9ef; border-radius: 0; padding: 14px 0; background: white; color: #15263f; line-height: normal; }
.sd .citylist small { display: block; }
.sd .citylist b { font-size: 16px; }
.sd .count { font-size: 13px; margin: 0 0 12px; color: #5b6a7d; }
.sd .sd-leer { margin: 14px 0; }
.sd .profile { margin-top: 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.sd .profile h2 a { text-decoration: none; }
.sd .profile h2 a:hover { text-decoration: underline; }
.sd .metrics { display: flex; gap: 30px; margin: 20px 0; }
.sd .metrics strong { display: block; font-size: 28px; line-height: normal; }
.sd .cta { background: #edf4fa; border-radius: 12px; padding: 22px; }
.sd .cta-knopf { display: block; width: 100%; text-align: left; margin-top: 12px; padding: 12px; border: 0; border-radius: 9px;
  background: #fc7400; color: #15263f; font-weight: bold; text-decoration: none; line-height: normal; }
.sd .status { background: #f5f7fa; border: 1px solid #c6d3e0; border-radius: 9px; padding: 12px; }
.sd .method { font-size: 14px; margin-top: 26px; border-top: 1px solid #d4dee9; padding-top: 20px; }
.sd .edb-kruemel ol { margin: 0 0 4px; font-size: 13px; color: #5b6a7d; }
.sd .edb-haftung { font-size: 13px; color: #5b6a7d; border-top: 1px solid #d4dee9; padding-top: 12px; margin-top: 20px; }
.sd .sd-meta { color: #5b6a7d; font-size: 14px; }
/* Stadtübersicht und Themenseite (im Stil des Entwurfs fortgeführt) */
.sd .sd-themenliste, .sd .sd-auswertung { margin-top: 24px; }
.sd .sd-themenliste + .card, .sd .sd-auswertung + .card { margin-top: 24px; }
.sd .sd-thema { padding: 16px 0 4px; border-top: 1px solid #e4e9ef; }
.sd .sd-thema:first-of-type { border-top: 0; padding-top: 0; }
.sd .sd-thema p { margin: 0 0 12px; }
.sd .sd-weitere { max-height: none; }
.sd .sd-auswertung h2 { margin-top: 28px; }
.sd .sd-auswertung h2:first-child { margin-top: 0; }
.sd .sd-grafik { margin: 0 0 8px; }
.sd .sd-grafik svg { display: block; width: 100%; max-width: 560px; height: auto; }
.sd .sd-grafik figcaption { color: #5b6a7d; font-size: 13px; margin-top: 8px; }
.sd .edb-quellen h2 { font-size: 18px; margin-top: 28px; }
.sd .edb-quellen ol { font-size: 14px; }
@media (max-width: 700px) {
  .sd { font-size: 16px; padding: 24px 16px; }
  .sd h1 { font-size: 32px; }
  .sd .layout, .sd .profile { grid-template-columns: 1fr; }
  .sd .search { flex-direction: column; }
  .sd .card { padding: 18px; }
  .sd .map { grid-template-rows: repeat(6, 44px); }
  .sd .citylist { max-height: 270px; }
  .sd .sd-weitere { max-height: none; }
  .sd .metrics { gap: 20px; }
  .sd .metrics strong { font-size: 25px; }
  .sd .profile { gap: 16px; }
  .sd .intro p { margin-bottom: 0; }
}

/* Einstieg auf der Rubrik-Startseite /eulendatenbank (edb-start.html) im Stil des Entwurfs */
.sd-einstieg { color-scheme: light; display: flex; gap: 20px; align-items: center; margin: 24px 0 28px; padding: 24px; background: white;
  border: 1px solid #dce3eb; border-radius: 16px; color: #15263f; font-family: "EDB Source", Arial, sans-serif; font-size: 17px; }
.sd-einstieg img { flex: none; width: 120px; height: auto; }
.sd-einstieg .sd-eyebrow { color: #376d91; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.sd-einstieg h2 { font-family: "EDB Plex", Arial, sans-serif; font-weight: 600; font-size: 25px; line-height: normal; letter-spacing: normal; margin: 4px 0 8px; color: #15263f; }
.sd-einstieg p { line-height: 1.5; margin: 0 0 14px; }
.sd-einstieg-knopf { display: inline-block; padding: 12px; border-radius: 9px; background: #fc7400; color: #15263f; font-weight: bold; text-decoration: none; }
.sd-einstieg-knopf:hover { background: #edf4fa; color: #15263f; }
.sd-einstieg-knopf:focus-visible { outline: 3px solid #327aa9; outline-offset: 3px; }
@media (max-width: 700px) {
  .sd-einstieg { flex-direction: column; align-items: flex-start; padding: 18px; font-size: 16px; }
  .sd-einstieg img { width: 88px; }
}

/* Checkeule-Scores in den Themenkacheln (eulendatenbank_stadtcheck.go) – nur Ergänzung, Gestaltung der Seite unverändert */
.sd .sd-score { margin: 4px 0 12px; }
.sd .sd-score-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px; }
.sd .sd-score-zahl { font-size: 24px; font-weight: 700; color: #15263f; }
.sd .sd-score-zahl small { font-size: 13px; font-weight: 400; color: #5b6a7d; margin-left: 2px; }
.sd .sd-score-wort { color: #376d91; font-weight: 600; }
.sd .sd-score-spur { display: block; width: 100%; max-width: 420px; height: 8px; margin: 0 0 10px; }
.sd .sd-score-spur .hg { fill: #e4e9ef; }
.sd .sd-score-spur .vg { fill: var(--g-balken); }
.sd .sd-score-grund { color: #5b6a7d; }
.sd .sd-belege { font-size: 14px; margin: 0 0 12px; }
.sd .sd-belege summary { cursor: pointer; color: #245c83; }
.sd .sd-belege ul { margin: 8px 0 0; padding-left: 18px; }
.sd .sd-belege li { margin-bottom: 6px; }
.sd .sd-score-methodik { margin-top: 24px; font-size: 15px; }
.sd .sd-score-methodik summary { cursor: pointer; color: #245c83; margin: 8px 0; }
.sd .sd-kartenwahl { margin: 12px 0 0; }

/* Stadtkarte je Stadt (eulendatenbank_stadtkarte.go) – nur Ergänzung, Gestaltung der Seite unverändert */
.sd .sd-stadtkarte, .sd .sd-stadtkarte + .card { margin-top: 24px; }
.sd .sd-stadtkarte .sd-karte { max-width: 680px; }
.sd .sd-reiseziele { margin: 0 0 12px; padding-left: 22px; }
.sd .sd-reiseziele li { margin-bottom: 4px; }

/* Städteliste des Einstiegs in Seiten zu je 5 (Owner 18.11.2026) – nur Ergänzung im Stil des Entwurfs: fünf Einträge
   ohne inneren Rollbalken, Seitenleiste wie die Themenknöpfe (.topics a). */
.sd #sd-liste { max-height: none; overflow: visible; }
.sd .sd-seiten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 0; }
.sd .sd-seiten-nr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sd .sd-seiten a { font-size: 14px; line-height: normal; padding: 8px 12px; min-width: 20px; text-align: center; border: 1px solid #bdc9d7;
  border-radius: 9px; background: white; color: #15263f; text-decoration: none; }
.sd .sd-seiten a:hover { border-color: #225b88; background: #edf4fa; }
.sd .sd-seiten a.active { background: #15263f; color: white; border-color: #15263f; }
.sd .sd-seiten-nr > span { color: #5b6a7d; padding: 0 2px; }
.sd .sd-seiten a[rel="next"] { margin-left: auto; }
@media (max-width: 700px) {
  /* Handy: Zurück und Weiter in einer Zeile, die Seitennummern darunter */
  .sd .sd-seiten-nr { order: 3; width: 100%; justify-content: center; }
  .sd .sd-seiten a { padding: 8px 10px; }
}
