/* ==========================================================================
   Hunter-ID — Colors & Type
   "Zeitung × Studio" — Editorial newspaper × studio craft
   Brand: Hunter-ID (public), Perpetuum Memory (patent-pending memory system)
   ========================================================================== */

/* ── Self-hosted webfonts ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/lora-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/lora-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/lora-600-italic.ttf') format('truetype');
}

:root {
  /* ── Base colors — "Erd-warm" earthy palette ── */
  --ink:        #2A2420;   /* primary text, footer, strong rules    */
  --paper:      #EFECE5;   /* primary background (newspaper cream) */
  --paper-2:    #F7F5EF;   /* secondary surface (slightly lighter)  */
  --surface:    #FBFAF7;   /* card / elevated surface              */

  /* ── Text — graduated on ink ── */
  --fg-1:       #2A2420;                         /* body strong     */
  --fg-2:       rgba(42, 36, 32, 0.82);          /* body regular    */
  --fg-3:       rgba(42, 36, 32, 0.52);          /* quiet / caption */
  --fg-4:       rgba(42, 36, 32, 0.14);          /* hairline rule   */

  /* ── Accent — Forest green (primary) + sage (secondary) ── */
  --accent:     #2E5C38;   /* forest green — links, emphasis, italics */
  --accent-2:   #7B9A5E;   /* sage — footer link hover, highlights    */
  --accent-kicker: #9A5A1E; /* WCAG-safe amber kicker/eyebrow on cream */

  /* ── Alternate token set (from tokens.css / natur-editorial) ── */
  --color-primary:    #3D7A4A;   /* slightly brighter green, CTA surfaces */
  --color-primary-fg: #F7F4EF;
  --color-secondary:  #E8E0D4;
  --color-muted:      #DDD6CC;
  --color-accent:     #CC7A33;   /* warm terracotta accent                */
  --color-border:     #D4C9B8;
  --color-error:      #DC2626;
  --color-error-dark: #8B1D35;

  /* ── Type families ── */
  --sans:       'Inter', system-ui, -apple-system, sans-serif;
  --serif:      'Lora', Georgia, serif;
  --mono:       'Inter', system-ui, -apple-system, sans-serif; /* brand uses Inter where mono would be; no code-mono */

  /* ── Type scale ── */
  --text-xs:    0.6875rem;  /* 11px — kicker, dateline              */
  --text-sm:    0.8125rem;  /* 13px — nav, meta                     */
  --text-base: 0.9375rem;   /* 15px — UI base                       */
  --text-md:    1.0625rem;  /* 17px — essay body                    */
  --text-lg:    1.25rem;    /* 20px — hero sub, cta line            */
  --text-xl:    1.375rem;   /* 22px — h3                            */
  --text-2xl:   clamp(1.625rem, 2.5vw, 2.625rem);   /* h2           */
  --text-3xl:   clamp(2rem, 3.8vw, 3.6rem);          /* h1-section  */
  --text-hero:  clamp(2.4rem, 6vw, 4.5rem);          /* hero title  */

  --leading-tight:   1.08;
  --leading-snug:    1.25;
  --leading-normal:  1.6;
  --leading-relaxed: 1.7;

  --tracking-tight:  -0.02em;
  --tracking-normal: 0;
  --tracking-wide:   0.06em;
  --tracking-kicker: 0.25em;  /* distinctive wide kicker            */

  /* ── Spacing ── */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;

  /* ── Radii ── */
  --radius-sm:   4px;    /* small affordances                        */
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;   /* cards, modals                            */
  --radius-full: 999px;  /* buttons                                  */

  /* ── Shadow ── */
  --shadow-sm: 0 4px 12px rgba(42, 36, 32, 0.08);
  --shadow-md: 0 16px 40px rgba(42, 36, 32, 0.12);
  --shadow-lg: 0 18px 60px rgba(42, 36, 32, 0.14);

  /* ── Motion ── */
  --ease:         cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-inout:   cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:     0.15s;
  --dur-normal:   0.25s;
  --dur-slow:     0.6s;

  /* ── Layout ── */
  --wrap-narrow: 720px;   /* essay column   */
  --wrap-wide:   1100px;  /* full width     */
}

/* ── Semantic / element aliases ────────────────────────────────── */

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}

/* ── Layout wrappers — applied to every <section className="wrap-wide"> ──
   !important needed because component inline styles use the `padding` shorthand
   (e.g. `padding: 'clamp(40px,7vw,72px) 0'`), which sets padding-left:0 and
   padding-right:0 inline. Inline beats external CSS by specificity, but
   !important on the external rule wins. */
