/*
==================================================
  1. FONTS & GRUNDEINSTELLUNGEN (VARIABLES)
==================================================
*/

/* inter-300 - normal */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v19-latin-300.woff2') format('woff2');
}
/* inter-600 - semibold */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v19-latin-600.woff2') format('woff2');
}
/* inter-800 - extrabold */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v19-latin-800.woff2') format('woff2');
}

:root {
    --bg-color: #050505;
    --text-primary: #e0e0e0;
    --text-secondary: #888;
    --accent-color: #a3ff00;
    --card-bg-color: #1a1a1a;
    --border-color: #2a2a2a;
    --font-family: 'Inter', sans-serif;
    --container-width: 1200px;
}

/*
==================================================
  2. GLOBALE STILE & RESETS
==================================================
*/

*, *::before, *::after {
    box-sizing: border-box;
}
body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    margin: 0;
    
    /* --- NEUE LAYOUT-LOGIK MIT CSS GRID --- */
    min-height: 100vh; /* Mindestens so hoch wie der Bildschirm */
    display: grid;
    grid-template-rows: auto 1fr auto; /* Header: auto hoch, Inhalt: füllt den Rest (1fr), Footer: auto hoch */
    grid-template-columns: 100%; /* Die Seite soll die volle Breite einnehmen */
}

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--text-primary);
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 800;
}

/*
==================================================
  3. LAYOUT & HELPER-KLASSEN
==================================================
*/

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.content {
    flex-grow: 1; /* Erlaubt dem Hauptinhalt, sich auszudehnen */
    display: flex; /* Macht den Container selbst zur Flexbox */
    flex-direction: column; /* Stapelt die Seiten-Divs übereinander */
}

.hidden {
    display: none !important;
}

/* Stile für den Admin-Bereich */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.admin-table th, .admin-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.admin-table th {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
}
.admin-table tbody tr:hover {
    background-color: var(--card-bg-color);
}
.admin-input, .admin-select {
    background-color: var(--border-color);
    color: var(--text-primary);
    border: 1px solid #444;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    width: 100%;
}
.admin-actions {
    display: flex;
    gap: 0.5rem;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}
.admin-tab-link {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.admin-tab-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}
.admin-input.wide { width: 300px; }
.admin-input.small { width: 60px; }

.btn-admin-action {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-admin-action:hover {
    opacity: 1;
    transform: scale(1.2);
}
.btn-admin-action.delete:hover {
    color: #F44336;
}

.background-gradient {
    position: fixed;
    bottom: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 150vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(163, 255, 0, 0.1), transparent 60%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.social-btn img { /* Ziel das img-Tag im .social-btn */
    width: 24px;  /* Oder deine gewünschte Breite */
    height: 24px; /* Oder deine gewünschte Höhe */
    /* fill: var(--text-primary); <-- 'fill' funktioniert nur bei SVGs, nicht bei PNGs.
                                       Wenn dein PNG nicht die richtige Farbe hat, musst du es
                                       ggf. in der passenden Farbe erstellen oder CSS-Filter verwenden (komplexer).
                                       Bei SVGs kannst du 'fill: currentColor;' setzen, damit es die Textfarbe annimmt.
    */
    display: block; /* Manchmal nützlich, um unerwünschte Abstände unter dem Bild zu vermeiden */
}
/*
==================================================
  4. KOMPONENTEN
==================================================
*/

/* --- 4.1 Buttons --- */
.btn {
    position: relative;
    overflow: hidden;
}

.btn.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    font-weight: 600;
    transition: transform 0.2s;
}
.btn.btn-primary:hover {
    transform: scale(1.05);
}

.btn.btn-secondary {
    background-color: var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s;
}
.btn.btn-secondary:hover {
    background-color: #333;
    color: var(--text-primary);
}

.stream-btn {
    background-color: var(--border-color);
    color: var(--text-primary);
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.stream-btn svg {
    width: 16px;
    height: 16px;
}
.stream-btn:hover {
    background-color: var(--accent-color);
    color: #000;
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
}
.feature-btn svg {
    width: 24px;
    height: 24px;
}

.auth-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.btn-text-danger {
    background: none;
    border: none;
    color: #F44336;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    padding: 0;
}
.btn-text-danger:hover {
    color: #D32F2F;
}

/* --- 4.2 Karten & Grids (Allgemeine Stile) --- */
/* Die folgenden Klassen teilen ähnliche Basis-Stile (Hintergrund, Rahmen, Radius) */
.station-card,
.stream-card,
.feature-item,
.team-member,
.partner-card,
.stat-item,
.rank-item,
.settings-card,
.auth-form input,
.social-btn {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.station-card {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Für Ripple-Effekt */
}
.station-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(163, 255, 0, 0.2);
}
.station-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
/* Weitere .station-card Stile sind im Abschnitt "5.2 Hauptinhalt" */

/* --- 4.3 Formulare & Inputs --- */
/* --- in 4.3 Formulare & Inputs --- */
.auth-form { /* NEUE DEFINITION HIER */
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* Sorgt für den Abstand zwischen den Feldern */
}

.auth-form .form-group {
    /* margin-bottom: 1.25rem;  <-- DIESE ZEILE KANN WEG */
    text-align: left;
}
/* ... restliche Formular-Stile bleiben gleich ... */
.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.auth-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    border-radius: 8px; /* Überschreibt den Basis-Karten-Radius */
}
.auth-form input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(163, 255, 0, 0.2);
}
.form-error {
    background-color: rgba(211, 47, 47, 0.1);
    border: 1px solid #D32F2F;
    color: #F44336;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.form-error.hidden {
    display: none;
}

