/* Base */
:root {
  --bg: #0a0f1a;
  --bg-2: #0d1324;
  --bg-3: #101735;
  --text: #e6ebf5;
  --muted: #a9b3c9;
  --primary: #6cf0ff;
  --primary-2: #b06cff;
  --accent: #ff3b9b;
  --success: #5cf29b;
  --warning: #ffd166;
  --danger: #ff6b6b;
  --card: #111827;
  --border: #24324f;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box }
html, body { height: 100% }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  line-height: 1.6;
}

/* Accessibility */
.skip-link {
  position: absolute; left: -999px; top: -999px;
}
.skip-link:focus {
  left: 1rem; top: 1rem;
  background: var(--primary-2); color: #fff;
  padding: .5rem .75rem; border-radius: .5rem;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #1a1a1a;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex; align-items: center; gap: 1rem;
  min-height: 64px;
}
.brand-text {
  font-weight: 800; letter-spacing: .08em;
  color: var(--primary);
}
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: transparent; color: var(--text);
  border-radius: .5rem;
}
.nav-toggle-bar {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: var(--text);
}
.nav-list {
  display: flex; gap: .5rem; margin-left: auto;
  list-style: none; padding: 0; margin: 0;
}
.nav-link {
  display: inline-block;
  padding: .6rem .9rem;
  color: var(--text); text-decoration: none;
  border-radius: .5rem;
  transition: 150ms ease;
}
.nav-link:hover { background: var(--bg-3) }
.nav-link.is-active { color: var(--primary) }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; margin-left: auto }
  .nav-list {
    position: absolute; right: 1rem; top: 64px;
    display: none; flex-direction: column;
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: .75rem; box-shadow: var(--shadow);
    padding: .5rem; width: min(320px, calc(100% - 2rem));
  }
  .nav-list.is-open { display: flex }
  .nav-link { padding: .75rem 1rem }
}

/* Hero */
.hero {
  position: relative;
  min-height: 60vh;
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-inner {
  padding: 4rem 1rem;
}
.hero-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 .5rem 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle {
  color: var(--muted);
  max-width: 720px; margin: 0 auto 1.5rem;
}
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap }

.hero-bg {
  position: absolute; inset: -20% -10% auto -10%;
  height: 140%;
  background:
    radial-gradient(1200px 400px at 50% 110%, rgba(108,240,255,0.12), transparent 60%),
    radial-gradient(800px 300px at 20% 0%, rgba(176,108,255,0.12), transparent 55%),
    radial-gradient(800px 300px at 80% 0%, rgba(255,59,155,0.10), transparent 55%);
  z-index: -1;
}

/* Sections */
.section { padding: 3rem 0 }
.section-contrast { background: var(--bg-3) }
.section-muted { background: #0f1426 }
.section-header { margin-bottom: 1.25rem }
.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 .25rem 0;
}
.section-desc { color: var(--muted); margin: 0 }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) {
  .card-grid { grid-template-columns: 1fr }
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.card-title { margin: 0; font-size: 1.1rem }
.badge {
  display: inline-block;
  padding: .25rem .5rem; border-radius: .5rem;
  font-size: .85rem; color: #0a0f1a; background: var(--primary);
}
.badge-hot { background: var(--accent); color: #0a0f1a }
.card-text { color: var(--muted) }
.card-meta {
  display: flex; flex-wrap: wrap; gap: .75rem; margin: .5rem 0 1rem;
  color: var(--muted);
}
.meta-item { display: inline-flex; gap: .35rem; align-items: baseline }

.card-actions { display: flex; gap: .5rem; flex-wrap: wrap }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1rem; border-radius: .6rem;
  border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: 150ms ease; box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px) }
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  border-color: transparent; color: #0a0f1a; font-weight: 700;
}
.btn-secondary {
  background: #131a2e;
}
.btn-outline {
  background: transparent;
}

/* Radio */
.radio-wrap {
  display: grid; 
  grid-template-columns: 1.3fr .7fr; 
  gap: 1rem;
}
@media (max-width: 900px) {
  .radio-wrap { grid-template-columns: 1fr }
}

.radio-player {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: 1rem;
  box-shadow: 
    var(--shadow), 
    0 0 15px rgba(108, 240, 255, 0.4), 
    0 0 25px rgba(176, 108, 255, 0.2); 
  position: relative; 
  overflow: hidden;
}

.audio { width: 100% }

/* Konsolidierte und Korrigierte Radio Visualizer Stile */
.btn-play {
    /* Anpassung, um die Akzentfarbe zu nutzen, aber die Farbe ff0070 beizubehalten */
    background-color: var(--accent); 
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}
.controls-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.progress-wrap {
    flex-grow: 1;
}
.volume-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}
.volume-slider {
    width: 80px;
}
.radio-visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    /* KORREKTUR 1: Höhe für Visualizer-Container */
    height: 100px; 
    padding-bottom: 10px; 
    /* Alte stilisierung des containers entfernt */
    border: none; 
    border-radius: 0;
    opacity: 1;
}
.radio-visualizer .bar {
    width: 5px;
    background-color: var(--accent); /* Hintergrundfarbe auf Akzentfarbe eingestellt */
    height: 5px;
    animation: none;
    border-radius: 2px;
    transform-origin: bottom;
}

