*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

/* Layout */
.page-container {
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 0 32px;
    width: 100%;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.page-header h1 {
    font-size: 34px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.dsgvo-badge {
    padding: 7px 16px;
    background: rgba(6, 182, 212, .1);
    border: 1px solid rgba(6, 182, 212, .3);
    border-radius: 100px;
    color: #22d3ee;
    font-size: 13px;
    font-weight: 600;
}

/* Info-Banner */
.info-box {
    background: rgba(6, 182, 212, .08);
    border: 1px solid rgba(6, 182, 212, .25);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #22d3ee;
    font-size: 14px;
}

/* TOC */
.toc {
    background: rgba(2, 6, 23, .5);
    border: 1px solid rgba(30, 41, 59, .5);
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.toc h3 {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 14px;
}

.toc ol {
    list-style: decimal;
    padding-left: 20px;
    columns: 2;
    column-gap: 32px;
}

.toc li {
    margin-bottom: 8px;
}

.toc a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color .15s;
}

.toc a:hover {
    color: #22d3ee;
}

/* Sections */
.privacy-section {
    background: rgba(2, 6, 23, .5);
    border: 1px solid rgba(30, 41, 59, .5);
    border-radius: 18px;
    padding: 26px 28px;
    backdrop-filter: blur(4px);
    margin-bottom: 20px;
    transition: border-color .25s;
    scroll-margin-top: 20px;
}

.privacy-section:hover {
    border-color: rgba(6, 182, 212, .4);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(51, 65, 85, .5);
    padding-bottom: 12px;
}

.section-title .icon {
    background: rgba(6, 182, 212, .15);
    padding: 7px;
    border-radius: 9px;
    font-size: 18px;
    line-height: 1;
}

.section-content {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.75;
}

.section-content p {
    margin-bottom: 14px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content strong {
    color: #22d3ee;
    font-weight: 600;
}

.section-content ul {
    list-style: none;
    margin: 12px 0 12px 8px;
}

.section-content li {
    color: #94a3b8;
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
    font-size: 14px;
}

.section-content li::before {
    content: "›";
    color: #06b6d4;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* Highlight Box */
.highlight-box {
    background: rgba(6, 182, 212, .07);
    border-left: 3px solid #06b6d4;
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    margin: 16px 0;
}

.highlight-box p {
    margin-bottom: 8px !important;
    color: #e2e8f0;
}

.highlight-box p:last-child {
    margin-bottom: 0 !important;
}

.warning-box {
    background: rgba(234, 179, 8, .07);
    border-left: 3px solid #ca8a04;
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    margin: 16px 0;
    color: #fde68a;
    font-size: 14px;
}

/* Grids */
.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 16px 0;
}

.data-card {
    background: rgba(15, 23, 42, .8);
    border: 1px solid rgba(51, 65, 85, .5);
    border-radius: 10px;
    padding: 14px 16px;
}

.data-card h4 {
    color: #22d3ee;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.data-card ul {
    margin: 0 !important;
}

.data-card li {
    margin-bottom: 5px !important;
    font-size: 13px;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}

.column {
    background: rgba(15, 23, 42, .6);
    border-radius: 10px;
    padding: 16px 18px;
}

.column h4 {
    color: #22d3ee;
    margin-bottom: 12px;
    font-size: 15px;
}

/* Third-party table */
.provider-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.provider-table th {
    text-align: left;
    padding: 10px 14px;
    background: rgba(15, 23, 42, .8);
    color: #64748b;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid rgba(51, 65, 85, .5);
}

.provider-table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(30, 41, 59, .4);
    color: #94a3b8;
    vertical-align: top;
}

.provider-table tr:last-child td {
    border-bottom: none;
}

.provider-table td:first-child {
    color: #e2e8f0;
    font-weight: 500;
}

.provider-table a {
    color: #22d3ee;
    text-decoration: none;
}

.provider-table a:hover {
    text-decoration: underline;
    /* FIX: "uäline" → "underline" */
}

/* Legal Badges */
.badges {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.legal-badge {
    display: inline-block;
    padding: 3px 11px;
    background: rgba(6, 182, 212, .08);
    border: 1px solid rgba(6, 182, 212, .25);
    border-radius: 100px;
    color: #22d3ee;
    font-size: 12px;
    font-weight: 500;
}

/* Footer */
.last-updated {
    text-align: right;
    color: #475569;
    font-size: 13px;
    margin-top: 16px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .page-container {
        padding: 0 20px;
        margin-top: 28px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .data-grid,
    .two-columns {
        grid-template-columns: 1fr;
    }

    .toc ol {
        columns: 1;
    }
}

@media print {
    body {
        background: #fff;
        color: #000;
    }

    .privacy-section {
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .dsgvo-badge,
    .info-box {
        display: none;
    }
}