/* =====================================================
   ULTRAPRIMETV — Main Stylesheet
   Aesthetic: Premium, deep black, gold accents,
   Montserrat (display) + Manrope (body) + JetBrains Mono (code)
   ===================================================== */

:root {
  /* Palette — Gold on deep black */
  --bg-base:        #000000;
  --bg-elev-1:      #0a0a0a;
  --bg-elev-2:      #141414;
  --bg-elev-3:      #1c1c1c;
  --line:           rgba(212,175,55,0.14);
  --line-strong:    rgba(212,175,55,0.28);
  --text:           #f5f0e1;
  --text-mute:      #b9ad8b;
  --text-dim:       #807454;
  --accent:         #D4AF37;            /* premium gold */
  --accent-glow:    rgba(212,175,55,0.45);
  --accent-soft:    rgba(212,175,55,0.14);
  --accent-2:       #F5D77A;            /* light champagne secondary */
  --warn:           #ffb84d;
  --ok:             #6ed99b;
  --err:            #ff5d6d;

  /* Type — Montserrat (modern, premium) for display */
  --font-display:   'Montserrat', system-ui, sans-serif;
  --font-body:      'Manrope', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --container:      1240px;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --radius-pill:    999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-base);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* =====================================================
   BACKGROUND FX — gradient blobs + grain texture
   ===================================================== */
.bg-fx {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  animation: blob-drift 22s ease-in-out infinite alternate;
}
.bg-blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px; left: -150px;
}
.bg-blob--2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  bottom: -300px; right: -200px;
  animation-delay: -8s;
  opacity: 0.14;
}
@keyframes blob-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(80px,-40px) scale(1.15); }
}
.bg-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10,14,20,0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 76px;        /* wächst mit, wenn ein großes Logo gesetzt ist */
  padding: 12px 0;         /* Atmung oben/unten, verhindert Überlappung */
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
}
.brand-line-1 { font-size: 12px; color: var(--text-mute); letter-spacing: 0.18em; }
.brand-line-2 { font-size: 22px; color: var(--text); }
/* Eigenes hochgeladenes Logo — groß. Höhe per --logo-h anpassbar. */
.brand-logo-img {
  --logo-h: 72px;                  /* << hier die Zahl ändern, um größer/kleiner zu machen */
  height: var(--logo-h);
  width: auto;
  max-width: min(70vw, 360px);
  object-fit: contain;
  display: block;
}
@media (max-width: 980px) {
  .brand-logo-img { --logo-h: 60px; }
}
@media (max-width: 720px) {
  .brand-logo-img { --logo-h: 48px; max-width: 60vw; }
}

.site-nav {
  display: flex; gap: 32px; margin-left: 32px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.site-nav a:hover { color: var(--text); }
.site-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .25s;
}
.site-nav a:hover::after { width: 100%; }

/* =====================================================
   NAV DROPDOWN — Pakete
   ===================================================== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-trigger svg {
  transition: transform .25s;
  opacity: 0.6;
}
.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 320px;
  padding: 10px;
  background: rgba(15, 20, 25, 0.96);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(212,175,55, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  z-index: 200;
}
/* Bridge so hover doesn't drop when crossing the gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0; height: 14px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 12px 14px !important;
  border-radius: var(--radius-md);
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background .15s, transform .15s;
  position: relative;
}
.nav-dropdown-item::after { display: none !important; }
.nav-dropdown-item:hover {
  background: var(--bg-elev-2);
  transform: translateX(2px);
}
.nav-dropdown-item--featured {
  background: linear-gradient(90deg, rgba(212,175,55,0.06), transparent);
  border: 1px solid var(--accent-soft);
}
.nav-dropdown-item--featured:hover {
  background: linear-gradient(90deg, rgba(212,175,55,0.12), transparent);
}
.nav-dropdown-item--all {
  background: var(--bg-elev-2);
}
.nav-dd-icon {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
  min-width: 36px;
  text-align: center;
  line-height: 1;
}
.nav-dd-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  min-width: 36px;
  text-align: center;
}
.nav-dd-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  text-align: left;
}
.nav-dd-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-dd-sub {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.nav-dd-tag {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
}
.nav-dropdown-sep {
  height: 1px;
  margin: 6px 8px;
  background: var(--line);
}

.header-actions {
  margin-left: auto;
  display: flex; align-items: center; gap: 12px;
}

.lang-switch {
  display: flex; gap: 2px;
  padding: 4px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.lang-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--text-mute);
  border-radius: var(--radius-pill);
  transition: all .2s;
  text-decoration: none;
}
.lang-opt:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.lang-opt.is-active {
  background: var(--accent);
  color: var(--bg-base);
}
.lang-flag {
  display: inline-flex;
  width: 18px; height: 12px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10);
  flex-shrink: 0;
}
.lang-flag svg { display: block; }
.lang-code {
  font-family: var(--font-mono);
}

/* Mobile-only Sprachwechsel — kompakt nur Flaggen, sichtbar auf Mobile */
.lang-switch--mobile {
  display: none;  /* Auf Desktop ausgeblendet — Desktop nutzt den in .header-actions */
  margin-left: auto;
  margin-right: 8px;
}
.lang-switch--mobile .lang-opt {
  padding: 6px 8px;
}
.lang-switch--mobile .lang-code {
  display: none;  /* Auf Mobile nur Flagge */
}
.lang-switch--mobile .lang-flag {
  width: 22px; height: 15px;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  z-index: 200;
  transition: all .25s;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .15s, background .25s;
  transform-origin: center;
}
/* Hamburger → X bei offen */
body.nav-open .nav-toggle {
  border-color: var(--accent);
  background: var(--accent-soft);
}
body.nav-open .nav-toggle-bar {
  background: var(--accent);
}
body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(10, 14, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
body.nav-open .nav-backdrop {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  text-align: center;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 18px 32px; font-size: 16px; }

.btn-primary {
  background: var(--accent);
  color: var(--bg-base);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-base);
}

.btn-block { width: 100%; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-mute);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}

.hero-stats {
  display: flex; gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat {
  display: flex; flex-direction: column;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-top: 6px;
}

/* Hero visual — animated pricing card */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}
.hero-card {
  position: absolute;
  background: linear-gradient(140deg, var(--bg-elev-2), var(--bg-elev-1));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero-card--main {
  inset: 10% 5% 25% 15%;
  z-index: 3;
  transform: rotate(-3deg);
  animation: float-1 6s ease-in-out infinite;
}
.hero-card--secondary {
  inset: 35% 0 5% 5%;
  z-index: 2;
  transform: rotate(4deg);
  background: linear-gradient(140deg, var(--bg-elev-1), var(--bg-elev-2));
  animation: float-2 8s ease-in-out infinite;
}
.hero-card--tertiary {
  inset: 45% 25% 10% -5%;
  z-index: 1;
  transform: rotate(-7deg);
  opacity: 0.5;
}
@keyframes float-1 { 50% { transform: rotate(-3deg) translateY(-12px); } }
@keyframes float-2 { 50% { transform: rotate(4deg) translateY(-8px); } }

.hero-card-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-mute);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.hero-card-row:last-child { border-bottom: 0; }
.hero-card-row .val { color: var(--text); font-weight: 600; }
.hero-card-row .price-final {
  color: var(--accent); font-size: 18px;
  font-family: var(--font-display);
}

/* =====================================================
   SECTION
   ===================================================== */
