/* stehle bewegt 2.80.0: Anzeigen auf den Werbeplätzen und Seite „Werben im Rehasport-Kompass“.
   Ruhig und klar als „Anzeige“ erkennbar: warme Fläche, Marke oben, ein Knopf. Farben aus Avada (stehle-bewegt.css), mit Ersatzwerten. */
.sbw { --sbw-flaeche: #fbf8f2; --sbw-rahmen: #eadfca; --sbw-marke-hg: #f1e6d2; --sbw-marke: var(--sb-c-warmtext, #6f4113); --sbw-akzent: var(--sb-akzent, var(--sb-c-akzent, #2c6b6b)); --sbw-leise: var(--sb-text-leise, var(--sb-c-leise, #5f6b6b)); box-sizing: border-box; color: var(--sb-text, var(--sb-c-schrift, #2f3434)); }
.sbw *, .sbw *::before, .sbw *::after { box-sizing: border-box; }
.sbw-marke { display: inline-block; align-self: flex-start; padding: calc(3 * var(--sb-ab, 1px)) calc(9 * var(--sb-ab, 1px)); border-radius: calc(6 * var(--sb-rk, 1px)); background: var(--sbw-marke-hg); color: var(--sbw-marke); font-size: calc(.72 * var(--sb-rem, 16px)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.sbw-titel { margin: 0 !important; font-weight: 700; font-size: calc(1.1 * var(--sb-rem, 16px)); line-height: 1.3; color: var(--sb-text, var(--sb-c-schrift, #2f3434)); }
.sbw-text { margin: 0 !important; font-size: calc(.98 * var(--sb-rem, 16px)); line-height: 1.5; }
.sbw-firma { margin: 0 !important; font-size: calc(.88 * var(--sb-rem, 16px)); color: var(--sbw-leise); }
.sbw-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sbw-logo-leer { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 90px; padding: calc(10 * var(--sb-ab, 1px)); background: linear-gradient(135deg, #f6eddc, #efe3cc); color: #a07a45; font-weight: 700; font-size: calc(.9 * var(--sb-rem, 16px)); letter-spacing: .06em; text-transform: uppercase; text-align: center; overflow-wrap: anywhere; hyphens: auto; }
.sbw a, .sbw a:hover { text-decoration: none; }
.sbw-quer .sbw-logo-leer { font-size: calc(.68 * var(--sb-rem, 16px)); letter-spacing: .03em; padding: calc(6 * var(--sb-ab, 1px)); }
.sbw-ueber { margin: 0 0 calc(8 * var(--sb-ab, 1px)) !important; font-size: calc(.82 * var(--sb-rem, 16px)); font-weight: 700; color: var(--sbw-leise); text-transform: uppercase; letter-spacing: .06em; }

/* Katalog: Karte im Raster der Übungen */
.sbw--katalog { display: flex; flex-direction: column; position: relative; border: 1px solid var(--sbw-rahmen) !important; border-radius: calc(12 * var(--sb-rk, 1px)); overflow: hidden; background: var(--sbw-flaeche) !important; }
.sbw--katalog .sbw-bild { display: block; aspect-ratio: 3 / 2; background: var(--sb-c-basis, #fff); }
.sbw--katalog .sbw-inhalt { display: flex; flex-direction: column; gap: calc(6 * var(--sb-ab, 1px)); padding: calc(12 * var(--sb-ab, 1px)) calc(16 * var(--sb-ab, 1px)) calc(16 * var(--sb-ab, 1px)); }
.sbw--katalog .sbw-titel { margin: 2px 0 0 !important; font-size: calc(1.15 * var(--sb-rem, 16px)); }
.sbw-knopf-text { font-weight: 700; color: var(--sbw-akzent); }

/* Übungsseite, Gruppensuche, Zentrale: quer, Bild links */
.sbw--uebung, .sbw--gruppen { margin: calc(22 * var(--sb-ab, 1px)) 0; padding: calc(16 * var(--sb-ab, 1px)); border: 1px solid var(--sbw-rahmen); border-radius: calc(12 * var(--sb-rk, 1px)); background: var(--sbw-flaeche); }
.sbw-quer { display: flex; gap: calc(16 * var(--sb-ab, 1px)); align-items: flex-start; }
.sbw-quer > .sbw-bild { flex: none; display: block; width: 120px; aspect-ratio: 1; border-radius: calc(10 * var(--sb-rk, 1px)); overflow: hidden; background: var(--sb-c-basis, #fff); border: 1px solid var(--sbw-rahmen); }
.sbw-quer .sbw-inhalt { display: flex; flex-direction: column; gap: calc(6 * var(--sb-ab, 1px)); min-width: 0; }
.sbw-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: calc(6 * var(--sb-ab, 1px)) calc(14 * var(--sb-ab, 1px)); margin: calc(4 * var(--sb-ab, 1px)) 0 0 !important; }
.sbw a.sbw-knopf { display: inline-flex; align-items: center; min-height: 40px; padding: 0 calc(16 * var(--sb-ab, 1px)); border: 2px solid var(--sbw-akzent); border-radius: var(--sb-rp, 999px); color: var(--sbw-akzent); font-weight: 700; text-decoration: none; background: var(--sb-c-basis, #fff); }
.sbw a.sbw-knopf:hover { background: var(--sbw-akzent); color: #fff; }
.sbw a:focus-visible { outline: 3px solid var(--sbw-akzent); outline-offset: 2px; }
.sbw--zentrale .sbw-quer > .sbw-bild { width: 96px; }
@container (max-width: 520px) { .sbw-quer > .sbw-bild { width: 76px; } }
@media (max-width: 520px) { .sbw-quer > .sbw-bild { width: 76px; } .sbw--uebung, .sbw--gruppen { padding: calc(12 * var(--sb-ab, 1px)); } }

/* Vorschau und Test: nur für den Admin */
.sbw--vorschau { outline: 2px dashed #c9a227; outline-offset: 3px; }
.sbw-vorschau-hinweis { margin: 0 0 calc(10 * var(--sb-ab, 1px)) !important; padding: calc(6 * var(--sb-ab, 1px)) calc(10 * var(--sb-ab, 1px)); border-radius: calc(8 * var(--sb-rk, 1px)); background: #fff4c2; color: #5c4700; font-size: calc(.85 * var(--sb-rem, 16px)); font-weight: 600; }
.sbw--katalog .sbw-vorschau-hinweis { margin: 0 0 calc(4 * var(--sb-ab, 1px)) !important; }

@media print { .sbw { display: none !important; } }

/* Seite „Werben im Rehasport-Kompass“ */
.sbw-seite h2 { margin: calc(34 * var(--sb-ab, 1px)) 0 calc(14 * var(--sb-ab, 1px)) !important; }
.sbw-plaetze { display: grid; gap: calc(18 * var(--sb-ab, 1px)); }
@container kk (min-width: 760px) { .sbw-plaetze { grid-template-columns: 1fr 1fr; } }
.sbw-platz { padding: calc(20 * var(--sb-ab, 1px)); background: var(--sb-c-basis, #fff); border: 1.5px solid var(--sx-line, var(--sb-c-linie, #dfe6e6)); border-radius: calc(14 * var(--sb-rk, 1px)); }
.sbw-platz h3 { margin: 0 0 calc(6 * var(--sb-ab, 1px)) !important; font-size: calc(1.25 * var(--sb-rem, 16px)) !important; }
.sbw-platz > p { margin: 0 0 calc(14 * var(--sb-ab, 1px)); font-size: calc(1.05 * var(--sb-rem, 16px)); line-height: 1.5; }
.sbw-beispiel { pointer-events: none; }
.sbw-beispiel .sbw { margin: 0; }
.sbw-beispiel--katalog .sbw--katalog { max-width: 260px; }
.sbw-beispiel--zentrale .sbw--zentrale { padding: calc(16 * var(--sb-ab, 1px)); border: 1px solid var(--sx-line, var(--sb-c-linie, #dfe6e6)); border-radius: calc(12 * var(--sb-rk, 1px)); background: var(--sb-c-basis, #fff); }
.sbw-beispiel--zentrale .sbw--zentrale::before { content: "Anzeige"; display: block; margin: 0 0 calc(10 * var(--sb-ab, 1px)); font-weight: 700; color: var(--sx-petrol-ink, var(--sb-c-akzent, #2c6b6b)); }
.sbw-regeln { margin: 0 0 calc(18 * var(--sb-ab, 1px)); padding-left: 1.2em; font-size: calc(1.1 * var(--sb-rem, 16px)); line-height: 1.55; }
.sbw-regeln li { margin: 0 0 calc(6 * var(--sb-ab, 1px)); }
.sbw-anfrage { margin: calc(30 * var(--sb-ab, 1px)) 0 0; padding: calc(26 * var(--sb-ab, 1px)); background: var(--sx-soft, color-mix(in srgb, var(--sb-c-hell, #419595) 9%, var(--sb-c-basis, #fff))); border-radius: calc(16 * var(--sb-rk, 1px)); }
.sbw-anfrage h2 { margin-top: 0 !important; }
.sbw-felder { display: grid; gap: calc(4 * var(--sb-ab, 1px)) calc(18 * var(--sb-ab, 1px)); }
@container kk (min-width: 700px) { .sbw-felder { grid-template-columns: 1fr 1fr; } }
.sbw-feld { margin: 0 0 calc(12 * var(--sb-ab, 1px)) !important; }
.sbw-feld label { display: block; margin: 0 0 calc(4 * var(--sb-ab, 1px)); font-weight: 600; font-size: calc(1 * var(--sb-rem, 16px)); }
.sbw-feld input, .sbw-feld textarea { width: 100%; min-height: 48px; padding: calc(10 * var(--sb-ab, 1px)) calc(14 * var(--sb-ab, 1px)); border: 1.5px solid var(--sx-line, #cfdada); border-radius: calc(10 * var(--sb-rf, 1px)); background: var(--sb-c-basis, #fff); font: inherit; font-size: calc(1 * var(--sb-rem, 16px)); }
.sbw-feld input[type=file] { padding: calc(10 * var(--sb-ab, 1px)); }
.sbw-feld textarea { min-height: 0; }
.sbw-wahl { margin: calc(4 * var(--sb-ab, 1px)) 0 calc(14 * var(--sb-ab, 1px)); padding: 0; border: 0; }
.sbw-wahl legend { font-weight: 600; margin: 0 0 calc(6 * var(--sb-ab, 1px)); }
.sbw-wahl label { display: inline-flex; align-items: center; gap: calc(8 * var(--sb-ab, 1px)); margin: 0 calc(18 * var(--sb-ab, 1px)) calc(8 * var(--sb-ab, 1px)) 0; font-size: calc(1 * var(--sb-rem, 16px)); }
.sbw-wahl input, .sbw-ds input { width: 20px; height: 20px; }
.sbw-ds { font-size: calc(.98 * var(--sb-rem, 16px)); }
.sbw-ds label { display: flex; gap: calc(10 * var(--sb-ab, 1px)); align-items: flex-start; }
.sbw-klein { font-size: calc(.95 * var(--sb-rem, 16px)); color: var(--sx-muted, var(--sb-c-leise, #5f6b6b)); margin: 0 0 calc(10 * var(--sb-ab, 1px)) !important; }
.sbw-honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sbw-meldung { padding: calc(14 * var(--sb-ab, 1px)) calc(18 * var(--sb-ab, 1px)); border-radius: calc(10 * var(--sb-rk, 1px)); font-size: calc(1.1 * var(--sb-rem, 16px)); }
.sbw-meldung--ok { background: #e3f3e8; color: #1d5a33; }
.sbw-meldung--fehler { background: #fde7e4; color: #8a2a1c; }
.kk button.kk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 calc(28 * var(--sb-ab, 1px)); border-radius: calc(12 * var(--sb-rk, 1px)); font: inherit; font-size: calc(1.2 * var(--sb-rem, 16px)); font-weight: 700; border: 0; cursor: pointer; background: var(--sx-orange, var(--sb-c-warmtext, #9a5a1a)); color: #fff; }
.sbw-teil-text { margin: calc(-6 * var(--sb-ab, 1px)) 0 calc(14 * var(--sb-ab, 1px)) !important; font-size: calc(1.1 * var(--sb-rem, 16px)); color: var(--sx-muted, var(--sb-c-leise, #5f6b6b)); }
/* 2.148.0 Platz Vertretungsbörse: Karte im Raster der Gesuche, gleiche Größe wie ein Zettel */
.sbw--vertretung { display: flex; flex-direction: column; margin: 0; border-radius: calc(12 * var(--sb-rk, 1px)); overflow: hidden; background: var(--sbw-flaeche); border-top: 5px solid var(--sbw-rahmen); box-shadow: 0 2px 6px rgba(0,0,0,.07); }
.sbw--vertretung > .sbw-bild { display: block; aspect-ratio: 16 / 9; background: var(--sb-c-basis, #fff); border-bottom: 1px solid var(--sbw-rahmen); }
.sbw--vertretung .sbw-inhalt { display: flex; flex-direction: column; flex: 1; gap: calc(6 * var(--sb-ab, 1px)); padding: calc(12 * var(--sb-ab, 1px)) calc(18 * var(--sb-ab, 1px)) calc(16 * var(--sb-ab, 1px)); }
.sbw--vertretung .sbw-fuss { margin-top: auto !important; padding-top: calc(6 * var(--sb-ab, 1px)); }
.sbw--vertretung.sbw--vorschau { outline-offset: 2px; }
.sbw-beispiel--vertretung .sbw--vertretung { max-width: 300px; }
/* 2.148.0 Preistabelle auf „Werben bei stehle bewegt“ */
.sbw-preise-huelle { overflow-x: auto; margin: 0 0 calc(12 * var(--sb-ab, 1px)); border: 1.5px solid var(--sx-line, var(--sb-c-linie, #dfe6e6)); border-radius: calc(14 * var(--sb-rk, 1px)); background: var(--sb-c-basis, #fff); }
.sbw-preise { width: 100%; border-collapse: collapse; margin: 0 !important; font-size: calc(1.05 * var(--sb-rem, 16px)); }
.sbw-preise th, .sbw-preise td { padding: calc(12 * var(--sb-ab, 1px)) calc(16 * var(--sb-ab, 1px)) !important; text-align: left; border: 0 !important; border-bottom: 1px solid var(--sx-line, var(--sb-c-linie, #dfe6e6)) !important; vertical-align: top; }
.sbw-preise thead th { font-size: calc(.85 * var(--sb-rem, 16px)); text-transform: uppercase; letter-spacing: .05em; color: var(--sx-muted, var(--sb-c-leise, #5f6b6b)); background: transparent !important; }
.sbw-preise tbody th { font-weight: 600; }
.sbw-preise tbody tr:last-child > * { border-bottom: 0 !important; }
.sbw-preise td { white-space: nowrap; }
.sbw-preise s { color: var(--sx-muted, var(--sb-c-leise, #5f6b6b)); }
.sbw-preis-zusatz { display: block; font-size: calc(.85 * var(--sb-rem, 16px)); color: var(--sx-muted, var(--sb-c-leise, #5f6b6b)); white-space: normal; }
.sbw-preise-paket { background: var(--sx-soft, color-mix(in srgb, var(--sb-c-hell, #419595) 9%, var(--sb-c-basis, #fff))); }
.sbw-preis-regeln { margin: 0 0 calc(10 * var(--sb-ab, 1px)); padding-left: 1.2em; font-size: calc(1 * var(--sb-rem, 16px)); line-height: 1.55; }
