/* Flowlee · Ortsseite /webdesign/braunschweig/ (Entwurf 26.11.2026). Baut auf system.css, seiten.css und branchen.css
   auf und ändert dort nichts. Leitidee „Braunschweiger Adressen“: Stadtplan mit den Orten, an denen schon eine
   Flowlee-Website arbeitet. Die Punkte sind Reiter (branchen.js); ohne Skript stehen alle Tafeln untereinander.
   Grundzustand = Endzustand; Übergänge nur als Wechsel zwischen den Tafeln, keine Einblendung beim Scrollen. */

/* ======================================================================
   EINSTIEG · Unterzeile über dem Text
   ====================================================================== */
.bs-einstieg__text p { margin: 0 0 14px; }
.bs-einstieg__text p:last-child { margin-bottom: 0; }
.bs-einstieg__unterzeile { font-weight: 700; color: var(--weiss); }

/* ======================================================================
   STADTPLAN · Karte, Punkte als Reiter, Tafeln mit den Websites
   ====================================================================== */
.stadtplan__raster { display: grid; gap: 28px; }
.stadtplan__kopf { margin-bottom: 0; }
.stadtplan__karte { position: relative; margin: 0 auto; width: 100%; max-width: 520px; }
.stadtplan__karte svg { display: block; width: 100%; height: auto; overflow: visible; }
.stadtplan__grenze { fill: var(--grau-flaeche); stroke: rgb(32 33 36 / .32); stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.stadtplan__oker { fill: none; stroke: var(--tuerkis); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.stadtplan__autobahn { fill: none; stroke: rgb(32 33 36 / .42); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Punkte: Marke liegt genau auf der Adresse, das Namensschild rechts daneben. Trefferfläche mindestens 44 px. */
.stadtplan__punkte { position: absolute; inset: 0; }
.stadtplan__punkt { position: absolute; display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 12px 0 0; border: 0; border-radius: 999px; background: none; color: var(--text); font: inherit; cursor: pointer; transform: translate(-22px, -50%); -webkit-tap-highlight-color: transparent; }
.stadtplan__marke { position: relative; flex: none; width: 44px; height: 44px; }
.stadtplan__marke::before { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 3px solid var(--weiss); border-radius: 50%; background: var(--violett); box-shadow: 0 2px 6px rgb(32 33 36 / .35); transition: transform .35s var(--lauf), background-color .25s ease, box-shadow .25s ease; }
.stadtplan__name { padding: 6px 12px; border-radius: 999px; background: var(--weiss); font-weight: 800; font-size: 15px; line-height: 1.2; white-space: nowrap; box-shadow: 0 1px 2px rgb(32 33 36 / .08), 0 6px 16px -6px rgb(32 33 36 / .35); transition: background-color .25s ease, color .25s ease; }
.stadtplan__punkt[aria-selected="true"] .stadtplan__marke::before { transform: scale(1.3); box-shadow: 0 0 0 6px rgb(0 200 190 / .35), 0 2px 6px rgb(32 33 36 / .35); }
.stadtplan__punkt[aria-selected="true"] .stadtplan__name { background: var(--violett); color: var(--weiss); }
.stadtplan__punkt:hover .stadtplan__name { color: var(--violett); }
.stadtplan__punkt[aria-selected="true"]:hover .stadtplan__name { color: var(--weiss); }
.stadtplan__punkt:focus-visible { outline: none; }
.stadtplan__punkt:focus-visible .stadtplan__name { outline: 3px solid var(--text); outline-offset: 2px; }
html:not(.js) .stadtplan__punkt { cursor: default; }

/* Peine liegt westlich außerhalb des Ausschnitts: Hinweis am linken Rand auf seiner Höhe */
.stadtplan__peine { position: absolute; left: 0; max-width: 36%; margin: 0; padding: 6px 10px; border-radius: 10px; background: rgb(255 255 255 / .92); font-size: 13px; line-height: 1.35; color: var(--text-leise); transform: translateY(-50%); }
.stadtplan__peine strong { color: var(--text); font-weight: 800; }
.stadtplan__peine span:last-child { display: block; }
.stadtplan__pfeil { color: var(--violett); font-weight: 800; }
.stadtplan__quelle { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--text-leise); text-align: right; }

/* Tafeln: alle in derselben Zelle, die Höhe richtet sich nach der längsten */
.stadtplan__tafeln { display: grid; min-width: 0; }
.stadtplan__tafel { grid-area: 1 / 1; min-width: 0; }
html.js .stadtplan__tafel { visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .4s var(--lauf), visibility 0s linear .25s; }
html.js .stadtplan__tafel.ist-aktiv { visibility: visible; opacity: 1; transform: none; transition: opacity .35s ease .1s, transform .45s var(--lauf) .1s, visibility 0s; }
html:not(.js) .stadtplan__tafel { grid-area: auto; margin-bottom: 36px; }
.stadtplan__anschrift { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--linie); font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--text-leise); }
.stadtplan__projekte { display: grid; gap: 28px; list-style: none; margin: 0; padding: 0; }

.bs-projekt { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.bs-projekt__bild { display: block; width: 96px; height: 128px; object-fit: cover; object-position: top; border-radius: 14px; box-shadow: 0 1px 2px rgb(32 33 36 / .08), 0 18px 36px -20px rgb(32 33 36 / .45); }
.bs-projekt__name { margin: 2px 0 6px; font-weight: 900; font-size: 22px; line-height: 1.15; letter-spacing: -.015em; }
.bs-projekt__satz { margin: 0 0 6px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.bs-projekt .textlink { display: inline-block; padding: 10px 0; }

@media (min-width: 1024px) {
  .stadtplan__raster { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto 1fr; column-gap: 72px; row-gap: 40px; align-items: start; }
  .stadtplan__karte { grid-column: 1; grid-row: 1 / 3; max-width: 600px; margin: 0; }
  .stadtplan__kopf { grid-column: 2; grid-row: 1; }
  .stadtplan__tafeln { grid-column: 2; grid-row: 2; }
  .bs-projekt { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
  .bs-projekt__bild { width: 120px; height: 160px; }
  .stadtplan__peine { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .stadtplan__marke::before, .stadtplan__name, html.js .stadtplan__tafel, html.js .stadtplan__tafel.ist-aktiv { transition: none; }
}

/* ======================================================================
   STIMMEN · wie auf der Köln-Seite, eigene Klassen (keine Abhängigkeit von koeln.css)
   ====================================================================== */
.bs-stimmen__raster { display: grid; gap: 40px; }
.bs-stimme { margin: 0; }
.bs-stimme blockquote { margin: 0; }
.bs-stimme blockquote p { margin: 0; max-width: 30em; font-weight: 600; font-size: 19px; line-height: 1.5; color: var(--text); }
.bs-stimme figcaption { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 14px; line-height: 1.45; color: var(--text-leise); }
.bs-stimme figcaption img { flex: none; width: auto; height: 40px; }
.bs-stimme figcaption strong { font-weight: 700; color: var(--text); }
@media (min-width: 900px) {
  .bs-stimmen__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; }
  .bs-stimme blockquote p { font-size: 22px; }
}

/* Branchenliste: Tippfläche der Links auf 44 px, Zeilenabstand bleibt (Innenabstand mit Gegenrand) */
.seite-braunschweig .zeilenliste .textlink { display: inline-block; padding: 11px 0; margin: -11px 0; }
