:root {
  /* Core Colors */
  --primary: #0fb9b1;
  --primary2: rgb(185, 15, 15);
  --primary-dark: #0a8f89;

  /* Backgrounds */
  --bg: radial-gradient(circle at top, #141824, #0b0d12);
  --panel: #181b21;

  /* Borders & Shadows */
  --border: rgba(0, 128, 128, 0.45);
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.35);

  /* Text */
  --text: #e6e6e6;
  --muted: #94a3b8;

  /* Status */
  --ok: #3aff9e;
  --warn: #ffd36a;
  --err: #ff7b7b;

  --radius: 16px;
}

* {
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: none;
  color: var(--text);
  min-height: 100%;

  display: flex;
  flex-direction: column;

  padding-top: 72px;
}

/* ===============================
   GLOBAL BACKGROUND LAYER
   =============================== */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;

  background:
    radial-gradient(circle at top, #141824, #0b0d12),
    radial-gradient(circle at bottom, rgba(0, 128, 128, 0.12), transparent 60%);

  background-repeat: no-repeat;
  background-size: cover;
}

body {
  position: relative;
  overflow-x: hidden;
}

/* --------------------------
   SMOOTH BACKGROUND
   -------------------------- */
.nebula {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 185, 177, 0.2), transparent 70%);
  filter: blur(180px);
  pointer-events: none;
  z-index: 0;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.nebula1 {
  top: -200px;
  left: -100px;
  width: 700px;
  height: 700px;
  animation: floatNebula1 80s infinite;
  opacity: 0.7;
}

.nebula2 {
  bottom: -250px;
  left: 50px;
  width: 600px;
  height: 600px;
  animation: floatNebula2 100s infinite;
  opacity: 0.6;
}

.nebula3 {
  top: 20%;
  left: 40%;
  width: 800px;
  height: 800px;
  animation: floatNebula3 120s infinite;
  opacity: 0.5;
}

.nebula4 {
  top: 50%;
  right: 20%;
  width: 650px;
  height: 650px;
  animation: floatNebula4 90s infinite;
  opacity: 0.55;
}

.nebula5 {
  bottom: 10%;
  right: 10%;
  width: 750px;
  height: 750px;
  animation: floatNebula5 110s infinite;
  opacity: 0.6;
}

/* --------------------------
   SMOOTH ANIMATIONS
   -------------------------- */
