/* ScriptFabrik Premium – Symfony Frontend + Light/Dark Mode */

/* ── Design tokens (light) ── */
:root,
[data-theme="light"] {
  --premium-navy: #0f2a44;
  --premium-blue: #0f2a44;
  --premium-blue-light: #1e3a8a;
  --premium-accent: #0f2a44;
  --premium-light: #f4f7fb;
  --premium-muted: #64748b;
  --premium-text: #334155;
  --premium-text-body: #475569;
  --premium-bg: #ffffff;
  --premium-bg-page: #f1f5f9;
  --premium-bg-muted: #f4f7fb;
  --premium-bg-elevated: #ffffff;
  --premium-bg-hero: linear-gradient(135deg, #f8fafc 0%, #eef2f7 50%, #f4f7fb 100%);
  --premium-bg-hero-home: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  --premium-border: rgba(15, 42, 68, 0.08);
  --premium-shadow: 0 8px 40px rgba(15, 42, 68, 0.08);
  --premium-shadow-sm: 0 4px 20px rgba(15, 42, 68, 0.06);
  --premium-header-bg: rgba(255, 255, 255, 0.97);
  --premium-radius: 16px;
  --premium-input-bg: #ffffff;
  --premium-input-border: #e2e8f0;
  --premium-glow: rgba(30, 64, 175, 0.07);
  --premium-glow-2: rgba(15, 42, 68, 0.05);

  /* Bridge to main.css */
  --background-color: #f1f5f9;
  --default-color: #475569;
  --heading-color: #1e293b;
  --surface-color: #ffffff;
  --accent-color: #0f2a44;
  --nav-color: #475569;
  --nav-hover-color: #0f2a44;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #475569;
  --nav-dropdown-hover-color: #0f2a44;
}

/* ── Design tokens (dark) – dunkles Business-Blau statt Hellblau ── */
[data-theme="dark"] {
  --premium-navy: #e2e8f0;
  --premium-blue: #60a5fa;
  --premium-blue-light: #93c5fd;
  --premium-accent: #60a5fa;
  --premium-light: #0f172a;
  --premium-muted: #94a3b8;
  --premium-text: #cbd5e1;
  --premium-text-body: #94a3b8;
  --premium-bg: #0b1220;
  --premium-bg-page: #0b1220;
  --premium-bg-muted: #111827;
  --premium-bg-elevated: #1a2332;
  --premium-bg-hero: linear-gradient(135deg, #0b1220 0%, #111827 50%, #0f172a 100%);
  --premium-bg-hero-home: linear-gradient(135deg, #0b1220 0%, #111827 100%);
  --premium-border: rgba(255, 255, 255, 0.08);
  --premium-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  --premium-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.25);
  --premium-header-bg: rgba(11, 18, 32, 0.95);
  --premium-input-bg: #1a2332;
  --premium-input-border: rgba(255, 255, 255, 0.12);
  --premium-glow: rgba(30, 64, 175, 0.18);
  --premium-glow-2: rgba(255, 255, 255, 0.03);

  --background-color: #0b1220;
  --default-color: #94a3b8;
  --heading-color: #f1f5f9;
  --surface-color: #1a2332;
  --accent-color: #60a5fa;
  --nav-color: #cbd5e1;
  --nav-hover-color: #93c5fd;
  --nav-mobile-background-color: #111827;
  --nav-dropdown-background-color: #1a2332;
  --nav-dropdown-color: #cbd5e1;
  --nav-dropdown-hover-color: #60a5fa;
}

[data-theme="dark"] .light-background {
  --background-color: #111827;
  --surface-color: #1a2332;
}

/* ── Layout: prevent horizontal overflow ── */
html {
  overflow-x: clip;
}

body.premium-site {
  background: var(--premium-bg-page);
  color: var(--premium-text);
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: clip;
  max-width: 100%;
}

body.premium-site main {
  overflow-x: clip;
  max-width: 100%;
}

.premium-header .container-fluid.container-xl {
  overflow-x: clip;
}

body.premium-site #footer.footer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* ── Theme toggle ── */
.header-actions {
  flex-shrink: 0;
}

.premium-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--premium-border);
  background: var(--premium-bg-elevated);
  color: var(--premium-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.premium-theme-toggle:hover {
  color: var(--premium-blue);
  border-color: var(--premium-blue);
  transform: translateY(-1px);
}

.sf-currency-switcher,
.sf-locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 10px;
  border: 1px solid var(--premium-border);
  background: var(--premium-bg-elevated);
}

.sf-currency-btn,
.sf-locale-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--premium-muted);
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.sf-locale-btn.is-active,
.sf-currency-btn.is-active {
  background: #0f2a44;
  color: #fff;
}

.sf-currency-btn:hover,
.sf-locale-btn:hover {
  color: var(--premium-blue);
}

.sf-locale-btn.is-active:hover,
.sf-currency-btn.is-active:hover {
  color: #fff;
}

.premium-theme-toggle .theme-icon-dark {
  display: none;
}

.premium-theme-toggle .theme-icon-light {
  display: block;
}

[data-theme="dark"] .premium-theme-toggle .theme-icon-dark {
  display: block;
}

[data-theme="dark"] .premium-theme-toggle .theme-icon-light {
  display: none;
}

/* ── Header ── */
.premium-header.header {
  padding: 0 !important;
}
.premium-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--premium-header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--premium-border);
  box-shadow: var(--premium-shadow-sm);
}
.premium-header__bar {
  width: 100%;
  min-height: 64px;
  padding: 15px 0;
}
.premium-header--maint .sf-maint-frontend-banner {
  margin: 0;
}

body.premium-site .navmenu a {
  font-weight: 500;
  transition: color 0.2s ease;
}

body.premium-site .navmenu a:hover,
body.premium-site .navmenu .active {
  color: var(--premium-blue);
}

.premium-cta {
  background: #0f2a44;
  border-color: transparent;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

[data-theme="dark"] .premium-cta {
  background: #0f2a44;
}

.premium-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 42, 68, 0.35);
  background: #1e3a8a;
  color: #fff;
}

/* ── Buttons ── */
.premium-btn,
.contact .submit-btn.premium-btn {
  background: #0f2a44;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.75rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

[data-theme="dark"] .premium-btn,
[data-theme="dark"] .contact .submit-btn.premium-btn {
  background: #0f2a44;
}

.premium-btn:hover,
.contact .submit-btn.premium-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 42, 68, 0.35);
  background: #1a3a5c;
}

.premium-btn-outline {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-color: var(--premium-blue);
  color: var(--premium-blue);
  background: transparent;
}

.premium-btn-outline:hover {
  background: var(--premium-blue);
  color: #fff;
}

/* ── Page Hero ── */
.premium-page-hero {
  padding: 100px 0 2.75rem;
  background: var(--premium-bg-hero);
  border-bottom: 1px solid var(--premium-border);
  position: relative;
  overflow: hidden;
}

.premium-page-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--premium-glow) 0%, transparent 70%);
  pointer-events: none;
}

.premium-page-hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -8%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--premium-glow-2) 0%, transparent 70%);
  pointer-events: none;
}

.premium-page-hero .container {
  position: relative;
  z-index: 1;
}

.premium-page-hero--compact {
  padding-bottom: 1.5rem;
}

.premium-breadcrumb {
  margin-bottom: 1.25rem;
}

.premium-breadcrumb .breadcrumb {
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  background: none;
}

.premium-breadcrumb .breadcrumb-item {
  font-size: 0.875rem;
  color: var(--premium-muted);
}

.premium-breadcrumb .breadcrumb-item a {
  color: var(--premium-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.premium-breadcrumb .breadcrumb-item a:hover {
  color: var(--premium-blue);
}

.premium-breadcrumb .breadcrumb-item.active {
  color: var(--premium-blue);
  font-weight: 600;
}

.premium-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: var(--premium-muted);
  opacity: 0.5;
}

.premium-page-hero__body h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--premium-navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.premium-page-hero__inline-lead {
  display: inline;
  font-weight: 400;
  font-size: 0.48em;
  color: var(--premium-muted);
  margin-left: 0.35em;
  letter-spacing: 0;
  white-space: normal;
}

.premium-page-hero__lead {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--premium-muted);
  max-width: min(100%, 58rem);
  margin: 0;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

@media (min-width: 992px) {
  .premium-pricing-page ~ .premium-page-hero .premium-page-hero__lead,
  body:has(.premium-pricing-page) .premium-page-hero__lead {
    white-space: nowrap;
    max-width: none;
    font-size: 1.08rem;
  }
}

.premium-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--premium-muted);
}

.premium-trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.premium-trust-badges i {
  color: var(--premium-blue);
}

@media (max-width: 1199px) {
  .premium-page-hero {
    padding-top: 112px;
  }
}

body.premium-site .page-title {
  padding-top: 100px;
}

@media (max-width: 1199px) {
  body.premium-site .page-title {
    padding-top: 112px;
  }
}

/* Fixed header clearance (logo + actions grew on mobile) */
@media (max-width: 1199.98px) {
  .premium-header.header {
    padding: 0 !important;
  }
  .premium-header__bar {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
  body.premium-site .premium-page-hero,
  body.premium-site .premium-page-hero--compact {
    padding-top: 7.25rem !important; /* ~116px clear fixed header + gap */
  }
  body.premium-site .page-title {
    padding-top: 7.25rem !important;
  }
  body.premium-site main > .section:first-child:not(.hero):not(.premium-page-hero) {
    padding-top: 6.5rem;
  }
}

/* ── CMS / Legal ── */
.premium-cms-section {
  background: var(--premium-bg-muted);
  padding: 3rem 0 5rem;
}

.premium-cms-section.section {
  overflow-x: clip;
}

.post-slider,
.premium-section-alt.post-slider {
  overflow-x: clip;
}

.post-slider .posts-slider,
.post-slider .swiper {
  overflow: hidden;
  width: 100%;
}

.premium-pricing-teaser,
.premium-pricing-page {
  overflow-x: clip;
}

.premium-cms-card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--premium-bg-elevated);
  border-radius: var(--premium-radius);
  padding: 3rem 3.5rem;
  box-shadow: var(--premium-shadow);
  border: 1px solid var(--premium-border);
}

.premium-cms-card h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  color: var(--premium-navy);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.premium-cms-card h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--premium-navy);
  font-weight: 700;
  padding-left: 1rem;
  border-left: 4px solid var(--premium-blue);
}

.premium-cms-card h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  color: var(--premium-navy);
  font-weight: 600;
}

.premium-cms-card p {
  color: var(--premium-text-body);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.premium-cms-card hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid var(--premium-border);
}

.premium-cms-card a {
  color: var(--premium-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.premium-cms-card a:hover {
  color: var(--premium-blue-light);
  text-decoration: underline;
}

.premium-cms-card ul,
.premium-cms-card ol {
  color: var(--premium-text-body);
  line-height: 1.75;
  padding-left: 1.25rem;
}

.premium-cms-card li {
  margin-bottom: 0.5rem;
}

.premium-cms-card .contact {
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.06) 0%, rgba(15, 42, 68, 0.03) 100%);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  border: 1px solid var(--premium-border);
}

[data-theme="dark"] .premium-cms-card .contact {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.premium-cms-card strong {
  color: var(--premium-navy);
}

@media (max-width: 768px) {
  .premium-cms-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }
}

.cms-content {
  max-width: none;
  line-height: 1.75;
}

/* ── Success / status cards ── */
.premium-success-wrap {
  max-width: 920px;
}

.premium-success-card {
  background: var(--premium-bg-elevated);
  border-radius: var(--premium-radius);
  padding: 2.75rem 2.25rem 2.25rem;
  box-shadow: var(--premium-shadow);
  border: 1px solid var(--premium-border);
  margin-bottom: 1.5rem;
}

.premium-success-card .lead {
  color: var(--premium-text-body);
  font-size: 1.05rem;
  line-height: 1.65;
}

.premium-success-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.premium-success-icon {
  font-size: 3.5rem;
  color: #16a34a;
  margin-bottom: 0.75rem;
  line-height: 1;
  animation: premium-success-pop 0.55s ease-out;
}

.premium-success-icon--warn {
  color: #f59e0b;
}

@keyframes premium-success-pop {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

.premium-success-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.premium-success-panel {
  background: var(--premium-bg-elevated);
  border-radius: var(--premium-radius);
  padding: 1.75rem 1.65rem;
  box-shadow: var(--premium-shadow);
  border: 1px solid var(--premium-border);
}

.premium-success-panel h2 {
  margin: 0 0 1.15rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--premium-text-heading, var(--premium-text, #0f172a));
}

.premium-success-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.premium-success-steps > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.premium-success-step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 64, 175, 0.12);
  color: #1e40af;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.premium-success-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--premium-text-heading, #0f172a);
}

.premium-success-steps p {
  margin: 0;
  color: var(--premium-text-body);
  font-size: 0.95rem;
  line-height: 1.55;
}

.premium-success-meta {
  margin: 0 0 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.premium-success-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--premium-border);
}

.premium-success-meta > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.premium-success-meta dt {
  margin: 0;
  color: var(--premium-text-muted, #64748b);
  font-weight: 500;
  font-size: 0.9rem;
}

.premium-success-meta dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: var(--premium-text-heading, #0f172a);
}

.premium-success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.premium-success-home {
  text-decoration: none;
  color: var(--premium-text-muted, #64748b);
}

.premium-success-home:hover {
  color: #1e40af;
}

@media (max-width: 767.98px) {
  .premium-success-card {
    padding: 2rem 1.35rem;
  }

  .premium-success-grid {
    grid-template-columns: 1fr;
  }
}

[data-theme="dark"] .premium-success-kicker {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
}

[data-theme="dark"] .premium-success-step-num {
  background: rgba(96, 165, 250, 0.18);
  color: #93c5fd;
}

/* ── Homepage ── */
.premium-hero {
  background: var(--premium-bg-hero-home);
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.1);
  color: var(--premium-blue);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

[data-theme="dark"] .premium-badge {
  background: rgba(96, 165, 250, 0.12);
}

.premium-section {
  background: var(--premium-bg);
}

.premium-section-alt {
  background: var(--premium-bg-muted);
}

.premium-post-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--premium-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--premium-border);
}

