/* =========================================================================
   Dr. Michael Espendiller, MdB — Website Design System
   Grundton: Anthrazit/Weiß · Akzente: Schwarz-Rot-Gold (Stufe einstellbar)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Spectral:wght@400;500;600;700&display=swap');
/* Hausschrift: Futura. Da Futura keine frei lizenzierte Web-Schrift ist, rendert
   Jost (eine geometrische Grotesk im Futura-Stil) als Fallback; auf Geräten mit
   installiertem Futura wird das Original verwendet. */

:root {
  /* Base palette — Anthrazit & Weiß */
  --ink:        #16181c;   /* near-black anthracite, text on light */
  --anthracite: #1d2025;   /* hero / footer surfaces */
  --anthracite-2:#272b31;  /* raised dark surface */
  --slate:      #555d68;   /* secondary text */
  --slate-soft: #7b828d;
  --paper:      #ffffff;
  --paper-2:    #f5f6f7;   /* light section band */
  --paper-3:    #eceef0;
  --line:       rgba(22,24,28,0.10);
  --line-strong:rgba(22,24,28,0.18);
  --line-dark:  rgba(255,255,255,0.12);

  /* Deutschlandfarben */
  --de-black:   #111315;
  --de-red:     #9c1b22;
  --de-gold:    #c69a36;
  --de-gold-bright:#d8ad44;

  /* Accent system — overridden per [data-akzent] */
  --accent:     #009EE0;            /* AfD-Blau */
  --accent-ink: #ffffff;            /* text on accent fills */
  --accent-2:   var(--de-red);      /* secondary accent (sparingly) */
  --stripe-h:   5px;                /* tri-color stripe height */
  --rule-de:    1;                  /* show tricolor section rules (0/1) */

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow-card: 0 1px 2px rgba(16,18,22,.06), 0 12px 30px rgba(16,18,22,.07);
  --shadow-card-h: 0 2px 4px rgba(16,18,22,.08), 0 22px 50px rgba(16,18,22,.13);

  --font-body: 'Futura', 'Futura PT', 'Jost', 'Century Gothic', system-ui, -apple-system, sans-serif;
  --font-display: 'Futura', 'Futura PT', 'Jost', 'Century Gothic', system-ui, sans-serif;
}

/* ---- Accent intensity levels ---- */
[data-akzent="dezent"] {
  --accent: #0080ba;            /* etwas dunkleres AfD-Blau */
  --accent-2: #006fa0;
  --stripe-h: 3px;
  --rule-de: 0;
}
[data-akzent="mittel"] {
  --accent: #009EE0;
  --accent-2: var(--de-red);
  --stripe-h: 5px;
  --rule-de: 1;
}
[data-akzent="praesent"] {
  --accent: #00b8ff;
  --accent-2: var(--de-red);
  --stripe-h: 8px;
  --rule-de: 1;
}

/* ---- Font mode ---- (Standard = Futura; optionale klassische Serife) */
[data-font="serif"] { --font-display: 'Spectral', Georgia, serif; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
[data-font="serif"] h1,
[data-font="serif"] h2,
[data-font="serif"] h3,
[data-font="serif"] h4 { font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---- Tri-color elements ---- */
.flag-stripe {
  height: var(--stripe-h);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.site-head .flag-stripe {
  height: calc(var(--stripe-h) * 1.5);
}
.flag-stripe i { display: block; }
.flag-stripe i:nth-child(1) { background: var(--de-black); }
.flag-stripe i:nth-child(2) { background: var(--de-red); }
.flag-stripe i:nth-child(3) { background: var(--de-gold); }

.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  display: inline-block;
}

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.96rem;
  letter-spacing: 0.01em;
  padding: 14px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); background: var(--de-gold-bright); }
