/* ============================================================
   seniorenbetreuung-koeln.de
   Eigene Identitaet: Kölner Rot als Leitfarbe, Sandstein als
   ruhiger Grundton. Bewusst weder das Gruen von Familienperle
   noch das Petrol der Polen-Seite.

   Zielgruppe: Menschen ab ~55 und deren Kinder, oft unter Druck.
   Darum 18px Basis, hohe Kontraste, ruhige Flaechen.

   1 Grundlagen  2 Layout  3 Kopf  4 Inhalt  5 Komponenten
   6 Stadtteile  7 Fuss  8 Utilities  9 Responsive
   ============================================================ */

/* --- 1 Grundlagen ------------------------------------------ */

:root {
  --rot-900: #5e1212;
  --rot-800: #741717;
  --rot-700: #8c1d1d;
  --rot-600: #a52a2a;
  --rot-100: #f5e3e3;
  --rot-50:  #fdf5f5;

  --sand-700: #8a6d3b;
  --sand-600: #a5843f;
  --sand-500: #c9a227;
  --sand-100: #fdf4dc;

  --text:       #1f2226;
  --text-leise: #5a6169;
  --linie:      #e2ddd8;
  --linie-hell: #f0ece8;
  --weiss:      #ffffff;
  --papier:     #ffffff;

  --erfolg-bg: #e9f3ec;
  --erfolg-tx: #1f5c37;
  --warn-bg:   #fdf3e2;
  --warn-tx:   #8a5a00;
  --gefahr-bg: #fbeaea;
  --gefahr-tx: #a02020;

  --breite:      1140px;
  --breite-text: 720px;
  --radius:      10px;
  --radius-gross: 16px;

  --schatten-2: 0 4px 12px rgba(60,30,30,.09), 0 12px 32px rgba(60,30,30,.06);

  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 18px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0; font-family: var(--sans); line-height: 1.65;
  color: var(--text); background: var(--papier); overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--serif); line-height: 1.25; color: var(--rot-900);
  margin: 0 0 .5em; letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.85rem); margin-top: 2em; }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); margin-top: 1.7em; }
h4 { font-size: 1.05rem; margin-top: 1.4em; }

p { margin: 0 0 1.1em; }

a { color: var(--rot-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--sand-700); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sand-500); outline-offset: 2px; border-radius: 3px;
}

img, svg { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--linie); margin: 2.5rem 0; }

.skiplink {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--rot-800); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius) 0;
}
.skiplink:focus { left: 0; }

/* --- 2 Layout ---------------------------------------------- */

.wrap { max-width: var(--breite); margin-inline: auto; padding-inline: 1.25rem; }
.wrap-text { max-width: var(--breite-text); margin-inline: auto; padding-inline: 1.25rem; }
section { scroll-margin-top: 5rem; }

/* --- 3 Kopf ------------------------------------------------ */

.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie);
        position: sticky; top: 0; z-index: 50; }
.kopf-in { display: flex; align-items: center; justify-content: space-between;
           gap: 1rem; min-height: 76px; }

