/* SEO-Seiten Dezember 2026: Agentur in Rottweil, KI-Sichtbarkeit, Ratgeber „Agentur oder selbst machen“.
   Baut auf v2.css und d4y.css auf. Alle eigenen Klassen mit Präfix sx-, damit nichts mit v2.css kollidiert. */

/* ── Hero: rechte Bühne ─────────────────────────────────────────── */
.sx-hero .hero-grid { align-items: center; }
.sx-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: clamp(440px, 58vh, 560px); }
.sx-pin { flex: none; width: 17px; height: 17px; color: var(--red-bright); }
.pill > svg:not(.sx-pin) { flex: none; width: 18px; height: 18px; color: var(--red-bright); }

/* Rottweil: Foto + Kontaktkarte */
.sx-photo { position: relative; width: 100%; max-width: 560px; aspect-ratio: 4 / 3.3; border-radius: 26px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08); transform: rotate(1.2deg); }
.sx-photo img { width: 100%; height: 100%; object-fit: cover; }
.sx-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 13, 28, 0.55)); }
.sx-nap { position: absolute; left: max(0px, calc(50% - 330px)); bottom: -6px; width: min(330px, 86%); padding: 20px 20px 16px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); transform: rotate(-1.5deg); }
.js .sx-stage.in .sx-nap { animation: sxNap 0.9s var(--ease) 0.35s both; }
@keyframes sxNap { from { opacity: 0; transform: translateY(24px) rotate(-1.5deg); } to { opacity: 1; transform: rotate(-1.5deg); } }
.sx-nap-h b { display: block; margin-top: 10px; font-size: 19px; letter-spacing: -0.02em; }
.sx-nap-h > span:last-child { display: block; font-size: 14px; color: var(--slate); }
.sx-open { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 100px; background: rgba(22, 163, 74, 0.1); color: #15803d; font-family: var(--mono); font-size: 11.5px; }
.sx-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18); }
.sx-open.zu { background: rgba(15, 23, 42, 0.06); color: var(--slate); }
.sx-open.zu::before { background: #94a3b8; box-shadow: none; }
.sx-nap ul { margin-top: 14px; display: grid; gap: 8px; }
.sx-nap li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; }
.sx-nap li svg { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--paper); color: var(--red); }
.sx-nap li a:hover { color: var(--red); }
.sx-gbew { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--slate); }
.sx-gbew svg { flex: none; width: 18px; height: 18px; }
.sx-gbew .gbew-s { color: #f5b301; letter-spacing: 1px; font-size: 13px; }
.sx-gbew b { color: var(--ink); }
.sx-route .pl svg { width: 16px; height: 16px; }

/* KI: Chatfenster läuft wie im Reiter der Startseite ab (dort an .panel.on gebunden) */
.sx-stage-chat .win { max-width: 540px; }
.js .sx-stage-chat.in .win, .rv-all .sx-stage-chat .win { animation: winIn 0.8s var(--ease) both; }
.js .sx-stage-chat.in .bub { animation: popIn 0.5s var(--ease) 0.4s both; }
.js .sx-stage-chat.in .ans-h { animation: fadeIn 0.4s ease 1s both; }
.js .sx-stage-chat.in .typing { animation: outA 0.3s ease 2.1s both; }
.js .sx-stage-chat.in .ans p { animation: fadeIn 0.6s ease 2.2s both; }
.js .sx-stage-chat.in .rec { animation: winIn 0.7s var(--ease) 2.8s both; }
.js .sx-stage-chat.in .srcs span { animation: popIn 0.4s var(--ease) both; animation-delay: calc(3.4s + var(--i) * 0.12s); }
.sx-engines { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sx-engines li { height: 32px; padding: 0 14px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); font-size: 13px; line-height: 30px; color: var(--text-sec); }

/* ── Kurz erklärt (zitierfähige Antwort direkt unter dem Hero) ───── */
.sx-first { padding-top: 64px !important; padding-bottom: 0 !important; }
.sx-first + .sec-paper { padding-top: 110px; }
.sx-answer { position: relative; max-width: 940px; margin: 0 auto; padding: 30px 34px 30px 38px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05), 0 30px 60px -40px rgba(15, 23, 42, 0.35); }
.sx-answer::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 4px; border-radius: 0 4px 4px 0; background: var(--red); }
.sx-answer-l { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--red); }
.sx-answer p { font-size: 17.5px; line-height: 1.65; color: var(--slate); }
.sx-answer p strong { color: var(--ink); }
.sx-facts { margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sx-facts div { padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.sx-facts dt { font-size: 12.5px; color: var(--slate); }
.sx-facts dd { margin: 4px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }

/* ── Leistungen (Karten mit Symbol) ─────────────────────────────── */
.sx-leist article { display: flex; flex-direction: column; }
.sx-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #0a1a33; color: var(--red-bright); }
.sx-ic svg { width: 22px; height: 22px; }
.sx-leist h3 { margin-top: 18px; }
.sx-leist .tlink { margin-top: auto; padding-top: 18px; align-self: flex-start; border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; }
.sx-leist p + .tlink { margin-top: 18px; padding-top: 0; }

/* ── Region: Karte + Kundenliste ────────────────────────────────── */
.sx-region-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.sx-map-card { padding: 22px; border-radius: 28px; background: radial-gradient(ellipse at 50% 50%, #0f2547 0%, #0a1a33 70%); border: 1px solid var(--border); }
.sx-map { width: 100%; height: auto; }
.sx-ring { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-dasharray: 3 6; }
.sx-ringl { font: 12px var(--mono); fill: rgba(255, 255, 255, 0.4); }
.sx-ort circle { fill: rgba(255, 255, 255, 0.55); }
.sx-ort text { font: 700 13px var(--sans); fill: rgba(255, 255, 255, 0.62); paint-order: stroke; stroke: #0b1c36; stroke-width: 4px; }
.sx-ort.k circle { fill: var(--red); stroke: #fff; stroke-width: 2; }
.sx-ort.k text { fill: #fff; font-size: 14.5px; }
.sx-zentrum circle { fill: #fff; }
.sx-zentrum .sx-puls { fill: var(--red); opacity: 0.6; transform-origin: 320px 320px; animation: sxPuls 2.6s ease-out infinite; }
.sx-zentrum text { font: 700 17px var(--sans); fill: #fff; paint-order: stroke; stroke: #0b1c36; stroke-width: 5px; }
@keyframes sxPuls { from { transform: scale(1); opacity: 0.6; } to { transform: scale(5); opacity: 0; } }
.sx-map-leg { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 13px; color: var(--text-mut); }
.sx-map-leg i { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; vertical-align: -1px; }
.sx-map-leg i.z { background: #fff; } .sx-map-leg i.k { background: var(--red); } .sx-map-leg i.r { border: 1px dashed rgba(255, 255, 255, 0.5); }
.sx-region .lead { margin-top: 22px; }
.sx-kunden { margin-top: 30px; display: grid; gap: 10px; }
.sx-kunden a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 18px; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); transition: background 0.25s ease, border-color 0.25s ease; }
.sx-kunden a:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(230, 47, 31, 0.4); }
.sx-kunden a > svg { width: 18px; height: 18px; color: var(--text-mut); transition: transform 0.25s var(--ease), color 0.25s; }
.sx-kunden a:hover > svg { transform: translateX(3px); color: #fff; }
.sx-km { display: grid; place-items: center; height: 56px; border-radius: 14px; background: rgba(230, 47, 31, 0.12); font-size: 12px; line-height: 1; color: var(--text-sec); text-align: center; }
.sx-km b { display: block; font-size: 21px; color: #fff; letter-spacing: -0.02em; margin-bottom: 2px; }
.sx-kunden small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--text-mut); }
.sx-kunden div > b { display: block; margin-top: 2px; font-size: 17px; }
.sx-kunden div > span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--text-sec); }
.sx-kunden em { font-style: normal; padding: 5px 11px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, 0.16); font-size: 12px; font-weight: 700; white-space: nowrap; }
.sx-orte { margin-top: 22px; font-size: 14px; line-height: 1.6; color: var(--text-mut); }

/* ── Vor Ort ────────────────────────────────────────────────────── */
.sx-ort-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.sx-fotos { position: relative; padding-bottom: 18%; }
.sx-fotos img { border-radius: 22px; box-shadow: 0 40px 70px -40px rgba(15, 23, 42, 0.55); }
.sx-fotos img:first-child { width: 86%; aspect-ratio: 4 / 3; object-fit: cover; }
.sx-fotos img:last-child { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid var(--paper); }
.sx-ort-grid .lead { margin-top: 22px; }
.sx-pts { max-width: none; }
.sx-adr { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 34px; }
.sx-adr b { display: block; font-size: 14px; }
.sx-adr span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--slate); }


/* ── KI: Prüfpunkte, Bericht, Schritte ──────────────────────────── */
.sx-pruef .sc { padding-top: 54px; }
.sx-pruef .sc > small { left: 24px; right: auto; top: 24px; color: var(--red); }
.sx-pruef .sc h3 { margin-top: 0; }
.sx-report { max-width: 980px; margin: 56px auto 0; }
.sx-report .win-body { padding: 24px; }
.sx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sx-kpis div { padding: 16px 18px; border-radius: 14px; background: var(--paper); }
.sx-kpis small { display: block; font-size: 12.5px; color: var(--slate); }
.sx-kpis b { display: block; margin-top: 4px; font-size: 28px; letter-spacing: -0.03em; line-height: 1.1; }
.sx-kpis div:first-child b { color: var(--red); }
.sx-kpis span { display: block; margin-top: 4px; font-size: 13px; color: var(--slate); }
.sx-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sx-tab { margin-top: 18px; width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sx-tab th { text-align: left; padding: 10px 10px 10px 0; font-size: 12.5px; font-weight: 700; color: var(--slate); border-bottom: 2px solid var(--ink); }
.sx-tab td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.sx-tab .n { text-align: center; white-space: nowrap; }
.sx-tab td.n span { display: inline-block; padding: 3px 9px; border-radius: 7px; font-size: 12.5px; font-weight: 700; }
.sx-tab td.ok span { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.sx-tab td.q span { background: rgba(80, 140, 255, 0.12); color: #2c5fd6; }
.sx-tab td.no { color: #b6c0cd; }
.sx-next { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: #0b1a30; color: #fff; }
.sx-next b { font-size: 15px; }
.sx-next .p-checks { margin-top: 12px; }
.sx-next .p-checks li { font-size: 14.5px; color: var(--text-sec); }
.sx-hebel article .tlink { margin-top: 18px; border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; }
.sx-ehrlich { background: #0b1a30 !important; color: #fff; border-color: transparent !important; }
.sx-ehrlich p { color: var(--text-sec) !important; }
.sx-steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.sx-steps li { position: relative; padding: 26px 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.sx-steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -15px; width: 16px; height: 2px; background: var(--red); }
.sx-steps i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); font-style: normal; font-weight: 700; }
.sx-steps b { display: block; margin-top: 16px; font-size: 19px; }
.sx-steps span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--text-sec); }
.sx-faq-more { margin-top: 30px; font-size: 15.5px; color: var(--slate); }
.sx-faq-more .tlink { margin-top: 10px; }

/* ── Ratgeber ───────────────────────────────────────────────────── */
.sx-art-hero { padding-bottom: 70px; }
.sx-art-head { position: relative; z-index: 2; max-width: 980px; }
.sx-art-head .h-hero { max-width: 18ch; }
.sx-byline { margin-top: 26px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text-sec); }
.sx-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.sx-byline b { display: block; color: #fff; font-size: 15.5px; }
.sx-art { padding-bottom: 110px !important; }
.sx-art-grid { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: clamp(30px, 5vw, 80px); justify-content: center; align-items: start; }
.sx-toc { position: sticky; top: 110px; padding: 20px 20px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.sx-toc b { font-size: 13px; font-family: var(--mono); font-weight: 400; color: var(--red); }
.sx-toc ol { margin-top: 10px; display: grid; gap: 2px; counter-reset: t; }
.sx-toc li { counter-increment: t; }
.sx-toc a { display: grid; grid-template-columns: 22px 1fr; padding: 6px 0; font-size: 14px; line-height: 1.4; color: var(--slate); transition: color 0.2s; }
.sx-toc a::before { content: counter(t); font-family: var(--mono); font-size: 12px; color: #9aa6b8; }
.sx-toc a:hover, .sx-toc a.on { color: var(--ink); }
.sx-toc a.on::before { color: var(--red); }
.sx-body .sx-answer { margin: 0; }
.sx-h2 { margin-top: 64px; font-size: clamp(26px, 2.7vw, 36px); line-height: 1.12; letter-spacing: -0.03em; scroll-margin-top: 100px; }
.sx-p { margin-top: 18px; font-size: 17.5px; line-height: 1.7; color: #334155; }
.sx-body > .sx-p:first-of-type { margin-top: 34px; }
.sx-vgl { margin-top: 26px; width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06); }
.sx-vgl th, .sx-vgl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.sx-vgl thead th { font-size: 14px; background: var(--paper); }
.sx-vgl tbody th { font-size: 13.5px; color: var(--slate); font-weight: 700; width: 22%; }
.sx-vgl .hl { background: rgba(230, 47, 31, 0.06); font-weight: 700; }
.sx-vgl thead .hl { background: var(--red); color: #fff; }
.sx-vgl tr:last-child th, .sx-vgl tr:last-child td { border-bottom: 0; }
.sx-calc { margin-top: 26px; padding: 26px; border-radius: 22px; background: #0b1a30; color: #fff; }
.sx-calc-in { display: grid; gap: 18px; }
.sx-calc label span { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--text-sec); }
.sx-calc output { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.sx-calc input[type=range] { width: 100%; margin-top: 8px; accent-color: var(--red); height: 28px; }
.sx-calc-out { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; }
.sx-calc-out div { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); }
.sx-calc-out div:last-child { background: rgba(230, 47, 31, 0.14); border-color: rgba(230, 47, 31, 0.4); }
.sx-calc-out small { display: block; font-size: 12.5px; color: var(--text-mut); }
.sx-calc-out b { display: block; margin-top: 4px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sx-calc-out span { display: block; margin-top: 4px; font-size: 13px; color: var(--text-sec); }
.sx-calc-note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--text-mut); }
.sx-fit { margin-top: 26px; }
.sx-krit { margin-top: 24px; display: grid; gap: 10px; }
.sx-krit li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.sx-krit i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; font-style: normal; font-weight: 700; font-size: 14px; }
.sx-krit b { display: block; font-size: 16.5px; line-height: 1.3; }
.sx-krit span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--slate); }
.sx-case { margin-top: 24px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.sx-case img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.sx-case b { display: block; font-size: 17px; }
.sx-case span { display: block; font-size: 14px; color: var(--slate); }
.sx-author { margin-top: 64px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.sx-author img { width: 150px; height: 180px; border-radius: 16px; object-fit: cover; object-position: center 20%; }
.sx-author small { font-family: var(--mono); font-size: 12px; color: var(--red); }
.sx-author b { display: block; margin-top: 6px; font-size: 20px; }
.sx-author p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--slate); }
.sx-author .tlink { margin-top: 14px; }

/* ── Tablet ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .sx-stage { min-height: 0; margin-top: 40px; }
  .sx-pruef { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-steps li::after { display: none; }
  .sx-art-grid { grid-template-columns: minmax(0, 760px); }
  .sx-toc { position: static; }
}
@media (max-width: 900px) {
  .sx-region-grid, .sx-ort-grid { grid-template-columns: minmax(0, 1fr); }
  .sx-map-card { max-width: 520px; margin: 0 auto; width: 100%; }
  .sx-region-grid > .sx-map-card { order: 2; }
  .sx-region-grid > div:last-child, .sx-ort-grid > div:last-child { text-align: center; }
  .sx-region .lead, .sx-ort-grid .lead { margin-left: auto; margin-right: auto; }
  .sx-kunden, .sx-pts { text-align: left; }
  .sx-adr { justify-content: center; text-align: left; }
  .sx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deep.sx-leist, .deep.sx-hebel { grid-template-columns: minmax(0, 1fr); }
}

/* ── Handy: alles mittig, nichts ragt über den Rand ─────────────── */
@media (max-width: 760px) {
  .sx-hero .hero-copy { text-align: center; }
  .sx-hero .crumbs, .sx-hero .hero-ctas, .sx-hero .hero-trust { justify-content: center; }
  .sx-hero .hero-sub { margin-left: auto; margin-right: auto; }
  .sx-photo { transform: none; aspect-ratio: 4 / 3; }
  .sx-nap { position: relative; left: auto; bottom: auto; width: calc(100% - 24px); margin-top: -46px; transform: none; }
  .js .sx-stage.in .sx-nap { animation: none; }
  .sx-first { padding-top: 44px !important; }
  .sx-first + .sec-paper { padding-top: 80px; }
  .sx-answer { padding: 24px 22px 24px 26px; }
  .sx-answer p { font-size: 16px; }
  .sx-kunden a { grid-template-columns: 52px minmax(0, 1fr) 16px; gap: 12px; padding: 14px; }
  .sx-kunden em { display: none; }
  .sx-km { height: 52px; }
  .sx-km b { font-size: 18px; }
  .sx-kpis { grid-template-columns: minmax(0, 1fr); }
  .sx-kpis div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; }
  .sx-kpis b { grid-row: span 2; grid-column: 2; font-size: 24px; margin: 0; }
  .sx-report .win-body { padding: 16px; }
  /* Bericht am Handy: jede Frage als eigene Karte statt seitlich zu wischen */
  .sx-tab thead { display: none; }
  .sx-tab, .sx-tab tbody, .sx-tab tr, .sx-tab td { display: block; width: 100%; }
  .sx-tab tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .sx-tab td { border: 0; padding: 0; }
  .sx-tab td:first-child { font-weight: 700; margin-bottom: 8px; }
  .sx-tab td.n { display: inline-block; width: auto; margin: 0 4px 4px 0; text-align: left; }
  .sx-tab td.n::before { font-size: 11.5px; color: var(--slate); margin-right: 4px; }
  .sx-tab td.n:nth-child(2)::before { content: "ChatGPT"; } .sx-tab td.n:nth-child(3)::before { content: "Gemini"; } .sx-tab td.n:nth-child(4)::before { content: "Perplexity"; } .sx-tab td.n:nth-child(5)::before { content: "Google KI"; }
  .sx-tab td.no { color: #94a3b8; }
  .sx-steps { grid-template-columns: minmax(0, 1fr); }
  .sx-pruef { grid-template-columns: minmax(0, 1fr); }
  .sx-art-head { text-align: center; }
  .sx-art-head .crumbs, .sx-byline { justify-content: center; }
  .sx-art-head .h-hero { margin-left: auto; margin-right: auto; }
  .sx-byline { text-align: left; }
  .sx-h2 { margin-top: 52px; }
  .sx-p { font-size: 16.5px; }
  /* Vergleich am Handy: drei Karten je Zeile statt einer breiten Tabelle */
  .sx-vgl, .sx-vgl tbody, .sx-vgl tr, .sx-vgl th, .sx-vgl td { display: block; width: 100%; }
  .sx-vgl thead { display: none; }
  .sx-vgl tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .sx-vgl tbody th { width: 100%; padding: 0 0 8px; border: 0; color: var(--ink); font-size: 15px; }
  .sx-vgl td { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 10px; padding: 6px 0; border: 0; font-size: 14.5px; }
  .sx-vgl td::before { content: attr(data-l); font-size: 12.5px; color: var(--slate); font-weight: 400; }
  .sx-vgl td.hl { margin: 4px -8px 0; padding: 8px; border-radius: 10px; }
  .sx-calc { padding: 20px; }
  .sx-calc-out { grid-template-columns: minmax(0, 1fr); }
  .sx-case { grid-template-columns: 52px minmax(0, 1fr); }
  .sx-case img { width: 52px; height: 52px; }
  .sx-case .tlink { grid-column: 1 / -1; justify-self: start; }
  .sx-author { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .sx-author img { margin: 0 auto; width: 120px; height: 140px; }
  .sx-fotos { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 400px) {
  .sx-facts dd { font-size: 17px; }
  .sx-vgl td { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .sx-nap { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-zentrum .sx-puls { animation: none; opacity: 0; }
}

/* Handy: Karte wird ~300 px breit, kleine Ortsnamen wären unlesbar → nur Kunden + Rottweil beschriften */
@media (max-width: 560px) {
  .sx-ort:not(.k) text, .sx-ringl { display: none; }
  .sx-ort.k text { font-size: 27px; stroke-width: 7px; }
  .sx-ort.k circle { r: 10; }
  .sx-zentrum text { font-size: 30px; stroke-width: 8px; }
  .sx-map-card { padding: 14px; }
}

/* Ratgeber: Code-Beispiel (llms.txt) */
.sx-code { margin: 22px 0; padding: 22px 24px; border-radius: 18px; background: #07162a; color: #dfe6f1; font: 13.5px/1.65 var(--mono, ui-monospace, monospace); overflow-x: auto; white-space: pre; box-shadow: 0 18px 50px -30px rgba(7, 22, 42, .5); }
.sx-code code { font: inherit; }
.sx-case img { object-fit: cover; }
.sx-art-head .lead { margin-top: 18px; max-width: 680px; color: rgba(255, 255, 255, .72); }
@media (max-width: 760px) { .sx-code { font-size: 12px; padding: 18px; text-align: left; } .sx-art-head .lead { margin-left: auto; margin-right: auto; } }
