/* ════════════════════════════════════════════════════════════════════════
   Diekmann Capital — geteiltes Design-System
   Tokens 1:1 aus CI-Manual 2026. Rohes Hex ausschließlich im :root-Block.
   Gilt für: index, fonds, fonds-detail, vermoegensverwaltung, ueber-uns,
             wissen, wissen-artikel
   ════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Marken-Palette (CI) ───────────────────────────────────────────── */
  --accent:    #0e6eb6;   /* Primärblau */
  --accent-2:  #27ade4;   /* Bright Blue */
  --steel:     #70a0bf;   /* Sekundärblau */
  --sky:       #a6daf0;
  --mist:      #c8def4;
  --highlight: #721b23;   /* Bordeaux — sparsam */

  --bg:        #f3f3f2;
  --surface:   #ffffff;
  --fg:        #333c4e;   /* Logo-Slate */
  --muted:     #6a7585;
  --border:    #dfe3e8;
  --ink-strong:#1f2733;

  /* derived */
  --accent-soft: color-mix(in oklch, var(--accent) 12%, transparent);
  --accent-tint: color-mix(in oklch, var(--accent) 6%, var(--surface));
  --fg-soft:     color-mix(in oklch, var(--fg) 5%, transparent);
  --shadow-sm:   0 1px 2px color-mix(in oklch, var(--fg) 8%, transparent);
  --shadow-md:   0 18px 48px -24px color-mix(in oklch, var(--fg) 40%, transparent);
  --shadow-pop:  0 24px 60px -20px color-mix(in oklch, var(--ink-strong) 45%, transparent);

  /* type */
  --font-display: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body:    'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* fluid scale */
  --fs-display: clamp(48px, 7.2vw, 104px);
  --fs-h1: clamp(40px, 5.4vw, 72px);
  --fs-h2: clamp(30px, 3.6vw, 46px);
  --fs-h3: clamp(20px, 1.6vw, 24px);
  --fs-lead: clamp(18px, 1.4vw, 21px);
  --fs-body: 16.5px;
  --fs-meta: 13px;

  /* spacing */
  --gap-xs: 8px;  --gap-sm: 12px; --gap-md: 20px;
  --gap-lg: 32px; --gap-xl: 56px; --gap-2xl: 96px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 10px;
  --radius-lg: 18px;
  --nav-h: 104px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ── reset & base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
p { text-wrap: pretty; margin: 0; }
h1,h2,h3,h4 { text-wrap: balance; margin: 0; }
::selection { background: var(--accent); color: #fff; }

/* ── layout primitives ────────────────────────────────────────────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, var(--gap-2xl)); position: relative; }
.section-tint { background: var(--accent-tint); }
.section-ink { background: var(--ink-strong); color: #eef2f6; }
.section-ink .eyebrow { color: var(--accent-2); }
.section-ink .lead, .section-ink .muted { color: #b6c0cc; }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap-md); }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap-md); }
.grid-2-1 { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap-2xl); align-items: center; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--gap-2xl); align-items: center; }
.center { text-align: center; }
.maxw { max-width: 62ch; }
.mt-lg { margin-top: var(--gap-lg); }
.mt-xl { margin-top: var(--gap-xl); }

/* ── type ─────────────────────────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.015em; }
h1, .h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.01em; }
h2, .h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.01em; }
h3, .h3 { font-family: var(--font-body); font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.no-rule::before { display: none; }
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); letter-spacing: .02em; }
.num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.serif { font-family: var(--font-display); }

/* ── topnav + mega-menü ───────────────────────────────────────────────── */
.topnav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.topnav-inner { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap-lg); }
.brand { display: flex; align-items: center; height: var(--nav-h); }
.brand img { height: 30px; width: auto; }
.brand .brand-mono { height: 92px; }

/* transparent over hero, solid after scroll / on inner pages */
.topnav.is-over { background: transparent; }
.topnav.is-over .nav-link, .topnav.is-over .brand-name { color: #fff; }
.topnav.is-over .brand img { filter: brightness(0) invert(1); }
.topnav.is-solid {
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--border);
}