.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--rot-700); }
.marke-zeichen { width: 38px; height: 38px; flex: none; }
.marke-text { display: flex; flex-direction: column; line-height: 1.15; }
.marke-name { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; color: var(--rot-900); }
.marke-akzent { color: var(--sand-600); }
.marke-claim { font-size: .72rem; color: var(--text-leise); letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { padding: .5rem .75rem; border-radius: var(--radius); text-decoration: none;
         color: var(--rot-800); font-size: .93rem; font-weight: 500; }
.nav a:hover { background: var(--rot-50); color: var(--rot-900); }
.nav a[aria-current="page"] { background: var(--rot-100); color: var(--rot-900); font-weight: 600; }

.navtoggle, .burger { display: none; }

.brotkrumen { background: var(--weiss); border-bottom: 1px solid var(--linie); font-size: .85rem; }
.brotkrumen .wrap { padding-block: .6rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.brotkrumen a { color: var(--rot-700); text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; }
.brotkrumen span[aria-hidden] { color: var(--text-leise); }
.brotkrumen .aktuell { color: var(--text-leise); }

/* --- 4 Inhalt ---------------------------------------------- */

.bereich { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.bereich-hell { background: var(--weiss); }

/* Fruehere Farbflaechen sind jetzt weiss. Damit die Abschnitte nicht
   ineinanderlaufen, trennt eine feine Linie statt eines Farbwechsels. */
.bereich-getoent { background: var(--weiss); border-top: 1px solid var(--linie); }
.bereich-sand    { background: var(--weiss); border-top: 1px solid var(--linie); }

/* Zwei gleichfarbige Bereiche direkt hintereinander brauchen nur eine Linie */
.bereich-hell + .bereich-getoent,
.bereich-getoent + .bereich-sand,
.bereich-sand + .bereich-getoent { border-top: 1px solid var(--linie); }

.bereich-kopf { max-width: 700px; margin-bottom: 2.2rem; }
.bereich-kopf h2 { margin-top: 0; }
.bereich-kopf p { color: var(--text-leise); font-size: 1.05rem; margin-bottom: 0; }

.vorspann {
  font-size: 1.13rem; color: var(--rot-800); line-height: 1.6;
  border-left: 3px solid var(--sand-500); padding-left: 1.1rem; margin-bottom: 2rem;
}

.text { max-width: var(--breite-text); }
.text > h2:first-child, .text > h3:first-child { margin-top: 0; }
.text ul, .text ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.text li { margin-bottom: .5em; }
.text li::marker { color: var(--rot-600); }
.text strong { color: var(--rot-900); }

/* --- 5 Komponenten ----------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-haupt { background: var(--rot-700); color: #fff; }
.btn-haupt:hover { background: var(--rot-800); color: #fff; }
.btn-zweit { background: var(--weiss); color: var(--rot-800); border-color: var(--linie); }
.btn-zweit:hover { border-color: var(--rot-600); color: var(--rot-900); background: var(--rot-50); }
.btn-still { background: transparent; color: var(--rot-700); padding-inline: .4rem; }
.btn-reihe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

.karten { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.karten-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-gross);
  padding: 1.5rem; display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.karte:hover { box-shadow: var(--schatten-2); transform: translateY(-2px); border-color: var(--rot-100); }
.karte h3 { margin-top: 0; margin-bottom: .5rem; font-size: 1.2rem; }
.karte h3 a { text-decoration: none; color: inherit; }
.karte h3 a:hover { color: var(--sand-700); }
.karte p { color: var(--text-leise); font-size: .95rem; margin-bottom: 1rem; }
.karte-fuss { margin-top: auto; padding-top: .6rem; font-size: .85rem; color: var(--text-leise); }
.karte-icon { width: 34px; height: 34px; color: var(--rot-600); margin-bottom: .9rem; }

.kasten {
  border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.8rem 0;
  border-left: 4px solid; background: var(--rot-50); border-color: var(--rot-600);
}
.kasten > :last-child { margin-bottom: 0; }
.kasten-titel { font-weight: 700; display: block; margin-bottom: .4rem;
                font-family: var(--sans); font-size: 1rem; }
.kasten-warnung { background: var(--warn-bg); border-color: var(--sand-500); }
.kasten-warnung .kasten-titel { color: var(--warn-tx); }
.kasten-gefahr { background: var(--gefahr-bg); border-color: #c94040; }
.kasten-gefahr .kasten-titel { color: var(--gefahr-tx); }
.kasten-gut { background: var(--erfolg-bg); border-color: #3f8a5c; }
.kasten-gut .kasten-titel { color: var(--erfolg-tx); }

.tabelle-huelle { overflow-x: auto; margin: 1.8rem 0; border-radius: var(--radius); border: 1px solid var(--linie); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--weiss); }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--linie-hell); }
thead th { background: var(--rot-700); color: #fff; font-family: var(--sans);
           font-weight: 600; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fafafa; }
td.zahl, th.zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.faq { border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); overflow: hidden; }
.faq + .faq { margin-top: .7rem; }
.faq summary { padding: 1rem 1.3rem; cursor: pointer; font-weight: 600; color: var(--rot-900);
               list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--sand-600); flex: none; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq summary:hover { background: var(--rot-50); }
.faq-inhalt { padding: 0 1.3rem 1.2rem; color: var(--text-leise); }
.faq-inhalt > :last-child { margin-bottom: 0; }

.schritte { list-style: none; padding: 0; margin: 2rem 0; counter-reset: schritt; }
.schritte li { position: relative; padding-left: 3.4rem; margin-bottom: 1.8rem; counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: -.1rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--rot-700); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
}
.schritte h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.schritte p { margin-bottom: 0; color: var(--text-leise); }

.artikel-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center;
  font-size: .87rem; color: var(--text-leise); margin-bottom: 1.8rem;
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--linie);
}
.rubrik-marke {
  display: inline-block; padding: .2rem .7rem; border-radius: 100px;
  background: var(--rot-100); color: var(--rot-800);
  font-size: .76rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none;
}
a.rubrik-marke:hover { background: var(--rot-600); color: #fff; }

.inhaltsvz { background: var(--weiss); border: 2px solid var(--linie);
             border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 2.2rem; }
.inhaltsvz h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .08em;
                text-transform: uppercase; color: var(--text-leise); margin: 0 0 .7rem; }
.inhaltsvz ol { margin: 0; padding-left: 1.3em; }
.inhaltsvz li { margin-bottom: .3em; }

.verweis {
  display: flex; gap: 1rem; align-items: flex-start; background: var(--weiss);
  border: 1px solid var(--linie); border-left: 4px solid var(--rot-600);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 2rem 0;
}
.verweis-text { flex: 1; }
.verweis-text p { margin-bottom: .6rem; font-size: .95rem; }
.verweis-text p:last-child { margin-bottom: 0; }
.verweis .kasten-titel { color: var(--rot-800); }

.kacheln { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 2rem 0; }
.kachel { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.2rem; }
.kachel-wert { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--rot-800); line-height: 1.1; }
.kachel-bez { font-size: .85rem; color: var(--text-leise); margin-top: .3rem; }

/* --- 6 Stadtteile ------------------------------------------ */

.bezirk-raster { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.bezirk-karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-gross);
  padding: 1.4rem 1.5rem; display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.bezirk-karte:hover { box-shadow: var(--schatten-2); transform: translateY(-2px); border-color: var(--rot-100); }
.bezirk-nr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--rot-100);
  color: var(--rot-800); font-family: var(--serif); font-weight: 700; font-size: .95rem;
  margin-bottom: .7rem;
}
.bezirk-karte h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.bezirk-karte h3 a { text-decoration: none; color: inherit; }
.bezirk-karte h3 a:hover { color: var(--sand-700); }
.bezirk-karte p { color: var(--text-leise); font-size: .93rem; margin-bottom: .8rem; }
.bezirk-veedel {
  margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--linie-hell);
  font-size: .82rem; color: var(--text-leise); line-height: 1.5;
}

