/* Gemeinsames Design der Stundo-Website: Startseite, Impressum, Datenschutz.
   Ruhig, viel Weißraum, eine Akzentfarbe für Buttons und Links. Hell und dunkel automatisch. */

@font-face { font-family: "Inter Var"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-normal-latin-7.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Var"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-normal-latin-ext-6.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fbfbfd; --bg-2: #f5f5f7; --card: #ffffff; --ink: #1d1d1f; --grey: #6e6e73; --line: #d2d2d7;
  --accent: #2457d6; --accent-hover: #1c47b4; --link: #2457d6; --on-accent: #fff;
  --dark: #000; --dark-2: #1d1d1f; --on-dark: #f5f5f7; --grey-dark: #86868b;
  --warn: #c2410c; --ok: #2f7d4f;
  --grad: linear-gradient(100deg, #2457d6 0%, #6b4fe0 55%, #c2410c 100%);
  --nav: rgba(251, 251, 253, .8);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000; --bg-2: #000; --card: #1d1d1f; --ink: #f5f5f7; --grey: #86868b; --line: #424245;
    --accent: #3a6df0; --accent-hover: #2f5fd9; --link: #7ea2ff;
    --dark: #1d1d1f; --dark-2: #2a2a2d;
    --warn: #ff8a4c; --ok: #5cc28a;
    --grad: linear-gradient(100deg, #7ea2ff 0%, #a98bff 55%, #ff8a4c 100%);
    --nav: rgba(22, 22, 23, .8);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 52px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.47 "Inter Var", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  letter-spacing: -.022em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
p { text-wrap: pretty; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(980px, 100% - 44px); margin-inline: auto; }
.wide { width: min(1260px, 100% - 44px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 8px 14px; border-radius: 980px; background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

/* Leiste oben */
.nav { position: sticky; top: 0; z-index: 50; height: 52px; background: var(--nav); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav .wrap { display: flex; align-items: center; height: 100%; gap: 6px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav nav { display: flex; gap: 2px; }
.nav nav a { font-size: 12px; letter-spacing: -.01em; color: var(--ink); opacity: .8; padding: 6px 10px; }
.nav nav a:hover, .nav nav a[aria-current] { opacity: 1; text-decoration: none; }
.nav nav a[aria-current] { color: var(--link); }
.nav .small-btn { margin-left: 10px; font-size: 12px; line-height: 1; padding: 6px 12px; border-radius: 980px; background: var(--accent); color: var(--on-accent); font-weight: 500; }
.nav .small-btn:hover { background: var(--accent-hover); text-decoration: none; }
@media (max-width: 640px) { .nav nav { display: none; } }

/* Buttons und Links */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 22px; border-radius: 980px; background: var(--accent); color: var(--on-accent);
  font-size: 17px; font-weight: 400; letter-spacing: -.022em; transition: background-color .2s var(--ease); }
.pill:hover { background: var(--accent-hover); text-decoration: none; }
.more { font-size: 17px; }
.more::after { content: " ›"; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 32px; }

/* Fußzeile */
.foot { background: var(--bg-2); color: var(--grey); font-size: 12px; line-height: 1.34; letter-spacing: -.01em; padding: 18px 0 22px; }
.foot a { color: var(--grey); }
.foot a:hover { color: var(--ink); }
.foot .notes { padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.foot .notes li { margin-bottom: 8px; counter-increment: n; }
.foot .notes ol { counter-reset: n; }
.foot .notes ol li::before { content: counter(n) ". "; }
.foot .notes ol li a { color: var(--link); }
.foot .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.foot h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.foot .cols li { margin-bottom: 7px; }
.foot .legal { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 16px; }
.foot .legal span:first-child { margin-right: auto; }
@media (max-width: 734px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

/* Rechtliche Seiten */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 692px; }
.doc .eyebrow { color: var(--accent); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.doc h1 { font-size: clamp(34px, 9vw, 56px); line-height: 1.07; letter-spacing: -.028em; margin-bottom: 12px; overflow-wrap: anywhere; hyphens: auto; }
.doc .lead { color: var(--grey); font-size: 21px; line-height: 1.38; margin-bottom: 40px; }
.doc h2 { font-size: 24px; line-height: 1.17; letter-spacing: -.02em; margin: 44px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc p { margin-bottom: 14px; }
.doc ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.doc li { margin-bottom: 6px; }
.doc .box { background: var(--bg-2); border-radius: 18px; padding: 26px 28px; margin: 0 0 8px; }
@media (prefers-color-scheme: dark) { .doc .box { background: var(--card); } }
.doc .box p:last-child { margin-bottom: 0; }
.doc .muted { color: var(--grey); font-size: 14px; }
.doc h1 + .box { margin-top: 32px; }