.premium-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--premium-shadow);
}

.about.section {
  padding-top: 60px;
}

body.premium-site section,
body.premium-site .section {
  overflow-x: clip;
}

body.premium-site .section-title h2 {
  color: var(--premium-navy);
}

body.premium-site .section-title p {
  color: var(--premium-muted);
}

.premium-about-img {
  border-radius: 20px;
  box-shadow: var(--premium-shadow);
  border: 1px solid var(--premium-border);
}

body.premium-site .about-content h2,
body.premium-site .hero-headline {
  color: var(--premium-navy);
}

body.premium-site .hero-text,
body.premium-site .about-content .description,
body.premium-site .about-content .lead-text {
  color: var(--premium-text-body);
}

body.premium-site .feature-card {
  background: var(--premium-bg-elevated);
  border: 1px solid var(--premium-border);
  color: var(--premium-text);
}

body.premium-site .stat-card {
  background: var(--premium-bg-elevated);
  border: 1px solid var(--premium-border);
}

.premium-pricing-teaser,
.premium-pricing-page {
  background: var(--premium-bg-muted);
}

.premium-pricing-page {
  padding-top: 2rem;
}

/* ── Legacy pricing cards (main.css) ── */
[data-theme="dark"] .pricing .pricing-card {
  background: var(--premium-bg-elevated);
  border-color: var(--premium-border);
}

[data-theme="dark"] .pricing .pricing-card .card-header {
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .pricing .pricing-card .plan-title,
[data-theme="dark"] .pricing .pricing-card .plan-subtitle,
[data-theme="dark"] .pricing .feature-list li {
  color: var(--premium-text);
}

[data-theme="dark"] .pricing .pricing-card.highlighted {
  border-color: var(--premium-blue);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}

/* ── Contact ── */
.premium-cms-section.contact {
  padding-top: 2rem;
}

.contact .contact-info-panel {
  background: var(--premium-bg-elevated);
  border-radius: var(--premium-radius);
  padding: 2rem;
  box-shadow: var(--premium-shadow);
  border: 1px solid var(--premium-border);
  height: 100%;
}

.contact .contact-form-card {
  background: var(--premium-bg-elevated);
  box-shadow: var(--premium-shadow);
  border: 1px solid var(--premium-border);
  border-radius: var(--premium-radius);
}

[data-theme="dark"] .contact .contact-form-card .form-control,
[data-theme="dark"] .premium-form .form-control {
  background: var(--premium-input-bg);
  border-color: var(--premium-input-border);
  color: var(--premium-text);
}

[data-theme="dark"] .contact .contact-form-card .form-control::placeholder {
  color: var(--premium-muted);
}

[data-theme="dark"] .contact .contact-info-panel .info-item .info-content p,
[data-theme="dark"] .contact .contact-info-panel .info-intro p {
  color: var(--premium-text-body);
}

/* ── Order form ── */
body.order-page .premium-cms-section {
  padding-top: 2rem;
}

body.order-page .premium-page-hero__body {
  max-width: 52rem;
}

body.order-page .premium-page-hero__body h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  letter-spacing: -0.02em;
}

body.order-page .premium-page-hero__lead {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  body.order-page .premium-page-hero__lead {
    white-space: normal;
  }
}

body.order-page .premium-trust-badges {
  gap: 0.65rem 1rem;
}

body.order-page .premium-trust-badges span {
  background: color-mix(in srgb, var(--premium-blue) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--premium-blue) 18%, transparent);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

body.order-page .order-card {
  background: var(--premium-bg-elevated);
  border-radius: var(--premium-radius);
  box-shadow: var(--premium-shadow);
  border: 1px solid var(--premium-border);
}

[data-theme="dark"] .order-step h3,
[data-theme="dark"] .order-step label,
[data-theme="dark"] .order-step h5 {
  color: var(--premium-text) !important;
}

[data-theme="dark"] .order-step .form-control,
[data-theme="dark"] .order-step select.form-control,
[data-theme="dark"] .order-step textarea.form-control {
  background: var(--premium-input-bg) !important;
  border-color: var(--premium-input-border) !important;
  color: var(--premium-text) !important;
}

[data-theme="dark"] .order-step .form-control::placeholder {
  color: var(--premium-muted);
}

[data-theme="dark"] .package-card .card-body,
[data-theme="dark"] .hosting-card .hosting-body,
[data-theme="dark"] .extra-card .extra-body {
  background: var(--premium-bg-elevated);
  border-color: var(--premium-border);
  color: var(--premium-text);
}

[data-theme="dark"] .package-card .card-body h4,
[data-theme="dark"] .hosting-card .hosting-body h4,
[data-theme="dark"] .extra-card .extra-body h4 {
  color: var(--premium-text) !important;
}

[data-theme="dark"] .package-card input:checked + .card-body,
[data-theme="dark"] .hosting-card input:checked + .hosting-body,
[data-theme="dark"] .extra-card input:checked + .extra-body {
  background: rgba(34, 197, 94, 0.16) !important;
  border-color: #22c55e !important;
  color: #f8fafc !important;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.25);
}

[data-theme="dark"] .package-card input:checked + .card-body h4,
[data-theme="dark"] .hosting-card input:checked + .hosting-body h4,
[data-theme="dark"] .extra-card input:checked + .extra-body h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .package-card input:checked + .card-body .price-tag {
  color: #bfdbfe !important;
}

[data-theme="dark"] .order-info-box {
  background: rgba(96, 165, 250, 0.08);
  color: var(--premium-text);
  border-color: rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .switch-text {
  color: var(--premium-text-body);
}

[data-theme="dark"] .order-steps .step-title {
  color: var(--premium-text);
}

[data-theme="dark"] .order-steps .step:not(.active) .step-title {
  color: var(--premium-muted);
}

[data-theme="dark"] .checkbox-item {
  background: var(--premium-bg-muted);
  border-color: var(--premium-border);
  color: var(--premium-text);
}

[data-theme="dark"] body.order-page .premium-trust-badges span {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.22);
  color: var(--premium-text-body);
}

[data-theme="dark"] .price-box-premium,
[data-theme="dark"] .summary-wrapper,
[data-theme="dark"] #order-summary,
[data-theme="dark"] #price-summary-step5 {
  background: #1a2332 !important;
  background-color: #1a2332 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .price-box-premium h4,
[data-theme="dark"] .summary-title,
[data-theme="dark"] .summary-column h4,
[data-theme="dark"] .price-row,
[data-theme="dark"] .summary-list li {
  color: var(--premium-text) !important;
}

[data-theme="dark"] .summary-column h4 {
  border-bottom-color: var(--premium-border) !important;
}

[data-theme="dark"] .price-box-premium hr {
  border-color: var(--premium-border);
  opacity: 1;
}

[data-theme="dark"] .order-consents .switch-text a {
  color: #bfdbfe;
}

.order-consents {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
}

[data-theme="dark"] .order-consents {
  background: rgba(15, 23, 42, 0.45);
  border-color: var(--premium-border);
}

.order-consents .switch-wrapper {
  margin-top: 0;
  align-items: flex-start;
}

.order-consents .switch-text {
  max-width: none;
  white-space: nowrap;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .order-consents .switch-text {
    white-space: normal;
  }
}

.btn-submit:disabled,
#finish-order:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.2);
}

.revoke-order-card .revoke-legal-hint {
  margin-bottom: 1rem;
  color: var(--premium-muted, #64748b);
  font-size: 0.9rem;
}

/* ── Footer newsletter (dark footer + dark theme) ── */
.footer.dark-background .footer-newsletter form input[type=email] {
  color: #e2e8f0;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.footer.dark-background .footer-newsletter form input[type=email]::placeholder {
  color: rgba(226, 232, 240, 0.55);
}

.footer.dark-background .footer-newsletter form input[type=email]:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--premium-blue, #1e40af);
  color: #f8fafc;
}

