:root {
  color-scheme: dark;
  --bg: #111111;
  --panel: #1C1C1C;
  --paper: #FFFFFF;
  --paper-muted: #BBBBBB;
  --text: #FFFFFF;
  --muted: #AAAAAA;
  --red: #D60000;
  --accent: #e00012;
  --brand-red: #e00012;
  --brand-red-bright: #ff0e2b;
  --brand-red-hover: #d6001a;
  --focus-ring: rgba(255, 14, 43, 0.45);
  --line: #2A2A2A;
  --max: 1120px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --site-gutter: clamp(22px, 4vw, 50px);
  --transition-fast: 0.2s ease;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 18% 25%, #1a0505 0%, #000000 70%) fixed !important;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--brand-red-bright);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--site-gutter);
  z-index: 100;
  padding: 12px 18px;
  background: var(--paper);
  color: #090909;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus-visible {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .lp-cta-card:hover,
  .lp-feature-card:hover {
    transform: none;
  }
}

.site-header,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  padding: 28px 0 18px;
}

.site-footer {
  padding: 32px 0 40px;
  color: var(--muted);
}

.brand {
  color: var(--paper);
  font-size: clamp(34px, 6vw, 74px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.95;
  text-decoration: none;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.top-nav a,
.text-link {
  color: var(--paper);
  font-weight: 850;
  text-decoration: none;
  text-transform: uppercase;
}

.top-nav a {
  border: 1px solid var(--line);
  padding: 10px 14px;
}

.hero {
  min-height: min(680px, calc(100vh - 96px));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(237, 0, 31, 0.18), transparent 28%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 44%);
  opacity: 0.8;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, var(--bg));
}

.hero-content,
.page-title,
.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 64px 0 96px;
}

.brush-kicker {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 8px 16px;
  background-color: var(--red) !important;
  background-image: none !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(48px, 10vw, 122px);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

h3 {
  font-size: 24px;
  line-height: 1.1;
}

.hero-copy,
.page-title p,
.section p {
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.45;
}

.hero-copy {
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--paper);
  padding: 14px 22px;
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.button.secondary {
  background: rgba(0, 0, 0, 0.55);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.section {
  padding: 58px 0;
}

.section.compact {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.feature-grid,
.manage-layout,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
  border-radius: 10px;
}

.page-title {
  padding: 52px 0 24px;
}

.manage-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manage-customer {
  display: grid;
  gap: 22px;
}

.manage-auth-panel,
.manage-form {
  display: grid;
  gap: 16px;
}

.manage-mode-tabs {
  display: inline-grid;
  width: fit-content;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  border: 2px solid var(--paper);
}

.manage-mode-tab {
  min-height: 46px;
  border: 0;
  border-right: 2px solid var(--paper);
  background: #050505;
  color: var(--paper);
  font: inherit;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.manage-mode-tab:last-child {
  border-right: 0;
}

.manage-mode-tab.active {
  background: var(--paper);
  color: #090909;
}

.manage-message {
  margin: 0;
  border: 1px solid rgba(237, 0, 31, 0.55);
  background: rgba(237, 0, 31, 0.18);
  padding: 12px 14px;
  color: var(--paper);
  font-weight: 850;
}

.manage-message.good {
  border-color: rgba(85, 200, 120, 0.5);
  background: rgba(85, 200, 120, 0.12);
}

.manage-toolbar,
.manage-toolbar-actions,
.manage-stripe-panel,
.manage-stripe-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.manage-toolbar-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.manage-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.manage-card-list {
  display: grid;
  gap: 10px;
}

.manage-mini-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  padding: 14px;
}

.manage-mini-card strong {
  color: var(--paper);
  font-size: 22px;
  line-height: 1.1;
}

.manage-mini-card span {
  color: var(--muted);
}

.manage-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.manage-stripe-panel {
  min-height: auto;
}

.manage-stripe-actions {
  align-items: end;
  flex-wrap: wrap;
}

.admin-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.panel {
  min-height: 220px;
}

.panel.tall {
  min-height: 280px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2)), var(--panel);
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  margin-bottom: 8px;
}

.dashboard-table {
  display: grid;
  gap: 10px;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 14px 16px;
}

.pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pill.good {
  border-color: rgba(85, 200, 120, 0.5);
  background: rgba(85, 200, 120, 0.12);
}

.pill.warn {
  border-color: rgba(255, 194, 62, 0.5);
  background: rgba(255, 194, 62, 0.12);
}

.pill.bad {
  border-color: rgba(237, 0, 31, 0.5);
  background: rgba(237, 0, 31, 0.12);
}

.field {
  display: grid;
  gap: 8px;
  color: var(--paper-muted);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid var(--paper-muted);
  background: #050505;
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--brand-red-bright);
  box-shadow: 0 0 0 1px var(--focus-ring);
}

.field textarea {
  resize: vertical;
}

.admin-field-help {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.platform-admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.05), transparent 26%),
    radial-gradient(circle at 72% 28%, rgba(237, 0, 31, 0.13), transparent 18%),
    linear-gradient(rgba(255, 255, 255, 0.045) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 2px, transparent 2px),
    linear-gradient(135deg, #111 0%, #070707 52%, #191414 100%);
  background-size: auto, auto, 92px 44px, 92px 44px, auto;
}

.platform-admin-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 12%, rgba(255, 255, 255, 0.035) 13%, transparent 18%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
  opacity: 0.35;
}

.platform-admin-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.platform-admin-login {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 28px;
  padding: 48px 0;
}

.admin-stencil-lockup {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.admin-wordmark {
  width: fit-content;
  margin: 0;
  padding: 8px 18px 6px;
  background: var(--paper);
  color: #090909;
  font-size: clamp(50px, 9vw, 96px);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
  transform: rotate(-1deg);
  filter: contrast(1.25);
}

.admin-wordmark.small {
  margin-bottom: 8px;
  font-size: 28px;
}

.admin-stencil-lockup h1,
.platform-admin-topbar h1 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(30px, 6vw, 62px);
  font-weight: 950;
  text-transform: uppercase;
}

.admin-login-panel {
  width: min(470px, 100%);
  display: grid;
  gap: 16px;
  border: 2px solid var(--paper);
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.94), rgba(31, 24, 24, 0.92)),
    #0b0b0b;
  padding: 26px;
}

