@font-face {
  font-family: Inter;
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cal Sans';
  src: url('fonts/cal-sans-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #15191f;
  --ink: #f0f2f4;
  --muted: #a4aeb9;
  --blue: #8bb4e5;
  --line: #3c454f;
  --topic-bg: #1d2733;
  --footer-bg: #10151c;
  --gutter: clamp(1.25rem, 5.5vw, 6rem);
  --display: 'Cal Sans', Inter, sans-serif;
  font-family: Inter, sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p { margin: 0; }
body > header, body > main, body > footer { flex-shrink: 0; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--blue); }
::selection { background: var(--blue); color: var(--paper); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
[hidden] { display: none !important; }
.frame { width: min(100% - var(--gutter) * 2, 81rem); margin-inline: auto; }
.eyebrow { font-size: .875rem; font-weight: 500; letter-spacing: .045em; line-height: 1.5; }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* HEADER — gemeinsame Navigation aller Seiten. */
.site-header__inner { min-height: 7rem; display: flex; align-items: center; gap: 2.5rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .5rem; font-size: 2rem; font-weight: 750; line-height: 1; letter-spacing: -.07em; text-decoration: none; white-space: nowrap; }
.brand__wordmark { display: inline-flex; align-items: baseline; }
.brand__subtitle { color: var(--muted); font-size: .75rem; font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.brand__prof { color: var(--muted); font-weight: 600; }
.brand__name, .brand__period { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.site-nav a { position: relative; padding-block: .6rem; font-size: .875rem; text-decoration: none; }
.site-nav a[aria-current]::after { content: ''; position: absolute; bottom: .1rem; left: 0; right: 0; height: 2px; background: var(--blue); }

/* MAIN — Startseite. */
.hero { padding-top: 2.25rem; padding-bottom: 5.5rem; position: relative; }
.hero h1 { margin: 3rem 0 0 -.045em; font-family: var(--display); font-weight: 600; font-size: clamp(4rem, 9.2vw, 8.5rem); line-height: 1.015; letter-spacing: -.055em; }
.hero h1 > span { color: var(--blue); }
.hero__bottom { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; margin-top: 3.5rem; }
.hero__note { align-self: end; color: var(--muted); font-size: 1rem; line-height: 1.65; padding-bottom: .3rem; }
.hero__intro { border-top: 2px solid var(--blue); padding-top: 1.3rem; max-width: 29rem; }
.hero__intro .eyebrow { color: var(--muted); }
.hero__intro h2 { margin-top: .45rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.16; font-weight: 550; letter-spacing: -.04em; }
.hero__intro > p:not(.eyebrow) { margin-top: 1.25rem; max-width: 27rem; }
.text-link { display: inline-block; margin-top: 1.5rem; font-size: .875rem; font-weight: 550; padding-bottom: .15rem; text-decoration: none; border-bottom: 1px solid var(--ink); }
.text-link:hover { border-color: var(--blue); }
.hero__margin { position: absolute; right: -2.8rem; top: 15rem; writing-mode: vertical-rl; font-size: .875rem; color: var(--muted); letter-spacing: .08em; }
.topics { background: var(--topic-bg); scroll-margin-top: 2rem; }
.topics__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; padding-block: 5.5rem; }
.topics__heading .eyebrow { color: var(--blue); }
.topics__heading h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.035em; line-height: 1.1; margin-top: 1.5rem; }
.topic { position: relative; padding: 1.65rem 3rem 1.65rem 0; border-top: 1px solid var(--line); }
.topic:last-child { border-bottom: 1px solid var(--line); }
.topic h3 { font-size: 1.2rem; font-weight: 550; letter-spacing: -.025em; }
.topic p { margin-top: .35rem; color: var(--muted); font-size: .9375rem; }
.topic__symbol { position: absolute; right: 0; top: 1.55rem; font-size: 1.5rem; font-weight: 400; color: var(--blue); }
.topic__symbol--ai { font-size: 3rem; line-height: 1; }

/* MAIN — Inhaltsseiten. Rechtstexte bleiben unabhängig von der Startseite. */
.legal-main { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; padding-block: 5.5rem 7rem; }
.legal-heading .eyebrow { color: var(--muted); }
.legal-heading h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 4.7vw, 4.2rem); letter-spacing: -.04em; line-height: 1.1; margin-top: 1.25rem; }
.legal-heading h1 span { color: var(--blue); }
.prose { max-width: 41rem; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.5rem 0 1rem; font-size: 1.25rem; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.prose p + p { margin-top: 1.25rem; }
.prose a { color: var(--blue); }

/* BLOG — Übersicht mit Links auf einzelne Artikel. */
.blog-overview { min-width: 0; }
.blog-empty { color: var(--muted); padding-block: 1.25rem; border-block: 1px solid var(--line); }
.blog-list { list-style: none; padding: 0; margin: 0; }
.blog-list li { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.blog-list li:last-child { border-bottom: 1px solid var(--line); }
.blog-list h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.blog-list h2 a { text-decoration: none; }
.blog-list p { margin-top: .75rem; color: var(--muted); }

/* FOOTER — gemeinsamer Kontakt und rechtliche Links. */
.site-footer { margin-top: auto; background: var(--footer-bg); color: #f2f5f9; }
.site-footer a:hover { color: #a7c7ef; }
.site-footer a:focus-visible { outline-color: #a7c7ef; }
.site-footer__bottom { display: flex; align-items: center; gap: 2rem; border-top: 1px solid #ffffff30; padding-block: 1.5rem; font-size: .875rem; color: #c1cbd7; }
.site-footer__bottom nav { display: flex; gap: 1.5rem; margin-left: auto; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a[aria-current='page'] { text-decoration: underline; }
.back-top { margin-left: 1rem; }

@media (min-width: 1500px) { .hero__margin { right: -3.5rem; } }
@media (max-width: 1000px) {
  .hero__margin { display: none; }
  .legal-main { grid-template-columns: 1fr 1.4fr; gap: 2.5rem; }
  .site-footer__bottom { flex-wrap: wrap; gap: 1rem 2rem; }
  .back-top { margin-left: auto; }
}
@media (max-width: 700px) {
  .site-header__inner { flex-wrap: wrap; gap: 0 1rem; min-height: 0; padding-top: 1.3rem; }
  .brand { font-size: 1.85rem; }
  .site-nav { order: 3; flex-basis: 100%; justify-content: flex-start; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: .6rem; padding-bottom: .7rem; }
  .site-nav a { min-height: 2.75rem; display: flex; align-items: center; }
  .hero { padding-top: 1.5rem; padding-bottom: 3.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 10.3vw, 4.75rem); margin-top: 2.25rem; line-height: 1.07; letter-spacing: -.05em; }
  .hero__bottom { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.75rem; }
  .hero__note { order: 2; font-size: .9375rem; }
  .hero__note br { display: none; }
  .hero__intro { max-width: none; }
  .hero__intro h2 { font-size: 1.85rem; }
  .hero__intro h2 br { display: none; }
  .hero__intro > p:not(.eyebrow) { max-width: 31rem; }
  .topics__inner { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem; }
  .topics__heading h2 { font-size: 2.5rem; margin-top: 1rem; }
  .topics__heading h2 br { display: none; }
  .legal-main { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem 4rem; }
  .legal-heading h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .site-footer__bottom { align-items: flex-start; gap: 1rem; padding-block: 1.5rem 2rem; }
  .site-footer__bottom > p { flex-basis: 100%; }
  .site-footer__bottom nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
