/* Leistung SauriaMail (template-parts/leistung-sauriamail*.php), nur auf /leistungen/sauriamail/ geladen.
   CI: Schwarz #111827, Gold #D4AF37 (Flächen), #96690A (Text auf Hell), Off-White #FAFAFA. */

.sm-anker { scroll-margin-top: 7rem; }
/* nicht im kompilierten tailwind.css */
.mt-auto { margin-top: auto; }
.mt-16 { margin-top: 4rem; }

/* Sprungnavigation */
.sm-sprung { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.sm-sprung a { display: inline-block; border: 1px solid #e5e7eb; background: #fff; color: #374151; border-radius: 9999px; padding: 0.5rem 1rem; font-size: 0.875rem; text-decoration: none; transition: border-color .2s, color .2s; }
.sm-sprung a:hover { border-color: #ECD26F; color: #111827; }
.sm-sprung li:last-child a { background: #111827; border-color: #111827; color: #fff; }
.sm-sprung li:last-child a:hover { background: #B8860B; border-color: #B8860B; }

.sm-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #96690A; margin-bottom: 0.75rem; }
.sm-kicker-hell { color: #ECD26F; }

/* Icons: Das Theme macht aus <i data-lucide> ein <iconify-icon>, dessen SVG 1em groß ist.
   Größe deshalb immer auch über font-size setzen. */
.sm-ic-gross { width: 40px; height: 40px; font-size: 40px; line-height: 1; color: #6b7280; display: block; }
.sm-ic { width: 16px; height: 16px; min-width: 16px; font-size: 16px; line-height: 1; flex-shrink: 0; display: inline-block; vertical-align: -3px; }
.sm-ic-ja { color: #96690A; }
.sm-ic-nein { color: #6b7280; }
.sm-ic-teils { color: #6b7280; }
.sm-ic-ind { color: #111827; }
.sm-ic-box { width: 44px; height: 44px; min-width: 44px; border-radius: 14px; background: #FCF8E8; border: 1px solid #F3E3A4; display: inline-flex; align-items: center; justify-content: center; color: #96690A; }
.sm-ic-box svg, .sm-ic-box i, .sm-ic-box iconify-icon { width: 22px; height: 22px; font-size: 22px; line-height: 1; }

/* Versandweg */
.sm-fluss { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.sm-fluss li { display: flex; align-items: center; gap: 0.875rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; padding: 0.875rem 1rem; font-size: 0.9375rem; font-weight: 500; color: #111827; position: relative; }
.sm-fluss li + li { margin-top: 1.75rem; }
.sm-fluss li + li::before { content: ""; position: absolute; left: 1.75rem; top: -1.75rem; height: 1.75rem; width: 2px; background: repeating-linear-gradient(to bottom, #d1d5db 0 4px, transparent 4px 8px); }
.sm-fluss li svg, .sm-fluss li i, .sm-fluss li iconify-icon { width: 22px; height: 22px; min-width: 22px; font-size: 22px; line-height: 1; color: #6b7280; }
.sm-fluss small { display: block; font-size: 0.8125rem; font-weight: 300; color: #6b7280; margin-top: 0.125rem; }
.sm-fluss-mitte { border-style: dashed !important; }
.sm-fluss-gold li { border-color: #F3E3A4; }
.sm-fluss-gold .sm-fluss-mitte { border-style: solid !important; border-color: #D4AF37; box-shadow: 0 0 0 4px #F9F0CD; }
.sm-fluss-gold li svg, .sm-fluss-gold li i, .sm-fluss-gold li iconify-icon { color: #96690A; }
.sm-fluss-gold li + li::before { background: #D4AF37; }

.sm-bedeutung { font-size: 0.875rem; line-height: 1.6; color: #374151; background: #FAFAFA; border-left: 3px solid #D4AF37; border-radius: 0 0.75rem 0.75rem 0; padding: 0.75rem 1rem; }
.sm-bedeutung span { font-weight: 600; color: #111827; }

/* Schritte */
.sm-nummer { width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: #111827; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.125rem; font-weight: 500; }
.sm-pille { display: inline-flex; align-items: center; border: 1px solid #e5e7eb; border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 500; color: #374151; background: #fff; white-space: nowrap; }
.sm-pille-gold { background: #D4AF37; border-color: #D4AF37; color: #111827; }

/* Dunkle Flächen */
.sm-dunkel { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); color: #fff; }
.sm-text-hell { color: #d1d5db; }
.sm-checkliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.sm-checkliste li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; color: #e5e7eb; font-weight: 300; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sm-checkliste li:last-child { border-bottom: 0; padding-bottom: 0; }
.sm-checkliste svg, .sm-checkliste i, .sm-checkliste iconify-icon { width: 18px; height: 18px; min-width: 18px; font-size: 18px; line-height: 1; color: #D4AF37; margin-top: 2px; }

/* Kampagnen */
.sm-betreff { background: #fff; border: 1px solid #e5e7eb; border-radius: 0.875rem; padding: 0.75rem 1rem; }
.sm-betreff-label { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6b7280; margin-bottom: 0.25rem; }
.sm-betreff-text { display: block; font-size: 0.9375rem; font-weight: 500; color: #111827; }

/* Anwendungsfälle */
.sm-kampagne { display: grid; gap: 0.875rem; }
.sm-kampagne div { display: grid; gap: 0.125rem; }
.sm-kampagne dt { font-size: 0.75rem; font-weight: 600; color: #111827; text-transform: uppercase; letter-spacing: 0.05em; }
.sm-kampagne dd { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: #4b5563; font-weight: 300; }
.sm-rechnung { background: #FAFAFA; border: 1px solid #f3f4f6; border-radius: 1rem; padding: 1.25rem; }
.sm-rechnung-titel { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #96690A; margin-bottom: 0.5rem; }
.sm-rechnung ul { list-style: none; margin: 0; padding: 0; }
.sm-rechnung li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; color: #4b5563; padding: 0.375rem 0; border-bottom: 1px dashed #e5e7eb; }
.sm-rechnung li span:last-child { color: #111827; font-weight: 500; text-align: right; white-space: nowrap; }
.sm-rechnung li:last-child { border-bottom: 0; }
.sm-rechnung li:last-child span:last-child { font-weight: 600; }
.sm-rechnung-kosten { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid #e5e7eb; font-size: 0.875rem; color: #4b5563; }
.sm-rechnung-kosten strong { color: #111827; font-weight: 600; }

/* Formfelder (Rechner, Testformular) */
.sm-label { display: block; font-size: 0.8125rem; font-weight: 500; color: #4b5563; margin-bottom: 0.375rem; }
.sm-input, .sm-select { width: 100%; padding: 0.75rem 1rem; font-size: 1rem; color: #111827; background: #fff; border: 1px solid #e5e7eb; border-radius: 0.75rem; transition: border-color .2s; font-family: inherit; }
.sm-select { padding: 0.75rem 2.25rem 0.75rem 0.875rem; font-size: 0.875rem; appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; }
.sm-input:focus, .sm-select:focus { outline: none; border-color: #B8860B; box-shadow: 0 0 0 3px #F9F0CD; }
#smt_privacy { accent-color: #B8860B; }

/* Rechner-Ergebnis */
.sm-ergebnis-label { font-size: 0.8125rem; color: #d1d5db; font-weight: 300; margin-bottom: 0.25rem; }
.sm-ergebnis { font-size: 2.25rem; line-height: 1.1; font-weight: 500; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sm-ergebnis-gold { color: #ECD26F; }
.sm-trenner { height: 1px; background: rgba(255,255,255,0.1); }
.sm-kosten div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; }
.sm-kosten dt { color: #d1d5db; font-weight: 300; }
.sm-kosten dd { margin: 0; color: #fff; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.sm-kosten-gold dt { color: #fff; font-weight: 500; }
.sm-kosten-gold dd { color: #ECD26F; font-size: 1.25rem; }

/* Tabellen */
.sm-tabelle { width: 100%; border-collapse: collapse; }
.sm-tabelle th, .sm-tabelle td { padding: 1rem; text-align: left; vertical-align: top; font-size: 0.875rem; line-height: 1.5; }
.sm-tabelle thead th { font-weight: 600; color: #111827; background: rgba(249,250,251,0.8); border-bottom: 1px solid #f3f4f6; }
.sm-tabelle tbody th { font-weight: 500; color: #111827; }
.sm-tabelle tbody td { color: #4b5563; font-weight: 300; }
.sm-tabelle tbody tr + tr { border-top: 1px solid #f3f4f6; }
.sm-tabelle .sm-spalte-eigen { background: #FCF8E8; }
.sm-tabelle thead .sm-spalte-eigen { background: #F9F0CD; color: #111827; }
.sm-tabelle td.sm-spalte-eigen { color: #111827; font-weight: 400; }
.sm-tabelle-vergleich th:first-child { width: 24%; }
.sm-gruppe th { background: #111827; color: #fff !important; font-size: 0.75rem !important; font-weight: 600 !important; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.625rem 1rem !important; }
.sm-zelle { display: flex; gap: 0.5rem; align-items: flex-start; }
.sm-zelle svg, .sm-zelle i, .sm-zelle iconify-icon { margin-top: 2px; }
.sm-tarifname { display: block; font-size: 0.75rem; color: #6b7280; }
.sm-zellpreis { display: block; font-size: 1.125rem; font-weight: 500; color: #111827; font-variant-numeric: tabular-nums; }
.sm-zellspar { display: block; font-size: 0.75rem; font-weight: 500; color: #96690A; margin-top: 0.125rem; }
.sm-tabelle-preise td.sm-spalte-eigen .sm-zellpreis { font-size: 1.375rem; }

@media (max-width: 767px) {
    .sm-tabelle thead { display: none; }
    .sm-tabelle tbody tr { display: block; padding: 0.75rem 0; }
    .sm-tabelle tbody tr + tr { border-top: 1px solid #f3f4f6; }
    .sm-tabelle tbody th, .sm-tabelle td { display: block; padding: 0.375rem 1.25rem; }
    .sm-tabelle tbody th { font-size: 0.9375rem; padding-top: 0.5rem; }
    .sm-tabelle td[data-label]::before { content: attr(data-label); display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #6b7280; margin-bottom: 0.125rem; }
    .sm-tabelle .sm-spalte-eigen { background: #FCF8E8; border-radius: 0.75rem; margin: 0.25rem 0.75rem; padding: 0.5rem 0.75rem; }
    .sm-tabelle-vergleich th:first-child { width: auto; }
    .sm-gruppe { padding: 0 !important; }
    .sm-gruppe th { display: block; }
}

/* Filter: Provider, E-Mails, Kontakte */
.sm-filter { display: grid; gap: 1.25rem; background: #FAFAFA; border: 1px solid rgba(229,231,235,0.6); border-radius: 1.5rem; padding: 1.5rem; }
@media (min-width: 768px) { .sm-filter { grid-template-columns: 1.2fr 0.8fr 1.4fr; align-items: start; } }
.sm-regler-feld input[type="range"] { width: 100%; height: 2.25rem; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sm-regler-feld input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 9999px; background: #e5e7eb; }
.sm-regler-feld input[type="range"]::-moz-range-track { height: 6px; border-radius: 9999px; background: #e5e7eb; }
.sm-regler-feld input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 9999px; background: #111827; border: 4px solid #D4AF37; margin-top: -10px; }
.sm-regler-feld input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 9999px; background: #111827; border: 4px solid #D4AF37; }
.sm-regler-feld input[type="range"]:focus-visible { outline: none; }
.sm-regler-feld input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #F3E3A4; }
.sm-regler-skala { display: flex; justify-content: space-between; font-size: 0.6875rem; color: #6b7280; padding: 0 4px; }

/* Ergebnis je Provider */
.sm-provider-werte { display: grid; gap: 1rem; margin: 0; }
@media (min-width: 768px) { .sm-provider-werte { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sm-provider-werte div { background: #fff; border: 1px solid #F3E3A4; border-radius: 1rem; padding: 0.875rem 1rem; }
.sm-provider-werte dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6b7280; margin-bottom: 0.25rem; }
.sm-provider-werte dd { margin: 0; font-size: 0.9375rem; font-weight: 500; color: #111827; line-height: 1.45; }
.sm-warnung { display: flex; gap: 0.625rem; background: #fff; border: 1px solid #111827; border-left-width: 4px; border-radius: 0.75rem; padding: 0.875rem 1rem; font-size: 0.875rem; line-height: 1.55; color: #111827; }
.sm-warnung::before { content: "!"; flex-shrink: 0; width: 1.25rem; height: 1.25rem; border-radius: 9999px; background: #111827; color: #fff; font-weight: 700; font-size: 0.75rem; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
#sm-preise .sm-cta { display: inline-flex; align-items: center; padding: 0.75rem 1.5rem; border-radius: 9999px; background: #111827; color: #fff; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: background .3s; }
#sm-preise .sm-cta:hover { background: #B8860B; color: #fff; }

/* Pakete */
.sm-paket { background: #fff; border-color: rgba(229,231,235,0.6); transition: transform .5s ease, box-shadow .5s ease; }
.sm-paket:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1); }
.sm-paket-hl { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); border-color: #1f2937; color: #fff; }
.sm-paket-name { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #96690A; }
.sm-paket-hl .sm-paket-name { color: #ECD26F; }
.sm-paket-fuer { font-size: 0.9375rem; color: #6b7280; font-weight: 300; }
.sm-paket-hl .sm-paket-fuer { color: #d1d5db; }
.sm-paket-preis { font-size: 2.75rem; line-height: 1; font-weight: 500; color: #111827; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sm-paket-hl .sm-paket-preis { color: #fff; }
.sm-paket-suffix { font-size: 0.875rem; color: #6b7280; }
.sm-paket-hl .sm-paket-suffix { color: #d1d5db; }
.sm-paket-statt { font-size: 0.875rem; color: #6b7280; line-height: 1.7; }
.sm-paket-hl .sm-paket-statt { color: #d1d5db; }
.sm-spar { display: inline-block; margin-left: 0.25rem; background: #D4AF37; color: #111827; font-weight: 600; font-size: 0.75rem; border-radius: 9999px; padding: 0.125rem 0.625rem; white-space: nowrap; }
.sm-paket-merkmal { display: flex; gap: 0.75rem; align-items: flex-start; color: #4b5563; font-weight: 300; font-size: 0.9375rem; line-height: 1.5; }
.sm-paket-hl .sm-paket-merkmal { color: #e5e7eb; }
.sm-paket-merkmal svg, .sm-paket-merkmal i, .sm-paket-merkmal iconify-icon { width: 18px; height: 18px; min-width: 18px; font-size: 18px; line-height: 1; color: #96690A; margin-top: 2px; }
.sm-paket-hl .sm-paket-merkmal svg, .sm-paket-hl .sm-paket-merkmal i, .sm-paket-hl .sm-paket-merkmal iconify-icon { color: #ECD26F; }
#sm-preise .sm-paket-cta { display: block; text-align: center; padding: 0.875rem 1.5rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; background: #111827; color: #fff; text-decoration: none; transition: background .3s, color .3s; }
#sm-preise .sm-paket-cta:hover { background: #B8860B; color: #fff; }
#sm-preise .sm-paket-hl .sm-paket-cta { background: #fff; color: #111827; }
#sm-preise .sm-paket-hl .sm-paket-cta:hover { background: #F9F0CD; color: #111827; }

@media (prefers-reduced-motion: reduce) {
    .sm-paket, .sm-paket:hover { transition: none; transform: none; }
}

/* Anbindungen */
.sm-anb-kopf { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .sm-anb-kopf { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.sm-suche { display: flex; align-items: center; gap: 0.75rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 9999px; padding: 0 1.25rem; color: #6b7280; }
.sm-suche:focus-within { border-color: #B8860B; box-shadow: 0 0 0 3px #F9F0CD; }
.sm-suche input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.875rem 0; font-size: 1rem; color: #111827; font-family: inherit; outline: none; }
.sm-legende { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; color: #4b5563; }
.sm-legende li { display: inline-flex; align-items: center; gap: 0.5rem; }
.sm-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.sm-chip { display: inline-flex; align-items: center; border-radius: 9999px; padding: 0.3125rem 0.75rem; font-size: 0.8125rem; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.sm-chip-s { background: #111827; color: #fff; border: 1px solid #111827; }
.sm-chip-i { background: #fff; color: #111827; border: 1px dashed #B8860B; }
.sm-chip[hidden], .sm-anb-gruppe[hidden], .sm-warnung[hidden], #sm-anb-leer[hidden] { display: none !important; }

/* Funktionsvergleich: Fazit, Themen, Notizen */
.sm-fazit { border: 1px solid rgba(229,231,235,0.8); border-radius: 1.25rem; padding: 1.125rem 1.25rem; background: #FAFAFA; font-size: 0.875rem; line-height: 1.55; color: #4b5563; font-weight: 300; }
.sm-fazit-gold { background: #FCF8E8; border-color: #F3E3A4; }
.sm-fazit-titel { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: #111827; margin-bottom: 0.375rem; }
.sm-tab-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
#sm-preise #sm-tab-filter .sm-tab { border: 1px solid #e5e7eb; background: #fff; color: #374151; border-radius: 9999px; padding: 0.5rem 1rem; font-size: 0.875rem; cursor: pointer; transition: all .2s; }
#sm-preise #sm-tab-filter .sm-tab:hover { border-color: #ECD26F; }
#sm-preise #sm-tab-filter .sm-tab[aria-pressed="true"] { background: #111827; border-color: #111827; color: #fff; }
.sm-nur-unterschiede { display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto; font-size: 0.875rem; color: #374151; cursor: pointer; }
.sm-nur-unterschiede input { accent-color: #B8860B; width: 1rem; height: 1rem; }
.sm-tabelle tr[hidden] { display: none !important; }
.sm-zellnotiz { display: block; font-size: 0.75rem; color: #6b7280; margin-top: 0.125rem; }

/* Testformular: Anbindungen als Auswahl */
.sm-check-gruppe { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sm-check { position: relative; }
.sm-check input { position: absolute; opacity: 0; pointer-events: none; }
.sm-check span { display: inline-block; border: 1px solid #e5e7eb; border-radius: 9999px; padding: 0.375rem 0.875rem; font-size: 0.8125rem; color: #374151; cursor: pointer; transition: all .2s; background: #fff; }
.sm-check input:checked + span { background: #111827; border-color: #111827; color: #fff; }
.sm-check input:focus-visible + span { box-shadow: 0 0 0 3px #F3E3A4; }

/* Shopify und Shopware, Rechtssicherheit */
.sm-luecke { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); color: #fff; }
.sm-luecke .sm-checkliste li { color: #e5e7eb; }
#sm-shops #sm-trigger-filter .sm-tab { border: 1px solid #e5e7eb; background: #fff; color: #374151; border-radius: 9999px; padding: 0.5rem 1rem; font-size: 0.875rem; cursor: pointer; transition: all .2s; }
#sm-shops #sm-trigger-filter .sm-tab:hover { border-color: #ECD26F; }
#sm-shops #sm-trigger-filter .sm-tab[aria-pressed="true"] { background: #111827; border-color: #111827; color: #fff; }
.sm-tabelle-trigger th:first-child { width: 20%; }
.sm-tabelle-trigger td:nth-child(2) { color: #6b7280; }
.sm-tabelle-markt th:first-child { width: 22%; }
.sm-tabelle .sm-zeile-eigen th, .sm-tabelle .sm-zeile-eigen td { background: #FCF8E8; color: #111827; font-weight: 500; }
.sm-status { display: grid; gap: 0.625rem; margin: 0; padding-top: 1rem; border-top: 1px solid #e5e7eb; }
.sm-status div { display: grid; gap: 0.25rem; }
.sm-status dt { line-height: 1; }
.sm-status dd { margin: 0; font-size: 0.875rem; line-height: 1.5; color: #374151; }
@media (max-width: 767px) {
    .sm-tabelle-trigger th:first-child, .sm-tabelle-markt th:first-child { width: auto; }
    .sm-tabelle .sm-zeile-eigen { background: #FCF8E8; }
}