@keyframes floatNebula1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-50px, 30px) scale(1.05);
  }
  50% {
    transform: translate(-80px, 60px) scale(1.1);
  }
  75% {
    transform: translate(-30px, 20px) scale(1.08);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes floatNebula2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(40px, -30px) scale(1.03);
  }
  50% {
    transform: translate(60px, -50px) scale(1.06);
  }
  75% {
    transform: translate(20px, -20px) scale(1.04);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes floatNebula3 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-20px, 40px) scale(1.04);
  }
  50% {
    transform: translate(-40px, 80px) scale(1.07);
  }
  75% {
    transform: translate(-10px, 30px) scale(1.05);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes floatNebula4 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -50px) scale(1.03);
  }
  50% {
    transform: translate(50px, -70px) scale(1.06);
  }
  75% {
    transform: translate(20px, -30px) scale(1.04);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes floatNebula5 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-60px, 40px) scale(1.05);
  }
  50% {
    transform: translate(-80px, 60px) scale(1.08);
  }
  75% {
    transform: translate(-40px, 20px) scale(1.06);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* --------------------------
   LAYOUT CONTAINERS
   -------------------------- */
.topbar,
.hero,
.cards,
.page,
.status,
footer {
  position: relative;
  z-index: 1;
}

.hero,
.page,
.cards,
.status {
  flex-shrink: 1;
}

main {
  flex: 1;
}

/* --------------------------
   TOPBAR / NAVBAR STYLING
   -------------------------- */

.topbar {
  overflow: visible;
  z-index: 20;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(11, 13, 18, 0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 185, 177, 0.3);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 10;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease;
}

.topbar:hover {
  background: rgba(11, 13, 18, 0.8);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

.logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  text-shadow: 0 0 8px rgba(15, 185, 177, 0.5);
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

.logo:hover {
  color: #00fff6;
  text-shadow: 0 0 12px rgba(0, 255, 246, 0.7);
}

nav a {
  margin-left: 22px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-hamburger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 185, 177, 0.35);
  background: rgba(11, 13, 18, 0.45);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-hamburger:hover {
  transform: translateY(-1px);
  background: rgba(11, 13, 18, 0.75);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition:
    width 0.3s ease,
    left 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
  left: 0;
}

nav a:hover {
  color: var(--primary);
  background: rgba(15, 185, 177, 0.08);
  box-shadow: 0 4px 12px rgba(15, 185, 177, 0.2);
  transform: translateY(-2px);
}

/* ===============================
        Mobile Navbar CSS
   =============================== */

@media (max-width: 768px) {
  .topbar {
    height: auto;
    padding: 16px 18px;
  }

  .nav-hamburger {
    display: inline-flex;
  }

  .topbar nav {
    display: none;
    width: 100%;
    margin-top: 18px;
    padding: 18px 0;
    border-top: none;
  }

  .topbar.nav-open nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .topbar nav > a,
  .topbar nav > .nav-dropdown > .nav-trigger {
    width: 100%;
    text-align: left;
    padding: 14px 10px;
    margin: 0;
    border-radius: 8px;
    font-size: 16px;
    border: none;
  }

  .topbar nav > a:hover,
  .topbar nav > .nav-dropdown > .nav-trigger:hover {
    background: rgba(15, 185, 177, 0.08);
  }

  .dropdown-menu {
    position: static !important;
    width: 100%;
    padding-left: 14px;
    margin-top: 6px;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .dropdown-menu a {
    font-size: 14px;
    padding: 10px 8px;
    border: none;
    opacity: 0.85;
  }
}

.hero {
  padding: 80px 28px;
  max-width: 1100px;
  margin: auto;
  justify-content: center;
  text-align: center;
  display: auto;
  margin-top: 30px;
}

.hero h1 {
  font-size: 42px;
  text-align: center;
  justify-content: center;
}

.hero p {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 24px;
  justify-content: center;
  display: flex;
  text-align: center;
}

.btn {
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin-right: 12px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(15, 185, 177, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(15, 185, 177, 0.5);
}

.btn.ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background-color: none;
  background: none;
}

.btn.ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 5px rgba(15, 185, 177, 0.5);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 28px;
  text-align: center;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(15, 185, 177, 0.4);
}

.card h3 {
  margin-top: 0;
}

.status {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 30px;
  flex-wrap: wrap;
}

.status-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
}

.status-card.ok {
  border-color: var(--ok);
  color: var(--ok);
}

footer {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  letter-spacing: 0.2px;
  margin-top: auto;
  background: rgba(11, 13, 18, 0.75);
  backdrop-filter: blur(10px);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 6px;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer:hover .footer-brand {
  text-shadow: 0 0 8px rgba(15, 185, 177, 0.25);
}

.footer-brand {
  color: var(--primary);
  font-weight: 600;
}

.footer-sep {
  margin: 0 6px;
  opacity: 0.4;
}

.footer-copy {
  color: #94a3b8;
}

.footer-year {
  color: rgba(255, 255, 255, 0.45);
  text-shadow: 0 0 8px rgba(15, 185, 177, 0.25);
}

.page {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 28px;
  text-align: center;
  justify-content: center;
}

.page h1 {
  text-align: center;
}

.page h2 {
  text-align: center;
}

.page h3 {
  text-align: center;
}
.page p {
  text-align: center;
}
.page2 {
  max-width: 1100px;
  justify-content: center;
  text-align: center;
  margin: 60px auto;
  padding: 0 28px;
}

.muted {
  color: var(--muted);
  font-size: 20px;
  margin-bottom: 30px;
}

/* Produkte */
.product-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.product-card,
.package-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
}

.product-card::before,
.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(15, 185, 177, 0.08),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover,
.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 45px rgba(15, 185, 177, 0.35);
}

.product-card:hover::before,
.package-card:hover::before {
  opacity: 1;
}

.tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.tag.ok {
  color: var(--ok);
  border-color: var(--ok);
}
.tag.warn {
  color: #ffd36a;
  border-color: #ffd36a;
}

.product-separator {
  grid-column: 1 / -1;
  margin: 6px 0 2px;
  padding: 12px 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  font-size: 12px;
}

.product-separator::before,
.product-separator::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 185, 177, 0.6),
    transparent
  );
  opacity: 0.75;
}

.svc-sub {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.9;
}

.product-separator span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--primary);
  border: 1px solid rgba(15, 185, 177, 0.25);
  background: #0b0d12;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(15, 185, 177, 0.25);
}

/* Pakete */
.package-card .price {
  font-size: 28px;
  margin: 10px 0;
  color: var(--primary);
}

.package-card li {
  text-align: left;
  margin: 4px 0;
  text-justify: auto;
}

.package-card.highlight {
  border-color: var(--primary);
  position: relative;
}

.package-card.vip {
  border-color: var(--warn);
  position: relative;
}

.package-card.vip::before {
  background: radial-gradient(
    circle at top left,
    rgba(185, 174, 15, 0.08),
    transparent 45%
  );
}

.package-card.vip:hover {
  box-shadow: 0 14px 45px rgba(185, 182, 15, 0.35);
}

.package-card.em {
  border-color: #3ea6ff;
  position: relative;
}

.package-card.em::before {
  background: radial-gradient(
    circle at top left,
    rgba(62, 166, 255, 0.08),
    transparent 45%
  );
}

.package-card.em:hover {
  box-shadow: 0 14px 45px rgba(62, 166, 255, 0.35);
}

.badge.em {
  background: linear-gradient(135deg, #3ea6ff, #2c7be5);
  color: white;
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary);
  color: #000;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.badge.vip {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--warn);
  color: #000;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-top: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.info-card2 {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-top: 20px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(15, 185, 177, 0.4);
}