[data-theme="dark"] .footer.dark-background .footer-newsletter form input[type=email] {
  color: #e2e8f0;
  background-color: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .footer.dark-background .footer-newsletter form input[type=email]::placeholder {
  color: #64748b;
}

body.premium-site .scroll-top {
  background: var(--premium-blue);
  bottom: 22px;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.premium-site .scroll-top:hover {
  background: #0f2a44;
  transform: translateY(-2px);
}

[data-theme="dark"] body.premium-site .scroll-top:hover {
  background: #1e3a8a;
}

/* ── Cookie banner dark mode ── */
[data-theme="dark"] .cookie-banner,
[data-theme="dark"] .cookie-modal-content {
  background: #1a2332;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .cookie-banner h3,
[data-theme="dark"] .cookie-modal-content h3,
[data-theme="dark"] .cookie-modal-content h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .cookie-text,
[data-theme="dark"] .cookie-desc,
[data-theme="dark"] .cookie-section-text {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .cookie-links,
[data-theme="dark"] .cookie-links a,
[data-theme="dark"] .cookie-banner a,
[data-theme="dark"] .cookie-text a,
[data-theme="dark"] .cookie-modal-content a {
  color: #93c5fd !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-theme="dark"] .cookie-links a:hover,
[data-theme="dark"] .cookie-banner a:hover,
[data-theme="dark"] .cookie-modal-content a:hover {
  color: #bfdbfe !important;
}

[data-theme="dark"] .btn-settings,
[data-theme="dark"] .btn-necessary {
  background: #243044 !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

[data-theme="dark"] .btn-settings:hover,
[data-theme="dark"] .btn-necessary:hover {
  background: #334155 !important;
  color: #fff !important;
}

[data-theme="dark"] .btn-accept-all {
  background: var(--premium-blue) !important;
  color: #fff !important;
}

[data-theme="dark"] .btn-accept-all:hover {
  background: #1e3a8a !important;
}

/* Cookie switches: muted knobs in dark mode (not bright white) */
[data-theme="dark"] .cookie-modal-content .slider {
  background: #334155 !important;
}
[data-theme="dark"] .cookie-modal-content .slider:before {
  background: #94a3b8 !important;
  box-shadow: none;
}
[data-theme="dark"] .cookie-modal-content input:checked + .slider {
  background: #1e40af !important;
}
[data-theme="dark"] .cookie-modal-content input:checked + .slider:before {
  background: #cbd5e1 !important;
}
[data-theme="dark"] .cookie-modal-content .switch.disabled .slider {
  background: #1e293b !important;
}
[data-theme="dark"] .cookie-modal-content .switch.disabled .slider:before {
  background: #64748b !important;
}
[data-theme="dark"] .cookie-modal-content .cookie-cat-info,
[data-theme="dark"] .cookie-modal-content .cookie-cat-info strong {
  color: #cbd5e1;
}
[data-theme="dark"] .cookie-divider {
  border-color: rgba(148, 163, 184, 0.2);
}

/* TrustFair footer seal – dark, no title, tight to HR */
.trustfair-widget {
  margin: 0;
  padding: 0;
}
.trustfair-widget h5 {
  display: none !important;
}
.trustfair-seal {
  min-height: 0;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Override TrustFair default light card for dark footer */
.footer .tf-seal-badge,
.footer .tf-seal-badge--silver,
.footer .tf-seal-badge--blue,
.footer .tf-seal-badge--auto,
.footer .tf-seal-badge--gold,
.footer .tf-seal-badge--graphic {
  background: linear-gradient(145deg, #1a2438 0%, #0f172a 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
}
.footer .tf-seal-badge-brand,
.footer .tf-seal-badge-meta,
.footer .tf-seal-badge--graphic .tf-seal-badge-meta {
  color: #94a3b8 !important;
}
.footer .tf-seal-badge-name,
.footer .tf-seal-badge--graphic .tf-seal-badge-name {
  color: #f1f5f9 !important;
}
.footer .tf-seal-badge-verified {
  color: #bfdbfe !important;
}
.footer .tf-seal-badge--graphic .tf-seal-badge-graphic {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* Cookie + Barrierefreiheit: kompakt, gleiche Breite am Inhalt */
.footer .footer-legal-pills {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-width: 100%;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.footer .footer-legal-pills .footer-pill-btn--legal,
.footer .footer-legal-pills #cookie-footer-btn {
  display: inline-flex !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.7rem !important;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.65rem !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(30, 64, 175, 0.55);
  background: linear-gradient(135deg, rgba(15, 42, 68, 0.95), rgba(30, 64, 175, 0.45));
  color: #e2e8f0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.footer .footer-legal-pills .footer-pill-btn--legal:hover,
.footer .footer-legal-pills #cookie-footer-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.75), rgba(15, 42, 68, 0.95));
  border-color: rgba(37, 99, 235, 0.65);
}
.footer .footer-legal-pills .footer-pill-btn--legal i,
.footer .footer-legal-pills #cookie-footer-btn i {
  font-size: 0.85rem;
  margin: 0;
}

/* TrustFair: Inhaltsbreite (nicht gestreckt) */
#footer.footer .footer-info-trust,
#footer.footer .footer-info-trust .trustfair-widget,
#footer.footer .footer-info-trust .trustfair-seal {
  width: fit-content !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
#footer.footer .footer-info-trust .tf-seal-badge,
#footer.footer .footer-info-trust .tf-seal-badge--graphic,
#footer.footer .footer-info-trust .tf-seal-badge--silver,
#footer.footer .footer-info-trust .tf-seal-badge--blue,
#footer.footer .footer-info-trust .tf-seal-badge--dark,
#footer.footer .footer-info-trust .tf-seal-badge--gold,
#footer.footer .footer-info-trust .tf-seal-badge--auto,
#footer.footer .footer-middle-trust .tf-seal-badge,
#footer.footer .footer-middle-trust .tf-seal-badge--graphic {
  width: fit-content !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.55rem 0.7rem !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, #1a2438 0%, #0f172a 100%) !important;
  border: 1px solid rgba(30, 64, 175, 0.45) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}
.footer .footer-info-trust .tf-seal-badge--graphic .tf-seal-badge-graphic,
.footer .footer-middle-trust .tf-seal-badge--graphic .tf-seal-badge-graphic {
  width: 56px !important;
  height: 56px !important;
}
.footer .footer-info-trust .tf-seal-badge--graphic .tf-seal-badge-name,
.footer .footer-middle-trust .tf-seal-badge--graphic .tf-seal-badge-name {
  font-size: 0.95rem !important;
}
.footer .footer-info-trust .tf-seal-badge--graphic .tf-seal-badge-stars,
.footer .footer-middle-trust .tf-seal-badge--graphic .tf-seal-badge-stars {
  font-size: 0.92rem !important;
}
.footer .footer-info-trust .tf-seal-badge--graphic .tf-seal-badge-meta,
.footer .footer-middle-trust .tf-seal-badge--graphic .tf-seal-badge-meta {
  font-size: 0.8rem !important;
}

@media (min-width: 992px) {
  .footer .footer-links--legal {
    padding-left: 1.5rem;
  }
}

/* ── Bootstrap alerts ── */
[data-theme="dark"] .alert-success {
  background: rgba(22, 163, 74, 0.15);
  border-color: rgba(22, 163, 74, 0.3);
  color: #86efac;
}

[data-theme="dark"] .alert-danger {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.3);
  color: #fca5a5;
}

/* ── Mobile nav dark ── */
@media (max-width: 1199px) {
  [data-theme="dark"] body.premium-site.mobile-nav-active .navmenu {
    background: var(--nav-mobile-background-color);
  }
}

/* ── Deprecated aliases ── */
.premium-page-header {
  padding: 3rem 0 2rem;
  background: var(--premium-bg-muted);
}

.premium-page-header h1 {
  color: var(--premium-navy);
  font-weight: 700;
}

.premium-contact-card,
.premium-form {
  background: var(--premium-bg-elevated);
  border: 1px solid var(--premium-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--premium-shadow-sm);
}

.premium-plan-card {
  position: relative;
  background: var(--premium-bg-elevated);
  border: 1px solid var(--premium-border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  box-shadow: var(--premium-shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--premium-text-body);
}

.premium-plan-card.is-featured {
  border-color: var(--premium-blue);
  box-shadow: var(--premium-shadow);
  transform: translateY(-4px);
}

.premium-plan-card .plan-title,
.premium-plan-card .plan-price {
  color: var(--premium-navy);
}

.plan-features li {
  color: var(--premium-text-body);
}

.plan-features i {
  color: var(--premium-blue);
}

/* Contact honeypot */
.sf-hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Maintenance banner (public site) — sits inside fixed header */
.sf-maint-frontend-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 1.25rem;
  background: linear-gradient(90deg, #92400e, #b45309);
  color: #fff7ed;
  font-size: 0.875rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 247, 237, 0.12);
}
.sf-maint-frontend-banner strong { font-weight: 700; }

/* Extra clearance when orange maint bar is in the fixed header */
body.premium-site:has(.sf-maint-frontend-banner) .premium-page-hero,
body.premium-site:has(.sf-maint-frontend-banner) .premium-page-hero--compact,
body.premium-site:has(.sf-maint-frontend-banner) .page-title {
  padding-top: calc(7.25rem + 2.5rem) !important;
}
body.premium-site:has(.sf-maint-frontend-banner) .sf-customer-login {
  padding-top: calc(8.25rem + 2.5rem);
}
@media (min-width: 1200px) {
  body.premium-site:has(.sf-maint-frontend-banner) .page-title {
    padding-top: calc(112px + 2.5rem) !important;
  }
}

/* Contract document (customer portal) */
.cms-content .sf-c-doc,
.sf-c-doc {
  font-family: Georgia, "Times New Roman", serif;
  color: #0f172a;
  line-height: 1.55;
}
.cms-content .sf-c-hero {
  background: #0f2a44;
  color: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.6rem 1.35rem;
  margin-bottom: 1.35rem;
}
.cms-content .sf-c-brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  font-family: system-ui, sans-serif;
}
.cms-content .sf-c-doc-type {
  font-size: 1.65rem;
  font-weight: 700;
  margin-top: 0.35rem;
}
.cms-content .sf-c-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  opacity: 0.9;
  font-family: system-ui, sans-serif;
}
.cms-content .sf-c-hero-number { white-space: nowrap; font-weight: 700; }
.cms-content .sf-c-lead { margin: 0 0 0.75rem; color: #334155; }
.cms-content .sf-c-list--checks { list-style: none; padding-left: 0; }
.cms-content .sf-c-list--checks li { position: relative; padding-left: 1.35rem; margin-bottom: 0.35rem; }
.cms-content .sf-c-list--checks li::before { content: "✓"; position: absolute; left: 0; color: #15803d; font-weight: 700; }
.cms-content .sf-c-list--muted { color: #64748b; font-size: 0.92rem; }
.cms-content .sf-c-muted { color: #64748b; margin: 0; }
.cms-content .sf-c-subhead {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  font-family: system-ui, sans-serif;
}
.cms-content .sf-c-section {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.cms-content .sf-c-section h2 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: #1e3a8a;
  font-family: system-ui, sans-serif;
}
.cms-content .sf-c-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}
.cms-content .sf-c-kv span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.cms-content .sf-c-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #0f2a44;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: system-ui, sans-serif;
  margin-right: 0.25rem;
}
.cms-content .sf-c-notes {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
}
.cms-content .sf-c-foot {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  font-family: system-ui, sans-serif;
}
@media (max-width: 767.98px) {
  .cms-content .sf-c-grid { grid-template-columns: 1fr; }
}

/* ── Customer login (premium) ── */
.sf-customer-login {
  display: block;
  padding: 8.25rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(30, 64, 175, 0.12), transparent 55%),
    var(--premium-bg-page);
}
.sf-customer-login .container {
  max-width: 480px;
}
.sf-customer-login__card {
  position: relative;
  padding: 2rem 1.85rem 1.9rem;
  border-radius: 20px;
  background: var(--premium-bg-elevated);
  border: 1px solid var(--premium-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 50px rgba(15, 23, 42, 0.12);
  overflow: visible;
}
.sf-customer-login__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0f2a44 0%, #1e40af 55%, #1e3a8a 100%);
}
.sf-customer-login__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--premium-blue);
  background: rgba(30, 64, 175, 0.1);
  border: 1px solid rgba(30, 64, 175, 0.16);
}
.sf-customer-login__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}
.sf-customer-login__lead {
  margin: 0 0 1.45rem;
  color: var(--premium-text-body);
  font-size: 0.95rem;
  line-height: 1.55;
}
.sf-customer-login__alert {
  margin-bottom: 1.1rem;
  border-radius: 12px;
}
.sf-customer-login__field {
  margin-bottom: 1rem;
}
.sf-customer-login__field .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.35rem;
}
.sf-customer-login__field .form-control {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--premium-input-border);
  background: var(--premium-input-bg);
  color: var(--heading-color);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.sf-customer-login__field .form-control:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
  background: var(--premium-input-bg);
  color: var(--heading-color);
}
.sf-customer-login__field .form-control:-webkit-autofill,
.sf-customer-login__field .form-control:-webkit-autofill:hover,
.sf-customer-login__field .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--heading-color);
  caret-color: var(--heading-color);
  box-shadow: 0 0 0 1000px var(--premium-input-bg) inset;
  transition: background-color 99999s ease-out;
}
.sf-customer-login__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.55rem;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  background: #0f2a44;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.28);
}
.sf-customer-login__submit:hover,
.sf-customer-login__submit:focus {
  background: #1a3a5c;
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.34);
}

[data-theme="dark"] .sf-customer-login {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.16), transparent 55%),
    var(--premium-bg-page);
}
[data-theme="dark"] .sf-customer-login__card {
  background: linear-gradient(180deg, #151e2e 0%, #101826 100%);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 22px 55px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .sf-customer-login__eyebrow {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.22);
}
[data-theme="dark"] .sf-customer-login__field .form-control {
  background: #0c1422;
  border-color: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}
[data-theme="dark"] .sf-customer-login__field .form-control:focus {
  background: #0c1422;
  color: #f8fafc;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}
[data-theme="dark"] .sf-customer-login__field .form-control:-webkit-autofill,
[data-theme="dark"] .sf-customer-login__field .form-control:-webkit-autofill:hover,
[data-theme="dark"] .sf-customer-login__field .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #e2e8f0;
  caret-color: #e2e8f0;
  box-shadow: 0 0 0 1000px #0c1422 inset;
}

@media (max-width: 575.98px) {
  .sf-customer-login {
    padding: 7.25rem 0 2.25rem;
  }
  .sf-customer-login__card {
    padding: 1.55rem 1.25rem 1.45rem;
    border-radius: 16px;
  }
}

/* TrustFair modal – dark theme (dialog is appended to body) */
html[data-theme="dark"] .tf-seal-overlay {
  background: rgba(2, 6, 23, 0.78) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}
html[data-theme="dark"] .tf-seal-dialog,
html[data-theme="dark"] .tf-seal-dialog-body {
  background: linear-gradient(180deg, #151e2e 0%, #0f172a 100%) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55) !important;
}
html[data-theme="dark"] .tf-seal-dialog {
  background: linear-gradient(180deg, #151e2e 0%, #0f172a 100%) !important;
}
html[data-theme="dark"] .tf-seal-close {
  background: rgba(148, 163, 184, 0.16) !important;
  color: #cbd5e1 !important;
}
html[data-theme="dark"] .tf-seal-close:hover {
  background: rgba(148, 163, 184, 0.28) !important;
  color: #f8fafc !important;
}
html[data-theme="dark"] .tf-seal-modal-brand,
html[data-theme="dark"] .tf-seal-modal-type,
html[data-theme="dark"] .tf-seal-modal-reviews-title,
html[data-theme="dark"] .tf-seal-modal-review-meta,
html[data-theme="dark"] .tf-seal-modal-review-sep {
  color: #94a3b8 !important;
}
html[data-theme="dark"] .tf-seal-modal-title,
html[data-theme="dark"] .tf-seal-modal-score-value,
html[data-theme="dark"] .tf-seal-modal-score-link,
html[data-theme="dark"] .tf-seal-modal-review-title,
html[data-theme="dark"] .tf-seal-modal-review-author {
  color: #f1f5f9 !important;
}
html[data-theme="dark"] .tf-seal-modal-review-body,
html[data-theme="dark"] .tf-seal-modal-review-rating {
  color: #cbd5e1 !important;
}
html[data-theme="dark"] .tf-seal-modal-chip {
  background: rgba(148, 163, 184, 0.14) !important;
  color: #cbd5e1 !important;
}
html[data-theme="dark"] .tf-seal-modal-chip--ok {
  background: rgba(0, 182, 122, 0.16) !important;
  color: #6ee7b7 !important;
}
html[data-theme="dark"] .tf-seal-modal-review {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .tf-seal-modal-cta {
  background: #0f2a44 !important;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.35) !important;
  color: #fff !important;
}
html[data-theme="dark"] .tf-seal-modal-cta:hover {
  background: #1a3a5c !important;
  color: #fff !important;
}
html[data-theme="dark"] .tf-seal-star {
  color: #334155 !important;
}
html[data-theme="dark"] .tf-seal-star.is-filled {
  color: #00B67A !important;
}
/* Catch light leftovers from TrustFair markup */
html[data-theme="dark"] .tf-seal-dialog,
html[data-theme="dark"] .tf-seal-dialog * {
  border-color: rgba(148, 163, 184, 0.2);
}
html[data-theme="dark"] .tf-seal-dialog a {
  color: #93c5fd !important;
}

/* ── Customer portal (Vertragsverwaltung) ── */
.sf-portal-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 40% at 10% -5%, rgba(30, 64, 175, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 35% at 90% 0%, rgba(15, 42, 68, 0.06), transparent 45%),
    var(--premium-bg-page);
  color: var(--premium-text-body);
  font-family: "Roboto", system-ui, sans-serif;
}

.sf-portal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--premium-bg-elevated) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--premium-border);
  box-shadow: 0 8px 28px rgba(15, 42, 68, 0.04);
}

.sf-portal-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sf-portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.sf-portal-brand__logos {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.sf-portal-logo {
  display: block !important;
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.sf-portal-brand__meta {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.sf-portal-brand__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--premium-blue);
}

.sf-portal-brand__title {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.sf-portal-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.sf-portal-nav__link,
.sf-portal-nav__logout {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sf-portal-nav__link {
  color: var(--premium-muted);
  border: 1px solid transparent;
}

.sf-portal-nav__link:hover,
.sf-portal-nav__link.is-active {
  color: var(--premium-blue);
  background: rgba(30, 64, 175, 0.08);
  border-color: rgba(30, 64, 175, 0.14);
}

.sf-portal-nav__logout {
  color: #fff;
  background: #0f2a44;
  box-shadow: 0 8px 20px rgba(15, 42, 68, 0.2);
}

.sf-portal-nav__logout:hover {
  color: #fff;
  filter: brightness(1.06);
}

.sf-portal-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--premium-border);
  background: var(--premium-bg-elevated);
  color: var(--premium-muted);
  cursor: pointer;
  padding: 0;
}

.sf-portal-theme:hover {
  color: var(--premium-blue);
  border-color: rgba(30, 64, 175, 0.28);
}

.sf-portal-theme__light { display: none; }
.sf-portal-theme__dark { display: inline-block; }
[data-theme="dark"] .sf-portal-theme__light { display: inline-block; }
[data-theme="dark"] .sf-portal-theme__dark { display: none; }

.sf-portal-main {
  flex: 1 0 auto;
  width: 100%;
}

.sf-portal-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.75rem;
}

.sf-portal-wrap--narrow {
  max-width: 820px;
}

.sf-portal-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.6rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(255, 255, 255, 0.7) 45%, rgba(15, 42, 68, 0.04) 100%),
    var(--premium-bg-elevated);
  border: 1px solid var(--premium-border);
  box-shadow: var(--premium-shadow-sm);
}

.sf-portal-hero__stat {
  flex-shrink: 0;
  min-width: 92px;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(30, 64, 175, 0.08);
  border: 1px solid rgba(30, 64, 175, 0.12);
}

.sf-portal-hero__stat span {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--premium-blue);
  line-height: 1.1;
}

.sf-portal-hero__stat small {
  color: var(--premium-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sf-portal-kicker {
  display: inline-flex;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--premium-blue);
}

.sf-portal-title {
  margin: 0 0 0.4rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--heading-color);
}

