.leistungswegweiser, .ortswegweiser {
  margin: 20px 0;
  padding: 14px 0 0;
  border-top: 3px double #8999a8;
  text-align: left;
}
.leistungswegweiser > h2, .ortswegweiser > h2 { margin: 0 0 5px; }
.leistungswegweiser > p, .ortswegweiser > p { margin: 0 0 13px; max-width: 76ch; }
.themenraster {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.themenfach {
  min-width: 0;
  padding: 10px 8px 7px;
  background: #f0f3f5;
  border: 1px solid #aebcc7;
}
.themenfach h3 {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 78px;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #9cabb7;
  color: #17385f;
  font: bold 16px/1.18 Georgia, 'Times New Roman', serif;
}
.themenfach h3 img { display: block; width: 28px; height: 28px; image-rendering: pixelated; }
.themenfach ul, .ort-schnellwahl, .ort-themenliste ul { list-style: none; margin: 0; padding: 0; }
.themenfach li { margin: 0; border-bottom: 1px solid #d5dee4; }
.themenfach li:last-child { border-bottom: 0; }
.themenfach li a {
  display: block;
  padding: 8px 1px;
  color: #183f67;
  font: 14px/1.3 Tahoma, Arial, sans-serif;
  text-decoration: underline;
  text-decoration-color: #9babba;
  text-underline-offset: .15em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.themenfach a:hover, .ort-schnellwahl a:hover { background: #e0e9f1; color: #102f54; }
.leistungswegweiser a:focus-visible, .ortswegweiser a:focus-visible, .weitere-themen summary:focus-visible {
  outline: 2px solid #245889; outline-offset: 1px;
}
.weitere-themen { margin: 11px 0; padding: 0; text-align: left; }
.weitere-themen > summary { cursor: pointer; color: #1d4167; font-weight: bold; padding: 7px 2px; }
.leistungswegweiser .wegweiser-fuss { display: flex; gap: 5px 16px; flex-wrap: wrap; margin: 9px 0 0; max-width: none; }
.ort-schnellwahl, .ort-themenliste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ort-schnellwahl li { border-top: 1px solid #c8d3dd; margin: 0; }
.ort-schnellwahl a, .ort-themenliste a { display: block; padding: 6px 2px; }
.ort-themenliste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ort-themenliste h3 { margin: 12px 0 4px; color: #17385f; }
.anliegen-links { margin: 17px 0; }
.gasnotruf { border: 1px solid #96675e; background: #fff1e9; padding: 10px; }
@media (max-width: 890px) {
  .themenraster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .themenfach h3 { min-height: auto; }
}
@media (max-width: 630px) {
  .themenraster, .ort-themenliste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ort-schnellwahl { grid-template-columns: 1fr; }
}
@media (max-width: 450px) {
  .themenraster, .ort-themenliste { grid-template-columns: 1fr; }
  .themenfach { padding: 10px 12px 6px; }
  .themenfach h3 { display: flex; align-items: center; gap: 8px; }
  .themenfach ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .themenfach li a { padding-block: 9px; }
}
