/* Klarschiff-KI */
:root {
  --paper: #FBF9F4;
  --band: #F1EEE5;
  --ink: #161616;
  --text: #33302B;
  --muted: #625E56;
  --line: #D9D4C8;
  --flag-blue: #12499B;
  --flag-yellow: #F6C700;

  --serif: "Vollkorn", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--flag-blue); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }

/* Signalflaggen */
.flag-defs { position: absolute; }
.flag { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; outline: 1px solid rgba(22, 22, 22, 0.2); outline-offset: -1px; }

/* Kopf */
.site-head { padding: 20px 0; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1; text-decoration: none; }
.wordmark-flags { display: inline-flex; gap: 3px; }
.wordmark-flags .flag { width: 27px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.site-nav a { font-size: 0.98rem; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }

/* Auftakt */
.intro { padding: clamp(28px, 5vw, 72px) 0 clamp(48px, 7vw, 96px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hoist { max-width: 400px; padding-left: 22px; }
.hoist-flags { position: relative; display: grid; gap: 12px; }
.hoist-flags::before { content: ""; position: absolute; left: -22px; top: -36px; bottom: -36px; width: 3px; background: var(--ink); }
.hoist figcaption { font-size: 0.9rem; line-height: 1.45; color: var(--muted); margin-top: 52px; max-width: 30em; }
.intro h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 11em;
  text-wrap: balance;
}
.standfirst { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--text); max-width: 30em; margin-top: clamp(20px, 3vw, 32px); }
.intro-links { margin-top: 24px; font-weight: 500; }

/* Erster Beitrag */
.lead-story { background: var(--band); padding: clamp(40px, 6vw, 80px) 0; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.kicker { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.lead-story h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 18em;
  margin-top: 10px;
  text-wrap: balance;
}
.teaser { font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--text); max-width: 36em; margin-top: 18px; }
.status { font-size: 0.9rem; color: var(--muted); margin-top: 18px; }

/* Geplante Beiträge */
.planned { padding: clamp(44px, 6vw, 88px) 0; }
.planned-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.rubrics h2, .about h2 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; line-height: 1.2; }
.rubrics p { font-size: 0.95rem; color: var(--muted); margin-top: 10px; max-width: 24em; }
.rubrics ul { margin-top: 22px; display: grid; gap: 10px; }
.rubrics li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; }
.rubrics .flag { width: 36px; flex: none; }

.stories li { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.stories li:first-child { padding-top: 0; border-top: 0; }
.stories .rubric { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.stories h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; margin-top: 4px; }
.stories h3 + p { color: var(--text); margin-top: 8px; max-width: 38em; }

/* Über */
.about { border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 88px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(16px, 5vw, 72px); align-items: start; }
.about-text p { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--text); max-width: 34em; }
.about-text p + p { margin-top: 1em; }
.about-text a, .prose a { color: var(--flag-blue); }

/* Fuß */
.site-foot { background: var(--ink); color: #D8D3C7; padding: 44px 0 40px; font-size: 0.95rem; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; }
.foot-note h2 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: #fff; }
.foot-note p { margin-top: 6px; max-width: 30em; }
.site-foot li + li { margin-top: 8px; }
.site-foot li a { color: #fff; text-decoration: none; }
.site-foot li a:hover { text-decoration: underline; }
.site-foot .legal { grid-column: 1 / -1; font-size: 0.85rem; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 20px; }

/* Textseiten */
.page { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 112px); }
.page > .wrap { max-width: 800px; }
.page h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.015em; }
.page .updated { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.prose { font-size: 1.08rem; line-height: 1.65; color: var(--text); margin-top: 32px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.25; color: var(--ink); margin: 1.8em 0 0.35em; }
.prose p + p, .prose ul { margin-top: 0.8em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: 0.3em; }
.prose .lede { font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.lead-story h2 a { text-decoration: none; }
.page .disclaimer { margin-top: 2.4em; border-top: 1px solid var(--line); padding-top: 1em; }
.todo { font-size: 0.95rem; line-height: 1.5; background: #FFF4C2; border-left: 4px solid var(--flag-yellow); padding: 12px 16px; margin: 1.2em 0; }

@media (max-width: 820px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-text { order: 1; }
  .hoist { order: 2; max-width: none; padding-left: 0; }
  .hoist-flags { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; }
  .hoist-flags::before { display: none; }
  .hoist figcaption { margin-top: 12px; }
  .lead-grid, .planned-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .lead-flag { max-width: 180px; }
  .rubrics ul { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; }
  .stories { margin-top: 12px; }
  .stories li { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .site-nav { gap: 6px 16px; }
  .site-nav a { font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