.info-card2:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(15, 185, 177, 0.4);
}

.info-card2 li {
  text-align: left;
  margin: 6px 0;
  text-justify: auto;
}

.info-card2 h3 {
  margin-top: 0;
  color: var(--primary);
}

.info-card2 h4 {
  margin-top: 0;
  color: var(--primary);
}

.contact-grid h4 {
  color: var(--primary);
}

.info-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.notice {
  margin-top: 16px;
  padding: 10px;
  background: rgba(255, 123, 123, 0.1);
  border: 1px solid #ff7b7b;
  border-radius: 10px;
  color: #ffb3b3;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
  position: relative;
  isolation: isolate;
}

/* Testimonials: top 3 as grid + remaining as marquee */
#discordTestimonialsTop.testimonial-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

@media (max-width: 980px) {
  #discordTestimonialsTop.testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.testimonial-marquee {
  margin-top: 18px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
}

.testimonial-marquee::before,
.testimonial-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 12, 18, 1), rgba(7, 12, 18, 0));
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 12, 18, 1), rgba(7, 12, 18, 0));
}

.testimonial-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 6px 10px 12px;
  animation: testimonialMarquee var(--marquee-duration, 34s) linear infinite;
  will-change: transform;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-track .testimonial-card {
  flex: 0 0 340px;
  max-width: 340px;
}

@keyframes testimonialMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.testimonial-header {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 10px;
}

.testimonial-header strong {
  text-align: center;
}

.stars {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 1px;
  color: #ffd36a;
  opacity: 0.95;
}
.testimonial-card img {
  height: 46px;
  width: 46px;
}

.testimonial-header img {
  height: 46px;
  width: 46px;
}

.badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.badge.partner {
  background: rgba(58, 255, 158, 0.15);
  color: #3aff9e;
}

.badge.client {
  background: rgba(255, 211, 106, 0.15);
  color: #ffd36a;
}

.badge.contract {
  background: rgba(122, 162, 247, 0.15);
  color: #7aa2f7;
}

.map-wrapper {
  position: relative;
  max-width: 500px;
  margin: 20px auto;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--primary);
}

.map-wrapper img {
  width: 100%;
  display: block;
}

.map-point {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  animation: pulse 2s infinite;
  cursor: pointer;
}

.map-point.ls {
  background: #3aff9e;
  top: 49.5%;
  left: 46.7%;
}

.map-point.sandy {
  background: #ffd36a;
  top: 45%;
  left: 50%;
}

.map-point.paleto {
  background: #ff7b7b;
  top: 20%;
  left: 55%;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(58, 255, 158, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(58, 255, 158, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(58, 255, 158, 0);
  }
}

.map-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 14px;
}

.map-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.green {
  background: #3aff9e;
}
.dot.yellow {
  background: #ffd36a;
}
.dot.red {
  background: #ff7b7b;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.logo-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.logo-card img {
  max-width: 100%;
  max-height: 60px;
  filter: grayscale(100%) brightness(0.9);
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

.logo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.logo-card:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.price-group {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.price-group h4 {
  font-size: 14px;
  margin-bottom: 6px;
  color: #cbd5f5;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 2px 0;
}

.price-row.stammkunde {
  color: #ffd36a;
}

.price-row.partner {
  color: #3aff9e;
  font-weight: 600;
}

.price-legend {
  margin-top: 30px;
  justify-content: center;
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.price-legend .stammkunde {
  color: #ffd36a;
}

.price-legend .partner {
  color: #3aff9e;
}

.price-legend2 {
  margin-top: 30px;
  justify-content: center;
  display: flex;
  gap: 24px;
  font-size: 13px;
}

.price-legend2 .stammkunde {
  color: #ffd36a;
}

.price-legend2 .partner {
  color: #3aff9e;
}

.bulk-hint {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.45;
  background: rgba(15, 185, 177, 0.08);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  color: var(--text);
  text-align: left;
}

.bulk-hint strong {
  color: var(--primary);
}

.bulk-hint.warn strong {
  color: #ff7b7b;
}

.bulk-hint.warn {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.45;
  background: rgba(185, 15, 15, 0.08);
  border-left: 3px solid var(--primary2);
  border-radius: 10px;
  color: var(--text);
  text-align: left;
}

.bulk-legend {
  margin-top: 16px;
  font-size: 13px;
  justify-content: center;
  text-align: center;
  color: #cbd5f5;
  opacity: 0.9;
}

.bulk-legend2 {
  margin-top: 16px;
  font-size: 13px;
  justify-content: center;
  text-align: center;
  color: #cbd5f5;
  opacity: 0.9;
}

.inline-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
  transition:
    color 0.2s ease,
    text-decoration 0.2s ease;
}

.inline-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.discord-cta {
  margin-top: 30px;
  text-align: center;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: #000;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 25px rgba(15, 185, 177, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.discord-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(15, 185, 177, 0.5);
}

.small {
  font-size: 13px;
  margin-top: 10px;
}

.section-divider {
  position: relative;
  margin: 60px 0 40px;
  text-align: center;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 185, 177, 0.6),
    transparent
  );
}

