/* ════════════════════════════════════════════════════════════════════════
   Diekmann Capital — V02  ·  Wealthsimple-Stil
   Marken-Tokens & Schriften 1:1 aus V01 (CI-Manual 2026) übernommen.
   Neu ist ausschließlich die visuelle Haltung: helle, ruhige Wealthsimple-
   Anmutung — große abgerundete Farbflächen, viel Weißraum, Pill-Buttons,
   schwebende Karten, freundlich-präzise.
   ════════════════════════════════════════════════════════════════════════ */

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

  --bg:        #ffffff;   /* WS-Basis: reines Weiß */
  --paper:     #f3f3f2;   /* CI-Papier (dezente Flächen) */
  --surface:   #ffffff;
  --fg:        #333c4e;    /* Logo-Slate */
  --muted:     #6a7585;
  --border:    #e3e6ea;
  --ink-strong:#1f2733;

  /* WS-Panel-Tints (aus der Blau-Familie abgeleitet, keine neuen Marken) */
  --tint-mist:  color-mix(in oklch, var(--mist) 60%, #fff);
  --tint-sky:   color-mix(in oklch, var(--sky) 46%, #fff);
  --tint-blue:  color-mix(in oklch, var(--accent) 9%, #fff);
  --tint-paper: var(--paper);

  /* derived */
  --accent-soft: color-mix(in oklch, var(--accent) 12%, transparent);
  --accent-tint: color-mix(in oklch, var(--accent) 6%, var(--surface));
  --shadow-sm:   0 1px 2px color-mix(in oklch, var(--fg) 8%, transparent);
  --shadow-md:   0 22px 60px -30px color-mix(in oklch, var(--fg) 42%, transparent);
  --shadow-pop:  0 30px 80px -28px color-mix(in oklch, var(--ink-strong) 40%, transparent);
  --shadow-card: 0 10px 40px -22px color-mix(in oklch, var(--ink-strong) 34%, transparent);

  /* type — Marken-Schriften 1:1 */
  --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;

  /* WS fluid scale — etwas großzügiger */
  --fs-display: clamp(46px, 7.4vw, 108px);
  --fs-h1: clamp(38px, 5.6vw, 76px);
  --fs-h2: clamp(29px, 3.9vw, 52px);
  --fs-h3: clamp(20px, 1.6vw, 25px);
  --fs-lead: clamp(18px, 1.4vw, 22px);
  --fs-body: 17px;
  --fs-meta: 13px;

  /* spacing */
  --gap-xs: 8px;  --gap-sm: 12px; --gap-md: 20px;
  --gap-lg: 32px; --gap-xl: 56px; --gap-2xl: 96px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --edge: clamp(12px, 1.8vw, 26px);     /* Panel-Einzug vom Fensterrand (WS) */

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: clamp(26px, 3.4vw, 44px); /* große WS-Panel-Rundung */
  --radius-pill: 999px;

  --nav-h: 78px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.33,1,.68,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: 1460px; margin-inline: auto; padding-inline: var(--gutter); }
.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); }
.center { text-align: center; }
.maxw { max-width: 62ch; }

/* ── WS section blocks ────────────────────────────────────────────────── */
/* Full-bleed farbige Fläche (WS-Rhythmus) */
.block { padding-block: clamp(64px, 9vw, 150px); position: relative; }
.block--paper   { background: var(--tint-paper); }
.block--surface { background: var(--surface); }

