* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.07);
  --text: #f5f5f5;
  --muted: #cccccc;
  --line: rgba(255, 255, 255, 0.08);
  --red: #ff3333;
  --red-dark: #ba0000;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

body {
  background:
    radial-gradient(circle at top, rgba(255, 0, 0, 0.12), transparent 35%),
    linear-gradient(180deg, #070707 0%, #0a0a0a 45%, #0c0c0c 100%);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open,
body.popup-open {
  overflow: hidden;
}

header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 70px;
  border-bottom: 1px solid rgba(255,0,0,.3);
  transition: all .4s;
  z-index: 1000;
}

header.scrolled {
  background: rgba(0,0,0,.9);
  padding: 5px 20px;
}

header img {
  height: 85px;
  transition: transform .3s;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 20px;
  font-weight: 500;
  letter-spacing: .5px;
  position: relative;
  transition: all .2s;
}

nav a:hover {
  color: #ff3333;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #ff3333;
  transition: .4s;
}

nav a:hover::after {
  width: 100%;
}

/* Navbar CTA (Bewerbung) */
nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  margin-left: 14px;
  background: linear-gradient(90deg, #ff0000, #b80000);
  border: 1px solid rgba(255, 51, 51, 0.35);
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.18);
  letter-spacing: 0.2px;
  color: #fff !important;
}

nav a.nav-cta::after {
  display: none;
}

nav a.nav-cta:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 0, 0, 0.26);
}

nav a.nav-cta i {
  font-size: 1.05rem;
}

/* ===== HEADER BETA BADGE V2 ===== */

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.beta-badge-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 14px 8px 12px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;

  background:
    linear-gradient(135deg, rgba(255, 20, 20, 0.14), rgba(120, 0, 0, 0.18)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 0, 0, 0.18);
  box-shadow:
    0 10px 24px rgba(255, 0, 0, 0.10),
    0 10px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease,
    min-height .22s ease,
    padding .22s ease;
}

.beta-badge-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #ff3333, transparent 72%);
  opacity: 0.9;
}

.beta-badge-header:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.28);
  box-shadow:
    0 14px 28px rgba(255, 0, 0, 0.16),
    0 12px 22px rgba(0, 0, 0, 0.28);
}

.beta-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 34, 34, 0.92), rgba(180, 0, 0, 0.92));
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.18);
}

.beta-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.65);
  flex-shrink: 0;
  animation: betaBadgePulse 1.8s infinite;
}

.beta-badge-live-text {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.beta-badge-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.beta-badge-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
}

.beta-badge-sub {
  color: #ffb8b8;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.beta-badge-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: transform .22s ease, background .22s ease;
}

.beta-badge-header:hover .beta-badge-arrow {
  transform: translateX(2px);
  background: rgba(255,255,255,0.08);
}

@keyframes betaBadgePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.82;
  }
}

/* scrolled kompakter */
header.scrolled .beta-badge-header {
  min-height: 42px;
  padding: 5px 10px 5px 8px;
  gap: 8px;
}

header.scrolled .beta-badge-live {
  padding: 6px 9px;
}

header.scrolled .beta-badge-live-text {
  font-size: 0.66rem;
}

header.scrolled .beta-badge-title {
  font-size: 0.82rem;
}

header.scrolled .beta-badge-sub {
  display: none;
}

header.scrolled .beta-badge-arrow {
  width: 28px;
  height: 28px;
  border-radius: 10px;
}

/* Mobile */
@media (max-width: 900px) {
  .brand-wrap {
    gap: 10px;
    min-width: 0;
  }

  .beta-badge-live {
    padding: 6px 8px;
  }

  .beta-badge-live-text {
    font-size: 0.64rem;
    letter-spacing: 0.07em;
  }

  .beta-badge-title {
    font-size: 0.8rem;
  }

  .beta-badge-sub {
    display: none;
  }

  .beta-badge-arrow {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }
}

@media (max-width: 640px) {
  .beta-badge-header {
    max-width: 160px;
  }

  .beta-badge-copy {
    display: none;
  }

  .beta-badge-header {
    padding-right: 8px;
  }
}