/* --- 4.4 Player-Leiste (konsolidiert) --- */
.player-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 100;
    visibility: hidden;
}
.player-bar.visible {
    bottom: 0;
    visibility: visible;
}
.player-bar-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
    height: 90px;
}
/* Linke Gruppe: Song-Info */
.player-group-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
#player-bar-cover {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.player-bar-info {
    min-width: 0;
    overflow: hidden;
}
.player-bar-info p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#player-bar-title {
    font-weight: 600;
}
#player-bar-artist {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.player-bar-station-name {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.25rem;
    text-transform: uppercase;
    opacity: 0.7;
}
/* Mittlere Gruppe: Steuerung & Fortschritt */
.player-group-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}
.player-controls-main {
    margin-bottom: 0.25rem;
}
.control-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
}
.control-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.player-progress-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 450px;
}
.progress-bar-wrapper {
    flex-grow: 1;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}
.progress-bar { /* Allgemeiner Fortschrittsbalken */
    height: 100%;
    width: 0%;
    background-color: var(--accent-color);
    border-radius: 5px;
    transition: width 0.5s ease;
}
#progress-time-current,
#progress-time-duration {
    font-size: 0.8rem;
    color: var(--text-secondary);
    min-width: 35px;
    text-align: center;
}
/* Rechte Gruppe: Equalizer & Lautstärke */
.player-group-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}
.equalizer {
    display: flex;
    align-items: flex-end;
    height: 24px;
    width: 28px;
    gap: 3px;
}
.equalizer span {
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
    animation: bounce 1.2s infinite ease-in-out;
    animation-play-state: paused;
}
.player-bar.playing .equalizer span {
    animation-play-state: running;
}
.player-bar.playing .equalizer span:nth-child(2) { animation-delay: -1.0s; }
.player-bar.playing .equalizer span:nth-child(3) { animation-delay: -0.8s; }
.player-bar.playing .equalizer span:nth-child(4) { animation-delay: -0.6s; }
.player-bar.playing .equalizer span:nth-child(5) { animation-delay: -0.4s; }
.volume-container {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}
#player-bar-volume {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 5px;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(to right,
        var(--accent-color) 0%,
        var(--accent-color) var(--volume-progress, 25%),
        rgba(255, 255, 255, 0.2) var(--volume-progress, 25%),
        rgba(255, 255, 255, 0.2) 100%
    );
}
#player-bar-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--text-primary);
    border-radius: 50%;
    border: none;
    transition: transform 0.2s;
}
#player-bar-volume:hover::-webkit-slider-thumb {
    transform: scale(1.2);
}
#player-bar-volume::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--text-primary);
    border-radius: 50%;
    border: none;
    transition: transform 0.2s;
}
#player-bar-volume:hover::-moz-range-thumb {
    transform: scale(1.2);
}
#player-bar-volume::-moz-range-progress {
    background-color: var(--accent-color);
    height: 5px;
    border-radius: 5px;
}

