/* ==========================================================================
   Seniorenkompass Offenbach am Main — Theme-Override (Stadt-Farben)
   Wird NACH style.css geladen und überschreibt die Bad-Vilbel-Grüntöne.
   Stadt-spezifisch: liegt NICHT in shared/ und wird von sync-shared.sh
   nicht überschrieben.

   Farbkonzept "Offenbach-Blau":
   – Blau  = Stadtwappen (silberner Eichbaum auf blauem Schild) + Main
   – Gold  = Eicheln im Wappen (Akzent statt Karben-Orange)
   – Papier = kühl-weiß, Tinte = kühles Dunkelblau-Grau

   Bei Änderungen an shared/css/style.css bitte prüfen, ob neue grüne
   Regeln hier ergänzt werden müssen:
   python3 scripts/extract-theme.py offenbach --verify
   ========================================================================== */

:root {
  --paper: #F6FAFD;
  --paper-2: #EBF2F8;
  --sage: #E3EDF5;
  --card: #FFFFFF;
  --ink: #1C2A38;
  --ink-2: #41536A;
  --ink-3: #5C6F84;
  --line: #D6E2EE;
  --brand: #2B6A9C;
  --brand-1: #1F5684;
  --brand-2: #17456B;
  --brand-3: #0F3350;
  --brand-tint: #E2EDF7;
  --brand-line: #BFD5E9;
  --accent: #9A6400;
  --accent-2: #8A570D;
  --accent-tint: #FBF0DC;
  --gold: #E0A92E;
  --rose: #C2526D;
  --alert: #B93A26;
  --alert-2: #962D1C;
  --alert-tint: #FBE7E1;
  --ok: #2E7D43;
  --ok-2: #256B38;
  --ok-tint: #E7F3E9;
  --info-tint: #E9F1F7;
  --info-line: #C7D9E6;
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 2px 5px rgba(23, 69, 107, 0.07), 0 14px 34px rgba(23, 69, 107, 0.09);
  --shadow-hover: 0 4px 10px rgba(23, 69, 107, 0.11), 0 22px 48px rgba(23, 69, 107, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --content-w: 74rem;
  --prose-w: 47rem;
  --fs-body: 1.25rem;
  --lh-body: 1.66;
}
html[data-contrast="hoch"] {
  --paper: #ffffff;
  --paper-2: #f4f4f4;
  --sage: #E2EDF7;
  --card: #ffffff;
  --ink: #000000;
  --ink-2: #222222;
  --ink-3: #3a3a3a;
  --line: #8a8a8a;
  --brand: #1B4E7A;
  --brand-2: #12385A;
  --brand-3: #0A2A44;
  --brand-tint: #E2EDF7;
  --brand-line: #2B6A9C;
  --accent: #7A4E0A;
  --accent-2: #5E3C07;
  --accent-tint: #FBF0DC;
  --alert: #8F1708;
  --alert-2: #701005;
  --alert-tint: #FBE3E0;
  --ok: #0D5220;
  --ok-2: #0A3D18;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(43, 106, 156, 0.045) 1.2px, transparent 0);
  background-size: 26px 26px;
  text-rendering: optimizeLegibility;
}
.topbar {
  background: var(--brand-3);
  color: #DCE8F4;
  font-size: 1rem;
}
.fsize-label {
  margin-right: 0.2rem;
  color: #DCE8F4;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--card);
  border-bottom: 4px solid var(--brand);
  box-shadow: 0 2px 14px rgba(43, 106, 156, 0.12);
}
.brand-logo {
  width: 60px;
  height: 60px;
  flex: none;
  filter: drop-shadow(0 2px 5px rgba(43, 106, 156, 0.3));
}
.main-nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 3px 10px rgba(43, 106, 156, 0.35);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  min-height: 3.4rem;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1.13rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(43, 106, 156, 0.18);
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(43, 106, 156, 0.25);
}
.finder-ico {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cat, var(--brand));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 9px rgba(43, 106, 156, 0.22);
  transition: transform 0.16s ease;
}
.weg-card .weg-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--cat, var(--brand));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.35rem 0 0.5rem;
  box-shadow: 0 4px 12px rgba(43, 106, 156, 0.25);
  transition: transform 0.18s ease;
}
.t-badge-wt {
  font-size: 0.78rem;
  color: #DCE8F4;
}
.chip-privat {
  background: var(--ok-tint);
  color: var(--ok-2);
  border-color: #BFD5E9;
}
.vz-search:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(43, 106, 156, 0.15);
}
.vz-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(43, 106, 156, 0.3);
}
.vz-map {
  height: 460px;
  width: 100%;
  background: #E2EDF7;
}
.radio-card input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(43, 106, 156, 0.25);
}
.cat-dranbleiben {
  background: #FBF0DC;
  color: #8A570D; /* 5.39:1 auf #FBF0DC */
}
.read-aloud-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: var(--brand-3, #0F3350);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.35);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-band {
  position: relative;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-3) 100%);
  color: #fff;
  border-radius: 26px;
  padding: 2.3rem 2.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.3rem;
  justify-content: space-between;
  box-shadow: 0 12px 34px rgba(43, 106, 156, 0.35);
  overflow: hidden;
}
.cta-band p {
  margin: 0.35rem 0 0;
  color: #DCE8F4;
}
.site-footer {
  background: var(--brand-3);
  color: #C7D9E8;
  margin-top: 0;
  padding: 2.8rem 0 1.7rem;
  font-size: 1.03rem;
}
.f-tel .f-was {
  font-size: 0.78rem;
  color: #B4C9DC;
  margin-top: 0.2rem;
}
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 2.2rem;
  padding-top: 1.3rem;
  font-size: 0.96rem;
  color: #B4C9DC;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  justify-content: space-between;
}
.badge-nocookie {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  font-size: 0.92rem;
  color: #B4C9DC;
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
}
.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 250;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(43, 106, 156, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.vk-consent-footer-label {
  font-size: 0.94rem;
  color: #B4C9DC;
}

/* ============ Offenbach: Verzeichnis-Badges & Sprach-Filter ============ */
.vz-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0.2rem;
}
.vz-badge {
  display: inline-block;
  font-size: 0.78rem;
  line-height: 1;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.vz-badge-sprachen {
  background: #E2EDF7;
  color: #1F5684;
  border: 1px solid #C9DCEF;
}
.vz-badge-kultursensibel {
  background: #FBF0DC;
  color: #8A570D;
  border: 1px solid #EFDDB8;
}
.vz-sprach-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}
.vz-sprach-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-2);
  margin-right: 0.15rem;
}
.vz-filter-sprache {
  font-size: 0.9rem;
}
.vz-filter-sprache.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