.mainnav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px; height: 100%;
  font-size: 15px; font-weight: 500; color: var(--fg); letter-spacing: .01em;
  position: relative; transition: color .2s var(--ease);
}
.nav-link .caret { width: 9px; height: 9px; transition: transform .3s var(--ease); opacity: .65; }
.nav-link:hover, .nav-item.open .nav-link { color: var(--accent); }
.topnav.is-over .nav-link:hover, .topnav.is-over .nav-item.open .nav-link { color: var(--sky); }
.nav-item.open .nav-link .caret { transform: rotate(180deg); }
.nav-link::after {
  content: ""; position: absolute; left: 0; top: calc(50% + 13px); bottom: auto; height: 1.5px; width: 0;
  background: currentColor; transition: width .3s var(--ease);
}
.nav-link:hover::after, .nav-item.open .nav-link::after { width: 100%; }

/* mega panel */
.mega {
  position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 55;
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { max-width: 1440px; margin-inline: auto; padding: 40px var(--gutter) 44px;
  display: grid; grid-template-columns: 1.1fr 2fr; gap: var(--gap-2xl); }
.mega-feature { display: flex; flex-direction: column; gap: 14px; }
.mega-feature .mega-claim { font-family: var(--font-display); font-size: 27px; line-height: 1.15; letter-spacing: -.01em; }
.mega-feature p { color: var(--muted); font-size: 14.5px; }
.mega-feature .mega-img { aspect-ratio: 16/10; border-radius: var(--radius); object-fit: cover; width: 100%; }
.mega-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 4px 40px; align-content: start; }
.mega-links.cols-1 { grid-template-columns: 1fr; }
.mega-col-title { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.mega-link { display: flex; align-items: baseline; gap: 12px; padding: 13px 14px; border-radius: var(--radius);
  transition: background .2s var(--ease); border: 1px solid transparent; }
.mega-link:hover { background: var(--accent-tint); border-color: var(--border); }
.mega-link .ml-idx { font-family: var(--font-mono); font-size: 12px; color: var(--accent); min-width: 22px; }
.mega-link .ml-body strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--fg); }
.mega-link .ml-body span { font-size: 13px; color: var(--muted); }
.nav-scrim { position: fixed; inset: var(--nav-h) 0 0 0; background: color-mix(in oklch, var(--ink-strong) 32%, transparent);
  opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 50; }
.nav-scrim.open { opacity: 1; visibility: visible; }