/* --- 4.5 Benachrichtigungen & Popups --- */
.toast-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 101;
    opacity: 0;
    transition: opacity 0.3s, top 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.toast-notification.visible {
    opacity: 1;
    top: 2rem;
}
.toast-notification.success {
    background-color: var(--accent-color);
    color: #000;
}
.toast-notification.error {
    background-color: #D32F2F;
    color: #fff;
}
.copy-feedback {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, bottom 0.3s;
}
.copy-feedback.visible {
    opacity: 1;
    visibility: visible;
    bottom: 120px;
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    z-index: 200;
    border-top: 1px solid var(--border-color);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.cookie-banner.visible {
    transform: translateY(0);
}
.cookie-banner-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}
.cookie-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    max-width: 800px;
}
.cookie-text a {
    color: var(--text-primary);
    text-decoration: underline;
}
.cookie-actions {
    display: flex;
    gap: 1rem;
}

/* --- 4.6 Effekte & Ladeanimationen --- */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
}
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    background-color: rgba(255, 255, 255, 0.7);
}

/*
==================================================
  5. SEITEN-SPEZIFISCHE STILE
==================================================
*/

/* --- 5.1 Header & Navigation --- */
#main-content {
    flex-grow: 1;
}

.main-header {
    padding: 2rem 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.8), transparent);
    position: sticky;
    top: 0;
    z-index: 10;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.25rem;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-link {
    cursor: pointer;
}
.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