.sf-portal-subtitle {
  margin: 0;
  max-width: 38rem;
  color: var(--premium-text-body);
  font-size: 0.98rem;
  line-height: 1.55;
}

.sf-portal-alert {
  border-radius: 14px;
  margin-bottom: 1rem;
}

.sf-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.15rem;
}

.sf-portal-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: 18px;
  background: var(--premium-bg-elevated);
  border: 1px solid var(--premium-border);
  box-shadow: var(--premium-shadow-sm);
  position: relative;
  overflow: hidden;
}

.sf-portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0f2a44 0%, #1e40af 55%, #1e3a8a 100%);
}

.sf-portal-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.sf-portal-card__number {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--premium-muted);
}

.sf-portal-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.sf-portal-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.sf-portal-badge--primary {
  color: #1e3a8a;
  background: rgba(30, 64, 175, 0.1);
  border: 1px solid rgba(30, 64, 175, 0.16);
}

.sf-portal-badge--muted {
  color: #475569;
  background: rgba(100, 116, 139, 0.12);
  border: 1px solid rgba(100, 116, 139, 0.16);
}

.sf-portal-card__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.sf-portal-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sf-portal-card__meta span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--premium-muted);
  margin-bottom: 0.15rem;
}

.sf-portal-card__meta strong {
  font-size: 0.95rem;
  color: var(--heading-color);
}

.sf-portal-card__actions {
  margin-top: auto;
  padding-top: 0.35rem;
}

.sf-portal-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  background: #0f2a44;
  box-shadow: 0 10px 22px rgba(30, 64, 175, 0.24);
}

.sf-portal-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 20px;
  background: var(--premium-bg-elevated);
  border: 1px dashed color-mix(in srgb, var(--premium-border) 80%, #94a3b8);
}

.sf-portal-empty i {
  font-size: 2rem;
  color: var(--premium-blue);
  margin-bottom: 0.75rem;
}

.sf-portal-empty h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--heading-color);
}

.sf-portal-empty p {
  margin: 0;
  color: var(--premium-muted);
}

.sf-portal-detail-head {
  margin-bottom: 1.35rem;
}

.sf-portal-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin: 0 0 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(15, 42, 68, 0.04);
  border: 1px solid rgba(15, 42, 68, 0.08);
}

.sf-portal-crumb__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--premium-muted);
  text-decoration: none;
  white-space: nowrap;
}

.sf-portal-crumb__back:hover {
  color: var(--premium-blue);
}

.sf-portal-crumb__sep {
  color: rgba(100, 116, 139, 0.55);
  font-weight: 400;
  user-select: none;
}

.sf-portal-crumb__current {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--premium-blue);
}

.sf-portal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--premium-muted);
  text-decoration: none;
}

.sf-portal-back:hover {
  color: var(--premium-blue);
}

.sf-portal-panel {
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  background: var(--premium-bg-elevated);
  border: 1px solid var(--premium-border);
  box-shadow: var(--premium-shadow-sm);
}

.sf-portal-panel--soft {
  padding: 0.85rem 1.1rem;
  background: rgba(30, 64, 175, 0.05);
}

.sf-portal-panel--warning {
  border-color: rgba(220, 38, 38, 0.18);
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.7), var(--premium-bg-elevated));
}

.sf-portal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.sf-portal-stats span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--premium-muted);
  margin-bottom: 0.2rem;
}

.sf-portal-stats strong {
  color: var(--heading-color);
  font-size: 1rem;
}

.sf-portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.sf-portal-actions .btn {
  border-radius: 12px;
  font-weight: 600;
  min-height: 44px;
  padding-inline: 1.1rem;
}

.sf-portal-pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  color: var(--heading-color);
  font-size: 0.92rem;
  line-height: 1.55;
}

.sf-portal-success {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  background: var(--premium-bg-elevated);
  border: 1px solid var(--premium-border);
  box-shadow: var(--premium-shadow-sm);
}

.sf-portal-success__icon {
  font-size: 2.4rem;
  color: #059669;
  margin-bottom: 0.75rem;
}

.sf-portal-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--premium-border);
  background: color-mix(in srgb, var(--premium-bg-elevated) 88%, #0f172a 12%);
}

.sf-portal-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  text-align: center;
}

.sf-portal-footer p,
.sf-portal-footer__copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--premium-muted);
}
.sf-portal-footer__copy .footer-copyright-sep {
  margin: 0 0.35rem;
  opacity: 0.55;
}
.sf-portal-footer__copy .footer-copyright-heart,
.sf-portal-footer__copy i.footer-copyright-heart {
  display: inline-block !important;
  font-size: 0.95em !important;
  line-height: 1 !important;
  vertical-align: -0.05em;
  color: #f8fafc !important;
  margin: 0 0.15em;
  transform: none;
}
[data-theme="dark"] .sf-portal-footer__copy {
  color: rgba(226, 232, 240, 0.88);
}

.sf-portal-panel .form-control,
.sf-portal-panel .form-select {
  min-height: 46px;
  border-radius: 12px;
  border-color: var(--premium-input-border);
  background: var(--premium-input-bg);
  color: var(--heading-color);
}

.sf-portal-panel .form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--heading-color);
}

/* Portal forms (signature / payment) – premium even without Bootstrap form theme */
.sf-portal-form__field {
  margin-bottom: 1.05rem;
}
.sf-portal-form__field label,
.sf-portal-form .form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--heading-color);
}
.sf-portal-form input[type="text"],
.sf-portal-form input[type="email"],
.sf-portal-form input[type="password"],
.sf-portal-form input[type="number"],
.sf-portal-form select,
.sf-portal-form textarea,
.sf-portal-form .form-control,
.sf-portal-form .form-select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--premium-input-border, #e2e8f0);
  background: var(--premium-input-bg, #fff);
  color: var(--heading-color, #1e293b);
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sf-portal-form input:focus,
.sf-portal-form select:focus,
.sf-portal-form textarea:focus,
.sf-portal-form .form-control:focus,
.sf-portal-form .form-select:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.16);
}
.sf-portal-form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.15rem 0 1.35rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(15, 42, 68, 0.04);
  border: 1px solid rgba(15, 42, 68, 0.08);
}
.sf-portal-form__check .form-check-input,
.sf-portal-form__check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1.5px solid #94a3b8;
  accent-color: #0f2a44;
}
.sf-portal-form__check .form-check-label,
.sf-portal-form__check label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--heading-color, #1e293b);
  line-height: 1.45;
  cursor: pointer;
}
.sf-portal-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.sf-portal-form__submit,
.sf-portal-form button[type="submit"],
.sf-portal-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important;
  background: #0f2a44 !important;
  box-shadow: 0 10px 24px rgba(15, 42, 68, 0.22);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.sf-portal-form__submit:hover,
.sf-portal-form button[type="submit"]:hover,
.sf-portal-form input[type="submit"]:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 42, 68, 0.28);
  color: #fff !important;
}
.sf-portal-doc-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--premium-muted, #64748b);
}
.sf-portal-pay-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.sf-portal-pay-label {
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--heading-color, #0f2a44);
}
.sf-portal-pay-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 42, 68, 0.1);
  background:
    linear-gradient(135deg, rgba(15, 42, 68, 0.06) 0%, rgba(26, 58, 92, 0.08) 55%, rgba(255, 255, 255, 0.85) 100%),
    #fff;
  box-shadow: 0 10px 28px rgba(15, 42, 68, 0.06);
}
.sf-portal-pay-hero__amount span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--premium-muted, #64748b);
}
.sf-portal-pay-hero__amount strong {
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--heading-color, #0f2a44);
}
.sf-portal-pay-hero__amount small {
  font-size: 0.7em;
  font-weight: 600;
  color: var(--premium-muted, #64748b);
}
.sf-portal-pay-hero__mode {
  flex-shrink: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f2a44;
  background: rgba(15, 42, 68, 0.08);
  border: 1px solid rgba(15, 42, 68, 0.12);
}
.sf-portal-pay-card {
  position: relative;
  overflow: hidden;
}
.sf-portal-pay-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0f2a44 0%, #1a3a5c 100%);
}
.sf-portal-pay-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 1rem 0.7rem 0.9rem;
  min-height: 118px;
  border-radius: 14px;
  border: 1px solid rgba(15, 42, 68, 0.12);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.sf-portal-pay-option:last-child {
  border-bottom: 1px solid rgba(15, 42, 68, 0.12);
}
.sf-portal-pay-option:hover {
  border-color: rgba(15, 42, 68, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 42, 68, 0.08);
  background: #fff;
}
.sf-portal-pay-option.is-selected,
.sf-portal-pay-option:has(input:checked) {
  border-color: #0f2a44;
  background: rgba(15, 42, 68, 0.05);
  box-shadow: 0 0 0 1px #0f2a44, 0 10px 24px rgba(15, 42, 68, 0.1);
}
.sf-portal-pay-option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sf-portal-pay-option__radio {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.sf-portal-pay-option.is-selected .sf-portal-pay-option__radio,
.sf-portal-pay-option:has(input:checked) .sf-portal-pay-option__radio {
  border-color: #0f2a44;
  background: radial-gradient(circle at center, #0f2a44 0 38%, transparent 40%);
}
.sf-portal-pay-option__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #0f2a44;
  background: rgba(15, 42, 68, 0.07);
  border: 1px solid rgba(15, 42, 68, 0.08);
}
.sf-portal-pay-option.is-selected .sf-portal-pay-option__icon,
.sf-portal-pay-option:has(input:checked) .sf-portal-pay-option__icon {
  color: #fff;
  background: #0f2a44;
  border-color: transparent;
}
.sf-portal-pay-option__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  align-items: center;
}
.sf-portal-pay-option__text strong {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading-color, #0f2a44);
}
.sf-portal-pay-option__text small {
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--premium-muted, #64748b);
}
.sf-portal-pay-option__check {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.sf-portal-pay-option.is-selected .sf-portal-pay-option__check,
.sf-portal-pay-option:has(input:checked) .sf-portal-pay-option__check {
  color: #fff;
  background: #0f2a44;
  border-color: #0f2a44;
}
.sf-portal-bank__head {
  margin-bottom: 0.85rem;
}
.sf-portal-bank__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e3a8a;
  background: rgba(30, 64, 175, 0.1);
  border: 1px solid rgba(30, 64, 175, 0.16);
}
.sf-portal-bank__title {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color, #0f2a44);
}
.sf-portal-bank__ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(15, 42, 68, 0.05);
  border: 1px solid rgba(15, 42, 68, 0.08);
}
.sf-portal-bank__ref span {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--premium-muted, #64748b);
}
.sf-portal-bank__ref strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  color: var(--heading-color, #0f2a44);
}
[data-theme="dark"] .sf-portal-pay-hero {
  background: linear-gradient(135deg, rgba(15,42,68,.55), rgba(26,58,92,.35));
  border-color: rgba(148, 163, 184, 0.16);
}
[data-theme="dark"] .sf-portal-pay-hero__mode {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(147, 197, 253, 0.35);
}
[data-theme="dark"] .sf-portal-pay-hero__amount span {
  color: #93c5fd;
}
[data-theme="dark"] .sf-portal-bank__badge {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(147, 197, 253, 0.35);
}
[data-theme="dark"] .sf-portal-pay-review__badge {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(251, 191, 36, 0.35);
}
[data-theme="dark"] .sf-portal-crumb {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.16);
}
[data-theme="dark"] .sf-portal-crumb__back {
  color: #cbd5e1;
}
[data-theme="dark"] .sf-portal-crumb__back:hover {
  color: #93c5fd;
}
[data-theme="dark"] .sf-portal-crumb__sep {
  color: rgba(148, 163, 184, 0.55);
}
[data-theme="dark"] .sf-portal-crumb__current {
  color: #93c5fd;
}
[data-theme="dark"] .sf-portal-kicker {
  color: #93c5fd;
}
[data-theme="dark"] .sf-portal-pay-methods {
  background: transparent;
  border: 0;
}
[data-theme="dark"] .sf-portal-pay-option {
  background: #151e2e;
  border-color: rgba(148, 163, 184, 0.16);
}
[data-theme="dark"] .sf-portal-pay-option.is-selected,
[data-theme="dark"] .sf-portal-pay-option:has(input:checked) {
  border-color: #93c5fd;
  background: rgba(15, 42, 68, 0.72);
  box-shadow: 0 0 0 1px #93c5fd, 0 10px 24px rgba(0,0,0,.25);
}
[data-theme="dark"] .sf-portal-pay-option__text strong,
[data-theme="dark"] .sf-portal-pay-hero__amount strong,
[data-theme="dark"] .sf-portal-bank__title,
[data-theme="dark"] .sf-portal-bank__ref strong {
  color: #e2e8f0;
}
[data-theme="dark"] .sf-portal-pay-option__icon {
  background: rgba(148, 163, 184, 0.1);
  color: #93c5fd;
  border-color: rgba(148, 163, 184, 0.14);
}
[data-theme="dark"] .sf-portal-bank__ref {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.14);
}
@media (max-width: 575.98px) {
  .sf-portal-pay-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* legacy nested form-check fallback */
.sf-portal-pay-methods .form-check,
.sf-portal-pay-methods > div:not(.sf-portal-pay-option) {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--premium-border, rgba(15, 42, 68, 0.08));
  background: var(--premium-bg-elevated, #fff);
}
.sf-portal-pay-methods .form-check:hover,
.sf-portal-pay-methods > div:not(.sf-portal-pay-option):hover {
  border-color: rgba(30, 64, 175, 0.35);
}
.sf-portal-pay-methods input[type="radio"] {
  accent-color: #0f2a44;
  width: 1.1rem;
  height: 1.1rem;
}
[data-theme="dark"] .sf-portal-form__check {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.16);
}
[data-theme="dark"] .sf-portal-form input[type="text"],
[data-theme="dark"] .sf-portal-form input[type="email"],
[data-theme="dark"] .sf-portal-form input[type="password"],
[data-theme="dark"] .sf-portal-form .form-control,
[data-theme="dark"] .sf-portal-form .form-select {
  background: #0c1422;
  border-color: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}
