/* Basis-Layout */
body {
    margin: 0;
    font-family: "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #1d3557, #457b9d);
    color: #f1faee;
}

/* Container für die gesamte Seite */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05); /* leicht transparent über Hintergrund */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Hauptüberschriften */
h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #f1faee;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #f1faee;
}

/* Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

thead {
    background: rgba(255, 255, 255, 0.15);
}

thead th {
    padding: 15px;
    font-weight: bold;
    color: #f1faee;
    text-align: left;
}

tbody td {
    padding: 12px 15px;
    color: #f1faee;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.05);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

/* Optional: Responsive Tabelle */
@media (max-width: 900px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead {
        display: none;
    }

    tbody tr {
        margin-bottom: 15px;
        background: rgba(255,255,255,0.1);
        border-radius: 12px;
        padding: 10px;
    }

    tbody td {
        padding: 10px;
        text-align: right;
        position: relative;
    }

    tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: bold;
        text-transform: uppercase;
        color: #f1faee;
    }
}
