:root {
  --bg:      #12131f;
  --surface: #1e2035;
  --card:    #252843;
  --pill:    #2e3255;
  --accent:  #a78bfa;
  --accent2: #7c3aed;
  --white:   #ffffff;
  --muted:   #6b7280;
  --border:  rgba(255,255,255,0.07);
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

.hintergrund_blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}
.blob1 { width: 400px; height: 400px; background: #4f46e5; bottom: -150px; right: -100px; animation-delay: -5s; }
.blob2 { width: 300px; height: 300px; background: #a78bfa; top: 40%; left: 60%; animation-delay: -3s; }

#startscreen {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 100;
  gap: 28px;
  animation: fadeIn .6s ease forwards;
}

#startscreen .Logo {
  height: clamp(320px, 18vw, 220px);
  width: auto;
  object-fit: contain;
  animation: slideDown .7s cubic-bezier(.16,1,.3,1) .1s both,
             logoFloatDisc 5s ease-in-out 1s infinite;
}

.startscreen_untertitel {
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  max-width: 440px;
  line-height: 1.7;
  animation: slideDown .7s cubic-bezier(.16,1,.3,1) .25s both;
}

.disclaimer_box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 30px;
  max-width: 480px;
  font-size: 13.5px;
  color: #8b8fa8;
  line-height: 1.75;
  text-align: center;
  animation: slideDown .7s cubic-bezier(.16,1,.3,1) .4s both;
}
.disclaimer_box strong { color: var(--accent); }

.start_button {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  padding: 14px 52px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border: none; border-radius: 50px;
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(124,58,237,0.4);
  transition: transform .15s, box-shadow .15s;
  animation: slideDown .7s cubic-bezier(.16,1,.3,1) .55s both,
             pulse 2.5s ease-in-out 1.5s infinite;
}
.start_button:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 42px rgba(167,139,250,0.55);
}
.start_button:active { transform: scale(0.97); }

#app {
  display: none;
  min-height: 100vh;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#app.visible { display: flex; }

.Logo_wrapper {
  position: fixed; top: 28px; left: 36px;
  animation: slideRight .8s cubic-bezier(.16,1,.3,1) both;
}
.Logo_wrapper .Logo {
  height: clamp(90px, 13vw, 260px);
  width: auto;
  display: block;
  object-fit: contain;
  animation: logoFloat 5s ease-in-out infinite;
}

.beichten_anzeige {
  position: fixed; top: 36px; right: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  animation: fadeIn .6s .4s both;
}
.beichten_anzeige span { color: var(--accent); }

.beichten_container_wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 960px;
  padding: 0 24px;
  animation: slideUp .8s cubic-bezier(.16,1,.3,1) .2s both;
}

.pfeil_button {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s, box-shadow .2s;
  color: var(--white);
}
.pfeil_button:hover:not(:disabled) {
  background: var(--pill);
  transform: scale(1.12);
  box-shadow: 0 0 24px rgba(167,139,250,0.3);
}
.pfeil_button:active:not(:disabled) { transform: scale(0.93); }
.pfeil_button:disabled { opacity: 0.25; cursor: default; }
.pfeil_button svg { width: 24px; height: 24px; }

.beichten_container {
  flex: 1;
  position: relative;
}

.beichten_pill {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pill);
  border-radius: 50px;
  padding: 11px 40px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--white);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 2;
}

.beichten_body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  min-height: 400px;
  padding: 72px 56px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.beichten_body::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(167,139,250,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.beichten_body::after {
  content: '"';
  position: absolute;
  font-family: Georgia, serif;
  font-size: 200px;
  color: rgba(167,139,250,0.06);
  top: -20px; left: 10px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.beichten_text {
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--white);
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.beichten_text.anim_raus      { animation: swipeOut .25s ease forwards; }
.beichten_text.anim_rein      { animation: swipeIn .35s cubic-bezier(.16,1,.3,1) forwards; }
.beichten_text.anim_raus_r    { animation: swipeOutRight .25s ease forwards; }
.beichten_text.anim_rein_r    { animation: swipeInRight .35s cubic-bezier(.16,1,.3,1) forwards; }
.beichten_text.verschwommen   { user-select: none; pointer-events: none;}

#warn_layer {
  position: absolute;
  inset: 0;
  background: rgba(30, 32, 53, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  border-radius: 20px;
  transition: background 0.3s;
}

#warn_layer:hover {
  background: rgba(30, 32, 53, 0.9);
}

.warn_content {
  text-align: center;
  padding: 20px;
}

.warn_icon {
  font-size: 40px;
  margin-bottom: 10px;
}

#warn_message {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 5px;
}

.warn_content small {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.punkte {
  display: flex; gap: 8px;
  margin-top: 20px; justify-content: center;
}
.punkt {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
  transition: background .3s, transform .3s;
}
.punkt.aktiv {
  background: var(--accent);
  transform: scale(1.4);
}

.copyright_werbung {
  position: fixed; bottom: 20px;
  font-size: 12px; color: var(--muted);
  letter-spacing: 1px;
  animation: fadeIn .6s .6s both;
}

#ueberblendung {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 50;
  pointer-events: none;
  opacity: 0;
}
#ueberblendung.aktiv { animation: fadeScreen .5s ease forwards; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}
@keyframes logoFloat {
  0%   { transform: translateY(0px) rotate(-1deg); }
  50%  { transform: translateY(-8px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(-1deg); }
}
@keyframes logoFloatDisc {
  0%   { transform: translateY(0px) scale(1); }
  50%  { transform: translateY(-10px) scale(1.015); }
  100% { transform: translateY(0px) scale(1); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(124,58,237,0.4); }
  50%       { box-shadow: 0 8px 48px rgba(167,139,250,0.65); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes swipeOut {
  to { opacity: 0; transform: translateX(-40px); }
}
@keyframes swipeIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes swipeOutRight {
  to { opacity: 0; transform: translateX(40px); }
}
@keyframes swipeInRight {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeScreen {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0; }
}