.radio-player.is-playing ~ .radio-visualizer .bar {
    animation: beat 0.5s infinite alternate;
}

.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(1) { animation-delay: 0s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(2) { animation-delay: -0.4s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(3) { animation-delay: -0.2s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(4) { animation-delay: -0.6s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(5) { animation-delay: -0.1s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(6) { animation-delay: -0.3s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(7) { animation-delay: -0.5s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(8) { animation-delay: -0.25s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(9) { animation-delay: -0.45s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(10) { animation-delay: -0.15s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(11) { animation-delay: -0.35s; }
.radio-player.is-playing ~ .radio-visualizer .bar:nth-child(12) { animation-delay: -0.55s; }

/* KORREKTUR 2: HÖCHSTER SKALIERUNGSWERT AUF 20 ERHÖHT (100px / 5px = 20) */
@keyframes beat {
    0% { transform: scaleY(0.2); }
    100% { transform: scaleY(20); } 
}

/* Entfernung des unsichtbaren Song-Info-Elements */
.meta-row {
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
/* Ende der konsolidierten Radio Stile */

/* Split */
.section-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
@media (max-width: 900px) {
  .section-split { grid-template-columns: 1fr }
}
.split-item { background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: 1rem }

/* Feature list */
.feature-list { margin: 1rem 0 0; padding: 0; list-style: none }
.feature-list li { margin-bottom: .5rem }

/* Testimonials */
.testimonials { display: grid; gap: .75rem }
.quote {
  margin: 0; padding: 1rem; border-left: 3px solid var(--primary-2);
  background: #121a2c; border-radius: .5rem;
}
.quote cite { display: block; margin-top: .5rem; color: var(--muted); font-style: normal }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 10px;
    margin-top: 30px;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr }
}
.stat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: .75rem; padding: 1rem; box-shadow: var(--shadow);
  display: grid; gap: .25rem;
}
.stat-label { color: var(--muted) }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--primary) }

/* Join */
.join-steps {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem;
}
@media (max-width: 900px) {
  .join-steps { grid-template-columns: 1fr }
}
.step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: .75rem; padding: 1rem; box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: center;
}
.step-index {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #0a0f1a; font-weight: 800;
}
.cta-row { display: flex; gap: .75rem; margin-top: 1rem; flex-wrap: wrap }

/* Footer */
.site-footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 1rem; align-items: start;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr }
}
.footer-title { margin: 0 0 .25rem }
.footer-text { color: var(--muted); margin: 0 0 .75rem }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem }
.footer-links a { color: var(--text); text-decoration: none }
.footer-links a:hover { color: var(--primary) }
.footer-meta { color: var(--muted) }
.footer-meta .dot { margin: 0 .5rem }


/* UNBENÖTIGTE KEYFRAMES ENTFERNT! */


/* Gender-Auswahl-Container - KORRIGIERTE VARIABLEN */
.form-group-gender {
    text-align: center;
}

.gender-selection {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.gender-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
    /* Verwende var(--card) oder rgba mit var(--bg) */
    background-color: var(--card); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gender-option:hover {
    border-color: var(--accent);
}

.gender-option input[type="radio"] {
    margin-top: 10px;
    margin-bottom: 5px;
    transform: scale(1.2);
    accent-color: var(--primary); /* Korrigiert auf existierende Variable */
}

.gender-option span {
    font-size: 1rem;
    color: var(--muted); /* Korrigiert auf existierende Variable */
    transition: color 0.3s ease;
}

.gender-option input[type="radio"]:checked + img + span {
    font-weight: bold;
    color: var(--primary);
}

.gender-option img {
    border-radius: 5px;
    margin-bottom: 5px;
    max-width: 150px;
    height: auto;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.social-share-buttons {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    justify-content: center; /* Zentrierung unter dem Haupt-Button */
}

.share-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: background-color 0.2s;
    text-decoration: none;
    line-height: 1; /* Wichtig für die Zentrierung des Icons */
}

.share-facebook {
    background-color: #1877f2;
}
.share-facebook:hover {
    background-color: #166fe5;
}

.share-twitter {
    background-color: #1da1f2;
}
.share-twitter:hover {
    background-color: #1a94e6;
}

.share-whatsapp {
    background-color: #25d366;
}
.share-whatsapp:hover {
    background-color: #1ebe59;
}

.card-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: auto; /* Buttons nach unten drücken */
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* CSS für Social Sharing Buttons (Seite teilen) */
        .social-share-container {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            text-align: center;
        }

        .social-share-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 15px;
        }

        .share-btn {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            color: white;
            font-size: 24px;
            transition: background-color 0.2s, transform 0.2s;
            text-decoration: none;
            line-height: 1; 
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        }

        .share-facebook {
            background-color: #1877f2;
        }
        .share-facebook:hover {
            background-color: #166fe5;
            transform: scale(1.05);
        }

        .share-twitter {
            background-color: #1da1f2;
        }
        .share-twitter:hover {
            background-color: #1a94e6;
            transform: scale(1.05);
        }

        .share-whatsapp {
            background-color: #25d366;
        }
        .share-whatsapp:hover {
            background-color: #1ebe59;
            transform: scale(1.05);
        }
        
        /* Anpassungen für die CTA-Reihe in #join */
        .cta-row {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }