/* Gemeinsames Aussehen der Rechtsseiten (Impressum, Datenschutz, AGB, Widerruf). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: #0d1b2a;
    color: rgba(255,255,255,0.82);
    padding: 3rem 1rem;
    line-height: 1.7;
}

main { width: 100%; max-width: 42rem; margin: 0 auto; }

h1 { font-size: 1.6rem; font-weight: 600; color: #fff; margin-bottom: 1.25rem; line-height: 1.3; }

h2 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin: 1.75rem 0 0.3rem;
}

h2.section {
    font-size: 1.15rem;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

h3 { font-size: 1rem; font-weight: 600; color: #fff; margin: 1.5rem 0 0.3rem; }

p, ul { margin-bottom: 0.75rem; }
ul { padding-left: 1.2rem; }

a { color: #fff; text-underline-offset: 3px; }

img { display: block; max-width: 100%; height: auto; }

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.9rem;
}

/* Formular der Widerrufsfunktion */
form { margin-top: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; color: #fff; margin-bottom: 0.3rem; }

.field input, .field textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    font: inherit;
    color: #fff;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
}

.field input:focus, .field textarea:focus,
.legal-btn:focus-visible, a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.field-hint { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin: 0.3rem 0 0; }
.field-error { font-size: 0.9rem; color: #ffb4ab; margin: 0.3rem 0 0; }

.legal-btn {
    display: inline-block;
    padding: 0.8rem 1.4rem;
    font: inherit;
    font-weight: 600;
    color: #0d1b2a;
    background: #fff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.notice {
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
}
.notice p:last-child { margin-bottom: 0; }
.notice-error { border-color: #ffb4ab; }
