/* ── Variables ── */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #0ea5e9;
  --surface: #ffffff;
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --surface-2: #f1f5f9;
  --success: #16a34a;
  --danger: #b91c1c;
  --primary-soft: rgba(37, 99, 235, 0.06);
  --ring: 0 0 0 3px rgba(37, 99, 235, 0.22);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --cookie-banner-offset: 8.75rem;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --section-y: clamp(3.5rem, 7vw, 5rem);
  --container-max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-break: 1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

html.menu-open {
  overflow: hidden;
}

.container {
  width: min(var(--container-max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: 200;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
  outline: none;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
  padding: 10px 20px;
  text-decoration: none;
}

.btn[hidden],
[hidden] {
  display: none !important;
}

.btn:active { transform: scale(0.98); }

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

.btn:focus-visible,
.nav a:focus-visible,
.nav-toggle:focus-visible,
.toggle-switch:focus-visible,
.faq-item summary:focus-visible,
.setup-checkbox:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cta-form input:focus-visible,
.cta-form select:focus-visible,
.cta-form textarea:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--text); }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.site-header.menu-open {
  z-index: 120;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.header-menu {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 20px;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
  min-width: 0;
}

.logo-text {
  white-space: nowrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-icon svg { width: 20px; height: 20px; }

.logo-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px 16px;
  margin-right: auto;
  min-width: 0;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 4px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); }
.nav a.is-active {
  color: var(--primary);
  font-weight: 600;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.account-menu {
  position: relative;
}

.account-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.account-menu-toggle--guest {
  text-decoration: none;
}

.account-menu-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.account-menu-avatar svg {
  width: 15px;
  height: 15px;
}

.account-menu-label {
  font-weight: 500;
}

.account-menu-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.account-menu-toggle[aria-expanded="true"] .account-menu-chevron {
  transform: rotate(180deg);
}

.account-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 120;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
}

.account-menu-item:hover {
  background: var(--surface-2);
}

.account-menu-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.account-menu-item--danger {
  color: var(--danger);
}

.account-menu-divider {
  height: 1px;
  margin: 4px 6px;
  background: var(--border);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s;
}

.site-header.menu-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.menu-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-header.menu-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37, 99, 235, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(14, 165, 233, 0.06), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 22px;
}

