@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
:root {
  --paper: #f4f1ea; --paper-2: #ebe6db; --ink: #1b1d1f; --ink-2: #3c4043; --ink-3: #6f7377;
  --line: rgba(27,29,31,.12); --line-strong: rgba(27,29,31,.24); --acc: #13706b; --acc-soft: rgba(19,112,107,.1);
  --sans: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Charter", "Georgia", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 18px; line-height: 1.6; background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.w { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: rgba(244,241,234,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top .w { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 16px; }
.brand svg { width: 26px; height: 26px; }
.top nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }
.top .cta { color: var(--paper); background: var(--ink); border-radius: 999px; padding: 8px 15px; }
.top .cta:hover { color: var(--paper); background: var(--acc); }

.k { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }

/* Artikel */
.art { display: grid; grid-template-columns: minmax(0, 720px) 240px; column-gap: 72px; padding-top: 48px; padding-bottom: 96px; }
.art > * { grid-column: 1; }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.art h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.03; letter-spacing: -.035em; font-weight: 600; margin: 26px 0 22px; text-wrap: balance; }
.meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 0; margin-bottom: 40px; border-block: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
.meta a { color: var(--ink-2); }
.pdf { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--ink) !important; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.pdf:hover { border-color: var(--acc); color: var(--acc) !important; }
.pdf svg { width: 15px; height: 15px; }
.toc { grid-column: 2; grid-row: 2 / span 5; align-self: start; position: sticky; top: 96px; margin-top: 4px; padding-top: 16px; border-top: 2px solid var(--ink); }
.toc p { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 9px; counter-reset: t; }
.toc li { counter-increment: t; display: grid; grid-template-columns: 24px 1fr; }
.toc li::before { content: counter(t, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--ink-3); padding-top: 3px; }
.toc a { text-decoration: none; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.toc a:hover { color: var(--acc); }

.text { font-family: var(--serif); font-size: 20px; line-height: 1.7; color: var(--ink); }
.text .lead { font-family: var(--sans); font-size: 22px; line-height: 1.5; letter-spacing: -.01em; color: var(--ink); margin-bottom: 12px; }
.text h2 { font-family: var(--sans); font-size: 28px; line-height: 1.15; letter-spacing: -.025em; font-weight: 600; margin: 56px 0 14px; scroll-margin-top: 90px; }
.text p { margin: 0 0 20px; }
.text ul, .text ol { margin: 0 0 24px; padding-left: 24px; display: grid; gap: 10px; }
.text li::marker { color: var(--acc); font-family: var(--sans); font-weight: 600; }
.text strong { font-family: var(--sans); font-weight: 600; font-size: .92em; }
.text a { color: var(--acc); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text code { font-family: var(--mono); font-size: 15px; background: var(--paper-2); border-radius: 4px; padding: 1px 6px; }
.text .note { margin-top: 36px; padding: 16px 20px; border-left: 3px solid var(--acc); background: var(--paper-2); font-family: var(--sans); font-size: 15px; color: var(--ink-2); }

.foto { margin: 40px 0 44px; }
.foto img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 18px 40px -26px rgba(0,0,0,.45); background: var(--paper-2); }
.foto figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 12px; font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.foto .ki { flex: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 8px; }

.druckquelle { display: none; }
.autor { margin-top: 64px; padding: 28px; border-radius: 12px; background: var(--ink); color: #ecEAe4; }
.autor .k { color: #5fd4cf; }
.autor p + p { margin-top: 10px; color: #b9bcbf; }
.autor strong { color: #fff; font-weight: 600; }
.links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 18px !important; font-size: 15px; }
.links a { color: #ecEAe4; }
.btn { background: #ecEAe4; color: var(--ink) !important; text-decoration: none; padding: 11px 20px; border-radius: 999px; font-weight: 600; }
.mehr { margin-top: 56px; }
.mehr ul { list-style: none; margin-top: 14px; border-top: 1px solid var(--line); }
.mehr a { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mehr a:hover b { color: var(--acc); }
.mehr b { font-weight: 600; font-size: 19px; letter-spacing: -.01em; transition: color .2s; }
.mehr span { font-size: 15px; color: var(--ink-3); }

/* Uebersicht */
.liste { padding-top: 64px; padding-bottom: 110px; }
.liste h1 { font-size: clamp(40px, 6vw, 80px); line-height: .98; letter-spacing: -.045em; font-weight: 600; margin: 18px 0 22px; }
.liste h1 em { font-style: normal; color: var(--ink-3); }
.intro { max-width: 54ch; color: var(--ink-2); font-size: 19px; }
.gross { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; margin-top: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--line); text-decoration: none; }
.gross img { width: 100%; height: auto; border-radius: 6px; }
.gross > span { display: grid; gap: 12px; }
.gross b { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; }
.gross:hover b { color: var(--acc); }
.gross .d { font-family: var(--serif); font-size: 18px; color: var(--ink-2); }
.karten { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 28px; margin-top: 40px; }
.karten a { display: grid; gap: 8px; align-content: start; text-decoration: none; height: 100%; }
.karten img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 6px; margin-bottom: 8px; transition: transform .5s cubic-bezier(.2,.7,.1,1); }
.karten a:hover img { transform: translateY(-3px); }
.karten a:hover b { color: var(--acc); }
.m { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.karten b { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.karten .d { font-family: var(--serif); font-size: 16px; color: var(--ink-2); line-height: 1.5; }

.foot { border-top: 1px solid var(--line); padding: 30px 0 40px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.foot .w { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot b { color: var(--ink); font-weight: 500; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 980px) {
  .art { grid-template-columns: 1fr; }
  .toc { grid-column: 1; grid-row: auto; position: static; margin: 0 0 32px; }
  .gross { grid-template-columns: 1fr; }
  .karten { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .text { font-size: 18px; }
  .text .lead { font-size: 20px; }
  .top nav a:not(.cta) { display: none; }
}

/* Druckfassung fuer das PDF */
@page { size: A4; margin: 18mm 20mm 20mm; }
@media print {
  html, body { background: #fff; }
  body { font-size: 11pt; }
  .top, .toc, .pdf, .mehr, .foot, .crumbs, .links { display: none !important; }
  .w { max-width: none; padding: 0; }
  .art { display: block; padding: 0; }
  .art h1 { font-size: 26pt; margin: 0 0 8pt; }
  .meta { margin-bottom: 18pt; padding: 6pt 0; font-size: 9pt; }
  .text { font-size: 11pt; line-height: 1.55; }
  .text .lead { font-size: 13pt; }
  .text h2 { font-size: 15pt; margin: 20pt 0 6pt; break-after: avoid; }
  .text a { color: var(--ink); }
  .foto { margin: 14pt 0 16pt; break-inside: avoid; }
  .foto img { box-shadow: none; max-height: 78mm; width: auto; max-width: 100%; }
  .foto figcaption { font-size: 8.5pt; }
  .autor { background: none; color: var(--ink); border: 1px solid var(--line-strong); padding: 12pt; margin-top: 24pt; break-inside: avoid; }
  .autor .k { color: var(--acc); }
  .autor p + p, .autor strong { color: var(--ink); }
  .druckquelle { display: block; margin-top: 18pt; font-family: var(--mono); font-size: 8pt; color: var(--ink-3); }
}