.section { padding: 80px 0; position: relative; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section h2 .accent { color: var(--accent); font-style: italic; }
.section-sub {
  font-size: 17px; color: var(--text-mute); max-width: 600px;
}

/* =====================================================
   STEPS / HOW IT WORKS
   ===================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-elev-1), var(--bg-base));
}
.step {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .25s;
}
.step:last-child { border-right: 0; }
.step:hover { background: var(--bg-elev-2); }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  -webkit-text-stroke: 1px var(--accent);
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  font-style: italic;
}
.step:hover .step-num {
  -webkit-text-fill-color: var(--accent);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.55;
}

/* =====================================================
   PACKAGE GRID
   ===================================================== */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.pkg-card {
  position: relative;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all .25s;
  overflow: hidden;
}
.pkg-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.pkg-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.pkg-card:hover::before { opacity: 1; }

.pkg-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
}
.pkg-card-devices {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 0.85;
  color: var(--accent);
}
.pkg-card-devices small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
}
.pkg-card-duration {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-pill);
}
.pkg-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
}
.pkg-card-prices {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 22px;
  position: relative;
}
.pkg-card-perperson {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  color: var(--text);
  line-height: 1;
}
.pkg-card-perperson .currency { color: var(--text-mute); font-size: 22px; margin-right: 4px; }
.pkg-card-perperson small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-top: 6px;
}
.pkg-card-total {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.pkg-card-total b { color: var(--text); font-weight: 600; }
.pkg-card .btn { width: 100%; position: relative; }

/* =====================================================
   REFERRAL SECTION
   ===================================================== */
.referral-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-elev-1), var(--bg-elev-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.referral-block::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.referral-tiers {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.referral-tier {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 14px;
}
.referral-tier .tier-points {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.referral-tier .tier-arrow { color: var(--text-dim); }
.referral-tier .tier-bonus {
  margin-left: auto;
  color: var(--accent);
  font-weight: 600;
}

/* =====================================================
   LIVE OPEN GROUPS SECTION
   ===================================================== */
.live-section {
  position: relative;
}

/* Compact section head */
.section-head--compact {
  margin-bottom: 28px;
}
.section-head--compact h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 0;
}
.section--narrow {
  padding: 60px 0;
}

/* =====================================================
   COMPACT HERO
   ===================================================== */
.hero--compact {
  padding: 60px 0 40px;
}
.hero-compact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero--compact .hero-eyebrow {
  margin-bottom: 18px;
}
.hero--compact h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  margin-bottom: 16px;
}
.hero--compact p.lead {
  font-size: 16px;
  margin-bottom: 22px;
  max-width: 520px;
}

/* Trust pills row */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.trust-pill-i {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mute);
  white-space: nowrap;
}
.trust-pill-i svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Mini stats */
.hero-mini-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.mini-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.mini-stat:last-child { border-bottom: 0; }
.mini-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}
.mini-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}

/* =====================================================
   LIVE TABS — Laufzeit-Filter
   ===================================================== */

/* === FILTER PILLS (Startseite, nicht-Tab-Variante) === */
.live-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  width: fit-content;
  max-width: 100%;
}
.live-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--text-mute);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}
.live-filter-pill:hover {
  background: var(--bg-elev-2);
  color: var(--text);
}
.live-filter-pill.is-active {
  background: var(--accent);
  color: var(--bg-base);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(212,175,55, 0.30);
}
.filter-pill-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--bg-elev-3);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}
.live-filter-pill.is-active .filter-pill-count {
  background: rgba(0, 0, 0, 0.25);
  color: var(--bg-base);
}

.live-filter-empty {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-elev-1);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  margin-top: 16px;
}

@media (max-width: 720px) {
  .live-filter-pill { padding: 8px 12px; font-size: 12px; }
  .filter-pill-count { min-width: 20px; height: 20px; font-size: 10px; }
}

/* === ALTE TAB-VARIANTE (deprecated, bleibt als Fallback) === */
.live-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
}
.live-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  text-align: left;
  font-family: var(--font-body);
  color: var(--text-mute);
  overflow: hidden;
  min-width: 0;
}
.live-tab:hover {
  background: var(--bg-elev-2);
  color: var(--text);
}
.live-tab.is-active {
  background: var(--bg-elev-3);
  border-color: var(--accent);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--accent-soft);
}
.live-tab.is-active::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.live-tab-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 0.85;
  color: var(--accent);
  letter-spacing: -0.04em;
  min-width: 32px;
  text-align: left;
  flex-shrink: 0;
}
.live-tab.is-active .live-tab-num {
  text-shadow: 0 0 20px var(--accent-glow);
}
.live-tab-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.live-tab-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  font-weight: 500;
}
.live-tab-price {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.live-tab-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  min-width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.live-tab.is-active .live-tab-count {
  background: var(--accent);
  color: var(--bg-base);
}
.live-tab-badge {
  position: absolute;
  top: 4px; right: 4px;
  font-size: 10px;
  color: var(--accent);
}

/* Tab Panels */
.live-tab-panel {
  display: none;
  animation: panel-fade .3s ease;
}
.live-tab-panel.is-active {
  display: block;
}
@keyframes panel-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.live-panel-empty {
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-elev-1);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

/* Live "LIVE · OFFENE GRUPPEN" eyebrow with pulsing dot */
.live-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--err);
  position: relative;
  animation: live-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.live-dot::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--err);
  opacity: 0.4;
  animation: live-pulse-out 1.4s ease-out infinite;
}
@keyframes live-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes live-pulse-out {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Grid */
.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

/* Karte */
.live-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 20px;
  background: linear-gradient(160deg, var(--bg-elev-1) 0%, var(--bg-elev-2) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  isolation: isolate;
}
.live-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 65%);
  opacity: 0.5;
  z-index: -1;
  transition: opacity .3s;
}
.live-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--accent-soft);
}
.live-card:hover::before { opacity: 1; }

/* Status-Varianten */
.live-card--urgent { border-color: var(--err); }
.live-card--urgent::before { background: radial-gradient(circle at 100% 0%, rgba(255,77,109,0.2), transparent 65%); opacity: 0.7; }
.live-card--urgent .live-status-pulse { background: var(--err); }
.live-card--urgent .live-status-pulse::before { background: var(--err); }
.live-card--urgent .live-status-text { color: var(--err); }

.live-card--warm { border-color: var(--warn); }
.live-card--warm::before { background: radial-gradient(circle at 100% 0%, rgba(255,184,77,0.18), transparent 65%); opacity: 0.7; }
.live-card--warm .live-status-pulse { background: var(--warn); }
.live-card--warm .live-status-pulse::before { background: var(--warn); }
.live-card--warm .live-status-text { color: var(--warn); }

.live-card--fresh .live-status-text { color: var(--ok); }
.live-card--fresh .live-status-pulse { background: var(--ok); }
.live-card--fresh .live-status-pulse::before { background: var(--ok); }

/* Top row */
.live-card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.live-card-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-width: 0;
  flex: 1;
}
.live-status-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-status-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}
.live-status-pulse::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: live-pulse-out 1.6s ease-out infinite;
}
.live-status-text { color: var(--accent); }

