/* shop-staging.de - eigenes Stylesheet, eigene Klassen (Präfix sm_).
   Formensprache der Familie (shop-buchhaltung.de, shop-affiliate.de, store-firewall.de).
   Aufbau: Werte, Grundformen, Leiste, Knöpfe, Bühne, Felder, Bausteine, Nachbauten, Preise,
   Fragen, Ende. Medienabfragen ganz hinten, von breit nach schmal. */

:root {
  --sm-tinte: #111c33;
  --sm-tinte-hell: #23324f;
  --sm-text: #3a475d;
  --sm-leise: #59657a;           /* 5,7:1 auf Weiß */
  --sm-linie: #e3e8f0;
  --sm-linie-fest: #ccd4e0;
  --sm-weiss: #ffffff;
  --sm-grund: #f5f7fb;
  --sm-akzent: #c2410c;          /* 5,2:1 auf Weiß */
  --sm-akzent-tief: #9a3412;
  --sm-akzent-hauch: #fff1ea;
  --sm-gruen: #157347;
  --sm-gruen-hauch: #e6f4ec;
  --sm-gelb: #925a05;
  --sm-gelb-hauch: #fcf2df;
  --sm-rot: #b4281d;
  --sm-rot-hauch: #fbe9e7;
  --sm-blau: #1d5fb5;
  --sm-blau-hauch: #e8f0fb;
  --sm-nacht: #0e1830;
  --sm-verlauf: linear-gradient(140deg, #fdf1ea 0%, #f4f4fb 50%, #edf4f8 100%);
  --sm-schatten: 0 1px 2px rgba(17, 28, 51, .05), 0 8px 22px rgba(17, 28, 51, .07);
  --sm-schatten-gross: 0 2px 5px rgba(17, 28, 51, .06), 0 24px 52px rgba(17, 28, 51, .13);
  --sm-ecke: 15px;
  --sm-ecke-klein: 10px;
  --sm-schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --sm-fest: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sm-max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--sm-weiss);
  color: var(--sm-text);
  font: 16.5px/1.62 var(--sm-schrift);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--sm-akzent); text-underline-offset: 3px; }
a:hover { color: var(--sm-akzent-tief); }
p, ul, ol, dl, dd, figure { margin: 0; }
p, li, dd, td { text-wrap: pretty; }
h1, h2, h3 { margin: 0; color: var(--sm-tinte); font-weight: 800; letter-spacing: -0.022em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.8vw, 43px); line-height: 1.1; }
h3 { font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; }
code { overflow-wrap: anywhere; padding: 1px 6px; border: 1px solid var(--sm-linie); border-radius: 6px; background: var(--sm-grund); font: .88em var(--sm-fest); }
strong { color: var(--sm-tinte); }
.sm_ganz { white-space: nowrap; }
.sm_unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sm_breite { max-width: var(--sm-max); margin: 0 auto; padding: 0 30px; }
.sm_breite_schmal { max-width: 880px; }
.sm_mitte { margin-left: auto; margin-right: auto; }
.sm_abstand_oben { margin-top: 22px; }