/* Große abgerundete Panel-Fläche mit Einzug (WS-Signature) */
.panel {
  margin-inline: var(--edge);
  border-radius: var(--radius-xl);
  padding: clamp(52px, 7vw, 132px) clamp(24px, 5vw, 80px);
  position: relative; overflow: hidden;
}
.panel--mist { background: var(--tint-mist); }
.panel--sky  { background: var(--tint-sky); }
.panel--blue { background: var(--tint-blue); }
.panel--ink  { background: var(--ink-strong); color: #eaf0f6; }
.panel-inner { max-width: var(--container); margin-inline: auto; }
.panel-stack > * + * { margin-top: clamp(28px, 3vw, 44px); }

/* helle Typo/Links auf dunklem Panel */
.panel--ink h1, .panel--ink h2, .panel--ink h3 { color: #fff; }
.panel--ink .lead, .panel--ink .muted { color: #b6c2cf; }
.panel--ink .eyebrow { color: var(--accent-2); }
.panel--ink .link-arrow { color: var(--accent-2); }

/* ── type ─────────────────────────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-display); line-height: 1.0; letter-spacing: -0.02em; }
h1, .h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h1); line-height: 1.03; letter-spacing: -0.015em; }
h2, .h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.012em; }
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.58; color: var(--muted); max-width: 56ch; }
.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: .55; }
.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 (WS: hell, minimal, sticky, weiche Runddropdowns) ─────────── */
.topnav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in oklch, #fff 82%, transparent);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.topnav.is-solid { border-bottom-color: var(--border); }
.topnav-inner { width: 100%; max-width: 1460px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: var(--gap-lg); }
.brand { display: flex; align-items: center; height: var(--nav-h); margin-right: auto; }
.brand img { height: 26px; width: auto; }

.mainnav { display: flex; align-items: center; gap: clamp(6px, 1.2vw, 20px); height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500; color: var(--fg); letter-spacing: .01em;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-link .caret { width: 9px; height: 9px; opacity: .6; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-item.open .nav-link { background: var(--tint-blue); color: var(--accent); }
.nav-item.open .nav-link .caret { transform: rotate(180deg); }

/* mega dropdown — weich, schwebend, abgerundet (WS) */
.mega {
  position: fixed; left: 50%; transform: translate(-50%, -10px); top: calc(var(--nav-h) + 6px);
  width: min(920px, calc(100vw - 2 * var(--gutter))); z-index: 55;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease-soft), transform .28s var(--ease-soft), visibility .28s;
}
.mega.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-inner { padding: 30px; display: grid; grid-template-columns: 1.05fr 1.5fr; gap: 40px; }
.mega-feature { display: flex; flex-direction: column; gap: 14px; }
.mega-feature .mega-claim { font-family: var(--font-display); font-size: 25px; line-height: 1.16; letter-spacing: -.01em; }
.mega-feature p { color: var(--muted); font-size: 14px; }
.mega-feature .mega-img { aspect-ratio: 16/11; border-radius: var(--radius); object-fit: cover; width: 100%; }
.mega-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 4px 24px; align-content: start; }
.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 6px; }
.mega-link { display: flex; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: var(--radius);
  transition: background .2s var(--ease); }
.mega-link:hover { background: var(--tint-blue); }
.mega-link .ml-idx { font-family: var(--font-mono); font-size: 12px; color: var(--accent); min-width: 20px; }
.mega-link .ml-body strong { display: block; font-size: 15px; 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) 24%, transparent);
  opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 50; }
.nav-scrim.open { opacity: 1; visibility: visible; }
.nav-toggle { display: none; }

/* ── buttons (WS pills) ───────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; letter-spacing: .005em; border: 1.5px solid transparent;
  transition: transform .12s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.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: 0 8px 24px -12px color-mix(in oklch, var(--accent) 70%, transparent); }
.btn-primary:hover { background: color-mix(in oklch, var(--accent) 90%, black); }
.btn-dark { background: var(--ink-strong); color: #fff; border-color: var(--ink-strong); }
.btn-dark:hover { background: #000; }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--fg); background: #fff; }
.btn-light { background: #fff; color: var(--ink-strong); border-color: #fff; box-shadow: var(--shadow-sm); }
.btn-light:hover { background: color-mix(in oklch, #fff 92%, var(--accent)); }
.nav-cta { padding: 11px 20px; }
.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); }

/* ── hero (WS: helles, abgerundetes Panel, animierte Headline + Bild) ─── */
.hero { padding: clamp(20px, 3vw, 40px) var(--edge) 0; }
.hero-panel {
  background: var(--tint-mist); border-radius: var(--radius-xl); overflow: hidden;
  padding: clamp(40px, 5.4vw, 84px) clamp(26px, 5vw, 76px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 4vw, 68px); align-items: center;
}
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: var(--accent); margin-bottom: 22px; }
.hero-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.6vw, 82px);
  line-height: 1.0; letter-spacing: -0.025em; color: var(--fg); }