/* Hamburger Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.9rem;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.nav-toggle:hover {
  transform: scale(1.15);
}


.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 170px 24px 90px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.82)),
    url('../IMG/BGR1.png') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 0, 0, 0.18), transparent 24%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05), transparent 28%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  text-align: center;
  animation: fadeUp .8s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #ffd2d2;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1.02;
  margin-bottom: 22px;
  text-shadow: 0 0 26px rgba(255, 0, 0, 0.16);
}

.hero h1 span {
  color: var(--red);
}

.hero p {
  max-width: 860px;
  margin: 0 auto;
  color: #dedede;
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.hero-btn.primary {
  background: linear-gradient(90deg, #ff2a2a, #b80000);
  color: #fff;
  box-shadow: 0 16px 40px rgba(255, 0, 0, 0.22);
}

.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-btn:hover {
  transform: translateY(-4px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 0, 0, 0.12);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-stat strong {
  display: block;
  font-size: 1.9rem;
  color: #fff;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: #d0d0d0;
  font-size: 0.98rem;
}

.rank-disclaimer,
.ranks-section {
  padding: 100px 24px;
}

.disclaimer-card {
  max-width: 1320px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 26px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 0, 0, 0.18);
  box-shadow: var(--shadow);
}

.disclaimer-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.22), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 2.3rem;
  color: #ffd2d2;
}

.disclaimer-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #ffb2b2;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.disclaimer-card h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-bottom: 12px;
}

.disclaimer-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.info-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 22px;
}

.info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.info-box i {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 18px;
  background: rgba(255, 0, 0, 0.12);
  color: #ffc9c9;
  font-size: 1.4rem;
}

.info-box h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.info-box p {
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  max-width: 1000px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 14px;
}

.section-head p {
  color: #cfcfcf;
  line-height: 1.75;
  font-size: 1.05rem;
}

.rank-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.rank-card {
  --accent: #ff3333;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
}

.rank-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
}

.rank-card.visible {
  animation: fadeUp .65s ease forwards;
}

.rank-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.rank-grid .rank-card:nth-child(1) { animation-delay: .06s; }
.rank-grid .rank-card:nth-child(2) { animation-delay: .12s; }
.rank-grid .rank-card:nth-child(3) { animation-delay: .18s; }
.rank-grid .rank-card:nth-child(4) { animation-delay: .24s; }
.rank-grid .rank-card:nth-child(5) { animation-delay: .30s; }

.rank-eisbrecher { --accent: #40d8ff; }
.rank-premium { --accent: #ff9e3d; }
.rank-hero { --accent: #ff4b4b; }
.rank-obsidian { --accent: #9a6bff; }
.rank-ender { --accent: #53ffa2; }

.rank-card-top {
  text-align: center;
}

.rank-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #f4f4f4;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.rank-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 18px;
}

.rank-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.rank-card:hover .rank-card-image img {
  transform: scale(1.08);
}

.rank-card h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.rank-price {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.rank-subtitle {
  color: #cdcdcd;
  line-height: 1.65;
  font-size: .98rem;
  min-height: 80px;
}

.rank-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 18px;
}

.highlight-pill {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #efefef;
  font-weight: 600;
  font-size: .93rem;
}

.highlight-pill i {
  color: var(--accent);
}

.rank-preview-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.rank-preview-list li {
  position: relative;
  padding-left: 22px;
  color: #d3d3d3;
  line-height: 1.55;
  font-size: .95rem;
}

.rank-preview-list li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 51, 51, 0.28);
}

.benefits-btn {
  margin-top: auto;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), #6f0000);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 18px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.benefits-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
  filter: brightness(1.05);
}

.popup {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1100;
  transition: opacity .25s ease, visibility .25s ease;
}

.popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.popup-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: 86vh;
  overflow: auto;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025)),
    #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 28px;
  transform: translateY(20px) scale(.98);
  transition: transform .25s ease;
}

.popup.active .popup-content {
  transform: translateY(0) scale(1);
}

.popup-content::-webkit-scrollbar {
  width: 10px;
}

.popup-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.popup-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  transition: background .2s ease, transform .2s ease;
}

.popup-close:hover {
  background: rgba(255, 0, 0, 0.18);
  transform: rotate(90deg);
}

.popup-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin: 8px 0 24px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.popup-header.rank-eisbrecher {
  background: linear-gradient(135deg, rgba(64, 216, 255, 0.2), rgba(255,255,255,0.03));
}
.popup-header.rank-premium {
  background: linear-gradient(135deg, rgba(255, 158, 61, 0.2), rgba(255,255,255,0.03));
}
.popup-header.rank-hero {
  background: linear-gradient(135deg, rgba(255, 75, 75, 0.2), rgba(255,255,255,0.03));
}
.popup-header.rank-obsidian {
  background: linear-gradient(135deg, rgba(154, 107, 255, 0.2), rgba(255,255,255,0.03));
}
.popup-header.rank-ender {
  background: linear-gradient(135deg, rgba(83, 255, 162, 0.2), rgba(255,255,255,0.03));
}

.popup-kicker {
  display: inline-block;
  color: #ffd0d0;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.popup-header h3 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin-bottom: 8px;
}

.popup-header p {
  color: #dbdbdb;
  line-height: 1.7;
  max-width: 760px;
}

.popup-price {
  flex-shrink: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
}

.popup-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.gallery-card {
  height: 185px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.inherit-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.18);
  color: #ffe0e0;
  font-weight: 700;
}

.benefit-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.benefit-box {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
}

.benefit-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.benefit-title i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 0, 0, 0.12);
  color: #ffd3d3;
  font-size: 1.1rem;
}

.benefit-title h4 {
  font-size: 1.2rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.prefix-tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f0f0;
  font-size: .93rem;
  line-height: 1.3;
}

.prefix-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

footer {
  background: #111;
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
  border-top: 1px solid rgba(255,0,0,.3);
}

footer a {
  color: var(--red);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* ===== HEADER BETA BADGE ===== */

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.beta-badge-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 14px 8px 12px;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
  background:
    linear-gradient(135deg, rgba(255, 20, 20, 0.14), rgba(120, 0, 0, 0.18)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 0, 0, 0.18);
  box-shadow:
    0 10px 24px rgba(255, 0, 0, 0.10),
    0 10px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease,
    min-height .22s ease,
    padding .22s ease;
}