.admin-login-label {
  margin: 0;
  color: var(--paper);
  font-size: 22px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-login-error {
  margin: 0;
  border: 1px solid var(--red);
  background: rgba(237, 0, 31, 0.18);
  padding: 12px 14px;
  color: var(--paper);
  font-weight: 850;
}

.platform-admin-dashboard {
  padding: 28px 0 48px;
}

.platform-admin-topbar,
.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.platform-admin-topbar {
  margin-bottom: 28px;
}

.admin-environments {
  display: grid;
  gap: 18px;
}

.admin-env-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  border: 2px solid var(--paper);
  margin: 0 0 24px;
}

.admin-env-tab {
  min-height: 46px;
  border: 0;
  border-right: 2px solid var(--paper);
  background: #050505;
  color: var(--paper);
  font: inherit;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-env-tab:last-child {
  border-right: 0;
}

.admin-env-tab.active {
  background: var(--paper);
  color: #090909;
}

.admin-env-panel {
  display: grid;
  gap: 18px;
}

.admin-environment-card {
  min-height: auto;
}

.admin-environment-card.muted {
  opacity: 0.82;
}

.admin-stat-grid {
  margin: 20px 0;
}

.dashboard-row-head {
  color: var(--paper-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.admin-tenant-table .dashboard-row strong {
  display: grid;
  gap: 4px;
}

.admin-tenant-table small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-prod-placeholder {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
  padding: 18px;
  color: var(--paper-muted);
}

.admin-action-message {
  margin: 0;
  border: 1px solid rgba(85, 200, 120, 0.5);
  background: rgba(85, 200, 120, 0.12);
  padding: 12px 14px;
  color: var(--paper);
  font-weight: 850;
}

.admin-action-message.bad {
  border-color: rgba(237, 0, 31, 0.55);
  background: rgba(237, 0, 31, 0.18);
}

.admin-action-message.warn {
  border-color: rgba(255, 194, 62, 0.55);
  background: rgba(255, 194, 62, 0.14);
}

.admin-tenant-list {
  min-height: auto;
}

.admin-tenant-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--paper);
  font-size: 28px;
  font-weight: 950;
  cursor: pointer;
  text-transform: uppercase;
}

.admin-tenant-list summary small {
  color: var(--muted);
  font-size: 16px;
  text-transform: none;
}

.admin-tenant-cards {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-tenant-card {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.36);
  padding: 16px;
}

.admin-tenant-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-tenant-main h3 {
  margin-bottom: 8px;
  font-size: 26px;
}

.admin-tenant-main p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-metric-grid span,
.admin-key-value {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 10px 12px;
}

.admin-metric-grid strong,
.admin-key-value span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-key-value strong {
  color: var(--paper);
  font-size: 18px;
}

.admin-current-value {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
}

.admin-current-value span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-current-value strong {
  color: var(--paper);
  font-size: 18px;
}

.admin-detail-panel {
  min-height: auto;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-detail-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-detail-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-detail-grid.flush {
  margin-top: 0;
}

.admin-detail-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  padding: 18px;
}

.admin-detail-card h3 {
  margin-bottom: 2px;
  color: var(--paper);
  text-transform: uppercase;
}

.admin-entitlement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.admin-entitlement-row div {
  display: grid;
  gap: 3px;
}

.admin-entitlement-row span,
.admin-muted {
  color: var(--muted);
}

.admin-voucher-list {
  min-height: auto;
}

.admin-voucher-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--paper);
  font-size: 28px;
  font-weight: 950;
  cursor: pointer;
  text-transform: uppercase;
}

.admin-voucher-list summary small {
  color: var(--muted);
  font-size: 16px;
  text-transform: none;
}

.admin-voucher-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.admin-created-voucher {
  align-self: start;
  border-color: rgba(85, 200, 120, 0.5);
  background: rgba(85, 200, 120, 0.1);
}

.admin-voucher-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.admin-voucher-toolbar .field {
  min-width: 220px;
}

.admin-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-check-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 12px;
  cursor: pointer;
}

.admin-check-option input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.admin-check-option span {
  display: grid;
  gap: 2px;
}

.admin-check-option strong {
  color: var(--paper);
}

.admin-check-option small {
  color: var(--muted);
}

.admin-inline-options {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.admin-inline-options summary {
  color: var(--paper);
  cursor: pointer;
  font-weight: 900;
}

.admin-inline-options .admin-option-grid {
  margin-top: 12px;
}

.admin-voucher-cards {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.admin-voucher-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.36);
  padding: 16px;
}

.admin-voucher-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.admin-voucher-main h3 {
  margin-bottom: 4px;
  font-size: 24px;
}

.admin-voucher-main p {
  margin: 0;
  color: var(--muted);
}

.admin-voucher-redemptions {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--muted);
}

.admin-voucher-redemptions strong {
  color: var(--paper-muted);
  text-transform: uppercase;
}

.admin-empty {
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 14px;
}

@media (max-width: 1024px) {
  .stat-grid,
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .manage-layout,
  .manage-dashboard-grid,
  .manage-form-row,
  .admin-grid,
  .stat-grid,
  .admin-metric-grid,
  .admin-detail-grid,
  .admin-detail-grid.two,
  .admin-detail-grid.three,
  .admin-voucher-layout,
  .admin-option-grid,
  .dashboard-row,
  .platform-admin-topbar,
  .admin-section-head {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .platform-admin-topbar,
  .admin-section-head,
  .admin-tenant-main,
  .admin-entitlement-row,
  .admin-voucher-main,
  .admin-voucher-toolbar,
  .manage-toolbar,
  .manage-stripe-panel {
    display: grid;
  }
}

/* ==========================================================================
   LANDING PAGE (LP) STYLES
   ========================================================================== */

/* --- Base Override for LP --- */
.lp-body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at 18% 25%, #1a0505 0%, #000000 70%) fixed !important;
  color: #ffffff !important;
  overflow-x: hidden;
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
  background-image: none !important; /* Override standard grid background */
}

.lp-body * {
  box-sizing: border-box;
}

/* --- Container & Layout --- */
.lp-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* --- Header --- */
.lp-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.lp-header-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-brand {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}

.lp-brand .dot {
  color: #ff0e2b;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lp-nav-link {
  color: #b3b3b3;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lp-nav-link:hover {
  color: #ffffff;
}

.lp-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.lp-nav-btn:hover {
  background: #ffffff;
  color: #030303;
  border-color: #ffffff;
}

/* --- Hero Section --- */
.lp-hero {
  position: relative;
  padding: clamp(72px, 10vh, 120px) 0 clamp(64px, 8vh, 100px);
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.lp-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
}

.lp-glow-1 {
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ff0e2b 0%, transparent 70%);
}

.lp-glow-2 {
  bottom: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #ff0e2b 0%, transparent 70%);
}

.lp-hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-width: 240px;
  min-height: 44px;
  margin: 0 auto 24px;
  padding: 8px 40px 10px;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  background-color: transparent;
  background-image: url("/assets/images/brush_stroke_red.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
}

.lp-title {
  font-size: clamp(38px, 6.5vw, 76px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin-bottom: 24px !important;
  text-transform: none !important;
}

.lp-title .highlight {
  color: var(--brand-red-bright);
  display: inline-block;
  position: relative;
}

.lp-lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: #c5c5c7;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --- CTA Grid (The Launchpad) --- */
.lp-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.lp-cta-grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.lp-cta-card {
  background: #1C1C1C;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.lp-cta-card.primary {
  border: 1px solid var(--red);
}

.lp-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.lp-cta-card:hover {
  transform: translateY(-4px);
  background: rgba(18, 18, 18, 0.85);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lp-cta-card.primary:hover {
  border-color: rgba(237, 0, 31, 0.3);
}

.lp-cta-card.secondary:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.lp-cta-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a1a1a6;
  margin-bottom: 12px;
}

.lp-cta-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #ffffff;
}

.lp-cta-card p {
  color: #a1a1a6;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 28px;
  flex-grow: 1;
}

.lp-cta-action {
  margin-bottom: 16px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-transform: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  width: 100%;
}

.lp-btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.lp-btn-red {
  background: var(--brand-red-bright);
  color: #ffffff;
  border: 1px solid var(--brand-red-bright);
}

.lp-btn-red:hover,
.lp-btn-red:focus-visible {
  background: var(--brand-red-hover);
  border-color: var(--brand-red-hover);
}

.lp-btn-red:hover .icon {
  transform: translateX(4px);
}

.lp-btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.lp-btn-outline:hover .icon {
  transform: translateX(4px);
}

.lp-cta-note {
  font-size: 12px;
  color: #6e6e73;
  display: block;
}