[data-theme="dark"] .sf-portal-pay-methods .form-check,
[data-theme="dark"] .sf-portal-pay-methods > div:not(.sf-portal-pay-option) {
  background: #101826;
  border-color: rgba(148, 163, 184, 0.14);
}

/* Signature pad */
.sf-portal-signpad {
  margin: 1.25rem 0 1.4rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 42, 68, 0.1);
  background: linear-gradient(180deg, rgba(15, 42, 68, 0.03), rgba(255, 255, 255, 0.9));
}
.sf-portal-signpad__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.sf-portal-signpad__head strong {
  font-family: Montserrat, sans-serif;
  font-size: 0.92rem;
  color: var(--heading-color, #0f2a44);
}
.sf-portal-signpad__hint {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  color: var(--premium-muted, #64748b);
}
.sf-portal-signpad__stage {
  border-radius: 12px;
  border: 1.5px dashed rgba(15, 42, 68, 0.22);
  background:
    linear-gradient(180deg, transparent 70%, rgba(15, 42, 68, 0.05) 70%, rgba(15, 42, 68, 0.05) 71%, transparent 71%),
    #fff;
  overflow: hidden;
  touch-action: none;
}
.sf-portal-signpad__stage canvas {
  display: block;
  width: 100%;
  height: 220px;
  cursor: crosshair;
}
.sf-portal-signpad__error {
  margin-top: 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #b91c1c;
}
[data-theme="dark"] .sf-portal-signpad {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.08), #101826);
  border-color: rgba(148, 163, 184, 0.16);
}
[data-theme="dark"] .sf-portal-signpad__stage {
  background:
    linear-gradient(180deg, transparent 70%, rgba(148, 163, 184, 0.12) 70%, rgba(148, 163, 184, 0.12) 71%, transparent 71%),
    #0c1422;
  border-color: rgba(148, 163, 184, 0.28);
}
.sf-portal-sign-preview {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 42, 68, 0.1);
}
.sf-portal-sign-preview img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 140px;
}

[data-theme="dark"] .sf-portal-body {
  background:
    radial-gradient(ellipse 70% 40% at 10% -5%, rgba(37, 99, 235, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 35% at 90% 0%, rgba(15, 23, 42, 0.4), transparent 45%),
    var(--premium-bg-page);
}

[data-theme="dark"] .sf-portal-header {
  background: color-mix(in srgb, #0f172a 88%, transparent);
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

[data-theme="dark"] .sf-portal-hero,
[data-theme="dark"] .sf-portal-card,
[data-theme="dark"] .sf-portal-panel,
[data-theme="dark"] .sf-portal-empty,
[data-theme="dark"] .sf-portal-success {
  background: linear-gradient(180deg, #151e2e 0%, #101826 100%);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .sf-portal-badge--primary {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.22);
}

[data-theme="dark"] .sf-portal-badge--muted {
  color: #cbd5e1;
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .sf-portal-footer {
  background: #0b1220;
  border-top-color: rgba(148, 163, 184, 0.12);
}

[data-theme="dark"] .sf-portal-panel--warning {
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.25), #101826);
}

@media (max-width: 767.98px) {
  .sf-portal-brand__meta { display: none; }
  .sf-portal-nav__link span,
  .sf-portal-nav__logout span { display: none; }
  .sf-portal-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .sf-portal-hero__stat {
    align-self: flex-start;
  }
  .sf-portal-wrap {
    padding: 1.35rem 1rem 2rem;
  }
}


/* ── Business blue (Bootstrap primary override) ── */
:root,
[data-theme="light"],
[data-theme="dark"] {
  --bs-primary: #0f2a44;
  --bs-primary-rgb: 15, 42, 68;
  --bs-link-color: #0f2a44;
  --bs-link-hover-color: #1e40af;
}
.btn-primary {
  --bs-btn-bg: #0f2a44;
  --bs-btn-border-color: #0f2a44;
  --bs-btn-hover-bg: #1a3a5c;
  --bs-btn-hover-border-color: #1a3a5c;
  --bs-btn-active-bg: #0b1f33;
  --bs-btn-active-border-color: #0b1f33;
  --bs-btn-disabled-bg: #64748b;
  --bs-btn-disabled-border-color: #64748b;
  background: #0f2a44 !important;
  border-color: #0f2a44 !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: #1a3a5c !important;
  border-color: #1a3a5c !important;
  color: #fff !important;
}
.btn-outline-primary {
  --bs-btn-color: #0f2a44;
  --bs-btn-border-color: #0f2a44;
  --bs-btn-hover-bg: #0f2a44;
  --bs-btn-hover-border-color: #0f2a44;
  --bs-btn-active-bg: #0b1f33;
  --bs-btn-active-border-color: #0b1f33;
  --bs-btn-disabled-color: #64748b;
  --bs-btn-disabled-border-color: #94a3b8;
}
[data-theme="dark"] .btn-outline-primary {
  --bs-btn-color: #93c5fd;
  --bs-btn-border-color: #3b82f6;
  --bs-btn-hover-bg: #0f2a44;
  --bs-btn-hover-border-color: #1e40af;
  --bs-btn-hover-color: #fff;
}
.sf-portal-actions .btn:disabled,
.sf-portal-actions .btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.sf-portal-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  color: var(--premium-text-body);
  font-size: 0.92rem;
  line-height: 1.5;
}
.sf-portal-hint i {
  color: var(--premium-blue);
  margin-top: 0.15rem;
}
.sf-portal-warning__title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: #991b1b;
}
.sf-portal-warning__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #7f1d1d;
}
.sf-portal-warning__label {
  color: #7f1d1d;
  font-weight: 600;
}
[data-theme="dark"] .sf-portal-panel--warning {
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.35), #151a24) !important;
  border-color: rgba(248, 113, 113, 0.35) !important;
}
[data-theme="dark"] .sf-portal-warning__title {
  color: #fecaca;
}
[data-theme="dark"] .sf-portal-warning__text,
[data-theme="dark"] .sf-portal-warning__label {
  color: #e2e8f0;
}
[data-theme="dark"] .sf-portal-panel--warning .form-control {
  background: #0c1422;
  border-color: rgba(248, 113, 113, 0.28);
  color: #f1f5f9;
}
[data-theme="dark"] .sf-portal-panel--warning .form-control::placeholder {
  color: #94a3b8;
}
[data-theme="dark"] .footer .footer-links ul a,
[data-theme="dark"] .footer .footer-links h4,
[data-theme="dark"] .footer .footer-info p {
  color: #cbd5e1;
}
[data-theme="dark"] .footer .footer-links ul a:hover {
  color: #93c5fd;
}

/* === SF MOBILE + BUSINESS BLUE 20260830 === */

/* Buttons / CTAs: solid Business-Blau (Desktop + Mobile) */
body.premium-site .cta-button,
body.premium-site .hero .cta-button,
body.premium-site .premium-cta,
body.premium-site .premium-btn,
body.premium-site .contact .submit-btn,
body.premium-site .scroll-top,
body.premium-site .btn-primary,
.sf-portal-form .btn-primary,
.sf-portal-actions .btn-primary {
  background: #0f2a44 !important;
  border-color: #0f2a44 !important;
  color: #fff !important;
  background-image: none !important;
}
body.premium-site .cta-button:hover,
body.premium-site .hero .cta-button:hover,
body.premium-site .premium-cta:hover,
body.premium-site .premium-btn:hover,
body.premium-site .scroll-top:hover,
body.premium-site .btn-primary:hover {
  background: #1a3a5c !important;
  border-color: #1a3a5c !important;
}
body.premium-site .sf-currency-btn.is-active,
body.premium-site .sf-locale-btn.is-active,
body.premium-site .hero .stats-grid .stat-card.stat-card-primary {
  background: #0f2a44 !important;
  border-color: #0f2a44 !important;
  color: #fff !important;
}

/* Mobile header: Hamburger sichtbar, eine Zeile */
@media (max-width: 1199.98px) {
  .premium-header .container-fluid.container-xl {
    flex-wrap: nowrap !important;
    gap: 0.45rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    min-height: 58px;
  }
  .premium-header .logo {
    flex-shrink: 1;
    min-width: 0;
  }
  .premium-header .logo img {
    max-height: 48px !important;
    width: auto;
  }
  .premium-header .header-actions {
    margin-left: auto;
    flex-shrink: 0;
    gap: 0.3rem !important;
  }
  .premium-header .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px;
    border: 1px solid rgba(15, 42, 68, 0.14) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%) !important;
    color: #0f2a44 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    box-shadow:
      0 1px 2px rgba(15, 42, 68, 0.06),
      0 6px 16px rgba(15, 42, 68, 0.1);
    flex-shrink: 0;
    z-index: 10002;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  }
  .premium-header .mobile-nav-toggle:active {
    transform: scale(0.96);
  }
  .premium-header .mobile-nav-toggle__bars {
    position: relative;
    display: block;
    width: 18px;
    height: 14px;
  }
  .premium-header .mobile-nav-toggle__bars span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, top 0.28s ease, width 0.28s ease;
  }
  .premium-header .mobile-nav-toggle__bars span:nth-child(1) { top: 0; width: 100%; }
  .premium-header .mobile-nav-toggle__bars span:nth-child(2) { top: 6px; width: 72%; }
  .premium-header .mobile-nav-toggle__bars span:nth-child(3) { top: 12px; width: 88%; }
  body.mobile-nav-active .premium-header .mobile-nav-toggle,
  .premium-header .mobile-nav-toggle.is-open {
    color: #0f2a44 !important;
    background: linear-gradient(180deg, #eef3f8 0%, #e4ebf3 100%) !important;
    border-color: rgba(15, 42, 68, 0.22) !important;
    box-shadow: inset 0 1px 2px rgba(15, 42, 68, 0.08);
  }
  body.mobile-nav-active .premium-header .mobile-nav-toggle__bars span:nth-child(1),
  .premium-header .mobile-nav-toggle.is-open .mobile-nav-toggle__bars span:nth-child(1) {
    top: 6px;
    width: 100%;
    transform: rotate(45deg);
  }
  body.mobile-nav-active .premium-header .mobile-nav-toggle__bars span:nth-child(2),
  .premium-header .mobile-nav-toggle.is-open .mobile-nav-toggle__bars span:nth-child(2) {
    opacity: 0;
    width: 0;
  }
  body.mobile-nav-active .premium-header .mobile-nav-toggle__bars span:nth-child(3),
  .premium-header .mobile-nav-toggle.is-open .mobile-nav-toggle__bars span:nth-child(3) {
    top: 6px;
    width: 100%;
    transform: rotate(-45deg);
  }
  [data-theme="dark"] .premium-header .mobile-nav-toggle {
    background: linear-gradient(180deg, #243041 0%, #1a2332 100%) !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
    color: #e2e8f0 !important;
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.25),
      0 8px 18px rgba(0, 0, 0, 0.28);
  }
  [data-theme="dark"] body.mobile-nav-active .premium-header .mobile-nav-toggle,
  [data-theme="dark"] .premium-header .mobile-nav-toggle.is-open {
    background: linear-gradient(180deg, #2a3a4f 0%, #1e2a3a 100%) !important;
    color: #f8fafc !important;
    border-color: rgba(96, 165, 250, 0.35) !important;
  }
  .premium-header .sf-currency-switcher {
    padding: 0.12rem;
    gap: 0.05rem;
  }
  .premium-header .sf-currency-btn {
    padding: 0.28rem 0.38rem !important;
    font-size: 0.65rem !important;
  }
  .premium-header .premium-theme-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 767.98px) {
  /* Projekte/Hero: Overlay-Naht entfernen */
  body.premium-site .hero::before,
  body.premium-site .hero::after {
    display: none !important;
    opacity: 0 !important;
  }
  body.premium-site .hero {
    background: #f1f5f9 !important;
  }
  /* Dark mode: never force light hero bg (causes light-on-light text) */
  [data-theme="dark"] body.premium-site .hero {
    background: linear-gradient(160deg, #0b1220 0%, #111827 55%, #0f172a 100%) !important;
  }
  [data-theme="dark"] body.premium-site .hero-headline,
  [data-theme="dark"] body.premium-site .hero .hero-content .hero-headline {
    color: #f8fafc !important;
  }
  [data-theme="dark"] body.premium-site .hero-text,
  [data-theme="dark"] body.premium-site .hero .hero-content .hero-text,
  [data-theme="dark"] body.premium-site .hero .hero-lead,
  [data-theme="dark"] body.premium-site .hero .hero-tag .tag-text {
    color: #cbd5e1 !important;
  }
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card {
    background: #1a2332 !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
  }
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card .stat-value,
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card .stat-title,
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card .stat-info .stat-value,
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card .stat-info .stat-title {
    color: #f1f5f9 !important;
  }
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card .stat-icon-wrap {
    background: rgba(148, 163, 184, 0.12) !important;
  }
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card .stat-icon-wrap i {
    color: #93c5fd !important;
  }
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card.stat-card-primary {
    background: #0f2a44 !important;
    border-color: #0f2a44 !important;
  }
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card.stat-card-primary .stat-value,
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card.stat-card-primary .stat-title,
  [data-theme="dark"] body.premium-site .hero .stats-grid .stat-card.stat-card-primary .stat-icon-wrap i {
    color: #fff !important;
  }
  body.premium-site .hero .stats-grid {
    position: relative;
    z-index: 2;
    gap: 12px;
  }
  body.premium-site .hero .stats-grid .stat-card {
    padding: 16px 14px;
  }
  /* Mehr Abstand Cards → Footer */
  body.premium-site main {
    padding-bottom: 2.75rem;
  }
  body.premium-site .hero.section {
    padding-bottom: 3.25rem !important;
  }
  body.premium-site section.section:last-of-type {
    padding-bottom: 3.5rem;
  }
  body.order-page .order-card {
    margin-bottom: 1.35rem;
  }
  body.order-page main {
    padding-bottom: 3rem;
  }
  .sf-portal-wrap {
    padding-bottom: 3rem !important;
  }
  .sf-portal-pay-methods {
    grid-template-columns: 1fr;
  }
  .sf-portal-pay-option {
    min-height: 0;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }
  .sf-portal-pay-option__radio {
    position: static;
  }
  .sf-portal-pay-option__text {
    align-items: flex-start;
  }
  .sf-portal-pay-option__text small {
    display: block;
  }
  .sf-portal-pay-hero {
    margin-bottom: 0.9rem;
    padding: 0.9rem 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .sf-portal-pay-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sf-portal-pay-option {
    flex-direction: column;
    text-align: center;
    min-height: 110px;
  }
  .sf-portal-pay-option__radio {
    position: absolute;
  }
  .sf-portal-pay-option__text {
    align-items: center;
  }
}


/* Hamburger always visible on mobile */
@media (max-width: 1199.98px) {
  button.mobile-nav-toggle,
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10002 !important;
  }
}

/* Mobile nav: active page marker + open dropdown chevron */
@media (max-width: 1199.98px) {
  body.premium-site .navmenu > ul > li > a.active,
  body.premium-site .navmenu a.active {
    color: #0f2a44 !important;
    font-weight: 700;
    background: rgba(15, 42, 68, 0.07);
    border-radius: 10px;
    margin: 0 8px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-shadow: inset 3px 0 0 #0f2a44;
  }
  body.premium-site .navmenu .dropdown ul a.active {
    color: #0f2a44 !important;
    font-weight: 650;
    background: rgba(15, 42, 68, 0.06);
    box-shadow: inset 3px 0 0 #1e4a6e;
  }
  body.premium-site .navmenu a.is-open i,
  body.premium-site .navmenu .dropdown:has(> ul.dropdown-active) > a i {
    background-color: #0f2a44;
    color: #fff;
    transform: rotate(180deg);
  }
  [data-theme="dark"] body.premium-site .navmenu > ul > li > a.active,
  [data-theme="dark"] body.premium-site .navmenu a.active {
    color: #93c5fd !important;
    background: rgba(96, 165, 250, 0.12);
    box-shadow: inset 3px 0 0 #60a5fa;
  }
  [data-theme="dark"] body.premium-site .navmenu .dropdown ul a.active {
    color: #bfdbfe !important;
    background: rgba(96, 165, 250, 0.1);
    box-shadow: inset 3px 0 0 #60a5fa;
  }
  [data-theme="dark"] body.premium-site .navmenu a.is-open i,
  [data-theme="dark"] body.premium-site .navmenu .dropdown:has(> ul.dropdown-active) > a i {
    background-color: #1e4a6e;
    color: #e0f2fe;
  }
}


/* SF header compact + theme in menu */
.navmenu-theme {
  list-style: none;
  margin: 0.5rem 12px 0;
  padding: 0.85rem 0.75rem 0.25rem;
  border-top: 1px solid rgba(15, 42, 68, 0.1);
}
.premium-theme-toggle--menu {
  width: 100%;
  height: auto;
  min-height: 44px;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
}
.premium-theme-toggle__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: inherit;
}
[data-theme="dark"] .navmenu-theme {
  border-top-color: rgba(148, 163, 184, 0.16);
}
@media (max-width: 1199.98px) {
  .premium-header .header-actions .premium-theme-toggle:not(.premium-theme-toggle--menu) {
    display: none !important;
  }
  .premium-header .header-actions {
    margin-left: auto;
  }
  body.mobile-nav-active .navmenu > ul {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  [data-theme="dark"] body.premium-site.mobile-nav-active .navmenu {
    background: rgba(7, 17, 28, 0.72) !important;
  }
  [data-theme="dark"] body.premium-site.mobile-nav-active .navmenu > ul {
    background: #121a27;
    border-color: rgba(148, 163, 184, 0.18);
  }
}

/* Currency switcher class aliases */
.sf-currency-switcher, .sf-currency-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 10px;
  border: 1px solid var(--premium-border);
  background: var(--premium-bg-elevated);
}
.sf-currency-btn, .sf-currency-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--premium-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1;
}
.sf-currency-btn.is-active,
.sf-locale-btn.is-active {
  background: #0f2a44;
  color: #fff;
}


