/* Leseteppich legal pages in the app's warm world (grid DESIGN.md); the landing page carries the same tokens inline. */
:root {
    --ground: #FCF6E9;
    --card: #FDFAF3;
    --beige: #F3EBDD;
    --edge: #ECE7DE;
    --action: #E9561D;
    --action-ink: #C04815;
    --action-soft: #FDEBE1;
    --ink: #252527;
    --muted: #6B6259;
    --shadow-card: 0 10px 30px -14px rgba(107, 82, 47, .28), 0 2px 6px -2px rgba(107, 82, 47, .10);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: #D9CDB8 var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.65 'Lexend', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--action-soft); color: var(--ink); }
a { color: var(--action-ink); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--action-ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }

.head { padding-block: 24px 0; }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; }
.brand img { width: 52px; height: 52px; }
.pill { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--action); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(192, 72, 21, .7); }
.pill:hover { background: var(--action-ink); }

/* Legal German has words like "Verbraucherstreitbeilegung/Universalschlichtungsstelle" that are wider than a phone. */
.doc { overflow-wrap: break-word; hyphens: auto; }
.doc { margin-block: clamp(28px, 5vw, 56px); padding: clamp(24px, 5vw, 56px); background: var(--card); border-radius: 28px; box-shadow: var(--shadow-card); }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 20px; text-wrap: balance; }
.doc h2 { font-size: 1.35rem; line-height: 1.25; margin: 40px 0 10px; text-wrap: balance; }
.doc h3 { font-size: 1.1rem; margin: 28px 0 6px; }
.doc p, .doc li { color: #3d3a37; max-width: 68ch; text-wrap: pretty; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc hr { border: 0; border-top: 2px solid var(--edge); margin: 48px 0; }
.highlight { background: var(--beige); border-radius: 22px; padding: 4px 24px; margin: 24px 0; }
.doc-meta { margin-top: 40px; color: var(--muted); font-size: .95rem; }

.foot { border-top: 2px solid var(--edge); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 28px 40px; color: var(--muted); font-size: .95rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--ink); }
.foot p { margin: 0 0 0 auto; }

@media (max-width: 600px) {
    .brand { font-size: 1.3rem; gap: 10px; }
    .brand img { width: 42px; height: 42px; }
    .pill { min-height: 42px; padding: 0 16px; font-size: .95rem; }
    .foot p { margin-left: 0; }
}
