.rexx-table-01 {
    width: 100%;
}

.rexx-table-01 .rexx-container {
    --rexx-section-max: var(--rexx-width-container-narrow);
}

.rexx-table-01__header {
    max-width: 980px;
    margin: 0 auto var(--rexx-space-xl);
    text-align: center;
}

.rexx-table-01__eyebrow {
    margin: 0 0 var(--rexx-space-sm);
}

.rexx-table-01__headline {
    margin: 0 0 var(--rexx-space-md);
}

.rexx-table-01__intro {
    max-width: 860px;
    margin-inline: auto;
}

.rexx-table-01__intro > :first-child {
    margin-top: 0;
}

.rexx-table-01__intro > :last-child {
    margin-bottom: 0;
}

.rexx-table-01__table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    border: 1px solid var(--rexx-border-color);
    border-radius: var(--rexx-radius-md);
    background: var(--rexx-surface-color);
    -webkit-overflow-scrolling: touch;
}

.rexx-table-01__table {
    width: 100%;
    min-width: min(100%, 820px);
    border-collapse: collapse;
    table-layout: auto;
}

.rexx-table-01__caption {
    padding: var(--rexx-space-md) var(--rexx-space-lg) 0;
    text-align: left;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--rexx-text-color);
}

.rexx-table-01__table th,
.rexx-table-01__table td {
    padding: var(--rexx-space-md) var(--rexx-space-lg);
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid var(--rexx-border-color);
    word-break: normal;
    hyphens: auto;
}

.rexx-table-01__table thead th {
    background: color-mix(in srgb, var(--rexx-color-accent-soft) 40%, var(--rexx-surface-color));
    color: var(--rexx-heading-color);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.rexx-table-01__table tbody tr:nth-child(even) {
    background: color-mix(in srgb, var(--rexx-color-accent-soft) 12%, var(--rexx-surface-color));
}

.rexx-table-01__table tbody tr:last-child th,
.rexx-table-01__table tbody tr:last-child td {
    border-bottom: 0;
}

.rexx-table-01__column-header--label {
    min-width: 10rem;
}

.rexx-table-01__row-header {
    min-width: 12rem;
    font-weight: 700;
    color: var(--rexx-heading-color);
    background: color-mix(in srgb, var(--rexx-color-accent-soft) 18%, var(--rexx-surface-color));
}

.rexx-table-01__cell {
    min-width: 8rem;
}

.rexx-table-01__cell--with-icon {
    display: flex;
    gap: var(--rexx-space-sm);
    align-items: flex-start;
    flex-wrap: wrap;
}

.rexx-table-01__icon {
    display: inline-flex;
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 1.35rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--rexx-radius-pill);
    color: var(--rexx-color-accent-strong);
    background: color-mix(in srgb, var(--rexx-color-accent-soft) 48%, var(--rexx-surface-color));
}

.rexx-table-01__icon svg {
    display: block;
    width: 0.95rem;
    height: 0.95rem;
}

.rexx-table-01__cell-text,
.rexx-table-01__cell-link {
    display: inline;
    color: inherit;
}

