:root {
    --bg: #0d0f14;
    --bg-alt: #151822;
    --accent: #00e5ff;
    --accent-2: #ff2fd0;
    --text: #e8eaf0;
    --text-dim: #9aa0ae;
    --border: #262b38;
}

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

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg) url('/assets/img/global/background.png') center top / cover no-repeat fixed;
    color: var(--text);
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
}

/* Admin-Hinweis-Banner */
.admin-banner {
    flex-shrink: 0;
    background: #c0392b;
    color: #fff;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.admin-banner a {
    color: #fff;
    text-decoration: underline;
}

.admin-login-error {
    color: #ff6b6b;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Header */
.site-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo a {
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
}
.logo span { color: var(--accent); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-list {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    align-items: flex-start;
}

/* Murmel-Buttons */
.nav-list a.marble {
    --marble-color: #1e88e5;
    --marble-size: clamp(54px, 4.2vw, 72px);
    position: relative;
    width: var(--marble-size);
    height: var(--marble-size);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: #fff;
    background:
        radial-gradient(circle at 32% 28%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 35%),
        radial-gradient(circle at 70% 75%, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 60%),
        var(--marble-color);
    box-shadow:
        inset 0 -4px 6px rgba(0,0,0,0.35),
        inset 0 4px 6px rgba(255,255,255,0.4),
        0 4px 10px rgba(0,0,0,0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* kleiner Glanz-Punkt oben links, wie ein Highlight auf Glas */
.nav-list a.marble::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 16px;
    width: 10px;
    height: 6px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    filter: blur(1px);
}

.marble-icon {
    font-size: 1.3rem;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.4));
}

.marble-label {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    text-align: center;
    line-height: 1;
}

.nav-list a.marble:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        inset 0 -4px 6px rgba(0,0,0,0.35),
        inset 0 4px 6px rgba(255,255,255,0.5),
        0 8px 16px rgba(0,0,0,0.5);
}

.nav-list a.marble.active {
    transform: translateY(-4px) scale(1.08);
    box-shadow:
        inset 0 -4px 6px rgba(0,0,0,0.35),
        inset 0 4px 6px rgba(255,255,255,0.5),
        0 0 0 3px rgba(255,255,255,0.6),
        0 8px 18px rgba(0,0,0,0.5);
}

/* Content */
.site-content {
    flex: 1 0 auto;
    width: 100%;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    max-width: min(1000px, 92%);
    margin: clamp(1rem, 3vw, 2rem) auto;
    background: rgba(13, 20, 38, 0.82);
    border-radius: 16px;
    backdrop-filter: blur(2px);
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #c0392b;
}

.page-header h1 {
    font-size: 1.8rem;
    color: var(--text);
    font-weight: 700;
}