.beta-badge-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #ff3333, transparent 72%);
  opacity: 0.9;
}

.beta-badge-header:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.28);
  box-shadow:
    0 14px 28px rgba(255, 0, 0, 0.16),
    0 12px 22px rgba(0, 0, 0, 0.28);
}

.beta-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 34, 34, 0.92), rgba(180, 0, 0, 0.92));
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.18);
}

.beta-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.65);
  flex-shrink: 0;
  animation: betaBadgePulse 1.8s infinite;
}

.beta-badge-live-text {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.beta-badge-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.beta-badge-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
}

.beta-badge-sub {
  color: #ffb8b8;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.beta-badge-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: transform .22s ease, background .22s ease;
}

.beta-badge-header:hover .beta-badge-arrow {
  transform: translateX(2px);
  background: rgba(255,255,255,0.08);
}

@keyframes betaBadgePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.86;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */

@media (max-width: 1320px) {
  .rank-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  header {
    padding: 14px 24px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
    margin-top: 34px;
  }

  .info-grid,
  .benefit-sections {
    grid-template-columns: 1fr;
  }

  .popup-gallery {
    grid-template-columns: 1fr;
  }

  .popup-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 25px;
  }

  header img {
    height: 70px;
    margin-bottom: 5px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  nav a {
    margin: 6px 10px;
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
    padding: 150px 20px 80px;
  }

  .rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rank-card h3 {
    font-size: 1.7rem;
  }
}

@media (max-width: 640px) {
  .disclaimer-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .disclaimer-icon {
    width: 78px;
    height: 78px;
  }

  .hero p,
  .section-head p,
  .disclaimer-card p,
  .info-box p {
    font-size: .98rem;
  }

  .rank-grid {
    grid-template-columns: 1fr;
  }

  .popup {
    padding: 12px;
  }

  .popup-content {
    padding: 18px;
    border-radius: 22px;
    max-height: 90vh;
  }

  .popup-header {
    padding: 20px;
  }

  .gallery-card {
    height: 155px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-btn {
    width: 100%;
  }

  .benefit-box {
    padding: 18px;
  }

  .chip,
  .prefix-tag {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* --- Mobile Styles --- */
@media (max-width: 900px) {

  /* Menu Overlay */
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 1;
    animation: fadeIn 0.3s ease forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Slide Animations */
  nav.slide-in {
    animation: slideIn 0.4s ease forwards;
  }

  nav.slide-out {
    animation: slideOut 0.4s ease forwards;
  }

  @keyframes slideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slideOut {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(100%);
      opacity: 0;
    }
  }
}


body.popup-open {
    overflow: hidden;
}

/* =========================
   WORKING POPUP FIX
   ========================= */

.popup {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 3000;
}

.popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-content {
    width: min(1000px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.04), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
        #101010;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    transform: translateY(20px) scale(.98);
    transition: transform .25s ease;
    position: relative;
}

.popup.active .popup-content {
    transform: translateY(0) scale(1);
}

.popup-content::-webkit-scrollbar {
    width: 10px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.12);
    border-radius: 999px;
}

.popup-content h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 12px;
}