.sm_symbol { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sm_zeichen { flex: none; }
.sm_zeichen_hinten { fill: none; stroke: currentColor; stroke-width: 1.9; }
.sm_zeichen_vorn { fill: var(--sm-akzent); stroke: var(--sm-akzent); stroke-width: 1.9; }

/* ---- Leiste ---- */
.sm_leiste { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--sm-linie); backdrop-filter: saturate(1.4) blur(10px); }
.sm_leiste_zeile { display: flex; align-items: center; gap: 26px; max-width: var(--sm-max); margin: 0 auto; padding: 13px 30px; }
.sm_marke { display: inline-flex; align-items: center; gap: 10px; color: var(--sm-tinte); font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.sm_marke:hover { color: var(--sm-tinte); }
.sm_wege { display: flex; gap: 22px; margin-left: auto; }
.sm_wege a { color: var(--sm-text); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sm_wege a:hover, .sm_wege a[aria-current="page"], .sm_wege a.sm_wege_zweig { color: var(--sm-akzent); }
.sm_leiste_rechts { display: flex; align-items: center; gap: 18px; }
.sm_leiste_wort { color: var(--sm-text); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sm_leiste_wort:hover { color: var(--sm-akzent); }
.sm_kurz { display: none; }

/* ---- Knöpfe ---- */
.sm_knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 1px solid transparent; border-radius: 999px; font-size: 15.5px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.sm_knopf_tinte { background: var(--sm-tinte); color: #fff; }
.sm_knopf_tinte:hover { background: var(--sm-tinte-hell); color: #fff; }
.sm_knopf_hell { background: #fff; border-color: var(--sm-linie-fest); color: var(--sm-tinte); }
.sm_knopf_hell:hover { border-color: var(--sm-tinte); color: var(--sm-tinte); }
.sm_knopf_akzent { background: var(--sm-akzent); color: #fff; }
.sm_knopf_akzent:hover { background: var(--sm-akzent-tief); color: #fff; }
.sm_knopf_rand { border-color: rgba(255, 255, 255, .35); color: #fff; }
.sm_knopf_rand:hover { border-color: #fff; color: #fff; }
.sm_knopf_eng { min-height: 40px; padding: 9px 18px; font-size: 14.5px; }
.sm_knopfzeile { display: flex; flex-wrap: wrap; gap: 12px; }
.sm_knopfzeile_mitte { justify-content: center; }

/* ---- Schild ---- */
.sm_schild { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 13px; border: 1px solid var(--sm-linie); border-radius: 999px; background: #fff; box-shadow: 0 3px 12px rgba(17, 28, 51, .05); color: var(--sm-tinte); font-size: 13.5px; font-weight: 700; line-height: 1.4; letter-spacing: normal; }
.sm_schild b { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sm-akzent); }
.sm_schild_akzent { border-color: #f5cdb8; }
.sm_schild_rot b { background: var(--sm-rot); }
.sm_schild_hell { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07); box-shadow: none; color: #e9eef7; }

/* ---- Bühne der Startseite ---- */
.sm_buehne { padding: 78px 0 84px; background: var(--sm-verlauf); }
.sm_buehne_raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 54px; align-items: center; }
.sm_buehne_titel { font-size: clamp(38px, 5.1vw, 60px); line-height: 1.04; }
.sm_buehne_text, .sm_buehne_bild { min-width: 0; }
.sm_buehne_titel .sm_schild { display: flex; width: fit-content; max-width: 100%; margin-bottom: 24px; }
.sm_buehne_titel > span { display: block; }
.sm_buehne_titel em { color: var(--sm-akzent); font-style: normal; }
.sm_buehne_lead { max-width: 50ch; margin-top: 22px; font-size: clamp(17px, 1.65vw, 19px); line-height: 1.56; }
.sm_buehne .sm_knopfzeile { margin-top: 30px; }
.sm_weiter { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 15px; font-weight: 600; }
.sm_notiz { display: flex; align-items: center; gap: 9px; margin-top: 18px; color: var(--sm-leise); font-size: 14.5px; }
.sm_notiz::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--sm-gruen); }
.sm_eckdaten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 46px; padding: 0; list-style: none; }
.sm_eckdaten li { padding: 17px 19px; border: 1px solid var(--sm-linie); border-radius: var(--sm-ecke-klein); background: #fff; box-shadow: var(--sm-schatten); }
.sm_eckdaten strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; }
.sm_eckdaten span { display: block; margin-top: 5px; color: var(--sm-leise); font-size: 13.5px; line-height: 1.45; }

/* ---- Auftakt der Unterseiten ---- */
.sm_auftakt { padding: 30px 0 52px; background: var(--sm-verlauf); border-bottom: 1px solid var(--sm-linie); }
.sm_pfad { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 30px; padding: 0; list-style: none; font-size: 14px; }
.sm_pfad li { color: var(--sm-leise); }
.sm_pfad li + li::before { content: "/"; margin: 0 9px; color: var(--sm-linie-fest); }
.sm_pfad a { color: var(--sm-leise); text-decoration: none; }
.sm_pfad a:hover { color: var(--sm-akzent); }
.sm_auftakt_titel { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.07; }
.sm_auftakt_titel .sm_schild { display: flex; width: fit-content; max-width: 100%; margin-bottom: 20px; }
.sm_auftakt_titel > span { display: block; }
.sm_auftakt_text { max-width: 62ch; margin-top: 20px; font-size: clamp(17px, 1.6vw, 18.5px); line-height: 1.58; }

/* ---- Felder ---- */
.sm_feld { padding: 96px 0; }
.sm_feld_hell { background: var(--sm-grund); border-top: 1px solid var(--sm-linie); border-bottom: 1px solid var(--sm-linie); }
.sm_feld_tinte { background: var(--sm-nacht); color: #c9d3e3; }
.sm_feld_tinte h2, .sm_feld_tinte strong { color: #fff; }
.sm_feld_tinte a { color: #ffb48f; }
.sm_feld_tinte a:hover { color: #fff; }
.sm_feld_schluss { padding: 88px 0; background: var(--sm-nacht); color: #c9d3e3; text-align: center; }
.sm_schluss h2 { color: #fff; }
.sm_schluss p { margin-top: 16px; font-size: 18px; }
.sm_schluss .sm_knopfzeile { margin-top: 30px; }

.sm_kopfzeile { margin-bottom: 40px; }
.sm_kopfzeile .sm_schild { margin-bottom: 18px; }
.sm_kopfzeile p { max-width: 62ch; margin-top: 16px; color: var(--sm-leise); font-size: 17.5px; }
.sm_feld_tinte .sm_kopfzeile p { color: #b9c4d6; }
.sm_kopfzeile_mitte { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.sm_kopfzeile_mitte p { margin-left: auto; margin-right: auto; }

.sm_zweispalter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.sm_zweispalter .sm_kopfzeile { margin-bottom: 26px; }
.sm_mehr { margin-top: 26px; font-weight: 700; }
.sm_weiter_themen { align-items: baseline; margin-top: 26px; }
.sm_weiter_themen span { color: var(--sm-leise); font-weight: 600; }
.sm_mehr a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.sm_mehr a::after { content: "→"; transition: transform .15s; }
.sm_mehr a:hover::after { transform: translateX(3px); }
.sm_mehr_mitte { text-align: center; }
.sm_klein { margin-top: 22px; font-size: 15px; line-height: 1.6; }

/* ---- Karten ---- */
.sm_karten { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.sm_karten_vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sm_karte { padding: 26px 24px 28px; border: 1px solid var(--sm-linie); border-radius: var(--sm-ecke); background: #fff; box-shadow: var(--sm-schatten); }
.sm_karte h3 { margin-top: 18px; }
.sm_karte p { margin-top: 10px; font-size: 15.5px; line-height: 1.58; }
.sm_karte_symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sm-akzent-hauch); color: var(--sm-akzent); }
.sm_ton_rot { background: var(--sm-rot-hauch); color: var(--sm-rot); }

.sm_karten_zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---- Fließtext und Hinweis ---- */
.sm_text p { font-size: 17px; line-height: 1.68; }
.sm_text p + p { margin-top: 14px; }
.sm_kopfzeile + .sm_text, .sm_text + .sm_haken, .sm_text + .sm_begriffe, .sm_text + .sm_schritte, .sm_text + .sm_hinweis, .sm_haken + .sm_hinweis, .sm_begriffe + .sm_hinweis, .sm_schritte + .sm_hinweis { margin-top: 22px; }
.sm_text + .sm_kopfzeile, .sm_haken + .sm_kopfzeile, .sm_begriffe + .sm_kopfzeile, .sm_hinweis + .sm_kopfzeile, .sm_schritte + .sm_kopfzeile, .sm_tabellenrahmen + .sm_kopfzeile, .sm_karten + .sm_kopfzeile { margin-top: 56px; }
.sm_kopfzeile + .sm_karten, .sm_text + .sm_karten, .sm_text + .sm_tabellenrahmen { margin-top: 8px; }
.sm_hinweis { padding: 16px 20px; border: 1px solid #f5cdb8; border-left: 4px solid var(--sm-akzent); border-radius: var(--sm-ecke-klein); background: var(--sm-akzent-hauch); }
.sm_hinweis strong { display: block; margin-bottom: 4px; }
.sm_hinweis p { font-size: 15.5px; line-height: 1.6; }
.sm_haken code, .sm_begriffe code, .sm_text code { overflow-wrap: anywhere; }

/* ---- Schritte ---- */
.sm_schritte { margin: 0; padding: 0; list-style: none; counter-reset: sm_schritt; }
.sm_schritte li { position: relative; padding: 0 0 20px 54px; counter-increment: sm_schritt; }
.sm_schritte li::before { content: counter(sm_schritt); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sm-tinte); color: #fff; font-size: 15px; font-weight: 800; }
.sm_schritte li:not(:last-child)::after { content: ""; position: absolute; left: 17.5px; top: 40px; bottom: 4px; width: 1px; background: var(--sm-linie-fest); }
.sm_schritte strong { display: block; font-size: 17px; line-height: 2.1; }
.sm_schritte span { display: block; font-size: 15.5px; line-height: 1.55; }

/* ---- Listen ---- */
.sm_haken { margin: 0; padding: 0; list-style: none; }
.sm_haken li { position: relative; padding: 0 0 13px 32px; font-size: 16px; line-height: 1.55; }
.sm_haken li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--sm-gruen-hauch) url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2018%2018'%3E%3Cpath%20d='m5%209.3%202.6%202.6L13%206.4'%20fill='none'%20stroke='%23157347'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.sm_begriffe { display: grid; gap: 14px; }
.sm_begriffe div { padding: 15px 18px; border: 1px solid var(--sm-linie); border-radius: var(--sm-ecke-klein); background: #fff; }
.sm_begriffe dt { color: var(--sm-tinte); font-weight: 700; }
.sm_begriffe dd { margin-top: 3px; font-size: 15px; line-height: 1.55; }

.sm_pillen { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sm_pillen li { padding: 9px 17px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 15px; font-weight: 700; }

/* ---- Kacheln (Beispiele, Nachbarn) ---- */
.sm_kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.sm_kachel { position: relative; padding: 24px 24px 26px; border: 1px solid var(--sm-linie); border-radius: var(--sm-ecke); background: #fff; box-shadow: var(--sm-schatten); transition: border-color .15s, transform .15s; }
.sm_kachel:hover { border-color: var(--sm-akzent); transform: translateY(-2px); }
.sm_kachel_link { color: var(--sm-tinte); font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; text-decoration: none; }
.sm_kachel_link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sm_kachel_link::after { content: " →"; color: var(--sm-akzent); }
.sm_kachel p { margin-top: 10px; font-size: 15px; line-height: 1.55; }

/* ---- Vergleichstabelle ---- */
.sm_tabellenrahmen { position: relative; overflow-x: auto; border: 1px solid var(--sm-linie); border-radius: var(--sm-ecke); background: #fff; box-shadow: var(--sm-schatten); }
.sm_tabelle { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.sm_tabelle th, .sm_tabelle td { padding: 15px 20px; border-bottom: 1px solid var(--sm-linie); text-align: left; vertical-align: top; }
.sm_tabelle thead th { background: var(--sm-grund); color: var(--sm-tinte); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sm_tabelle thead th:last-child { color: var(--sm-akzent); }
.sm_tabelle tbody th { width: 26%; color: var(--sm-tinte); font-weight: 700; }
.sm_tabelle tbody td { width: 37%; }
.sm_tabelle tbody td:last-child { background: #fffaf7; }
.sm_tabelle tbody tr:last-child > * { border-bottom: 0; }
.sm_tabelle_gruppe th { padding: 11px 20px; background: var(--sm-grund); color: var(--sm-leise); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.sm_tabelle_frei { min-width: 0; }
.sm_tabelle_frei tbody th, .sm_tabelle_frei tbody td { width: auto; }
.sm_tabelle_frei tbody td:last-child { background: none; }
.sm_tabelle_frei thead th:last-child { color: var(--sm-tinte); }

/* ---- Passung ---- */
.sm_passung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.sm_passung > div { padding: 28px 30px; border: 1px solid var(--sm-linie); border-radius: var(--sm-ecke); background: #fff; }
.sm_passung h3 { margin-bottom: 14px; }
.sm_passung ul { margin: 0; padding: 0; list-style: none; }
.sm_passung li { position: relative; padding: 0 0 11px 28px; font-size: 15.5px; line-height: 1.55; }
.sm_passung li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.sm_passung_ja li::before { content: "✓"; color: var(--sm-gruen); }
.sm_passung_nein li::before { content: "–"; color: var(--sm-rot); }

/* ---- Nachbauten: Fenster ---- */
.sm_fenster { overflow: hidden; border: 1px solid var(--sm-linie-fest); border-radius: 14px; background: #fff; box-shadow: var(--sm-schatten-gross); }
.sm_fenster_balken { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--sm-grund); border-bottom: 1px solid var(--sm-linie); }
.sm_fenster_balken i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sm-linie-fest); }
.sm_fenster_balken span { overflow: hidden; margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: #fff; color: var(--sm-leise); font: 12px var(--sm-fest); white-space: nowrap; text-overflow: ellipsis; }
.sm_fenster_bild { padding: 18px; font-size: 13px; line-height: 1.45; container-type: inline-size; }
.sm_fenster_adm .sm_fenster_bild { background: #fbfcfe; }

/* ---- Nachbauten: Bausteine der Administration ---- */
.sm_adm_kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.sm_adm_kopf strong { flex: 1 1 auto; font-size: 15px; }
.sm_adm_kopf_umbruch .sm_adm_knopf:first-of-type { margin-left: auto; }
.sm_adm_knopf { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border: 1px solid var(--sm-linie-fest); border-radius: 6px; background: #fff; color: var(--sm-tinte); font-size: 12px; font-weight: 600; white-space: nowrap; }
.sm_adm_knopf_voll { border-color: #2456c4; background: #2456c4; color: #fff; }
.sm_adm_knopf_rot { border-color: #c01e3c; background: #c01e3c; color: #fff; }
.sm_adm_knopf_menue::after { content: ""; width: 5px; height: 5px; margin: -3px 1px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.sm_adm_punkte { align-self: stretch; gap: 3px; padding: 5px 9px; }
.sm_adm_punkte i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.sm_adm_marke { display: inline-block; padding: 1px 8px; border-radius: 4px; background: #e9edf2; color: #5c6a79; font-size: 10px; font-weight: 700; letter-spacing: .05em; line-height: 1.6; text-transform: uppercase; white-space: nowrap; }
.sm_adm_marke_erfolg { background: #e0f5e8; color: #157439; }
.sm_adm_marke_info { background: #e4edfd; color: #2456c4; }
.sm_adm_marke_ziel { background: #ece7fb; color: #5b3fc4; }
.sm_adm_marke_quelle { background: #e6f0ff; color: #0a5bd6; }
.sm_adm_marke_beide { background: #fff3e3; color: #8a5a00; }
.sm_adm_leise { color: var(--sm-leise); }
.sm_adm_leer::before { content: "\2013"; color: var(--sm-leise); }
.sm_adm_neu { color: #157439; font-weight: 600; }
.sm_adm_verweis { color: #2456c4; }
.sm_adm_mono { font-family: var(--sm-fest); font-weight: 600; }
.sm_adm_abstand { margin-top: 14px; }
.sm_adm_notiz { margin: -6px 0 10px; color: var(--sm-leise); font-size: 11.5px; }
.sm_adm_zwischentitel { margin: 14px 0 7px; color: var(--sm-tinte); font-size: 12.5px; font-weight: 700; }

/* Zahlenkacheln, Platz, Balken */
.sm_adm_zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sm_adm_zahl { padding: 10px 11px; border: 1px solid var(--sm-linie); border-radius: 8px; background: #fff; }
.sm_adm_zahl b { display: block; color: var(--sm-tinte); font-size: 19px; line-height: 1.1; }
.sm_adm_zahl span { display: block; margin-top: 3px; color: var(--sm-leise); font-size: 11px; line-height: 1.3; hyphens: auto; overflow-wrap: anywhere; }
.sm_adm_zahl_klein span { margin: 0 0 3px; }
.sm_adm_zahl_klein b { font-size: 12.5px; line-height: 1.35; overflow-wrap: anywhere; }
.sm_adm_seiten .sm_adm_zahl span { margin: 0 0 4px; }
.sm_adm_punkt { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #9aa5b4; vertical-align: 0; }
.sm_adm_punkt_ziel { background: #5b3fc4; }
.sm_adm_punkt_quelle { background: #0a5bd6; }
.sm_adm_punkt_beide { background: #c98a1b; }
.sm_adm_punkt_neutral { background: #9aa5b4; }
.sm_adm_platz { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; margin-top: 8px; padding: 10px 11px; border: 1px solid var(--sm-linie); border-radius: 8px; background: #fff; font-size: 12px; }
.sm_adm_platz small { grid-column: 1 / -1; color: var(--sm-leise); font-size: 11px; }
.sm_adm_platz b { color: var(--sm-tinte); }
.sm_adm_balken { display: block; height: 6px; overflow: hidden; border-radius: 99px; background: var(--sm-linie); }
.sm_adm_balken i { display: block; height: 100%; border-radius: inherit; background: #2456c4; }
.sm_wert_19 { width: 19%; }
.sm_wert_45 { width: 45%; }
.sm_wert_58 { width: 58%; }
.sm_wert_62 { width: 62%; }

/* Zeichen: fertig, läuft, offen */
.sm_adm_zeichen { position: relative; display: inline-block; flex: none; width: 16px; height: 16px; border-radius: 50%; }
.sm_adm_zeichen_ok { background: #157439; }
.sm_adm_zeichen_ok::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7.5px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.sm_adm_zeichen_info { background: #2456c4; }
.sm_adm_zeichen_info::after { content: "i"; position: absolute; inset: 0; color: #fff; font: 700 11px/16px Georgia, serif; text-align: center; }
.sm_adm_zeichen_laeuft { border: 2.5px solid #c9d7f4; border-top-color: #2456c4; }

/* Band oben in Lauffenster und Vorprüfung */
.sm_adm_band { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; overflow: hidden; margin-bottom: 12px; padding: 12px 13px 13px; border: 1px solid var(--sm-linie); border-radius: 8px; background: #fff; }
.sm_adm_band > .sm_adm_zeichen { width: 20px; height: 20px; margin-top: 1px; }
.sm_adm_band > .sm_adm_zeichen_ok::after { left: 7px; top: 3.5px; width: 5px; height: 9.5px; }
.sm_adm_band_ok { border-color: #bfe3cf; background: #f3faf6; }
.sm_adm_band_laeuft { border-color: #d5e0f6; }
.sm_adm_band strong { display: block; color: var(--sm-tinte); font-size: 14px; }
.sm_adm_band p { margin-top: 2px; color: var(--sm-text); font-size: 12px; }
.sm_adm_fakten { display: flex; flex-wrap: wrap; gap: 3px 14px; margin-top: 6px; color: var(--sm-leise); font-size: 11.5px; }
.sm_adm_fakten b { color: var(--sm-tinte); font-weight: 600; }
.sm_adm_prozent { color: #2456c4; font-weight: 700; }
.sm_adm_band_balken { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 0; }

/* Dashboard-Karten */
.sm_adm_paar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.sm_adm_umgebung, .sm_adm_kasten { display: flex; flex-direction: column; border: 1px solid var(--sm-linie); border-radius: 8px; background: #fff; }
.sm_adm_umgebung_inhalt, .sm_adm_kasten_inhalt { flex: 1 1 auto; padding: 11px; }
.sm_adm_kartenfuss { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 11px; border-top: 1px solid var(--sm-linie); }
.sm_adm_kartenfuss .sm_adm_knopf:last-child { margin-left: auto; }
.sm_adm_zeile { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.sm_adm_zeile_links { justify-content: flex-start; }
.sm_adm_zeile strong { color: var(--sm-tinte); font-size: 13.5px; }
.sm_adm_link { margin: 2px 0 9px; color: #2456c4; font-size: 11.5px; overflow-wrap: anywhere; }
.sm_adm_link.sm_adm_leise { color: var(--sm-leise); }
.sm_adm_werte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 9px; }
.sm_adm_werte dt { color: var(--sm-leise); font-size: 10.5px; }
.sm_adm_werte dd { color: var(--sm-tinte); font-size: 11.5px; font-weight: 600; overflow-wrap: anywhere; }
.sm_adm_werte dd span { white-space: nowrap; }
.sm_adm_fortschritt { margin-top: 5px; color: var(--sm-text); font-size: 11px; }
.sm_adm_hinweiszeile { color: var(--sm-text); font-size: 11.5px; }
.sm_adm_kalender::before { content: ""; display: inline-block; width: 9px; height: 8px; margin-right: 6px; border: 1.5px solid var(--sm-leise); border-top-width: 3px; border-radius: 2px; vertical-align: -1px; }

/* Reiter */
.sm_adm_reiter { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 10px; border-bottom: 1px solid var(--sm-linie); font-size: 12px; font-weight: 600; }
.sm_adm_reiter span { padding-bottom: 7px; color: var(--sm-leise); }
.sm_adm_reiter .sm_adm_reiter_an { color: #2456c4; box-shadow: inset 0 -2px #2456c4; }

/* Lauffenster: Phasen und Schritte */
.sm_adm_phase { margin-top: 8px; }
.sm_adm_phase_kopf { display: flex; justify-content: space-between; gap: 8px; padding: 0 2px 3px; color: var(--sm-tinte); font-size: 11.5px; font-weight: 700; }
.sm_adm_phase_kopf small { color: var(--sm-leise); font-size: 11px; font-weight: 500; }
.sm_adm_schritte { margin: 0; padding: 0; list-style: none; border: 1px solid var(--sm-linie); border-radius: 8px; background: #fff; }
.sm_adm_schritt { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto 58px; gap: 2px 9px; align-items: center; padding: 5px 10px; border-bottom: 1px solid var(--sm-linie); }
.sm_adm_schritt:last-child { border-bottom: 0; }
.sm_adm_schritt > i { width: 14px; height: 14px; border: 1.5px solid var(--sm-linie-fest); border-radius: 50%; }
.sm_adm_schritt > span { min-width: 0; color: var(--sm-tinte); font-size: 12px; font-weight: 600; }
.sm_adm_schritt small { display: block; color: var(--sm-leise); font-size: 10.5px; font-weight: 400; overflow-wrap: anywhere; }
.sm_adm_schritt em { color: var(--sm-text); font-size: 11px; font-style: normal; text-align: right; }
.sm_adm_schritt time { color: var(--sm-leise); font-size: 11px; text-align: right; white-space: nowrap; }
.sm_adm_schritt_fertig > i { position: relative; border-color: #157439; background: #157439; }
.sm_adm_schritt_fertig > i::after { content: ""; position: absolute; left: 3.5px; top: 1px; width: 3px; height: 6.5px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); }
.sm_adm_schritt_laeuft > i { border: 2px solid #c9d7f4; border-top-color: #2456c4; }
.sm_adm_schritt_offen > span { color: var(--sm-leise); font-weight: 500; }
.sm_adm_schritt_balken { grid-column: 2 / -1; height: 4px; margin: 2px 0 1px; }

/* Tabellen */
.sm_adm_tabelle { overflow: hidden; border: 1px solid var(--sm-linie); border-radius: 8px; background: #fff; }
.sm_adm_tz { display: grid; gap: 10px; align-items: center; padding: 8px 11px; border-bottom: 1px solid var(--sm-linie); }
.sm_adm_tz:last-child { border-bottom: 0; }
.sm_adm_tz > span { min-width: 0; overflow-wrap: anywhere; }
.sm_adm_tz small { display: block; color: var(--sm-leise); font-size: 10.5px; }
.sm_adm_tz_kopf { background: var(--sm-grund); color: var(--sm-text); font-size: 11.5px; font-weight: 600; }
.sm_adm_tz_vorschau { grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1.15fr); font-size: 12px; }
.sm_adm_tz_vier { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, .95fr) minmax(0, 1fr); font-size: 12px; }
.sm_adm_letzter .sm_adm_marke { margin-right: 6px; }
.sm_adm_letzter small { display: inline; color: #2456c4; font-size: 11.5px; }
.sm_adm_tz_fuenf { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, 1.3fr) 54px 92px; font-size: 11.5px; }
.sm_adm_tz_fuenf > span:last-child { justify-self: start; }

/* Listen von Befunden */
.sm_adm_liste { display: grid; gap: 6px; }
.sm_adm_fund { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 8px 11px; border: 1px solid var(--sm-linie); border-radius: 8px; background: #fff; }
.sm_adm_fund > span { min-width: 0; color: var(--sm-tinte); font-weight: 600; overflow-wrap: anywhere; }
.sm_adm_fund_zeichen { grid-template-columns: 16px minmax(0, 1fr) auto; align-items: start; }
.sm_adm_fund_zeichen > .sm_adm_marke { margin-top: 1px; }
.sm_adm_fund b { display: block; font-size: 12.5px; }
.sm_adm_fund small { display: block; color: var(--sm-text); font-size: 11.5px; font-weight: 400; }

/* Vergleich */
.sm_adm_vergleichskopf { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.sm_adm_vergleich_urteil { display: flex; gap: 9px; min-width: 0; }
.sm_adm_vergleich_urteil > .sm_adm_zeichen { margin-top: 2px; }
.sm_adm_vergleich_urteil strong { color: var(--sm-tinte); font-size: 14px; }
.sm_adm_vergleich_urteil p { font-size: 11.5px; }
.sm_adm_ergebniskopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin: 12px 0 7px; }
.sm_adm_ergebniskopf strong { color: var(--sm-tinte); font-size: 12.5px; }
.sm_adm_ergebniskopf span { color: var(--sm-leise); font-size: 11.5px; }
.sm_adm_ergebniskopf b { margin-left: 6px; color: #2456c4; font-weight: 600; }

/* Kopie: Herkunft und drei Kästen */
.sm_adm_herkunft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.sm_adm_herkunft p { margin-top: 2px; font-size: 11.5px; }
.sm_adm_drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.sm_adm_kasten_zahl { margin: 8px 0 4px; color: var(--sm-leise); font-size: 11.5px; }
.sm_adm_kasten_zahl b { color: var(--sm-tinte); font-size: 19px; }
.sm_adm_kasten_satz { color: var(--sm-text); font-size: 11.5px; }
.sm_adm_kasten .sm_adm_kartenfuss .sm_adm_knopf:last-child { margin-left: 0; }

/* Formulare */
.sm_adm_felder { display: grid; gap: 4px; }
.sm_adm_felder_zwei { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sm_adm_felder_zwei > div { display: grid; gap: 4px; }
.sm_adm_feldname { margin-top: 6px; color: var(--sm-tinte); font-size: 12px; font-weight: 700; }
.sm_adm_felder_zwei .sm_adm_feldname { margin-top: 0; }
.sm_adm_eingabe { display: block; padding: 7px 10px; border: 1px solid var(--sm-linie-fest); border-radius: 6px; background: #fff; color: var(--sm-tinte); font-size: 12.5px; overflow-wrap: anywhere; }
.sm_adm_eingabe_praefix i { margin: -7px 8px -7px -10px; padding: 7px 9px; border-right: 1px solid var(--sm-linie-fest); border-radius: 6px 0 0 6px; background: var(--sm-grund); color: var(--sm-leise); font-style: normal; }
.sm_adm_auswahl { position: relative; padding-right: 28px; }
.sm_adm_auswahl::after { content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--sm-leise); border-bottom: 1.5px solid var(--sm-leise); transform: translateY(-70%) rotate(45deg); }
.sm_adm_schalter { position: relative; display: block; margin-top: 4px; padding-left: 40px; color: var(--sm-tinte); font-size: 12.5px; font-weight: 600; line-height: 20px; }
.sm_adm_schalter::before { content: ""; position: absolute; left: 0; top: 2px; width: 30px; height: 16px; border-radius: 99px; background: #2456c4; }
.sm_adm_schalter::after { content: ""; position: absolute; left: 16px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.sm_adm_knoepfe { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* Assistent */
.sm_adm_assistent { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 14px; }
.sm_adm_stufen { display: grid; align-content: start; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sm_adm_stufen li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; }
.sm_adm_stufen b { display: grid; flex: none; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sm-linie); color: var(--sm-text); font-size: 11px; }
.sm_adm_stufen span { color: var(--sm-text); font-size: 12px; font-weight: 600; }
.sm_adm_stufen .sm_adm_stufe_an { background: #e4edfd; }
.sm_adm_stufe_an b { background: #2456c4; color: #fff; }
.sm_adm_stufe_an span { color: #2456c4; }
.sm_adm_formular { display: grid; align-self: start; align-content: start; gap: 4px; padding: 12px; border: 1px solid var(--sm-linie); border-radius: 8px; background: #fff; }
.sm_adm_formular > strong { font-size: 14px; }
.sm_adm_notiz_kasten { margin: 4px 0 2px; padding: 8px 10px; border-left: 3px solid #2456c4; border-radius: 6px; background: #f1f5fd; color: var(--sm-text); font-size: 11.5px; }
.sm_adm_notiz_kasten b { display: block; color: var(--sm-tinte); font-size: 12px; }
.sm_adm_erreichbar { margin-top: 4px; color: var(--sm-leise); font-size: 11.5px; }
.sm_adm_erreichbar b { color: var(--sm-tinte); font-weight: 600; }
.sm_adm_fuss { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sm_adm_luecke { flex: 1 1 auto; }

/* Seite einer Staging-Umgebung */
.sm_adm_karte_rahmen { margin-top: 10px; padding: 12px; border: 1px solid var(--sm-linie); border-radius: 8px; background: #fff; }
.sm_adm_zustand { display: flex; align-items: center; gap: 8px; color: var(--sm-tinte); font-size: 14px; }
.sm_adm_zustand + p { margin: 3px 0 0 24px; font-size: 12px; }
.sm_adm_adresse { margin: 10px 0 8px; color: #2456c4; font-size: 12px; overflow-wrap: anywhere; }
.sm_adm_adresse span { margin-right: 8px; color: var(--sm-leise); font-size: 11px; }
.sm_adm_kartentitel { display: block; color: var(--sm-tinte); font-size: 13.5px; }
.sm_adm_gruppe { margin: 10px 0 4px; color: var(--sm-leise); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sm_adm_laufzeile { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 12px; align-items: center; padding: 7px 0; border-top: 1px solid var(--sm-linie); }
.sm_adm_laufzeile > span:first-child b { display: block; color: var(--sm-tinte); font-size: 12px; }
.sm_adm_laufzeile small { display: block; color: var(--sm-leise); font-size: 11px; }
.sm_adm_laufzeile_rot > span:first-child b { color: #c01e3c; }
.sm_adm_laufzeile_rot { grid-template-columns: minmax(0, 1fr) auto; }
.sm_adm_laufstand { display: grid; justify-items: end; gap: 2px; text-align: right; }
.sm_adm_laufstand small span { white-space: nowrap; }
.sm_adm_laufzeile > .sm_adm_knopf { justify-self: end; }

/* ---- Nachbauten: Kennwortseite ---- */
.sm_fenster_tor .sm_fenster_bild { display: grid; place-items: center; padding: 44px 18px; background: #f3f4f6; }
.sm_tor { display: grid; gap: 8px; width: min(100%, 330px); padding: 24px; border-radius: 12px; background: #fff; box-shadow: 0 6px 24px rgba(17, 28, 51, .1); }
.sm_tor_name { color: var(--sm-leise); font-size: 11.5px; font-weight: 600; }
.sm_tor strong { font-size: 17px; }
.sm_tor p { color: var(--sm-text); font-size: 12.5px; }
.sm_tor_feld { margin-top: 6px; color: var(--sm-tinte); font-size: 12px; font-weight: 700; }
.sm_tor_eingabe { height: 34px; border: 1px solid var(--sm-linie-fest); border-radius: 7px; }
.sm_tor_knopf { padding: 9px; border-radius: 7px; background: var(--sm-tinte); color: #fff; font-size: 13px; font-weight: 700; text-align: center; }
.sm_tor small { color: var(--sm-leise); font-size: 11px; line-height: 1.4; }

/* ---- Preise ---- */
.sm_preiswahl > input { position: absolute; opacity: 0; pointer-events: none; }
.sm_takt { display: flex; width: fit-content; margin: 0 auto 30px; padding: 4px; border: 1px solid var(--sm-linie); border-radius: 999px; background: var(--sm-grund); }
.sm_takt label { padding: 8px 20px; border-radius: 999px; color: var(--sm-leise); font-size: 14.5px; font-weight: 700; cursor: pointer; }
#sm_takt_jahr:checked ~ .sm_takt label[for="sm_takt_jahr"],
#sm_takt_monat:checked ~ .sm_takt label[for="sm_takt_monat"] { background: #fff; color: var(--sm-tinte); box-shadow: 0 1px 4px rgba(17, 28, 51, .12); }
#sm_takt_jahr:focus-visible ~ .sm_takt label[for="sm_takt_jahr"],
#sm_takt_monat:focus-visible ~ .sm_takt label[for="sm_takt_monat"] { outline: 2px solid var(--sm-akzent); outline-offset: 2px; }
#sm_takt_jahr:checked ~ .sm_plaene .sm_preis_monat,
#sm_takt_monat:checked ~ .sm_plaene .sm_preis_jahr { display: none; }
.sm_plaene { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sm_plan { position: relative; display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 28px 22px 26px; border: 1px solid var(--sm-linie); border-radius: var(--sm-ecke); background: #fff; box-shadow: var(--sm-schatten); }
.sm_plan_empfohlen { border-color: var(--sm-akzent); box-shadow: 0 0 0 1px var(--sm-akzent), var(--sm-schatten); }
.sm_plan_band { position: absolute; top: -13px; left: 22px; padding: 3px 12px; border-radius: 999px; background: var(--sm-akzent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: normal; }
.sm_plan h3 { font-size: 20px; }
.sm_plan_satz { margin-top: 8px; color: var(--sm-leise); font-size: 14px; line-height: 1.5; }
.sm_plan_preise { margin-top: 18px; }
.sm_plan_preis { color: var(--sm-leise); font-size: 14px; }
.sm_plan_preis b { color: var(--sm-tinte); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.sm_plan_preis small { display: block; margin-top: 2px; font-size: 12.5px; }
.sm_plan_grenzen { display: grid; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sm-linie); }
.sm_plan_grenzen dt { color: var(--sm-leise); font-size: 12.5px; line-height: 1.3; }
.sm_plan_grenzen dd { color: var(--sm-tinte); font-size: 16px; font-weight: 800; line-height: 1.35; }
.sm_plan_kopf { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sm-linie); color: var(--sm-tinte); font-size: 13.5px; font-weight: 700; }
.sm_plan_liste { display: grid; align-content: start; gap: 9px; margin: 10px 0 0; padding: 0; list-style: none; }
.sm_plan_liste li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.45; }
.sm_plan_liste li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--sm-gruen-hauch) url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2018%2018'%3E%3Cpath%20d='m5%209.3%202.6%202.6L13%206.4'%20fill='none'%20stroke='%23157347'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.sm_plan_fuss { margin: 22px auto 0; color: var(--sm-leise); font-size: 13.5px; text-align: center; }

/* ---- Fragen ---- */
.sm_fragen { display: grid; gap: 12px; }
.sm_frage { border: 1px solid var(--sm-linie); border-radius: var(--sm-ecke-klein); background: #fff; }
.sm_frage summary { position: relative; padding: 17px 54px 17px 22px; color: var(--sm-tinte); font-size: 17px; font-weight: 700; line-height: 1.4; list-style: none; cursor: pointer; }
.sm_frage summary::-webkit-details-marker { display: none; }
.sm_frage summary::after { content: "+"; position: absolute; right: 22px; top: 50%; color: var(--sm-akzent); font-size: 22px; font-weight: 600; transform: translateY(-52%); }
.sm_frage[open] summary::after { content: "−"; }
.sm_frage_antwort { padding: 0 22px 20px; font-size: 15.5px; line-height: 1.62; }

/* ---- Rechtstexte und 404 ---- */
.sm_feld_rechtstext { padding-top: 56px; }
.sm_rechtstext h2 { margin: 40px 0 12px; font-size: 24px; line-height: 1.25; }
.sm_rechtstext h3 { margin: 28px 0 10px; }
.sm_rechtstext p, .sm_rechtstext ul { margin-bottom: 14px; }
.sm_rechtstext ul { padding-left: 22px; }
.sm_rechtstext li { margin-bottom: 8px; }
.sm_rechtstext_quelle { color: var(--sm-leise); font-size: 14px; }
.sm_verirrt { background: var(--sm-verlauf); }
.sm_verirrt .sm_knopfzeile { margin-top: 30px; }

/* ---- Ende ---- */
.sm_ende { padding: 64px 0 36px; background: var(--sm-grund); border-top: 1px solid var(--sm-linie); font-size: 15px; }
.sm_ende_spalten { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.sm_ende_absender p { max-width: 30ch; margin: 14px 0 18px; color: var(--sm-leise); }
.sm_ende_liste h2 { margin-bottom: 14px; color: var(--sm-tinte); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.sm_ende_liste ul { margin: 0; padding: 0; list-style: none; }
.sm_ende_liste li { padding: 4px 0; }
.sm_ende_liste a, .sm_ende_schluss a { color: var(--sm-text); text-decoration: none; }
.sm_ende_liste a:hover, .sm_ende_schluss a:hover { color: var(--sm-akzent); }
.sm_ende_schluss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--sm-linie); color: var(--sm-leise); }
.sm_ende_hinweis { margin-top: 14px; color: var(--sm-leise); font-size: 13px; }

/* ---- Medienabfragen, von breit nach schmal ---- */
@media (max-width: 1120px) {
  .sm_leiste_demo { display: none; }
  .sm_plaene { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm_wege { gap: 18px; }
}

@media (max-width: 1000px) {
  .sm_buehne_raster, .sm_zweispalter { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .sm_zweispalter_dreh .sm_zweispalter_bild { order: 2; }
  .sm_eckdaten, .sm_karten_vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm_kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm_ende_spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sm_leiste_zeile { flex-wrap: wrap; gap: 10px 18px; padding: 11px 22px; }
  .sm_leiste_rechts { margin-left: auto; }
  .sm_wege { order: 3; flex: 1 0 100%; gap: 20px; margin-left: 0; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .sm_wege::-webkit-scrollbar { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; }
  .sm_breite { padding: 0 20px; }
  .sm_feld { padding: 68px 0; }
  .sm_buehne { padding: 50px 0 60px; }
  .sm_auftakt { padding: 22px 0 40px; }
  .sm_eckdaten, .sm_karten_vier, .sm_karten_zwei, .sm_plaene, .sm_kacheln, .sm_passung, .sm_ende_spalten { grid-template-columns: minmax(0, 1fr); }
  .sm_lang { display: none; }
  .sm_kurz { display: inline; }
  .sm_kopfzeile p { font-size: 16.5px; }
  .sm_fenster_bild { padding: 12px; }
  .sm_passung > div { padding: 22px; }
  .sm_tabellenrahmen { overflow: visible; border: 0; background: none; box-shadow: none; }
  .sm_tabelle, .sm_tabelle tbody, .sm_tabelle tr, .sm_tabelle th, .sm_tabelle td { display: block; width: auto; min-width: 0; }
  .sm_tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sm_tabelle tbody tr { margin-bottom: 12px; overflow: hidden; border: 1px solid var(--sm-linie); border-radius: var(--sm-ecke-klein); background: #fff; }
  .sm_tabelle tbody th, .sm_tabelle tbody td { width: auto; padding: 12px 16px; border-bottom: 1px solid var(--sm-linie); }
  .sm_tabelle tbody td::before { content: attr(data-spalte); display: block; margin-bottom: 3px; color: var(--sm-leise); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
  .sm_tabelle tbody td:last-child::before { color: var(--sm-akzent); }
  .sm_tabelle_frei tbody td:last-child::before { color: var(--sm-leise); }
  .sm_tabellenrahmen.sm_tabellenrahmen_matrix { overflow-x: auto; border: 1px solid var(--sm-linie); background: #fff; }
  .sm_tabelle.sm_tabelle_matrix { display: table; width: 100%; }
  .sm_tabelle_matrix thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; display: table-header-group; }
  .sm_tabelle_matrix tbody { display: table-row-group; }
  .sm_tabelle_matrix tr, .sm_tabelle_matrix tbody tr { display: table-row; margin: 0; border: 0; border-radius: 0; }
  .sm_tabelle_matrix th, .sm_tabelle_matrix td, .sm_tabelle_matrix tbody th, .sm_tabelle_matrix tbody td { display: table-cell; padding: 10px 6px; border-bottom: 1px solid var(--sm-linie); font-size: 12.5px; }
  .sm_tabelle_matrix thead th { font-size: 10.5px; letter-spacing: .02em; }
  .sm_tabelle_matrix th:first-child { padding-left: 12px; }
  .sm_tabelle_matrix tbody td::before { content: none; }
  .sm_tabelle tbody tr > :last-child { border-bottom: 0; }
  .sm_tabelle .sm_tabelle_gruppe { margin: 22px 0 10px; border: 0; background: none; }
  .sm_tabelle .sm_tabelle_gruppe th { padding: 0; border: 0; background: none; }
  .sm_ende_schluss { flex-direction: column; }
}

@media (max-width: 400px) {
  .sm_leiste_zeile { padding: 10px 16px; }
  .sm_breite { padding: 0 16px; }
  .sm_marke span { font-size: 15px; }
  .sm_knopf { width: 100%; }
}

/* ---- Nachbauten nach ihrer eigenen Breite, von breit nach schmal ---- */
@container (max-width: 540px) {
  .sm_adm_zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm_adm_drei { grid-template-columns: minmax(0, 1fr); }
  .sm_adm_tz_fuenf { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .sm_adm_tz_fuenf > span:nth-child(2), .sm_adm_tz_fuenf > span:nth-child(3) { grid-column: 1 / -1; }
  .sm_adm_tz_fuenf > span:nth-child(4) { display: none; }
  .sm_adm_tz_fuenf > span:nth-child(5) { grid-column: 2; grid-row: 1; justify-self: end; }
  .sm_adm_tz_kopf.sm_adm_tz_fuenf { display: none; }
  .sm_adm_kopf_umbruch strong { flex-basis: 100%; }
  .sm_adm_kopf_umbruch .sm_adm_knopf:first-of-type { margin-left: 0; }
  .sm_adm_zahlen_kurz { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm_adm_laufzeile { grid-template-columns: minmax(0, 1fr) auto; }
  .sm_adm_laufzeile > span:first-child { grid-column: 1 / -1; }
  .sm_adm_laufstand { grid-column: 1; grid-row: 2; justify-items: start; text-align: left; }
  .sm_adm_laufzeile > .sm_adm_knopf { grid-column: 2; grid-row: 2; }
  .sm_adm_laufzeile_rot > .sm_adm_knopf { grid-column: 1; justify-self: start; }
}

@container (max-width: 460px) {
  .sm_adm_paar { grid-template-columns: minmax(0, 1fr); }
  .sm_adm_tz_vier { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; }
  .sm_adm_tz_vier > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .sm_adm_tz_vier > span:nth-child(3) { display: none; }
  .sm_adm_tz_vier > span:nth-child(4) { grid-column: 2; grid-row: 1; justify-self: end; }
  .sm_adm_letzter small { display: none; }
  .sm_adm_tz_kopf.sm_adm_tz_vier { display: none; }
}

@container (max-width: 420px) {
  .sm_adm_assistent { grid-template-columns: minmax(0, 1fr); }
  .sm_adm_stufen { display: flex; flex-wrap: wrap; gap: 4px; }
  .sm_adm_stufen li { padding: 0; background: none; }
  .sm_adm_stufen li span { display: none; }
  .sm_adm_stufen .sm_adm_stufe_an { padding: 0 8px 0 0; border-radius: 99px; background: #e4edfd; }
  .sm_adm_stufen .sm_adm_stufe_an span { display: inline; }
  .sm_adm_schritt { grid-template-columns: 16px minmax(0, 1fr) auto; }
  .sm_adm_schritt em { grid-column: 2 / -1; grid-row: 2; text-align: left; }
  .sm_adm_schritt em:empty { display: none; }
  .sm_adm_schritt time { grid-column: 3; grid-row: 1; }
  .sm_adm_schritt_balken { grid-row: 3; }
  .sm_adm_felder_zwei { grid-template-columns: minmax(0, 1fr); }
  .sm_adm_werte { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@container (max-width: 420px) {
  .sm_adm_zahlen_kurz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (max-width: 400px) {
  .sm_adm_tz_vorschau { grid-template-columns: 38px minmax(0, 1fr); gap: 2px 8px; }
  .sm_adm_tz_vorschau > span:nth-child(3) { grid-column: 2; }
  .sm_adm_tz_kopf.sm_adm_tz_vorschau > span:nth-child(3) { display: none; }
  .sm_adm_fund { grid-template-columns: minmax(0, 1fr); }
  .sm_adm_fund > .sm_adm_marke { justify-self: start; }
  .sm_adm_fund_zeichen { grid-template-columns: 16px minmax(0, 1fr); }
  .sm_adm_fund_zeichen > .sm_adm_marke { grid-column: 2; }
}

@container (max-width: 300px) {
  .sm_adm_zahl b { font-size: 15px; overflow-wrap: anywhere; }
  .sm_adm_marke { white-space: normal; }
  .sm_adm_knopf { white-space: normal; }
  .sm_adm_zahl_klein b { font-size: 12px; }
}