.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .005em; border: 1.5px solid transparent;
  transition: transform .06s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn .ar { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: color-mix(in oklch, var(--accent) 88%, black); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost { padding: 8px 4px; }
.btn-ghost:hover { color: var(--accent); }
.btn-light { background: #fff; color: var(--ink-strong); border-color: #fff; }
.btn-light:hover { background: color-mix(in oklch, #fff 88%, var(--accent)); }
.btn-outline-light { background: transparent; color: #fff; border-color: color-mix(in oklch, #fff 45%, transparent); }
.btn-outline-light:hover { border-color: #fff; background: color-mix(in oklch, #fff 12%, transparent); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.link-arrow .ar { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover .ar { transform: translateX(4px); }

/* ── fullscreen hero (kraftfinans-style word + image cycle) ───────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.2s var(--ease), transform 7s linear; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, color-mix(in oklch, var(--ink-strong) 55%, transparent) 0%,
    color-mix(in oklch, var(--ink-strong) 20%, transparent) 38%,
    color-mix(in oklch, var(--ink-strong) 78%, transparent) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin-inline: auto;
  padding: 0 var(--gutter) clamp(56px, 9vh, 104px); }
.hero .eyebrow { color: var(--sky); margin-bottom: 22px; }
.hero-title { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-display);
  line-height: 1.0; letter-spacing: -0.02em; max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-title .swap-line { display: block; }
.word-swap { display: inline-block; position: relative; color: var(--sky); white-space: nowrap; }
.word-swap .word { display: inline-block; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.word-swap .word.out { opacity: 0; transform: translateY(-0.35em); position: absolute; left: 0; }
.word-swap .word.in  { opacity: 1; transform: translateY(0); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gap-xl);
  margin-top: clamp(28px, 5vh, 52px); flex-wrap: wrap; }
.hero-lead { font-size: var(--fs-lead); max-width: 46ch; color: #e8eef4; }
.hero-cta { display: flex; gap: var(--gap-sm); flex-wrap: wrap; margin-top: 26px; }
.hero-dots { display: flex; gap: 10px; align-items: center; }
.hero-dot { width: 30px; height: 3px; border-radius: 2px; background: color-mix(in oklch, #fff 35%, transparent);
  cursor: pointer; transition: background .3s; }
.hero-dot.active { background: #fff; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: color-mix(in oklch, #fff 80%, transparent); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint .bar { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: scrolldrop 2s var(--ease) infinite; }
@keyframes scrolldrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* compact page hero (inner pages) */
.pagehero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.pagehero.short { min-height: 48vh; }
.pagehero .hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.pagehero .hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in oklch, var(--ink-strong) 50%, transparent), color-mix(in oklch, var(--ink-strong) 80%, transparent)); }
.pagehero .hero-inner { padding-bottom: clamp(40px, 7vh, 72px); padding-top: calc(var(--nav-h) + 24px); }
.pagehero h1 { color: #fff; max-width: 18ch; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.pagehero .eyebrow { color: var(--sky); margin-bottom: 18px; }
.pagehero .hero-lead { margin-top: 18px; }

/* ── stat strip / cards ───────────────────────────────────────────────── */
.statbar { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.statbar .stat { background: var(--surface); padding: 28px 26px; }
.stat .stat-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 4vw, 56px);
  line-height: 1; letter-spacing: -.03em; color: var(--fg); }
.stat .stat-num .unit { font-size: .5em; color: var(--accent); margin-left: 3px; }
.stat .stat-label { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.statbar.on-hero { position: relative; z-index: 2; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.card-link { display: block; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in oklch, var(--accent) 30%, var(--border)); }
.card .card-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* value / craft feature with number */
.craft { display: flex; flex-direction: column; gap: 12px; padding-top: 26px; border-top: 1.5px solid var(--fg); }
.craft .craft-idx { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.craft h3 { font-size: 21px; }
.craft p { color: var(--muted); font-size: 15px; }

/* ── fund table ───────────────────────────────────────────────────────── */
.ds-table-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.ds-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ds-table th, .ds-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); }
.ds-table thead th { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); background: var(--accent-tint); }
.ds-table tbody tr { transition: background .2s var(--ease); cursor: pointer; }
.ds-table tbody tr:hover { background: var(--accent-tint); }
.ds-table tbody tr:last-child td { border-bottom: 0; }
.ds-table .fund-name { font-weight: 600; color: var(--fg); }
.ds-table .fund-name small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ds-table .num-col { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ds-table .pos { color: #1d7a4d; } .ds-table .neg { color: var(--highlight); }
.ds-table .go { color: var(--accent); text-align: right; }

/* ── pills / tags / chips ─────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--accent-soft);
  color: var(--accent); border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.tag { display: inline-flex; padding: 5px 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; font-size: 12.5px; }
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--muted); transition: all .2s var(--ease); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── news / article cards ─────────────────────────────────────────────── */
.news-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.news-feature .nf-media { background-size: cover; background-position: center; min-height: 340px; }
.news-feature .nf-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; }
.news-card .nc-media { aspect-ratio: 16/10; background-size: cover; background-position: center; border-radius: var(--radius-lg);
  margin-bottom: 18px; transition: transform .5s var(--ease); }
.news-card:hover .nc-media { transform: scale(1.03); }
.news-card .nc-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.news-card h3 { margin: 10px 0 8px; font-family: var(--font-display); font-weight: 500; font-size: 23px; line-height: 1.18; letter-spacing: -.01em; }
.news-card p { color: var(--muted); font-size: 14.5px; }
.news-card .nc-meta { margin-top: 12px; }
.is-hidden { display: none !important; }

/* ── quote / testimonial ──────────────────────────────────────────────── */
.quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.34; letter-spacing: -.01em; }
.quote-lg { font-size: clamp(28px, 3.2vw, 46px); max-width: 24ch; }
.quote-mark { font-family: var(--font-display); font-size: 120px; line-height: .5; color: var(--highlight); opacity: .9; height: 44px; display: block; }
.quote-author { color: var(--muted); font-size: 14px; margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote-author .qa-line { width: 28px; height: 1px; background: var(--border); }

/* ── images ───────────────────────────────────────────────────────────── */
.img-r { border-radius: var(--radius-lg); overflow: hidden; }
.img-r img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-portrait { aspect-ratio: 3/4; }
.img-wide { aspect-ratio: 16/10; }
.img-square { aspect-ratio: 1/1; }
.ph-img { background: linear-gradient(135deg, var(--mist), var(--steel)); border-radius: var(--radius-lg);
  aspect-ratio: 16/10; display: grid; place-items: center; color: #fff; font-family: var(--font-mono); font-size: 12px; }

/* ── newsletter / form ────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); }
.input, .textarea, select.input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--fg); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { min-height: 110px; resize: vertical; }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-2xl); align-items: center; }
.form-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.form-inline .input { flex: 1 1 240px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-ok { display: none; padding: 14px 18px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; }
.form-ok.show { display: block; }

/* ── footer ───────────────────────────────────────────────────────────── */
.pagefoot { background: var(--ink-strong); color: #aeb9c6; padding-block: clamp(56px, 7vw, 88px) 36px; }
.pagefoot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--gap-xl); }
.foot-brand img { height: 75px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.foot-brand p { color: #8794a3; font-size: 14.5px; max-width: 34ch; }
.foot-col h4 { color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col a { display: block; padding: 6px 0; font-size: 14.5px; color: #aeb9c6; }
.foot-bottom { border-top: 1px solid color-mix(in oklch, #fff 12%, transparent); margin-top: clamp(40px,6vw,64px); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #7e8b9a; }

/* ── breadcrumb ───────────────────────────────────────────────────────── */
.crumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.crumb a:hover { color: var(--accent); }

/* ── prose (article body) ─────────────────────────────────────────────── */
.prose { max-width: 68ch; margin-inline: auto; font-size: 18px; line-height: 1.75; color: var(--fg); }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.8em; }
.prose h3 { font-size: 22px; margin-top: 1.5em; }
.prose p { color: color-mix(in oklch, var(--fg) 88%, var(--muted)); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 6px 0 6px 28px; margin-inline: 0;
  font-family: var(--font-display); font-size: 26px; line-height: 1.4; color: var(--fg); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; }
.prose figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ── scroll reveal ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity .4s; transform: none !important; }
  .scroll-hint .bar { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .grid-2-1, .grid-1-2 { gap: var(--gap-xl); }
  .mega-inner { gap: var(--gap-xl); }
}
@media (max-width: 920px) {
  /* vergrößertes Logo auf kleinen Screens etwas zurücknehmen, damit die Navileiste nicht zu hoch wird */
  :root { --nav-h: 84px; }
  .brand .brand-mono { height: 66px; }
  .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2, .newsletter, .news-feature { grid-template-columns: 1fr; gap: var(--gap-lg); }
  .statbar { grid-template-columns: repeat(2,1fr); }
  .news-feature .nf-media { min-height: 240px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: var(--gap-md); }

  /* mobile nav */
  .mainnav, .nav-cta.desk { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--fg); transition: transform .3s, opacity .3s; }
  .topnav.is-over .nav-toggle span { background: #fff; }
  body.menu-open .topnav .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .topnav .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .topnav .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 58; background: var(--surface);
    transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
    padding: 24px var(--gutter) 60px; display: flex; flex-direction: column; gap: 4px; }
  body.menu-open .mobile-nav { transform: translateX(0); }
  .mobile-nav a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 18px; font-weight: 500; }
  .mobile-nav .mn-group-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
    text-transform: uppercase; color: var(--muted); padding: 22px 0 4px; }
  .mobile-nav .mn-sub { padding-left: 14px; font-size: 16px; color: var(--muted); font-weight: 400; }
  .mobile-nav .btn { margin-top: 24px; justify-content: center; }
}
.mobile-nav { display: none; }
@media (max-width: 920px) { .mobile-nav { display: flex; } }
@media (max-width: 560px) {
  .statbar { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
  .foot-brand { grid-column: 1 / -1; }
}