.hero-platforms-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.platform-logo {
  display: block;
  height: 32px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.platform-logo--woo {
  height: 30px;
}

.platform-logo--footer {
  height: 26px;
}

.platform-logo--footer.platform-logo--woo {
  height: 24px;
  padding: 6px 10px;
  background: #fff;
  border-radius: 6px;
}

.hero-version {
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.hero-checks li {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--success);
}

/* ── Hero mockup ── */
.hero-visual {
  position: relative;
}

.mockup-window {
  background: var(--surface);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}

.mockup-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.mockup-bar .dot:nth-child(1) { background: #f87171; }
.mockup-bar .dot:nth-child(2) { background: #fbbf24; }
.mockup-bar .dot:nth-child(3) { background: #4ade80; }

.mockup-url {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.mockup-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 280px;
}

.mockup-viewer {
  background: #eef2f7;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.mockup-cube {
  width: 80px;
  height: 80px;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeSpin 12s linear infinite;
}

@keyframes cubeSpin {
  from { transform: rotateX(-20deg) rotateY(0deg); }
  to   { transform: rotateX(-20deg) rotateY(360deg); }
}

.cube-face {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid var(--primary);
  background: rgba(37, 99, 235, 0.15);
  backface-visibility: visible;
}
.cube-face.front  { transform: translateZ(40px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(40px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(40px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(40px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(40px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(40px); }

.mockup-stats {
  display: flex;
  gap: 20px;
  font-size: 0.75rem;
}
.mockup-stats small { display: block; color: var(--muted); }
.mockup-stats strong { font-size: 0.85rem; }

.mockup-config {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}

.mockup-step {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  display: inline-block;
  width: fit-content;
}
.mockup-step.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.mockup-field label {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.mockup-select {
  font-size: 0.8rem;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.mockup-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  margin-top: auto;
  font-size: 0.8rem;
}
.mockup-price strong { font-size: 1.1rem; color: var(--primary); }

.mockup-btn {
  text-align: center;
  padding: 10px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.floating-card svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.card-1 { top: -12px; right: -20px; animation: float 4s ease-in-out infinite; }
.card-2 { bottom: 20px; left: -30px; animation: float 4s ease-in-out infinite 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Trust bar ── */
.trust-bar {
  padding: 28px 0 32px;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.trust-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.trust-platforms-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-platforms-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

.trust-platforms-plus {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.5;
  line-height: 1;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}
.trust-item span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
}
.trust-icon svg {
  width: 22px;
  height: 22px;
}

/* ── Sections ── */
.section {
  padding: var(--section-y) 0;
}

.section-alt {
  background: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
@media (hover: hover) {
  .feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.25);
  }
  .price-card:hover { box-shadow: var(--shadow-lg); }
  .price-card--featured:hover { transform: scale(1.03) translateY(-2px); }
}

.feature-card--highlight {
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.06) 0%, var(--surface) 55%);
  border-color: rgba(37, 99, 235, 0.22);
}

.feature-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--primary);
}
.feature-icon svg { width: 20px; height: 20px; }

.feature-card--highlight .feature-icon {
  background: var(--primary);
  color: #fff;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.feature-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.feature-tags li {
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
}

/* ── Steps ── */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: none;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-num {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.step-icon {
  width: 24px;
  height: 24px;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Admin section ── */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.admin-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.admin-content > p {
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.admin-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.admin-list li::before { display: none; }

.admin-list-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
}
.admin-list-icon svg {
  width: 18px;
  height: 18px;
}
.admin-list strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

.admin-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 12px 0;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.admin-tabs span {
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  white-space: nowrap;
}
.admin-tabs span.active {
  background: var(--surface);
  color: var(--primary);
  font-weight: 600;
}

.admin-rows { padding: 16px; }

.admin-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.admin-row:last-child { margin-bottom: 0; }

.chip {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.chip-pla  { background: #dbeafe; color: #1d4ed8; }
.chip-petg { background: #fef3c7; color: #b45309; }
.chip-tpu  { background: #ede9fe; color: #6d28d9; }

.admin-row--status { color: var(--muted); font-size: 0.8rem; }
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Pricing ── */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.billing-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 2px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.billing-label--active { color: var(--text); font-weight: 600; }
.billing-label em {
  font-style: normal;
  font-size: 0.75rem;
  background: rgba(22, 163, 74, 0.1);
  color: var(--success);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
}

.toggle-switch {
  width: 48px;
  height: 26px;
  min-width: 48px;
  min-height: 44px;
  padding: 9px 0;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.toggle-switch::before {
  content: '';
  position: absolute;
  inset: 9px 0;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.2s;
}

.toggle-switch[aria-pressed="true"]::before { background: var(--primary); }

.toggle-knob {
  position: absolute;
  top: 50%;
  left: 3px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
  transition: transform 0.2s;
  z-index: 1;
}

.toggle-switch[aria-pressed="true"] .toggle-knob { transform: translateX(22px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

@media (max-width: 1280px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.price-card--free {
  background: var(--surface);
  border-style: dashed;
  border-color: var(--border-strong);
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card--featured {
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 999px;
}

.price-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.price-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.price-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
}
.price-icon svg {
  width: 20px;
  height: 20px;
}
.price-icon--featured {
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
}
.price-header p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 24px;
}
.price-amount .currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--muted);
}
.price-amount .amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-amount .period {
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 4px;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price-features li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 24px;
  position: relative;
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--muted);
}

.inline-icon {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

.pricing-note-sep {
  opacity: 0.4;
}

/* ── Payment methods ── */
.payment-methods {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.payment-methods-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 16px;
}

.payment-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.payment-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.payment-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--primary);
}
.payment-icon svg {
  width: 18px;
  height: 18px;
}

.payment-item--brand {
  padding-left: 12px;
  white-space: nowrap;
}

.payment-brand {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 28px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-style: italic;
}

.payment-item--visa .payment-brand {
  background: #1a1f71;
  color: #fff;
}

.payment-brand--mc {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0 10px;
}
.payment-brand--mc span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0.85;
}
.payment-brand--mc span:first-child {
  background: #eb001b;
  margin-right: -5px;
}
.payment-brand--mc span:last-child {
  background: #f79e1b;
}

.payment-brand--paypal {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0 10px;
}

.payment-brand-img {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.payment-brand-img--paypal {
  height: 14px;
}

.payment-item--stripe .payment-brand--stripe {
  background: #635bff;
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

/* ── Setup promo ── */
.setup-section {
  padding: 0 0 var(--section-y);
  background: var(--surface);
}

.setup-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 55%, #0c4a6e 100%);
  border-radius: calc(var(--radius) + 4px);
  color: #fff;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.25);
  position: relative;
  overflow: hidden;
}

.setup-promo::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.setup-promo-main {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.setup-promo-badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.setup-promo-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.setup-promo-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}
.setup-promo-icon svg {
  width: 26px;
  height: 26px;
}

.setup-promo-head h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.setup-promo-head p {
  font-size: 0.95rem;
  opacity: 0.88;
  line-height: 1.55;
  margin: 0;
  max-width: 48ch;
}

.setup-promo-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.setup-promo-tags li {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.setup-promo-action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.setup-promo-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.setup-promo-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.setup-promo-once {
  font-size: 0.8rem;
  opacity: 0.75;
}

.setup-promo-action .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  white-space: nowrap;
}
.setup-promo-action .btn-primary:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
}

.setup-promo-hint {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ── Über uns ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.about-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.about-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-lead {
  color: var(--text) !important;
  font-weight: 500;
}

.about-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.about-point-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-sm);
  color: var(--primary);
}
.about-point-icon svg {
  width: 20px;
  height: 20px;
}

.about-points strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text);
}

.about-points span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.setup-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.setup-checkbox:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}
.setup-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.setup-checkbox-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.setup-checkbox input:checked + .setup-checkbox-box {
  background: #fff;
  border-color: #fff;
}
.setup-checkbox input:checked + .setup-checkbox-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.setup-checkbox-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}
.setup-checkbox-text strong {
  font-weight: 600;
}
.setup-checkbox-text small {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* ── Requirements ── */
.req-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.req-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 24px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--muted);
}

.req-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  color: var(--primary);
}
.req-icon svg {
  width: 22px;
  height: 22px;
}

.req-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--primary); }

.faq-item p {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}
.faq-item code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

.faq-item a {
  color: var(--primary);
  font-weight: 500;
}
.faq-item a:hover { text-decoration: underline; }

/* ── Support banner ── */
.section-compact {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.support-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.support-banner .btn {
  flex-shrink: 0;
  align-self: center;
  padding: 12px 22px;
}

.support-banner-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--primary);
}
.support-banner-icon svg { width: 24px; height: 24px; }

.support-banner-text {
  flex: 1;
  min-width: 0;
}
.support-banner-text h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.support-banner-text p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.support-banner-text strong {
  color: var(--text);
  font-weight: 600;
}

/* ── CTA ── */
.cta-section {
  padding-top: var(--section-y);
  padding-bottom: clamp(4rem, 8vw, 6.25rem);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), #1e40af);
  border-radius: calc(var(--radius) + 4px);
  padding: 48px;
  color: #fff;
}