.veedel-liste { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.2rem 0 2rem; padding: 0; list-style: none; }
.veedel-liste li {
  padding: .3rem .8rem; background: var(--weiss); border: 1px solid var(--linie);
  border-radius: 100px; font-size: .87rem; color: var(--rot-800);
}
.veedel-liste li a { text-decoration: none; color: inherit; }
.veedel-liste li:hover { border-color: var(--rot-600); }

/* Sprungmarken-Leiste der Bezirksseite: dieselbe Optik, aber direkte <a>
   statt <li>, weil es eine Navigation ist und keine Aufzaehlung. */
.veedel-liste > a {
  padding: .3rem .8rem; background: var(--weiss); border: 1px solid var(--linie);
  border-radius: 100px; font-size: .87rem; color: var(--rot-800); text-decoration: none;
}
.veedel-liste > a:hover { border-color: var(--rot-600); }

/* Ein Stadtteil-Abschnitt auf der Bezirksseite. */
.stadtteil {
  margin: 1.6rem 0; padding: 1.1rem 1.3rem; background: var(--weiss);
  border: 1px solid var(--linie); border-radius: var(--radius);
  scroll-margin-top: 1.5rem;
}
.stadtteil h3 {
  margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.25rem; color: var(--rot-800);
}
.stadtteil p { margin: .45rem 0; }
.stadtteil p:last-child { margin-bottom: 0; }