.live-card-code {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  padding: 4px 8px;
  background: var(--bg-elev-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Package row */
.live-card-pkg {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.live-card-devices {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 50px;
  line-height: 0.85;
  color: var(--accent);
  display: flex;
  align-items: baseline;
  letter-spacing: -0.04em;
}
.live-card-x {
  font-size: 24px;
  color: var(--text-mute);
  margin-left: 2px;
  font-weight: 600;
}
.live-card-meta {
  flex: 1;
  min-width: 0;
}
.live-card-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.live-card-duration {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.live-card-duration small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Slot-Visualizer */
.live-card-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.live-slot {
  flex: 1;
  min-width: 0;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  position: relative;
  animation: slot-fade-in .4s ease backwards;
  animation-delay: calc(var(--slot-i, 0) * 0.06s);
}
@keyframes slot-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.live-slot--taken {
  background: linear-gradient(135deg, var(--bg-elev-3), var(--bg-elev-2));
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.live-slot--taken::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.live-slot--empty {
  background: transparent;
  border: 1.5px dashed var(--line-strong);
  color: var(--text-dim);
  transition: all .25s;
}
.live-card:hover .live-slot--empty {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.live-slot-mask {
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 4px;
}
.live-slot-plus {
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

/* Progress */
.live-card-progress {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.live-progress-bar {
  flex: 1;
  height: 5px;
  background: var(--bg-elev-3);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.live-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-pill);
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.live-card--urgent .live-progress-fill {
  background: linear-gradient(90deg, var(--warn), var(--err));
}
.live-progress-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.live-count-filled { color: var(--accent); font-size: 14px; }
.live-count-sep { color: var(--text-dim); margin: 0 2px; }
.live-count-total { color: var(--text-mute); }

/* CTA */
.live-card-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  transition: color .25s;
}
.live-cta-arrow {
  font-size: 18px;
  color: var(--accent);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: inline-block;
}
.live-card:hover .live-card-cta { color: var(--text); }
.live-card:hover .live-cta-arrow { transform: translateX(6px); }

/* Empty state */
.live-empty {
  text-align: center;
  padding: 50px 24px;
  background: linear-gradient(180deg, var(--bg-elev-1), transparent);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.live-empty-icon {
  display: inline-flex;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.7;
}
.live-empty h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  max-width: 480px;
  margin: 0 auto;
  color: var(--text-mute);
  letter-spacing: -0.01em;
}

/* =====================================================
   HOW IT WORKS — icon focused
   ===================================================== */
.how-section { padding: 60px 0; }

.anon-focus-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 14px;
  background: rgba(110,217,155,0.08);
  border: 1px solid rgba(110,217,155,0.3);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ok);
  font-weight: 500;
}

.how-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.how-step-i {
  position: relative;
  padding: 22px 18px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: all .25s;
}
.how-step-i:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.how-step-icon-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  border-radius: var(--radius-md);
  color: var(--accent);
  margin-bottom: 14px;
}
.how-step-icon-wrap svg {
  width: 28px;
  height: 28px;
}
.how-step-num {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  border: 2px solid var(--bg-base);
}
.how-step-i h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.how-step-i p {
  font-size: 12px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Telegram note */
.telegram-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(34, 158, 217, 0.07);
  border: 1px solid rgba(34, 158, 217, 0.28);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
  text-decoration: none;
  transition: all .2s ease;
}
a.telegram-note:hover {
  background: rgba(34, 158, 217, 0.14);
  border-color: rgba(34, 158, 217, 0.55);
  color: var(--text);
}
.telegram-note strong {
  color: #2AABEE;
  font-weight: 600;
  font-family: var(--font-mono);
  white-space: nowrap;
}
.telegram-note svg {
  color: #2AABEE;
  flex-shrink: 0;
}

/* Compact referral block */
.referral-block--compact {
  padding: 36px;
  gap: 32px;
}
.referral-block--compact h2 {
  font-size: clamp(24px, 3vw, 32px);
}
.referral-block--compact .referral-tier {
  padding: 10px 14px;
}
.referral-block--compact .tier-points {
  width: 36px; height: 36px;
  font-size: 14px;
}

/* =====================================================
   RESPONSIVE — Mobile-first
   ===================================================== */
@media (max-width: 1000px) {
  .hero-compact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-mini-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .mini-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-bottom: 0;
    border-right: 1px dashed var(--line);
    padding: 8px 14px;
  }
  .mini-stat:last-child { border-right: 0; }

  .how-icon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .hero--compact { padding: 32px 0 24px; }
  .hero--compact h1 { font-size: 30px; }
  .hero--compact p.lead { font-size: 14px; margin-bottom: 16px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn-lg { padding: 13px 20px; font-size: 14px; flex: 1; }

  .trust-pills { gap: 6px; margin-bottom: 18px; }
  .trust-pill-i { padding: 6px 10px; font-size: 11px; }

  .hero-mini-stats { padding: 12px; gap: 4px; }
  .mini-stat { padding: 6px 8px; }
  .mini-stat-num { font-size: 22px; }
  .mini-stat-label { font-size: 10px; }

  .section { padding: 40px 0; }
  .section--narrow { padding: 32px 0; }
  .section-head--compact { margin-bottom: 18px; }
  .section-head--compact h2 { font-size: 24px; }

  .live-tabs { gap: 4px; padding: 4px; }
  .live-tab { padding: 9px 8px; gap: 6px; }
  .live-tab-num { font-size: 22px; min-width: 24px; }
  .live-tab-label { font-size: 10px; }
  .live-tab-price { font-size: 11px; }
  .live-tab-count { font-size: 10px; padding: 2px 5px; min-width: 18px; }

  .live-grid { grid-template-columns: 1fr; gap: 12px; }
  .live-card { padding: 16px; }
  .live-card-devices { font-size: 40px; }
  .live-card-x { font-size: 20px; }
  .live-card-name { font-size: 13px; }
  .live-card-slots { gap: 4px; }
  .live-slot { height: 30px; font-size: 10px; }

  .how-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .how-step-i { padding: 16px 14px; }
  .how-step-icon-wrap { width: 40px; height: 40px; margin-bottom: 10px; }
  .how-step-icon-wrap svg { width: 22px; height: 22px; }
  .how-step-i h3 { font-size: 13px; }
  .how-step-i p { font-size: 11px; }

  .anon-focus-line { font-size: 11px; padding: 7px 10px; }
  .telegram-note { font-size: 12px; padding: 11px 14px; }

  .referral-block--compact {
    padding: 24px;
    gap: 20px;
  }
}

/* =====================================================
   FORMS
   ===================================================== */
.auth-shell {
  max-width: 460px;
  margin: 60px auto;
  padding: 48px 40px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.auth-shell h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.auth-shell .subtitle {
  color: var(--text-mute);
  margin-bottom: 32px;
  font-size: 15px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 15px;
  transition: all .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
}
.field-error {
  font-size: 13px;
  color: var(--err);
  margin-top: 6px;
}

.errors {
  background: rgba(255,77,109,0.08);
  border: 1px solid var(--err);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #ffb3c1;
}
.errors ul { padding-left: 18px; }

.auth-alt {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-mute);
}
.auth-alt a { color: var(--accent); font-weight: 600; }

/* =====================================================
   DASHBOARD
   ===================================================== */
.dash-hero {
  padding: 56px 0 32px;
}
.dash-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.dash-hero .username-mask {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
}
.dash-hero .username-mask code {
  background: var(--bg-elev-2);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.dash-stat {
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.dash-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
}
.dash-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.dash-stat-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
}
.dash-stat--accent .dash-stat-val { color: var(--accent); }

/* =====================================================
   ACTIVE PACKAGES — Kompakte Listen-Ansicht
   Alle Pakete auf einen Blick, eine Zeile pro Paket
   ===================================================== */
.active-packages-section {
  margin-bottom: 32px;
}
.active-packages-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.active-pkg-count {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
}

/* =====================================================
   OPEN OFFERS SECTION (Dashboard) — Alle offenen Gruppen
   ===================================================== */
.open-offers-section {
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(160deg,
    rgba(212,175,55, 0.04) 0%,
    rgba(212,175,55, 0.02) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.open-offers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}
.open-offers-section > * { position: relative; z-index: 1; }

.open-offers-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.open-offers-head .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.open-offers-empty {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-elev-1);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}
.open-offers-empty-icon {
  display: inline-flex;
  color: var(--ok, #6ed99b);
  opacity: 0.7;
}

/* Duration-Badge oben rechts auf den Cards (statt group_code) */
.live-card-duration-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(212,175,55, 0.15);
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .live-card-duration-badge {
    font-size: 11px;
    padding: 5px 10px;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 720px) {
  .open-offers-section { padding: 18px; }
  .open-offers-head { flex-direction: column; align-items: flex-start; }
}

/* =====================================================
   PACKAGES PAGE — Section-Heads + Divider + Filter
   ===================================================== */
.duration-filter {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
  padding: 6px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  width: fit-content;
}
.duration-filter .btn {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 8px 16px;
}
.duration-filter .btn-ghost {
  background: transparent;
  color: var(--text-mute);
}
.duration-filter .btn-ghost:hover {
  background: var(--bg-elev-2);
  color: var(--text);
}
.duration-filter .btn-primary {
  background: var(--accent);
  color: var(--bg-base);
  border-color: var(--accent);
}

.pkg-section-head {
  margin-bottom: 24px;
  max-width: 700px;
}
.pkg-section-head .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pkg-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 6px 0 6px;
  color: var(--text);
}

/* Divider zwischen Live und Pakete */
.pkg-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 30px 0 10px;
}
.pkg-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.pkg-divider-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 6px 14px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .pkg-divider { margin: 20px 0 0; }
  .pkg-divider-text { font-size: 10px; padding: 5px 10px; letter-spacing: 0.12em; }
}

/* === LISTE === */
.active-pkg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* === EINZELNE ZEILE === */
.active-pkg-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: linear-gradient(90deg, var(--bg-elev-1) 0%, var(--bg-elev-2) 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  transition: all .2s cubic-bezier(.4,0,.2,1);
}
.active-pkg-row:hover {
  border-color: var(--accent);
  border-left-color: var(--accent);
  background: linear-gradient(90deg, var(--bg-elev-2) 0%, var(--bg-elev-3) 100%);
  transform: translateX(2px);
}

/* Status-Varianten — nur die linke Border ändert sich */
.pkg-status--ok { border-left-color: var(--ok, #6ed99b); }
.pkg-status--soon { border-left-color: var(--accent); }
.pkg-status--warn {
  border-left-color: var(--warn);
  border-color: rgba(255, 184, 77, 0.3);
}
.pkg-status--expired {
  border-left-color: var(--err);
  border-color: rgba(255, 77, 109, 0.3);
}
.pkg-status--awaiting {
  border-left-color: var(--accent-2);
  border-color: rgba(212,175,55, 0.25);
}
.pkg-status--pending { border-left-color: var(--text-mute); }
.pkg-status--filling { border-left-color: var(--accent); }

/* === SPALTE 1: Geräte-Icon === */
.apr-icon {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
  min-width: 48px;
}
.apr-icon-x {
  font-size: 18px;
  color: var(--text-mute);
  font-weight: 600;
  margin-left: 1px;
}

/* === SPALTE 2: Hauptinfo === */
.apr-main {
  min-width: 0;
}
.apr-line-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.apr-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.apr-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.apr-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.pkg-status--ok .apr-status {
  background: rgba(110,217,155, 0.10);
  border-color: rgba(110,217,155, 0.4);
  color: var(--ok, #6ed99b);
}
.pkg-status--ok .apr-status-dot {
  background: var(--ok, #6ed99b);
  box-shadow: 0 0 4px rgba(110,217,155, 0.6);
}
.pkg-status--soon .apr-status {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.pkg-status--warn .apr-status {
  background: rgba(255, 184, 77, 0.15);
  border-color: var(--warn);
  color: var(--warn);
}
.pkg-status--warn .apr-status-dot {
  background: var(--warn);
  animation: apr-pulse 1.4s ease-in-out infinite;
}
.pkg-status--expired .apr-status {
  background: rgba(255, 77, 109, 0.15);
  border-color: var(--err);
  color: var(--err);
}
.pkg-status--expired .apr-status-dot {
  background: var(--err);
  animation: apr-pulse 1s ease-in-out infinite;
}
.pkg-status--awaiting .apr-status {
  background: rgba(212,175,55, 0.12);
  border-color: var(--accent-2);
  color: var(--accent-2);
}
.pkg-status--awaiting .apr-status-dot { background: var(--accent-2); }
.pkg-status--pending .apr-status {
  color: var(--text-mute);
}
.pkg-status--pending .apr-status-dot { background: var(--text-mute); }
.pkg-status--filling .apr-status {
  color: var(--accent);
}
@keyframes apr-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* Mini-Progress in Zeile 2 */
.apr-progress {
  height: 3px;
  background: var(--bg-base);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 5px;
}
.apr-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-pill);
}
.pkg-status--warn .apr-progress-fill,
.pkg-status--expired .apr-progress-fill {
  background: linear-gradient(90deg, var(--warn), var(--err));
}
.pkg-status--ok .apr-progress-fill {
  background: linear-gradient(90deg, var(--ok, #6ed99b), var(--accent));
}

.apr-line-2 {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--text-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.apr-sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === SPALTE 3: Credentials === */
.apr-creds {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-width: 0;
}
.apr-creds--placeholder {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  border-style: dashed;
}
.apr-cred {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  min-width: 0;
}
.apr-cred-key {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.apr-cred-val {
  font-weight: 600;
  color: var(--text);
  user-select: all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === SPALTE 4: Aktionen als Icon-Buttons === */
.apr-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.apr-act-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-mute);
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  font-size: 12px;
  font-weight: 600;
}
.apr-act-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.apr-act-btn--primary {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.apr-act-btn--primary:hover {
  background: var(--accent);
  color: var(--bg-base);
}
.apr-act-btn--wide {
  width: auto;
  padding: 0 14px;
  white-space: nowrap;
}
.apr-act-btn.is-copied {
  background: rgba(110,217,155, 0.15) !important;
  border-color: var(--ok, #6ed99b) !important;
  color: var(--ok, #6ed99b) !important;
}

/* Tablet & Mobile */
@media (max-width: 920px) {
  .active-pkg-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
  }
  /* Credentials werden auf eigene Zeile geschoben */
  .apr-creds {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    padding: 6px 10px;
  }
  .apr-creds--placeholder { display: none; }
  .apr-cred { font-size: 11px; }
}

@media (max-width: 720px) {
  .active-pkg-row {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 12px 14px;
    gap: 12px;
  }
  .apr-icon {
    font-size: 26px;
    min-width: 36px;
  }
  .apr-icon-x { font-size: 14px; }
  .apr-name { font-size: 13px; }
  .apr-status { font-size: 9px; padding: 2px 6px; }

  /* Aktions-Buttons in eigene Zeile */
  .apr-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 6px;
  }
  .apr-act-btn { width: 34px; height: 34px; }
  .apr-act-btn--wide { width: auto; flex: 1; }
}


.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.dash-panel {
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.dash-panel h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

/* Referral link box */
.ref-link-box {
  display: flex; align-items: center; gap: 0;
  background: var(--bg-base);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 4px;
  overflow: hidden;
}
.ref-link-box input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: 0;
}
.ref-link-box button {
  padding: 10px 18px;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  transition: all .2s;
}
.ref-link-box button:hover { transform: scale(1.04); }
.ref-link-box button.copied {
  background: var(--ok);
}

.share-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 14px;
}
.share-btn-tg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: #2AABEE;
  color: white;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
}
.share-btn-tg:hover { background: #1f93cf; }

.share-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255,184,77,0.08);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #ffd9a8;
}

/* Order list */
.order-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.order-item {
  padding: 18px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .2s;
}
.order-item:hover { border-color: var(--accent); }
.order-item-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
}
.order-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.order-item-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}
.badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.badge--awaiting { background: rgba(255,184,77,0.12); color: var(--warn); border: 1px solid var(--warn); }
.badge--submitted { background: rgba(212,175,55,0.12); color: var(--accent); border: 1px solid var(--accent); }
.badge--confirmed { background: rgba(110,217,155,0.12); color: var(--ok); border: 1px solid var(--ok); }
.badge--rejected  { background: rgba(255,77,109,0.12); color: var(--err); border: 1px solid var(--err); }
.badge--open      { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }
.badge--complete  { background: rgba(255,184,77,0.12); color: var(--warn); border: 1px solid var(--warn); }
.badge--active    { background: rgba(110,217,155,0.12); color: var(--ok); border: 1px solid var(--ok); }

.progress-bar {
  height: 6px;
  background: var(--bg-elev-3);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 8px;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-pill);
  transition: width .5s;
}

/* IPTV Credentials box */
.creds-box {
  margin-top: 14px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(245,215,122,0.04));
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
}
.creds-box h4 {
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--accent);
}
.creds-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  border-bottom: 1px dashed var(--line);
}
.creds-row:last-child { border-bottom: 0; }
.creds-row .key { color: var(--text-mute); }
.creds-row .val {
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  word-break: break-all;
}