/* --- Features Section --- */
.lp-features {
  padding: 100px 0;
  position: relative;
  background: linear-gradient(180deg, #030303 0%, #080808 100%);
}

.lp-section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.lp-section-header h2 {
  font-size: clamp(28px, 4vw, 40px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 16px !important;
  text-transform: none !important;
}

.lp-section-header p {
  font-size: 16px;
  color: #a1a1a6;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lp-feature-card {
  background: #1C1C1C;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.lp-feature-card:hover {
  border-color: var(--red);
  background: rgba(28, 28, 28, 0.95);
  transform: translateY(-2px);
}

.lp-feature-icon-wrapper {
  background: rgba(214, 0, 0, 0.1);
  border: 1px solid rgba(214, 0, 0, 0.3);
  color: var(--red);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 6px;
}

.lp-feat-icon {
  width: 22px;
  height: 22px;
}

.lp-feature-text h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px !important;
  text-transform: none !important;
}

.lp-feature-text p {
  color: #a1a1a6;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.lp-feature-action {
  margin-top: 18px;
}

.lp-feature-note {
  display: inline-block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
}

/* --- Pricing Section --- */
.lp-pricing {
  padding: 60px 0 120px;
  position: relative;
}

.lp-pricing-card {
  background: #1C1C1C;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.lp-pricing-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(237, 0, 31, 0.08) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.lp-pricing-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.lp-pricing-heading {
  font-size: clamp(26px, 3.5vw, 36px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 16px !important;
  text-transform: none !important;
}

.lp-pricing-text {
  color: #a1a1a6;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.lp-pricing-badge {
  display: inline-block;
  background: rgba(237, 0, 31, 0.06);
  border: 1px solid rgba(237, 0, 31, 0.2);
  color: #ffffff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.lp-pricing-cta {
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-tag {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-tag .currency {
  font-size: 16px;
  color: #a1a1a6;
  font-weight: 500;
}

.price-tag .amount {
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
}

.price-tag .period {
  font-size: 14px;
  color: #6e6e73;
}

.full-width {
  width: 100%;
}

/* --- Footer --- */
.lp-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 48px 0;
  background: #020202;
}

.lp-footer-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lp-footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.lp-footer-brand .dot {
  color: #ff0e2b;
}

.lp-footer-text {
  color: #515154;
  font-size: 13px;
}

.lp-footer-links {
  display: flex;
  gap: 20px;
}

.lp-footer-links a {
  color: #86868b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.lp-footer-links a:hover {
  color: #ffffff;
}

/* --- Responsive Adaptations --- */
@media (max-width: 900px) {
  .lp-cta-grid,
  .lp-cta-grid-three {
    grid-template-columns: 1fr;
  }

  .lp-features-grid {
    grid-template-columns: 1fr;
  }

  .lp-pricing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lp-pricing-cta {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .lp-container,
  .lp-header-container,
  .lp-footer-container {
    width: min(1200px, calc(100% - 24px));
  }

  .lp-header-container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .lp-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .lp-hero {
    padding: 56px 0 48px;
  }

  .lp-pricing-card {
    padding: 28px 22px;
  }

  .lp-cta-card {
    padding: 28px 22px;
  }

  .lp-feature-card {
    flex-direction: column;
    gap: 14px;
  }

  .lp-footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .lp-footer-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .mobile-hide {
    display: none;
  }
}

/* ==========================================================================
   BANDLEY MANAGE + REGISTER – SHARED AUTH LAYOUT
   Nur Layout/Optik. IDs, JS, Business-Logik und API-Calls bleiben unverändert.
   Assets:
   /assets/images/grunge-noise-compressed.webp
   /assets/images/brush_stroke_red.png
   ========================================================================== */

body.register-body,
body.manage-body,
body.platform-admin-body {
  --bandley-red: #e00012;
  --bandley-red-bright: #ff0018;
  --bandley-panel: rgba(14, 14, 14, 0.90);
  --auth-header-min-h: 88px;
  --auth-brand-size: clamp(32px, 3.6vw, 48px);
  --auth-hero-title-size: clamp(32px, 3.8vw, 52px);
  --auth-hero-lead-size: clamp(15px, 1.05vw, 18px);
  --auth-brush-size: clamp(12px, 0.85vw, 15px);
  --auth-brush-min-w: 200px;
  --auth-brush-min-h: 44px;
  --auth-card-max: 480px;
  --auth-shell-width: min(1200px, calc(100% - 40px));
  --auth-grid-gap: clamp(28px, 3vw, 40px);
  --auth-page-pad-y: clamp(36px, 5vh, 64px) 0 clamp(40px, 5vh, 56px);
  --auth-shell-inline: max(20px, calc((100% - var(--auth-shell-width)) / 2));
  --auth-hero-pad-top: clamp(8px, 2vh, 24px);
  --auth-card-pad-top: clamp(24px, 4vh, 48px);
  --auth-card-pad: clamp(28px, 2.5vw, 40px) clamp(28px, 2.8vw, 44px);
  --auth-card-header-size: clamp(17px, 1.1vw, 20px);
  --auth-label-size: 14px;
  --auth-input-size: 16px;
  --auth-input-min-h: 50px;
  --auth-submit-h: 52px;
  --auth-submit-font: 15px;
  --auth-nav-btn-min-w: 148px;
  --auth-nav-btn-h: 46px;
  --auth-nav-btn-font: 13px;
  --auth-form-gap: 20px;
  --auth-hero-max: 520px;
}

body.manage-body {

  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background-color: #000000 !important;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45)),
    radial-gradient(circle at 22% 44%, rgba(255, 255, 255, 0.035), transparent 28%),
    radial-gradient(circle at 82% 48%, rgba(224, 0, 18, 0.10), transparent 36%),
    url("/assets/images/grunge-noise-compressed.webp") !important;
  background-size: cover, cover, cover, cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
}

body.manage-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.24)),
    radial-gradient(circle at 50% 46%, transparent 0 42%, rgba(0, 0, 0, 0.32) 82%);
}

body.manage-body > * {
  position: relative;
  z-index: 1;
}

body.manage-body main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* Header (register + manage) */
body.register-body .flex-header,
body.manage-body .flex-header,
body.platform-admin-body .flex-header {
  width: 100% !important;
  max-width: none !important;
  min-height: var(--auth-header-min-h);
  margin: 0 !important;
  padding: 20px var(--auth-shell-inline) 16px !important;
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(224, 0, 18, 0.88);
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(2px);
}

body.register-body .brand-massive,
body.register-body .brand.brand-massive,
body.manage-body .brand-massive,
body.platform-admin-body .brand-massive,
body.platform-admin-body .brand.brand-massive {
  color: #ffffff;
  font-size: var(--auth-brand-size);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

body.register-body .top-nav-punk,
body.manage-body .top-nav-punk,
body.platform-admin-body .top-nav-punk {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 2px;
}

body.register-body .btn-outline-red,
body.manage-body .btn-outline-red,
body.platform-admin-body .btn-outline-red {
  min-width: var(--auth-nav-btn-min-w);
  min-height: var(--auth-nav-btn-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(224, 0, 18, 0.98) !important;
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff !important;
  padding: 10px 18px;
  font-size: var(--auth-nav-btn-font);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

body.register-body .btn-outline-red:hover,
body.register-body .btn-outline-red:focus-visible,
body.manage-body .btn-outline-red:hover,
body.manage-body .btn-outline-red:focus-visible,
body.platform-admin-body .btn-outline-red:hover,
body.platform-admin-body .btn-outline-red:focus-visible {
  background: rgba(224, 0, 18, 0.14);
  box-shadow: 0 0 24px rgba(224, 0, 18, 0.22);
  outline: none;
}

body.register-body .nav-icon,
body.manage-body .nav-icon,
body.platform-admin-body .nav-icon {
  width: 18px;
  height: 18px;
}

/* Auth grid: hero links, Karte rechts – kompakt zentriert wie .lp-container */
body.manage-body #auth-view.manage-grid-container,
body.register-body main.register-auth-grid,
body.platform-admin-body #login-view.manage-grid-container {
  width: var(--auth-shell-width);
  max-width: var(--auth-shell-width);
  min-height: calc(100vh - var(--auth-header-min-h));
  margin: 0 auto;
  padding: var(--auth-page-pad-y);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--auth-card-max);
  gap: var(--auth-grid-gap);
  align-items: start;
}

body.manage-body .manage-hero-col,
body.register-body .register-hero-col,
body.register-body .page-title.register-hero-col,
body.platform-admin-body #login-view .manage-hero-col {
  max-width: var(--auth-hero-max);
  padding-top: var(--auth-hero-pad-top);
  align-items: flex-start;
}

body.manage-body .brush-label-manage,
body.register-body .page-title .brush-kicker {
  min-width: var(--auth-brush-min-w);
  min-height: var(--auth-brush-min-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px -6px;
  padding: 8px 36px 10px;
  color: #ffffff;
  background-color: transparent !important;
  background-image: url("/assets/images/brush_stroke_red.png") !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: var(--auth-brush-size);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
}

body.platform-admin-body #login-view .brush-label-manage {
  min-width: min(100%, 340px);
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px -6px;
  padding: 10px 48px 12px;
  color: #ffffff;
  background-color: transparent !important;
  background-image: url("/assets/images/brush_stroke_red.png") !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: clamp(28px, 3.35vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
}

body.manage-body .massive-hero-title,
body.register-body .page-title h1,
body.platform-admin-body #login-view .massive-hero-title {
  max-width: var(--auth-hero-max);
  margin: 0 0 18px !important;
  color: #ffffff !important;
  font-size: var(--auth-hero-title-size) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
  text-transform: uppercase !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

body.manage-body .hero-desc,
body.register-body .page-title > p:not(.brush-kicker) {
  max-width: var(--auth-hero-max);
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--auth-hero-lead-size);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* Login card */
body.manage-body .manage-card-col,
body.register-body .register-card-col,
body.register-body #auth-view.register-card-col,
body.platform-admin-body #login-view .manage-card-col {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: var(--auth-card-pad-top);
  width: 100%;
  max-width: none;
  margin: 0;
}

body.manage-body .custom-login-card,
body.register-body #auth-view .custom-login-card,
body.platform-admin-body #login-view .custom-login-card {
  width: var(--auth-card-max);
  max-width: 100%;
  min-height: 0;
  padding: var(--auth-card-pad) !important;
  border: 1px solid rgba(224, 0, 18, 0.82) !important;
  border-radius: 10px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(14, 14, 14, 0.90) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.8) inset,
    0 30px 80px rgba(0, 0, 0, 0.58),
    0 0 48px rgba(224, 0, 18, 0.07);
  backdrop-filter: blur(3px);
}

body.manage-body .custom-login-card:hover,
body.register-body #auth-view .custom-login-card:hover,
body.platform-admin-body #login-view .custom-login-card:hover {
  border-color: rgba(255, 0, 24, 0.95) !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85) inset,
    0 34px 86px rgba(0, 0, 0, 0.62),
    0 0 52px rgba(224, 0, 18, 0.11);
}

body.manage-body .card-header-custom,
body.register-body #auth-view .card-header-custom,
body.platform-admin-body #login-view .card-header-custom {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

body.manage-body .card-header-icon,
body.register-body #auth-view .card-header-icon,
body.platform-admin-body #login-view .card-header-icon {
  width: 40px;
  height: 40px;
  padding: 7px;
  border: 1px solid var(--bandley-red);
  border-radius: 999px;
  color: var(--bandley-red);
}

body.manage-body .card-header-title,
body.register-body #auth-view .card-header-title,
body.platform-admin-body #login-view .card-header-title {
  color: #ffffff;
  font-size: var(--auth-card-header-size);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.manage-body .card-divider,
body.register-body #auth-view .card-divider,
body.platform-admin-body #login-view .card-divider {
  height: 1px;
  margin: 0 0 22px;
  background: linear-gradient(90deg, rgba(224, 0, 18, 0.95), rgba(224, 0, 18, 0.36), rgba(224, 0, 18, 0.88));
}

body.manage-body .manage-form-custom,
body.register-body #auth-view .manage-form-custom,
body.register-body #auth-view .register-form-custom,
body.platform-admin-body #admin-login-form.manage-form-custom {
  display: grid;
  gap: var(--auth-form-gap);
}

body.manage-body .field-custom,
body.register-body #auth-view .field-custom,
body.platform-admin-body #login-view .field-custom {
  display: grid;
  gap: 8px;
}

body.manage-body .field-custom label,
body.register-body #auth-view .field-custom label,
body.platform-admin-body #login-view .field-custom label {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--auth-label-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
}

body.manage-body .input-wrapper-custom,
body.register-body #auth-view .input-wrapper-custom,
body.platform-admin-body #login-view .input-wrapper-custom {
  min-height: var(--auth-input-min-h);
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.42);
  box-sizing: border-box;
}

body.manage-body .input-wrapper-custom:hover,
body.register-body #auth-view .input-wrapper-custom:hover,
body.platform-admin-body #login-view .input-wrapper-custom:hover {
  border-color: rgba(255, 255, 255, 0.58);
}

body.manage-body .input-wrapper-custom:focus-within,
body.register-body #auth-view .input-wrapper-custom:focus-within,
body.platform-admin-body #login-view .input-wrapper-custom:focus-within {
  border-color: rgba(255, 0, 24, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 0, 24, 0.22);
}

body.manage-body .input-icon-custom,
body.register-body #auth-view .input-icon-custom,
body.platform-admin-body #login-view .input-icon-custom {
  width: 20px;
  height: 20px;
  margin-right: 14px;
  flex-shrink: 0;
  color: var(--bandley-red);
}

body.manage-body .input-icon-right-custom,
body.platform-admin-body #login-view .input-icon-right-custom {
  width: 20px;
  height: 20px;
  margin-left: 14px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.64);
}

body.manage-body .input-wrapper-custom input,
body.register-body #auth-view .input-wrapper-custom input,
body.register-body #auth-view .field-custom input,
body.platform-admin-body #login-view .input-wrapper-custom input,
body.platform-admin-body #login-view .field-custom input {
  width: 100%;
  height: 100%;
  padding: 0 !important;
  border: 0 !important;
  outline: none;
  color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit;
  font-size: var(--auth-input-size);
  font-weight: 500;
}

body.manage-body .input-wrapper-custom input::placeholder,
body.register-body #auth-view .input-wrapper-custom input::placeholder,
body.platform-admin-body #login-view .input-wrapper-custom input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

body.manage-body .btn-submit-custom,
body.register-body #auth-submit.btn-submit-custom,
body.register-body #auth-submit.button.primary,
body.platform-admin-body #admin-login-button.btn-submit-custom {
  width: 100%;
  min-height: var(--auth-submit-h);
  margin-top: 4px;
  border: 0 !important;
  border-radius: 4px !important;
  background: linear-gradient(180deg, #ef0015, #d90010) !important;
  color: #ffffff !important;
  font-size: var(--auth-submit-font) !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(224, 0, 18, 0.2);
}

body.manage-body .btn-submit-custom:hover,
body.manage-body .btn-submit-custom:focus-visible,
body.register-body #auth-submit.btn-submit-custom:hover,
body.register-body #auth-submit.button.primary:hover,
body.platform-admin-body #admin-login-button.btn-submit-custom:hover,
body.platform-admin-body #admin-login-button.btn-submit-custom:focus-visible {
  background: linear-gradient(180deg, #ff1026, #e50012) !important;
  box-shadow: 0 12px 28px rgba(224, 0, 18, 0.32);
  outline: none;
}

/* Footer emblem line */
body.manage-body .site-footer-custom {
  flex: 0 0 auto;
  min-height: 88px;
  margin: 0;
  padding: 16px clamp(64px, 5vw, 96px) 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.manage-body .footer-line-continuous {
  position: relative;
  width: min(920px, 64vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 0, 18, 0.55) 18%, rgba(224, 0, 18, 0.12) 49%, rgba(224, 0, 18, 0.55) 82%, transparent);
}

body.manage-body .footer-line-continuous::before {
  content: "B";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 2px solid var(--bandley-red);
  color: var(--bandley-red);
  background: #050505;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  clip-path: polygon(50% 0%, 86% 16%, 86% 70%, 50% 100%, 14% 70%, 14% 16%);
  box-shadow: 0 0 18px rgba(224, 0, 18, 0.18);
}

/* Logged-in manage area – gleiche Shell-Breite wie Landingpage */
body.manage-body #manage-view,
body.register-body #manage-view {
  width: var(--auth-shell-width);
  max-width: var(--auth-shell-width);
  margin: 0 auto;
  padding-bottom: 56px !important;
}

body.manage-body #manage-view .panel {
  background: rgba(18, 18, 18, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
}

/* Responsive: register + manage auth */
@media (max-width: 1180px) {
body.manage-body #auth-view.manage-grid-container,
body.register-body main.register-auth-grid,
body.platform-admin-body #login-view.manage-grid-container {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
  }

  body.manage-body .manage-card-col,
  body.register-body .register-card-col,
  body.register-body #auth-view.register-card-col,
  body.platform-admin-body #login-view .manage-card-col {
    justify-content: flex-start;
    padding-top: 0;
  }

  body.manage-body .custom-login-card,
  body.register-body #auth-view .custom-login-card,
  body.platform-admin-body #login-view .custom-login-card {
    width: min(100%, var(--auth-card-max));
  }
}

@media (max-width: 760px) {
  body.register-body,
  body.manage-body,
  body.platform-admin-body {
    --auth-brand-size: 28px;
    --auth-hero-title-size: clamp(28px, 8vw, 36px);
    --auth-hero-lead-size: 15px;
    --auth-brush-min-w: 168px;
    --auth-brush-min-h: 40px;
    --auth-card-pad: 24px 20px;
    --auth-page-pad-y: 32px 0 40px;
    --auth-shell-width: calc(100% - 40px);
  }

  body.register-body .flex-header,
  body.manage-body .flex-header,
  body.platform-admin-body .flex-header {
    min-height: auto;
    padding: 18px 20px 14px !important;
    align-items: flex-start;
    flex-direction: column;
  }

  body.register-body .top-nav-punk,
  body.manage-body .top-nav-punk,
  body.platform-admin-body .top-nav-punk {
    width: 100%;
    gap: 10px;
  }

  body.register-body .btn-outline-red,
  body.manage-body .btn-outline-red,
  body.platform-admin-body .btn-outline-red {
    min-width: 0;
    flex: 1;
  }

  body.manage-body .site-footer-custom {
    padding-inline: 22px;
  }

  body.manage-body .footer-line-continuous {
    width: 90vw;
  }
}

/* ==========================================================================
   FINAL REGISTER/MANAGE AUTH LAYOUT OVERRIDES
   Ziel:
   - /register exakt wie /manage: Hero links, Auth-Box rechts
   - Registrierung als Brush-Label
   - Header-Buttons/Box/Input-Look identisch
   - Footer auf /register und /manage komplett ausblenden
   Nur Layout/Optik. IDs, JS, API-Calls und Business-Logik bleiben unverändert.
   ========================================================================== */

body.register-body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background-color: #000000 !important;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45)),
    radial-gradient(circle at 22% 44%, rgba(255, 255, 255, 0.035), transparent 28%),
    radial-gradient(circle at 82% 48%, rgba(224, 0, 18, 0.10), transparent 36%),
    url("/assets/images/grunge-noise-compressed.webp") !important;
  background-size: cover, cover, cover, cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
}

body.register-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.24)),
    radial-gradient(circle at 50% 46%, transparent 0 42%, rgba(0, 0, 0, 0.32) 82%);
}

body.register-body > * {
  position: relative;
  z-index: 1;
}

body.register-body main.register-auth-grid {
  flex: 1 0 auto;
}

body.register-body .register-hero-col,
body.register-body .page-title.register-hero-col {
  width: auto !important;
  margin: 0 !important;
  padding: var(--auth-hero-pad-top) 0 0 !important;
}

body.register-body #auth-view.register-card-col.section,
body.register-body #auth-view.register-card-col.section.compact {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ========================================================================== 
   LANDINGPAGE HEADER STYLE ALIGNMENT
   Scope: nur body.lp-body. /register und /manage bleiben unverändert.
   Ziel: Header-Hintergrund und Header-Buttons optisch wie /manage.
   ========================================================================== */

body.lp-body .lp-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  z-index: 10 !important;
  padding: 24px 50px 20px !important;
  border-bottom: 1px solid rgba(224, 0, 18, 0.88) !important;
  background: rgba(0, 0, 0, 0.52) !important;
  backdrop-filter: blur(2px);
}

body.lp-body .lp-header-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 28px !important;
}

body.lp-body .lp-brand {
  color: #ffffff !important;
  font-size: clamp(50px, 5.2vw, 80px) !important;
  font-weight: 950 !important;
  line-height: 0.82 !important;
  letter-spacing: 0.025em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

body.lp-body .lp-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  padding-top: 2px !important;
}

body.lp-body .lp-nav-link,
body.lp-body .lp-nav-btn {
  min-width: 188px !important;
  min-height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 13px !important;
  border: 1px solid rgba(224, 0, 18, 0.98) !important;
  background: rgba(0, 0, 0, 0.28) !important;
  color: #ffffff !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
}

body.lp-body .lp-nav-link:hover,
body.lp-body .lp-nav-link:focus-visible,
body.lp-body .lp-nav-btn:hover,
body.lp-body .lp-nav-btn:focus-visible {
  background: rgba(224, 0, 18, 0.14) !important;
  border-color: rgba(255, 0, 24, 0.98) !important;
  color: #ffffff !important;
  box-shadow: 0 0 24px rgba(224, 0, 18, 0.22) !important;
  outline: none !important;
}

@media (max-width: 760px) {
  body.lp-body .lp-header {
    padding: 22px 22px 18px !important;
  }

  body.lp-body .lp-header-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  body.lp-body .lp-brand {
    font-size: 42px !important;
  }

  body.lp-body .lp-nav {
    width: 100% !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  body.lp-body .lp-nav-link,
  body.lp-body .lp-nav-btn {
    min-width: 0 !important;
    flex: 1 1 140px !important;
    min-height: 46px !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
  }
}

body.lp-body {
  background-color: #000000 !important;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45)),
    radial-gradient(circle at 22% 44%, rgba(255, 255, 255, 0.035), transparent 28%),
    radial-gradient(circle at 82% 48%, rgba(224, 0, 18, 0.10), transparent 36%),
    url("/assets/images/grunge-noise-compressed.webp") !important;
  background-size: cover, cover, cover, cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

body.lp-body main,
body.lp-body .lp-hero,
body.lp-body .lp-features,
body.lp-body .lp-pricing {
  background: transparent !important;
}

/* Shared typography + form polish (register, manage, admin, LP) */
body.register-body,
body.manage-body,
body.lp-body,
body.platform-admin-body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.button:focus-visible,
.lp-btn:focus-visible,
.manage-mode-tab:focus-visible,
.admin-env-tab:focus-visible {
  outline: 2px solid var(--brand-red-bright);
  outline-offset: 2px;
}

.platform-admin-body .admin-login-panel,
.platform-admin-body .panel,
.platform-admin-body .admin-detail-card {
  border-radius: var(--radius-md);
}

/* ==========================================================================
   PLATFORM ADMIN – ALIGNMENT WITH /register + /manage
   Nur Layout/Optik. IDs, JS, API-Calls und Business-Logik bleiben unverändert.
   ========================================================================== */

body.platform-admin-body {
  --bandley-red: #e00012;
  --auth-shell-width: min(1200px, calc(100% - 40px));
  --auth-shell-inline: max(20px, calc((100% - var(--auth-shell-width)) / 2));
  --auth-brand-size: clamp(32px, 3.6vw, 48px);
  --auth-card-max: 480px;
  --auth-card-pad: clamp(28px, 2.5vw, 40px) clamp(28px, 2.8vw, 44px);
  --auth-label-size: 14px;
  --auth-input-size: 16px;
  --auth-input-min-h: 50px;
  --auth-submit-h: 52px;
  --auth-submit-font: 15px;

  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background-color: #000000 !important;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45)),
    radial-gradient(circle at 22% 44%, rgba(255, 255, 255, 0.035), transparent 28%),
    radial-gradient(circle at 82% 48%, rgba(224, 0, 18, 0.10), transparent 36%),
    url("/assets/images/grunge-noise-compressed.webp") !important;
  background-size: cover, cover, cover, cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

body.platform-admin-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.24)),
    radial-gradient(circle at 50% 46%, transparent 0 42%, rgba(0, 0, 0, 0.32) 82%);
  mix-blend-mode: normal;
  opacity: 1;
}

body.platform-admin-body > * {
  position: relative;
  z-index: 1;
}

body.platform-admin-body main.platform-admin-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

body.platform-admin-body #login-view.manage-grid-container {
  width: var(--auth-shell-width);
  max-width: var(--auth-shell-width);
  margin-left: auto;
  margin-right: auto;
  justify-items: stretch;
  align-content: start;
  align-items: start;
}

body.platform-admin-body #login-view .manage-hero-col {
  justify-self: start;
  width: 100%;
  max-width: none;
}

body.platform-admin-body .platform-admin-dashboard {
  width: var(--auth-shell-width);
  max-width: var(--auth-shell-width);
  margin: 0 auto;
  padding: clamp(28px, 4vh, 40px) 0 48px;
}

body.platform-admin-body .admin-dashboard-header .admin-wordmark.small {
  color: #ffffff;
  font-size: var(--auth-brand-size);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: none;
  filter: none;
  background: transparent;
  padding: 0;
  margin: 0 0 8px;
}

body.platform-admin-body .platform-admin-topbar h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

body.platform-admin-body .admin-login-error {
  margin: 0;
  border: 1px solid rgba(237, 0, 31, 0.55);
  background: rgba(237, 0, 31, 0.18);
  padding: 12px 14px;
  color: #ffffff;
  font-weight: 700;
}

body.platform-admin-body .platform-admin-topbar.admin-dashboard-header {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 20px var(--auth-shell-inline) 16px;
  box-sizing: border-box;
  min-height: auto;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(224, 0, 18, 0.88);
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(2px);
}

body.platform-admin-body .admin-env-tabs {
  border: 1px solid rgba(224, 0, 18, 0.88);
  border-radius: 0;
  margin: 0 0 24px;
}

body.platform-admin-body .admin-env-tab {
  min-height: 44px;
  font-weight: 800;
}

body.platform-admin-body .admin-env-tab.active {
  background: rgba(224, 0, 18, 0.18);
  color: #ffffff;
}

body.platform-admin-body .brush-kicker {
  min-width: 120px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px -6px;
  padding: 8px 28px 10px;
  border: 0;
  border-radius: 0;
  background-color: transparent !important;
  background-image: url("/assets/images/brush_stroke_red.png") !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #ffffff !important;
  font-size: clamp(12px, 0.85vw, 15px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.32);
}

body.platform-admin-body .admin-section-head h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
}

body.platform-admin-body .panel,
body.platform-admin-body .admin-detail-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 18, 18, 0.92);
  border-radius: 10px;
}

body.platform-admin-body .admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

body.platform-admin-body .admin-stat-grid .stat-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(18, 18, 18, 0.92);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

body.platform-admin-body .admin-stat-grid .stat-card strong {
  display: block;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

body.platform-admin-body .admin-stat-grid .stat-card:last-child strong {
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.3;
}

body.platform-admin-body .button.secondary {
  border: 1px solid rgba(224, 0, 18, 0.98);
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
  font-weight: 800;
}

body.platform-admin-body .button.secondary:hover,
body.platform-admin-body .button.secondary:focus-visible {
  background: rgba(224, 0, 18, 0.14);
  box-shadow: 0 0 24px rgba(224, 0, 18, 0.22);
}

body.platform-admin-body .admin-login-panel .field input,
body.platform-admin-body .admin-detail-card .field input,
body.platform-admin-body .admin-detail-card .field select,
body.platform-admin-body .admin-detail-card .field textarea,
body.platform-admin-body .admin-voucher-toolbar .field select {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.42);
  border-radius: 3px;
}