.hero-title .swap-line { display: block; }
.hero-title .swap-accent { color: var(--accent); }
.word-swap { display: inline-block; position: relative; 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.4em); position: absolute; left: 0; top: 0; }
.word-swap .word.in  { opacity: 1; transform: translateY(0); }
.hero-lead { font-size: var(--fs-lead); max-width: 46ch; color: color-mix(in oklch, var(--fg) 82%, var(--muted)); margin-top: 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-dots { display: flex; gap: 9px; align-items: center; margin-top: 26px; }
.hero-dot { width: 26px; height: 4px; border-radius: 3px; background: color-mix(in oklch, var(--accent) 26%, transparent);
  cursor: pointer; transition: background .3s, width .3s; }
.hero-dot.active { background: var(--accent); width: 34px; }

/* Bild-Karte mit Motiv-Cross-Fade + schwebendes Badge */
.hero-figure { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease), transform 6s linear; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-badge { position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: color-mix(in oklch, #fff 90%, transparent); backdrop-filter: blur(8px);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 16px; }
.hero-badge .hb-num { font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 1; color: var(--accent); letter-spacing: -.02em; }
.hero-badge .hb-lab { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ── stat strip (Kennzahlen, count-up) ────────────────────────────────── */
.statrow { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px, 2vw, 30px); }
.stat { padding: 8px 4px; }
.stat + .stat { border-left: 1px solid var(--border); padding-left: clamp(20px, 2vw, 34px); }
.stat .stat-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.stat .stat-num .unit { font-size: .5em; margin-left: 3px; }
.stat .stat-label { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 22ch; }

/* ── cards ────────────────────────────────────────────────────────────── */
.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:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in oklch, var(--accent) 30%, var(--border)); }

/* value / craft feature */
.craft { display: flex; flex-direction: column; gap: 12px; padding-top: 26px; border-top: 1.5px solid color-mix(in oklch, var(--fg) 70%, transparent); }
.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 (im dunklen Panel) ────────────────────────────────────── */
.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 .go { color: var(--accent); text-align: right; }
.isin-cell { display: inline-flex; align-items: center; gap: 8px; }
.isin-copy { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); cursor: pointer; transition: color .18s var(--ease), border-color .18s var(--ease); flex: 0 0 auto; }
.isin-copy:hover { color: var(--accent); border-color: var(--accent); }
.isin-copy.copied { color: #1d7a4d; border-color: #1d7a4d; }
.isin-copy svg { width: 13px; height: 13px; }

/* dunkles Panel-Overrides für Tabelle */
.panel--ink .ds-table-wrap { background: transparent; border-color: color-mix(in oklch,#fff 16%,transparent); }
.panel--ink .ds-table th, .panel--ink .ds-table td { border-bottom-color: color-mix(in oklch,#fff 12%,transparent); }
.panel--ink .ds-table thead th { color: var(--accent-2); background: color-mix(in oklch,#fff 6%,transparent); }
.panel--ink .ds-table tbody td { color: #cdd6e0; }
.panel--ink .ds-table .fund-name { color: #fff; }
.panel--ink .ds-table .fund-name small { color: #9fb0c2; }
.panel--ink .ds-table tbody tr:hover { background: color-mix(in oklch,#fff 6%,transparent); }
.panel--ink .ds-table .go { color: var(--accent-2); }
.panel--ink .isin-copy { background: color-mix(in oklch,#fff 8%,transparent); border-color: color-mix(in oklch,#fff 20%,transparent); color: #9fb0c2; }
.panel--ink .isin-copy:hover { color: var(--accent-2); border-color: var(--accent-2); }
.panel--ink .isin-copy.copied { color: #5fd08a; border-color: #5fd08a; }

/* ── pills / tags ─────────────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; background: var(--accent-soft);
  color: var(--accent); border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }

/* ── press slider ─────────────────────────────────────────────────────── */
.pslider { overflow: hidden; }
.ptrack { display: flex; gap: var(--gap-lg); will-change: transform; }
.pcard { flex: 0 0 calc((100% - 2 * var(--gap-lg)) / 3); box-sizing: border-box; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; margin: 0; display: flex; flex-direction: column; }
.pcard .pq-mark { font-family: var(--font-display); font-size: 72px; line-height: .35; color: var(--highlight); height: 34px; }
.pcard .pq-text { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.42; letter-spacing: -.01em; color: var(--fg); flex: 1 0 auto; }
.pcard .pq-src { margin-top: 22px; color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 10px; }
.pcard .pq-src::before { content: ""; width: 24px; height: 1px; background: var(--border); }
@media (max-width: 900px) { .pcard { flex-basis: calc((100% - var(--gap-lg)) / 2); } }

/* ── 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);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.news-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in oklch, var(--accent) 30%, var(--border)); }
.news-feature .nf-media { background-size: cover; background-position: center; min-height: 340px; transition: transform .5s var(--ease); }
.news-feature:hover .nf-media { transform: scale(1.03); }
.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; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in oklch, var(--accent) 30%, var(--border)); }
.news-card .nc-media { aspect-ratio: 16/10; background-size: cover; background-position: center; transition: transform .5s var(--ease); }
.news-card:hover .nc-media { transform: scale(1.04); }
.news-card .nc-cat { align-self: flex-start; margin: 22px 24px 0; padding: 5px 12px; background: var(--accent-soft);
  border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.news-card h3 { margin: 12px 24px 8px; font-family: var(--font-display); font-weight: 500; font-size: 23px; line-height: 1.18; letter-spacing: -.01em; }
.news-card p { margin: 0 24px; color: var(--muted); font-size: 14.5px; }
.news-card .nc-meta { margin: 14px 24px 26px; }
.is-hidden { display: none !important; }

/* ── images ───────────────────────────────────────────────────────────── */
.img-r { border-radius: var(--radius-xl); overflow: hidden; }
.img-r img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-wide { aspect-ratio: 16/10; }
.clip-reveal img { clip-path: inset(100% 0 0 0); transform: scale(1.08); transform-origin: center;
  transition: clip-path 1.15s var(--ease), transform 1.5s var(--ease); will-change: clip-path, transform; }
.clip-reveal.revealed img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ── forms ────────────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); }
.input, .textarea { width: 100%; padding: 15px 17px; 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: clamp(36px, 5vw, 80px); align-items: center; }
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-card); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.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: clamp(56px, 7vw, 92px) 0 36px;
  margin: var(--edge) var(--edge) 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.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: 26px; filter: brightness(0) invert(1); margin-bottom: 22px; }
.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; }

/* ── inner-page header (WS tinted panel) ─────────────────────────────── */
.pagehead { padding: clamp(20px, 3vw, 40px) var(--edge) 0; }
.pagehead-panel { background: var(--tint-mist); border-radius: var(--radius-xl); overflow: hidden;
  padding: clamp(46px, 6vw, 100px) clamp(26px, 5vw, 76px); }
.pagehead-panel.is-sky  { background: var(--tint-sky); }
.pagehead-panel.is-blue { background: var(--tint-blue); }
.pagehead-panel.is-ink  { background: var(--ink-strong); color: #eaf0f6; }
.pagehead-panel.is-ink h1 { color: #fff; }
.pagehead-panel.is-ink .lead, .pagehead-panel.is-ink .crumb { color: #b6c2cf; }
.pagehead-panel.is-ink .eyebrow { color: var(--accent-2); }
.pagehead-inner { max-width: var(--container); margin-inline: auto; }
.pagehead .eyebrow { margin-bottom: 18px; }
.pagehead h1 { max-width: 20ch; }
.pagehead .lead { margin-top: 20px; max-width: 58ch; }
.pagehead .crumb { margin-bottom: 22px; }

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

/* ── asymmetrische Grids ─────────────────────────────────────────────── */
.grid-2-1 { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px,5vw,88px); align-items: center; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px,5vw,88px); align-items: center; }

/* ── Bild-Seitenverhältnisse ─────────────────────────────────────────── */
.img-portrait { aspect-ratio: 3/4; }
.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; }

/* ── Stat-Karten (hell) ──────────────────────────────────────────────── */
.statcards { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap-md); }
.statcards .sc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.statcards .sc-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px,3vw,44px); line-height: 1; letter-spacing: -.02em; color: var(--accent); }
.statcards .sc-num .unit { font-size: .5em; margin-left: 3px; }
.statcards .sc-lab { color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.panel--ink .statcards .sc { background: color-mix(in oklch,#fff 6%,transparent); border-color: color-mix(in oklch,#fff 14%,transparent); }
.panel--ink .statcards .sc-lab { color: #9fb0c2; }

/* ── Zitat / 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); }

/* ── Tags / Chips / Filter ───────────────────────────────────────────── */
.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; }

/* ── Team-Grid ───────────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap-lg); }
.team-card .tc-photo { aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); margin-bottom: 16px; }
.team-card .tc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card:hover .tc-photo img { transform: scale(1.04); }
.team-card h3 { font-size: 18px; }
.team-card .tc-role { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ── Prose (Artikelfließtext) ────────────────────────────────────────── */
.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-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; 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; }

/* Unterseiten-Grids auf Tablet/Mobil */
@media (max-width: 1000px) {
  .team-grid, .statcards { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 920px) {
  .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; gap: var(--gap-lg); }
}
@media (max-width: 560px) {
  .team-grid, .statcards { grid-template-columns: 1fr; }
}

/* ── 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; }
  .clip-reveal img { clip-path: none !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-panel { gap: clamp(28px, 4vw, 48px); }
}
@media (max-width: 920px) {
  :root { --nav-h: 66px; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-figure { aspect-ratio: 16/11; order: -1; }
  .grid-2, .grid-3, .grid-4, .newsletter, .news-feature { grid-template-columns: 1fr; gap: var(--gap-lg); }
  .statrow { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat + .stat { border-left: 0; padding-left: 4px; }
  .statrow .stat:nth-child(n+3) { padding-top: 24px; border-top: 1px solid var(--border); }
  .news-feature .nf-media { min-height: 240px; }

  /* mobile nav */
  .mainnav, .nav-cta.desk { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .3s, opacity .3s; }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .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; }
}
.mobile-nav { display: none; }
@media (max-width: 920px) { .mobile-nav { display: flex; } }
@media (max-width: 560px) {
  .statrow { grid-template-columns: 1fr; }
  .statrow .stat:nth-child(n+2) { padding-top: 22px; border-top: 1px solid var(--border); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
  .foot-brand { grid-column: 1 / -1; }
  .pcard { flex-basis: 100%; }
}