.cta-content {
  text-align: center;
  margin-bottom: 32px;
}
.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.cta-content p {
  opacity: 0.85;
  font-size: 1.05rem;
}

.cta-form { max-width: 640px; margin: 0 auto; }

.cta-inline-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-inline-link:hover {
  opacity: 0.9;
}

.cta-form .form-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.cta-form .form-field--grow { flex: 1.4; }

.cta-form .form-row .form-field {
  margin-bottom: 0;
}

.cta-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0 !important;
}

.cta-form-actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.cta-form-actions .form-submit {
  min-width: min(100%, 280px);
}

.cta-form .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-end;
}

.form-row .form-submit {
  flex-shrink: 0;
  min-height: 48px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.cta-form textarea {
  min-height: 120px;
  line-height: 1.5;
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
}
.cta-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.cta-form select option { color: var(--text); background: var(--surface); }

.cta-form .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  flex-shrink: 0;
}
.cta-form .btn-primary:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 8px;
}

.cta-form-feedback {
  text-align: center;
  font-size: 0.875rem;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.cta-form-feedback--success {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.cta-form-feedback--error {
  background: rgba(127, 29, 29, 0.35);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca;
}

/* ── Legal pages (Datenschutz, Impressum) ── */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.legal-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.legal-page .site-header .header-inner {
  justify-content: space-between;
  width: min(var(--container-max), calc(100% - 2 * var(--gutter)));
  max-width: var(--container-max);
  margin-inline: auto;
}

.legal-main {
  flex: 1;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4rem);
}

.legal-content {
  max-width: 760px;
}

.legal-header {
  margin-bottom: 2rem;
}

.legal-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.legal-updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.legal-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-section h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  margin: 0 0 1rem;
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
}

