/* Standorte-Übersicht (Oxygen-Seite, Elemente tragen nur Klassen). Erzeugt aus standorte-uebersicht-wb-prototyp.html, alle Regeln auf .sbb-so begrenzt; Grundlage sbb-basis.css. */
.sbb-so.ct-div-block{ display: block; width: 100%; }
.sbb-so :where(.ct-div-block){ display: block; flex-direction: initial; flex-wrap: initial; align-items: initial; }
.sbb-so :where(ul.ct-div-block, ol.ct-div-block){ margin: 0; padding: 0; }
.sbb-so .mit-rand{ box-shadow: 0 0 0 2px var(--night); }
.sbb-so .band-eng{ padding-top: clamp(24px, 3vw, 40px); }
/* Übersichtsseite /standorte/ im Wortblock-Stil – Prototyp zur Freigabe.
   Layout: dunkler Hero mit Wortblöcken + Finder-Zettel (PLZ/Ort, In meiner Nähe) und Ergebnis-Zettel „Nächster Standort“ →
   Region-Band auf Streifen-Magenta hinter den Hero-Ecken (Bundesländer filtern Liste + Karte) →
   gezeichnete Nordkarte (sticky) neben der Standort-Liste → Hinweis Online-Kurse auf Dunkel → Beratungs-CTA.
   Tokens und Bausteine 1:1 aus angebot-v2-prototyp.html / standort-wb-prototyp.html. Ein Look, daher kein Dark-Mode-Block. */
html:has(.sbb-so){ scroll-behavior: smooth; background: var(--ground); }
.sbb-so{
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}
.sbb-so .hero :focus-visible, .sbb-so .stripes :focus-visible{ outline-color: var(--neon); }
.sbb-so .hero .zettel :focus-visible, .sbb-so .stripes .kzettel :focus-visible{ outline-color: var(--mag); }
.sbb-so h1, .sbb-so h2, .sbb-so h3{ text-wrap: balance; color: var(--night); margin: 0; }

/* Seitenabstand wie Oxygen-Klasse .section (1440 − 2 × 50 = 1340 px Inhalt) */

/* ---------- Grundbausteine (aus Startseite / Angebot v2 / Standort) ---------- */
.sbb-so .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75em 1.25em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

/* Aufkleber „Angabe von SBB“: gelbe Fläche, dunkle Schrift */

/* Regel 2: [data-wenn] = verschwindet samt Zubehör, wenn das Feld leer ist. */
.sbb-so [hidden]{ display: none !important; }