.wrap, .wrap-wide {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 5vw, 48px) !important;
  padding-right: clamp(20px, 5vw, 48px) !important;
  box-sizing: border-box;
}
.wrap-wide { max-width: var(--wrap-wide); }
.wrap      { max-width: var(--wrap-narrow); }

/* ── Responsive nav switch (desktop nav vs mobile burger) ───────── */
/* Default: desktop nav visible, burger hidden (the burger has inline
   display:none, so on desktop nothing else is needed).
   At narrow viewports we flip: hide desktop nav, show burger. */
@media (max-width: 899px) {
  .nav-desktop { display: none !important; }
  .nav-burger  { display: block !important; }
  .lang-toggle { margin-left: 0 !important; }
}

.h1, h1.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
}
.h1 em, h1.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.h2, h2.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.h3, h3.sub-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.3;
}

.lead, .hero-sub {
  font-family: var(--sans);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--fg-2);
  max-width: 60ch;
}

.essay-p, .essay p {
  font-family: var(--serif);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--fg-2);
}
.essay-p em, .essay p em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* Kicker / dateline — signature editorial label */
.kicker, .dateline {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: var(--accent);
}

/* Byline / meta */
.meta {
  font-family: var(--sans);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
}

/* Pull-quote */
.pull-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Drop-cap (first paragraph of essay) */
.first-para::first-letter {
  font-family: var(--serif);
  font-size: 4.2rem;
  font-weight: 700;
  float: left;
  line-height: 0.9;
  padding: 6px 10px 0 0;
  color: var(--accent);
}

/* Inline link */
a.inline-link {
  color: var(--accent);
  border-bottom: 1px solid rgba(46, 92, 56, 0.35);
  padding-bottom: 1px;
  text-decoration: none;
  transition: border-color var(--dur-normal) var(--ease);
}
a.inline-link:hover { border-color: var(--accent); }

/* Stat number (editorial numerals) */
.stat {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
}

/* ---------- Package modal (overlay popup) ---------- */
.pkg-modal {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(16px, 3vw, 32px);
  background: rgba(42,36,32,.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: pkgModalFade .22s var(--ease);
  overflow-y: auto;
}
@keyframes pkgModalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.pkg-modal__dialog {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  padding: clamp(28px, 5vw, 44px);
  margin: auto;
  position: relative;
  box-shadow: 0 28px 80px rgba(42,36,32,.28);
  animation: pkgModalIn .22s var(--ease);
}
@keyframes pkgModalIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}
.pkg-modal__close {
  position: absolute;
  top: clamp(14px, 2vw, 18px);
  right: clamp(14px, 2vw, 18px);
  width: 38px; height: 38px;
  border: 1px solid var(--color-border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .18s var(--ease);
  z-index: 2;
}
.pkg-modal__close:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.pkg-modal__kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  padding-right: 56px;
}
.pkg-modal__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 8px;
  color: var(--ink);
  padding-right: 56px;
}
.pkg-modal__price {
  font-family: var(--serif);
  font-size: clamp(15px, 2vw, 17px);
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
.pkg-modal__cta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(42,36,32,.14);
}

/* ---------- Package detail-box (click-to-expand inline) ---------- */
.pkg-details {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 2px solid var(--accent);
  display: grid;
  gap: 12px;
}
.pkg-details p {
  font-family: var(--serif);
  font-size: clamp(14.5px, 1.8vw, 16px);
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.pkg-details p strong { color: var(--ink); font-weight: 700; }
.pkg-details .pkg-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ink);
  margin-bottom: 4px;
}
.pkg-details .pkg-lead.pkg-draft {
  color: var(--fg-3);
  font-size: clamp(13.5px, 1.6vw, 14.5px);
  letter-spacing: .02em;
}
.pkg-details .pkg-sub {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
  margin-bottom: 0;
}
.pkg-details ul.pkg-list {
  margin: 0;
  padding-left: 20px;
  font-family: var(--serif);
  font-size: clamp(14.5px, 1.8vw, 16px);
  line-height: 1.65;
  color: var(--fg-2);
}
.pkg-details ul.pkg-list li { margin-bottom: 4px; text-wrap: pretty; }
.pkg-details .pkg-note {
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed rgba(42,36,32,.22);
  font-style: italic;
  color: var(--fg-3);
}
.pkg-details .pkg-note strong {
  font-style: normal;
  color: var(--ink);
}

/* ---------- Logo hover swap: HUNTER-ID ↔ Home ---------- */
.top-header__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.top-header__logo svg {
  transition: opacity .16s var(--ease);
}
.top-header__logo::before {
  content: "Home";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  opacity: 0;
  transition: opacity .16s var(--ease);
  pointer-events: none;
}
.top-header__logo:hover svg,
.top-header__logo:focus-visible svg { opacity: 0; }
.top-header__logo:hover::before,
.top-header__logo:focus-visible::before { opacity: 1; }