.section-divider span {
  position: relative;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--primary);
  background: #0b0d12;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(15, 185, 177, 0.25);
}

/* =============================
   RECHNER STYLES
   ============================= */

.calculator::before,
.calculator::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(15, 185, 177, 0.08),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.calculator-card:hover,
.calculator-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 45px rgba(15, 185, 177, 0.35);
}

.calculator-card:hover::before,
.calculator-card:hover::before {
  opacity: 1;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  color: #e5e7eb;
}

.calculator-card h2 {
  margin-bottom: 16px;
}

.calculator-card label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
}

.calculator-card select,
.calculator-card input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}

/* Slider */
.switch {
  position: relative;
  width: 46px;
  height: 24px;
}

.switch input {
  opacity: 0;
}

.switch input:disabled + .slider {
  opacity: 0.35;
  cursor: not-allowed;
}

.slider {
  position: absolute;
  inset: 0;
  background: #334155;
  border-radius: 24px;
  cursor: pointer;
}

.slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  left: 3px;
  top: 3px;
  transition: 0.2s;
}

input:checked + .slider {
  background: rgba(15, 185, 177, 0.35);
}

input + .slider {
  background: #c52222;
}

input:checked + .slider::before {
  transform: translateX(22px);
}

.result {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: 12px;
}

.calc-hint {
  margin-top: 14px;
  padding: 12px 14px;
  line-height: 1.45;
  border-radius: 10px;
  font-size: 12.5px;
  text-align: center;
}

.calc-hint.warn {
  background: rgba(185, 15, 15, 0.1);
  border: 1px solid #ff7b7b;
  color: #ffb3b3;
}

.calc-hint.warn strong {
  color: #ff7b7b;
}

.btn-success {
  margin-top: 10px;
}

.btn-success,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.04)
  );

  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

/* Hover */
.btn-success:hover,
.btn-primary:hover {
  transform: translateY(-2px);

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.08)
  );

  border-color: rgba(255, 255, 255, 0.35);

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.6),
    0 0 22px rgba(255, 255, 255, 0.12);
}

.btn-success:active,
.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.5),
    inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.remove-btn:hover {
  transform: translateY(-3px);
}
.remove-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cart-qty {
  width: 100%;
  max-width: 110px;
}

.cart-box {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.cart-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cart-list li {
  display: grid;
  grid-template-columns: 1fr 90px 120px 90px 40px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.cart-list input {
  width: 70px;
  padding: 4px;
  border-radius: 6px;
}

.cart-summary {
  margin-top: 14px;
  font-size: 18px;
  text-align: right;
}

@media (max-width: 600px) {
  .calculator-card {
    padding: 16px;
  }

  .btn-primary,
  .btn-success {
    width: 100%;
    justify-content: center;
  }

  .cart-list li {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "name name"
      "unit qty"
      "total remove";
    row-gap: 8px;
    column-gap: 10px;
  }

  .cart-name {
    grid-area: name;
  }

  .cart-unit {
    grid-area: unit;
    opacity: 0.9;
  }

  .cart-qty {
    grid-area: qty;
    justify-self: end;
  }

  .cart-total {
    grid-area: total;
    font-weight: 700;
  }

  .remove-btn {
    grid-area: remove;
    justify-self: end;
  }
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

.order-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.order-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.order-status {
  font-weight: bold;
}

.page-hint {
  opacity: 0.7;
  margin-bottom: 16px;
}

.faq-item {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  margin-top: 10px;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 14px;
  opacity: 0.85;
}

#userInfo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 185, 177, 0.12);
  border: 1px solid rgba(15, 185, 177, 0.35);
  font-size: 14px;
}

/* =============================
   NAV DROPDOWN
   ============================= */

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Dropdown Grundzustand: versteckt */
.navbar .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  pointer-events: none;
}

/* Dropdown erst bei Hover auf dem Menüpunkt anzeigen */
.navbar .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown .caret {
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

/* Dropdown Box */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 185, 177, 0.25);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  padding: 8px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 50;
}

/* Links im Dropdown */
.dropdown-menu a {
  display: block;
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: rgba(15, 185, 177, 0.12);
  color: var(--primary);
  transform: none;
  box-shadow: none;
}

/* Hover öffnen */
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown:hover .caret {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    /* On touch devices we don't use :hover. Collapse by default and open via JS
       by adding .open to .nav-dropdown. */
    position: static;
    transform: none;
    opacity: 1; /* keep readable once opened */
    margin-top: 6px;
    box-shadow: none;
    background: rgba(15, 185, 177, 0.06);

    max-height: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    transition:
      max-height 0.25s ease,
      padding 0.25s ease;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 520px;
    padding: 8px;
    pointer-events: auto;
  }

  .nav-dropdown.open .caret {
    transform: rotate(180deg);
  }
}

