/* ============================================================
   gSports Online – Rechtsseiten (AGB, Datenschutz)
   ============================================================ */

body {
    background: linear-gradient(to bottom, #09627d, #021f33);
    min-height: 100vh;
}

/* Globalen #banner-Hero (style.css) neutralisieren */
#banner {
    min-height: 0;
    background-image: none;
}

.legal-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 16px 60px;
}

/* ---------- Header ---------- */
.legal-header {
    text-align: center;
    margin-bottom: 34px;
}

.legal-header h1 {
    color: #fff;
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 0 18px rgba(69, 244, 248, 0.45);
}

.legal-stand {
    color: #8ecfcf;
    font-size: 14px;
    margin: 0;
}

/* ---------- Inhaltsverzeichnis ---------- */
.legal-toc {
    background: linear-gradient(135deg, #0e334d, #010f1d);
    border: 1px solid rgba(69, 244, 248, 0.3);
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 36px;
}

.legal-toc strong {
    display: block;
    color: #45f4f8;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.legal-toc ol {
    columns: 2;
    column-gap: 30px;
    margin: 0;
    padding-left: 20px;
}

.legal-toc li {
    font-size: 14px;
    line-height: 1.9;
    color: #b8dfe6;
}

.legal-toc a {
    color: #b8dfe6;
    text-decoration: none;
    transition: color 0.15s;
}

.legal-toc a:hover {
    color: #45f4f8;
}

/* ---------- Abschnitte ---------- */
.legal-section {
    margin-bottom: 34px;
    scroll-margin-top: 90px;
}

.legal-section h2 {
    color: #45f4f8;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(69, 244, 248, 0.25);
}

.legal-section h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 16px 0 10px;
}

.legal-section p {
    color: #cfe7ec;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-section ul {
    color: #cfe7ec;
    font-size: 15px;
    line-height: 1.75;
    padding-left: 22px;
    margin-bottom: 14px;
}

.legal-section li {
    margin-bottom: 6px;
}

.legal-section strong {
    color: #fff;
}

.legal-section a {
    color: #45f4f8;
    text-decoration: underline;
}

.legal-section a:hover {
    color: #7ff8fb;
}

/* ---------- Adressblock ---------- */
.legal-address {
    background: rgba(69, 244, 248, 0.06);
    border-left: 3px solid #45f4f8;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    color: #fff !important;
}

/* ---------- Hervorgehobene Box (Widerrufsbelehrung, Widerspruchsrecht) ---------- */
.legal-box {
    background: linear-gradient(135deg, #0e334d, #010f1d);
    border: 1px solid rgba(255, 180, 30, 0.45);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 18px 0;
}

.legal-box h3 {
    color: #ffd23f;
    margin-top: 0;
}

/* ---------- Kontaktformular ---------- */
.contact-form {
    background: linear-gradient(135deg, #0e334d, #010f1d);
    border: 1px solid rgba(69, 244, 248, 0.3);
    border-radius: 14px;
    padding: 28px 26px;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-field {
    margin-bottom: 16px;
}

.contact-field label {
    display: block;
    color: #45f4f8;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    background: rgba(1, 15, 29, 0.7);
    border: 1px solid rgba(69, 244, 248, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    padding: 10px 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #45f4f8;
    box-shadow: 0 0 10px rgba(69, 244, 248, 0.35);
}

.contact-field select option {
    background: #0e334d;
    color: #fff;
}

.contact-field textarea {
    resize: vertical;
}

/* Honeypot unsichtbar, aber nicht display:none (manche Bots erkennen das) */
.contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 20px;
}

.contact-consent input {
    margin-top: 4px;
    accent-color: #45f4f8;
    flex-shrink: 0;
}

.contact-consent label {
    color: #b8dfe6;
    font-size: 13px;
    line-height: 1.6;
}

.contact-consent a {
    color: #45f4f8;
}

.contact-submit {
    display: inline-block;
    background: linear-gradient(45deg, #00FFFF, #FF00FF);
    color: #000;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.contact-submit:hover {
    box-shadow: 0 0 18px rgba(69, 244, 248, 0.7);
}

.contact-alert {
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 15px;
    margin-bottom: 22px;
}

.contact-alert.success {
    background: rgba(0, 255, 120, 0.1);
    border: 1px solid rgba(0, 255, 120, 0.5);
    color: #8dffc0;
}

.contact-alert.error {
    background: rgba(255, 60, 80, 0.1);
    border: 1px solid rgba(255, 60, 80, 0.5);
    color: #ff9aa6;
}

.contact-alt {
    text-align: center;
    color: #8ecfcf;
    font-size: 14px;
    margin-top: 24px;
}

.contact-alt a {
    color: #45f4f8;
}

/* ---------- Responsive ---------- */
@media (max-width: 576px) {
    .legal-toc ol {
        columns: 1;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