/* --- 5.2 Hauptinhalt (Sender-Gruppen & Karten) --- */
.station-group {
    margin-bottom: 4rem;
}
.group-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.station-card-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
}
.station-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.station-card:hover .station-card-image-wrapper img {
    transform: scale(1.08);
}
.station-card-play {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%) scale(0.8);
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #000;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 2;
}
.station-card:hover .station-card-play {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}
.station-card-play svg {
    width: 24px;
    height: 24px;
    margin-left: 2px;
}
.station-card-info {
    padding: 1rem;
}
.station-card-name {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.station-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.station-card-artist {
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.25rem;
}

/* --- 5.3 Footer --- */
.main-footer {
    padding: 4rem 0;
    background-color: #080808;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-about p {
    color: var(--text-secondary);
    line-height: 1.6;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-links h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* --- 5.4 Generische Inhaltsseite (z.B. Impressum) --- */
.page-content {
    background-color: var(--card-bg-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 4rem;
    opacity: 1;
    transition: opacity 0.4s ease-in-out, visibility 0s linear 0s; /* Visibility-Transition für sauberes Ausblenden */
    visibility: visible;
    position: relative; /* ODER static, je nachdem was besser passt. Relative ist oft sicherer. */
}
.page-content.hidden {
    opacity: 0;
    /* position: absolute; */ /* AUSKOMMENTIEREN/ENTFERNEN */
    pointer-events: none;
    /* Behalte display: none !important; aus den globalen Stilen, falls es existiert und genutzt wird,
       oder nutze visibility: hidden; hier, wenn du Transitions bevorzugst. */
}
.page-content h1, .page-content h2 {
    margin-bottom: 1rem;
}
.page-content p {
    line-height: 1.6;
    color: var(--text-secondary);
}

/* --- 5.5 Streams-Seite --- */
.stream-list {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}
.stream-card {
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.stream-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(163, 255, 0, 0.15);
}
.stream-info {
    flex-grow: 1;
}
.stream-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}
.stream-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}
.stream-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* --- 5.6 Feature-Seiten --- */
.feature-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 3rem;
}
.feature-header-text {
    max-width: 700px;
}
.feature-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.feature-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.feature-item {
    padding: 1.5rem;
}
.feature-item h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}
.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- 5.7 "Über uns"-Seite --- */
.about-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
}
.about-section {
    margin-bottom: 3rem;
}
.about-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}
.about-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.team-member {
    text-align: center;
    background-color: transparent; /* Überschreibt Basis-Kartenstil */
    border: none;
}
.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--border-color);
}
.team-member h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.team-member p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- 5.8 Partner-Seite --- */
.partner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
.partner-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
}
.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}
.partner-logo {
    max-height: 100%;
    max-width: 250px;
    object-fit: contain;
    filter: grayscale(1) brightness(0.8);
    transition: filter 0.3s;
}
.partner-logo-link:hover .partner-logo {
    filter: none;
}
.partner-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}
.partner-category {
    display: inline-block;
    background-color: var(--border-color);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.75rem 0;
    text-transform: uppercase;
}
.partner-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* --- 5.9 Auth-Seiten (Login & Registrierung) --- */
.auth-page {
    /* Wichtig für die vertikale Zentrierung */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* Nimmt den verfügbaren Platz im Grid-Layout ein */

    /* Diese Eigenschaften sind nicht mehr nötig, da sie von .page-content kommen */
    /* background: none; border: none; padding: 0; */
}
/* --- NEU & KORREKT (einfügen) --- */
.auth-card {
    /* Visuelle Stile, die für ALLE Auth-Karten gelten */
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    /* Layout-Stile */
    max-width: 450px;
    width: 100%;
    margin: 2rem auto; /* Sorgt für vertikalen Abstand */
    text-align: center;
}
.auth-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
}
.social-logins {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.social-btn {
    display: grid;
    place-items: center;
    width: 100px;
    height: 50px;
    border-radius: 8px;
    transition: background-color 0.2s;
}
.social-btn:hover {
    background-color: var(--border-color);
}
.social-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
}
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}
.separator::before, .separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}
.separator:not(:empty)::before { margin-right: .5em; }
.separator:not(:empty)::after { margin-left: .5em; }
.forgot-password-link {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    margin-top: -0.75rem;
    margin-bottom: 1.5rem;
}
.switch-auth-link {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.switch-auth-link a {
    color: var(--accent-color);
    font-weight: 600;
}

/* --- 5.10 Profil & Leaderboard --- */
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: none; border: none; /* Überschreibt Basis-Kartenstil */
}
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid var(--border-color);
    margin-bottom: 1rem;
}
.profile-name {
    font-size: 2rem;
    font-weight: 800;
}
.profile-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.stat-item {
    padding: 1.25rem;
    text-align: center;
}
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.progress-bar-container { /* Für XP-Balken */
    width: 100%;
    height: 10px;
    background-color: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 2rem;
}
#leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.rank-item {
    display: grid;
    grid-template-columns: 40px 60px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: transform 0.2s, border-color 0.2s;
}
.rank-item:hover {
    transform: scale(1.02);
    border-color: var(--accent-color);
}
.rank-position {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-align: center;
}
.rank-item[data-rank="1"] .rank-position { color: #FFD700; }
.rank-item[data-rank="2"] .rank-position { color: #C0C0C0; }
.rank-item[data-rank="3"] .rank-position { color: #CD7F32; }
.rank-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.rank-user-info .username {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.rank-user-info .level {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
}
.rank-xp {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    justify-self: end;
}

/* --- 5.11 Account-Verwaltung --- */
#page-profile {
    width: 100%;
    padding: 2rem 0;
}
.settings-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}
.settings-sidebar {
    position: sticky;
    top: 100px;
}
.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.settings-nav-link {
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}
.settings-nav-link:hover {
    background-color: var(--card-bg-color);
    color: var(--text-primary);
}
.settings-nav-link.active {
    background-color: var(--accent-color);
    color: #000;
}
.settings-content-panel {
    animation: fadeIn 0.5s ease-in-out;
}
.settings-section {
    margin-bottom: 3rem;
}
.settings-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.settings-section > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.settings-card-grid {
    display: grid;
    gap: 1.5rem;
}
.settings-card {
    /* Wir entfernen das Padding, da die Action-Items ihr eigenes haben */
    padding: 0;
    /* Ein subtilerer Hintergrund, um die Items hervorzuheben */
    background: transparent; 
}
.settings-card.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.settings-card.profile-header .profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}
.settings-card.profile-header .profile-name {
    font-size: 1.5rem;
    font-weight: 700;
}
.settings-card.profile-header .profile-email {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.action-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.action-row .icon {
    font-size: 2rem;
    color: var(--text-secondary);
}
.action-row .details p {
    margin: 0;
    font-weight: 600;
}
.action-row .details span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.action-row .btn {
    margin-left: auto;
}
.discord-linked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.discord-linked svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
}
.connection-card {
    text-align: center;
}
/* NEU oder ERGÄNZT für die Bilder */
.connection-card .connection-icon { /* Ziel das img-Tag mit der neuen Klasse */
    width: 48px;  /* Beispielgröße, anpassen nach Bedarf */
    height: 48px; /* Beispielgröße, anpassen nach Bedarf */
    object-fit: contain; /* Stellt sicher, dass das Bild passt, ohne verzerrt zu werden */
    margin-bottom: 1rem; /* Behält den Abstand nach unten bei */
    display: block;      /* Hilft bei der Zentrierung, falls die Karte text-align: center hat */
    margin-left: auto;   /* Zentriert das Bild horizontal, wenn .connection-card text-align: center hat */
    margin-right: auto;  /* Zentriert das Bild horizontal */
}

.connection-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-height: 80px;
}
.connection-card .btn {
    width: 100%;
    margin-top: 1.5rem;
}
.connection-card .btn.connected {
    background-color: var(--border-color);
    color: var(--accent-color);
    cursor: not-allowed;
}