/* M3U-Box (oben in den Credentials, prominenter) */
.creds-m3u {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: rgba(212,175,55, 0.06);
  border: 1px dashed rgba(212,175,55, 0.35);
  border-radius: var(--radius-md);
}
.creds-m3u-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}
.creds-m3u-url {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text);
  word-break: break-all;
  line-height: 1.5;
  margin-bottom: 8px;
  padding: 8px;
  background: var(--bg-base);
  border-radius: 4px;
  user-select: all;
}

/* Mini Copy-Buttons */
.copy-btn--mini {
  padding: 4px 8px !important;
  font-size: 10px !important;
  background: var(--bg-elev-2) !important;
  border: 1px solid var(--line) !important;
  color: var(--text-mute) !important;
  border-radius: 4px;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.copy-btn--mini:hover {
  background: var(--accent-soft) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* Aktions-Buttons unter Credentials */
.creds-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.creds-actions .btn {
  flex: 1;
  min-width: 140px;
}

@media (max-width: 720px) {
  .creds-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .creds-row .val {
    text-align: left;
    font-size: 12px;
  }
  .creds-m3u-url { font-size: 9px; }
  .creds-actions .btn { flex: 1 1 100%; }
}


/* =====================================================
   SHARE-IMAGE GENERATOR (SVG-basiert)
   ===================================================== */
.share-image-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
}
.share-image-header {
  margin-bottom: 18px;
}
.share-image-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 6px 0 4px;
}