/* SF mobile footer polish */
@media (max-width: 767.98px) {
  #footer.footer {
    padding-top: 2.25rem;
    padding-bottom: 1.5rem;
  }
  #footer.footer .footer-top {
    padding-bottom: 1.75rem;
  }
  #footer.footer .footer-top > .row {
    --bs-gutter-y: 1.75rem;
  }
  #footer.footer .footer-info {
    text-align: center;
  }
  #footer.footer .footer-info .logo {
    justify-content: center;
    margin-bottom: 0.85rem !important;
  }
  #footer.footer .footer-info .logo img {
    max-height: 44px;
    width: auto;
  }
  #footer.footer .footer-info p {
    margin: 0 auto 0.85rem;
    max-width: 28ch;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  #footer.footer .social-links {
    justify-content: center;
    margin-top: 0 !important;
    gap: 0.55rem;
  }
  #footer.footer .footer-info-trust {
    display: flex;
    justify-content: center;
    margin: 0.95rem 0 0.75rem;
  }
  #footer.footer .footer-brand-meta {
    justify-content: center;
    margin-top: 0.15rem;
  }
  #footer.footer .footer-bottom--simple {
    display: block !important;
    padding-top: 1rem;
    padding-bottom: 0.35rem;
  }
  #footer.footer .footer-copyright-text {
    font-size: 0.68rem;
    color: rgba(203, 213, 225, 0.85);
  }
  #footer.footer .footer-info-trust {
    width: fit-content !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-inline: auto;
  }
  #footer.footer .footer-brand-meta {
    max-width: 100%;
    width: fit-content;
    margin-inline: auto;
  }
  #footer.footer .footer-brand-meta .social-links a,
  #footer.footer .footer-pay-inline .payment-icon {
    width: 36px;
    height: 36px;
  }
  #footer.footer .footer-brand-meta .social-links a {
    font-size: 16px;
  }
  #footer.footer .footer-pay-inline .payment-icon i {
    font-size: 1rem;
  }
  #footer.footer .footer-links {
    text-align: center;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
  }
  #footer.footer .footer-links h4 {
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
  }
  #footer.footer .footer-links h4:after {
    left: 50%;
    transform: translateX(-50%);
  }
  #footer.footer .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
  }
  #footer.footer .footer-links ul li {
    padding: 0.2rem 0;
  }
  #footer.footer .footer-links ul li.footer-links-pill,
  #footer.footer .footer-links ul li.footer-links-pill .footer-pill-btn--service {
    max-width: 100%;
  }
  #footer.footer .footer-newsletter--premium,
  #footer.footer .footer-newsletter {
    margin-top: 0.25rem;
    padding: 1.15rem 1.1rem 1.2rem;
    border-radius: 18px;
  }
  #footer.footer .footer-newsletter h4 {
    font-size: 1.05rem;
    text-align: left;
  }
  #footer.footer .footer-middle {
    padding-top: 0.35rem;
  }
  #footer.footer .footer-middle-bar {
    gap: 1.15rem;
    padding-top: 1.15rem;
  }
  #footer.footer .payment-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }
  #footer.footer .payment-methods h5 {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.72);
  }
  #footer.footer .payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
  }
  #footer.footer .payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
  }
  #footer.footer .payment-icon i {
    font-size: 1.2rem;
    margin: 0;
  }
  #footer.footer .footer-middle-copy {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  #footer.footer .footer-copyright-inline,
  #footer.footer .footer-copyright-inline {
    width: 100%;
    max-width: 22rem;
    padding: 0.65rem 1rem;
    font-size: 0.72rem;
    line-height: 1.4;
  }
  #footer.footer .footer-middle-trust {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  #footer.footer .footer-middle-trust .trustfair-seal,
  #footer.footer .footer-middle-trust .tf-seal-badge {
    margin-inline: auto;
  }

  /* Header: only logo + hamburger on mobile */
  .premium-header .header-actions .premium-theme-toggle:not(.premium-theme-toggle--menu) {
    display: none !important;
  }
  .premium-header .header-actions .sf-currency-switcher {
    display: none !important;
  }
  .premium-header .header-actions {
    order: 2;
    margin-left: auto;
  }
  .premium-header .logo {
    order: 1;
  }
  .premium-header .navmenu {
    order: 3;
  }
}


/* SF mobile nav fit content */
@media (max-width: 1199.98px) {
  body.mobile-nav-active .navmenu > ul {
    bottom: auto !important;
    height: fit-content !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 88px) !important;
    overflow-y: auto !important;
  }
  body.mobile-nav-active .navmenu > ul > li > a {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
}

/* SF hero text contrast mobile light */
@media (max-width: 767.98px) {
  body.premium-site .hero-text,
  body.premium-site .hero .hero-content .hero-text {
    color: #334155 !important;
  }
  body.premium-site .hero-headline,
  body.premium-site .hero .hero-content .hero-headline {
    color: #0f2a44 !important;
  }
  [data-theme="dark"] body.premium-site .hero-text,
  [data-theme="dark"] body.premium-site .hero .hero-content .hero-text {
    color: #cbd5e1 !important;
  }
  [data-theme="dark"] body.premium-site .hero-headline,
  [data-theme="dark"] body.premium-site .hero .hero-content .hero-headline {
    color: #f8fafc !important;
  }
}


/* SF dark contrast icons+buttons */
[data-theme="dark"] {
  --sf-dark-accent: #60a5fa;
  --sf-dark-accent-strong: #3b82f6;
  --sf-dark-btn: #1e4a6e;
  --sf-dark-btn-hover: #2563eb;
}

/* Badge / hero tag */
[data-theme="dark"] .premium-badge {
  background: rgba(96, 165, 250, 0.22) !important;
  color: #dbeafe !important;
  border: 1px solid rgba(147, 197, 253, 0.45);
  opacity: 1 !important;
}
[data-theme="dark"] .premium-badge i {
  color: #93c5fd !important;
}
[data-theme="dark"] .hero .hero-tag .tag-text,
[data-theme="dark"] .hero .hero-content .hero-tag .tag-text {
  color: #93c5fd !important;
}
[data-theme="dark"] .hero .hero-tag .tag-dot {
  background: #60a5fa !important;
}

/* Hero CTA – visible solid button */
[data-theme="dark"] body.premium-site .cta-button,
[data-theme="dark"] body.premium-site .hero .cta-button,
[data-theme="dark"] body.premium-site .premium-btn,
[data-theme="dark"] body.premium-site .premium-cta,
[data-theme="dark"] body.premium-site .btn-primary,
[data-theme="dark"] body.premium-site .contact .submit-btn,
[data-theme="dark"] .premium-header .premium-cta,
[data-theme="dark"] .premium-header .btn-primary {
  background: #1e4a6e !important;
  border: 1px solid #3b82f6 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}
[data-theme="dark"] body.premium-site .cta-button:hover,
[data-theme="dark"] body.premium-site .hero .cta-button:hover,
[data-theme="dark"] body.premium-site .premium-btn:hover,
[data-theme="dark"] body.premium-site .btn-primary:hover,
[data-theme="dark"] .premium-header .premium-cta:hover {
  background: #2563eb !important;
  border-color: #60a5fa !important;
}

/* Outline buttons */
[data-theme="dark"] .premium-btn-outline,
[data-theme="dark"] .btn-outline-primary {
  color: #93c5fd !important;
  border-color: #3b82f6 !important;
  background: rgba(59, 130, 246, 0.08) !important;
}
[data-theme="dark"] .premium-btn-outline:hover,
[data-theme="dark"] .btn-outline-primary:hover {
  background: #1e4a6e !important;
  color: #fff !important;
  border-color: #60a5fa !important;
}

/* Stat card icons (desktop + mobile) */
[data-theme="dark"] .hero .stats-grid .stat-card .stat-icon-wrap {
  background: rgba(96, 165, 250, 0.16) !important;
  border: 1px solid rgba(96, 165, 250, 0.28);
}
[data-theme="dark"] .hero .stats-grid .stat-card .stat-icon-wrap i {
  color: #93c5fd !important;
}
[data-theme="dark"] .hero .stats-grid .stat-card.stat-card-primary .stat-icon-wrap {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .hero .stats-grid .stat-card.stat-card-primary .stat-icon-wrap i {
  color: #fff !important;
}
[data-theme="dark"] .hero .stats-grid .stat-card:not(.stat-card-primary) {
  background: #1a2332 !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}
[data-theme="dark"] .hero .stats-grid .stat-card .stat-value,
[data-theme="dark"] .hero .stats-grid .stat-card .stat-title,
[data-theme="dark"] .hero .stats-grid .stat-card .stat-info .stat-value,
[data-theme="dark"] .hero .stats-grid .stat-card .stat-info .stat-title {
  color: #f1f5f9 !important;
}

/* Pricing: outer cards (not highlighted) – dunkles Business-Navy */
[data-theme="dark"] .pricing .pricing-card:not(.highlighted) .btn-pricing,
[data-theme="dark"] .pricing-card:not(.highlighted) .btn-pricing {
  background: #0f2a44 !important;
  color: #ffffff !important;
  border: 1px solid #1e3a5f !important;
}
[data-theme="dark"] .pricing .pricing-card:not(.highlighted) .btn-pricing:hover,
[data-theme="dark"] .pricing-card:not(.highlighted) .btn-pricing:hover {
  background: #163a5c !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

/* Highlighted package keeps a clearer primary blue */
[data-theme="dark"] .pricing .pricing-card.highlighted .btn-pricing,
[data-theme="dark"] .pricing-card.highlighted .btn-pricing {
  background: #1e40af !important;
  color: #ffffff !important;
  border: 1px solid #2563eb !important;
}
[data-theme="dark"] .pricing .pricing-card.highlighted .btn-pricing:hover,
[data-theme="dark"] .pricing-card.highlighted .btn-pricing:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
}

/* Product slider CTAs – dunkles Navy wie Brand */
[data-theme="dark"] .post-slider .post-card .post-img .post-overlay .read-more {
  background-color: #0f2a44 !important;
  color: #ffffff !important;
  border: 1px solid #1e3a5f;
}
[data-theme="dark"] .post-slider .post-card .post-img .post-overlay .read-more:hover {
  background-color: #163a5c !important;
  color: #ffffff !important;
  border-color: #2563eb;
}
[data-theme="dark"] .pricing .plan-icon,
[data-theme="dark"] .pricing-card .plan-icon {
  background: rgba(15, 42, 68, 0.55) !important;
  color: #93c5fd !important;
}

/* Security / trust badges under pricing */
[data-theme="dark"] .pricing .security-badges {
  background: #151e2e !important;
  border-color: rgba(148, 163, 184, 0.14);
}
[data-theme="dark"] .pricing .badge-item {
  background: rgba(96, 165, 250, 0.08) !important;
  border: 1px solid rgba(96, 165, 250, 0.18);
}
[data-theme="dark"] .pricing .badge-item i {
  color: #60a5fa !important;
}
[data-theme="dark"] .pricing .badge-item .badge-content strong {
  color: #f1f5f9 !important;
}
[data-theme="dark"] .pricing .badge-item .badge-content span {
  color: #94a3b8 !important;
}
[data-theme="dark"] .premium-trust-badges i {
  color: #60a5fa !important;
}

/* Generic section / service / feature icons */
[data-theme="dark"] .feature-card i,
[data-theme="dark"] .features-grid .feature-card i,
[data-theme="dark"] .services .service-card .icon-wrapper,
[data-theme="dark"] .services .service-card .icon-wrapper i,
[data-theme="dark"] .about .icon-box,
[data-theme="dark"] .about .icon-box i,
[data-theme="dark"] .section .icon i,
[data-theme="dark"] .bi.check-circle-fill {
  color: #60a5fa !important;
}
[data-theme="dark"] .services .service-card .icon-wrapper {
  background: rgba(96, 165, 250, 0.14) !important;
}
[data-theme="dark"] body.premium-site .feature-card i.bi-check-circle-fill,
[data-theme="dark"] .features-grid .feature-card i {
  color: #34d399 !important;
}

/* Swiper / slider controls */
[data-theme="dark"] .swiper-button-next,
[data-theme="dark"] .swiper-button-prev {
  color: #93c5fd !important;
}

/* mobile-nav-toggle dark styles live in the mobile header block */

/* Portal toasts (top-right) */
.sf-portal-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  pointer-events: none;
  max-width: min(380px, calc(100vw - 1.5rem));
}
.sf-portal-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 42, 68, 0.12);
  box-shadow: 0 18px 40px rgba(15, 42, 68, 0.18);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}