.settings-card-container {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden; /* Stellt sicher, dass die Ecken rund bleiben */
}

/* Stil für eine einzelne Einstellungs-Zeile (z.B. Passwort ändern) */
.settings-action-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    flex-wrap: wrap; /* Wichtig für mobile Ansicht */
}

/* Icon (Schlüssel, Mülleimer) */
.settings-action-item .action-icon {
    font-size: 1.8rem;
    color: var(--text-secondary);
    width: 32px; /* Feste Breite für bessere Ausrichtung */
    text-align: center;
}

/* Text-Block (Titel und Beschreibung) */
.settings-action-item .action-details {
    flex-grow: 1; /* Nimmt den verfügbaren Platz ein */
}

.settings-action-item .action-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.settings-action-item .action-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Button am rechten Rand */
.settings-action-item .btn {
    margin-left: auto; /* Schiebt den Button ganz nach rechts */
    flex-shrink: 0; /* Verhindert, dass der Button schrumpft */
}

/* Trennlinie zwischen den Aktionen */
.settings-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 0;
}

/* Verbesserter "Gefahr"-Button für "Löschen" */
.btn.btn-danger {
    background-color: #441c1c; /* Dunkler, subtiler Rotton */
    color: #ff8a8a; /* Hellroter Text für Lesbarkeit */
    border: 1px solid #d32f2f; /* Roter Rand */
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn.btn-danger:hover {
    background-color: #d32f2f; /* Leuchtend rot beim Hover für deutliches Feedback */
    color: #fff;
    border-color: #ff5252;
}

/* --- Ergänzungen für die Account-Verwaltung (Sicherheit) --- */

.settings-card {
    /* Wir entfernen das Padding, da die Action-Items ihr eigenes haben */
    padding: 0;
    /* Ein subtilerer Hintergrund, um die Items hervorzuheben */
    background: transparent; 
}

.settings-action-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem; /* Abstand zwischen Text und Button */
    padding: 1.5rem; /* Innenabstand für jede Aktionszeile */
    flex-wrap: wrap; /* Sorgt für Umbruch auf sehr kleinen Bildschirmen */
}

/* Titel und Beschreibung innerhalb der Aktionszeile */
.settings-action-item .details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0; /* Kleiner Abstand nach unten */
}