/* ---------- Hero ---------- */
.sbb-so .hero{
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 0 0 48px 48px;
  background-color: var(--night);
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  color: #fff;
}
.sbb-so .hero .wrap{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-block: clamp(28px, 4vw, 44px) clamp(96px, 10vw, 140px);
}
.sbb-so .crumbs{ grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: #fff; }
.sbb-so .hero-kicker{ font-size: clamp(15px, 1.4vw, 18px); }
.sbb-so .stack{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.14em;
  margin-top: 18px;
  font-family: var(--f-block);
  font-weight: 400;
  font-size: clamp(28px, 7.8vw, 72px);
  line-height: 1;
  color: #fff;
}
.sbb-so .stack .wb{ font-size: 1em; max-width: 100%; white-space: nowrap; }
.sbb-so .stack .wb:nth-child(1){ transform: rotate(-1.4deg); box-shadow: 0 0 0 3px var(--mag-dark), 0 7px 0 3px var(--mag-dark); }
.sbb-so .stack .wb:nth-child(2){ transform: rotate(1.2deg) translateX(0.3em); }
.sbb-so .hero-lead{
  max-width: 32em;
  margin-top: clamp(22px, 2.8vw, 34px);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

/* Finder-Zettel */
.sbb-so .finder-spalte{ display: grid; gap: 34px; margin-top: 8px; }
.sbb-so .zettel{
  position: relative;
  margin: 0 14px 14px 0;
  padding: clamp(22px, 2.6vw, 30px);
  border: 2px solid var(--night);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 14px 14px 0 0 var(--mag);
}
.sbb-so .zettel-sticker{ position: absolute; top: -18px; right: 18px; font-size: 15px; transform: rotate(3deg); white-space: nowrap; box-shadow: 0 0 0 2px var(--night); }
.sbb-so .zettel h2{ font: 800 clamp(22px, 2vw, 26px)/1.15 var(--f-head); color: var(--night); }

/* Ergebnis-Zettel */
@media (max-width: 960px){
  .sbb-so .hero .wrap{ grid-template-columns: minmax(0, 1fr); }
  .sbb-so .finder-spalte{ max-width: 520px; }
}

/* ---------- Region-Band ---------- */
.sbb-so .region{
  position: relative;
  z-index: 1;
  margin-top: -48px;
  padding-top: 48px;
  border-radius: 0 0 48px 48px;
  color: #fff;
}
.sbb-so .region .wrap{ display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding-block: clamp(30px, 4vw, 48px) clamp(34px, 4.4vw, 52px); }
.sbb-so .region h2{ font-size: clamp(22px, 2.4vw, 32px); }

/* ---------- Karte + Liste ---------- */
.sbb-so .sektion{ padding-block: clamp(48px, 6vw, 84px) 0; scroll-margin-top: 20px; }
.sbb-so .kopf{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.sbb-so .titel{ font-family: var(--f-head); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.015em; }
.sbb-so .raster{ display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 30px; }
.sbb-so .karten-spalte{ position: sticky; top: 16px; }
.sbb-so .karte{
  position: relative;
  border: 2px solid var(--night);
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 12px 12px 0 0 var(--mag);
  margin-right: 12px;
}

/* Liste */
.sbb-so .liste{ margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--night); }
.sbb-so .st-body{ min-width: 0; }

/* Ohne Foto rückt der Text nach links (keine leere Bildspalte) */
.sbb-so .st-bl:first-child + .st-name, .sbb-so .st-body > .st-name:first-child{ margin-top: 0; }
.sbb-so .st-bl{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 800 13px/1.4 var(--f-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--mag-deep); }
.sbb-so .st-name{ margin-top: 8px; font-size: clamp(19px, 1.9vw, 24px); }
.sbb-so .st-name .wb{ font-size: 1em; }

/* Farbe nach Position (Karten-Takt) */
.sbb-so .st:nth-child(4n+1) .st-name .wb{ background: var(--mag-deep); color: #fff; transform: rotate(-1.4deg); }
.sbb-so .st:nth-child(4n+2) .st-name .wb{ background: var(--night); color: #fff; transform: rotate(1deg); }
.sbb-so .st:nth-child(4n+3) .st-name .wb{ background: var(--paper); color: var(--night); box-shadow: 0 0 0 2px var(--night); transform: rotate(-0.8deg); }
.sbb-so .st:nth-child(4n+4) .st-name .wb{ background: var(--mag); color: #fff; transform: rotate(1.4deg); }
.sbb-so .st-adr{ margin-top: 10px; font-weight: 600; color: var(--night); line-height: 1.45; }
.sbb-so .st-aktion{ display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.sbb-so .pfeil{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--night);
  border-radius: 999px;
  background: var(--paper);
  font: 800 15px/1 var(--f-body);
  color: var(--night);
  white-space: nowrap;
  text-decoration: none;
  transition: transform 160ms ease;
}
.sbb-so .pfeil i{ font: normal 400 18px/1 var(--f-block); }
.sbb-so .pfeil:hover{ background: var(--night); color: #fff; transform: translateX(-4px); }
.sbb-so .liste-fuss{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 20px; }
@media (max-width: 980px){
  .sbb-so .raster{ grid-template-columns: minmax(0, 1fr); }
  .sbb-so .karten-spalte{ position: relative; top: 0; max-width: 640px; margin-bottom: 24px; } /* Versatz der Karte (14 px) braucht Luft zur Liste */
}
@media (max-width: 640px){
  .sbb-so .st-aktion{ grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 6px; }
}

/* ---------- Online-Hinweis (hell, statt dunklem Kasten; Kundenentscheidung 2026-10-11) ----------
   Weißer Zettel mit dunkler Kante und Magenta-Versatz wie die Anfahrt auf der Standortseite.
   Klassenname .dunkel bleibt nur, damit Markup und JS unverändert bleiben. */
.sbb-so .dunkel{
  position: relative;
  margin-right: 12px;
  padding: clamp(24px, 4vw, 48px);
  border: 2px solid var(--night);
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 12px 12px 0 0 var(--mag);
}
.sbb-so .dunkel .titel{ color: var(--night); }
.sbb-so .online{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sbb-so .online .text{ margin-top: 20px; max-width: 34em; font-size: 18px; }
.sbb-so .online .text + .text{ margin-top: 12px; }
.sbb-so .online .hero-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sbb-so .wege{ display: flex; flex-direction: column; gap: 12px; margin: 0 8px 8px 0; padding: 0; list-style: none; }
.sbb-so .wege li{ display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border: 2px solid var(--night); border-radius: 14px; background: var(--ground); }
.sbb-so .wege li:nth-child(1){ background: var(--paper); box-shadow: 8px 8px 0 0 var(--neon); }
.sbb-so .wege .ico{ display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--mag-soft); color: var(--mag); }
.sbb-so .wege .ico svg{ width: 26px; height: 26px; }
.sbb-so .wege b{ display: block; font: 800 clamp(18px, 1.5vw, 21px)/1.15 var(--f-head); color: var(--night); }
.sbb-so .wege p{ margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
@media (max-width: 860px){ .sbb-so .online{ grid-template-columns: minmax(0, 1fr); } }

/* ---------- Beratungs-CTA ---------- */
.sbb-so .kontakt{ margin-top: clamp(64px, 8vw, 112px); margin-inline: clamp(0px, 2vw, 24px); border-radius: 48px 48px 0 0; color: #fff; }
.sbb-so .kontakt .wrap{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(52px, 7vw, 96px); }
.sbb-so .kontakt-kopf{ font-size: clamp(30px, 3.8vw, 52px); }
.sbb-so .kontakt-kopf .wb + .wb{ margin-top: 0.14em; }
.sbb-so .kontakt .lead{ max-width: 32em; margin-top: 24px; font-size: 18px; font-weight: 500; color: #fff; }
.sbb-so .kontakt .hero-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sbb-so .kzettel{
  position: relative;
  margin: 0 14px 14px 0;
  padding: clamp(22px, 2.6vw, 30px);
  border: 2px solid var(--night);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 14px 14px 0 0 var(--night);
}
.sbb-so .kz-zeile{ padding-block: 12px; border-bottom: 1.5px dashed var(--line); }
.sbb-so .kz-zeile:first-of-type{ padding-top: 0; }
.sbb-so .kz-label{ display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mag-deep); }
.sbb-so .kz-wert{ display: block; margin-top: 2px; font-family: var(--f-head); font-weight: 800; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; color: var(--night); }
.sbb-so .kz-wert small{ display: block; font-family: var(--f-body); font-size: 15px; font-weight: 600; color: var(--muted); }
@media (max-width: 860px){ .sbb-so .kontakt .wrap{ grid-template-columns: minmax(0, 1fr); } .sbb-so .kontakt{ border-radius: 32px 32px 0 0; } }
@media (prefers-reduced-motion: reduce){
  html:has(.sbb-so){ scroll-behavior: auto; }
  .sbb-so .btn, .sbb-so .pfeil{ transition: none; }
  .sbb-so .btn:hover, .sbb-so .pfeil:hover{ transform: none; }
}

/* ---------- Echte Bausteine (Shortcodes + Oxygen-Repeater) ---------- */
/* Inline-Style des Prototyps als Klasse */
.sbb-so .kz-letzte{ border-bottom: 0; }

/* Online-Wege: Symbole als CSS-Maske (Inline-SVG geht im Oxygen-Konverter nicht) */
.sbb-so .wege .ico::before{ content: ""; width: 26px; height: 26px; background-color: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.sbb-so .wege .ico-online{ --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2212%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2020h8M12%2016v4%22%2F%3E%3C%2Fsvg%3E"); }
.sbb-so .wege .ico-telefon{ --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203h4l2%205-2.5%201.5a11%2011%200%200%200%206%206L16%2013l5%202v4a2%202%200%200%201-2%202A16%2016%200%200%201%203%205a2%202%200%200%201%202-2%22%2F%3E%3C%2Fsvg%3E"); }
.sbb-so .wege .ico-foerder{ --ico: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22M14.5%209.5a3%203%200%201%200%200%205M8%2011h5M8%2013.5h5%22%2F%3E%3C%2Fsvg%3E"); }

/* Region-Band: feste Länderliste statt Filter-Knöpfen (kein befülltes Filterfeld) */
.sbb-so .laender-band{ display: flex; flex-wrap: wrap; gap: 12px 10px; margin: 0; padding: 0; list-style: none; }
.sbb-so .laender-band li{ padding: 0.5em 0.65em 0.42em; border-radius: 0.6rem; background: var(--paper); color: var(--night); font: 400 clamp(15px, 1.4vw, 18px)/1 var(--f-block); text-transform: uppercase; box-shadow: 0 0 0 2px var(--night); }
.sbb-so .laender-band li:nth-child(odd){ transform: rotate(-1.5deg); }
.sbb-so .laender-band li:nth-child(even){ transform: rotate(1.2deg) translateY(2px); }

/* [standortfinder_form] auf dem Finder-Zettel */
.sbb-so .finder .sf-form{ margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.sbb-so .finder .sf-label{ display: block; margin: 16px 0 6px; font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mag-deep); }
.sbb-so .finder .sf-search-row{ display: flex; flex-wrap: nowrap; gap: 8px; }
.sbb-so .finder .sf-input{ flex: 1; min-width: 0; min-height: 52px; margin: 0; padding: 0 14px; border: 2px solid var(--night); border-radius: 12px; background: var(--paper); color: var(--night); font: 700 19px/1.2 var(--f-body); box-shadow: none; }
.sbb-so .finder .sf-input::placeholder{ color: #847A84; font-weight: 600; }
.sbb-so .finder .sf-input:focus-visible{ outline: 3px solid var(--mag); outline-offset: 2px; }
.sbb-so .finder .sf-search-row .sf-submit{ display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin: 0; padding: 0 1.25em; border: 2px solid transparent; border-radius: 12px; background: var(--mag); color: #fff; font: 800 16px/1.2 var(--f-body); text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer; transition: transform 160ms ease, background-color 160ms ease; }
.sbb-so .finder .sf-search-row .sf-submit::after{ content: "→"; margin-left: 0.55em; font-family: var(--f-block); font-weight: 400; }
.sbb-so .finder .sf-search-row .sf-submit:hover{ background: var(--night); color: #fff; transform: translateY(-2px); }
.sbb-so .finder .sf-search-row .sf-submit:focus-visible{ outline: 3px solid var(--mag); outline-offset: 3px; }
.sbb-so .finder .sf-geo{ display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 44px; padding: 0 16px 0 12px; border: 2px solid var(--night); border-radius: 999px; background: var(--paper); color: var(--night); font: 800 15px/1 var(--f-body); text-decoration: none; cursor: pointer; }
.sbb-so .finder .sf-geo[hidden]{ display: none; }
.sbb-so .finder .sf-geo:hover{ background: var(--mag-soft); }
.sbb-so .finder .sf-geo-hint{ margin: 10px 0 0; min-height: 1.5em; font-size: 14px; line-height: 1.5; color: var(--muted); }
.sbb-so .finder .sf-actions{ display: flex; margin-top: 4px; }
.sbb-so .finder .sf-reset{ font-size: 14px; font-weight: 700; color: var(--night); text-decoration: underline 1.5px; text-underline-offset: 4px; }
.sbb-so .finder .sf-reset:hover{ color: var(--mag-deep); }
@media (max-width: 420px){
  .sbb-so .finder .sf-search-row{ flex-wrap: wrap; }
  .sbb-so .finder .sf-search-row .sf-submit{ flex: 1; }
}

/* [standortfinder_count] als Zähl-Wortblock */
.sbb-so .zaehler-platz{ max-width: 100%; }
.sbb-so .zaehler-platz .sf-count{ display: inline-block; max-width: 100%; margin: 0; padding: 0.32em 0.5em 0.3em; border-radius: 0.6rem; background: var(--mag-deep); color: #fff; font: 400 clamp(17px, 1.6vw, 22px)/1.15 var(--f-block); text-transform: uppercase; transform: rotate(-2deg); box-shadow: 0 0 5px rgba(117, 17, 44, 0.55); }
.sbb-so .zaehler-platz .sf-nearest{ display: block; margin-top: 6px; font: 800 15px/1.35 var(--f-body); text-transform: none; color: #fff; opacity: 1; }
.sbb-so .zaehler-platz .sf-nearest strong{ color: var(--neon); }
.sbb-so .zaehler-platz .sf-error{ border: 2px solid var(--night); border-left: 6px solid var(--mag-deep); background: var(--mag-soft); color: var(--night); font: 600 16px/1.5 var(--f-body); text-transform: none; transform: none; box-shadow: none; }

/* [standorte_karte] im Kartenrahmen */
.sbb-so .karte .sbb-map-wrap{ margin: 0; }
.sbb-so .karte .sbb-map{ border-radius: 0; }
.sbb-so .karte .sbb-map-note{ margin: 0; padding: 12px 18px 16px; border-top: 2px solid var(--night); font-size: 14px; line-height: 1.5; color: var(--muted); opacity: 1; }

/* Oxygen-Repeater (CPT standorte) als Standort-Liste */
.sbb-so .liste.oxy-dynamic-list{ display: block; width: 100%; }
.sbb-so .liste > .st{ display: block; width: 100%; scroll-margin-top: 20px; }
.sbb-so .st-karte{ display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 6px 22px; align-items: start; width: 100%; padding: 20px 10px; border-bottom: 1.5px solid var(--line); transition: background-color 160ms ease; }
.sbb-so .liste > .st:last-child .st-karte{ border-bottom: 2px solid var(--night); }
.sbb-so .st-karte:hover, .sbb-so .st.is-highlight .st-karte{ background: var(--mag-soft); }
.sbb-so .st.is-highlight{ outline: 3px solid var(--mag); outline-offset: 0; border-radius: 0; }
.sbb-so .st-karte:not(:has(> .st-bild)){ grid-template-columns: minmax(0, 1fr) auto; }
.sbb-so img.st-bild{ display: block; width: 148px; max-width: none; height: 112px; margin: 0; border: 2px solid var(--night); border-radius: 10px; object-fit: cover; }
.sbb-so .st-bl .st-land:has(> span:empty), .sbb-so .st-bl > .ct-shortcode:empty{ display: none; }
.sbb-so .st-bl:not(:has(.sf-distanz)):has(.st-land > span:empty){ display: none; }
.sbb-so .st-bl .sf-distanz{ display: inline-block; padding: 2px 8px; border-radius: 0.4rem; background: var(--night); color: #fff; font: inherit; letter-spacing: 0.02em; }
.sbb-so .st-name .wb{ max-width: 100%; overflow-wrap: anywhere; }
.sbb-so .st-adr p{ margin: 0; }
.sbb-so .st-adr:has(> span:empty){ display: none; }
/* Kontakt der Karte ([sbb_standort_kontakt], 1.21.0) – leer = weg */
.sbb-so .st-body > .ct-shortcode:empty{ display: none; }
.sbb-so .st-kontakt{ display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; font-weight: 600; line-height: 1.45; }
.sbb-so .st-kontakt a{ color: var(--mag-deep); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.sbb-so .st-kontakt a:hover{ color: var(--night); }
/* Bild aus sbb_standort_bild_id(): ohne Bildquelle keine leere Spalte */
.sbb-so img.st-bild:not([src]), .sbb-so img.st-bild[src=""]{ display: none; }
.sbb-so .st-karte:has(> img.st-bild:not([src])), .sbb-so .st-karte:has(> img.st-bild[src=""]){ grid-template-columns: minmax(0, 1fr) auto; }
.sbb-so .st-aktion > .ct-shortcode:empty{ display: none; }
/* Kurs-Etikett steht im Markup NACH dem Link: [standort_angebote_count] setzt per wp_reset_postdata() den Beitrag zurück,
   ein danach folgender Titel-/Permalink-Baustein würde sonst die Seite statt des Standorts zeigen. Optisch wieder oben. */
.sbb-so .st-aktion > .st-kurse-sc{ order: -1; }
.sbb-so .st-aktion .sf-angebote{ display: inline-block; max-width: 15em; padding: 0.32em 0.5em 0.3em; border-radius: 0.5rem; background: var(--neon); color: var(--night); font: 400 15px/1.15 var(--f-block); text-transform: uppercase; text-align: right; box-shadow: 0 0 0 2px var(--night); transform: rotate(2deg); text-decoration: none; }
.sbb-so .st-aktion .sf-angebote > span[aria-hidden]{ display: none; }
.sbb-so .st-aktion a.sf-angebote:hover{ background: var(--night); color: #fff; }
.sbb-so a.pfeil{ flex-direction: row; }
.sbb-so .pfeil .ct-text-block{ display: inline; }
.sbb-so .pfeil .ct-fancy-icon{ display: inline-flex; width: 18px; height: 18px; }
.sbb-so .pfeil .ct-fancy-icon svg{ width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 640px){
  .sbb-so .st-karte{ grid-template-columns: 92px minmax(0, 1fr); gap: 6px 16px; padding: 18px 4px; }
  .sbb-so img.st-bild{ width: 92px; height: 92px; }
  .sbb-so .st-aktion{ grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 6px; }
  .sbb-so .st-aktion .sf-angebote{ text-align: left; }
  .sbb-so .st-karte:not(:has(> .st-bild)){ grid-template-columns: minmax(0, 1fr); }
  .sbb-so .st-karte:has(> img.st-bild:not([src])), .sbb-so .st-karte:has(> img.st-bild[src=""]){ grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce){
  .sbb-so .st-karte, .sbb-so .finder .sf-search-row .sf-submit{ transition: none; }
  .sbb-so .finder .sf-search-row .sf-submit:hover{ transform: none; }
}

/* ---------- Version 2 (1.29.0): [sbb_standorte_staedte] – eine Karte pro Stadt ---------- */
.sbb-so .liste.staedte{ display: block; width: 100%; }
.sbb-so .st-orte{ display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.sbb-so .st-orte > li{ padding-top: 10px; border-top: 1.5px dashed var(--line); scroll-margin-top: 20px; }
.sbb-so .st-orte > li.is-highlight{ background: var(--mag-soft); }
.sbb-so .st-orte b{ display: block; font: 800 17px/1.3 var(--f-head); color: var(--night); }
.sbb-so .st-adr-zeile{ display: block; font-weight: 600; line-height: 1.45; color: var(--night); }
.sbb-so .st-orte .st-kontakt{ margin-top: 4px; }
.sbb-so .st-aktion > .sf-angebote:first-child{ order: -1; }