/* Tabellenlinks: Themefarbe statt Elementor-Farbe */
.rexx-table-01 a.rexx-table-01__cell-link {
    color: var(--rexx-color-accent-strong);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

/* Hover und Tastaturfokus */
.rexx-table-01 a.rexx-table-01__cell-link:hover,
.rexx-table-01 a.rexx-table-01__cell-link:focus-visible {
    color: var(--rexx-color-4);
    text-decoration-thickness: 0.14em;
}
.rexx-table-01__empty-cell {
    color: transparent;
}

/* Optional table-area settings; classes exist only for non-standard values. */
.rexx-table-01.rexx-table-01--header-align-left .rexx-table-01__column-header,
.rexx-table-01.rexx-table-01--row-align-left .rexx-table-01__row-header,
.rexx-table-01.rexx-table-01--cell-align-left .rexx-table-01__cell { text-align: left; }

.rexx-table-01.rexx-table-01--header-align-center .rexx-table-01__column-header,
.rexx-table-01.rexx-table-01--row-align-center .rexx-table-01__row-header,
.rexx-table-01.rexx-table-01--cell-align-center .rexx-table-01__cell { text-align: center; }

.rexx-table-01.rexx-table-01--header-align-right .rexx-table-01__column-header,
.rexx-table-01.rexx-table-01--row-align-right .rexx-table-01__row-header,
.rexx-table-01.rexx-table-01--cell-align-right .rexx-table-01__cell { text-align: right; }

.rexx-table-01.rexx-table-01--header-size-small .rexx-table-01__column-header,
.rexx-table-01.rexx-table-01--row-size-small .rexx-table-01__row-header,
.rexx-table-01.rexx-table-01--cell-size-small .rexx-table-01__cell { font-size: 14px; }

.rexx-table-01.rexx-table-01--header-size-medium .rexx-table-01__column-header,
.rexx-table-01.rexx-table-01--row-size-medium .rexx-table-01__row-header,
.rexx-table-01.rexx-table-01--cell-size-medium .rexx-table-01__cell { font-size: 16px; }

.rexx-table-01.rexx-table-01--header-size-large .rexx-table-01__column-header,
.rexx-table-01.rexx-table-01--row-size-large .rexx-table-01__row-header,
.rexx-table-01.rexx-table-01--cell-size-large .rexx-table-01__cell { font-size: 18px; }

.rexx-table-01.rexx-table-01--header-weight-normal .rexx-table-01__column-header,
.rexx-table-01.rexx-table-01--row-weight-normal .rexx-table-01__row-header,
.rexx-table-01.rexx-table-01--cell-weight-normal .rexx-table-01__cell { font-weight: 400; }

.rexx-table-01.rexx-table-01--header-weight-bold .rexx-table-01__column-header,
.rexx-table-01.rexx-table-01--row-weight-bold .rexx-table-01__row-header,
.rexx-table-01.rexx-table-01--cell-weight-bold .rexx-table-01__cell { font-weight: 700; }

.rexx-table-01.rexx-table-01--cell-align-left .rexx-table-01__cell--with-icon { justify-content: flex-start; }
.rexx-table-01.rexx-table-01--cell-align-center .rexx-table-01__cell--with-icon { justify-content: center; }
.rexx-table-01.rexx-table-01--cell-align-right .rexx-table-01__cell--with-icon { justify-content: flex-end; }

@media (max-width: 768px) {
    .rexx-table-01__header {
        margin-bottom: var(--rexx-space-lg);
        text-align: left;
    }

    .rexx-table-01__intro {
        margin-inline: 0;
    }

    .rexx-table-01__table th,
    .rexx-table-01__table td {
        padding: var(--rexx-space-sm) var(--rexx-space-md);
    }
}

/* Sanfter Hover-Effekt für Tabellenzeilen */
.rexx-table-01 .rexx-table-01__table tbody tr > th,
.rexx-table-01 .rexx-table-01__table tbody tr > td {
    transition: background-color 0.25s ease;
}

/* Themebasierter Hover-Hintergrund */
@media (hover: hover) {
    .rexx-table-01 .rexx-table-01__table tbody tr:hover > th,
    .rexx-table-01 .rexx-table-01__table tbody tr:hover > td {
        background-color: color-mix(
            in srgb,
            var(--rexx-color-accent-soft) 28%,
            var(--rexx-surface-color)
        );
    }
}

/* Reduzierte Bewegung berücksichtigen */
@media (prefers-reduced-motion: reduce) {
    .rexx-table-01 .rexx-table-01__table tbody tr > th,
    .rexx-table-01 .rexx-table-01__table tbody tr > td {
        transition: none;
    }
}

.rexx-table-01.rexx-section--background-dark .rexx-table-01__table-wrap {
    --rexx-heading-color: #2b2b2b;
    --rexx-text-color: #505052;
    --rexx-muted-color: #737373;
    --rexx-color-link: color-mix(in srgb, var(--rexx-color-accent-strong) 35%, #2b2b2b);
    --rexx-color-focus: #2b2b2b;
    color: var(--rexx-text-color);
}

.rexx-table-01.rexx-section--background-dark a.rexx-table-01__cell-link,
.rexx-table-01.rexx-section--background-dark a.rexx-table-01__cell-link:hover,
.rexx-table-01.rexx-section--background-dark a.rexx-table-01__cell-link:focus-visible {
    color: color-mix(in srgb, var(--rexx-color-accent-strong) 35%, #2b2b2b);
}

.rexx-table-01.rexx-section--background-dark .rexx-table-01__icon {
    color: color-mix(in srgb, var(--rexx-color-accent-strong) 35%, #2b2b2b);
}