.legal-section h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}

.legal-section p {
  margin: 0 0 0.875rem;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-address {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.legal-address a {
  color: var(--primary);
  text-decoration: none;
}

.legal-address a:hover {
  text-decoration: underline;
}

.legal-section p a {
  color: var(--primary);
  text-decoration: none;
}

.legal-section p a:hover {
  text-decoration: underline;
}

.legal-clauses {
  margin: 0;
  padding-left: 1.35rem;
  list-style: decimal;
}

.legal-clauses > li {
  margin-bottom: 0.875rem;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.75;
  padding-left: 0.35rem;
}

.legal-clauses > li:last-child {
  margin-bottom: 0;
}

.legal-sublist {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  list-style: disc;
}

.legal-sublist li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

/* ── Footer ── */
.site-footer {
  background: var(--text);
  color: #94a3b8;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.75rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: 32px 48px;
  align-items: start;
}

.footer-brand .logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  margin-top: 8px;
  max-width: 300px;
  line-height: 1.55;
}

.footer-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px 12px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.footer-social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-social-link:hover {
  color: #fff;
  background: rgba(37, 99, 235, 0.35);
  border-color: rgba(147, 197, 253, 0.35);
  transform: translateY(-1px);
}

.footer-platforms .platform-logo--footer.platform-logo--woo {
  height: 24px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
}

.footer-col-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-link-btn {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: 0;
  padding: 6px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
}

.footer-cookie-link {
  color: #94a3b8;
  font-size: 0.8rem;
  background: none;
  border: 0;
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-cookie-link:hover {
  color: #fff;
}

.site-footer--compact {
  padding: 2rem 0 1.5rem;
}

.site-footer--compact .footer-inner {
  grid-template-columns: 1fr;
  gap: 20px;
}

.site-footer--compact .footer-columns {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* Legacy single-row nav — removed from markup, keep noop for safety */
.footer-nav {
  display: none;
}

/* ── Cookie consent ── */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 220;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  backdrop-filter: blur(10px);
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.cookie-banner-title {
  margin: 0 0 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.cookie-banner-text {
  margin: 0;
  max-width: 62ch;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.cookie-banner-text a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  min-height: 44px;
}

body.cookie-banner-open:not(.cookie-settings-open) {
  padding-bottom: calc(var(--cookie-banner-offset) + env(safe-area-inset-bottom, 0px));
}

.scroll-top-btn {
  position: fixed;
  z-index: 90;
  right: clamp(1.25rem, 5vw, 6.25rem);
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s, background 0.2s, color 0.2s, border-color 0.2s;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.scroll-top-btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-lg), var(--ring);
}

.scroll-top-btn svg {
  width: 22px;
  height: 22px;
}

body.cookie-banner-open:not(.cookie-settings-open) .scroll-top-btn {
  bottom: calc(var(--cookie-banner-offset) + 1rem + env(safe-area-inset-bottom, 0px));
}

body.cookie-settings-open {
  overflow: hidden;
}

.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 230;
}

.cookie-settings-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.cookie-banner .btn-ghost {
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.18);
}

.cookie-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cookie-settings-panel {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 480px);
  max-height: min(85dvh, calc(100dvh - 2rem));
  margin: max(5vh, 1rem) auto 1rem;
  padding: 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg, 0 24px 48px rgba(15, 23, 42, 0.18));
}

.cookie-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.cookie-settings-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.cookie-settings-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-settings-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.cookie-settings-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cookie-settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.cookie-settings-item strong {
  display: block;
  font-size: 0.875rem;
}