.page-header p {
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.page-header-center {
    text-align: center;
}

.home-heading-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.home-heading-row h1 {
    grid-column: 2;
    justify-self: center;
}

.home-heading-logo {
    height: 60px;
    width: auto;
}

.home-heading-logo:first-child {
    grid-column: 1;
    justify-self: start;
}

.home-heading-logo:last-child {
    grid-column: 3;
    justify-self: end;
}

@media (max-width: 700px) {
    .home-heading-row {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .home-heading-row h1,
    .home-heading-logo:first-child,
    .home-heading-logo:last-child {
        grid-column: 1;
        justify-self: center;
    }
}

@media (max-width: 560px) {
    .home-heading-logo {
        height: 40px;
    }
}

/* Home Dashboard: Twitch-Player + Nächste Termine */
.home-dashboard {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
}

.twitch-player-box {
    background: rgba(13, 20, 38, 0.6);
    border-radius: 12px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.twitch-player-placeholder {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.twitch-player-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.upcoming-events-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.upcoming-events-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.upcoming-event-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(13, 20, 38, 0.5);
    border-left: 4px solid #c0392b;
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
}

.upcoming-event-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.upcoming-event-body {
    min-width: 0;
}

.upcoming-event-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.upcoming-event-streamer,
.upcoming-event-time {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.upcoming-events-empty {
    color: var(--text-dim);
    font-size: 0.9rem;
}

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

/* Discord Call-to-Action */
.discord-cta {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    border-radius: 999px;
    background: #5865f2;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.55);
}

.discord-btn-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

/* Mitgliederbereich: Login/Registrierung auf Home */
.member-area {
    margin: 2.5rem auto 0;
    padding: 1.5rem;
    max-width: 700px;
    background: rgba(13, 20, 38, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.member-area-heading {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.member-status {
    text-align: center;
    color: var(--text-dim);
}

.member-status a {
    color: var(--accent);
}

.member-area-forms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.member-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    max-width: 260px;
    text-align: left;
}

.member-form h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.member-form label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.3rem;
}

.member-form input {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.9rem;
}

.member-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.member-form button {
    margin-top: 0.6rem;
    padding: 0.65rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.member-form button:hover { opacity: 0.85; }

.member-form-toggle {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.member-form-toggle a {
    color: var(--accent);
    text-decoration: underline;
}

/* Admin: Benutzerverwaltung */
.user-admin-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.user-admin-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.user-admin-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.user-admin-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.user-admin-role-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.user-role-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.role-checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text);
    white-space: nowrap;
}

.user-admin-role-form select {
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.9rem;
}

.user-admin-role-form button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    cursor: pointer;
}

.user-admin-delete-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: #c0392b;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.placeholder-box {
    background: var(--bg-alt);
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 2rem;
    color: var(--text-dim);
}

/* Rechtstexte (Datenschutz, Impressum) */
.legal-content {
    max-width: 780px;
}

.legal-content h2 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--text);
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    color: var(--text-dim);
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}

.legal-content ul {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin: 0 0 0.9rem 1.25rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.legal-content a {
    color: var(--accent);
}

.legal-content .legal-source {
    margin-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Editierbare Text-Blöcke */
.editable-text {
    color: var(--text-dim);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;
}

.editable-text-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.editable-text-form textarea {
    width: 100%;
    min-height: 260px;
    padding: 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.7;
    resize: vertical;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2);
}

/* Formatierungsleiste über dem editierbaren Bereich */
.editable-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.editable-toolbar button {
    min-width: 32px;
    height: 32px;
    padding: 0 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.editable-toolbar button:hover {
    background: var(--accent);
    color: #0d0f14;
    border-color: var(--accent);
}

.toolbar-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    margin: 0 0.25rem;
}

/* Der eigentliche bearbeitbare Textbereich (contenteditable) */
.editable-editor {
    width: 100%;
    min-height: 220px;
    padding: 1.1rem;
    border-radius: 0 0 10px 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    overflow-y: auto;
}

.editable-editor:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

.editable-editor p { margin-bottom: 0.75rem; }
.editable-editor ul { margin: 0 0 0.75rem 1.5rem; }

.editable-text-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

.editable-save-btn {
    align-self: flex-start;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.editable-save-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.editable-saved {
    color: #4caf50;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Partner-Grid (2 Spalten) */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-card {
    position: relative;
    background: transparent;
    border-bottom: 3px solid #c0392b;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.partner-logo {
    width: 100%;
    max-width: 280px;
    height: 240px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.partner-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.partner-tagline {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.partner-link-btn {
    display: inline-block;
    width: 100%;
    margin-top: auto;
    padding: 0.75rem 1rem;
    background: #d81b60;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: opacity 0.2s;
}

.partner-link-btn:hover { opacity: 0.88; }

.partner-empty {
    color: var(--text-dim);
    grid-column: 1 / -1;
    text-align: center;
    padding: 1.5rem;
}

.partner-delete-form {
    margin: 0;
}

.partner-admin-actions {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: flex;
    gap: 0.4rem;
}

.partner-edit-btn,
.partner-delete-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.partner-edit-btn:hover {
    background: var(--accent);
    color: #0d0f14;
}

.partner-delete-btn:hover {
    background: #c0392b;
}

/* Bearbeitungsformular innerhalb einer Partner-Karte */
.partner-card-editing {
    align-items: stretch;
    text-align: left;
    background: rgba(13, 20, 38, 0.6);
    border: 1px dashed var(--accent);
}

.partner-edit-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.partner-edit-form label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
}

.partner-edit-form input[type="text"],
.partner-edit-form input[type="url"],
.partner-edit-form select {
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.9rem;
}

.partner-edit-form input[type="file"] {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin: 0.3rem 0 0.6rem;
}

.partner-edit-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.75rem;
}

.partner-edit-actions button {
    padding: 0.55rem 1.2rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    cursor: pointer;
}

.partner-cancel-btn {
    color: var(--text-dim);
    font-size: 0.85rem;
    text-decoration: underline;
}

/* Support / Spenden-Button */
.support-donate {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.3rem 2.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd966, #d4a017);
    color: #2b1d00;
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(212, 160, 23, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 160, 23, 0.55);
}

.support-btn-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

/* Ehrentafel der Unterstützer */
.supporters-section {
    margin-top: 2.5rem;
}

.supporters-heading {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

.supporters-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    max-width: 780px;
    margin: 0 auto;
}

.supporter-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #fff3cf, #ffd966);
    border: 2px solid #d4a017;
    border-radius: 10px;
    padding: 0.7rem 0.5rem;
    color: #1a1300;
    box-shadow: 0 3px 10px rgba(212, 160, 23, 0.3);
    text-align: center;
}

.supporter-crown {
    font-size: 1rem;
}

.supporter-name {
    font-weight: 800;
    font-size: 0.85rem;
    color: #1a1300;
    word-break: break-word;
}

.supporter-amount {
    font-weight: 700;
    font-size: 0.75rem;
    color: #5c3d00;
    background: rgba(255, 255, 255, 0.4);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.supporters-empty {
    color: var(--text-dim);
    text-align: center;
    padding: 1rem;
}

.supporter-delete-form {
    position: absolute;
    top: -8px;
    right: -8px;
}

.supporter-delete-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #fff3cf;
    background: #c0392b;
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supporter-delete-btn:hover {
    background: #922b21;
}

/* Admin: Unterstützer hinzufügen */
.supporter-add-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    max-width: 560px;
    margin: 1.5rem auto 0;
}

.supporter-add-form input {
    flex: 1;
    min-width: 140px;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.9rem;
}

.supporter-add-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.supporter-add-form button {
    padding: 0.65rem 1.4rem;
    border: none;
    border-radius: 6px;
    background: #ffd700;
    color: #1a1300;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s;
}

.supporter-add-form button:hover { opacity: 0.85; }

/* Bewerbungsformular */
.bewerbung-form-section {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bewerbung-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.bewerbung-form label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.7rem;
}

.bewerbung-form input,
.bewerbung-form textarea {
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

.bewerbung-form input:focus,
.bewerbung-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

.bewerbung-form button {
    margin-top: 1.4rem;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.bewerbung-form button:hover { opacity: 0.85; }

.bewerbung-status {
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    font-weight: 600;
    max-width: 480px;
}

.bewerbung-success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid #4caf50;
    color: #81c784;
}

.bewerbung-error {
    background: rgba(192, 57, 43, 0.15);
    border: 1px solid #c0392b;
    color: #ff8a80;
}

/* Gästebuch */
.guestbook-form-section {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guestbook-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    max-width: 480px;
}

.guestbook-form label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.6rem;
}

.guestbook-form input,
.guestbook-form textarea {
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

.guestbook-form button {
    margin-top: 1rem;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.guestbook-form button:hover { opacity: 0.85; }

.guestbook-import-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guestbook-import-section h2 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.guestbook-import-hint {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 480px;
}

.guestbook-list {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.guestbook-entry {
    position: relative;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.guestbook-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.4rem;
}

.guestbook-entry-name {
    font-weight: 700;
    color: var(--accent);
}

.guestbook-entry-date {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.guestbook-entry-message {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.guestbook-empty {
    color: var(--text-dim);
    text-align: center;
    padding: 1.5rem;
}

.guestbook-delete-form {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
}

.guestbook-delete-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 0.75rem;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s;
}

.guestbook-delete-btn:hover {
    background: #c0392b;
}

/* Cup Info & Regeln – 2 Spalten mit Trennlinie */
.cup-info-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}

.cup-info-column {
    min-width: 0;
}

.cup-info-divider {
    width: 1px;
    align-self: stretch;
    background: var(--border);
}

.cup-info-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cup-info-icon {
    font-size: 1.3rem;
}

/* Mobile: Spalten untereinander, Trennlinie wird waagerecht */
@media (max-width: 768px) {
    .cup-info-columns {
        grid-template-columns: 1fr;
    }

    .cup-info-divider {
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
    }
}

/* Event Kalender / Stream Termine */
.event-kalender-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.section-heading {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.section-subheading {
    color: var(--text-dim);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Event-Liste */
.event-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-left: 4px solid #c0392b;
    border-radius: 10px;
    padding: 0.9rem 1.25rem;
}

.event-logo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.event-card-body {
    flex: 1;
}

.event-name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.event-streamer {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
}

.event-time {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.4;
}

.event-empty {
    color: var(--text-dim);
    text-align: center;
    padding: 1.5rem;
}

.event-delete-form {
    margin: 0;
}

.event-admin-actions {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: flex;
    gap: 0.4rem;
}

.event-edit-btn,
.event-delete-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.event-edit-btn:hover {
    background: var(--accent);
    color: #0d0f14;
}

.event-delete-btn:hover {
    background: #c0392b;
}

/* Bearbeitungsformular innerhalb einer Event-Karte */
.event-card-editing {
    align-items: stretch;
    background: rgba(13, 20, 38, 0.6);
    border: 1px dashed var(--accent);
    border-left: 4px solid #c0392b;
}

.event-edit-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.event-edit-form label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
}

.event-edit-form input[type="text"],
.event-edit-form input[type="datetime-local"],
.event-edit-form select {
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.9rem;
}

.event-edit-form input[type="file"] {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin: 0.3rem 0 0.6rem;
}

.event-edit-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.75rem;
}

.event-edit-actions button {
    padding: 0.55rem 1.2rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    cursor: pointer;
}

.event-cancel-btn {
    color: var(--text-dim);
    font-size: 0.85rem;
    text-decoration: underline;
}

/* Admin: Event erstellen */
.event-admin-form {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-admin-form h2 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.event-admin-form form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 420px;
}

.event-admin-form label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.event-admin-form input[type="text"],
.event-admin-form input[type="datetime-local"],
.event-admin-form select {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
}

.event-admin-form input:focus,
.event-admin-form select:focus {
    outline: none;
    border-color: var(--accent);
}

.event-admin-form input[type="file"] {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 0.4rem 0 0.8rem;
}

.event-admin-form button {
    margin-top: 1rem;
    padding: 0.7rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.event-admin-form button:hover { opacity: 0.85; }

@media (max-width: 640px) {
    .event-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Streamer-Grid */
.streamer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.streamer-card {
    position: relative;
    background: transparent;
    border-top: 3px solid #c0392b;
    border-bottom: 3px solid #c0392b;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.streamer-avatar {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #c0392b;
    margin-bottom: 0.5rem;
}

.streamer-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}

.streamer-info {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.5;
}

.streamer-twitch-btn {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.8rem 1.2rem;
    background: #d81b60;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    transition: opacity 0.2s;
}

.streamer-twitch-btn:hover { opacity: 0.88; }

.streamer-empty {
    color: var(--text-dim);
    grid-column: 1 / -1;
    text-align: center;
    padding: 1.5rem;
}

.streamer-delete-form {
    margin: 0;
}

.streamer-admin-actions {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: flex;
    gap: 0.4rem;
}

.streamer-edit-btn,
.streamer-delete-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.streamer-edit-btn:hover {
    background: var(--accent);
    color: #0d0f14;
}

.streamer-delete-btn:hover { background: #c0392b; }

.streamer-move-form {
    margin: 0;
}

.streamer-move-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.streamer-move-btn:hover:not(:disabled) {
    background: var(--accent);
    color: #0d0f14;
}

.streamer-move-btn:disabled {
    opacity: 0.25;
    cursor: default;
}

/* Bearbeitungsformular innerhalb einer Streamer-Karte */
.streamer-card-editing {
    align-items: stretch;
    text-align: left;
    background: rgba(13, 20, 38, 0.6);
    border: 1px dashed var(--accent);
}

.streamer-edit-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.streamer-edit-form label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
}

.streamer-edit-form input[type="text"],
.streamer-edit-form input[type="url"],
.streamer-edit-form select,
.streamer-edit-form textarea {
    padding: 0.5rem 0.65rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
}

.streamer-edit-form input[type="file"] {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin: 0.3rem 0 0.6rem;
}

.streamer-edit-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.75rem;
}

.streamer-edit-actions button {
    padding: 0.55rem 1.2rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    cursor: pointer;
}

.streamer-cancel-btn {
    color: var(--text-dim);
    font-size: 0.85rem;
    text-decoration: underline;
}

/* Über uns – Logo */
.about-logo-section {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.about-logo {
    width: 160px;
    max-width: 50%;
    height: auto;
}

.streamer-admin-form {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.streamer-admin-form h2 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.streamer-admin-form form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 420px;
}

.streamer-admin-form label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.streamer-admin-form input[type="text"],
.streamer-admin-form input[type="url"],
.streamer-admin-form select,
.streamer-admin-form textarea {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

.streamer-admin-form input:focus,
.streamer-admin-form select:focus,
.streamer-admin-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.streamer-admin-form input[type="file"] {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 0.4rem 0 0.8rem;
}

.streamer-admin-form button {
    margin-top: 1rem;
    padding: 0.7rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.streamer-admin-form button:hover { opacity: 0.85; }

@media (max-width: 1000px) {
    .streamer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Admin: Partner hinzufügen */
.partner-admin-form {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.partner-admin-form h2 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.partner-admin-form form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 420px;
}

.partner-admin-form label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.partner-admin-form input[type="text"],
.partner-admin-form input[type="url"],
.partner-admin-form select {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
}

.partner-admin-form input:focus,
.partner-admin-form select:focus {
    outline: none;
    border-color: var(--accent);
}

.partner-admin-form input[type="file"] {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 0.4rem 0 0.8rem;
}

.image-source-choice {
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 0.9rem;
    margin-top: 0.5rem;
}

.image-source-choice legend {
    color: var(--text-dim);
    font-size: 0.8rem;
    padding: 0 0.4rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text);
    margin-top: 0 !important;
}

.partner-admin-form button {
    margin-top: 1rem;
    padding: 0.7rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.partner-admin-form button:hover { opacity: 0.85; }

/* Mobile: Partner-Karten untereinander statt 2 Spalten */
@media (max-width: 640px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .supporters-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Admin-Login-Formular */
.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 320px;
}

.admin-login-form label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.admin-login-form input {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
}

.admin-login-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.admin-login-form button {
    margin-top: 1rem;
    padding: 0.7rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #0d0f14;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.admin-login-form button:hover { opacity: 0.85; }

/* Footer */
.site-footer {
    flex-shrink: 0;
    background: rgba(13, 20, 38, 0.75);
    padding: 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
}
.footer-links a:hover { color: var(--accent); }

.visitor-counter {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-list {
        display: none;
        flex-wrap: wrap;
        justify-content: center;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-alt);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
    .nav-list.open { display: flex; }
}