.dropdown-menu {
  z-index: 999;
}
.nav-dropdown {
  pointer-events: auto;
}

.dropdown-menu {
  pointer-events: auto;
}

.music-widget {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(11, 13, 18, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 185, 177, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease;
}

.music-btn {
  border: none;
  background: rgba(15, 185, 177, 0.12);
  border: 1px solid rgba(15, 185, 177, 0.35);
  color: var(--primary);
  width: 38px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
}

.music-btn:hover {
  transform: translateY(-1px);
}

.music-slider-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
}

.music-slider-wrap input[type="range"] {
  width: 110px;
}

#musicVolLabel {
  font-size: 12px;
  opacity: 0.75;
  min-width: 36px;
  text-align: right;
}

.internal-actions {
  margin-bottom: 20px;
  text-align: left;
}

.internal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 12px;
}

.internal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(15, 185, 177, 0.25);
  border-radius: 14px;
  padding: 16px;
}

.internal-card label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.85;
}

.internal-card input,
.internal-card textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  margin-top: 6px;
}

.status-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 90px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.status-row input {
  margin-top: 0;
}

@media (max-width: 900px) {
  .internal-grid {
    grid-template-columns: 1fr;
  }
}

.blog-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 18px auto 26px;
  max-width: 980px;
}

/* Wiki Layout */
.wiki-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.wiki-list {
  display: grid;
  gap: 12px;
}

.wiki-item {
  width: 100%;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 14px;
  color: var(--text);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.wiki-item:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 185, 177, 0.5);
}

.wiki-item.active {
  border-color: rgba(15, 185, 177, 0.65);
  box-shadow: 0 0 0 2px rgba(15, 185, 177, 0.12) inset;
}

.wiki-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.wiki-item-title {
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  justify-content: center;
}

.wiki-item-date {
  color: #b8f6ff;
  font-size: 12.5px;
  opacity: 0.95;
  text-shadow: 0 0 4px rgba(15, 185, 177, 0.25);
}

.wiki-item-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.wiki-item-summary {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.35;
  font-size: 13px;
}

.wiki-article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.wiki-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.wiki-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.wiki-title {
  margin: 0 0 6px;
  font-size: 22px;
}

.wiki-title .h2 {
  margin: 0 0 6px;
  font-size: 22px;
  text-align: right;
  justify-content: right;
}

.wiki-title .p {
  margin: 0 0 6px;
  font-size: 22px;
  text-align: right;
}

.wiki-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
  text-align: center;
}

.wiki-outcome {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 800;
  white-space: nowrap;
}

.wiki-kv-grid {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.wiki-kv {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.wiki-k {
  min-width: 120px;
  color: var(--muted);
  font-size: 13px;
}

.wiki-v {
  color: var(--text);
  opacity: 0.95;
}

.wiki-report {
  color: var(--text);
  opacity: 0.95;
  line-height: 1.55;
  font-size: 14px;
}

.wiki-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.wiki-thumb {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.wiki-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .wiki-layout {
    grid-template-columns: 1fr;
  }
}

.input,
.select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.input {
  min-width: min(520px, 90vw);
}

.select {
  min-width: 220px;
  cursor: pointer;
}

.tiny {
  font-size: 12px;
  opacity: 0.85;
}

.muted-hint {
  margin-top: 26px;
  font-size: 14px;
}

.btn.small {
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 12px;
}

.chip.muted {
  color: var(--muted);
}

/* Logbuch */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: stretch;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-thumb {
  width: 140px;
  height: 100%;
  object-fit: cover;
  display: block;
  border-right: 1px solid rgba(15, 185, 177, 0.18);
}

.blog-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.03);
}

.blog-body {
  padding: 16px 16px 14px;
}

.blog-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.blog-title {
  margin: 0 0 8px;
  font-size: 18px;
}

.blog-text {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.4;
}

.blog-actions {
  margin-top: 12px;
}

/* Galerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
}

.gallery-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.gallery-meta {
  padding: 12px 14px;
  color: #fff;
}

.gallery-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 0 6px var(--primary-dark);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}

/* Lightbox Carousel Nav */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.55);
  color: var(--text);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
  background: rgba(2, 6, 23, 0.75);
}

.lightbox-nav.prev {
  left: 18px;
}
.lightbox-nav.next {
  right: 18px;
}

/* optional: auf Mobile etwas kleiner */
@media (max-width: 600px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 72vh;
  border-radius: 18px;
  border: 1px solid rgba(15, 185, 177, 0.35);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-caption {
  max-width: min(1100px, 96vw);
  margin-top: 14px;
  text-align: left;
  color: var(--text);
}

.lightbox-title {
  font-weight: 800;
  margin-bottom: 6px;
  text-align: center;
  justify-content: center;
}

.lightbox-meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.6);
  color: var(--text);
  cursor: pointer;
}

.no-scroll {
  overflow: hidden;
}

/* Kalender */

.calendar-shell {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 14px;
}

.calendar-title {
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 18px;
  text-align: center;
  flex: 1;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  padding: 0 6px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin: 10px 0 20px;
}

