/* Gemeinsames Aussehen der Rechtstexte (Impressum, Datenschutz, Nutzungsbedingungen). Keine fremden Dateien. */
:root {
    color-scheme: light dark;
    --bg: #fff7f2;
    --fg: #2b1b22;
    --muted: #7a6168;
    --card: #ffffff;
    --border: #f5dfda;
    --heart: #d92b55;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1c1219;
        --fg: #f6e9ee;
        --muted: #c2a9b3;
        --card: #28191f;
        --border: #3b272f;
        --heart: #ff7a93;
    }
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: max(16px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom));
}
main {
    max-width: 42rem;
    margin: 0 auto;
}
a {
    color: var(--heart);
}
.back {
    display: inline-block;
    padding: 12px 0;
    font-weight: 600;
    text-decoration: none;
}
h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin: 8px 0 4px;
}
h2 {
    font-size: 1.15rem;
    margin: 28px 0 6px;
}
p,
ul {
    margin: 8px 0;
}
ul {
    padding-left: 1.25rem;
}
li {
    margin: 4px 0;
}
.stand {
    color: var(--muted);
    font-size: 0.875rem;
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 4px 16px 12px;
    margin: 16px 0;
}
.hinweis {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--muted);
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 8px 0;
}
th,
td {
    text-align: left;
    vertical-align: top;
    padding: 8px 8px 8px 0;
    border-bottom: 1px solid var(--border);
}
th {
    color: var(--muted);
    font-weight: 600;
}
footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}
@media (max-width: 40rem) {
    /* Tabelle als Karten untereinander, damit nichts seitlich scrollt */
    table,
    tbody,
    tr,
    td {
        display: block;
        width: 100%;
    }
    tr:first-child {
        display: none;
    }
    tr {
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
    }
    td {
        border: 0;
        padding: 2px 0;
        overflow-wrap: anywhere;
    }
    td:nth-child(2)::before {
        content: "Wofür: ";
        color: var(--muted);
    }
    td:nth-child(3)::before {
        content: "Wie lange: ";
        color: var(--muted);
    }
    td:first-child {
        font-weight: 600;
    }
}