[data-akzent="dezent"] .btn-primary { color: #fff; }
[data-akzent="dezent"] .btn-primary:hover { background: #3c4754; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { transform: translateY(-2px); background: var(--ink); color: #fff; }
.btn-on-dark { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--anthracite); border-color: #fff; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: gap .18s ease, color .18s ease;
}
.textlink:hover { gap: 13px; color: var(--accent); }

/* ============================ HEADER ============================ */
.site-head { position: sticky; top: 0; z-index: 100; }
.head-bar {
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-adler { height: 40px; width: auto; flex: none; }
.brand-divider { width: 1px; height: 34px; background: var(--line-strong); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; letter-spacing: -0.01em; white-space: nowrap; }
[data-font="serif"] .brand-name { font-weight: 600; }
.brand-sub { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink);
  font-size: 0.92rem; font-weight: 500;
  padding: 9px 13px; border-radius: var(--radius);
  position: relative; white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { background: var(--paper-2); }
.nav a.active { color: var(--accent); }
.nav a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--accent);
}

.nav-toggle {
  display: none; appearance: none; border: 1px solid var(--line-strong);
  background: #fff; border-radius: var(--radius); width: 44px; height: 40px;
  cursor: pointer; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: .2s; }

@media (max-width: 940px) {
  .brand-sub { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 18px;
    box-shadow: 0 24px 40px rgba(16,18,22,.10);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--paper-2); }
}

/* ============================ HERO ============================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--anthracite);
  color: #fff;
}
.hero::before { /* subtle vignette + warm glow */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 110%, rgba(198,154,54,0.14), transparent 55%),
    linear-gradient(180deg, #21242a 0%, #1a1d22 100%);
}
.hero-adler { /* huge faint watermark */
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  height: 118%; width: auto; opacity: 0.05; filter: brightness(0) invert(1);
  pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: end;
  gap: 32px; min-height: 600px;
}
.hero-copy { padding: 78px 0 84px; max-width: 620px; }
.hero-copy .kicker { color: var(--accent); }
[data-akzent="dezent"] .hero-copy .kicker { color: var(--de-gold); } /* keep gold legible on dark even at dezent */
.hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.5rem);
  line-height: 1.02; margin: 0 0 22px; color: #fff;
}
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: #d7dade; max-width: 540px; margin: 0 0 16px; }
.hero-role {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.18rem; color: var(--de-gold-bright); margin: 0 0 30px;
}
[data-font="serif"] .hero-role { font-style: italic; font-weight: 400; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-figure { position: relative; align-self: end; min-height: 600px; }
.hero-figure img {
  position: absolute; bottom: 0; right: 0;
  height: 600px; width: auto; max-width: none;
  filter: drop-shadow(-24px 18px 40px rgba(0,0,0,.45));
}
.hero-figure::after { /* gold ground accent behind figure */
  content: ""; position: absolute; right: 6%; bottom: 0; z-index: -1;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,154,54,0.30), transparent 70%);
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px 0 0; }
  .hero-figure { min-height: 420px; height: 460px; margin-top: 16px; }
  .hero-figure img { height: 460px; right: 50%; transform: translateX(50%); }
  .hero-figure::after { right: 50%; transform: translateX(50%); }
}