/* Format-Tabs (Post / Story) */
.share-format-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.share-fmt-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-mute);
  font-family: var(--font-body);
  transition: all .2s;
}
.share-fmt-tab:hover {
  color: var(--text);
  background: var(--bg-elev-2);
}
.share-fmt-tab.is-active {
  background: var(--bg-elev-3);
  border-color: var(--accent);
  color: var(--text);
}
.fmt-icon {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 2px;
}
.fmt-label {
  font-weight: 600;
  font-size: 14px;
}
.fmt-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}

/* SVG Preview Container */
.share-card-wrap {
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  min-height: 200px;
}
.share-card-container {
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: center;
}
.share-card-container[data-format="story"] {
  max-width: 280px;
}
.share-card-container svg {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  display: block;
}

/* Action buttons */
.share-image-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.share-image-actions .btn {
  width: 100%;
}

/* Help expand */
.share-help {
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 13px;
}
.share-help summary {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-mute);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.share-help summary::before {
  content: '?';
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}
.share-help[open] summary { color: var(--text); }
.share-help summary::-webkit-details-marker { display: none; }
.share-help ol {
  padding: 0 16px 16px 36px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.share-help li {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.5;
}
.share-help li b { color: var(--text); }

@media (max-width: 720px) {
  .share-card-wrap { padding: 10px; }
  .share-card-container { max-width: 300px; }
  .share-card-container[data-format="story"] { max-width: 240px; }
  .fmt-icon { font-size: 22px; }
  .fmt-label { font-size: 13px; }
  .fmt-sub { font-size: 9px; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  margin-top: 100px;
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--bg-elev-1));
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col--brand .brand { margin-bottom: 16px; }
.footer-tagline { color: var(--text-mute); font-size: 14px; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-mute); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap; gap: 16px;
}
.trust-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-pill {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-mute);
}

/* =====================================================
   FLASH
   ===================================================== */
.flash-stack {
  position: fixed; top: 90px; right: 24px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 360px;
}
.flash {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-elev-2);
  border: 1px solid var(--line-strong);
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: flash-in .3s ease;
}
@keyframes flash-in { from { transform: translateX(20px); opacity: 0; } }
.flash--success { border-color: var(--ok); color: var(--ok); }
.flash--error   { border-color: var(--err); color: #ffb3c1; }
.flash--info    { border-color: var(--accent); color: var(--accent); }

/* =====================================================
   PAYMENT METHOD CARD — Tabs für Paysafe / Revolut / Bank
   ===================================================== */
.pay-method-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.pay-method-card > h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.pay-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}
.pay-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
  color: var(--text-mute);
}
.pay-tab:hover {
  background: var(--bg-elev-2);
  color: var(--text);
}
.pay-tab.is-active {
  background: var(--bg-elev-3);
  border-color: var(--accent);
  color: var(--text);
}
.pay-tab-icon {
  color: var(--accent);
  display: flex;
}
.pay-tab.is-active .pay-tab-icon {
  filter: drop-shadow(0 0 6px var(--accent-glow));
}
.pay-tab-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
}
.pay-tab-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  line-height: 1.3;
  text-align: center;
  word-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}
.pay-tab.is-active .pay-tab-badge {
  color: var(--accent);
}

.pay-panel { display: none; animation: panel-fade .25s ease; }
.pay-panel.is-active { display: block; }

.pay-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.pay-panel-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  color: var(--accent);
  flex-shrink: 0;
}
.pay-panel-header h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.pay-panel-header p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
}

.pay-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
}
.pay-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14px;
}
.pay-step-num {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}
.pay-step-text { flex: 1; color: var(--text); }
.pay-step-text b { color: var(--accent); }

.paysafe-input {
  font-family: var(--font-mono) !important;
  font-size: 18px !important;
  letter-spacing: 0.1em !important;
  text-align: center;
  padding: 16px !important;
}
.paysafe-input::placeholder {
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* Mehrere Paysafecards: Code + Betrag pro Zeile */
.paysafe-row {
  display: grid;
  grid-template-columns: 1fr 150px auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}
.paysafe-row .field { margin-bottom: 0; }
.paysafe-row .ps-amount {
  font-size: 16px !important;
  letter-spacing: normal !important;
  text-align: right;
}
.ps-remove {
  height: 48px;
  width: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255,93,109,0.06);
  color: var(--err);
  font-size: 16px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.ps-remove:hover { background: rgba(255,93,109,0.16); border-color: var(--err); }

.ps-total-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 4px;
  padding: 10px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.ps-total-row #ps-total { font-size: 18px; font-family: var(--font-display); }

/* Eingereichte Karten (Submitted-Ansicht) */
.ps-submitted {
  margin-top: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.ps-submitted-head {
  padding: 10px 14px;
  background: rgba(255,184,77,0.08);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.ps-submitted-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.ps-submitted-row code { font-size: 14px; letter-spacing: 0.08em; color: var(--text); }
.ps-submitted-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-elev-2);
}
@media (max-width: 560px) {
  .paysafe-row { grid-template-columns: 1fr auto; grid-template-areas: 'code remove' 'amount amount'; }
  .paysafe-row .paysafe-code-field { grid-area: code; }
  .paysafe-row .paysafe-amount-field { grid-area: amount; }
  .paysafe-row .ps-remove { grid-area: remove; }
}

/* Bank-Daten-Block */
.bank-data {
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.bank-row:last-child { border-bottom: 0; }
.bank-row--highlight {
  background: var(--accent-soft);
}
.bank-key {
  color: var(--text-mute);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.bank-val {
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bank-val.accent {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 18px;
}

/* Anonymity reassurance */
.anon-reassure {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(110,217,155,0.06), rgba(212,175,55,0.04));
  border: 1px solid rgba(110,217,155,0.25);
  border-radius: var(--radius-lg);
}
.anon-reassure svg {
  color: var(--ok);
  flex-shrink: 0;
  margin-top: 2px;
}
.anon-reassure strong {
  display: block;
  color: var(--ok);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}
.anon-reassure p {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .pay-method-card { padding: 18px; }
  .pay-tab { padding: 10px 6px; }
  .pay-tab-icon svg { width: 20px; height: 20px; }
  .pay-tab-label { font-size: 12px; }
  .pay-tab-badge { font-size: 8px; }
  .pay-panel-header { flex-direction: row; gap: 12px; }
  .pay-panel-icon { width: 40px; height: 40px; }
  .pay-panel-icon svg { width: 24px; height: 24px; }
  .pay-panel-header h4 { font-size: 16px; }
  .pay-panel-header p { font-size: 12px; }
  .pay-steps li { font-size: 13px; padding: 10px 12px; }
  .bank-row { padding: 10px 12px; font-size: 13px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .bank-row--highlight { padding: 12px; }
  .paysafe-input { font-size: 16px !important; padding: 14px !important; }
}

/* =====================================================
   PAYMENT INSTRUCTIONS
   ===================================================== */
.payment-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.payment-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 16px;
}
.payment-rows { display: flex; flex-direction: column; gap: 0; }
.payment-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 14px;
}
.payment-row:last-child { border-bottom: 0; }
.payment-row .key { color: var(--text-mute); }
.payment-row .val { color: var(--text); font-weight: 600; }
.payment-row .copy-btn {
  margin-left: 12px;
  padding: 4px 10px;
  font-size: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  font-family: var(--font-mono);
}
.payment-row .copy-btn:hover { background: var(--accent); color: var(--bg-base); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1000px) {
  .hero-grid, .dash-grid, .referral-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { max-width: 100%; aspect-ratio: 16/12; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .referral-block { padding: 32px; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .header-inner { height: 64px; gap: 12px; }
  .site-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile Sprachwechsel sichtbar machen */
  .lang-switch--mobile { display: flex; }

  /* === Mobile-Menü: site-nav ist die Top-Section, header-actions die Bottom-Section === */
  body.nav-open .site-nav {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg-elev-1);
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line);
    padding: 18px;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    z-index: 99;
    animation: slideDown .25s ease;
  }
  body.nav-open .site-nav a {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-elev-2);
    border: 1px solid var(--line);
    font-size: 15px;
    font-weight: 600;
    width: 100%;
  }
  body.nav-open .site-nav a:hover,
  body.nav-open .site-nav a:active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
  }

  /* Header-Actions als zweites fixed Panel am unteren Rand */
  body.nav-open .header-actions {
    display: flex;
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    background: var(--bg-elev-1);
    border-top: 1px solid var(--line-strong);
    padding: 18px;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
    animation: slideUp .25s ease;
  }
  body.nav-open .header-actions .btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    display: inline-flex;
  }
  body.nav-open .header-actions .lang-switch {
    width: 100%;
    justify-content: center;
    margin-bottom: 4px;
    padding: 8px;
    background: var(--bg-elev-2);
    border-radius: var(--radius-md);
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Dropdown im Mobile inline ausklappen */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg-elev-2);
    box-shadow: none;
    padding: 6px;
  }
  .nav-dropdown-trigger svg { display: none; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-item {
    background: var(--bg-base) !important;
    margin-bottom: 4px;
  }

  .hero { padding: 60px 0 50px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .auth-shell { padding: 32px 24px; margin: 30px 16px; }
}

/* Util */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; gap: 12px; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 16px; }
.muted { color: var(--text-mute); }
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }

/* =====================================================
   TEST CTA BANNER (Dashboard)
   ===================================================== */
.test-cta-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(212,175,55,0.10) 0%, rgba(212,175,55,0.08) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.test-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
  pointer-events: none;
}
.test-cta-icon {
  font-size: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(212,175,55,0.40));
}
.test-cta-content {
  flex: 1;
  min-width: 0;
}
.test-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.test-cta-sub {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
}
.test-cta-banner form { margin: 0; flex-shrink: 0; }

@media (max-width: 720px) {
  .test-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 18px;
    gap: 12px;
  }
  .test-cta-banner form { width: 100%; }
  .test-cta-banner .btn { width: 100%; }
  .test-cta-icon { font-size: 36px; }
  .test-cta-title { font-size: 16px; }
}

/* =====================================================
   TEST CTA — Startseite (zwischen Hero und Live)
   ===================================================== */
.test-hero-section {
  padding: 28px 0 12px;
}
.test-hero-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background:
    radial-gradient(circle at 0% 50%, rgba(212,175,55,0.12), transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(212,175,55,0.10), transparent 50%),
    var(--bg-elev-1);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(212,175,55, 0.08);
}
.test-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 50%, var(--accent-2, #F5D77A) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.test-hero-icon {
  font-size: 56px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(212,175,55,0.45));
  animation: test-icon-bob 3s ease-in-out infinite;
}
@keyframes test-icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.test-hero-content {
  min-width: 0;
}
.test-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.test-hero-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.2;
}
.test-hero-content p {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
  margin: 0;
}
.test-hero-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.test-hero-action form { margin: 0; }
.test-hero-note {
  font-size: 11px;
  color: var(--text-mute);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .test-hero-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
    gap: 14px;
  }
  .test-hero-icon { font-size: 48px; }
  .test-hero-content h2 { font-size: 20px; }
  .test-hero-content p { font-size: 13px; }
  .test-hero-action .btn { width: 100%; }
}
@media (max-width: 720px) {
  .test-hero-section { padding: 20px 0 8px; }
  .test-hero-banner { padding: 20px 16px; }
  .test-hero-content h2 { font-size: 18px; }
  .test-hero-content p { font-size: 12.5px; }
}

/* =====================================================
   INSTANT-BUY SECTION — Einzelgerät / Sofortkauf
   ===================================================== */
.instant-section {
  padding: 24px 0 8px;
}
.instant-banner {
  position: relative;
  padding: 32px 36px 36px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,184,77,0.10), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(212,175,55,0.08), transparent 55%),
    var(--bg-elev-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.instant-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--warn) 0%, transparent 45%, var(--accent-2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
}
.instant-banner-head {
  position: relative;
  margin-bottom: 22px;
  max-width: 720px;
}
.instant-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 8px;
}
.instant-banner-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 8px;
}
.instant-sub {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 1.5;
  margin: 0;
}
.instant-paysafe-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(212,175,55, 0.06);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text);
}
.instant-paysafe-note svg {
  color: var(--accent);
  flex-shrink: 0;
}

.instant-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.instant-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 18px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  color: inherit;
}
.instant-card:hover {
  transform: translateY(-3px);
  border-color: var(--warn);
  box-shadow: 0 8px 24px rgba(255, 184, 77, 0.12);
}
.instant-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.instant-card-flash {
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 184, 77, 0.6));
}
.instant-card-duration {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-pill);
}
.instant-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  line-height: 1.3;
}
.instant-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  color: var(--text);
  margin-top: 4px;
}
.instant-card-price .currency {
  font-size: 22px;
  color: var(--text-mute);
  margin-right: 2px;
}
.instant-card-price-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.instant-card-perks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.instant-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-mute);
}
.instant-perk svg {
  color: var(--ok);
  flex-shrink: 0;
}
.instant-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--warn);
  color: #1a1404;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.instant-card:hover .instant-card-cta {
  background: #ffc966;
}
.instant-cta-arrow {
  font-weight: 700;
}

