.xpreisgeld h1 {
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--bs-body-color);
}
#wrapper {
    max-width: 800px;
    margin: 0 auto;
}
/* Wrapper für beide Tabellen */
.tables-wrapper {
    display: flex;
    gap: 2rem; /* Abstand zwischen den Tabellen */
    align-items: flex-start;
    flex-wrap: wrap; /* erlaubt Umbruch auf kleinen Screens */
    padding-bottom: 1rem;
}

.card {
    margin-bottom: 2rem;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    overflow: hidden;
}

.card-header {
    color: black;
    background: #ddd;
}

.card-body {
    color: black;
    background: white;
}

/* Jede Sektion */
.section {
    flex: 1 1 300px; /* mindestens 300px breit, wächst bis max. Hälfte */
    max-width: 300px;
    margin: 0 auto;
    /*color: white;*/
}

/* Bereichstitel */
h2 {
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    text-align:  center;
}

/* Untertitel oder kurze Info (pro Geschlecht, Preisgeld, etc.) */
.section-info {
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    /*margin-bottom: 0.5rem;*/
}

.section-info p {
    margin: 0 0 0.5rem 3rem;
    text-decoration: underline;
    font-weight: bold;
    
}

/* Liste mit Aufzählung */
.section-info ul {
    margin: 0.3rem 0 0.8rem 4.2rem;
    padding: 0;
}

.section-info li {
    margin-bottom: 0.2rem;
}

/* Gemeinsame Tabelleinstellungen */
table.tour,
table.dm {
    background: white;
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    text-align: right;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    border-radius: 8px;
    overflow: hidden;
    color: black;
}

/* Tabellenkopf */
table.tour thead th,
table.dm thead th {
    padding: 0.7rem;
    text-align: center;
    font-weight: bold;
    color: #fff;
}

/* Unterschiedliche Kopf-Farben */
table.tour thead th {
    background: linear-gradient(90deg, #ff7f50, #ff6347);
}

table.dm thead th {
    background: linear-gradient(90deg, #4682b4, #4169e1);
}

/* Tabellenzeilen */
table.tour tbody td,
table.dm tbody td {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Linksbündig für Platz-Spalte */
table.tour td.platz,
table.dm td.platz {
    text-align: center;
    font-weight: bold;
}

/* Prozent-Spalte */
table.tour td.prozent::after,
table.dm td.prozent::after {
    content: " %";
    color: #666;
    font-weight: normal;
}

/* Euro-Spalte */
table.tour td.euro::after,
table.dm td.euro::after {
    content: " €";
    color: #666;
    font-weight: normal;
}

/* Hover-Effekt */
table.tour tbody tr:hover,
table.dm tbody tr:hover {
    background-color: rgba(0,0,0,0.04);
}

/* Letzte Zeile ohne Border */
table.tour tbody tr:last-child td,
table.dm tbody tr:last-child td {
    border-bottom: none;
}

/* Mobile Ansicht: untereinander */
@media (max-width: 768px) {
    .tables-wrapper {
        flex-direction: column;
    }
    .section {
        width: 280px;
    }
    .card {
        margin-bottom: 1rem;
    }
}