/* ============================ SECTIONS ============================ */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--anthracite); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 0 0 14px; }
.section-head p { font-size: 1.1rem; color: var(--slate); margin: 0; }
.section.dark .section-head p { color: #b7bcc3; }

.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row .section-head { margin-bottom: 0; }

/* ============================ FACT STRIP ============================ */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.fact { padding: 30px 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact-num { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; color: var(--accent); line-height: 1; margin-bottom: 10px; }
[data-akzent="dezent"] .fact-num { color: var(--ink); }
.fact-label { font-size: 0.95rem; color: var(--slate); }
@media (max-width: 760px){ .facts { grid-template-columns: repeat(2, 1fr); } .fact:nth-child(3){ border-left:0; } }

/* ============================ CARDS ============================ */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){ .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-h); border-color: var(--line-strong); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
[data-akzent="dezent"] .tag { color: var(--slate); }
.card h3 { font-size: 1.3rem; margin: 0 0 10px; line-height: 1.2; }
.card p { font-size: 0.98rem; color: var(--slate); margin: 0 0 18px; }
.card .more { margin-top: auto; font-weight: 600; font-size: 0.92rem; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.card .more svg { width: 15px; height: 15px; transition: transform .2s ease; }
a.card:hover .more svg { transform: translateX(4px); }

/* ============================ PRESS LIST ============================ */
.pm-list { display: flex; flex-direction: column; }
.pm-item {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: center;
  padding: 30px 4px; border-top: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background .18s ease, padding .18s ease;
}
.pm-item:last-child { border-bottom: 1px solid var(--line); }
.pm-item:hover { background: var(--paper-2); }
.pm-date { font-size: 0.86rem; font-weight: 600; color: var(--slate); letter-spacing: 0.02em; }
.pm-date .dot { display:block; width: 30px; height: 3px; background: var(--accent); margin-top: 12px; }
.pm-main h3 { font-size: 1.4rem; margin: 0 0 8px; line-height: 1.22; }
.pm-main p { margin: 0; color: var(--slate); font-size: 1rem; }
.pm-arrow { color: var(--accent); flex: none; }
.pm-arrow svg { width: 26px; height: 26px; transition: transform .2s ease; }
.pm-item:hover .pm-arrow svg { transform: translateX(5px); }
@media (max-width: 720px){
  .pm-item { grid-template-columns: 1fr; gap: 8px; }
  .pm-arrow { display: none; }
  .pm-date .dot { display: none; }
}

/* ============================ VIDEO ============================ */
.video-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px){ .video-wrap { grid-template-columns: 1fr; } }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.4);
  border: 1px solid var(--line-dark);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================ X / TWEETS ============================ */
.x-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
@media (max-width: 900px){ .x-wrap { grid-template-columns: 1fr; } }
.x-embed {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 420px; max-height: 640px; overflow: auto; padding: 4px 8px;
}
.x-fallback { padding: 40px 28px; text-align: center; color: var(--slate); }