.sf-portal-toast.is-visible { opacity: 1; transform: translateY(0); }
.sf-portal-toast.is-hiding { opacity: 0; transform: translateY(-6px); }
.sf-portal-toast__icon { font-size: 1.15rem; line-height: 1; margin-top: 0.1rem; }
.sf-portal-toast--success .sf-portal-toast__icon { color: #16a34a; }
.sf-portal-toast--error .sf-portal-toast__icon { color: #dc2626; }
.sf-portal-toast--warning .sf-portal-toast__icon { color: #d97706; }
.sf-portal-toast--info .sf-portal-toast__icon { color: #2563eb; }
.sf-portal-toast__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
  font-size: 0.84rem;
}
.sf-portal-toast__body strong { color: #0f2a44; font-weight: 700; }
.sf-portal-toast__body span { color: #475569; line-height: 1.4; }
.sf-portal-toast__close {
  border: 0;
  background: transparent;
  color: #94a3b8;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}
.sf-portal-toast__close:hover { color: #64748b; }
[data-theme="dark"] .sf-portal-toast {
  background: #151e2e;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .sf-portal-toast__body strong { color: #f1f5f9; }
[data-theme="dark"] .sf-portal-toast__body span { color: #cbd5e1; }

/* Bank transfer review / confirm */
.sf-portal-pay-review {
  border: 1px solid rgba(217, 119, 6, 0.28);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.12), rgba(255, 255, 255, 0.9));
}
.sf-portal-pay-review__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.sf-portal-pay-review__title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f2a44;
}
.sf-portal-pay-review__text {
  color: #475569;
  line-height: 1.5;
}
.sf-portal-bank__confirm {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 42, 68, 0.1);
}
.sf-portal-bank__confirm-text {
  margin: 0 0 0.85rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.45;
}
.sf-portal-bank__status {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.1);
  color: #92400e;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
[data-theme="dark"] .sf-portal-pay-review {
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.14), rgba(21, 30, 46, 0.95));
  border-color: rgba(251, 191, 36, 0.28);
}
[data-theme="dark"] .sf-portal-pay-review__title { color: #f8fafc; }
[data-theme="dark"] .sf-portal-pay-review__text { color: #cbd5e1; }
[data-theme="dark"] .sf-portal-bank__confirm { border-top-color: rgba(148, 163, 184, 0.16); }
[data-theme="dark"] .sf-portal-bank__confirm-text { color: #cbd5e1; }
[data-theme="dark"] .sf-portal-bank__status {
  background: rgba(217, 119, 6, 0.16);
  color: #fbbf24;
}

.sf-portal-badge--warning {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
}
[data-theme="dark"] .sf-portal-badge--warning {
  background: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
}

/* SF dark readable links+icons+nav bullets */
[data-theme="dark"] .premium-cms-card a,
[data-theme="dark"] .premium-cms-card .contact a,
[data-theme="dark"] .cms-content a,
[data-theme="dark"] .cms-content .contact a,
[data-theme="dark"] main a:not(.btn):not(.premium-cta):not(.sf-portal-nav__logout) {
  color: #93c5fd !important;
}
[data-theme="dark"] .premium-cms-card a:hover,
[data-theme="dark"] .cms-content a:hover {
  color: #bfdbfe !important;
}
[data-theme="dark"] .premium-cms-card strong {
  color: #e2e8f0 !important;
}
[data-theme="dark"] .pricing .feature-list li i,
[data-theme="dark"] .pricing-card .feature-list li i,
[data-theme="dark"] .pricing .feature-list li:not(:has(i))::before,
[data-theme="dark"] .pricing-card .feature-list li:not(:has(i))::before {
  color: #60a5fa !important;
}
[data-theme="dark"] .pricing .feature-list a,
[data-theme="dark"] .pricing-card .feature-list a,
[data-theme="dark"] .pricing .help-links a {
  color: #93c5fd !important;
}
[data-theme="dark"] .pricing .feature-list a:hover,
[data-theme="dark"] .pricing-card .feature-list a:hover {
  color: #bfdbfe !important;
}

/* Mobile nav: remove submenu bullets */
@media (max-width: 1199.98px) {
  body.premium-site .navmenu ul,
  body.premium-site .navmenu li,
  body.premium-site .navmenu .dropdown ul,
  body.premium-site .navmenu .dropdown ul li,
  body.mobile-nav-active .navmenu ul,
  body.mobile-nav-active .navmenu li,
  body.mobile-nav-active .navmenu .dropdown ul,
  body.mobile-nav-active .navmenu .dropdown ul li {
    list-style: none !important;
    list-style-type: none !important;
  }
  body.premium-site .navmenu .dropdown ul li::marker,
  body.mobile-nav-active .navmenu .dropdown ul li::marker {
    content: none !important;
    display: none !important;
  }
  body.premium-site .navmenu .dropdown ul {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  body.premium-site .navmenu .dropdown ul li {
    padding-left: 0 !important;
  }
  body.premium-site .navmenu .dropdown ul li::before {
    content: none !important;
    display: none !important;
  }
}

/* ── Accessibility widget + modal ── */
.sf-a11y-fab {
  position: fixed;
  left: 1rem;
  bottom: 1.15rem;
  z-index: 1045;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(145deg, #0f766e, #0f2a44);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(15, 42, 68, 0.35);
  cursor: pointer;
  line-height: 1;
}
.sf-a11y-fab__score {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sf-a11y-fab__label {
  display: none !important;
}
.sf-a11y-fab:hover,
.sf-a11y-fab:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.35), 0 14px 30px rgba(15, 42, 68, 0.4);
}
.sf-a11y-modal[hidden] { display: none !important; }
.sf-a11y-modal {
  position: fixed;
  inset: 0;
  z-index: 11050;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
}
.sf-a11y-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
}
.sf-a11y-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 2rem));
  margin-bottom: 4.5rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 42, 68, 0.1);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.28);
}
[data-theme="dark"] .sf-a11y-modal__panel {
  background: #121a29;
  border-color: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}
.sf-a11y-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.sf-a11y-modal__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
}
.sf-a11y-modal__head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}
.sf-a11y-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15, 42, 68, 0.12);
  background: transparent;
  color: inherit;
}
.sf-a11y-modal__score {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.18);
}
.sf-a11y-modal__score strong {
  font-size: 1.35rem;
  color: #0f766e;
}
.sf-a11y-modal__score span {
  font-size: 0.82rem;
  color: #64748b;
}
.sf-a11y-options {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.sf-a11y-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 42, 68, 0.1);
  background: rgba(248, 250, 252, 0.9);
  cursor: pointer;
}
[data-theme="dark"] .sf-a11y-option {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.16);
}
.sf-a11y-option input { margin: 0; }
.sf-a11y-option span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.sf-a11y-modal__actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
html.sf-a11y--font { font-size: 112.5% !important; }
html.sf-a11y--contrast {
  filter: contrast(1.15) !important;
}
html.sf-a11y--links a {
  text-decoration: underline !important;
  text-underline-offset: 0.15em;
}
html.sf-a11y--motion *,
html.sf-a11y--motion *::before,
html.sf-a11y--motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.sf-a11y-modal-open { overflow: hidden; }

