/* gemeinde.css - Gemeinde-Infoseiten (Mühlenbecker Land, Glienicke/Nordbahn,
   Hohen Neuendorf, Birkenwerder). Baut auf lead.css auf, ergänzt nur die
   gemeinde-spezifischen Bausteine: Schnell-Infobox (Eckdaten) + Kontakt-Box
   (wichtige Stellen) + Ortsteil-/Themen-Karten. Mobile First. */

/* --- Eckdaten als eigenes Band unter dem Hero ---------------------------
   Früher eine Glas-Box IM Navy-Hero - das überlud den Header. Jetzt ein
   eigenes Band direkt unter dem Hero, Stil analog idee-Counter / .lead-stats-band:
   heller Sonnenland-Verlauf, vier weiße Eckdaten-Karten als Strip. */
.gem-facts-band {
  background: var(--gradient-sonnenland, linear-gradient(135deg, #eaf2f8 0%, #f2eedf 55%, #fef3cd 100%));
  padding: var(--sp-8) var(--sp-6);
}
.gem-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  max-width: 1100px;
  margin: 0 auto;
}
.gem-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-4) var(--sp-5);
  background: #fff;
  border: 1px solid var(--border-1, #e4e8ee);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 6px 18px rgba(1, 66, 106, 0.05);
}
.gem-fact__k {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep, #806400);
}
.gem-fact__v { font-size: 0.98rem; line-height: 1.4; color: var(--brand-navy); }

@media (min-width: 600px) {
  .gem-facts { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
}
@media (min-width: 960px) {
  .gem-facts { grid-template-columns: repeat(4, 1fr); }
}

/* Einleitungs-Fließtext im Section-Head der ersten Gemeinde-Sektion -
   ergänzt die kurze .section-claim um etwas mehr Kontext. */
.section-intro {
  max-width: 720px;
  margin: var(--sp-3) auto 0;
  /* keine eigene Farbe: erbt den single-point body { color: var(--text-body) } */
  font-size: var(--fs-md);
  line-height: 1.7;
  text-align: center;
}

/* --- Ortsteil-/Themen-Karten -------------------------------------------- */
.gem-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(1, 66, 106, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: 0 1px 3px rgba(1, 66, 106, 0.06);
}
/* Ortsteil-Motiv-Icon (oben links), gleiche Gold/Braun-Akzentfarbe wie die gem-tip-Icons */
.gem-card__ic { display: block; color: var(--gold-deep, #806400); margin-bottom: var(--sp-2); }
.gem-card__ic svg { width: 36px; height: 36px; display: block; }
.gem-card h3 {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-display);
  color: var(--brand-navy);
  font-size: 1.15rem;
}
.gem-card p { margin: 0; color: var(--text-body); font-size: 0.95rem; line-height: 1.55; }
.gem-card__tag {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  margin: 0;
  padding: 0.15em 0.7em;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-navy);
  background: #e7eef6; /* helles Blau (on-brand) - hebt sich klar vom hellen Card-Hintergrund ab; Navy darauf ~9:1 */
  border-radius: var(--radius-pill);
}

/* --- Kontakt-Box: wichtige Stellen -------------------------------------- */
.gem-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
@media (min-width: 720px) {
  .gem-contact__grid { grid-template-columns: 1fr 1fr; }
}
.gem-contact__card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-4) var(--sp-5);
  background: #fff;
  border: 1px solid rgba(1, 66, 106, 0.12);
  border-left: 4px solid var(--brand-navy);
  border-radius: var(--radius-md);
}
.gem-contact__role {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-deep, #806400);
}
.gem-contact__name { font-weight: 700; color: var(--brand-navy); font-size: 1.02rem; }
.gem-contact__addr { color: var(--text-body); font-size: 0.92rem; line-height: 1.5; }
.gem-contact__link {
  margin-top: var(--sp-1);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-navy);
  text-decoration: none;
  word-break: break-word;
}
.gem-contact__link:hover { text-decoration: underline; }

/* dezenter Quellen-/Stand-Hinweis unter Infoboxen */
.gem-note {
  margin-top: var(--sp-4);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Tipp-/Wissenswert-Leiste ------------------------------------------- */
.gem-tips { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); margin-top: var(--sp-4); }
@media (min-width: 720px) { .gem-tips { grid-template-columns: 1fr 1fr; } }
.gem-tip {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid rgba(1, 66, 106, 0.10);
  border-radius: var(--radius-md);
}
.gem-tip__ic { flex: 0 0 auto; line-height: 1; color: var(--gold-deep, #806400); }
/* stroke-width via CSS auf 1.6 (überschreibt das inline stroke-width="2"-Attribut) -
   gleiche Linienstärke wie die übrige Icon-Familie (Kategorie-/NB_ICONS, 1.6). */
.gem-tip__ic svg { width: 52px; height: 52px; display: block; stroke-width: 1.4; }
.gem-tip__tx { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--text-body); }
.gem-tip__tx b { color: var(--brand-navy); }

/* --- Zweispaltige Sektion: Text links, Kacheln rechts --------------------
   Wird an <section> gehängt (section--split) und wirkt nur zusammen mit einem
   .section-head + .gem-tips im .section-inner. Erst ab 1100 px: darunter hat die
   Textspalte zu wenig Breite, die Sektion bleibt dort untereinander gestapelt.
   50:50 statt einer schmalen Textspalte - so liegt der Fließtext bei rund 61
   Zeichen je Zeile (typografisch gut sind 45-75); bei 38 % waren es nur 49.
   Die Kinder von .section-head tragen eigene `margin: 0 auto` + `max-width`,
   deshalb werden sie hier einzeln zurückgesetzt, nicht nur der Container.

   Breakpoint 768px (iPad Hochformat), damit auch iPhone im Querformat (844-932px)
   zweispaltig steht - einspaltig kam der Text dort auf 84 Zeichen je Zeile (zu breit),
   zweispaltig sind es 40-50. Darunter (iPhone Hochformat, iPhone SE quer) bleibt es
   gestapelt: bei 348px Spaltenbreite ist Schluss, schmaler würde es gedrängt. */
@media (min-width: 768px) {
  .section--split .section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8, 48px);
    align-items: start;
  }
  .section--split .section-head {
    text-align: left;
    max-width: none;
    margin: 0;
  }
  .section--split .section-head > * { text-align: left; }
  .section--split .section-eyebrow,
  .section--split .section-claim,
  .section--split .section-intro {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .section--split .section-claim,
  .section--split .section-intro { margin-top: var(--sp-3); }
  /* Rechte Spalte: schmale Kacheln in voller Breite untereinander (Variante A). */
  .section--split .gem-tips {
    margin-top: 0;
    grid-template-columns: 1fr;
  }
}