.popup-content .popup-subtext {
    color: #d4d4d4;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 760px;
}

.popup-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-right: 70px;
}

.popup-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popup-badge {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

.popup-gallery {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.popup-gallery-main,
.popup-gallery-side {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    position: relative;
}

.popup-gallery-main {
    min-height: 320px;
}

.popup-gallery-side-wrap {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.popup-gallery-side {
    min-height: 152px;
}

.popup-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.58);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
}

.popup-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.popup-box {
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 18px;
}

.popup-box.wide {
    grid-column: 1 / -1;
}

.popup-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 14px;
}

.popup-box h4 i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    color: #fff;
}

.popup-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.popup-list.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.popup-list.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.popup-list li {
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 12px 10px 30px;
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.06);
    color: #ececec;
    line-height: 1.45;
}

.popup-list li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: #ff3333;
    box-shadow: 0 0 12px rgba(255,51,51,.6);
}

.popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popup-tag {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #f1f1f1;
    font-weight: 700;
}

.popup-content button.close-popup-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.05);
    color: #fff;
    cursor: pointer;
    font-size: 1.05rem;
    transition: transform .2s ease, background .2s ease;
}

.popup-content button.close-popup-btn:hover {
    transform: rotate(90deg);
    background: rgba(255,0,0,.16);
    color: #fff;
}

@media (max-width: 900px) {
    .popup-top {
        flex-direction: column;
        padding-right: 0;
    }

    .popup-gallery {
        grid-template-columns: 1fr;
    }

    .popup-gallery-side-wrap {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .popup-sections {
        grid-template-columns: 1fr;
    }

    .popup-box.wide {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .popup {
        padding: 12px;
    }

    .popup-content {
        padding: 18px;
        border-radius: 20px;
    }

    .popup-gallery-main,
    .popup-gallery-side {
        min-height: 180px;
    }

    .popup-gallery-side-wrap {
        grid-template-columns: 1fr;
    }

    .popup-list.two-col,
    .popup-list.three-col {
        grid-template-columns: 1fr;
    }

    .popup-tags {
        flex-direction: column;
    }

    .popup-tag {
        width: 100%;
        justify-content: center;
    }
}

/* =========================
   RANK POPUP STYLES - PASSEND ZU DEINEM HTML
   ========================= */

.rank-popup-box {
    --popup-accent: #ff3333;
    width: min(1100px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.04), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
        #101010;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    position: relative;
    transform: translateY(20px) scale(.98);
    transition: transform .25s ease;
}

.popup.active .rank-popup-box {
    transform: translateY(0) scale(1);
}

.rank-popup-box::-webkit-scrollbar {
    width: 10px;
}

.rank-popup-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.12);
    border-radius: 999px;
}

.rank-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.05);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
    z-index: 5;
}

.rank-popup-close:hover {
    transform: rotate(90deg);
    background: rgba(255,0,0,.15);
    border-color: rgba(255,0,0,.25);
}

.rank-popup-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
    padding-right: 74px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.rank-popup-title {
    min-width: 0;
}

.rank-popup-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffd0d0;
}

.rank-popup-title h3 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 12px;
    color: #fff;
}

.rank-popup-title p {
    color: #d5d5d5;
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 700px;
}

.rank-popup-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
    padding-top: 6px;
}

.rank-popup-price,
.rank-popup-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.rank-popup-price {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
}

.rank-popup-note {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: #d8d8d8;
}

.rank-popup-media {
    display: grid;
    grid-template-columns: 1.35fr .95fr;
    gap: 16px;
    margin-bottom: 22px;
}

.rank-popup-main-image,
.rank-popup-side-image {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}

.rank-popup-main-image {
    min-height: 350px;
}

.rank-popup-side-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.rank-popup-side-image {
    min-height: 167px;
}

.rank-popup-main-image img,
.rank-popup-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.rank-popup-main-image:hover img,
.rank-popup-side-image:hover img {
    transform: scale(1.04);
}

.rank-popup-image-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.58);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.rank-popup-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rank-popup-card {
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    padding: 18px;
}