@media (max-width: 760px) {
  body.platform-admin-body {
    --auth-shell-width: calc(100% - 40px);
    --auth-brand-size: 28px;
  }

  body.platform-admin-body .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.platform-admin-body .platform-admin-topbar,
  body.platform-admin-body .admin-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Mobile Floating Header --- */
.mobile-floating-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-floating-header.visible {
  transform: translateY(0);
}

.mobile-floating-header.hidden {
  transform: translateY(-100%) !important;
}

.mobile-floating-header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.mobile-floating-header-brand {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-floating-header-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  background: rgba(224, 0, 18, 0.15);
  border: 1px solid rgba(224, 0, 18, 0.4);
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-floating-header-btn:hover,
.mobile-floating-header-btn:focus-visible {
  background: rgba(224, 0, 18, 0.25);
  border-color: rgba(224, 0, 18, 0.6);
}

.mobile-floating-header-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  flex-shrink: 0;
}

.mobile-floating-header-dismiss {
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.mobile-floating-header-dismiss:hover,
.mobile-floating-header-dismiss:focus-visible {
  background: rgba(224, 0, 18, 0.2);
  color: var(--brand-red);
}

.mobile-floating-header-dismiss svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

@media (min-width: 761px) {
  .mobile-floating-header {
    display: none;
  }
}

/* --- Impressum Page --- */
.impressum-section {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.impressum-container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.impressum-content {
  margin-top: 60px;
}

.impressum-block {
  margin-bottom: 50px;
}

.impressum-block:last-child {
  margin-bottom: 0;
}

.impressum-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
}

.impressum-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}

.impressum-text:last-child {
  margin-bottom: 0;
}

.impressum-link {
  color: var(--brand-red);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.impressum-link:hover {
  color: var(--brand-red-bright);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .impressum-section {
    padding: 80px 0 60px;
  }

  .impressum-content {
    margin-top: 40px;
  }

  .impressum-block {
    margin-bottom: 40px;
  }

  .impressum-heading {
    font-size: 20px;
  }

  .impressum-text {
    font-size: 15px;
  }
}


/* ==========================================================================
   REGISTER/MANAGE FOOTER ALIGNMENT
   Footer sichtbar machen und optisch an Landingpage/Impressum angleichen.
   Nur Layout/Optik. Keine IDs, JS, Form-Actions oder Business-Logik geändert.
   ========================================================================== */

body.manage-body .lp-footer,
body.register-body .lp-footer,
body.download-body .lp-footer {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  background: #020202;
}

body.manage-body .lp-footer-container,
body.register-body .lp-footer-container,
body.download-body .lp-footer-container {
  width: var(--auth-shell-width);
}

body.manage-body .lp-footer-text .impressum-link,
body.register-body .lp-footer-text .impressum-link,
body.download-body .lp-footer-text .impressum-link {
  color: var(--brand-red-bright);
  text-decoration: none;
}

body.manage-body .lp-footer-text .impressum-link:hover,
body.register-body .lp-footer-text .impressum-link:hover,
body.download-body .lp-footer-text .impressum-link:hover {
  color: #ffffff;
}

@media (max-width: 600px) {
  body.manage-body .lp-footer-container,
  body.register-body .lp-footer-container,
  body.download-body .lp-footer-container {
    width: min(1200px, calc(100% - 24px));
  }
}

/* ==========================================================================
   DOWNLOAD PAGE
   Statische Beta-Downloadseite fuer Web-App und Android-APK.
   Scope: nur body.download-body, keine App-/Business-Logik.
   ========================================================================== */

body.download-body .download-main {
  width: var(--auth-shell-width);
  max-width: var(--auth-shell-width);
  margin: 0 auto;
  padding: clamp(36px, 5vh, 64px) 0 clamp(52px, 6vh, 78px);
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

body.download-body .download-hero {
  max-width: 820px;
}

body.download-body .download-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body.download-body .download-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(14, 14, 14, 0.90);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.78) inset,
    0 28px 76px rgba(0, 0, 0, 0.46);
}

body.download-body .download-card-primary {
  border-color: rgba(224, 0, 18, 0.86);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.82) inset,
    0 32px 86px rgba(0, 0, 0, 0.52),
    0 0 44px rgba(224, 0, 18, 0.11);
}

body.download-body .download-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

body.download-body .download-step {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 0, 18, 0.92);
  border-radius: 999px;
  background: rgba(224, 0, 18, 0.14);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

body.download-body .download-kicker {
  margin: 0 0 6px;
  color: var(--bandley-red-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.download-body .download-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

body.download-body .download-card p,
body.download-body .download-steps {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

body.download-body .download-steps {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

body.download-body .download-steps strong {
  color: #ffffff;
}

body.download-body .download-note {
  border-left: 3px solid var(--bandley-red);
  background: rgba(224, 0, 18, 0.08);
  padding: 12px 14px;
}

body.download-body .download-button {
  width: 100%;
  margin-top: auto;
  border-radius: 999px;
  text-align: center;
}

@media (max-width: 980px) {
  body.download-body .download-options {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOBILE HORIZONTAL PAN FIX – REGISTER PAGE
   Ziel: minimales Links/Rechts-Wackeln auf mobilen Geräten verhindern.
   Scope bewusst eng: aktuelle Register-Seite + Root-Viewport.
   Nur Layout/CSS. Keine IDs, JS, Form-Actions oder Business-Logik geändert.
   ========================================================================== */

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

@media (max-width: 760px) {
  html:has(body.register-body) {
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  body.register-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    --auth-shell-width: calc(100% - 32px);
    --auth-shell-inline: 16px;
  }

  @supports (overflow: clip) {
    body.register-body {
      overflow-x: clip !important;
    }
  }

  body.register-body .flex-header,
  body.register-body main.register-auth-grid,
  body.register-body .register-hero-col,
  body.register-body #auth-view.register-card-col,
  body.register-body .custom-login-card,
  body.register-body .lp-footer,
  body.register-body .lp-footer-container {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  @supports (overflow: clip) {
    body.register-body .flex-header,
    body.register-body main.register-auth-grid,
    body.register-body .register-hero-col,
    body.register-body #auth-view.register-card-col,
    body.register-body .custom-login-card,
    body.register-body .lp-footer,
    body.register-body .lp-footer-container {
      overflow-x: clip;
    }
  }

  body.register-body .flex-header {
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.register-body main.register-auth-grid {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.register-body .top-nav-punk {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  body.register-body .btn-outline-red {
    min-width: 0 !important;
    max-width: calc((100% - 10px) / 2);
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.register-body .nav-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  body.register-body .page-title .brush-kicker {
    margin-left: 0;
  }

  body.register-body .input-wrapper-custom,
  body.register-body #auth-view .field-custom input,
  body.register-body .lp-footer-links {
    max-width: 100%;
    min-width: 0;
  }
}