.cal-cell {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 12px;
  min-height: 62px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  position: relative;
}

.cal-cell:hover {
  border-color: rgba(15, 185, 177, 0.5);
}

.cal-cell.dim {
  opacity: 0.35;
}

.cal-cell.today {
  border-color: rgba(15, 185, 177, 0.75);
  box-shadow: 0 0 0 2px rgba(15, 185, 177, 0.15) inset;
}

.cal-cell.has {
  background: rgba(15, 185, 177, 0.05);
}

.cal-num {
  font-weight: 800;
}

.cal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  position: absolute;
  bottom: 10px;
  right: 10px;
  box-shadow: 0 0 16px rgba(15, 185, 177, 0.35);
}

.calendar-split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
}

.section-divider.compact {
  margin: 12px 0;
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  padding: 14px;
}

.event-card.active {
  border-color: rgba(15, 185, 177, 0.55);
  box-shadow: 0 0 0 2px rgba(15, 185, 177, 0.12) inset;
}

.event-top {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}

.event-title {
  font-weight: 900;
  line-height: 1.2;
}

.event-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.event-meta {
  color: var(--muted);
  margin-top: 8px;
}

.event-desc {
  margin-top: 8px;
  color: var(--text);
  opacity: 0.9;
  line-height: 1.35;
}

.filter-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  padding: 14px;
}

.label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 6px;
}

/* ===== Rang-Hierarchie ===== */
.rank-tree {
  position: relative;
  margin-top: 18px;
  padding-left: 22px;
}

/* Hauptlinie */
.rank-tree::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  opacity: 0.35;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.12)
  );
}

.rank-node {
  position: relative;
  margin: 14px 0;
  padding-left: 18px;
}

/* Connector von Linie zur Karte */
.rank-node::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 26px;
  width: 14px;
  height: 2px;
  opacity: 0.35;
  background: rgba(255, 255, 255, 0.55);
}