.rank-popup-card.wide {
    grid-column: 1 / -1;
}

.rank-popup-card h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1.15rem;
    color: #fff;
}

.rank-popup-card h4 i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    color: #fff;
    flex-shrink: 0;
}

.rank-popup-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.rank-popup-card.two-col ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rank-popup-card.three-col ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rank-popup-card li {
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 10px 12px 10px 30px;
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.06);
    color: #ececec;
    line-height: 1.45;
}

.rank-popup-card li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: var(--popup-accent);
    box-shadow: 0 0 12px var(--popup-accent);
}

.rank-popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rank-popup-tag {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #f1f1f1;
    font-weight: 700;
}

.rank-popup-text {
    color: #d5d5d5;
    line-height: 1.7;
    font-size: 1rem;
}

/* Themes */
.rank-popup-box.theme-eis {
    --popup-accent: #33d9ff;
}

.rank-popup-box.theme-premium {
    --popup-accent: #ffa43a;
}

.rank-popup-box.theme-hero {
    --popup-accent: #ff4d4d;
}

.rank-popup-box.theme-obsidian {
    --popup-accent: #9d6bff;
}

.rank-popup-box.theme-ender {
    --popup-accent: #4effb0;
}

.rank-popup-box.theme-eis .rank-popup-head {
    border-bottom-color: rgba(51,217,255,.20);
}

.rank-popup-box.theme-premium .rank-popup-head {
    border-bottom-color: rgba(255,164,58,.20);
}

.rank-popup-box.theme-hero .rank-popup-head {
    border-bottom-color: rgba(255,77,77,.20);
}

.rank-popup-box.theme-obsidian .rank-popup-head {
    border-bottom-color: rgba(157,107,255,.20);
}

.rank-popup-box.theme-ender .rank-popup-head {
    border-bottom-color: rgba(78,255,176,.20);
}

.rank-popup-box.theme-eis .rank-popup-card h4 i {
    background: rgba(51,217,255,.14);
}

.rank-popup-box.theme-premium .rank-popup-card h4 i {
    background: rgba(255,164,58,.14);
}

.rank-popup-box.theme-hero .rank-popup-card h4 i {
    background: rgba(255,77,77,.14);
}

.rank-popup-box.theme-obsidian .rank-popup-card h4 i {
    background: rgba(157,107,255,.14);
}

.rank-popup-box.theme-ender .rank-popup-card h4 i {
    background: rgba(78,255,176,.14);
}

@media (max-width: 950px) {
    .rank-popup-head {
        flex-direction: column;
        padding-right: 0;
    }

    .rank-popup-meta {
        justify-content: flex-start;
    }

    .rank-popup-media {
        grid-template-columns: 1fr;
    }

    .rank-popup-main-image {
        min-height: 240px;
    }

    .rank-popup-side-stack {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .rank-popup-sections {
        grid-template-columns: 1fr;
    }

    .rank-popup-card.wide {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .rank-popup-box {
        padding: 18px;
        border-radius: 20px;
    }

    .rank-popup-close {
        top: 14px;
        right: 14px;
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .rank-popup-title h3 {
        font-size: 2.2rem;
        padding-right: 52px;
    }

    .rank-popup-main-image,
    .rank-popup-side-image {
        min-height: 180px;
    }

    .rank-popup-side-stack {
        grid-template-columns: 1fr;
    }

    .rank-popup-card.two-col ul,
    .rank-popup-card.three-col ul {
        grid-template-columns: 1fr;
    }

    .rank-popup-tags {
        flex-direction: column;
    }

    .rank-popup-tag {
        width: 100%;
        justify-content: center;
    }
}

/* =========================
   RANK CARDS V3 - AUSGEBAUT
   ========================= */

.rank-grid {
    max-width: 1540px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.rank-card {
    --card-glow: rgba(255, 255, 255, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 26px;
    min-height: unset;
    background:
        radial-gradient(circle at top center, rgba(255,255,255,0.05), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.rank-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent 75%);
    z-index: 0;
}

.rank-card::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}

.rank-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.12);
    box-shadow:
        0 24px 54px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255,255,255,0.03),
        0 0 28px color-mix(in srgb, var(--accent) 16%, transparent);
}

.rank-card > * {
    position: relative;
    z-index: 1;
}

.rank-card-featured {
    box-shadow:
        0 24px 54px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(83, 255, 162, 0.10),
        0 0 30px rgba(83, 255, 162, 0.08);
}

.rank-card.rank-premium {
    box-shadow:
        0 20px 46px rgba(0, 0, 0, 0.30),
        0 0 0 1px rgba(255, 158, 61, 0.08);
}

.rank-badge {
    margin-bottom: 10px;
    padding: 7px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.rank-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 10px 24px rgba(0,0,0,0.22);
}

.rank-card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0.32) 100%);
    z-index: 1;
    pointer-events: none;
}

