/* =========================================================================
   SpexHosting – Design (angelehnt an den Shop: WHMCS-Theme Lagom2 „Futuristic“)
   Wird in header.php als LETZTES Stylesheet geladen.
   Teil 1: Farben + Angleichung der alten Seiten
   Teil 2: Header / Footer (alle Seiten, Präfix sx-)
   Teil 3: Startseite und einfache Seiten (Präfix sx-)
   Teil 4: Benachrichtigungs-Popup, Bestand, Trustpilot
   Farben, Schrift, Kästen und Buttons entsprechen dem Shop, keine Einblend-Animationen.
   ========================================================================= */

/* Alte Schriftnamen auf Systemschriften umleiten (Typekit wird nicht mehr geladen) */
@font-face { font-family: "proxima-nova"; font-weight: 100 500; src: local("Inter"), local("Segoe UI"), local("SegoeUI"), local("Helvetica Neue"), local("HelveticaNeue"), local("Roboto"), local("Arial"); }
@font-face { font-family: "proxima-nova"; font-weight: 600 900; src: local("Inter SemiBold"), local("Segoe UI Semibold"), local("SegoeUI-Semibold"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Arial Bold"), local("Arial-BoldMT"); }
@font-face { font-family: "Oswald"; font-weight: 100 900; src: local("Inter SemiBold"), local("Segoe UI Semibold"), local("HelveticaNeue-Bold"), local("Roboto Bold"), local("Arial Bold"); }

:root {
  --sx-bg: #022268;
  --sx-bg-image: url("/shop/templates/lagom2/assets/img/futuristic-bg.png");
  --sx-bg-2: #0b2d73;
  --sx-panel: #0f3079;
  --sx-surface: linear-gradient(180deg, rgba(75, 120, 210, .16) 0%, rgba(41, 82, 163, .16) 24%, rgba(41, 82, 163, .16) 100%);
  --sx-surface-2: rgba(75, 120, 210, .22);
  --sx-shadow: 0 0 1px rgba(0, 0, 0, .1), 0 16px 32px rgba(0, 0, 0, .16), inset 0 1px 2px rgba(178, 204, 255, .1);
  --sx-shadow-sm: 0 0 1px rgba(0, 0, 0, .1), 0 2px 24px rgba(0, 0, 0, .12), inset 0 1px 2px rgba(178, 204, 255, .1);
  --sx-border: rgba(178, 204, 255, .12);
  --sx-border-strong: rgba(204, 221, 255, .24);
  --sx-text: #fff;
  --sx-body: hsla(220, 100%, 90%, .92);
  --sx-muted: hsla(220, 100%, 90%, .8);
  --sx-input: hsla(220, 100%, 90%, .12);
  --sx-gutter: clamp(20px, 7vw, 160px);
  --sx-primary: #1062fe;
  --sx-primary-hover: #0b52dc;
  --sx-success: #22c55e;
  --sx-danger: #f87171;
  --sx-warning: #fbbf24;
  --sx-radius: 8px;
  --sx-btn-radius: 3px;
  --sx-font: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Farben des alten Themes auf die Shop-Palette umstellen */
  --primary-color-1: #1062fe;
  --primary-color-2: #1062fe;
  --primary-color-1-rgb: 16, 98, 254;
  --primary-color-2-rgb: 16, 98, 254;
  --secondary-color-1: #083fbf;
  --secondary-color-2: #4b78d2;
  --dark-mode-color-1: transparent;
  --dark-mode-color-2: rgba(41, 82, 163, .16);
  --dark-mode-color-3: rgba(41, 82, 163, .16);
}

/* ---------- Teil 1: Alte Seiten angleichen ---------- */
body.dark-mode {
  background: var(--sx-bg) var(--sx-bg-image) no-repeat 50% 50% / cover fixed;
  color: var(--sx-body);
  font-family: var(--sx-font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
/* overflow:hidden würde den festen (sticky) Header verhindern */
#wrapper { overflow: visible; overflow-x: clip; }
#preloader { background: var(--sx-bg); }

.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5 {
  color: var(--sx-text);
  font-family: var(--sx-font);
  font-weight: 400;
  letter-spacing: 0;
}
.dark-mode h1 { font-weight: 300; }

/* Erste Sektion braucht weniger Abstand, da der Header nicht mehr darüber liegt */
#content > section:first-of-type, #content > div > section:first-of-type { padding-top: 56px; }

/* Keine Einblend-Animationen der alten Vorlage (WOW.js): Inhalte sofort zeigen */
.wow { visibility: visible !important; animation: none !important; }

/* Buttons */
body .btn-custom, body a.btn-custom, body .btn-slider {
  background: var(--sx-primary);
  border: 0;
  border-radius: var(--sx-btn-radius);
  color: #fff;
  font-family: var(--sx-font);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 9px 20px;
  box-shadow: none;
  transition: background .15s;
}
body .btn-custom:hover, body a.btn-custom:hover, body .btn-slider:hover { color: #fff; background: var(--sx-primary-hover); }

/* Formulare */
body.dark-mode .form-control {
  background: var(--sx-input);
  border: 1px solid var(--sx-input);
  border-radius: var(--sx-btn-radius);
  color: var(--sx-text);
}
body.dark-mode .form-control:focus { border-color: var(--sx-primary); box-shadow: none; }

/* ---------- Teil 2: Header ---------- */
.sx-container { width: 100%; max-width: none; margin: 0 auto; padding: 0 var(--sx-gutter); }

.sx-header {
  position: sticky; top: 0; z-index: 1001;
  background: rgba(2, 34, 104, .96);
  border-bottom: 1px solid var(--sx-border);
  font-family: var(--sx-font);
  line-height: 1.5;
}
.sx-nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
/* Kopfzeile: Seitenränder nur so breit, wie Logo + Menü + Knöpfe es zulassen (sonst ragen die Knöpfe rechts heraus) */
.sx-header > .sx-container { padding-left: var(--sx-head-gutter); padding-right: var(--sx-head-gutter); }
.sx-header { --sx-head-gutter: min(var(--sx-gutter), max(20px, calc((100vw - 1280px) / 2))); }
@media (max-width: 1339px) {
  .sx-header { --sx-head-gutter: min(var(--sx-gutter), max(20px, calc((100vw - 1160px) / 2))); }
  .sx-actions .sx-btn-ghost { display: none; }
}
@media (max-width: 1199px) { .sx-header { --sx-head-gutter: var(--sx-gutter); } }
.sx-menu { margin-left: auto !important; }
.sx-logo { flex-shrink: 0; }
/* Logo-Größe wie im Shop (Lagom2): 42 px hoch, unter 992 px mitwachsend wie dort */
.sx-logo img { height: 42px; width: auto; max-width: none; }
@media (max-width: 991px) { .sx-logo img { height: clamp(21.5px, calc(15.74px + 1.747vw), 31.3px); } }
.sx-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.sx-menu > li { position: relative; margin: 0; }
.sx-menu > li > a, .sx-menu > li > button {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 6px;
  color: var(--sx-text); font: 400 16px var(--sx-font); background: none; border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
body .sx-menu > li > a { color: var(--sx-text); }
.sx-menu > li:hover > a, body .sx-menu > li:hover > a, .sx-menu > li:hover > button, .sx-menu > li:focus-within > button { color: var(--sx-text); background: rgba(178, 204, 255, .08); }
.sx-caret { width: 10px; height: 10px; }
.sx-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  list-style: none; margin: 0; padding: 6px;
  background: linear-gradient(180deg, rgba(75, 120, 210, .65) 0%, rgba(41, 82, 163, .72) 24%, rgba(31, 61, 122, .72) 100%), var(--sx-bg);
  border: 0; border-radius: var(--sx-radius); box-shadow: var(--sx-shadow);
  display: none;
}
.sx-menu > li:hover .sx-dropdown, .sx-menu > li:focus-within .sx-dropdown { display: block; }
/* Aufklapp-Animation wie im Shop (Lagom2): kurz einblenden und von oben hineingleiten, Schließen ohne Verzögerung */
@media (min-width: 1200px) {
  .sx-dropdown { display: block; opacity: 0; visibility: hidden; transform: translateY(-16px); transition: transform .32s cubic-bezier(0, 0, 0, 1), opacity .08s; }
  .sx-menu > li:hover .sx-dropdown, .sx-menu > li:focus-within .sx-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  /* Abstand zum Tab wie im Shop (16 px) + unsichtbare Brücke, damit das Menü beim Hinbewegen offen bleibt */
  .sx-dropdown { top: calc(100% + 16px); }
  .sx-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
}
.sx-dropdown li { margin: 0; }
.sx-dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px;
  color: var(--sx-text); font: 400 14px var(--sx-font); text-decoration: none;
}
.sx-dropdown a:hover { background: rgba(178, 204, 255, .12); color: #fff; }
.sx-dropdown img { width: 18px; height: 18px; object-fit: contain; }
.sx-badge {
  display: inline-block; padding: 1px 6px; border-radius: 4px; font: 600 11px var(--sx-font);
  background: rgba(34, 197, 94, .15); color: var(--sx-success); margin-left: auto; line-height: 1.6;
}
.sx-badge-hot { background: rgba(248, 113, 113, .15); color: var(--sx-danger); }
.sx-actions [hidden] { display: none !important; }
.sx-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sx-lang { position: relative; }
.sx-lang-btn {
  display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 10px; border: 0; border-radius: var(--sx-btn-radius);
  background: transparent; color: var(--sx-text); font: 500 14px var(--sx-font); cursor: pointer;
}
.sx-lang-btn:hover, .sx-lang.open .sx-lang-btn, .sx-lang:hover .sx-lang-btn { background: rgba(178, 204, 255, .08); }
.sx-lang img { width: 24px; height: 16px; border-radius: 2px; object-fit: cover; flex: none; }
.sx-lang .sx-caret, .sx-lang-btn svg { transition: transform .15s; }
.sx-lang.open .sx-lang-btn svg { transform: rotate(180deg); }
.sx-lang-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 16px); z-index: 1002; min-width: 170px; margin: 0; padding: 6px; list-style: none;
  border-radius: var(--sx-radius); background: linear-gradient(180deg, #0f3a8c 0%, #0b2d73 100%);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .3); border: 1px solid var(--sx-border);
}
/* unsichtbare Brücke, damit das Menü beim Hinbewegen der Maus offen bleibt */
.sx-lang-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.sx-lang-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(-16px); transition: transform .32s cubic-bezier(0, 0, 0, 1), opacity .08s; }
.sx-lang.open .sx-lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
@media (hover: hover) { .sx-lang:hover .sx-lang-menu { opacity: 1; visibility: visible; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .sx-dropdown, .sx-lang-menu { transition: none !important; } }
.sx-lang-menu li { margin: 0; }
body .sx-lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px;
  color: var(--sx-body); font: 400 14px var(--sx-font); text-decoration: none;
}
body .sx-lang-menu a:hover { background: rgba(178, 204, 255, .12); color: #fff; }
body .sx-lang-menu a.active { color: #fff; font-weight: 500; }
body .sx-lang-menu a.active::after { content: "✓"; margin-left: auto; color: #4d8bff; }
.sx-toggle { display: none; background: none; border: 0; color: var(--sx-text); padding: 8px; cursor: pointer; }

/* Antippen/Klicken: kein grauer Tipp-Schatten und kein Fokus-Rahmen (Handy & Maus).
   Nur bei Tastatur-Bedienung (Tab) erscheint ein dezenter blauer Rahmen. */
/* Sprachwechsel live: Texte werden "entschlüsselt" (js/spex-lang-switch.js) */
.sx-dec-n { color: #6fa2ff; text-shadow: 0 0 8px rgba(77, 139, 255, .9), 0 0 2px rgba(178, 204, 255, .9); }
html.sx-lang-loading, html.sx-lang-loading * { cursor: progress; }
html.sx-lang-loading .sx-lang-btn, html.sx-decoding .sx-lang-btn { animation: sx-ls-pulse 1s ease-out infinite; }
@media (prefers-reduced-motion: reduce) {
  html.sx-lang-loading .sx-lang-btn, html.sx-decoding .sx-lang-btn { animation: none; }
}

/* Sprachwechsel-Animation: neue Sprache wird kreisförmig ab der Sprachauswahl aufgedeckt */
@view-transition { navigation: auto; }
::view-transition { background: #011437; }
html.sx-ls::view-transition-old(root) { animation: sx-ls-old .95s cubic-bezier(.4, 0, .2, 1) both; }
html.sx-ls::view-transition-new(root) { animation: sx-ls-new .95s cubic-bezier(.7, 0, .25, 1) both; }
@keyframes sx-ls-old {
  to { transform: scale(.9); filter: blur(12px) brightness(.45) saturate(1.4); opacity: .5; border-radius: 24px; }
}
@keyframes sx-ls-new {
  0%   { clip-path: circle(0 at var(--sx-ls-x, 90%) var(--sx-ls-y, 40px)); filter: brightness(2.2) saturate(1.8) hue-rotate(-25deg) blur(6px); }
  55%  { filter: brightness(1.25) saturate(1.25) hue-rotate(0deg) blur(0); }
  100% { clip-path: circle(160vmax at var(--sx-ls-x, 90%) var(--sx-ls-y, 40px)); filter: none; }
}
html.sx-ls-out .sx-lang-menu { display: none !important; }
html.sx-ls .sx-lang-btn { animation: sx-ls-pulse 1.2s .55s ease-out both; }
@keyframes sx-ls-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(77, 139, 255, .85); }
  100% { box-shadow: 0 0 0 18px rgba(77, 139, 255, 0); }
}
/* Ersatz für Browser ohne Seiten-Übergänge */
html.sx-ls-fade body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(77, 139, 255, .25), rgba(1, 20, 55, .9));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: sx-ls-fade .25s ease-out both;
}
@keyframes sx-ls-fade { from { opacity: 0; } }
html.sx-ls-fb { background: #011437; }
html.sx-ls-fb body { animation: sx-ls-fb .9s cubic-bezier(.7, 0, .25, 1) both; }
@keyframes sx-ls-fb {
  from { clip-path: circle(0 at var(--sx-ls-x, 90%) var(--sx-ls-dy, 40px)); }
  to   { clip-path: circle(160vmax at var(--sx-ls-x, 90%) var(--sx-ls-dy, 40px)); }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  html.sx-ls .sx-lang-btn, html.sx-ls-fb body, html.sx-ls-fade body::after { animation: none !important; }
}

html { -webkit-tap-highlight-color: transparent; scroll-padding-top: 90px; } /* Sprungziele (#produkte …) nicht unter der festen Kopfzeile */
a:focus:not(:focus-visible), button:focus:not(:focus-visible), [tabindex]:focus:not(:focus-visible), [role="button"]:focus:not(:focus-visible) { outline: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, [role="button"]:focus-visible { outline: 2px solid #4d8bff; outline-offset: 2px; }

/* Buttons */
.sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: var(--sx-btn-radius); font: 500 14px/1.2 var(--sx-font);
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.sx-btn:hover { text-decoration: none; }
body .sx-btn-primary, body .sx-btn-primary:focus { background: var(--sx-primary); border-color: var(--sx-primary); color: #fff; box-shadow: var(--sx-shadow-sm); }
body .sx-btn-primary:hover { background: var(--sx-primary-hover); border-color: var(--sx-primary-hover); color: #fff; }
body .sx-btn-ghost, body .sx-btn-ghost:focus { background: transparent; border-color: var(--sx-border-strong); color: var(--sx-text); }
body .sx-btn-ghost:hover { background: rgba(178, 204, 255, .08); border-color: var(--sx-muted); color: var(--sx-text); }
.sx-btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Footer ---------- */
.sx-footer {
  border-top: 1px solid var(--sx-border); padding: 56px 0 28px; background: rgba(2, 34, 104, .6);
  font: 400 15px/1.6 var(--sx-font); color: var(--sx-muted);
}
.sx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.sx-footer h5 { margin: 0 0 12px; font: 400 16px var(--sx-font); color: var(--sx-text); }
.sx-footer ul { list-style: none; margin: 0; padding: 0; }
.sx-footer li { margin: 0 0 8px; }
body .sx-footer a { color: var(--sx-muted); text-decoration: none; }
body .sx-footer a:hover { color: var(--sx-text); }
.sx-footer-about p { max-width: 300px; margin: 14px 0 0; }
.sx-footer-about img { height: 30px; width: auto; }
.sx-socials { display: flex; gap: 8px; margin-top: 16px; }
.sx-socials a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--sx-btn-radius);
  border: 1px solid var(--sx-border-strong);
}
.sx-socials a:hover { border-color: var(--sx-muted); }
.sx-socials img { width: 20px; height: 20px; }
.sx-footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--sx-border); font-size: 14.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ---------- Teil 3: Startseite + einfache Seiten ---------- */
.sx-page { font-family: var(--sx-font); color: var(--sx-text); line-height: 1.6; font-size: 16px; }
.sx-page section { padding: 64px 0; background: transparent; }
.sx-page section.sx-tight { padding-top: 0; }
.sx-page p { color: var(--sx-body); }
.sx-page h1, .sx-page h2, .sx-page h3, .sx-page h4 { display: block; }
/* Altes Theme (style.css) setzt h2 { overflow: hidden } – das schneidet Unterlängen (g, p, y) ab */
h2 { overflow: visible; }
.sx-accent { color: #4d8bff; }

.sx-hero { padding: 72px 0 56px !important; margin-bottom: 16px; }
.sx-page .sx-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px); line-height: 1.15; margin: 0 0 16px; font-weight: 300; color: var(--sx-text); max-width: 760px;
}
.sx-hero h1 .id-color-2 { color: #4d8bff; font-weight: 500; }
.sx-lead { font-size: 18px; max-width: 620px; margin: 0 0 28px; }
.sx-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.sx-hero-trust { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; color: var(--sx-muted); font-size: 15px; }
.sx-hero-trust strong { display: block; color: var(--sx-text); font-size: 20px; font-weight: 700; }

.sx-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.sx-page .sx-head h2 { font-size: clamp(26px, 3.5vw, 34px); line-height: 1.2; margin: 0 0 10px; font-weight: 300; color: var(--sx-text); }
.sx-head p { margin: 0; }

.sx-domain {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: center;
  margin: 0 auto; padding: 40px 44px; border-radius: var(--sx-radius); text-align: left;
  background: var(--sx-surface); box-shadow: var(--sx-shadow); border: 0;
}
.sx-page .sx-domain h2 { margin: 0 0 10px; font-size: clamp(26px, 2.4vw, 32px); font-weight: 300; color: var(--sx-text); }
.sx-page .sx-domain-lead { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--sx-muted); }
.sx-domain-points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.sx-domain-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--sx-text); line-height: 1.45; }
.sx-domain-points svg { flex: none; color: var(--sx-success, #00b67a); margin-top: 1px; }
.sx-page .sx-domain-transfer { margin: 0; font-size: 15px; color: var(--sx-muted); }
.sx-page .sx-domain-transfer a { color: #4d8bff; text-decoration: none; white-space: nowrap; }
.sx-page .sx-domain-transfer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sx-domain-main { min-width: 0; }
.sx-domain-form { display: flex; gap: 8px; margin: 0; }
.sx-domain-form input {
  flex: 1; min-width: 0; height: auto; background: var(--sx-input); border: 1px solid var(--sx-input); border-radius: var(--sx-btn-radius);
  outline: 0; box-shadow: none; color: var(--sx-text); font: 17px var(--sx-font); padding: 14px 18px;
}
.sx-domain-form .sx-btn { padding-left: 28px; padding-right: 28px; }
.sx-domain-form input:focus { border-color: var(--sx-primary); }
.sx-domain-form input::placeholder { color: var(--sx-muted); }
.sx-tlds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.sx-tld {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; cursor: pointer;
  border: 1px solid rgba(178, 204, 255, .12); border-radius: var(--sx-btn-radius); background: rgba(178, 204, 255, .05);
  color: var(--sx-muted); font: 14px var(--sx-font); transition: border-color .15s, background .15s, transform .15s;
}
.sx-tld:hover { border-color: var(--sx-primary); background: rgba(77, 139, 255, .12); transform: translateY(-2px); }
.sx-tld b { font-size: 20px; font-weight: 600; color: var(--sx-text); }
.sx-tld-price { font-size: 15.5px; color: var(--sx-text); }
.sx-tld-per { font-size: 13px; }
.sx-domain-out:not(:empty) + .sx-tlds { display: none; }
.sx-domain-out { text-align: left; }
.sx-page .sx-domain-msg { margin: 18px 0 0; text-align: center; color: var(--sx-muted); }
.sx-page .sx-domain-msg-warn { color: var(--sx-warning); }
.sx-domain-results { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.sx-dr {
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 16px;
  padding: 10px 10px 10px 16px; border-radius: var(--sx-btn-radius); background: var(--sx-input); border: 1px solid transparent;
}
.sx-dr form { margin: 0; }
.sx-dr-wanted { border-color: var(--sx-border-strong); }
.sx-dr-name { font-size: 16px; color: var(--sx-text); font-weight: 500; overflow-wrap: anywhere; }
.sx-dr-badge { font-size: 14px; font-weight: 500; }
.sx-dr-free .sx-dr-badge { color: var(--sx-success); }
.sx-dr-taken .sx-dr-badge { color: var(--sx-muted); grid-column: 2 / -1; justify-self: end; padding-right: 6px; }
.sx-dr-taken .sx-dr-name { color: var(--sx-muted); font-weight: 400; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.3); }
.sx-dr-unknown .sx-dr-badge { color: var(--sx-warning); }
.sx-dr-price { color: var(--sx-body); font-size: 15px; white-space: nowrap; }
@media (max-width: 600px) {
  .sx-dr { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .sx-dr-name { grid-column: 1 / -1; }
  .sx-dr form { grid-column: 1 / -1; }
  .sx-dr form .sx-btn { width: 100%; }
  .sx-dr-taken .sx-dr-badge { grid-column: auto; justify-self: start; }
}

.sx-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sx-card {
  display: flex; flex-direction: column; padding: 24px; border-radius: var(--sx-radius);
  background: var(--sx-surface); box-shadow: var(--sx-shadow); border: 1px solid transparent; text-align: center; transition: border-color .15s;
}
.sx-card:hover { border-color: var(--sx-border-strong); }
.sx-card.featured { border-color: var(--sx-primary); }
.sx-icon { color: #4d8bff; margin-bottom: 14px; line-height: 0; }
.sx-icon svg { width: 26px; height: 26px; }
.sx-page .sx-card h3 { margin: 0 0 8px; font-size: 24px; font-weight: 300; color: var(--sx-text); }
.sx-card p { margin: 0 0 18px; font-size: 15.5px; flex: 1; }
.sx-price { margin: 0 0 18px; color: var(--sx-muted); font-size: 13px; }
.sx-price .num { display: block; font-size: 32px; font-weight: 700; color: var(--sx-text); margin: 2px 0; line-height: 1.2; }
.sx-card .sx-btn { width: 100%; }
.sx-card-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-card-btns .sx-btn { flex: 1 1 0; min-width: max-content; width: auto; padding-left: 12px; padding-right: 12px; }

/* Spiele: gleich breite Kacheln, Reihen (auch die letzte, unvollständige) mittig zentriert */
.sx-games { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sx-games > .sx-game { flex: 0 0 210px; min-width: 0; }
@media (max-width: 600px) { .sx-games > .sx-game { flex-basis: calc(50% - 5px); } }
body .sx-game {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--sx-radius);
  background: var(--sx-surface); box-shadow: var(--sx-shadow-sm); border: 1px solid transparent; color: var(--sx-text); font-weight: 400; font-size: 15.5px;
  text-decoration: none; transition: border-color .15s;
}
body .sx-game:hover { border-color: var(--sx-border-strong); color: #fff; text-decoration: none; }
.sx-game img { width: 26px; height: 26px; object-fit: contain; }

.sx-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sx-feature { padding: 22px; border-radius: var(--sx-radius); background: var(--sx-surface); box-shadow: var(--sx-shadow-sm); }
.sx-feature .ico { color: #4d8bff; margin-bottom: 12px; line-height: 0; }
.sx-feature .ico svg { width: 24px; height: 24px; }
.sx-page .sx-feature h4 { margin: 0 0 6px; font-size: 16px; font-weight: 500; color: var(--sx-text); }
.sx-feature p { margin: 0; font-size: 15px; }

.sx-trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  padding: 32px; border-radius: var(--sx-radius); background: var(--sx-surface); box-shadow: var(--sx-shadow);
}
.sx-rating { display: flex; align-items: center; gap: 14px; }
.sx-score { font-size: 44px; font-weight: 700; line-height: 1; color: var(--sx-text); }
.sx-stars { color: #00b67a; font-size: 20px; letter-spacing: 2px; }
/* Sterne passend zum TrustScore: graue Sterne, darüber grüne bis --sx-fill */
.sx-stars-fill { position: relative; display: inline-block; color: rgba(178, 204, 255, .25); white-space: nowrap; line-height: 1.2; }
.sx-rating .sx-stars-fill { display: block; width: max-content; }
.sx-stars-fill::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--sx-fill, 100%); overflow: hidden; color: #00b67a; }
.sx-page .sx-trust h3 { margin-top: 0; font-size: 20px; font-weight: 400; color: var(--sx-text); }

/* Kundenstimmen */
.sx-rv { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: stretch; }
.sx-rv > .sx-rv-sum .sx-reviews-note { margin-top: auto; }
.sx-rv-sum {
  display: flex; flex-direction: column; gap: 16px; padding: 26px;
  border-radius: var(--sx-radius); background: var(--sx-surface); box-shadow: var(--sx-shadow);
}
.sx-rv-sum .sx-rv-count { display: block; white-space: nowrap; font-size: 14.5px; color: var(--sx-muted); }
.sx-page .sx-rv-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sx-muted); }
.sx-rv-btns { display: flex; flex-direction: column; gap: 10px; }
.sx-rv-btns .sx-btn { text-align: center; }
.sx-page .sx-reviews-note { margin: 0; padding-top: 14px; border-top: 1px solid rgba(178, 204, 255, .12); font-size: 12.5px; line-height: 1.5; color: var(--sx-muted); }
/* Produktseiten: eine flache Zeile */
.sx-rv-sum.sx-rv-row { flex-direction: row; align-items: center; gap: 28px; }
.sx-rv-row .sx-rating { flex: none; }
.sx-rv-row .sx-rv-text { flex: 1; }
.sx-rv-row .sx-rv-btns { flex-direction: row; flex: none; }

.sx-reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sx-review { margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 12px; border-radius: var(--sx-radius); background: var(--sx-surface); box-shadow: var(--sx-shadow-sm); }
.sx-review .sx-stars { font-size: 17px; }
.sx-page .sx-review blockquote { margin: 0; padding: 0; border: 0; flex: 1; font: inherit; }
.sx-page .sx-review blockquote p { margin: 0; font-family: inherit; font-size: 15.5px; line-height: 1.6; color: var(--sx-text); font-style: normal; }
.sx-review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--sx-muted); }
.sx-review figcaption strong { color: var(--sx-text); font-weight: 500; }
.sx-review-verified { display: inline-flex; align-items: center; gap: 4px; color: #00b67a; }
.sx-page a.sx-review-link { margin-left: auto; color: #4d8bff; text-decoration: none; white-space: nowrap; }
.sx-page a.sx-review-link:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1099px) {
  .sx-domain { grid-template-columns: 1fr; padding: 32px; }
  .sx-domain-points { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .sx-rv { grid-template-columns: 1fr; }
  .sx-rv > .sx-rv-sum { position: static; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 28px; }
  .sx-rv > .sx-rv-sum .sx-reviews-note { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .sx-rv > .sx-rv-sum, .sx-rv-sum.sx-rv-row { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .sx-rv-row .sx-rv-btns, .sx-rv > .sx-rv-sum .sx-rv-btns { flex-direction: row; flex-wrap: wrap; }
  .sx-rv-btns .sx-btn { flex: 1 1 180px; }
}
/* Handy: Kundenstimmen zum Wischen nebeneinander */
@media (max-width: 640px) {
  .sx-reviews {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--sx-gutter)); padding: 2px var(--sx-gutter) 10px; scroll-padding: 0 var(--sx-gutter);
    scrollbar-width: none;
  }
  .sx-reviews::-webkit-scrollbar { display: none; }
  .sx-review { flex: 0 0 86%; scroll-snap-align: start; padding: 20px; }
}

.sx-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 32px; border-radius: var(--sx-radius); background: var(--sx-surface); box-shadow: var(--sx-shadow);
}
.sx-page .sx-cta h2 { font-size: 26px; font-weight: 300; margin: 0 0 4px; color: var(--sx-text); }
.sx-page .sx-cta p { margin: 0; }

.sx-message { max-width: 620px; margin: 0 auto; text-align: center; }
.sx-message .sx-btn + .sx-btn { margin-left: 8px; }
.sx-message form { display: inline; }

/* ---------- Produktseiten: Preistabelle (_lib/plans.php) ---------- */
.sx-plans { padding: 56px 0 40px !important; overflow: visible !important; }
.sx-plans-head { text-align: center; margin: 0 auto 28px; }
.sx-page .sx-plans-head h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 300; margin: 0 0 10px; color: var(--sx-text); }
.sx-plans-head .sx-lead { margin: 0 auto 12px; }
.sx-notice { display: inline-block; margin: 0 0 6px; padding: 6px 14px; border-radius: var(--sx-btn-radius); font-size: 15.5px; font-weight: 500; }
.sx-page .sx-notice-ok { color: #86efac; background: rgba(34, 197, 94, .12); }
.sx-page .sx-notice-warn { color: #fcd34d; background: rgba(251, 191, 36, .12); }
.sx-page .sx-notice-out { color: #fca5a5; background: rgba(239, 68, 68, .14); }

.sx-billing { display: flex; width: max-content; margin: 18px auto 0; padding: 4px; border-radius: 6px; background: var(--sx-input); }
.sx-billing button {
  border: 0; background: transparent; color: var(--sx-body); font: 500 14px var(--sx-font);
  padding: 8px 18px; border-radius: var(--sx-btn-radius); cursor: pointer;
}
.sx-billing button[aria-pressed="true"] { background: var(--sx-primary); color: #fff; }
.sx-billing button:focus { outline: none; box-shadow: none; }
/* Monats- und Jahrespreis liegen übereinander; der inaktive ist nur unsichtbar, damit die Spaltenbreite beim Umschalten gleich bleibt */
.sx-plan-prices { display: grid; }
.sx-plan-prices > div { grid-area: 1 / 1; align-self: end; }
.sx-plans[data-billing="m"] .p-y, .sx-plans[data-billing="y"] .p-m { visibility: hidden; }

.sx-included {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 0 0 16px; padding: 14px 20px;
  border-radius: var(--sx-radius); background: var(--sx-surface); box-shadow: var(--sx-shadow-sm); font-size: 15.5px;
}
.sx-included-title { color: var(--sx-text); font-weight: 600; }
.sx-included ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.sx-included li { display: flex; align-items: center; gap: 6px; color: var(--sx-body); }
.sx-included li svg { color: var(--sx-success); flex: none; }
.sx-included b { color: var(--sx-text); font-weight: 500; }

.sx-tip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 5px; color: var(--sx-muted); cursor: help; outline: 0; }
.sx-tip.open { color: #fff; }
@media (hover: hover) { .sx-tip:hover, .sx-tip:focus-visible { color: #fff; } }
.sx-tip-box {
  position: absolute; z-index: 20; left: 50%; top: calc(100% + 8px); transform: translateX(calc(-50% + var(--sx-tip-dx, 0px)));
  width: max-content; max-width: min(300px, calc(100vw - 24px)); padding: 10px 12px; border-radius: 6px;
  background: #0b2d73; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); border: 1px solid var(--sx-border-strong);
  color: var(--sx-body); font: 400 14px/1.55 var(--sx-font); text-align: left; text-transform: none; white-space: normal;
  visibility: hidden; opacity: 0;
}
/* Maus: beim Darüberfahren; Touch: nur per Antippen (.open), da "hover" auf Handys nach dem Tippen hängen bleibt */
.sx-tip.open .sx-tip-box { visibility: visible; opacity: 1; }
@media (hover: hover) { .sx-tip:hover .sx-tip-box, .sx-tip:focus-visible .sx-tip-box { visibility: visible; opacity: 1; } }
/* Seitliche Verschiebung (--sx-tip-dx) setzt das Skript in plans.php, damit der Text nie aus dem Bild ragt */

.sx-plan-wrap { border-radius: var(--sx-radius); background: var(--sx-surface); box-shadow: var(--sx-shadow); }
.sx-plan-table { width: 100%; border-collapse: collapse; font-size: 16.5px; color: var(--sx-text); }
.sx-plan-table th {
  padding: 14px 12px; text-align: left; vertical-align: bottom;
  color: var(--sx-text); font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--sx-border-strong);
}
/* Überschriften auf breiten Bildschirmen einzeilig (Spalten sind gleich breit verteilt, siehe _lib/plans.php) */
@media (min-width: 1400px) { .sx-plan-table th { white-space: nowrap; } }
.sx-plan-table th small { display: block; color: var(--sx-muted); font-size: 13px; font-weight: 400; }
.sx-plan-table td { padding: 14px 12px; border-top: 1px solid var(--sx-border); vertical-align: middle; }
.sx-plan-table tbody tr:first-child td { border-top: 0; }
.sx-plan-table tbody tr:hover { background: rgba(75, 120, 210, .1); }
/* Ausstattung immer weiß und gut lesbar – auch bei ausverkauften Paketen */
.sx-plan-table td { color: var(--sx-text); font-weight: 500; }
.sx-plan-price { white-space: nowrap; }
.sx-plan-price s { display: block; color: var(--sx-muted); font-size: 14px; }
.sx-plan-price strong { color: var(--sx-text); font-size: 22px; font-weight: 700; }
.sx-plan-price span { color: var(--sx-muted); font-size: 14px; font-weight: 400; margin-left: 4px; }
.sx-plan-order { width: 1%; white-space: nowrap; text-align: right; }
.sx-plan-order .sx-btn { min-width: 150px; }
.sx-plan-order .sx-stock { text-align: center; }
.sx-plan-note { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--sx-muted); }
.sx-stock-ok { color: var(--sx-success); }
.sx-features-3 { grid-template-columns: repeat(3, 1fr); }
.sx-page .sx-feature h3 { margin: 0 0 6px; font-size: 16px; font-weight: 500; color: var(--sx-text); }

@media (max-width: 1099px) {
  /* Tabelle wird zu Paket-Karten (ab 1100 px passt auch die breite Webspace-Tabelle ohne seitliches Scrollen) */
  .sx-plan-wrap { background: none; box-shadow: none; }
  .sx-plan-table, .sx-plan-table tbody { display: block; }
  .sx-plan-table thead { display: none; }
  .sx-plan-table tr {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px 16px; margin-bottom: 14px; padding: 18px;
    border-radius: var(--sx-radius); background: var(--sx-surface); box-shadow: var(--sx-shadow-sm);
  }
  .sx-plan-table td { display: block; padding: 0; border: 0; }
  .sx-plan-table td[data-label]::before { content: attr(data-label); display: block; color: var(--sx-muted); font-size: 13px; font-weight: 400; }
  .sx-plan-price, .sx-plan-order { grid-column: 1 / -1; }
  .sx-plan-price { padding-top: 10px !important; border-top: 1px solid var(--sx-border) !important; }
  .sx-plan-price s { display: inline; margin-right: 6px; }
  .sx-plan-order { width: auto; text-align: left; }
  .sx-plan-order .sx-btn { width: 100%; }
}
@media (max-width: 991px) { .sx-features-3 { grid-template-columns: 1fr; } }

/* Startseite: Kopfbereich zentriert */
.sx-hero { text-align: center; }
.sx-page .sx-hero h1, .sx-hero .sx-lead { margin-left: auto; margin-right: auto; }
.sx-hero-cta, .sx-hero-trust { justify-content: center; }

/* Startseite mit Grafik: auf dem PC Text links, Server-Grafik rechts; auf Tablet/Handy nur der Text (zentriert) */
.sx-hero-art { display: none; }
@media (min-width: 992px) {
  /* Text und Grafik als Block mittig – nicht an die Ränder gedrückt */
  .sx-hero-grid { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 400px); justify-content: center; gap: 56px; align-items: center; }
  .sx-hero.has-art { text-align: left; }
  .sx-page .sx-hero.has-art h1, .sx-hero.has-art .sx-lead { margin-left: 0; }
  .sx-hero.has-art .sx-hero-cta, .sx-hero.has-art .sx-hero-trust { justify-content: flex-start; }
  .sx-hero-art { display: block; }
  .sx-hero-art img { display: block; width: 100%; height: auto; }
}
/* Große Monitore: Text und Grafik behalten ihre Größe, rücken aber etwas auseinander (56 px bei 1700 px Breite → 140 px ab ca. 2540 px) */
@media (min-width: 1700px) {
  .sx-hero.has-art .sx-hero-grid { gap: clamp(56px, calc(10vw - 114px), 140px); }
}

/* Hardware-Leiste unter der Überschrift */
.sx-hardware {
  display: grid; grid-template-columns: repeat(3, max-content); justify-content: center; gap: 14px 48px; margin: 48px 0 0; padding: 20px 24px; list-style: none;
  border-top: 1px solid var(--sx-border); border-bottom: 1px solid var(--sx-border);
}
.sx-hardware li { display: flex; align-items: center; gap: 8px; color: var(--sx-text); font-size: 15.5px; font-weight: 500; white-space: nowrap; }
.sx-hardware svg { color: #4d8bff; flex: none; }
/* Große Bildschirme: alle sechs in einer Reihe, gleichmäßig über die ganze Breite verteilt (nicht mittig gedrängt) */
@media (min-width: 1700px) { .sx-hardware { grid-template-columns: repeat(6, max-content); justify-content: space-evenly; gap: 14px 36px; } }
@media (max-width: 860px) { .sx-hardware { grid-template-columns: repeat(2, max-content); } }
@media (max-width: 600px) {
  .sx-hardware { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 18px 0; }
  .sx-hardware li { white-space: normal; font-size: 14.5px; align-items: flex-start; text-align: left; }
}

/* Kachel "Anderes Spiel anfragen" */
body .sx-game.sx-game-request { background: transparent; box-shadow: none; border: 1px dashed var(--sx-border-strong); color: var(--sx-body); }
body .sx-game.sx-game-request:hover { border-color: var(--sx-primary); color: #fff; }
.sx-game-request .plus { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; color: #4d8bff; font-size: 22px; line-height: 1; }

/* Links zur Statusseite */
body a.sx-trust-link { display: block; color: var(--sx-muted); text-decoration: none; }
body a.sx-trust-link:hover { color: #fff; }
body a.sx-trust-link:hover strong { text-decoration: underline; text-underline-offset: 3px; }
body a.sx-more { display: inline-block; margin-top: 8px; color: #4d8bff; font-size: 15px; font-weight: 500; text-decoration: none; }
body a.sx-more:hover { color: #fff; text-decoration: underline; }

/* ---------- Volle Breite ---------- */
/* Bootstrap-Container der Produkt- und Rechtsseiten ebenfalls über die ganze Breite */
#wrapper .container, #content .container { width: 100%; max-width: none; padding-left: var(--sx-gutter); padding-right: var(--sx-gutter); }
@media (min-width: 1600px) {
  .sx-cards { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .sx-features { gap: 28px; }
}

/* Reine Textseiten (Impressum, AGB): lesbare Zeilenlänge trotz voller Breite */
.sx-textpage .container > .row { max-width: 960px; margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .sx-actions .sx-btn-ghost { display: none; }
  .sx-cards, .sx-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1199px) {
  .sx-toggle { display: block; }
  .sx-menu {
    position: fixed; top: 68px; left: 0; right: 0; height: calc(100vh - 68px); height: calc(100dvh - 68px);
    flex-direction: column; align-items: stretch; padding: 12px 16px; gap: 0;
    background: var(--sx-bg); overflow-y: auto; display: none; border: 0;
  }
  .sx-header.open .sx-menu { display: flex; }
  html.sx-menu-open { overflow: hidden; }
  html.sx-menu-open .sx-header { background: var(--sx-bg); }
  html.sx-menu-open .sx-menu { overscroll-behavior: contain; }
  .sx-menu > li > a, .sx-menu > li > button, body .sx-menu > li > a { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 16px; color: var(--sx-text); }
  .sx-menu > li { border-bottom: 1px solid var(--sx-border); }
  .sx-dropdown, .sx-menu > li:hover .sx-dropdown { position: static; display: none; box-shadow: none; border: 0; background: transparent; margin: 0 0 8px; padding: 0; }
  .sx-menu > li.open .sx-dropdown { display: block; }
  .sx-menu > li.open .sx-caret { transform: rotate(180deg); }
}
@media (max-width: 991px) {
  .sx-trust { grid-template-columns: 1fr; }
  .sx-hero { padding-top: 48px !important; margin-bottom: 48px; }
  .sx-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sx-page section { padding: 48px 0; }
  .sx-cards, .sx-features, .sx-footer-grid { grid-template-columns: 1fr; }
  .sx-actions .sx-btn-primary { display: none; }
  .sx-domain, .sx-trust, .sx-cta { padding: 20px; }
  .sx-domain-form { flex-direction: column; }
  .sx-tlds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sx-hero-trust { gap: 24px; }
}

/* ---------- Teil 4: Benachrichtigungs-Popup (Produktseiten) ---------- */
.sx-notify {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(5, 8, 20, .75); font-family: var(--sx-font);
}
.sx-notify[hidden] { display: none; }
.sx-notify-box {
  position: relative; width: 100%; max-width: 440px; padding: 28px 24px 22px; border-radius: var(--sx-radius);
  background: linear-gradient(180deg, rgba(75, 120, 210, .35) 0%, rgba(41, 82, 163, .35) 24%, rgba(41, 82, 163, .35) 100%), var(--sx-bg); border: 0; box-shadow: var(--sx-shadow); text-align: left;
}
.sx-notify-box h3 { margin: 0 0 6px; padding-right: 36px; font: 400 22px var(--sx-font); color: var(--sx-text); }
.sx-notify-box p { color: var(--sx-body); font-size: 15px; line-height: 1.55; margin: 0 0 14px; }
.sx-notify-box .sx-notify-product { color: var(--sx-text); font-weight: 600; font-size: 16px; }
.sx-notify-box .sx-notify-bonus { color: var(--sx-success); font-weight: 600; }
.sx-notify-close {
  position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 6px;
  background: none; color: var(--sx-muted); font-size: 24px; line-height: 1; cursor: pointer;
}
.sx-notify-close:hover { color: var(--sx-text); }
.sx-notify-box form { display: grid; gap: 10px; margin-top: 6px; }
.sx-notify-box form[hidden] { display: none; }
.sx-notify-box input[type=email] {
  width: 100%; padding: 12px 16px; border-radius: var(--sx-btn-radius); border: 1px solid var(--sx-input);
  background: var(--sx-input); color: var(--sx-text); font: 16px var(--sx-font); outline: 0;
}
.sx-notify-box input[type=email]:focus { border-color: var(--sx-primary); }
.sx-notify-box .sx-btn { width: 100%; }
.sx-notify-box .sx-btn:disabled { opacity: .6; cursor: wait; }
.sx-notify-box .sx-notify-legal { font-size: 12.5px; margin: 4px 0 0; }
.sx-notify-box .sx-notify-legal a { color: var(--sx-text); text-decoration: underline; }
.sx-notify-box .sx-notify-msg { margin: 12px 0 0; font-weight: 600; }
.sx-notify-box .sx-notify-msg.ok { color: var(--sx-success); }
.sx-notify-box .sx-notify-msg.err { color: var(--sx-danger); }
.sx-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.sx-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Ausverkaufte Pakete + Bestandshinweise */
/* "Benachrichtige mich" behält bewusst den blauen Bestell-Knopf-Stil (sx-btn-primary) */
.sx-stock { display: block; margin-top: 6px; font: 600 13.5px var(--sx-font); }
.sx-stock[hidden] { display: none; }
.sx-stock-out { color: var(--sx-danger); }
.sx-stock-low { color: var(--sx-warning); }


/* ---------- Server-Vergleich (js/spex-compare.js, /server-vergleich/) ---------- */
/* Bestellen + "Vergleichen" nebeneinander, Bestand darunter */
/* max-content: Knöpfe nie schmaler als ihr Text (z. B. "Benachrichtige mich" bei ausverkauften Paketen) */
.sx-plan-actions { display: grid; grid-template-columns: max-content; justify-items: stretch; align-items: center; gap: 0 8px; }
.sx-plan-actions.has-cmp { grid-template-columns: max-content max-content; }
.sx-plan-actions > .sx-btn { grid-column: 1; grid-row: 1; min-width: 132px; }
.sx-plan-actions > .sx-cmp-check { grid-column: 2; grid-row: 1; }
.sx-plan-actions > .sx-stock { grid-column: 1 / -1; grid-row: 2; text-align: center; }

/* Knopf "Vergleichen": umrandet wie die Zweit-Knöpfe, ausgewählt blau mit Haken */
.sx-cmp-check { position: relative; display: block; margin: 0; cursor: pointer; user-select: none; }
.sx-cmp-check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sx-cmp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; height: 100%; min-height: 44px;
  padding: 0 14px; border: 1px solid var(--sx-border-strong); border-radius: var(--sx-btn-radius);
  color: var(--sx-text); font: 500 14px var(--sx-font); white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.sx-cmp-btn svg { flex-shrink: 0; }
.sx-cmp-btn svg + svg { display: none; }
.sx-cmp-check:hover .sx-cmp-btn { background: rgba(178, 204, 255, .08); border-color: var(--sx-muted); }
.sx-cmp-check input:focus-visible + .sx-cmp-btn { outline: 2px solid #fff; outline-offset: 2px; }
.sx-cmp-check input:checked + .sx-cmp-btn { background: rgba(16, 98, 254, .22); border-color: var(--sx-primary); color: #fff; }
.sx-cmp-check input:checked + .sx-cmp-btn svg:first-child { display: none; }
.sx-cmp-check input:checked + .sx-cmp-btn svg + svg { display: block; color: #8db4ff; }
@media (min-width: 1100px) and (max-width: 1399px) {
  .sx-plan-actions > .sx-btn { min-width: 112px; padding-left: 14px; padding-right: 14px; }
  .sx-cmp-btn { padding: 0 11px; gap: 6px; }
}
@media (max-width: 1099px) {
  .sx-plan-actions { grid-template-columns: 1fr; }
  .sx-plan-actions.has-cmp { grid-template-columns: 1fr auto; }
  .sx-plan-actions > .sx-stock { text-align: center; }
}

/* Leiste unten mit der Auswahl */
.sx-cmp-bar {
  position: fixed; z-index: 900; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(1100px, calc(100% - 24px)); display: flex; align-items: center; gap: 16px; padding: 12px 16px;
  background: var(--sx-panel); border: 1px solid var(--sx-border-strong); border-radius: var(--sx-radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.sx-cmp-bar[hidden] { display: none; }
.sx-cmp-text { flex: 1; min-width: 0; }
.sx-cmp-info { margin: 0 0 6px; color: var(--sx-muted); font-size: 13.5px; }
.sx-cmp-warn { color: var(--sx-warning); }
.sx-cmp-items { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sx-cmp-item { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px; border-radius: 999px; background: var(--sx-surface-2); color: var(--sx-text); font-size: 13.5px; }
.sx-cmp-x { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--sx-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.sx-cmp-x:hover, .sx-cmp-x:focus-visible { background: rgba(178, 204, 255, .16); color: #fff; }
.sx-cmp-actions { display: flex; gap: 8px; flex-shrink: 0; }
.sx-cmp-actions [aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
html.sx-cmp-open { scroll-padding-bottom: 140px; }
html.sx-cmp-open body { padding-bottom: 120px; }
@media (max-width: 760px) {
  .sx-cmp-bar { flex-direction: column; align-items: stretch; gap: 8px; bottom: 8px; padding: 10px 12px; }
  .sx-cmp-info { margin-bottom: 4px; }
  .sx-cmp-items { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sx-cmp-items::-webkit-scrollbar { display: none; }
  .sx-cmp-item { flex-shrink: 0; }
  .sx-cmp-actions .sx-btn { flex: 1; }
  html.sx-cmp-open { scroll-padding-bottom: 170px; }
  html.sx-cmp-open body { padding-bottom: 170px; }
}

/* Vergleichsseite */
.sx-cmp-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 18px; }
.sx-cmp-hint { margin: 0; color: var(--sx-body); }
.sx-cmp-diff {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px;
  border: 1px solid var(--sx-border-strong); border-radius: 999px; color: var(--sx-text); font-size: 15px; cursor: pointer; user-select: none;
  transition: background .15s, border-color .15s;
}
.sx-cmp-diff:hover { background: rgba(178, 204, 255, .08); border-color: var(--sx-muted); }
.sx-cmp-diff input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sx-switch { position: relative; flex-shrink: 0; width: 36px; height: 20px; border-radius: 999px; background: var(--sx-input); box-shadow: inset 0 0 0 1px var(--sx-border-strong); transition: background .15s; }
.sx-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--sx-muted); transition: transform .15s, background .15s; }
.sx-cmp-diff input:checked ~ .sx-switch { background: var(--sx-primary); box-shadow: none; }
.sx-cmp-diff input:checked ~ .sx-switch::after { transform: translateX(16px); background: #fff; }
.sx-cmp-diff:has(input:checked) { border-color: var(--sx-primary); background: rgba(16, 98, 254, .14); }
.sx-cmp-diff input:focus-visible ~ .sx-switch { outline: 2px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sx-switch, .sx-switch::after, .sx-cmp-btn, .sx-cmp-diff { transition: none; } }
.sx-cmp-add { display: flex; gap: 8px; margin: 0 0 0 auto; max-width: 100%; }
.sx-cmp-add select {
  min-width: 0; max-width: 420px; background: var(--sx-input); border: 1px solid var(--sx-input); border-radius: var(--sx-btn-radius);
  color: var(--sx-text); font: 15px var(--sx-font); padding: 9px 12px;
}
.sx-cmp-add select:focus { border-color: var(--sx-primary); outline: 0; }
.sx-cmp-add option, .sx-cmp-add optgroup { background: var(--sx-panel); color: var(--sx-text); }
.sx-cmp-wrap { overflow-x: auto; border-radius: var(--sx-radius); background: var(--sx-surface); box-shadow: var(--sx-shadow); }
.sx-cmp-table { width: 100%; min-width: calc(170px + var(--sx-cmp-n, 2) * 190px); border-collapse: collapse; table-layout: fixed; color: var(--sx-text); font-size: 15.5px; }
.sx-cmp-table thead th, .sx-cmp-table thead td { padding: 18px 14px 14px; vertical-align: bottom; text-align: left; border-bottom: 1px solid var(--sx-border-strong); font-weight: 400; }
.sx-cmp-table thead td { width: 190px; }
.sx-cmp-table thead small { display: block; color: var(--sx-muted); font-size: 13px; }
.sx-cmp-name { display: block; margin: 2px 0 8px; font-size: 22px; font-weight: 700; }
.sx-cmp-links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; }
.sx-cmp-links a { color: var(--sx-muted); text-decoration: underline; text-underline-offset: 2px; }
.sx-cmp-links a:hover { color: #fff; }
/* Entfernen: Mülltonne oben rechts im Spaltenkopf, beim Darüberfahren rot */
.sx-cmp-table thead th { position: relative; padding-right: 44px; }
.sx-cmp-links a.sx-cmp-remove {
  position: absolute; top: 12px; right: 8px; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px; color: var(--sx-muted); text-decoration: none; transition: color .15s, background .15s;
}
.sx-cmp-links a.sx-cmp-remove:hover, .sx-cmp-links a.sx-cmp-remove:focus-visible { color: var(--sx-danger); background: rgba(248, 113, 113, .12); }
@media (prefers-reduced-motion: reduce) { .sx-cmp-links a.sx-cmp-remove { transition: none; } }
/* Reihenfolge ändern: Pfeile rechts in der Linkzeile, Ziehen am Spaltenkopf */
.sx-cmp-links { align-items: center; }
.sx-cmp-move { display: inline-flex; gap: 2px; margin-left: auto; }
.sx-cmp-links .sx-cmp-move a {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px;
  color: var(--sx-muted); text-decoration: none; transition: color .15s, background .15s;
}
.sx-cmp-links .sx-cmp-move a:hover, .sx-cmp-links .sx-cmp-move a:focus-visible { color: #fff; background: rgba(178, 204, 255, .14); }
.sx-cmp-links .sx-cmp-move a[aria-disabled="true"] { opacity: .3; pointer-events: none; }
/* Live-Ziehen (js/spex-compare.js): angefasste Spalte hebt sich ab und folgt der Maus */
@media (hover: hover) and (pointer: fine) { .sx-cmp-sortable thead th[data-slug] { cursor: grab; } }
html.sx-cmp-grabbing, html.sx-cmp-grabbing * { cursor: grabbing !important; user-select: none; }
.sx-cmp-table .sx-cmp-lift {
  position: relative; z-index: 3; background: #15409a !important;
  box-shadow: -10px 0 18px -10px rgba(0, 0, 0, .6), 10px 0 18px -10px rgba(0, 0, 0, .6);
}
.sx-cmp-table thead .sx-cmp-lift { box-shadow: -10px 0 18px -10px rgba(0, 0, 0, .6), 10px 0 18px -10px rgba(0, 0, 0, .6), inset 0 3px 0 var(--sx-primary); }
@media (prefers-reduced-motion: reduce) { .sx-cmp-links .sx-cmp-move a { transition: none; } }
.sx-cmp-table tbody th { padding: 12px 14px; text-align: left; color: var(--sx-muted); font-size: 14px; font-weight: 400; }
.sx-cmp-table tbody td { padding: 12px 14px; font-weight: 500; overflow-wrap: anywhere; }
.sx-cmp-table tbody tr + tr > * { border-top: 1px solid var(--sx-border); }
.sx-cmp-table tbody tr.sx-cmp-differs > th { color: var(--sx-text); }
.sx-cmp-table tbody tr.sx-cmp-differs > td { background: rgba(16, 98, 254, .07); }
.sx-cmp-price s { display: block; color: var(--sx-muted); font-size: 13px; font-weight: 400; }
.sx-cmp-price strong { font-size: 20px; }
.sx-cmp-price span { color: var(--sx-muted); font-size: 13px; font-weight: 400; }
.sx-cmp-table .sx-stock { display: inline; margin: 0; }
.sx-cmp-table .sx-stock[hidden] { display: none; }
.sx-cmp-order td { padding: 16px 14px 18px; }
.sx-cmp-order .sx-btn { width: 100%; }
/* Erste Spalte beim seitlichen Wischen stehen lassen (nur wenn die Tabelle breiter als der Bildschirm sein kann) */
@media (max-width: 1099px) { .sx-cmp-table thead td, .sx-cmp-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--sx-bg-2); } }
/* "Nur Unterschiede anzeigen" (ohne JavaScript, über das Häkchen) */
.sx-cmp-page:has(#sx-cmp-diff:checked) .sx-cmp-same { display: none; }
@media (max-width: 760px) {
  .sx-cmp-add { margin: 0; width: 100%; }
  .sx-cmp-add select { flex: 1; }
  .sx-cmp-table { min-width: calc(120px + var(--sx-cmp-n, 2) * 160px); font-size: 14.5px; }
  .sx-cmp-table thead td { width: 124px; }
  .sx-cmp-table tbody th { padding-left: 12px; padding-right: 8px; font-size: 13px; hyphens: auto; overflow-wrap: anywhere; }
  .sx-cmp-name { font-size: 19px; }
}

/* Vergleich: Zusatzfunktionen */
/* "Nur Unterschiede anzeigen" und "Link kopieren" gleich groß: gleiche Höhe/Schrift, Breite = breitester der beiden */
.sx-cmp-left { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: stretch; gap: 10px; }
.sx-cmp-left > * { height: 42px; margin: 0; box-sizing: border-box; } /* margin: altes Theme gibt <label> Abstand nach unten */
body .sx-cmp-copy, body .sx-cmp-copy:focus {
  justify-content: flex-start; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  font: 400 15px/1.2 var(--sx-font); color: var(--sx-text); border-color: var(--sx-border-strong);
}
.sx-cmp-copy svg { width: 36px; flex-shrink: 0; }
.sx-cmp-copy[hidden] { display: none; }
.sx-cmp-copy.is-done, body .sx-cmp-copy.is-done:focus { border-color: var(--sx-success); color: var(--sx-success); }
.sx-cmp-swipe { margin: 0 0 8px; color: var(--sx-muted); font-size: 13.5px; text-align: right; }
.sx-cmp-swipe[hidden] { display: none; }
.sx-cmp-table td.sx-cmp-best { color: #fff; }
.sx-cmp-badge {
  display: inline-flex; align-items: center; gap: 3px; margin-left: 4px; padding: 2px 7px 2px 5px; border-radius: 999px; vertical-align: 2px;
  background: rgba(34, 197, 94, .14); color: var(--sx-success); font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.sx-cmp-price .sx-cmp-badge { display: flex; width: max-content; margin: 4px 0 0; }
@media (max-width: 760px) {
  .sx-cmp-left { width: 100%; grid-auto-flow: row; }
  .sx-cmp-swipe { text-align: left; }
}

/* Vergleich: neue Tabelle wird im Hintergrund geladen (Hinzufügen/Entfernen ohne Neuladen) */
.sx-cmp-loading .sx-cmp-wrap, .sx-cmp-loading .sx-cmp-tools { opacity: .55; transition: opacity .15s; pointer-events: none; }

/* ---------- Aktions-Popup (Black Friday, _lib/promo.php) ---------- */
.sx-promo {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(5, 8, 20, .75); font-family: var(--sx-font); animation: sx-promo-in .25s ease-out;
}
.sx-promo[hidden] { display: none; }
.sx-promo-box {
  position: relative; width: 100%; max-width: 440px; padding: 30px 26px 22px; border-radius: var(--sx-radius); text-align: center;
  background: linear-gradient(180deg, rgba(75, 120, 210, .35) 0%, rgba(41, 82, 163, .35) 30%, rgba(41, 82, 163, .35) 100%), var(--sx-bg);
  box-shadow: var(--sx-shadow); border: 1px solid var(--sx-primary);
}
.sx-promo-kicker { display: inline-block; margin: 0 0 12px !important; padding: 4px 12px; border-radius: 999px; background: #000; color: #fff !important; font: 700 12px/1.4 var(--sx-font) !important; letter-spacing: .12em; text-transform: uppercase; }
.sx-promo-box h3 { margin: 0 0 10px; font: 300 24px/1.3 var(--sx-font); color: var(--sx-text); }
.sx-promo-pct { display: block; font-size: 52px; font-weight: 700; line-height: 1.1; color: #4d8bff; }
.sx-promo-box p { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--sx-body); }
.sx-promo-code { display: flex; gap: 8px; margin: 0 0 12px; }
.sx-promo-code code {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px dashed var(--sx-border-strong); border-radius: var(--sx-btn-radius);
  background: rgba(2, 34, 104, .5); color: var(--sx-text); font: 700 17px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em;
}
.sx-promo-code .sx-btn { flex: none; }
.sx-promo-go { width: 100%; }
.sx-promo-box .sx-promo-small { margin: 12px 0 0; font-size: 12.5px; color: var(--sx-muted); }
.sx-promo-left { font-variant-numeric: tabular-nums; color: var(--sx-text); font-weight: 600; }
@keyframes sx-promo-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sx-promo { animation: none; } }