.settings-action-item .details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Ein neuer Button-Stil für gefährliche Aktionen */
.btn.btn-danger {
    background-color: #441c1c; /* Dunkelroter Hintergrund */
    color: #ff8a8a; /* Hellrote Schrift */
    border: 1px solid #d32f2f; /* Roter Rand */
    padding: 0.6rem 1.2rem;
    border-radius: 8px; /* Passend zu anderen Buttons */
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn.btn-danger:hover {
    background-color: #d32f2f; /* Leuchtend rot beim Hover */
    color: #fff;
    border-color: #ff5252;
}

.btn.btn-yellow {
    background-color: #757c36; /* Dunkelroter Hintergrund */
    color: #e6ff8a; /* Hellrote Schrift */
    border: 1px solid #cfcc11; /* Roter Rand */
    padding: 0.6rem 1.2rem;
    border-radius: 8px; /* Passend zu anderen Buttons */
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn.btn-yellow:hover {
    background-color: #cfcc11; /* Leuchtend rot beim Hover */
    color: #fff;
    border-color: #cfcc11;
}

/* Feine Trennlinie zwischen den Aktionen */
.settings-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 0;
}

/*
==================================================
  6. ANIMATIONEN (KEYFRAMES)
==================================================
*/

@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
@keyframes bounce {
    0%, 40%, 100% { height: 4px; }
    20% { height: 24px; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/*
==================================================
  7. RESPONSIVE ANPASSUNGEN (MEDIA QUERIES)
==================================================
*/

/* --- Logo-Größe, die im HTML entfernt wurde --- */
.logo img {
    height: 40px; /* Basis-Höhe für das Logo */
    width: auto;
    transition: height 0.3s;
}


/* --- Für Tablets und große Smartphones (bis 1024px) --- */
@media (max-width: 1024px) {
    :root {
        /* Schriftgrößen leicht reduzieren für bessere Proportionen */
        font-size: 15px; 
    }

    .container {
        width: 95%; /* Etwas mehr Platz auf den Seiten nutzen */
    }

    .group-title {
        font-size: 1.8rem;
    }

    .settings-layout {
        /* Bei weniger Platz das Einstellungsmenü über den Inhalt schieben */
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .settings-sidebar {
        position: static;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
    }

    .settings-nav {
        /* Das Menü horizontal scrollbar machen */
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Flüssigeres Scrollen auf iOS */
        scrollbar-width: none; /* Firefox Scrollbar ausblenden */
    }
    .settings-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari Scrollbar ausblenden */
    }
    .settings-nav-link {
        flex-shrink: 0; /* Verhindert, dass die Links schrumpfen */
    }
}


/* --- Für die meisten Smartphones (bis 768px) --- */
/* --- Für die meisten Smartphones (bis 768px) --- NEU & VERBESSERT --- */
@media (max-width: 768px) {
    body {
        /* Platz am unteren Rand für den Player lassen */
        padding-bottom: 90px; 
    }
    
    .logo img {
        height: 35px; /* Logo auf mobilen Geräten etwas kleiner */
    }

    .main-header {
        padding: 1.5rem 0;
    }

    /* Player-Leiste: Kompletter Umbau zu einem modernen, kompakten Design */
    .player-bar {
        height: 90px; /* Höhe des gesamten Player-Bereichs */
    }

    .player-bar-content {
        height: 100%;
        padding: 0.75rem 1rem;
        /* Wir nutzen Flexbox für eine saubere, einzeilige Anordnung */
        display: flex;
        align-items: center;
        gap: 1rem;
        position: relative; /* Wichtig für den absolut positionierten Fortschrittsbalken */
    }

    /* Info-Gruppe (Cover, Titel, Artist) wächst, um den Platz zu füllen */
    .player-group-left {
        flex-grow: 1;
        min-width: 0; /* Verhindert, dass der Text den Play-Button wegschiebt */
    }
    
    #player-bar-cover {
        width: 56px;
        height: 56px;
    }

    /* WICHTIG: Artist wieder anzeigen und stylen */
    #player-bar-artist {
        display: block !important; /* Sicherstellen, dass es sichtbar ist */
        font-size: 0.85rem;
        color: var(--text-secondary);
        margin-top: 2px;
    }
    #player-bar-title {
        font-size: 1rem;
        font-weight: 600;
    }

    /* Play/Pause-Button schrumpft nicht */
    .player-controls-main {
        flex-shrink: 0;
    }

    /* Fortschrittsbalken wird komplett neu positioniert */
    .player-group-center {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0; /* Kein extra Padding mehr nötig */
    }
    .player-progress-container {
        max-width: 100%;
        width: 100%;
        gap: 0; /* Kein Abstand zwischen Zeit und Balken */
    }
    .progress-bar-wrapper {
        height: 3px; /* Dünner, eleganter Balken */
        border-radius: 0; /* Keine abgerundeten Ecken für den Wrapper */
        background-color: rgba(255, 255, 255, 0.1); /* Subtilerer Hintergrund */
    }
    .progress-bar {
        border-radius: 0; /* Auch hier keine abgerundeten Ecken */
    }

    /* Zeitstempel ausblenden für ein saubereres Design */
    #progress-time-current,
    #progress-time-duration {
        display: none;
    }

    /* Unverändert: Diese Elemente bleiben für die mobile Ansicht ausgeblendet */
    .player-group-right, 
    .player-bar-station-name {
        display: none; 
    }

    /* === Andere Anpassungen für mobile Ansicht === */

    .group-title {
        font-size: 1.6rem;
    }
    
    .feature-header-text, .auth-card {
        padding: 0 1rem;
    }

    .feature-subtitle {
        font-size: 1rem;
    }

    .partner-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .rank-item {
        grid-template-columns: 30px 50px 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    .rank-xp {
        grid-column: 3;
        grid-row: 2;
        justify-self: start;
        font-size: 0.9rem;
        margin-top: -10px;
        color: var(--text-secondary);
    }
    .rank-user-info {
        grid-row: 1;
        grid-column: 3;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .main-footer {
        padding: 3rem 0;
    }
    .footer-grid {
        text-align: center;
    }

    .settings-action-item {
        padding: 1.25rem;
    }
    .settings-action-item .btn {
        margin-left: 0;
        width: 100%;
        margin-top: 1rem;
    }
}

/* In main.css, am besten in der Nähe von .form-error */

.form-success {
    background-color: rgba(163, 255, 0, 0.1); /* Passend zur Akzentfarbe */
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.form-success.hidden {
    display: none;
}

/* --- Für sehr kleine Bildschirme (bis 480px) --- */
@media (max-width: 480px) {
    :root {
        font-size: 14px; /* Noch kleinere Basisschrift */
    }

    /* Den Benutzernamen im Header ausblenden, nur Avatar zeigen */
    .user-name {
        display: none;
    }

    /* Player-Leiste: Künstlername ausblenden für noch mehr Platz */
    #player-bar-artist {
        display: none;
    }
    #player-bar-title {
        font-size: 0.9rem; /* Titel etwas kleiner */
    }
    
    /* Buttons etwas kleiner machen */
    .btn.btn-primary, .btn.btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .station-carousel {
        /* Weniger Abstand zwischen den Karten */
        gap: 1rem;
    }
}