.rank-card-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 70px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.28));
    z-index: 1;
    pointer-events: none;
}

.rank-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.rank-card:hover .rank-card-image img {
    transform: scale(1.06);
}

.rank-card-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.rank-card-title-wrap {
    min-width: 0;
}

.rank-card h3 {
    font-size: 1.7rem;
    line-height: 1.02;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.rank-subtitle {
    min-height: unset;
    margin: 0;
    color: #cfcfcf;
    font-size: 0.9rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-price,
.rank-highlight-row,
.rank-preview-list {
    display: none;
}

/* =========================
   PRICE TAG - UNTEN RECHTS AM BILD
   ========================= */

.rank-card-image {
    position: relative;
    overflow: visible;
    margin-bottom: 22px;
}

.rank-price-badge {
    position: absolute;
    right: 2px;
    bottom: -35px;
    z-index: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    min-width: unset;
    width: fit-content;
    padding: 8px 11px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        rgba(10, 10, 10, 0.84);
    border: 1px solid color-mix(in srgb, var(--accent) 24%, rgba(255,255,255,0.10));
    backdrop-filter: blur(10px);
    box-shadow:
        0 12px 24px rgba(0,0,0,0.24),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.rank-price-badge::before {
    display: none;
}

.rank-price-badge strong {
    font-size: 1rem;
    line-height: 1;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
}

.rank-price-badge span {
    font-size: 0.62rem;
    line-height: 1;
    color: #d7d7d7;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rank-card-featured .rank-price-badge {
    border-color: rgba(83, 255, 162, 0.24);
}

.rank-eisbrecher .rank-price-badge {
    border-color: rgba(64, 216, 255, 0.22);
}

.rank-premium .rank-price-badge {
    border-color: rgba(255, 158, 61, 0.22);
}

.rank-hero .rank-price-badge {
    border-color: rgba(255, 75, 75, 0.22);
}

.rank-obsidian .rank-price-badge {
    border-color: rgba(154, 107, 255, 0.22);
}

.rank-ender .rank-price-badge {
    border-color: rgba(83, 255, 162, 0.24);
}

@media (max-width: 620px) {
    .rank-card-image {
        margin-bottom: 20px;
    }

    .rank-price-badge {
        right: 10px;
        bottom: -12px;
        padding: 7px 10px;
    }

    .rank-price-badge strong {
        font-size: 0.94rem;
    }

    .rank-price-badge span {
        font-size: 0.58rem;
    }
}

.rank-card-featured .rank-price-badge {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
        rgba(12, 18, 14, 0.88);
    border-color: rgba(83, 255, 162, 0.32);
    box-shadow:
        0 18px 34px rgba(0,0,0,0.34),
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 0 24px rgba(83,255,162,0.14);
}

.rank-mini-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.rank-mini-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.07);
    color: #ededed;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.rank-mini-chip i {
    color: var(--accent);
    flex-shrink: 0;
    font-size: 0.9rem;
    text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 30%, transparent);
}

.rank-card-bottom {
    margin-top: auto;
    display: grid;
    gap: 10px;
}

.rank-tier-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 13px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.06);
    color: #cfcfcf;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
}

.benefits-btn {
    margin-top: 0;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow:
        0 14px 24px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* farbliche Feinheiten pro Rang */
.rank-eisbrecher .rank-badge,
.rank-eisbrecher .rank-price-badge::before {
    color: #b9f3ff;
}

.rank-premium .rank-badge,
.rank-premium .rank-price-badge::before {
    color: #ffe0ba;
}

.rank-hero .rank-badge,
.rank-hero .rank-price-badge::before {
    color: #ffd0d0;
}

.rank-obsidian .rank-badge,
.rank-obsidian .rank-price-badge::before {
    color: #ead8ff;
}

.rank-ender .rank-badge,
.rank-ender .rank-price-badge::before {
    color: #d7ffe9;
}

@media (max-width: 1500px) {
    .rank-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1220px) {
    .rank-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 1100px;
    }
}