/* Lagebeschreibung je Postleitzahl. */
.plz-lage { margin: 1.2rem 0 0; }
.plz-lage dt {
  margin-top: 1rem; font-family: var(--serif); font-size: 1.1rem; color: var(--rot-800);
  scroll-margin-top: 1.5rem;
}
.plz-lage dt em {
  font-style: normal; font-family: var(--sans); font-size: .75rem;
  color: var(--text-leise); margin-left: .5rem;
}
.plz-lage dd { margin: .2rem 0 0; }

.info-raster { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; margin: 2rem 0; }
.info-block { background: var(--weiss); border: 1px solid var(--linie);
              border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.info-block h3 { margin-top: 0; font-size: 1.05rem; font-family: var(--sans); }
.info-block ul { margin: 0; padding-left: 1.2em; font-size: .93rem; color: var(--text-leise); }
.info-block li { margin-bottom: .4em; }
.info-block > :last-child { margin-bottom: 0; }

/* --- 7 Fuss ------------------------------------------------ */

.fuss { background: var(--rot-900); color: #e0cfcf; margin-top: 4rem; padding-top: 3rem; font-size: .93rem; }
/* Fuenf Spalten seit 16.08.2026: Das Verzeichnis (stadtweite Kategorieseiten)
   hat einen eigenen Block bekommen, weil diese Seiten vorher fast unverlinkt
   waren. Die Markenspalte gibt dafuer Breite ab. */
.fuss-raster { display: grid; gap: 2rem; grid-template-columns: 1.7fr 1fr 1fr 1.15fr 1fr; padding-bottom: 2.5rem; }
.fuss h2 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .09em;
           text-transform: uppercase; margin: 0 0 .9rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .5rem; }
.fuss a { color: #e0cfcf; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: .7rem; }
.fuss-text { color: #c3a8a8; font-size: .9rem; line-height: 1.6; margin-bottom: .8rem; }
.fuss-bezirke { columns: 2; column-gap: 1rem; }
.fuss-bezirke li { break-inside: avoid; }
.fuss-unten { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.3rem; }
.fuss-unten p { margin: 0 0 .5rem; font-size: .85rem; color: #c3a8a8; }
.fuss-hinweis { font-size: .82rem !important; color: #ab9090 !important; }

/* --- 8 Utilities ------------------------------------------- */

.nur-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
          overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt0 { margin-top: 0 !important; }
.mb0 { margin-bottom: 0 !important; }
.zentriert { text-align: center; }
.leise { color: var(--text-leise); font-size: .9rem; }

/* --- 9 Responsive ------------------------------------------ */

@media (max-width: 1120px) {
  /* Fuenf Fussspalten werden hier zu eng - Marke oben ueber die volle Breite. */
  .fuss-raster { grid-template-columns: repeat(3, 1fr); }
  .fuss-marke { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .nav a { padding: .5rem .55rem; font-size: .88rem; }
}
@media (max-width: 900px) {
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
  .info-raster { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html { font-size: 17px; }
  .kopf-in { flex-wrap: wrap; min-height: 64px; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px;
            width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: var(--radius); }
  .burger span { display: block; height: 2px; background: var(--rot-800); border-radius: 2px; transition: .2s; }
  .navtoggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navtoggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .navtoggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: .15rem; padding-bottom: .9rem; }
  .navtoggle:checked ~ .nav { display: flex; }
  .nav a { padding: .75rem .9rem; font-size: 1rem; }
  .karten-vier { grid-template-columns: 1fr; }
  .verweis { flex-direction: column; gap: .6rem; }
}
@media (max-width: 520px) {
  .marke-claim { display: none; }
  .fuss-raster { grid-template-columns: 1fr; }
  .fuss-bezirke { columns: 2; }
  .btn { width: 100%; }
  .btn-reihe .btn { width: auto; flex: 1 1 auto; }
}

@media print {
  .kopf, .fuss, .brotkrumen, .btn-reihe, .verweis { display: none; }
  body { background: #fff; font-size: 11pt; }
  .wrap, .wrap-text { max-width: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* --- 10 Anbieterlisten -------------------------------------- */

.anbieter-gruppe { margin-bottom: 3rem; }
.anbieter-gruppe h2 { display: flex; align-items: baseline; gap: .7rem; margin-top: 0; scroll-margin-top: 6rem; }
.anzahl {
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  background: var(--rot-100); color: var(--rot-800);
  padding: .15rem .6rem; border-radius: 100px; letter-spacing: .03em;
}
.gruppe-kurz { color: var(--text-leise); font-size: .95rem; margin: -.3rem 0 1.3rem; max-width: 640px; }

.anbieter-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem;
                  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.anbieter {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; transition: border-color .15s, box-shadow .15s;
}
.anbieter:hover { border-color: var(--rot-100); box-shadow: var(--schatten-2); }
.anbieter-kopf { display: flex; align-items: flex-start; gap: .6rem; justify-content: space-between; }
.anbieter-name { font-size: 1.02rem; margin: 0 0 .2rem; font-family: var(--sans);
                 font-weight: 700; color: var(--rot-900); line-height: 1.35; }
.anbieter-marke {
  flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--sand-100); color: var(--sand-700); padding: .18rem .55rem; border-radius: 100px;
}
.anbieter-marke-fp { background: var(--rot-700); color: #fff; }
.anbieter-art { font-size: .8rem; color: var(--text-leise); margin: 0 0 .6rem;
                letter-spacing: .02em; }
.anbieter-daten { list-style: none; margin: 0; padding: 0; font-size: .9rem; line-height: 1.55; }
.anbieter-daten li { color: var(--text-leise); }
.anbieter-daten a { color: var(--rot-700); text-decoration: none; }
.anbieter-daten a:hover { text-decoration: underline; }

/* Kategoriefilter */
.kat-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.2rem; }
.kat-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem; border-radius: 100px; text-decoration: none;
  background: var(--weiss); border: 1px solid var(--linie);
  color: var(--rot-800); font-size: .88rem; font-weight: 500;
}
.kat-chip span { font-size: .78rem; color: var(--text-leise); font-variant-numeric: tabular-nums; }
.kat-chip:hover { border-color: var(--rot-600); background: var(--rot-50); }
.kat-chip.aktiv { background: var(--rot-700); border-color: var(--rot-700); color: #fff; }
.kat-chip.aktiv span { color: rgba(255,255,255,.8); }

/* PLZ-Kacheln */
.plz-bezirk { margin-bottom: 2.5rem; }
.plz-bezirk h2 { display: flex; align-items: baseline; gap: .7rem; scroll-margin-top: 6rem; }
.plz-bezirk h2 a { text-decoration: none; color: inherit; }
.plz-bezirk h2 a:hover { color: var(--sand-700); }

.plz-kacheln { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem;
               grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.plz-kacheln a {
  display: block; background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: .8rem 1rem; text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.plz-kacheln a:hover { border-color: var(--rot-600); box-shadow: var(--schatten-2); }
.plz-kacheln strong { display: block; font-family: var(--serif); font-size: 1.15rem;
                      color: var(--rot-900); line-height: 1.2; }
.plz-kacheln span { display: block; font-size: .82rem; color: var(--text-leise);
                    margin-top: .15rem; line-height: 1.4; }
.plz-kacheln em { display: block; font-style: normal; font-size: .75rem;
                  color: var(--sand-700); margin-top: .35rem; font-weight: 600; }

/* Nachbarn / Bezirksliste */
.plz-nachbarn { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem;
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.plz-nachbarn a {
  display: block; background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: .9rem 1.1rem; text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.plz-nachbarn a:hover { border-color: var(--rot-600); box-shadow: var(--schatten-2); }
.plz-nachbarn strong { display: block; color: var(--rot-900); font-size: 1rem; }
.plz-nachbarn span { display: block; font-size: .84rem; color: var(--text-leise); margin-top: .1rem; }
.plz-nachbarn em { display: block; font-style: normal; font-size: .78rem;
                   color: var(--sand-700); margin-top: .3rem; font-weight: 600; }

/* Umland-Ortsliste */
.ort-liste { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .6rem; }
.ort-liste a {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: baseline;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: .85rem 1.1rem; text-decoration: none; transition: border-color .15s;
}
.ort-liste a:hover { border-color: var(--rot-600); background: var(--rot-50); }
.ort-name { font-weight: 600; color: var(--rot-900); }
.ort-km { font-size: .87rem; color: var(--text-leise); font-variant-numeric: tabular-nums; }
.ort-n { font-size: .82rem; color: var(--sand-700); font-weight: 600; white-space: nowrap; }

/* Startseiten-Einstieg */
.start-kopf { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.start-kopf-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: start; }
.start-kopf h1 { margin-top: 0; }
.start-kopf .vorspann { border-left: 0; padding-left: 0; font-size: 1.15rem; color: var(--text-leise); }
.start-einstieg { background: var(--weiss); border: 2px solid var(--linie);
                  border-radius: var(--radius-gross); padding: 1.5rem; }
.start-einstieg h2 { margin: 0 0 1rem; font-family: var(--sans); font-size: .8rem;
                     letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); }
.einstiegsliste { list-style: none; margin: 0; padding: 0; }
.einstiegsliste li + li { border-top: 1px solid var(--linie); }
.einstiegsliste a { display: block; padding: .85rem 0; text-decoration: none; color: var(--text); }
.einstiegsliste a:hover strong { color: var(--sand-700); }
.einstiegsliste strong { display: block; color: var(--rot-900); font-size: 1rem; margin-bottom: .1rem; }
.einstiegsliste span { display: block; font-size: .88rem; color: var(--text-leise); line-height: 1.45; }

@media (max-width: 860px) {
  .start-kopf-in { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .ort-liste a { grid-template-columns: 1fr auto; }
  .ort-n { grid-column: 1 / -1; }
}

/* --- 11 Ratgeber --------------------------------------------- */

.rubrik-abschnitt + .rubrik-abschnitt { margin-top: 3.5rem; }
.rubrik-kopf { margin-bottom: 1.5rem; padding-bottom: .8rem; border-bottom: 2px solid var(--rot-100); }
.rubrik-kopf h2 { margin: 0 0 .3rem; scroll-margin-top: 6rem; }
.rubrik-kopf p { margin: 0; color: var(--text-leise); font-size: .95rem; }

.artikel-fuss {
  margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--linie);
}
.artikel-fuss p { margin-bottom: 0; }

/* Rechenbeispiele */
.beispiel {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-gross);
  padding: 1.4rem 1.5rem; margin: 1.5rem 0;
}
.beispiel h3 { margin-top: 0; margin-bottom: .3rem; font-size: 1.12rem; }
.beispiel .tabelle-huelle { margin-bottom: 0; border: 0; }
.beispiel table tbody tr:nth-child(even) { background: transparent; }
.beispiel table td { padding: .5rem .2rem; border-bottom: 1px solid var(--linie-hell); }
.beispiel table tr.summe td {
  border-top: 2px solid var(--rot-600); border-bottom: 0;
  padding-top: .7rem; font-size: 1.05rem; color: var(--rot-900);
}


.ratgeber-einleitung { max-width: var(--breite-text); margin-bottom: 2.5rem; }
.ratgeber-einleitung p { color: var(--text-leise); }
.schritte-gross li { margin-bottom: 2.2rem; }
.schritt-dauer {
  display: inline-block; margin-left: .6rem; padding: .15rem .6rem;
  background: var(--rot-100); color: var(--rot-800); border-radius: 100px;
  font-family: var(--sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; vertical-align: middle;
}
.schritt-tipp {
  margin-top: .6rem !important; padding: .6rem .9rem;
  background: var(--sand-100); border-radius: var(--radius);
  font-size: .9rem; color: var(--warn-tx) !important;
}

/* --- 12 Quellen & Autor -------------------------------------- */

/* Quellenblock unter Artikeln und Themenseiten. Bewusst zurueckhaltend:
   er soll belegen, nicht vom Text ablenken. */
.quellen {
  margin-top: 2.8rem; padding: 1.4rem 1.6rem;
  background: var(--weiss); border: 1px solid var(--linie);
  border-left: 3px solid var(--rot-600); border-radius: var(--radius);
}
.quellen h2 {
  margin: 0 0 .9rem; font-size: 1.02rem; color: var(--rot-900);
  letter-spacing: .01em;
}
.quellen-normen {
  margin: 0 0 .9rem; padding-bottom: .9rem;
  border-bottom: 1px solid var(--linie-hell);
  font-size: .9rem; color: var(--text-leise);
}
.quellen-liste { list-style: none; margin: 0; padding: 0; }
.quellen-liste li {
  margin-bottom: .8rem; padding-left: 1.1rem; position: relative;
  font-size: .92rem; line-height: 1.5;
}
.quellen-liste li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--rot-600); font-weight: 700;
}
.quellen-liste li:last-child { margin-bottom: 0; }
.quellen-liste a { font-weight: 600; }
.quellen-was {
  display: block; margin-top: .15rem;
  color: var(--text-leise); font-size: .86rem;
}
.quellen-hinweis {
  margin: 1rem 0 0; padding-top: .9rem;
  border-top: 1px solid var(--linie-hell);
  font-size: .84rem; color: var(--text-leise);
}

/* Autorenkasten auf der Redaktionsseite */
.autor-karte {
  margin: 1.8rem 0; padding: 1.5rem 1.6rem;
  background: var(--weiss); border: 2px solid var(--linie);
  border-radius: var(--radius-gross); scroll-margin-top: 6rem;
}
.autor-name { margin: 0; font-size: 1.2rem; color: var(--rot-900); }
.autor-rolle {
  margin: .1rem 0 1rem; font-family: var(--sans); font-size: .78rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--rot-600);
}

/* Autorenzeile in der Artikel-Meta */
.artikel-meta a[rel="author"] { font-weight: 600; }

@media (max-width: 560px) {
  .quellen { padding: 1.1rem 1.1rem; }
}

/* Abgrenzung Ratgeber / Beratung im Einzelfall. Sichtbar genug, dass man es
   liest, zurueckhaltend genug, dass es den Beitrag nicht dominiert. */
.artikel-hinweis {
  margin: 0 0 1rem;
  padding: .9rem 1.1rem;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  font-size: .89rem;
  line-height: 1.55;
  color: var(--text-leise);
}
.artikel-hinweis strong { color: var(--text); }