@media (max-width: 640px) {
    .user-name {
        display: none;
    }
}

@media (min-width: 768px) {
    .partner-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    .partner-logo-link {
        flex-shrink: 0;
        width: 200px;
    }
    .partner-info p {
        margin: 0;
    }
    .cookie-banner-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (max-width: 900px) {
    .settings-layout {
        grid-template-columns: 1fr;
    }
    .settings-sidebar {
        position: static;
        display: flex;
        overflow-x: auto;
    }
    .settings-nav {
        flex-direction: row;
        width: 100%;
    }
}

/* --- Responsive Anpassung für diesen Bereich --- */
@media (max-width: 768px) {
    .settings-action-item {
        padding: 1.25rem;
    }
    .settings-action-item .btn {
        /* Auf kleinen Bildschirmen nimmt der Button die volle Breite ein
           und rückt in die nächste Zeile */
        margin-left: 0;
        width: 100%;
        margin-top: 1rem;
    }
}

/* ======================================================= */
/* === Diesen Block in deine main.css einfügen/anpassen === */
/* === Ideal im Abschnitt 5.9 Auth-Seiten             === */
/* ======================================================= */

/*
   Dies ist der Container, der die Karte vertikal und horizontal zentriert.
   Er sorgt dafür, dass die Karte in der Mitte der Seite erscheint.
*/
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* Nimmt den restlichen Platz auf der Seite ein */
    padding: 2rem 1rem; /* Abstand für mobile Geräte */
    
    /* Diese Zeilen überschreiben Standard-Stile von .page-content, die hier nicht passen */
    background: none;
    border: none;
}

/*
   Dies ist die eigentliche "Karte", die das Formular umgibt.
   Sie bekommt Hintergrund, Rahmen, Padding und Schatten.
*/
.auth-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem; /* Großzügiger Innenabstand */
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.auth-card h2 {
    font-size: 2.2rem; /* Passende Größe für die Überschrift */
    margin-bottom: 0.75rem;
}

/*
   Dies formatiert den Untertitel-Text.
   Wir verwenden .feature-subtitle, da du diese Klasse schon im HTML hast.
*/
.auth-card .feature-subtitle {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 2rem; /* Abstand zum Formular */
}

/*
   Dies ist die wichtigste Regel für das Formular-Layout.
   Sie sorgt dafür, dass die Elemente sauber untereinander angeordnet werden.
*/
.auth-form {
    display: flex;
    flex-direction: column; /* Stapelt die .form-group-Elemente */
    gap: 1.25rem; /* Abstand zwischen den Formularfeldern */
    text-align: left; /* Richtet Labels linksbündig aus */
}

/* Du hast bereits gute Stile für .form-group, .form-group label,
   und .form-group input. Diese werden hier automatisch angewendet. */

/*
   Stellt sicher, dass der Haupt-Button die volle Breite einnimmt
   und etwas Abstand nach oben hat.
*/
.auth-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.1rem;
    margin-top: 1rem; /* Abstand zum letzten Formularfeld */
}

/*
   Stellt sicher, dass der Link am Ende korrekt formatiert ist.
*/
.switch-auth-link {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.switch-auth-link a {
    color: var(--accent-color);
    font-weight: 600;
}

.switch-auth-link a:hover {
    text-decoration: underline;
}