/* ============================================================
   JANDL Smart Guard – Produkt-Landingpage
   Gescopte Ergänzung zum Theme (screen.css bleibt unberührt).
   Alle Regeln hängen an .sg-page / .sg / .sg-header.
   Corporate: Charcoal #1F2328 · Orange #F39200 · Weiß.
   ============================================================ */

/* ---- Palette-Overrides: Akzent -> Orange, Dunkelflächen -> Charcoal ---- */
.sg-page {
  --amber:  #F39200;                 /* abgeleitete --amber-lt/-dk rechnen automatisch neu */
  --ink:    #1F2328;
  --ink-2:  #191c21;
  --ink-3:  #262b31;
}

/* ---- Anker-Ziele nicht unter den Sticky-Header scrollen lassen ---- */
.sg-hero, .sg [id] { scroll-margin-top: 72px; }

/* ---- Header: Produktname ---- */
.sg-header .sg-product {
  display: inline-flex; align-items: center;
  margin-left: 10px; padding: 4px 11px;
  font-family: var(--f-disp); font-weight: 600; font-size: 0.86rem; letter-spacing: -0.01em;
  color: var(--strong);
  border: 1px solid var(--line); border-radius: var(--pill);
  background: color-mix(in srgb, var(--amber) 14%, transparent);
}
.sg-brand { gap: 6px; }
@media (max-width: 420px) { .sg-header .sg-product { font-size: 0.78rem; padding: 3px 9px; } }
/* R-19: unterhalb von 480px reicht die Breite fuer Logo + "Smart Guard"-
   Badge + Theme-Umschalter + Burger-Menü nicht mehr aus (das Badge allein
   beansprucht mehr Platz, als nach Logo/Nav-CTA uebrig bleibt -> horizontales
   Scrollen). Das Badge ist ein rein dekorativer Zusatzhinweis -- der Titel
   "Smart Guard" erscheint direkt darunter im Hero, Logo/Navigation/CTA
   bleiben unveraendert bedienbar. Kein Redesign, nur diese eine Regel. */
@media (max-width: 480px) { .sg-header .sg-product { display: none; } }

/* ---- Buttons: Orange-Schatten & Ghost auf Charcoal lesbar ---- */
.sg-page .btn-amber { box-shadow: 0 6px 22px -8px rgba(243,146,0,.7); }

/* ============================================================
   HERO
   ============================================================ */
.sg-hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
}
.sg-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 82% 8%, rgba(243,146,0,.24), transparent 60%),
    radial-gradient(60% 55% at 6% 100%, rgba(243,146,0,.10), transparent 62%);
}
.sg-hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(70px, 11vw, 130px) clamp(56px, 8vw, 96px);
}
.sg-hero .eyebrow {
  color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  padding: 7px 15px; border-radius: var(--pill); font-weight: 500; margin-bottom: 26px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sg-hero .eyebrow .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--good); margin-right: 8px; vertical-align: middle; animation: pulse 2.4s infinite;
}
.sg-hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.03; letter-spacing: -0.03em;
  font-weight: 600; max-width: 15ch;
}
.sg-hero h1 .grad {
  background: linear-gradient(180deg, #F7B34D 0%, #F39200 58%, #c96f00 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.sg-lead {
  margin-top: clamp(20px, 3vw, 30px); max-width: 46ch;
  font-size: clamp(1.12rem, 1.9vw, 1.4rem); line-height: 1.45; color: rgba(255,255,255,.78); font-weight: 400;
}
.sg-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 3.5vw, 38px); }
.sg-trust {
  list-style: none; padding: 0; margin: clamp(28px, 4vw, 40px) 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
}
.sg-trust li {
  position: relative; padding-left: 26px; color: rgba(255,255,255,.82);
  font-size: 0.95rem; line-height: 1.4;
}
.sg-trust li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber);
  -webkit-mask: no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4 10-11' stroke='%23000' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask: no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4 10-11' stroke='%23000' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sg-hero-art { position: relative; }
.sg-hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 70px rgba(0,0,0,.45)); }
@media (prefers-reduced-motion: no-preference) {
  .sg-art-cam, .sg-art-cam2 { transform-box: fill-box; transform-origin: center; animation: sg-cam-sweep 6s var(--ease) infinite; }
  .sg-art-cam2 { animation-delay: 1.2s; }
}
@keyframes sg-cam-sweep { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .sg-hero .eyebrow .dot { animation: none; } }
@media (max-width: 900px) {
  .sg-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .sg-hero-art { max-width: 460px; margin-inline: auto; order: 2; }
}

/* ---- Certline (erbt Charcoal aus --ink-2) ---- */
.sg-certline { background: var(--ink-2); }

/* ============================================================
   SO FUNKTIONIERT ES – Flow
   ============================================================ */
.sg-flow {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none;
}
.sg-flow-step {
  position: relative; background: var(--card); border-radius: var(--r-lg); padding: 28px 24px;
  box-shadow: var(--sh-1);
}
.sg-flow-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--amber); color: #1a1206;
  font-family: var(--f-disp); font-weight: 600; font-size: 1.1rem;
}
.sg-flow-step h3 { font-size: 1.16rem; color: var(--strong); letter-spacing: -0.02em; margin-bottom: 8px; }
.sg-flow-step p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
/* Pfeil-Verbinder zwischen den Schritten */
.sg-flow-step:not(:last-child)::after {
  content: "›"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  z-index: 2; color: var(--amber-dk); font-size: 1.7rem; font-weight: 400; line-height: 0;
}
@media (max-width: 1000px) {
  .sg-flow { grid-template-columns: repeat(2, 1fr); }
  .sg-flow-step:not(:last-child)::after { content: ""; }
  .sg-flow-step:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .sg-flow { grid-template-columns: 1fr; } .sg-flow-step:last-child { grid-column: auto; } }

/* ---- Maßnahmen ---- */
.sg-measures { margin-top: clamp(32px, 5vw, 52px); text-align: center; }
.sg-measures-label { display: block; color: var(--muted-2); margin-bottom: 16px; }
.sg-measure-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sg-chip {
  display: inline-flex; align-items: center; padding: 11px 20px; border-radius: var(--pill);
  background: var(--card); border: 1px solid var(--line); color: var(--strong);
  font-weight: 500; font-size: 0.98rem; box-shadow: var(--sh-1);
}
.sg-measures-note { color: var(--muted); font-size: 0.95rem; margin-top: 18px; max-width: 60ch; margin-inline: auto; }

/* ============================================================
   SPLIT (Bestehende Kameras)
   ============================================================ */
.sg-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.sg-split-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--strong); margin: 8px 0 18px; letter-spacing: -0.02em; line-height: 1.08; }
.sg-p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; margin-bottom: 24px; }
.sg-split-side {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px); box-shadow: var(--sh-1);
}
.sg-tech-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.sg-tech {
  display: inline-flex; align-items: center; padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--paper-2); border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.02em; font-weight: 500;
}
@media (max-width: 900px) { .sg-split { grid-template-columns: 1fr; } }

/* ============================================================
   NEUE KAMERAS – Prozess-Raster
   ============================================================ */