/* ============================ LONGREAD (detail pages) ============================ */
.lr-hero { background: var(--anthracite); color: #fff; }
.lr-hero-inner { max-width: 920px; margin: 0 auto; padding: clamp(40px,7vw,76px) var(--gutter) clamp(34px,5vw,52px); }
.lr-hero .tag { color: var(--de-gold-bright); }
.lr-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0 0 20px; }
.lr-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #aab0b8; font-size: 0.92rem; font-weight: 500; }
.lr-figure { max-width: 920px; margin: -36px auto 0; padding: 0 var(--gutter); position: relative; z-index: 2; }
.lr-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-card-h); }
.article { max-width: 720px; margin: 0 auto; padding: clamp(40px,6vw,64px) var(--gutter) 20px; }
.article.lead-first > p:first-of-type { font-size: 1.28rem; line-height: 1.55; color: var(--ink); }
.article p { font-size: 1.12rem; line-height: 1.75; color: #2c3038; margin: 0 0 1.3em; }
.article h2 { font-size: 1.6rem; margin: 1.7em 0 .6em; }
.article h3 { font-size: 1.28rem; margin: 1.6em 0 .5em; color: var(--ink); }
.article ul { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.article li { position: relative; padding-left: 30px; margin-bottom: .7em; font-size: 1.1rem; line-height: 1.65; color: #2c3038; }
.article li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 13px; height: 3px; background: var(--accent); }
.article blockquote {
  margin: 1.6em 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--accent);
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.35; color: var(--ink);
}
[data-font="serif"] .article blockquote { font-style: italic; }
.pullbar { height: 1px; background: var(--line); max-width: 720px; margin: 24px auto; }

/* back link */
.backlink { display:inline-flex; align-items:center; gap: 8px; color:#cfd3d8; text-decoration:none; font-size:.9rem; font-weight:600; margin-bottom: 26px; }
.backlink:hover { color:#fff; }
.backlink svg{ width:16px;height:16px;}

/* ============================ LEBENSLAUF ============================ */
.cv-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px){ .cv-grid { grid-template-columns: 1fr; gap: 36px; } }
.cv-portrait { position: sticky; top: 96px; }
.cv-portrait img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.cv-portrait .cap { font-size: .82rem; color: var(--slate); margin-top: 12px; }
.timeline { position: relative; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--line); }
.tl-item { position: relative; padding: 0 0 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--paper);
}
.tl-year { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 1.05rem; margin-bottom: 4px; }
[data-akzent="dezent"] .tl-year { color: var(--ink); }
.tl-item div.tl-body { font-size: 1.02rem; color: #2c3038; }

/* ============================ KONTAKT ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.contact-row { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: 0; }
.contact-row .ic { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--accent); }
.contact-row .ic svg { width: 20px; height: 20px; }
.contact-row h4 { font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin: 0 0 4px; }
.contact-row a, .contact-row p { margin: 0; font-size: 1.06rem; color: var(--ink); text-decoration: none; }
.contact-row a:hover { color: var(--accent); }

/* ============================ FOOTER ============================ */
.site-foot { background: var(--anthracite); color: #c9cdd3; }
.foot-main { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--gutter) 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px){ .foot-main { grid-template-columns: 1fr; gap: 30px; } }
.foot-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.foot-brand img { height: 46px; filter: brightness(0) invert(1); opacity: .92; }
.foot-brand .ft { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: #fff; line-height: 1.2; }
.foot-brand .ft small { display:block; font-family: var(--font-body); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-soft); font-weight: 600; }
.foot-col h4 { font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.foot-col a { display: block; color: #b6bbc2; text-decoration: none; padding: 6px 0; font-size: .98rem; }
.foot-col a:hover { color: #fff; }
.foot-about { font-size: .96rem; line-height: 1.6; color: #aab0b8; max-width: 360px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; color: #c9cdd3; transition: .18s; }
.socials a:hover { background: #fff; color: var(--anthracite); border-color: #fff; }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid var(--line-dark); }
.foot-bottom-inner { max-width: var(--maxw); margin: 0 auto; padding: 22px var(--gutter); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: var(--slate-soft); }
.foot-bottom-inner a { color: var(--slate-soft); text-decoration: none; }
.foot-bottom-inner a:hover { color: #fff; }
.foot-disclaimer { font-size: .8rem; color: #7b828d; max-width: 760px; }

/* ============================ TWEAKS PANEL (vanilla) ============================ */
#twk {
  position: fixed; right: 18px; bottom: 18px; z-index: 2147483646; width: 270px;
  background: rgba(252,252,251,.86); color: var(--ink);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: .5px solid rgba(255,255,255,.6); border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 14px 44px rgba(0,0,0,.22);
  font-family: var(--font-body); font-size: 12px; display: none;
  overflow: hidden;
}
#twk.show { display: block; }
.twk-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 12px 16px; }
.twk-h b { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.twk-h button { appearance: none; border: 0; background: transparent; color: rgba(22,24,28,.5); width: 24px; height: 24px; border-radius: 6px; cursor: pointer; font-size: 15px; }
.twk-h button:hover { background: rgba(0,0,0,.06); color: var(--ink); }
.twk-b { padding: 2px 16px 18px; display: flex; flex-direction: column; gap: 16px; }
.twk-sec { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(22,24,28,.45); margin-bottom: 8px; }
.twk-seg { display: flex; padding: 3px; border-radius: 9px; background: rgba(0,0,0,.07); gap: 2px; }
.twk-seg button {
  flex: 1; appearance: none; border: 0; background: transparent; color: var(--ink);
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600; padding: 7px 4px;
  border-radius: 6px; cursor: pointer; transition: .15s; line-height: 1.1;
}
.twk-seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.14); }
.twk-swatch-row { display: flex; gap: 8px; }
.twk-swatch { flex:1; height: 30px; border-radius: 7px; border: 2px solid transparent; cursor: pointer; display:flex; align-items:center; justify-content:center; }
.twk-swatch[aria-pressed="true"] { border-color: var(--ink); }

@media print { #twk, .nav-toggle { display: none !important; } }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } html{scroll-behavior:auto;} }
