/* Gemeinsames Layout für Impressum und Datenschutzerklärung */
:root {
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --ink: #1C2A55;
  --ink-soft: #4E5975;
  --ink-faint: #7A839B;
  --security: #3B57A3;
  --line: #DCE0E8;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Schmale, helle Scrollleiste wie auf der Startseite */
html { color-scheme: light; scrollbar-width: thin; scrollbar-color: #B4BCCD var(--paper); }
@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: var(--paper); }
  ::-webkit-scrollbar-thumb { background: #B4BCCD; border-radius: 10px; border: 2px solid var(--paper); }
  ::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--security); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--security); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { max-width: 1160px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.35rem/1 var(--font); letter-spacing: -0.01em; }
.back { color: var(--ink-soft); text-decoration: none; font-size: 1rem; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; }
.back:hover { color: var(--ink); }
.back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

main { padding: 64px 0 96px; }
h1 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.updated { color: var(--ink-faint); margin: 0 0 48px; }
h2 { font-size: 1.4rem; line-height: 1.3; font-weight: 700; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
h3 { font-size: 1.125rem; font-weight: 700; margin: 28px 0 8px; }
p, ul { margin: 0 0 16px; }
ul { padding-left: 1.25em; }
li { margin-bottom: 6px; }
address { font-style: normal; margin: 0 0 16px; }
.muted { color: var(--ink-soft); }
.notice { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--security); border-radius: 6px; padding: 16px 20px; }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--ink-soft); font-size: 0.95rem; }
.site-footer .wrap { max-width: 1160px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { color: inherit; text-decoration: none; }
.site-footer nav a:hover, .site-footer nav a[aria-current=page] { text-decoration: underline; }

/* Ergebnisseiten des Double-Opt-in (bestaetigt.html, abgemeldet.html, link-ungueltig.html) */
.result { padding: 96px 0 128px; }
.result-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 40px 36px; box-shadow: 0 1px 0 rgba(16,24,48,.06), 0 24px 48px -32px rgba(16,24,48,.35); }
.result-card h1 { margin: 20px 0 12px; }
.result-card p { color: var(--ink-soft); margin: 0 0 16px; }
.result-card p:last-child { margin-bottom: 0; }
.result-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.result-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.result-icon.ok { background: #E4F1EA; color: #2F7D5B; }
.result-icon.info { background: #E6EBF6; color: var(--security); }
.result-icon.warn { background: #F7E7E6; color: #A3302B; }
.result-actions { margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; background: var(--ink); color: var(--white); font-weight: 600; text-decoration: none; }
.button:hover { background: var(--security); }
@media (max-width: 600px) { .result { padding: 48px 0 80px; } .result-card { padding: 28px 20px; } }
