.nightrace-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
}

.nightrace-container h1,
.nightrace-container h2 {
    color: #111;
    text-align: center;
    margin-bottom: 30px;
}

.info-section,
.strecken-section,
.zeitplan-section,
.anmeldung-section,
.partner-sponsoren-section {
    background-color: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section li {
    margin-bottom: 8px;
}

.raceresult-embed-container {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.registration-button {
    display: inline-block;
    background-color: #ffc107;
    color: #333;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.registration-button:hover {
    background-color: #e0a800;
    color: #333;
}

.streckenkarte {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
}

.zeitplan-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.zeitplan-section th,
.zeitplan-section td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.zeitplan-section th {
    background-color: #ffc107;
}

.dokumente-liste {
    list-style: none;
    padding: 0;
}

.zeitplan-tabelle {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    background-color: white;
}

.zeitplan-tabelle thead {
    background-color: #ffc107;
    color: white;
}

.zeitplan-tabelle th,
.zeitplan-tabelle td {
    padding: 1rem;
    text-align: left;
}

.zeitplan-tabelle tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.zeitplan-tabelle tbody tr:hover {
    background-color: #eef2f7;
    transition: background-color 0.3s ease;
}

.pdf-section {
    background: white;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.danke-section {
    background-color: #f8f8f8;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.ergebnisse-section {
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .zeitplan-tabelle thead {
        display: none;
    }

    .zeitplan-tabelle,
    .zeitplan-tabelle tbody,
    .zeitplan-tabelle tr,
    .zeitplan-tabelle td {
        display: block;
        width: 100%;
    }

    .zeitplan-tabelle {
        border-spacing: 0;
        margin-top: 1rem;
        padding: 0;
        margin-bottom: 2rem;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .zeitplan-tabelle tr {
        margin-bottom: 0.9rem;
        border: 1px solid #e4e4e7;
        border-left: 4px solid #ffc107;
        border-radius: 10px;
        padding: 0.95rem 0.95rem 0.8rem;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: box-shadow 0.25s ease;
    }

    .zeitplan-tabelle tr:hover {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        transform: none;
    }

    .zeitplan-tabelle tr:nth-child(even) {
        background: #ffffff;
    }

    .zeitplan-tabelle td {
        text-align: left;
        padding: 0.35rem 0;
        position: relative;
        display: block;
        padding-left: 0;
        border: none;
        margin-bottom: 0.55rem;
        line-height: 1.4;
        word-break: break-word;
    }

    .zeitplan-tabelle td:last-child {
        margin-bottom: 0;
    }

    .zeitplan-tabelle td::before {
        content: attr(data-label);
        font-weight: 700;
        display: inline-block;
        margin-right: 0.6rem;
        color: #9a6a00;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        min-width: 84px;

        padding: 0.22rem 0.45rem;
        border-radius: 4px;
        background: #fff7dc;
    }

    .zeitplan-tabelle td[data-label="Uhrzeit"] {
        font-weight: 700;
        font-size: 1.05rem;
        color: #333;
        margin-bottom: 0.7rem;
        padding-bottom: 0.6rem;
        border-bottom: 1px solid rgba(255, 193, 7, 0.35);
    }

    .consent-placeholder {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

    .rr-mobile-box {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.open-raceresult-btn {
    display: none;
    padding: 0.7rem 1.2rem;
    background: #ffc107;
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 1rem auto;
    display: block;
}

.rr-mobile-box {
    text-align: center;
}

.rr-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    background: #ffc107;
    color: #fff !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.danke-section {
    background-color: #f8f8f8;
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nightrace-container .pdf-section .gelber-button {
    background: #fff4cc;
    color: #5a4a12 !important;
    border: 1px solid #ecd58a;
    box-shadow: none;
    font-weight: 600;
}

.nightrace-container .pdf-section .gelber-button:hover {
    background: #ffefbc;
    color: #4a3c0f !important;
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nightrace-container .pdf-section li .gelber-button {
    margin-top: 0.5rem !important;
}