@media (max-width: 920px) {
    .rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
    }
}

@media (max-width: 620px) {
    .rank-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .rank-card h3 {
        font-size: 1.9rem;
    }

    .rank-mini-highlights {
        grid-template-columns: 1fr;
    }

    .rank-price-badge {
        top: 46px;
        right: 12px;
        min-width: 92px;
        padding: 9px 11px 10px;
    }

    .rank-price-badge strong {
        font-size: 1.02rem;
    }
}

/* --- Mobile Styles --- */
@media (max-width: 900px) {
  header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 25px !important;
    position: relative !important;
    z-index: 100 !important;
  }

  .nav-toggle {
    display: block !important;
    position: relative !important;
    z-index: 120 !important;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .nav-toggle:hover {
    transform: scale(1.15);
  }

  header nav {
    display: none !important;
    position: static !important;
  }

  nav.show {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 85% !important;
    max-width: 400px !important;
    height: 100vh !important;
    background: linear-gradient(145deg, rgba(25,25,25,0.95), rgba(15,15,15,0.98)) !important;
    backdrop-filter: blur(15px) !important;
    padding: 120px 25px 40px !important;
    z-index: 110 !important;
    border-left: 1px solid rgba(255,0,0,0.15);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }

  @keyframes slideInRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  nav.show a {
    width: 100% !important;
    padding: 16px 24px !important;
    margin: 8px 0 !important;
    font-size: 1.1rem !important;
    color: #fff !important;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,0,0,0.1);
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
  }

  nav.show a:hover {
    background: rgba(255,0,0,0.1);
    border-color: rgba(255,0,0,0.3);
    transform: translateX(8px);
    color: #ff3333 !important;
  }

  nav.show a.active {
    background: linear-gradient(90deg, rgba(255,0,0,0.15), transparent);
    border-color: rgba(255,0,0,0.4);
    color: #ff4444 !important;
  }

  nav.show a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #ff3333;
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }

  nav.show a:hover::before {
    transform: scaleY(1);
  }

  .nav-toggle {
    width: 50px !important;
    height: 50px !important;
    border-radius: 14px !important;
    background: rgba(255,0,0,0.1) !important;
    border: 1px solid rgba(255,0,0,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    z-index: 120 !important;
  }

  .nav-toggle:hover {
    background: rgba(255,0,0,0.15) !important;
    transform: scale(1.05);
  }

  .nav-toggle i {
    color: #ff3333;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
  }

  nav.show a.nav-cta {
    background: linear-gradient(90deg, rgba(255,0,0,0.85), rgba(184,0,0,0.85)) !important;
    border-color: rgba(255, 51, 51, 0.55) !important;
    color: #fff !important;
    justify-content: center !important;
    font-weight: 700 !important;
  }

  nav.show a.nav-cta::before { display: none; }

  nav.show a.nav-cta:hover {
    transform: none !important;
    background: linear-gradient(90deg, rgba(255,0,0,0.95), rgba(184,0,0,0.95)) !important;
    color: #fff !important;
  }

  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 1;
    animation: fadeIn 0.3s ease forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  nav.slide-in {
    animation: slideIn 0.4s ease forwards;
  }

  nav.slide-out {
    animation: slideOut 0.4s ease forwards;
  }

  @keyframes slideIn {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slideOut {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(100%);
      opacity: 0;
    }
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes fadeOutOverlay {
  from { opacity: 1; }
  to { opacity: 0; }
}

nav.show {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 75% !important;
  max-width: 360px !important;
  height: 100vh !important;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.97), rgba(40, 40, 40, 0.97)) !important;
  backdrop-filter: blur(12px) !important;
  padding: 100px 30px 30px 30px !important;
  gap: 28px !important;
  z-index: 110 !important;
  border-left: 1px solid rgba(255, 0, 0, 0.2);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

nav.slide-in {
  animation: slideInRight 0.35s forwards ease;
}

nav.slide-out {
  animation: slideOutRight 0.35s forwards ease;
}

body.overlay-fade-out::before {
  animation: fadeOutOverlay 0.3s ease forwards;
}

@media (max-width: 900px) {
  header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(10,10,10,.95) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2) !important;
  }

  header.scrolled {
    background: rgba(0,0,0,.98) !important;
    padding: 10px 25px !important;
  }

  header.scrolled img {
    height: 55px !important;
  }
}