:root {
  --bg: #0b0f15;
  --text: #e9eef6;
  --muted: #9fb0c2;
  --accent: #4d8de0;
  --border: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.06);
  --blur: 14px;
}
html,
body {
  height: 100%;
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 600px at 15% -10%, #132032, #0b0f15 50%),
    radial-gradient(
      900px 400px at 100% 10%,
      rgba(77, 141, 224, 0.18),
      transparent 60%
    );
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.wrapper {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    rgba(10, 12, 16, 0.55),
    rgba(10, 12, 16, 0.25),
    transparent
  );
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(77, 141, 224, 0.8),
    0 0 8px rgba(77, 141, 224, 0.8) inset;
}
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.btn,
.chip {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  color: var(--text);
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.3s ease;
  touch-action: manipulation;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(77, 141, 224, 0.15) inset;
  border-color: rgba(77, 141, 224, 0.35);
}
.btn.acc {
  background: linear-gradient(
    180deg,
    rgba(77, 141, 224, 0.25),
    rgba(77, 141, 224, 0.15)
  );
  border-color: rgba(77, 141, 224, 0.55);
}
.chip {
  font-size: 12px;
  opacity: 0.9;
}
.hero {
  position: relative;
  display: grid;
  place-items: center;
  padding: 64px 20px 32px;
}
.hero-inner {
  width: min(1080px, 94vw);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.coming-soon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(
    135deg,
    rgba(77, 141, 224, 0.3),
    rgba(120, 180, 255, 0.2)
  );
  border: 1px solid rgba(77, 141, 224, 0.5);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: white;
  box-shadow: 0 0 16px rgba(77, 141, 224, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(77, 141, 224, 0.3);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 24px rgba(77, 141, 224, 0.5);
    opacity: 0.9;
  }
}

.card.coming-soon {
  position: relative;
}
.card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--glass), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.hero-copy {
  padding: 26px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(77, 141, 224, 0.9);
}
h1 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.12;
}
.sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}
.hero-cta {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.visual {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 280px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.visual-inner {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 26px;
}
.gradient-orb {
  position: absolute;
  inset: -20%;
  background: radial-gradient(
      600px 300px at 20% 10%,
      rgba(77, 141, 224, 0.14),
      transparent 60%
    ),
    radial-gradient(
      500px 260px at 80% 30%,
      rgba(120, 180, 255, 0.1),
      transparent 60%
    ),
    radial-gradient(
      700px 360px at 50% 90%,
      rgba(255, 140, 200, 0.08),
      transparent 70%
    );
  filter: blur(30px);
  transform: translateZ(0);
  animation: float 14s ease-in-out infinite;
  contain: content;
  will-change: transform;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-12px) translateX(8px);
  }
}
.section {
  padding: 30px 20px;
}
.container {
  width: min(1080px, 94vw);
  margin: 0 auto;
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.tile {
  position: relative;
  overflow: hidden;
  padding: 20px;
  transform: translateY(12px);
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.tile h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.tile p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: linear-gradient(
    180deg,
    rgba(77, 141, 224, 0.25),
    rgba(77, 141, 224, 0.08)
  );
  border: 1px solid rgba(77, 141, 224, 0.45);
  box-shadow: 0 6px 18px rgba(77, 141, 224, 0.18) inset,
    0 4px 14px rgba(0, 0, 0, 0.35);
}
.faq {
  margin-top: 8px;
}
.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
  padding: 14px 16px;
}
.faq-q button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  cursor: pointer;
}
.faq-q h4 {
  margin: 0;
  font-size: 14px;
}
.faq-a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a {
  max-height: 400px;
}
.footer {
  padding: 28px 20px 40px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}
.tile:hover {
  border-color: rgba(77, 141, 224, 0.35);
}
.btn:active {
  transform: translateY(0);
}
.btn::after,
.btnsupport::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.25);
  width: 0;
  height: 0;
  border-radius: 50%;
  left: var(--ripple-x, 50%);
  top: var(--ripple-y, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.35s, height 0.35s, opacity 0.4s;
  pointer-events: none;
}

.btn:active::after,
.btnsupport:active::after {
  width: 140px;
  height: 140px;
  opacity: 0.6;
}

/* Support button variant (design copied from template) */
.btnsupport {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  padding: 7px 14px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btnsupport:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btnsupport:active {
  transform: scale(0.97);
}

/* Login variant */
.btn.login {
  background: linear-gradient(
    180deg,
    rgba(77, 141, 224, 0.25),
    rgba(77, 141, 224, 0.15)
  );
  padding: 7px 14px;
  color: white;
  border-color: rgba(77, 141, 224, 0.55);
}
.parallax-hover {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* MOBILE RESPONSIVE */

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Hero Cards (Bot einladen & Support) - normale Größe auf Mobile */
  .hero-inner .card.hero-copy {
    width: 100% !important;
    max-width: 400px !important; /* Begrenzt die Breite */
    min-width: unset !important;
    flex: unset !important;
  }

  /* RP-Info Card oben - darf breiter sein */
  #rp-info .card {
    width: 100%;
    max-width: 380px;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
    justify-items: center;
  }

  .grid .tile {
    width: 100%;
    max-width: 400px; /* Gleiche Breite wie Hero Cards */
  }

  .hero-copy {
    padding: 16px;
  }

  .container {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .hero {
    padding: 32px 16px;
  }

  h1 {
    font-size: 26px;
  }
  .sub {
    font-size: 13px;
  }
  .tile h3 {
    font-size: 15px;
  }
  .tile p {
    font-size: 12px;
  }
  .btn,
  .chip {
    padding: 8px 12px;
    font-size: 13px;
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 32px 20px;
  }

  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }

  .hero-inner > .card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    flex: unset !important;
    margin: 0 !important;
  }
}
@media (max-width: 900px) {
  #rp-info .container {
    max-width: 380px;
    margin: 0 auto;
    padding: 0 16px;
  }
}