.sg-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sg-pill-step { background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: var(--sh-1); border-top: 3px solid var(--amber); }
.sg-pill-n { color: var(--amber-dk); display: block; margin-bottom: 10px; }
.sg-pill-step h3 { font-size: 1.15rem; color: var(--strong); letter-spacing: -0.02em; margin-bottom: 6px; }
.sg-pill-step p { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
@media (max-width: 900px) { .sg-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sg-steps-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LEISTUNGEN – vier Bausteine
   ============================================================ */
.sg-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sg-service {
  background: var(--card); border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sh-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.sg-service:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.sg-service-ico {
  width: 52px; height: 52px; border-radius: 16px; background: var(--paper-2);
  display: grid; place-items: center; color: var(--strong); margin-bottom: 4px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.sg-service:hover .sg-service-ico { background: var(--amber); color: #1a1206; }
.sg-service-ico svg { width: 26px; height: 26px; }
.sg-service h3 { font-size: 1.24rem; color: var(--strong); letter-spacing: -0.02em; }
.sg-service p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
@media (max-width: 1000px) { .sg-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sg-service-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ABSCHLUSS-CTA (Charcoal + Orange-Glow)
   ============================================================ */
.sg-cta::before {
  background:
    radial-gradient(60% 130% at 50% 120%, rgba(243,146,0,.30), transparent 62%),
    radial-gradient(50% 80% at 50% -20%, rgba(243,146,0,.10), transparent 60%);
}
.sg-assist-fallback-note { color: rgba(255,255,255,.55); font-size: 0.8rem; margin-top: 14px; }

/* ============================================================
   STATUS-KENNZEICHNUNG (noch nicht verfügbare Leistungen)
   Text + Form, nie ausschließlich Farbe (Barrierefreiheit).
   ============================================================ */
.sg-status-tag {
  display: inline-flex; align-items: center; vertical-align: middle;
  font-family: var(--f-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--amber-dk);
  background: color-mix(in srgb, var(--amber) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent);
  border-radius: var(--pill); padding: 3px 9px; margin-left: 8px;
}
.sg-status-tag::before { content: "◐ "; margin-right: 3px; }
.sg-status-tag--onchip { margin-left: 6px; font-size: 0.58rem; padding: 2px 7px; }
.sg-flow-step h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.sg-service h3 { display: flex; flex-wrap: wrap; align-items: center; }

/* ============================================================
   ANFRAGE-ASSISTENT (Mehrschritt-Dialog)
   Natives <dialog>. Eigenes, gescoptes Formular-Design auf Basis
   der bestehenden Design-Tokens -- keine neue UI-Bibliothek.
   ============================================================ */
.sg-assist {
  border: none; padding: 0; width: min(720px, 92vw); max-height: min(88vh, 900px);
  border-radius: var(--r-lg); box-shadow: 0 24px 70px -20px rgba(0,0,0,.45);
  background: var(--card); color: var(--text);
}
.sg-assist::backdrop { background: rgba(10,12,15,.6); backdrop-filter: blur(2px); }
.sg-assist:not([open]) { display: none; }
.sg-assist-inner { display: flex; flex-direction: column; max-height: min(88vh, 900px); }

.sg-assist-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px clamp(18px, 4vw, 30px) 16px; border-bottom: 1px solid var(--line);
}
.sg-assist-eyebrow { color: var(--muted); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 4px; }
.sg-assist-head h2 { font-size: clamp(1.15rem, 2.6vw, 1.5rem); color: var(--strong); letter-spacing: -0.01em; margin: 0; }
.sg-assist-close {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer;
}
.sg-assist-close:hover { color: var(--strong); border-color: var(--line-2); }

.sg-assist-progress { padding: 14px clamp(18px, 4vw, 30px) 0; }
.sg-assist-steps { display: flex; flex-wrap: wrap; gap: 6px 4px; list-style: none; margin: 0 0 8px; padding: 0; }
.sg-assist-steps li {
  display: flex; align-items: center; gap: 6px; font-size: 0.74rem; color: var(--muted);
  padding: 5px 10px; border-radius: var(--pill); border: 1px solid var(--line);
}
.sg-assist-steps li[hidden] { display: none; }
.sg-assist-steps li.active { color: var(--strong); border-color: var(--amber); background: color-mix(in srgb, var(--amber) 10%, transparent); }
.sg-assist-steps li.done { color: var(--good); }
.sg-assist-step-n { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--line); font-size: 0.66rem; }
.sg-assist-steps li.active .sg-assist-step-n { background: var(--amber); color: #fff; }
.sg-assist-steps li.done .sg-assist-step-n { background: var(--good); color: #fff; }
@media (max-width: 560px) { .sg-assist-step-t { display: none; } }

.sg-assist-body { flex: 1; overflow-y: auto; padding: 18px clamp(18px, 4vw, 30px) 6px; }
.sg-assist-body h3 { font-size: 1.1rem; color: var(--strong); margin: 0 0 4px; letter-spacing: -0.01em; }
.sg-assist-body h4 { font-size: 0.92rem; color: var(--strong); margin: 22px 0 10px; }
.sg-assist-hint { color: var(--muted); font-size: 0.85rem; margin: 0 0 16px; }
.sg-assist-note { color: var(--muted); font-size: 0.82rem; margin-top: 14px; }

.sg-assist-alert {
  background: color-mix(in srgb, var(--bad, #e5484d) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--bad, #e5484d) 40%, transparent);
  color: var(--strong); border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 16px; font-size: 0.9rem;
}
.sg-assist-alert[hidden] { display: none; }

.sg-assist-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sg-assist-check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 560px) { .sg-assist-check-grid { grid-template-columns: 1fr; } }

.sg-assist-check {
  display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; cursor: pointer;
}
.sg-assist-check:has(input:checked) { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 8%, transparent); }
.sg-assist-check input { margin-top: 2px; flex: none; }

.sg-assist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 6px; }
@media (max-width: 640px) { .sg-assist-grid { grid-template-columns: 1fr; } }
.sg-assist-label { display: flex; flex-direction: column; gap: 6px; font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.sg-assist-label--full { grid-column: 1 / -1; }
.sg-assist-label input, .sg-assist-label select, .sg-assist-label textarea {
  font: inherit; font-size: 0.95rem; color: var(--text); background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; width: 100%;
}
.sg-assist-label input:focus-visible, .sg-assist-label select:focus-visible, .sg-assist-label textarea:focus-visible,
.sg-assist-check input:focus-visible, .sg-assist-radio input:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 2px;
}
.sg-assist-field-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.sg-assist-radio { display: inline-flex; align-items: center; gap: 7px; font-size: 0.92rem; }

.sg-assist-error { display: block; color: var(--bad, #e5484d); font-size: 0.78rem; margin-top: 2px; }
.sg-assist-error[hidden] { display: none; }

.sg-assist-group {
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px clamp(14px, 3vw, 20px);
  margin-bottom: 14px; position: relative; background: var(--paper-2);
}
.sg-assist-group legend { font-weight: 600; color: var(--strong); padding: 0 6px; }
.sg-assist-remove-group {
  position: absolute; top: 14px; right: clamp(14px, 3vw, 20px);
  background: none; border: 1px solid var(--line); border-radius: var(--pill);
  color: var(--muted); font-size: 0.74rem; padding: 4px 11px; cursor: pointer;
}
.sg-assist-remove-group:hover { color: var(--bad, #e5484d); border-color: var(--bad, #e5484d); }
.sg-assist-add { margin-bottom: 22px; }
.sg-assist-cloud-note {
  grid-column: 1 / -1; color: var(--amber-dk); font-size: 0.82rem; background: color-mix(in srgb, var(--amber) 10%, transparent);
  border-radius: var(--r-sm); padding: 9px 12px; margin: 4px 0 0;
}
.sg-assist-cloud-note[hidden] { display: none; }

.sg-assist-upload { border-top: 1px dashed var(--line); padding-top: 18px; margin-top: 6px; }
.sg-assist-file-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sg-assist-file-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.82rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px;
}
.sg-assist-file-name { flex: 1 1 160px; color: var(--text); word-break: break-all; }
.sg-assist-file-item select { font-size: 0.78rem; padding: 5px 8px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); color: var(--text); }
.sg-assist-file-item button { font-size: 0.78rem; color: var(--bad, #e5484d); background: none; border: none; cursor: pointer; padding: 4px 6px; }

.sg-assist-consent { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 6px; }

.sg-assist-summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.sg-assist-summary-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9rem; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; }
.sg-assist-summary-row dt { color: var(--muted); }
.sg-assist-summary-row dd { color: var(--strong); font-weight: 500; text-align: right; margin: 0; }

.sg-assist-reference {
  display: flex; align-items: center; gap: 12px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 12px 16px; margin: 10px 0 16px; width: fit-content;
}
.sg-assist-reference code { font-family: var(--f-mono); font-size: 1.05rem; color: var(--strong); }

.sg-assist-actions {
  display: flex; align-items: center; gap: 10px; padding: 16px clamp(18px, 4vw, 30px) 20px;
  border-top: 1px solid var(--line);
}
.sg-assist-spacer { flex: 1; }
.sg-assist-actions .btn[hidden] { display: none; }

@media (max-width: 480px) {
  .sg-assist { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
  .sg-assist-inner { max-height: 100vh; }
  .sg-assist-actions { flex-wrap: wrap; }
  .sg-assist-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) { .sg-assist, .sg-assist::backdrop { transition: none !important; } }

/* -- Smart-Guard-Datenschutzhinweise (D-10) ------------------------------ */
.sg-privacy { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.sg-privacy-inner { max-width: 68ch; margin: 0 auto; padding: 0 clamp(18px, 4vw, 30px); }
.sg-privacy-eyebrow {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
  font-family: var(--f-mono); margin-bottom: 6px;
}
.sg-privacy h2 { font-size: 1.5rem; color: var(--strong); letter-spacing: -0.01em; margin-bottom: 14px; }
.sg-privacy h3 { font-size: 1.05rem; color: var(--strong); margin: 28px 0 8px; }
.sg-privacy p, .sg-privacy li { color: var(--muted); line-height: 1.6; font-size: 0.95rem; }
.sg-privacy ul { padding-left: 1.2em; margin: 8px 0; }
.sg-privacy li { margin-bottom: 4px; }
/* KORREKTUR 2026-07-20 (Accessibility-Audit): Links im Fließtext duerfen sich
   nicht ausschliesslich per Farbe von umgebendem Text unterscheiden (WCAG 2.1
   SC 1.4.1). .sg-privacy a hatte zuvor keine Unterstreichung; dieselbe Regel
   deckt zusaetzlich alle bei der SEO-Erweiterung neu eingefuegten
   Fliesstext-Links ab (vorher identische Farbe wie der umgebende Text, siehe
   Implementierungsbericht Phase 8). */
.sg-privacy a, .sg-p a, .sg-split-copy p a, .sg-measures-note a {
  color: var(--amber-dk);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sg-privacy-notice-hint {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 16px; font-size: 0.88rem;
}
.sg-privacy-note { font-size: 0.85rem; font-style: italic; }
.sg-privacy-footer { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 0.82rem; }

/* ============================================================
   RATGEBER (Phase 14): Inhaltsverzeichnis, Autoren-/Prüfhinweis,
   Begriffstabelle -- gescopte Ergaenzung, nutzt ausschliesslich
   bestehende Design-Tokens (--card/--line/--r/--muted/--strong/--amber-dk),
   keine neuen Farben oder Schriften.
   ============================================================ */
.sg-toc {
  max-width: 68ch; margin: 32px auto 0; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px;
}
.sg-toc h2 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin: 0 0 12px; font-family: var(--f-mono);
}
.sg-toc ol { margin: 0; padding-left: 1.2em; }
.sg-toc li { margin-bottom: 7px; font-size: 0.96rem; }
.sg-toc a { color: var(--amber-dk); text-decoration: underline; text-underline-offset: 3px; }

/* Autoren-/Pruefhinweis: dieselbe Vertrauens-Sprache wie .sg-privacy-footer,
   aber als eigenstaendiger Baustein direkt im Artikelkopf/-fuss nutzbar. */
.sg-article-trust {
  max-width: 68ch; margin: 20px auto 0; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 18px; font-size: 0.88rem; color: var(--muted); line-height: 1.55;
}
.sg-article-trust strong { color: var(--strong); }
.sg-article-trust a { color: var(--amber-dk); text-decoration: underline; text-underline-offset: 3px; }

/* Kompakte Begriffstabelle innerhalb von .post-content (Artikel 4). */
.post-content table.sg-glossary { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.post-content table.sg-glossary th,
.post-content table.sg-glossary td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-content table.sg-glossary th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.post-content table.sg-glossary td:first-child { font-family: var(--f-mono); color: var(--strong); white-space: nowrap; }

@media print {
  header, footer, .sg-assist, .sg-hero-actions, .sg-certline { display: none !important; }
  .sg-privacy { border-top: none; }
  .sg-privacy-inner { max-width: 100%; }
}

/* ============================================================
   RATGEBER (Phase 15): Planungscheckliste -- rein clientseitige
   Checkboxen ohne Speicherung/Uebertragung, druckfreundlich.
   ============================================================ */
.sg-checklist-section { margin: 0 auto 32px; max-width: 68ch; }
.sg-checklist-section h2 { font-size: 1.05rem; color: var(--strong); margin: 0 0 4px; }
.sg-checklist-hint { color: var(--muted); font-size: 0.9rem; margin: 0 0 14px; }
.sg-checklist-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sg-checklist-items li {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 14px;
}
.sg-checklist-items input[type="checkbox"] {
  margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--amber-dk);
}
.sg-checklist-items label { font-size: 0.95rem; line-height: 1.5; cursor: pointer; }
.sg-checklist-print {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px auto 28px; max-width: 68ch;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 9px 16px; font: inherit; font-size: 0.9rem; color: var(--strong); cursor: pointer;
}
.sg-checklist-print:hover { border-color: var(--amber-dk); }

/* Sprungliste im Lexikon: identische Optik wie .sg-toc, aber ohne Zaehlung. */
.sg-toc.sg-toc--flat ol { list-style: none; padding-left: 0; columns: 2; column-gap: 24px; }
@media (max-width: 640px) { .sg-toc.sg-toc--flat ol { columns: 1; } }

@media print {
  .sg-checklist-print { display: none !important; }
  .sg-checklist-items li { border: 1px solid #999; break-inside: avoid; }
  .sg-checklist-section { break-inside: avoid; }
}