@media (max-width: 720px) {
  .instant-section { padding: 18px 0 6px; }
  .instant-banner { padding: 22px 18px 24px; }
  .instant-banner-head h2 { font-size: 22px; }
  .instant-sub { font-size: 13.5px; }
  .instant-paysafe-note { font-size: 12px; padding: 8px 12px; }
  .instant-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
  .instant-card { padding: 16px 14px 14px; }
  .instant-card-price { font-size: 30px; }
}

/* =====================================================
   PROMO-CODE Eingabefeld (order.php)
   ===================================================== */
.promo-card {
  margin: 14px 0 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-md);
}
.promo-form { margin: 0; }
.promo-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.promo-input-row { display: flex; gap: 8px; }
.promo-input {
  flex: 1;
  padding: 12px 14px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
}
.promo-input:focus { border-color: var(--accent); }
.promo-input-row .btn { flex-shrink: 0; padding-left: 18px; padding-right: 18px; }
.promo-error {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(255, 93, 109, 0.08);
  border: 1px solid var(--err);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--err);
}
.promo-success {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(110, 217, 155, 0.08);
  border: 1px solid var(--ok);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ok);
}
@media (max-width: 480px) {
  .promo-input-row { flex-direction: column; }
  .promo-input-row .btn { width: 100%; }
}

/* =====================================================
   STARTER SECTION — Eigene 3er-Gruppe starten
   ===================================================== */
.starter-section {
  padding: 36px 0 24px;
}
.starter-section .section-head {
  margin-bottom: 20px;
}
.starter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.starter-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 20px;
  background: var(--bg-elev-1);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: inherit;
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.starter-card:hover {
  transform: translateY(-3px);
  border-style: solid;
  border-color: var(--accent);
  background: var(--bg-elev-2);
  box-shadow: 0 8px 24px rgba(212,175,55, 0.10);
}
.starter-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.starter-card-devices {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 0.9;
  color: var(--accent);
}
.starter-card-x {
  font-size: 26px;
  color: var(--text-mute);
  margin-left: 2px;
}
.starter-card-devices small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}
.starter-card-duration {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-pill);
  align-self: flex-start;
}
.starter-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  line-height: 1.3;
}
.starter-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.starter-card-price .currency {
  font-size: 18px;
  color: var(--text-mute);
}
.starter-card-price small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.starter-card-slots {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.starter-slot {
  flex: 1;
  aspect-ratio: 1;
  max-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}
.starter-slot--you {
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.starter-slot--empty {
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--line);
  color: var(--text-dim);
}
.starter-slots-note {
  font-size: 11.5px;
  color: var(--text-mute);
  line-height: 1.4;
}
.starter-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 11px 14px;
  background: var(--accent);
  color: #04181c;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.starter-card:hover .starter-card-cta {
  background: #4af0ff;
}

@media (max-width: 720px) {
  .starter-section { padding: 26px 0 16px; }
  .starter-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
  .starter-card { padding: 18px 16px 16px; }
  .starter-card-devices { font-size: 36px; }
  .starter-card-price { font-size: 26px; }
}

/* =====================================================
   HERO EXPLAINER — 3 Schritte was ist Gruppen-IPTV
   ===================================================== */
.hero-explainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 24px;
  padding: 18px 18px 18px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.hero-explainer-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hero-explainer-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}