/* Punkt auf der Linie */
.rank-node::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.rank-card {
  border-radius: 14px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.rank-card:hover {
  border-radius: 14px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px var(--shadow);
  color: var(--primary);
}

.rank-card:hover ul {
  color: var(--text);
}

.rank-card ul {
  list-style: disc;
  color: var(--primary);
}

.rank-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.rank-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.rank-pay {
  font-size: 0.95rem;
  opacity: 0.85;
  white-space: nowrap;
}

.rank-card ul {
  margin: 0;
  padding-left: 18px;
}

.rank-card li {
  margin: 6px 0;
  opacity: 0.92;
}

/* Spezialkarten (Events/Chief) */
.rank-card--special {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Optische Abstufung: je niedriger der Rang, desto weiter eingerückt */
.lvl-12 {
  margin-left: 0px;
}
.lvl-11 {
  margin-left: 6px;
}
.lvl-10 {
  margin-left: 12px;
}
.lvl-9 {
  margin-left: 18px;
}
.lvl-8 {
  margin-left: 24px;
}
.lvl-7 {
  margin-left: 30px;
}
.lvl-6 {
  margin-left: 36px;
}
.lvl-5 {
  margin-left: 42px;
}
.lvl-4 {
  margin-left: 48px;
}
.lvl-3 {
  margin-left: 54px;
}
.lvl-2 {
  margin-left: 60px;
}
.lvl-1 {
  margin-left: 66px;
}

.lvl-special {
  margin-left: 28px;
}

/* Mobile: nicht zu weit einrücken */
@media (max-width: 560px) {
  .lvl-12,
  .lvl-11,
  .lvl-10,
  .lvl-9,
  .lvl-8,
  .lvl-7,
  .lvl-6,
  .lvl-5,
  .lvl-4,
  .lvl-3,
  .lvl-2,
  .lvl-1,
  .lvl-special {
    margin-left: 0 !important;
  }
  .rank-tree {
    padding-left: 18px;
  }
}

/* ===== ABOUT (Über Uns) Upgrade ===== */
.about-wrap {
  padding-top: 18px;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.about-kicker {
  opacity: 0.85;
  letter-spacing: 0.3px;
  margin: 0 0 8px 0;
}

.about-title {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 10px 0;
}

.about-subtitle {
  margin: 0 0 14px 0;
  opacity: 0.9;
  max-width: 62ch;
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 14px 0;
}

/* Buttons (nur für About-Seite) */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease,
    opacity 0.12s ease;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  opacity: 0.95;
}

.btn-primary:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.stat {
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__num {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.stat__label {
  opacity: 0.85;
  font-size: 0.95rem;
  margin-top: 4px;
}

.about-hero__panel {
  display: grid;
  gap: 12px;
}

.panel-card {
  border-radius: 16px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.panel-card--soft {
  background: rgba(255, 255, 255, 0.04);
}

.panel-card h3 {
  margin: 0 0 10px 0;
}

.checklist {
  margin: 0;
  padding-left: 18px;
}

.checklist li {
  margin: 7px 0;
  opacity: 0.92;
}

.about-section {
  margin-top: 22px;
}

.section-headline h2 {
  margin: 0 0 6px 0;
}

.section-headline .muted {
  margin: 0 0 12px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-card p {
  opacity: 0.92;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.95;
}

/* Partner */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.partner-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.partner-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.partner-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

.partner-name {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.partner-desc {
  opacity: 0.82;
  margin-top: 2px;
  font-size: 0.95rem;
}

/* ===== RP Flash: Timeline + CEO Quote ===== */

.timeline {
  position: relative;
  margin-top: 14px;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.1)
  );
  opacity: 0.35;
}

.tl-item {
  position: relative;
  margin: 14px 0;
  padding-left: 18px;
}

.tl-dot {
  position: absolute;
  left: 4px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.1),
    0 0 28px rgba(255, 255, 255, 0.1);
}

.tl-card {
  border-radius: 16px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.tl-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0.8;
}

.tl-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.tl-title {
  font-weight: 900;
  letter-spacing: 0.3px;
}

.tl-date {
  opacity: 0.85;
  font-size: 0.95rem;
  white-space: nowrap;
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* Quote */
.quote-wrap {
  position: relative;
  margin-top: 6px;
}

.quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 900;
  letter-spacing: 0.25px;
  margin-bottom: 10px;
}

.quote-card {
  margin: 0;
  border-radius: 18px;
  padding: 16px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.33);
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: -16px;
  left: 12px;
  font-size: 72px;
  opacity: 0.18;
  font-weight: 900;
}

.quote-text {
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 14px 0;
  letter-spacing: 0.15px;
}

.quote-footer {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.quote-name {
  font-weight: 900;
  letter-spacing: 0.25px;
}

.quote-role {
  margin-top: 2px;
}

/* Glow hinter dem Quote (Flashy) */
.quote-glow {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0) 55%
    ),
    radial-gradient(
      circle at 80% 40%,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0) 60%
    );
  filter: blur(10px);
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

/* Responsive */
@media (max-width: 920px) {
  .about-hero {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-thumb {
    width: 100%;
    height: 180px;
    border-right: none;
    border-bottom: 1px solid rgba(15, 185, 177, 0.18);
  }

  .calendar-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .music-widget {
    right: 12px;
    padding: 8px 10px;
    gap: 8px;
  }
  .music-slider-wrap {
    min-width: 120px;
  }
  .music-slider-wrap input[type="range"] {
    width: 90px;
  }
}

.statusbar {
  position: sticky;
  top: 72px;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin: 12px auto 0 auto;
  padding: 10px 12px;

  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.statusbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.statusbar-title {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.statusbar-sep {
  opacity: 0.55;
}

.statuschip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.95;
}

.statusbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.statusbar-clock {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
  letter-spacing: 0.3px;
  opacity: 0.95;
}

.statusbar-link {
  text-decoration: none;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.statusbar-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(130, 255, 170, 0.95);
  box-shadow: 0 0 0 4px rgba(130, 255, 170, 0.15);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(130, 255, 170, 0.15);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(130, 255, 170, 0.05);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(130, 255, 170, 0.15);
  }
}

/* ===== Prozess Timeline ===== */
.process {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;

  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);

  position: relative;
  overflow: hidden;
}

.process-step::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0.75;
}

.process-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.process-title {
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 4px;
}

.process-text {
  opacity: 0.88;
  line-height: 1.45;
}

/* ===== Dokumente / RP Verträge ===== */
.docs-shell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(15, 185, 177, 0.18);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.docs-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.docs-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(15, 185, 177, 0.22);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.docs-search-ico {
  opacity: 0.85;
}

.docs-search input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
}

.docs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.docs-chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 185, 177, 0.22);
  background: rgba(15, 185, 177, 0.06);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.docs-chip:hover {
  transform: translateY(-1px);
  background: rgba(15, 185, 177, 0.1);
  border-color: rgba(15, 185, 177, 0.38);
}

.docs-chip.is-active {
  background: rgba(15, 185, 177, 0.18);
  border-color: rgba(15, 185, 177, 0.55);
  box-shadow: 0 0 0 2px rgba(15, 185, 177, 0.12) inset;
}

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

.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 12px 12px;
  border-radius: 16px;
  text-decoration: none;

  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.7),
    rgba(15, 23, 42, 0.55)
  );
  border: 1px solid rgba(15, 185, 177, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
  position: relative;
  overflow: hidden;
}

.doc-row[data-level="internal"] {
  box-shadow: inset 0 0 0 1px rgba(255, 123, 123, 0.12);
}

.doc-row::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle at center,
    rgba(15, 185, 177, 0.14),
    rgba(15, 185, 177, 0) 60%
  );
  opacity: 0.6;
  pointer-events: none;
}