.cookie-settings-item span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.cookie-settings-badge {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-ui {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 0.2s;
  position: relative;
}

.cookie-toggle-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-ui {
  background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-ui::after {
  transform: translateX(18px);
}

.cookie-toggle input:focus-visible + .cookie-toggle-ui {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cookie-settings-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-legal-bar {
  margin-top: auto;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.portal-legal-bar-inner {
  width: min(1440px, calc(100% - 2 * var(--gutter)));
  max-width: 1440px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.portal-legal-bar a,
.portal-legal-bar button {
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font: inherit;
  cursor: pointer;
}

.portal-legal-bar a:hover,
.portal-legal-bar button:hover {
  color: var(--primary);
}

.portal-legal-bar-sep {
  opacity: 0.45;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .nav { gap: 4px 12px; }
  .nav a { font-size: 0.8125rem; }
  .header-cta .btn-sm { padding: 8px 10px; font-size: 0.8125rem; }
}

/* Schmaler Desktop: sekundäre CTAs ausblenden, bevor Hamburger greift */
@media (max-width: 1480px) and (min-width: 1321px) {
  .header-cta-demo { display: none; }
}

@media (max-width: 1320px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-inner {
    gap: 12px;
    z-index: 3;
  }

  .header-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(100vw - 3rem, 360px);
    height: 100dvh;
    max-height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    flex: none;
    gap: 0;
    padding:
      calc(var(--header-h) + 12px)
      clamp(1.25rem, 4vw, 1.5rem)
      max(1.5rem, env(safe-area-inset-bottom));
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.14);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 2;
    transform: translate3d(105%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0.28s;
  }

  .site-header.menu-open .header-menu {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    margin-right: 0;
    width: 100%;
  }

  .nav a {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }

  .nav a.is-active {
    color: var(--primary);
  }

  .nav a:last-child { border-bottom: none; }

  .header-cta {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    gap: 10px;
  }

  .header-cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .account-menu {
    width: 100%;
  }

  .account-menu-toggle {
    width: 100%;
    justify-content: center;
  }

  .account-menu-panel {
    left: 0;
    right: 0;
    width: 100%;
  }
}

@media (min-width: 1321px) {
  .header-menu {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 20px;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-menu,
  .nav-overlay {
    transition: none;
  }
}

@media (max-width: 960px) {
  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
  }

  .admin-visual {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-panel {
    min-width: 0;
  }

  .hero-grid,
  .admin-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero-visual {
    order: -1;
    max-width: min(520px, 100%);
    margin: 0 auto;
  }

  .hero-content { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-checks { justify-content: center; }
  .hero-platforms { justify-content: center; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 24px 20px; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-2px); }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .req-grid { grid-template-columns: repeat(2, 1fr); }

  .card-1, .card-2 { display: none; }

  .support-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 20px;
  }

  .support-banner .btn { width: 100%; }

  .setup-promo {
    flex-direction: column;
    padding: 28px 24px;
    gap: 24px;
  }

  .setup-promo-action { width: 100%; }
  .setup-promo-head { flex-direction: column; gap: 14px; }

  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }

  .logo-text { font-size: 0.95rem; }

  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .hero-lead { font-size: 1rem; }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn { width: 100%; }

  .hero-checks {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .features-grid { grid-template-columns: 1fr; }

  .mockup-body { grid-template-columns: 1fr; }
  .mockup-viewer { min-height: 200px; padding: 16px; }

  .mockup-config {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mockup-config .mockup-step { grid-column: span 1; }
  .mockup-field { grid-column: span 1; }
  .mockup-price,
  .mockup-btn { grid-column: 1 / -1; }

  .trust-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }

  .billing-toggle { gap: 10px; }
  .billing-label { font-size: 0.85rem; }

  .price-amount .amount { font-size: 2.5rem; }

  .pricing-note {
    flex-direction: column;
    gap: 10px;
  }

  .pricing-note-sep { display: none; }

  .payment-list { gap: 8px; }
  .payment-item { font-size: 0.8rem; padding: 8px 12px; }
  .payment-item--brand { white-space: normal; }
  .payment-list { justify-content: center; }

  .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-row .form-submit { width: 100%; }

  .cta-box { padding: 28px 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1 1 auto; justify-content: center; min-height: 44px; }

  .scroll-top-btn {
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    width: 44px;
    height: 44px;
  }

  body.cookie-banner-open:not(.cookie-settings-open) .scroll-top-btn {
    bottom: calc(var(--cookie-banner-offset) + 0.75rem + env(safe-area-inset-bottom, 0px));
  }

  .faq-item summary { padding: 16px 18px; font-size: 0.9rem; }
  .faq-item p { padding: 0 18px 16px; }

  .footer-columns { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .logo-badge { display: none; }
  .setup-promo-amount { font-size: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top-btn {
    transition: none;
  }

  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