.hero-explainer-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hero-explainer-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.hero-explainer-text span {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .hero-explainer {
    padding: 14px;
    gap: 10px;
    margin: 16px 0 18px;
  }
  .hero-explainer-num {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .hero-explainer-text strong { font-size: 13px; }
  .hero-explainer-text span { font-size: 12.5px; }
}

/* =====================================================
   RESELLER-BEREICH — Komponenten
   ===================================================== */
.reseller-credits-pill{
  display:inline-flex; align-items:center; gap:6px;
  padding:7px 15px; border-radius:var(--radius-pill);
  background:var(--accent-soft); border:1px solid var(--accent);
  color:var(--accent); font-weight:700; font-family:var(--font-mono); font-size:13px;
  white-space:nowrap; transition:background .15s;
}
.reseller-credits-pill:hover{ background:rgba(212,175,55,0.18); }
.reseller-badge{
  font-family:var(--font-mono); font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--accent);
}
.rs-grid{ display:grid; gap:16px; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); }
.rs-card{
  background:var(--bg-elev-1); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:20px; display:flex; flex-direction:column; gap:8px;
}
.rs-card h3{ font-family:var(--font-display); font-size:1.05rem; }
.rs-cost{ font-family:var(--font-display); font-weight:800; font-size:30px; color:var(--accent); line-height:1.05; }
.rs-cost small{ font-size:13px; color:var(--text-mute); font-weight:500; }
.rs-meta{ font-size:13px; color:var(--text-mute); }
.rs-table{ width:100%; border-collapse:collapse; font-size:14px; }
.rs-table th, .rs-table td{ padding:10px 12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.rs-table th{ color:var(--text-mute); font-size:12px; text-transform:uppercase; letter-spacing:.06em; }

/* =====================================================
   RESELLER-HEADER — Mobile (kein Hamburger, sauberes 2-Zeilen-Layout)
   Zeile 1: Logo (schrumpfbar) + Credits/Abmelden · Zeile 2: Nav als Pills
   ===================================================== */
@media (max-width: 1000px) {
  .reseller-header .header-inner{
    flex-wrap:wrap; min-height:0; padding:10px 0; gap:8px 12px; align-items:center;
  }
  .reseller-header .site-nav{ display:flex !important; margin-left:0 !important; gap:14px; }
  .reseller-header .header-actions{ display:flex !important; margin-left:auto !important; gap:10px; align-items:center; }
  .reseller-header .nav-toggle{ display:none !important; }
  .reseller-header .brand-logo-img{ --logo-h:46px; }
}
@media (max-width: 640px) {
  /* Brand darf schrumpfen, damit Logo + Credits + Abmelden in EINE Zeile passen */
  .reseller-header .brand{ order:1; flex:1 1 auto; min-width:0; gap:8px; }
  .reseller-header .brand svg{ width:30px; height:30px; }
  .reseller-header .brand-line-1{ font-size:9px; letter-spacing:0.14em; }
  .reseller-header .brand-line-2{ font-size:15px; }
  .reseller-header .brand-logo-img{ --logo-h:36px; }

  .reseller-header .header-actions{ order:2; flex:0 0 auto; margin-left:auto !important; gap:8px; }
  .reseller-header .header-actions .reseller-name-hide{ display:none; }
  .reseller-header .reseller-credits-pill{ padding:6px 11px; font-size:12px; white-space:nowrap; }
  .reseller-header .btn-sm{ padding:7px 11px; font-size:12px; white-space:nowrap; }

  /* Nav als volle zweite Zeile */
  .reseller-header .site-nav{
    order:3; flex:0 0 100%; width:100%; justify-content:center; gap:8px;
    border-top:1px solid var(--line); padding-top:10px; margin-top:2px;
  }
  .reseller-header .site-nav a{
    flex:1 1 0; text-align:center; max-width:220px;
    font-size:13px; padding:9px 14px; border-radius:var(--radius-pill);
    background:var(--bg-elev-2); border:1px solid var(--line);
  }
  .reseller-header .site-nav a::after{ display:none; }   /* Unterstrich-Hover aus */
  .reseller-header .site-nav a:hover{ border-color:var(--accent); color:var(--accent); }
}

/* =====================================================
   RESELLER-SEITEN — Mobile-Feinschliff
   ===================================================== */
@media (max-width: 640px) {
  .rs-grid{ grid-template-columns:1fr; gap:12px; }
  .rs-card{ padding:16px; border-radius:var(--radius-md); }
  .rs-cost{ font-size:26px; }
  /* Tabellen (Bestellungen) horizontal scrollbar statt zerquetscht */
  .rs-card > .rs-table,
  .rs-card table.rs-table{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; white-space:nowrap; }
  .rs-table th, .rs-table td{ padding:9px 10px; }
  /* Formulare im Reseller-Bereich: volle Breite, gut tippbar */
  .reseller-credits-pill{ font-size:12px; }
}

/* =====================================================
   ALLGEMEINER MOBILE-FEINSCHLIFF (UltraPrimeTV)
   ===================================================== */
@media (max-width: 640px) {
  .container{ padding:0 16px; }
  /* Buttons fingerfreundlich */
  .btn{ min-height:44px; }
  .btn-sm{ min-height:38px; }
  /* Inputs: 16px verhindert iOS-Zoom beim Fokus */
  input, select, textarea{ font-size:16px; }
  /* Karten-/Panel-Abstände etwas kompakter */
  .payment-card, .pay-method-card{ padding:16px; }
  /* Form-Rows untereinander statt gequetscht */
  .form-row{ grid-template-columns:1fr !important; }
}
@media (max-width: 400px) {
  .reseller-header .brand svg{ width:26px; height:26px; }
  .reseller-header .brand-line-1{ display:none; }   /* "ULTRA PRIME" ausblenden, Platz sparen */
  .reseller-header .brand-line-2{ font-size:14px; }
  .reseller-header .reseller-credits-pill{ padding:5px 9px; font-size:11px; }
  .reseller-header .btn-sm{ padding:6px 9px; font-size:11px; }
  .reseller-header .site-nav{ gap:6px; }
  .reseller-header .site-nav a{ padding:8px 10px; font-size:12px; }
  .rs-cost{ font-size:24px; }
}

/* =====================================================
   DASHBOARD — Mobile-Feinschliff (weniger Padding, kompakte Stats,
   kleinere Section-Überschriften)
   ===================================================== */
@media (max-width: 720px) {
  /* Hero kompakter */
  .dash-hero{ padding:28px 0 14px; }
  .dash-hero h1{ font-size:24px; margin-bottom:6px; line-height:1.15; }
  .dash-hero .username-mask{ font-size:12px; }

  /* Stats: 2 Spalten, schlanker */
  .dash-stats{
    grid-template-columns:repeat(2, 1fr);
    gap:10px;
    margin-bottom:22px;
  }
  .dash-stat{ padding:14px 14px 12px; border-radius:12px; }
  .dash-stat::before{ width:3px; }
  .dash-stat-label{ font-size:10px; letter-spacing:0.08em; margin-bottom:4px; }
  .dash-stat-val{ font-size:22px; }

  /* Section-Köpfe kleiner und weniger Abstand */
  .active-packages-section,
  .open-offers-section{ margin-bottom:22px; }
  .section-eyebrow{ font-size:10.5px; letter-spacing:0.1em; }
  .active-packages-section h2,
  .open-offers-section h2{ font-size:18px !important; line-height:1.2; }
  .active-packages-head{ margin-bottom:10px; gap:8px; }
  .active-pkg-count{ min-width:30px; font-size:13px; }

  /* Karten: weniger Innenabstand */
  .order-card,
  .payment-card,
  .creds-box,
  .pay-method-card{ padding:14px 14px; border-radius:12px; }
  .order-card{ gap:8px; }
}
@media (max-width: 420px) {
  .dash-stat-val{ font-size:19px; }
  .dash-stat-label{ font-size:9.5px; }
  .dash-hero h1{ font-size:21px; }
}

/* =====================================================
   DASHBOARD — Quick Access (Zugangsdaten ganz oben, prominent)
   ===================================================== */
.quick-access-section{
  padding: 8px 0 32px;
}
.qa-head-row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:14px;
}
.qa-eyebrow{
  font-family: var(--font-display); font-weight:700;
  font-size: 14px; letter-spacing:0.12em; text-transform:uppercase;
  color: var(--accent);
}
.qa-count-pill{
  background:rgba(212,175,55,0.12); color:var(--accent);
  border:1px solid var(--accent); border-radius:999px;
  padding:4px 12px; font-size:12px; font-weight:600;
}
.qa-cards{
  display:grid; gap:16px;
  grid-template-columns:repeat(auto-fit, minmax(360px, 1fr));
}
.qa-card{
  position:relative; padding:22px 22px 18px;
  background: linear-gradient(155deg, rgba(212,175,55,0.10) 0%, rgba(212,175,55,0.02) 60%, transparent 100%),
              var(--bg-elev-1);
  border:1px solid var(--line-strong);
  border-radius: var(--radius-lg, 14px);
  overflow:hidden;
}
.qa-card::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:4px;
  background: linear-gradient(180deg, var(--accent), #8a6d18);
}
.qa-card--urgent::before{ background: linear-gradient(180deg, var(--err, #ff5a5a), #993333); }
.qa-card--test{ border-color: var(--accent); }
.qa-card-head{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:10px; margin-bottom:14px;
}
.qa-card-title{
  font-family: var(--font-display); font-weight:700;
  font-size: 19px; line-height:1.25; margin:0;
}
.qa-card-order{
  display:block; margin-top:4px;
  font-size:11px; color: var(--text-mute); letter-spacing:0.04em;
}
.qa-time-pill{
  flex-shrink:0;
  background: rgba(255,255,255,0.05);
  border:1px solid var(--line);
  border-radius: 999px;
  padding:5px 12px; font-size:12px; font-weight:600; white-space:nowrap;
}
.qa-time-pill--hot{
  background: rgba(255,90,90,0.12);
  border-color: var(--err, #ff5a5a);
  color: var(--err, #ff5a5a);
}

.qa-creds-grid{
  display:grid; gap:8px;
  grid-template-columns:1fr 1fr;
  margin-bottom:14px;
}
.qa-cred{
  display:grid; grid-template-columns:1fr auto;
  align-items:end; gap:8px;
  padding:10px 12px;
  background: rgba(0,0,0,0.30);
  border:1px solid var(--line);
  border-radius: 10px;
}
.qa-cred--full{ grid-column: 1 / -1; }
.qa-cred-label{
  display:block;
  font-size: 10px; text-transform:uppercase; letter-spacing:0.1em;
  color: var(--text-mute); margin-bottom:3px;
  grid-column:1; grid-row:1;
}
.qa-cred-val{
  display:block; grid-column:1; grid-row:2;
  font-size:15px; font-weight:600; color: var(--text);
  word-break: break-all; line-height:1.3;
}
.qa-copy{
  grid-column:2; grid-row:1 / 3;
  align-self:center;
  background: var(--accent); color:#1a1404; border:0;
  padding: 9px 14px; border-radius:8px;
  font-size:13px; font-weight:700; cursor:pointer;
  transition: transform .15s, background .15s;
  font-family: inherit;
}
.qa-copy:hover{ background:#ffd76b; transform:translateY(-1px); }
.qa-copy:active{ transform:translateY(0); }

.qa-actions{
  display:flex; flex-wrap:wrap; gap:8px; margin-top:4px;
}
.qa-btn-m3u{
  flex:1 1 220px; min-height:46px;
  font-size:14px; font-weight:700;
}
.qa-actions .btn{ min-height:42px; }

/* Mobile: 1 Spalte für Creds, gestapelt */
@media (max-width: 640px){
  .quick-access-section{ padding: 4px 0 22px; }
  .qa-card{ padding:18px 16px 14px; border-radius:12px; }
  .qa-card-title{ font-size:17px; }
  .qa-creds-grid{ grid-template-columns:1fr; }
  .qa-cred{ padding:9px 10px; }
  .qa-cred-val{ font-size:14px; }
  .qa-copy{ padding:8px 11px; font-size:12px; }
  .qa-actions{ gap:6px; }
  .qa-btn-m3u{ flex:1 1 100%; }
  .qa-time-pill{ font-size:11px; padding:4px 10px; }
}