.doc-row:hover {
  transform: translateY(-2px);
  background: rgba(15, 185, 177, 0.06);
  border-color: rgba(15, 185, 177, 0.6);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.doc-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.doc-ico {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(15, 185, 177, 0.1);
  border: 1px solid rgba(15, 185, 177, 0.25);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.doc-meta {
  min-width: 0;
  text-align: left;
}

.doc-title {
  font-weight: 900;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-desc {
  opacity: 0.82;
  margin-top: 3px;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.doc-action {
  font-weight: 900;
  opacity: 0.92;
  color: var(--primary);
  text-shadow: 0 0 8px rgba(15, 185, 177, 0.18);
}

.doc-badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

/* Dokument-Badges */
.doc-badge.public {
  background: rgba(122, 162, 247, 0.14);
  color: #7aa2f7;
  border: 1px solid rgba(122, 162, 247, 0.35);
}

.doc-badge.partner {
  background: rgba(255, 211, 106, 0.14);
  color: #ffd36a;
  border: 1px solid rgba(255, 211, 106, 0.35);
}

.doc-badge.internal {
  background: rgba(255, 123, 123, 0.14);
  color: #ff7b7b;
  border: 1px solid rgba(255, 123, 123, 0.35);
}

@media (max-width: 720px) {
  .doc-right {
    display: none;
  }
  .doc-desc {
    white-space: normal;
  }
}

/* ===== RP Access Modal ===== */
.access-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.access-modal.is-open {
  display: block;
}

.access-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}

.access-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: min(560px, calc(100% - 28px));
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(15, 185, 177, 0.35);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  animation: accessPop 0.18s ease-out;
}

@keyframes accessPop {
  from {
    transform: translate(-50%, -50%) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.access-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle at center,
    rgba(15, 185, 177, 0.22),
    rgba(15, 185, 177, 0) 65%
  );
  opacity: 0.8;
  pointer-events: none;
}

.access-top {
  display: grid;
  grid-template-columns: 52px 1fr 40px;
  gap: 12px;
  align-items: center;
  padding: 14px 14px 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.access-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;

  background: rgba(15, 185, 177, 0.1);
  border: 1px solid rgba(15, 185, 177, 0.24);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.access-title {
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.access-sub {
  opacity: 0.8;
  margin-top: 2px;
  font-size: 0.95rem;
}

.access-x {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition:
    transform 0.14s ease,
    background 0.14s ease,
    border-color 0.14s ease;
}

.access-x:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.access-body {
  padding: 12px 14px 14px 14px;
}

.access-meta {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.access-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.access-label {
  opacity: 0.78;
  font-weight: 800;
}

.access-value {
  font-weight: 950;
  letter-spacing: 0.2px;
  text-align: right;
}

.access-hint {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(15, 185, 177, 0.08);
  border: 1px solid rgba(15, 185, 177, 0.18);
  opacity: 0.95;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.access-btn {
  padding: 12px 16px;
  border-radius: 14px;
}

.access-btn-ghost {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
}

.access-code {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.access-code-title {
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.access-code-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.access-code-row input {
  flex: 1 1 240px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.access-code-msg {
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.doc-action.locked {
  color: #ff7b7b;
  font-weight: 600;
}

.doc-action.unlocked {
  color: #3aff9e;
  font-weight: 700;
}

.doc-action.is-locked {
  color: rgba(255, 120, 120, 0.95);
  text-shadow: 0 0 10px rgba(255, 120, 120, 0.18);
}

.doc-action.is-unlocked {
  color: rgba(130, 255, 170, 0.95);
  text-shadow: 0 0 10px rgba(130, 255, 170, 0.16);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 185, 177, 0.25);
  background: rgba(255, 255, 255, 0.03);
  object-fit: cover;
}
.brand-name {
  font-weight: 900;
  color: var(--primary);
}
.brand-tag {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.9;
}
@media (max-width: 768px) {
  .brand-tag {
    display: none;
  }
}

.hero-facts {
  margin: 26px auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.hero-facts .fact {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(15, 185, 177, 0.18);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}
.hero-facts strong {
  display: block;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 4px;
}
.hero-facts span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.process-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(15, 185, 177, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: left;
  position: relative;
}
.process-card .step {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #000;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  margin-bottom: 10px;
}
.process-card h3 {
  margin: 0 0 8px;
}
.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

select {
  background-color: #0b1220 !important;
  color: #e6e6e6 !important;
  border: 1px solid rgba(15, 185, 177, 0.35);
  border-radius: 12px;
}

select option {
  background-color: #0b1220 !important;
  color: #e6e6e6 !important;
}

select option:hover,
select option:checked {
  background-color: #008080 !important;
  color: #000 !important;
}

select option:disabled {
  color: #94a3b8 !important;
}

select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 128, 128, 0.35);
}

#liveReviewPopup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #111;
  padding: 15px;
  border-radius: 10px;
  display: none;
  z-index: 9999;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.trust-grid div {
  background: #151515;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.site-credit {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  /* margin: 40px 0 10px 0; */
  letter-spacing: 0.4px;
  opacity: 15%;
}

.site-credit .heart {
  color: #ff4d6d;
  margin: 0 4px;
}

.site-credit .credit-name {
  color: #0fb9b1;
  font-weight: 500;
}
