/* Hallmark · shape: long document (the legal pages in the site's chrome) · genre: editorial · theme: custom · job: visit · idea: "the legal texts read like the rest of Deklinoo: same paper, type and chrome, nothing added" · vibe: "calm exercise book, colour that means grammar"
 * paper: oklch(96.5% 0.013 87) · accent: oklch(38.8% 0.036 171) · display: Inclusive Sans · body: Figtree · hero: settled, the page title and the legal lead · nav: the site's, with the three legal pages · footer: the site's · imagery: none · signature: the German and English versions switched by one pill, without JavaScript
 * axes: light/rounded-sans/chromatic-green · posture: restrained · modes: light+dark · copy: verbatim · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S3 R5 V3 · weakest: S, a legal text has to look like a legal text; it carries the site's chrome and type instead of an idea */
/* Hallmark · waive 78 · the h2 of each legal section is set at 25px under a 60px title · a long legal document numbers thirteen sections; display-size heads would turn it into a poster */
/* Hallmark · waive 77 · legal sections are one column of text without pictures · the text is the binding content and stays as written, so mass would be decoration */
/* Hallmark · waive 59 · legal sections part with a hairline and 80px · thirteen numbered sections of one document read as one text, not as landing-page bands */
/* Hallmark · dismissed 23 · the 5.5% is the active language pill and the underlined links of the legal text, which must stay recognisable as links */
@import url("./site.css?v=19bc0cdb6d");

/* ---------- Legal pages (Datenschutz, Nutzungsbedingungen, Impressum) ---------- */

/* German and English share one file; the English text shows when #en (or an
   anchor inside it) is the target. Pure CSS, as before. The chrome follows. */
#en { display: none; }
#en:target, #en:has(:target) { display: block; }
/* Switching language goes to the article, which starts under the header: a large
   scroll margin clamps the jump to the top of the page, header included. */
#de, #en { scroll-margin-top: 100vh; }
.page:has(#en:target, #en :target) #de { display: none; }
body.legal:not(:has(#en:target, #en :target)) .l-en { display: none; }
body.legal:has(#en:target, #en :target) .l-de { display: none; }

.legal .page { max-width: calc(40rem + 2 * var(--gutter)); padding-block: var(--space-xl) var(--space-3xl); }
.legal .page header { padding-bottom: var(--space-xl); }
.legal h1 { margin-bottom: var(--space-lg); hyphens: auto; -webkit-hyphens: auto; font-size: clamp(2rem, 4vw + 0.75rem, 3.75rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.legal .page header p { max-width: none; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); }
.legal .page header p + p { margin-top: var(--space-sm); }
.legal .page header .updated, .legal .page header .binding { font-size: var(--text-sm); }
.legal h2 { margin-bottom: var(--space-md); font-size: var(--text-xl); font-weight: 600; line-height: 1.25; }
.legal h3 { margin: var(--space-lg) 0 var(--space-xs); font-size: var(--text-lg); font-weight: 600; line-height: 1.3; }
.legal .page section { padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); scroll-margin-top: var(--space-lg); }
.legal .page p, .legal .page address { max-width: none; margin-bottom: var(--space-md); line-height: 1.7; }
.legal .page section > :last-child, .legal .summary > :last-child, .legal .objection > :last-child { margin-bottom: 0; }
.legal .page ul, .legal .page ol { margin: 0 0 var(--space-md); padding-left: var(--space-lg); line-height: 1.7; }
.legal .page li + li { margin-top: var(--space-xs); }
.legal address { font-style: normal; }
.legal .placeholder { font-weight: 600; }
.legal .page a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; border-radius: 2px; }
.legal .page a:hover { text-decoration-thickness: 2px; }
.legal .page a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.legal .nav-links a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

.legal .lang-switch { display: flex; justify-content: flex-end; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.legal .page .lang-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-ink); font-weight: 600; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.legal .page .lang-switch a:hover { background: var(--color-paper-2); }
.legal .page .lang-switch a.active { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); }

.legal .summary, .legal .page nav { margin-bottom: var(--space-xl); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); }
.legal .summary h2 { font-size: var(--text-lg); }
.legal .page nav ol { margin: 0; }
.legal .page nav li + li { margin-top: var(--space-xs); }
.legal .objection { margin-block: var(--space-lg); padding: var(--space-lg); border: 2px solid var(--color-accent); border-radius: var(--radius-control); background: var(--color-card); }
.legal .objection h3 { margin-top: 0; }

@media (max-width: 40rem) {
    .legal .summary, .legal .page nav { padding: var(--space-md); }
    .legal .page nav { margin-inline: calc(-1 * var(--space-xs)); padding-inline: var(--space-sm); font-size: var(--text-sm); }
    .legal .page nav ol { padding-left: var(--space-md); }
}

@media (prefers-reduced-motion: reduce) {
    .legal .page .lang-switch a { transition: none; }
}

@media print {
    .skip, .nav, .footer, .legal .lang-switch, .legal .page nav { display: none !important; }
    #de, #en { display: block !important; }
    .legal .page { max-width: none; padding: 0; }
    .legal h2, .legal h3 { break-after: avoid; }
    .legal p, .legal li { orphans: 3; widows: 3; }
}