/* ==========================================================
   EventsLoop — endless horizontal marquee with hover-pause
   ========================================================== */
@keyframes events-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.events-loop {
  position: relative;
  overflow: hidden;
}
.events-loop__viewport {
  overflow: hidden;
  /* Soft fade at edges so images enter/exit gracefully */
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 48px,
    #000 calc(100% - 48px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 48px,
    #000 calc(100% - 48px),
    transparent 100%
  );
}
.events-loop__track {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  width: max-content;
  animation: events-marquee 90s linear infinite;
  will-change: transform;
}
.events-loop:hover .events-loop__track {
  animation-play-state: paused;
}
.events-loop__item {
  flex: 0 0 clamp(240px, 26vw, 320px);
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 4px 14px rgba(42,36,32,.06);
}
.events-loop__item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 46px rgba(42,36,32,.18);
  z-index: 2;
  position: relative;
}
.events-loop__item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.events-loop__item figcaption {
  padding: 10px 14px 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--fg-2);
  line-height: 1.35;
}
@media (prefers-reduced-motion: reduce) {
  .events-loop__track {
    animation: none;
  }
  .events-loop__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile: Auto-Marquee weg, dafür Touch-Swipe-Karussell mit Scroll-Snap.
   iOS Safari rendert mask-image + transform-Animation unzuverlässig
   (Layer kommt und geht beim Scrollen). Stattdessen: native horizontal
   Scroll, immer sichtbar, vom User steuerbar. */
@media (max-width: 760px) {
  .events-loop__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    /* Kein mask-image auf Mobile — kollidiert mit native scroll */
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  .events-loop__track {
    animation: none !important;
    will-change: auto;
    padding-inline: 4px;
  }
  .events-loop__item {
    scroll-snap-align: start;
  }
  .events-loop__item:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(42,36,32,.06);
  }
}

/* SparringFormatGuide + Packages: collapse 3+2 desktop grid to single column on narrow viewports */
@media (max-width: 720px) {
  .format-guide-row,
  .packages-row {
    grid-template-columns: 1fr !important;
  }
}

/* About-Page: 2-Spalten-Grid (Foto links, Text rechts) hat inline einen
   Fixed-Breakpoint, der auf iPhone ~6px Resttext-Spalte erzeugt. Auf Mobile
   stacken wir explizit (Foto oben, Text unten). */
@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: clamp(20px, 4vw, 28px) !important;
  }
}

/* Smooth-scroll for anchor navigation (#offer-overview, #sparring-fit, #sparring-packages) */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* FAQ accordion — answer is always in DOM, visibility via CSS class.
   LLM crawlers without JS see the full answer text. Visual collapse via
   CSS grid-template-rows trick (animates between 0fr and 1fr cleanly). */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq-answer.is-open {
  grid-template-rows: 1fr;
}
.faq-answer__inner {
  overflow: hidden;
  min-height: 0;
}
.faq-answer.is-open .faq-answer__inner {
  padding-top: 12px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-answer { transition: none; }
}

/* ──────────────────────────────────────────────────────────────────────────
   HANDOUT — 2-page A4 PDF, doppelseitig druckbar.
   Standalone: kein TopBar, kein Site-Footer im DOM. Bei /de/handout/ online
   ist nur ein dezenter Backlink + Print-Button sichtbar (im Druck versteckt).
   ────────────────────────────────────────────────────────────────────────── */
.handout--standalone {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 32px 60px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--serif);
}

/* Screen-only top bar (backlink + print CTA) — versteckt im Druck */
.handout__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 0 14px;
  border-bottom: 1px dashed rgba(42,36,32,.18);
}
.handout__backlink {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--fg-2);
  text-decoration: none;
}
.handout__backlink:hover { color: var(--accent); }
.handout__print-cta {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 9px 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: transform .2s var(--ease);
}
.handout__print-cta:hover { transform: translateY(-1px); }

/* One A4 page = .handout__page. On screen: framed white card. */
.handout__page {
  background: #fff;
  padding: 32px 36px;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(42,36,32,.08);
  border-radius: 4px;
}

/* Header — brand left, name right. Tight. */
.handout__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 22px;
}
.handout__brand { line-height: 1.1; min-width: 0; }
.handout__logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
}
.handout__sublogo {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--fg-2);
  margin-top: 4px;
  text-wrap: pretty;
}
.handout__tagline {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--fg-2);
  text-align: right;
  line-height: 1.45;
  flex-shrink: 0;
}
.handout__tagline em { font-style: italic; color: var(--accent); font-weight: 500; }