.sf-wave-admin-panel .sf-wave-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(15, 42, 68, 0.04);
  border: 1px solid rgba(15, 42, 68, 0.08);
}
.sf-wave-admin-panel .sf-wave-stat span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}
.sf-wave-admin-panel .sf-wave-stat strong { font-size: 1.05rem; }
.sf-wave-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sf-wave-cats li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 42, 68, 0.06);
  font-size: 0.8rem;
}
.sf-wave-cats li span { text-transform: capitalize; color: #64748b; }

/* ── Accessibility certificate page ── */
.sf-a11y-cert {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(15, 42, 68, 0.06));
  border: 1px solid rgba(15, 118, 110, 0.22);
}
.sf-a11y-cert__badge {
  flex: 0 0 auto;
  width: 96px;
  min-height: 96px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0f766e, #0f2a44);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 42, 68, 0.25);
}
.sf-a11y-cert__badge strong {
  font-size: 1.55rem;
  line-height: 1;
}
.sf-a11y-cert__badge span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}
.sf-a11y-cert__body h2 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}
.sf-a11y-cert__body > p {
  margin: 0 0 0.9rem;
  color: var(--premium-muted, #64748b);
}
.sf-a11y-cert__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.sf-a11y-cert__metric {
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 42, 68, 0.08);
  text-align: center;
}
[data-theme="dark"] .sf-a11y-cert__metric {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(148, 163, 184, 0.16);
}
.sf-a11y-cert__metric span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}
.sf-a11y-cert__metric strong {
  font-size: 1.15rem;
}
.sf-a11y-cert__note {
  font-size: 0.86rem;
  color: var(--premium-muted, #64748b);
}
.sf-a11y-statement__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
@media (max-width: 767.98px) {
  .sf-a11y-cert {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .sf-a11y-cert__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   Mobile premium chrome (eghosting-inspired)
   – header: logo + hamburger only
   – dark side drawer menu
   – cleaner footer
   – hide a11y FAB on mobile
   ============================================================ */

.navmenu-drawer-head {
  display: none;
}

@media (max-width: 1199.98px) {
  /* Force header chrome: only logo + menu */
  .premium-header .header-actions > .sf-currency-switcher,
  .premium-header .header-actions > .premium-theme-toggle,
  .premium-header .header-actions > .premium-cta {
    display: none !important;
  }

  /*
   * Critical: backdrop-filter/filter on .header makes position:fixed
   * children use the header as containing block → drawer gets clipped.
   * Disable that while the menu is open and raise the stacking order.
   */
  body.mobile-nav-active .premium-header.header,
  body.mobile-nav-active .premium-header {
    z-index: 10050 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    overflow: visible !important;
  }

  body.mobile-nav-active .navmenu {
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    z-index: 10060 !important;
    overflow: visible !important;
    background: rgba(7, 14, 26, 0.62) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto !important;
  }

  body.mobile-nav-active .navmenu-drawer-head {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    z-index: 10070 !important;
    width: min(100vw - 2.5rem, 360px);
    height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem 0 1.15rem;
    background: #0d1b2a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    border-left: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: -18px 0 48px rgba(2, 6, 23, 0.35);
  }

  .navmenu-drawer-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #f8fafc;
  }

  .navmenu-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(36, 48, 66, 0.9);
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
  }
  .navmenu-drawer-close:hover,
  .navmenu-drawer-close:focus-visible {
    background: rgba(48, 64, 88, 0.95);
    border-color: rgba(45, 212, 191, 0.45);
    outline: none;
  }

  body.mobile-nav-active .navmenu > ul {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    width: min(100vw - 2.5rem, 360px) !important;
    height: calc(100dvh - 64px) !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0.35rem 0 1.5rem !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(148, 163, 184, 0.12) !important;
    background: #0d1b2a !important;
    box-shadow: -18px 0 48px rgba(2, 6, 23, 0.35);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 10065 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.mobile-nav-active .navmenu > ul > li > a,
  body.mobile-nav-active .navmenu > ul > li > button {
    color: #f1f5f9 !important;
    font-size: 1rem !important;
    font-weight: 500;
    padding: 0.85rem 1.15rem !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: transparent !important;
    box-shadow: none !important;
    gap: 0.65rem;
  }
  body.mobile-nav-active .navmenu > ul > li > a:hover,
  body.mobile-nav-active .navmenu > ul > li > a:focus-visible {
    background: rgba(45, 212, 191, 0.08) !important;
    color: #fff !important;
  }

  body.premium-site.mobile-nav-active .navmenu > ul > li > a.active,
  body.premium-site.mobile-nav-active .navmenu a.active {
    color: #5eead4 !important;
    font-weight: 650;
    background: rgba(45, 212, 191, 0.1) !important;
    box-shadow: inset 3px 0 0 #2dd4bf !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }

  body.mobile-nav-active .navmenu a i,
  body.mobile-nav-active .navmenu a:focus i {
    background: transparent !important;
    color: #94a3b8 !important;
    width: auto;
    height: auto;
    margin-left: auto;
    border-radius: 0;
  }
  body.mobile-nav-active .navmenu .navmenu-account a i {
    margin-left: 0;
    margin-right: 0.15rem;
    color: #5eead4 !important;
    font-size: 1.05rem;
  }

  body.mobile-nav-active .navmenu .dropdown ul {
    margin: 0 0 0.25rem !important;
    padding: 0.15rem 0 0.35rem !important;
    background: rgba(2, 6, 23, 0.28) !important;
    border: 0 !important;
  }
  body.mobile-nav-active .navmenu .dropdown ul a {
    color: #cbd5e1 !important;
    font-size: 0.95rem !important;
    padding: 0.65rem 1.15rem 0.65rem 1.65rem !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  }

  body.mobile-nav-active .navmenu .navmenu-section {
    list-style: none;
    margin: 1rem 1.15rem 0.35rem;
    padding: 0.85rem 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
  }
  body.mobile-nav-active .navmenu .navmenu-section span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
  }
  body.mobile-nav-active .navmenu .navmenu-section + .navmenu-account,
  body.mobile-nav-active .navmenu .navmenu-section + .navmenu-currency,
  body.mobile-nav-active .navmenu .navmenu-section + .navmenu-theme {
    border-top: 0;
  }

  body.mobile-nav-active .navmenu .navmenu-currency {
    list-style: none;
    padding: 0.35rem 1.15rem 0.55rem;
  }
  body.mobile-nav-active .navmenu .sf-currency-switcher--menu {
    display: inline-flex !important;
    gap: 0.4rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
  body.mobile-nav-active .navmenu .sf-currency-switcher--menu .sf-currency-btn {
    min-width: 52px;
    padding: 0.5rem 0.7rem !important;
    border-radius: 10px !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    background: rgba(15, 27, 42, 0.9) !important;
    color: #e2e8f0 !important;
    font-size: 0.78rem !important;
  }
  body.mobile-nav-active .navmenu .sf-currency-switcher--menu .sf-currency-btn.is-active {
    background: #2dd4bf !important;
    border-color: #2dd4bf !important;
    color: #0b1724 !important;
  }

  body.mobile-nav-active .navmenu .navmenu-theme {
    margin: 0.25rem 1.15rem 0 !important;
    padding: 0.35rem 0 0 !important;
    border-top: 0 !important;
  }
  body.mobile-nav-active .navmenu .premium-theme-toggle--menu {
    background: rgba(15, 27, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #e2e8f0;
  }
  body.mobile-nav-active .navmenu .premium-theme-toggle__label {
    color: #e2e8f0;
  }

  [data-theme="dark"] body.premium-site.mobile-nav-active .navmenu > ul,
  [data-theme="dark"] body.mobile-nav-active .navmenu-drawer-head {
    background: #0b1624 !important;
  }
}

/* A11y FAB: hide on mobile/tablet; keep modal openable via footer link */
@media (max-width: 991.98px) {
  .sf-a11y-fab {
    display: none !important;
  }
  .sf-a11y-modal__panel {
    margin-bottom: 1rem;
  }
}

/* Live-Chat footer pill: only mobile (desktop keeps floating launcher) */
.footer .footer-legal-pills .footer-pill-btn--livechat {
  display: none !important;
}

/* Footer: premium mobile layout (left-aligned, breathing room, teal pills) */
@media (max-width: 767.98px) {
  /* Weniger Luft über dem Footer-Logo / Header etwas enger */
  .premium-header__bar {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
  }
  #footer.footer {
    padding-top: 0.85rem !important;
    padding-bottom: 1rem !important;
  }
  #footer.footer .footer-top {
    padding-bottom: 0.95rem !important;
  }
  #footer.footer .footer-top > .row {
    --bs-gutter-y: 1.1rem;
  }
  #footer.footer .footer-info .logo.mb-4 {
    margin-bottom: 0.55rem !important;
  }

  #footer.footer .footer-info {
    text-align: left !important;
    width: 100%;
  }
  #footer.footer .footer-info .logo {
    justify-content: flex-start !important;
    margin-bottom: 0.55rem !important;
    width: 100%;
  }
  #footer.footer .footer-info .logo img {
    max-height: 56px !important;
    width: auto;
    max-width: min(100%, 280px);
  }
  #footer.footer .footer-info p {
    margin: 0 0 0.85rem !important;
    max-width: none !important;
    width: 100%;
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.78);
  }

  /* Trustfair: Inhaltsbreite (nicht gestreckt) */
  #footer.footer .footer-info-trust,
  #footer.footer .footer-info-trust .trustfair-widget,
  #footer.footer .footer-info-trust .trustfair-seal {
    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  #footer.footer .footer-info-trust {
    display: flex !important;
    justify-content: flex-start !important;
    margin: 0 0 0.9rem !important;
    margin-inline: 0 !important;
  }
  #footer.footer .footer-info-trust .tf-seal-badge,
  #footer.footer .footer-info-trust .tf-seal-badge--graphic,
  #footer.footer .footer-info-trust .tf-seal-badge--silver,
  #footer.footer .footer-info-trust .tf-seal-badge--blue,
  #footer.footer .footer-info-trust .tf-seal-badge--dark,
  #footer.footer .footer-info-trust .tf-seal-badge--gold,
  #footer.footer .footer-info-trust .tf-seal-badge--auto {
    width: fit-content !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Social + Payment: eine Reihe nebeneinander */
  #footer.footer .footer-brand-meta {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-inline: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #footer.footer .footer-brand-meta__sep {
    display: none;
  }
  #footer.footer .social-links {
    display: inline-flex !important;
    justify-content: flex-start !important;
    flex: 0 0 auto;
    gap: 0.45rem;
    width: auto !important;
    margin: 0 !important;
  }
  #footer.footer .footer-brand-meta .social-links a {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.55);
    color: #e2e8f0;
  }
  #footer.footer .footer-pay-inline {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.4rem;
    width: auto !important;
  }
  #footer.footer .footer-pay-inline .payment-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
  }

  #footer.footer .footer-links {
    text-align: left !important;
    padding-top: 1.05rem !important;
    border-top: 1px solid rgba(148, 163, 184, 0.12) !important;
  }
  #footer.footer .footer-links h4 {
    margin-bottom: 0.75rem !important;
    font-size: 0.98rem !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #f8fafc !important;
  }
  #footer.footer .footer-links h4:after {
    left: 0 !important;
    transform: none !important;
    width: 28px;
    height: 2px;
    background: #2dd4bf;
    border-radius: 2px;
  }
  #footer.footer .footer-links ul {
    align-items: stretch !important;
    gap: 0 !important;
  }
  #footer.footer .footer-links ul li {
    padding: 0 !important;
  }
  #footer.footer .footer-links ul a {
    display: block;
    padding: 0.55rem 0;
    color: rgba(226, 232, 240, 0.88) !important;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  }
  #footer.footer .footer-links ul a:hover {
    color: #5eead4 !important;
  }
  #footer.footer .footer-links ul li.footer-links-pill {
    margin-top: 0.65rem;
    padding-top: 0 !important;
    width: 100%;
    max-width: 100%;
  }
  #footer.footer .footer-legal-pills {
    width: 100% !important;
    max-width: 100% !important;
  }
  #footer.footer .footer-links ul li.footer-links-pill .footer-pill-btn--service,
  #footer.footer .footer-legal-pills .footer-pill-btn--legal,
  #footer.footer .footer-legal-pills .footer-pill-btn--livechat,
  #footer.footer .footer-legal-pills #cookie-footer-btn {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    text-align: left;
    border-radius: 999px !important;
    border: 1px solid rgba(45, 212, 191, 0.45) !important;
    background: rgba(13, 27, 42, 0.85) !important;
    box-shadow: none !important;
    color: #e2e8f0 !important;
    font-size: 0.78rem !important;
    padding: 0.55rem 0.9rem !important;
    gap: 0.45rem;
    white-space: nowrap;
  }
  #footer.footer .footer-legal-pills .footer-pill-btn--livechat {
    display: inline-flex !important;
  }
  #footer.footer .footer-links ul li.footer-links-pill .footer-pill-btn--service i,
  #footer.footer .footer-legal-pills .footer-pill-btn--legal i,
  #footer.footer .footer-legal-pills .footer-pill-btn--livechat i,
  #footer.footer .footer-legal-pills #cookie-footer-btn i {
    color: #2dd4bf;
  }
  #footer.footer .footer-legal-pills {
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
    margin-top: 0.65rem;
    gap: 0.4rem;
  }

  #footer.footer .footer-newsletter--premium,
  #footer.footer .footer-newsletter {
    margin-top: 0.15rem;
    padding: 1.2rem 1.1rem 1.25rem !important;
    border-radius: 16px !important;
    border: 1px solid rgba(45, 212, 191, 0.22) !important;
    background: linear-gradient(160deg, rgba(15, 27, 42, 0.95), rgba(11, 18, 32, 0.98)) !important;
    box-shadow: none !important;
  }
  #footer.footer .footer-newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 0.55rem;
  }
  #footer.footer .footer-newsletter h4 {
    text-align: left !important;
    font-size: 1.05rem !important;
    color: #f8fafc !important;
  }
  #footer.footer .footer-newsletter p {
    text-align: left;
    color: rgba(203, 213, 225, 0.8);
    font-size: 0.88rem;
  }

  #footer.footer .footer-bottom--simple {
    padding-top: 1.15rem !important;
    padding-bottom: 3.25rem !important;
  }
  #footer.footer .footer-bottom-hr {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    margin: 0 0 0.85rem;
    opacity: 1;
  }
  #footer.footer .footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding-inline: 0;
    box-sizing: border-box;
  }
  #footer.footer .footer-copyright-text {
    font-size: 0.75rem !important;
    line-height: 1.5;
    color: rgba(203, 213, 225, 0.7) !important;
    margin: 0 auto;
    text-align: center !important;
    max-width: none;
    width: 100%;
    padding-inline: 3rem;
    box-sizing: border-box;
  }
  #footer.footer .footer-copyright-made {
    display: block;
    margin-top: 0.2rem;
  }
  #footer.footer .footer-copyright-made .footer-copyright-sep {
    margin-left: 0;
  }
  #footer.footer .footer-copyright-heart {
    color: #2dd4bf;
    font-size: 0.55rem;
  }
  #footer.footer .footer-bottom-pay {
    display: none !important;
  }

  .sf-footer-sentinel {
    display: block;
    width: 100%;
    height: 1px;
    pointer-events: none;
  }

  /* Floating Chat nur Desktop – mobil als Footer-Link */
  .sf-livechat-launcher,
  .sf-livechat-launcher--footer-aware,
  .sf-livechat-launcher.is-visible {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Scroll-top: keep clear of chat */
  #scroll-top.scroll-top {
    right: 0.85rem;
    bottom: 1.1rem;
  }
}

/* Contact form: reCAPTCHA tip (wie Newsletter) */
.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.sf-recaptcha-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  color: #3b82f6;
  cursor: help;
  outline: none;
}
.sf-recaptcha-tip i {
  font-size: 0.95rem;
  line-height: 1;
}
.sf-recaptcha-tip:hover,
.sf-recaptcha-tip:focus-visible {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.12);
}
.sf-recaptcha-tooltip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.55rem);
  z-index: 20;
  width: min(260px, 70vw);
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.75rem;
  line-height: 1.4;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}
.sf-recaptcha-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0.7rem;
  border: 6px solid transparent;
  border-top-color: #0f172a;
}
.sf-recaptcha-tip:hover .sf-recaptcha-tooltip,
.sf-recaptcha-tip:focus-visible .sf-recaptcha-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.sf-recaptcha-tooltip a {
  color: #bfdbfe;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sf-recaptcha-tooltip a:hover {
  color: #ffffff;
}

/* Login forms: reCAPTCHA v3 disclosure row (badge hidden) */
.sf-login-recaptcha {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  margin: 0 0 1.15rem;
  color: var(--premium-muted, #64748b);
  font-size: 0.875rem;
  font-weight: 500;
  overflow: visible;
}
.sf-login-recaptcha__icon {
  color: #64748b;
  font-size: 1rem;
  line-height: 1;
}
.sf-login-recaptcha__label {
  color: inherit;
}
.sf-login-recaptcha .sf-recaptcha-tip {
  position: relative;
  color: #2563eb;
  z-index: 7;
}
/* Full-width tip under the security row – stays inside the card */
.sf-customer-login .sf-login-recaptcha .sf-recaptcha-tooltip,
.admin-login-page .sf-login-recaptcha .sf-recaptcha-tooltip {
  left: auto;
  right: 0;
  bottom: auto;
  top: calc(100% + 0.5rem);
  width: min(20rem, calc(100vw - 3rem));
  max-width: min(20rem, 70vw);
  white-space: normal;
}
.sf-customer-login .sf-login-recaptcha .sf-recaptcha-tooltip::after,
.admin-login-page .sf-login-recaptcha .sf-recaptcha-tooltip::after {
  top: auto;
  bottom: 100%;
  left: auto;
  right: 0.65rem;
  border-top-color: transparent;
  border-bottom-color: #0f172a;
}
.sf-customer-login__form {
  overflow: visible;
}
.sf-customer-login .container {
  overflow: visible;
}
[data-theme="dark"] .sf-login-recaptcha {
  color: #94a3b8;
}
[data-theme="dark"] .sf-login-recaptcha__icon {
  color: #94a3b8;
}
[data-theme="dark"] .sf-customer-login .sf-login-recaptcha .sf-recaptcha-tooltip::after {
  border-bottom-color: #0f172a;
}
[data-theme="dark"] .sf-recaptcha-tip {
  color: #60a5fa;
}
[data-theme="dark"] .sf-recaptcha-tip:hover,
[data-theme="dark"] .sf-recaptcha-tip:focus-visible {
  color: #bfdbfe;
  background: rgba(30, 64, 175, 0.25);
}
.contact-recaptcha-note {
  font-size: 0.78rem !important;
}
