/* Unterseiten (Ratgeber, Stadtseiten, Impressum). Wird an den gewählten Entwurf angepasst. */
:root { --bg:#ffffff; --card:#ffffff; --panel:#f5f6f7; --text:#1b1d1f; --muted:#5d636a; --line:#d9dcdf; --accent:#1d4f7a; --on-accent:#fff; --accent-bg:#e9f0f6;
  --font:"Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; --head:"Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; --sky:#eef3f8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg:#17191b; --card:#1f2225; --panel:#262a2e; --text:#e6e8ea; --muted:#a0a7ae; --line:#33383d; --accent:#8db8e0; --on-accent:#10161c; --accent-bg:#1d2a36; color-scheme:dark; } }
:root[data-theme="dark"] { --bg:#17191b; --card:#1f2225; --panel:#262a2e; --text:#e6e8ea; --muted:#a0a7ae; --line:#33383d; --accent:#8db8e0; --on-accent:#10161c; --accent-bg:#1d2a36; color-scheme:dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; font-variant-numeric: tabular-nums;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
a { color: var(--accent); }
.kopf { border-bottom: 1px solid var(--line); margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.kopf-in { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; flex-wrap: wrap; }
.wort { font-family: var(--head); font-size: 21px; color: var(--text); text-decoration: none; }
.wort i { color: var(--accent); }
h1, h2 { font-weight: 600; }
.kasten { border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0 !important; }
.kacheln b { font-family: var(--head); font-weight: 600; }
.kopf nav, .fuss nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.kopf nav a:not(.btn) { color: var(--text); text-decoration: none; }
@media (max-width: 560px) { .kopf nav a:not(.btn) { display: none; } }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--text); }
.btn.prim { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.seite { max-width: 760px; margin: 0 auto; padding: 22px 0 40px; }
.krumen { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.krumen a { color: var(--muted); }
h1 { font-family: var(--head); font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px; text-wrap: balance; }
h2 { font-family: var(--head); font-size: clamp(21px, 3vw, 26px); line-height: 1.25; margin: 40px 0 10px; text-wrap: balance; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; } li { margin-bottom: 6px; }
.lead { font-size: 19px; color: var(--muted); }
.klein { font-size: 14px; color: var(--muted); }
.kasten { background: var(--accent-bg); border-radius: 10px; padding: 16px 18px; margin: 18px 0; }
.kasten p:last-child { margin-bottom: 0; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 10px; margin: 20px 0; }
@media (max-width: 480px) { .kacheln b { font-size: 19px; } .kacheln > div { padding: 10px; } }
.kacheln > div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; }
.kacheln span { font-size: 14px; color: var(--muted); } .kacheln b { font-size: 24px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 10px 0 8px; }
.tbl th, .tbl td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 13.5px; color: var(--muted); }
.tbl td:last-child, .tbl th:last-child { text-align: right; }
.tbl.zahlen td:not(:first-child), .tbl.zahlen th:not(:first-child) { text-align: right; white-space: nowrap; }
.tbl.text td:last-child, .tbl.text th:last-child { text-align: left; }
.tbl tr.sum td { font-weight: 700; }
@media (max-width: 600px) {
  .tbl.text thead { display: none; }
  .tbl.text tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .tbl.text td { display: block; border: 0; padding: 2px 0; }
  .tbl.text td:first-child { font-weight: 700; }
}
.schritte { padding-left: 24px; } .schritte li { margin-bottom: 12px; }
details.fq { border-bottom: 1px solid var(--line); padding: 12px 0; }
details.fq summary { cursor: pointer; font-weight: 600; }
details.fq p { margin: 8px 0 0; color: var(--muted); }
.cta { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 40px 0; padding: 20px; border-radius: 12px; background: var(--panel); }
.cta p { margin: 4px 0 0; color: var(--muted); font-size: 15px; max-width: 46ch; }
.weiter ul { columns: 2 220px; }
.stand { font-size: 14px; color: var(--muted); margin-top: 30px; }
.fuss { border-top: 1px solid var(--line); margin: 30px calc(-1 * max(16px, env(safe-area-inset-left, 0px))) 0; padding: 0 max(16px, env(safe-area-inset-left, 0px)) 30px; font-size: 14px; color: var(--muted); }