/* Major content blocks */
.handout__block {
  margin-bottom: 22px;
  page-break-inside: avoid;
  break-inside: avoid;
}
.handout__block:last-of-type { margin-bottom: 0; }

.handout__kicker {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

/* PROFILE — photo left + text right, integriert. */
.handout__profile-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  align-items: start;
}
.handout__profile-figure { margin: 0; }
.handout__portrait {
  width: 140px;
  height: 168px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(42,36,32,.14);
  display: block;
}
.handout__profile-figure figcaption {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
  text-align: center;
}
.handout__profile-text > * { margin: 0 0 8px; }
.handout__profile-text > *:last-child { margin-bottom: 0; }
.handout__profile-text p {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}
.handout__profile-name {
  font-family: var(--serif) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  letter-spacing: -.01em;
  line-height: 1.1 !important;
  margin: 4px 0 4px !important;
}
.handout__profile-role {
  font-family: var(--serif) !important;
  font-size: 13px !important;
  font-style: italic !important;
  color: var(--accent) !important;
  margin-bottom: 10px !important;
}

/* FORMATS table */
.handout__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.4;
  table-layout: fixed;
}
.handout__table th,
.handout__table td {
  text-align: left;
  padding: 8px 8px;
  vertical-align: top;
  border-bottom: 1px solid rgba(42,36,32,.12);
}
.handout__table th {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 9px;
}
.handout__table tbody tr:last-child td { border-bottom: 2px solid var(--ink); }
.handout__table .col-num { width: 24px; font-family: var(--sans); font-size: 9.5px; font-weight: 700; color: var(--accent); letter-spacing: .12em; }
.handout__table .col-format { width: 22%; }
.handout__table .col-format strong { font-weight: 700; color: var(--ink); }
.handout__formate-foot {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--fg-3);
  letter-spacing: .02em;
}

/* EXPERIENCE — stat row */
.handout__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  margin-bottom: 14px;
}
.handout__stat { text-align: center; }
.handout__stat-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}
.handout__stat-label {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 9.5px;
  color: var(--fg-3);
  line-height: 1.4;
  letter-spacing: .02em;
}
.handout__beweis-prose {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}

/* CONTACT — three rows in a 1- or 3-column grid */
.handout__cta-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--fg-2);
  margin: 0 0 12px;
}
.handout__contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.handout__cta-row {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(42,36,32,.18);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.4;
}
.handout__cta-row strong {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 4px;
}
.handout__cta-detail {
  display: block;
  font-family: var(--serif);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0;
  line-height: 1.4;
}
.handout__cta-primary {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 5%, #fff);
}
.handout__cta-site {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.5;
  text-wrap: pretty;
}

/* Per-page footer line */
.handout__page-footer {
  margin-top: 22px;
  padding-top: 10px;
  border-top: 1px solid rgba(42,36,32,.14);
  font-family: var(--sans);
  font-size: 9px;
  color: var(--fg-3);
  letter-spacing: .04em;
  text-align: center;
}

/* Mobile screen — stack columns. NOT applied in print. */
@media (max-width: 720px) {
  .handout--standalone { padding: 16px 14px 40px; }
  .handout__page { padding: 22px 18px; }
  .handout__header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .handout__tagline { text-align: left; }
  .handout__profile-grid { grid-template-columns: 1fr; }
  .handout__portrait { width: 160px; height: 192px; }
  .handout__profile-figure figcaption { text-align: left; }
  .handout__contact-grid { grid-template-columns: 1fr; }
  .handout__table { font-size: 11.5px; }
  .handout__table th, .handout__table td { padding: 6px 5px; }
  .handout__stats { grid-template-columns: 1fr 1fr 1fr; }
  .handout__stat-num { font-size: 22px; }
}

/* Print — A4 PDF, doppelseitig-tauglich */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 14mm;
  }
  html, body {
    background: #fff !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .handout--standalone {
    max-width: none;
    margin: 0;
    padding: 0;
    background: #fff;
  }
  .handout__topbar { display: none !important; }
  .handout__page {
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
  }
  .handout__page--2 {
    break-before: page;
    page-break-before: always;
  }
  /* Override the mobile breakpoint that triggers at A4 width */
  .handout__profile-grid { grid-template-columns: 140px 1fr !important; }
  .handout__contact-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .handout__header { flex-direction: row !important; align-items: flex-end !important; }
  .handout__tagline { text-align: right !important; }
  .handout__block { page-break-inside: avoid; break-inside: avoid; }
  a { text-decoration: none; }
}
