/* ============================================================
   INOVIS Capital — Website v2
   Design: Modern boutique investment bank.
   Warmer than v1, more graphic, more editorial.
   References: Drake Star, GP Bullhound, Houlihan Lokey.
   ------------------------------------------------------------
   Palette:    Navy + Gold + Salbei-Grün + warmes Beige + Cream
   Typography: Cormorant Garamond (display) + Inter (body)
   Hallmarks:  Curved dividers, drop caps, layered cards,
               subtle textures, scroll animations, SVG icons.
   ============================================================ */

:root {
  --ink:        #0E1B2C;
  --ink-soft:   #1F2D40;
  --ink-mute:   #5B6473;

  --gold:       #A6802A;
  --gold-deep:  #826320;
  --gold-soft:  #C9A85E;
  --gold-glow:  #E8D5A1;

  --sage:       #6B8576;
  --sage-soft:  #A8B8A8;
  --sage-mist:  #DCE3D8;

  --paper:      #FBFAF6;
  --paper-warm: #F7F2E9;
  --panel:      #F2EFE7;
  --panel-deep: #E8E2D2;
  --beige:      #D4C5A0;

  --rule:       #C9CDD3;
  --rule-soft:  #E6E8EC;
  --rule-warm:  #DDD4C0;

  --plum:       #5D3A4A;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --t-fast: .18s;
  --t-med:  .35s;
  --t-slow: .6s;
  --ease:   cubic-bezier(.22, .8, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  font-family: var(--sans);
  color: var(--ink-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold-glow); color: var(--ink); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

/* === SCROLL REVEAL === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

/* Fallback: ensure content is visible if JS fails or IntersectionObserver is unsupported */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* === TOP NAV === */
.topnav {
  border-bottom: 1px solid var(--rule);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  position: sticky; top: 0; z-index: 50;
}
.topnav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-mark { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: 0.22em; color: var(--ink); line-height: 1; }
.brand-mark em { font-style: italic; font-weight: 500; letter-spacing: 0.05em; color: var(--gold); margin: 0 1px; }
.brand-sub { font-size: 9px; letter-spacing: 0.32em; color: var(--ink-mute); text-transform: uppercase; padding-left: 14px; border-left: 1px solid var(--rule-warm); }
.brand-text { display: flex; flex-direction: column; }

nav.primary { display: flex; gap: 28px; align-items: center; }
nav.primary a {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
  transition: color var(--t-fast) var(--ease);
  position: relative; padding: 4px 0;
}
nav.primary a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t-med) var(--ease);
}
nav.primary a:hover { color: var(--gold); }
nav.primary a:hover::after, nav.primary a.active::after { transform: scaleX(1); }
nav.primary a.active { color: var(--gold); }
nav.primary a.cta { border: 1px solid var(--ink); padding: 10px 18px; color: var(--ink); background: var(--paper); }
nav.primary a.cta::after { display: none; }
nav.primary a.cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* === HERO === */
.hero {
  position: relative; padding: 110px 0 100px; overflow: hidden;
  background:
    radial-gradient(ellipse 800px 600px at 80% 20%, rgba(166,128,42,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 90%, rgba(107,133,118,0.08) 0%, transparent 60%),
    var(--paper);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 1000px 700px at 50% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 1000px 700px at 50% 40%, black 0%, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 28px; font-weight: 600;
}
.hero-title {
  font-family: var(--serif); font-weight: 500; font-size: 72px;
  line-height: 1.02; letter-spacing: 0.005em;
  margin: 0 0 30px; color: var(--ink); max-width: 980px;
}
.hero-title .accent {
  font-style: italic; font-weight: 400; color: var(--gold);
}
.hero-deck {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 23px; line-height: 1.45; color: var(--ink-soft);
  max-width: 760px; margin: 0 0 38px;
}
.hero-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

.hero-direct {
  position: relative;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-direct-label {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}
.hero-direct-tel {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: 0.005em;
  transition: color var(--t-fast) var(--ease);
}
.hero-direct-tel:hover {
  color: var(--gold-deep);
}
.hero-direct-mail {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
}
.hero-direct-mail a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.hero-direct-mail a:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

@media (max-width: 700px) {
  .hero-direct-tel { font-size: 26px; }
  .hero-direct-mail { font-size: 14px; }
}

.hero-trust {
  margin-top: 60px; padding-top: 28px;
  border-top: 1px solid var(--rule-warm);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
.hero-trust-label { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.hero-trust-items {
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink-soft);
}
.hero-trust-items span { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust-items span::before { content: ""; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; display: inline-block; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  cursor: pointer; transition: all var(--t-med) var(--ease);
  position: relative; overflow: hidden;
}
.btn::after { content: "→"; font-family: var(--serif); font-size: 18px; letter-spacing: 0; transition: transform var(--t-med) var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--paper); }

/* === PAGE HEAD === */
.page-head {
  position: relative; padding: 90px 0 66px;
  background: radial-gradient(ellipse 600px 400px at 85% 30%, rgba(166,128,42,0.06) 0%, transparent 60%), var(--paper);
  border-bottom: 1px solid var(--rule); overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.3;
  mask-image: radial-gradient(ellipse 800px 500px at 30% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 800px 500px at 30% 50%, black 0%, transparent 70%);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head .hero-eyebrow { margin-bottom: 22px; }
.page-head h1 {
  font-family: var(--serif); font-weight: 500; font-size: 60px;
  line-height: 1.02; letter-spacing: 0.005em;
  margin: 0 0 22px; color: var(--ink); max-width: 920px;
}
.page-head h1 .accent { font-style: italic; font-weight: 400; color: var(--gold); }
.page-head .deck {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 21px; line-height: 1.45; color: var(--ink-soft); max-width: 760px;
}

/* === SECTIONS — varied backgrounds for rhythm === */
.section { padding: 90px 0; position: relative; }
.section.tight { padding: 56px 0; }
.section.bg-paper { background: var(--paper); }
.section.bg-warm { background: var(--paper-warm); }
.section.bg-panel { background: var(--panel); }
.section.bg-sage  { background: linear-gradient(180deg, var(--sage-mist) 0%, var(--paper-warm) 100%); }
.section.bg-cream { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%); }

.section.dark { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.section.dark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 80% 30%, rgba(201,168,94,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(107,133,118,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.section.dark .wrap { position: relative; z-index: 2; }
.section.dark .section-title { color: var(--paper); }
.section.dark .section-num { color: var(--gold-soft); }
.section.dark .section-rule { color: rgba(251,250,246,0.55); }
.section.dark .section-head { border-top-color: rgba(251,250,246,0.35); }
.section.dark p { color: rgba(251,250,246,0.85); }
.section.dark .section-lede { color: var(--paper); }
.section.dark .section-lede em { color: var(--gold-soft); }

/* === SECTION HEADERS === */
.section-head {
  display: flex; align-items: baseline; gap: 22px;
  margin-bottom: 44px;
  border-top: 1px solid var(--ink); padding-top: 14px;
  flex-wrap: wrap; position: relative;
}
.section-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 18px; color: var(--gold); letter-spacing: 0.04em; }
.section-title { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink); margin: 0; }
.section-spacer { flex: 1; }
.section-rule {
  font-style: italic; font-family: var(--serif); font-size: 14px; letter-spacing: 0.04em;
  text-transform: none; color: var(--ink-mute);
}

.section-lede {
  font-family: var(--serif); font-size: 30px; line-height: 1.32;
  color: var(--ink); max-width: 820px; margin: 0 0 48px; font-weight: 400;
}
.section-lede em { color: var(--gold); font-style: italic; }
.section-lede.dropcap::first-letter {
  font-family: var(--serif); float: left; font-size: 84px; line-height: 0.85;
  font-weight: 500; margin: 6px 14px 0 0; color: var(--gold); font-style: italic;
}

/* === ORNAMENTS === */
.ornament { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; width: 36px; height: 1px; background: var(--gold); opacity: 0.6; }
.ornament-mark { font-family: var(--serif); font-size: 18px; letter-spacing: 0.4em; font-style: italic; }

.flourish {
  text-align: center; margin: 56px 0; color: var(--gold);
  font-family: var(--serif); font-size: 22px; letter-spacing: 0.6em; font-style: italic;
}

/* === SERVICES === */
.services-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 38px; }
.service-primary {
  background: var(--ink); color: var(--paper);
  padding: 52px 48px 42px;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
}
.service-primary::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 400px at 100% 0%, rgba(201,168,94,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 0% 100%, rgba(107,133,118,0.12) 0%, transparent 60%);
  z-index: -1;
}
.service-primary::after {
  content: "01"; position: absolute; bottom: -40px; right: -10px;
  font-family: var(--serif); font-size: 280px; font-weight: 500;
  color: rgba(251,250,246,0.04); line-height: 1; pointer-events: none; z-index: -1;
}
.service-primary .pc-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 16px; color: var(--gold-soft); letter-spacing: 0.04em; margin-bottom: 18px; }
.service-primary h3 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.08; color: var(--paper); margin: 0 0 18px; }
.service-primary h3 em { color: var(--gold-soft); font-style: italic; font-weight: 400; font-size: 32px; }
.service-primary p { font-size: 14.5px; line-height: 1.7; color: rgba(251,250,246,0.82); max-width: 480px; margin: 0 0 28px; }
.service-primary .meta {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft);
  border-top: 1px solid rgba(251,250,246,0.2); padding-top: 18px;
  margin-top: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-weight: 600;
}
.service-primary .meta a { color: var(--paper); border-bottom: 1px solid var(--gold-soft); padding-bottom: 2px; transition: color var(--t-fast) var(--ease); }
.service-primary .meta a:hover { color: var(--gold-soft); }

.services-sec { display: flex; flex-direction: column; gap: 0; }
.service-card {
  border-top: 1px solid var(--rule);
  padding: 22px 22px 22px 0;
  display: grid; grid-template-columns: 38px 1fr auto;
  gap: 16px; align-items: baseline;
  transition: padding var(--t-med) var(--ease), background var(--t-fast) var(--ease);
  position: relative;
}
.service-card:last-child { border-bottom: 1px solid var(--rule); }
.service-card .pc-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 15px; color: var(--gold); }
.service-card h4 { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: 0.005em; color: var(--ink); margin: 0 0 4px; line-height: 1.2; }
.service-card p { font-size: 13px; color: var(--ink-mute); line-height: 1.55; margin: 0; }
.service-card .arrow { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; transition: transform var(--t-med) var(--ease); }
.service-card:hover { padding-left: 12px; }
.service-card:hover .arrow { transform: translateX(6px); }

/* === KPI STRIP === */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(251,250,246,0.2); border-bottom: 1px solid rgba(251,250,246,0.2); margin-top: 6px; }
.kpi {
  padding: 28px 28px 32px;
  border-right: 1px solid rgba(251,250,246,0.15);
  display: flex; flex-direction: column; gap: 10px;
  position: relative; transition: background var(--t-med) var(--ease);
}
.kpi::before { content: ""; position: absolute; top: 0; left: 28px; width: 24px; height: 2px; background: var(--gold-soft); }
.kpi:hover { background: rgba(201,168,94,0.05); }
.kpi:last-child { border-right: none; }
.kpi-label { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(251,250,246,0.6); font-weight: 600; }
.kpi-value { font-family: var(--serif); font-weight: 500; font-size: 64px; line-height: 1; color: var(--paper); letter-spacing: 0.005em; }
.kpi-value .unit { font-size: 26px; color: var(--gold-soft); margin-left: 4px; font-weight: 400; }
.kpi-value .plus { color: var(--gold-soft); font-style: italic; font-weight: 400; }
.kpi-sub { font-size: 13px; color: rgba(251,250,246,0.7); line-height: 1.5; font-family: var(--serif); font-style: italic; }

/* === BUYER UNIVERSE === */
.buyer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.buyer {
  background: var(--paper); padding: 32px 24px 28px;
  border: 1px solid var(--rule-warm);
  position: relative; display: flex; flex-direction: column; gap: 14px;
  transition: all var(--t-med) var(--ease);
}
.buyer:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(14,27,44,0.18); }
.buyer-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-warm); border: 1px solid var(--gold); border-radius: 50%;
  position: relative; margin-bottom: 6px;
  transition: background var(--t-med) var(--ease);
}
.buyer-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.buyer:hover .buyer-icon { background: var(--gold); }
.buyer:hover .buyer-icon svg { stroke: var(--paper); }
.buyer .pc-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 12px; color: var(--gold); letter-spacing: 0.08em; position: absolute; top: 18px; right: 22px; }
.buyer h4 { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: 0.005em; color: var(--ink); margin: 0; line-height: 1.15; }
.buyer p { font-size: 12.5px; line-height: 1.6; color: var(--ink-mute); margin: 0; }

/* === SECTORS === */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector {
  padding: 26px 22px 28px; background: var(--paper);
  border: 1px solid var(--rule-warm); position: relative;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 165px; transition: all var(--t-med) var(--ease); overflow: hidden;
}
.sector::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--gold); transition: width var(--t-med) var(--ease); }
.sector:hover { background: var(--paper-warm); border-color: var(--gold); }
.sector:hover::before { width: 100%; }
.sector-icon { width: 32px; height: 32px; margin-bottom: 8px; color: var(--sage); }
.sector-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.3; transition: color var(--t-med) var(--ease); }
.sector:hover .sector-icon { color: var(--gold); }
.sector .pc-num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 12px; color: var(--gold); letter-spacing: 0.08em; position: absolute; top: 18px; right: 22px; }
.sector h4 { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: 0.005em; color: var(--ink); margin: 0; line-height: 1.2; }
.sector p { font-size: 12px; line-height: 1.55; color: var(--ink-mute); margin: 0; }

/* === PROCESS === */
.process-wrap { position: relative; padding: 30px 0 20px; }
.process-wrap::before {
  content: ""; position: absolute; top: 70px; left: 4%; right: 4%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 8%, var(--gold) 92%, transparent 100%);
  z-index: 1;
}
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; z-index: 2; }
.step { padding: 0 16px; position: relative; text-align: center; }
.step-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold);
  margin: 60px auto 22px; position: relative;
  transition: all var(--t-med) var(--ease);
}
.step-dot::after { content: ""; position: absolute; inset: 4px; background: var(--gold); border-radius: 50%; transform: scale(0); transition: transform var(--t-med) var(--ease); }
.step:hover .step-dot::after { transform: scale(1); }
.step-num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 13px; letter-spacing: 0.05em; position: absolute; top: 0; left: 0; right: 0; }
.step-dur { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; font-weight: 600; }
.step h5 { font-family: var(--serif); font-size: 21px; color: var(--ink); font-weight: 500; margin: 0 0 10px; line-height: 1.2; }
.step p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* === REFERENCES === */
.ref-meta { font-family: var(--serif); font-style: italic; color: var(--ink-mute); font-size: 17px; margin-bottom: 36px; max-width: 700px; }
.ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule-warm); border: 1px solid var(--rule-warm); }
.ref-cell {
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  transition: background var(--t-med) var(--ease);
  position: relative;
  padding: 22px 18px 18px;
  text-align: center;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.ref-cell::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,94,0.12) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.ref-cell:hover { background: var(--paper-warm); }
.ref-cell:hover::before { opacity: 1; }

.ref-logo-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 4px 0 12px;
  min-height: 70px;
}
.ref-logo {
  max-width: 70%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.ref-cell:hover .ref-logo {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.04);
}
/* Fallback when image fails to load — overlapped behind, hidden if logo loads */
.ref-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
}
/* When the IMG is broken, browsers expose a 0×0 box; show the fallback instead.
   We rely on the technique: img with no successful src has natural-width 0.
   Practical browser-friendly approach — hide image when it errors via JS-free CSS:
   instead, default fallback to visible and let a working logo cover it. */
.ref-cell .ref-logo[src=""],
.ref-cell .ref-logo:not([src]) { display: none; }
.ref-cell .ref-logo[src=""] ~ .ref-fallback,
.ref-cell .ref-logo:not([src]) ~ .ref-fallback { opacity: 1; }

.ref-tag {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  position: relative;
  z-index: 2;
  padding-top: 12px;
  border-top: 1px solid var(--rule-warm);
  width: 80%;
  max-width: 220px;
  transition: color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.ref-cell:hover .ref-tag {
  color: var(--gold-deep);
  border-color: var(--gold);
}

/* === NEWS ITEMS — alternating editorial layout === */
.news-item {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--rule-warm);
  align-items: center;
}
.news-item:first-of-type { border-top: 1px solid var(--ink); }
.news-item:last-of-type { border-bottom: 1px solid var(--rule-warm); }
.news-item:nth-child(even) { grid-template-columns: 1fr 360px; }
.news-item:nth-child(even) .news-figure { order: 2; }
.news-item:nth-child(even) .news-body { order: 1; }

.news-figure {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--panel);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--rule-warm);
}
.news-figure::before {
  content: "";
  position: absolute; top: 12px; left: 12px;
  width: 22px; height: 22px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  z-index: 3;
}
.news-figure::after {
  content: "";
  position: absolute; bottom: 12px; right: 12px;
  width: 22px; height: 22px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  z-index: 3;
}
.news-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
  transition: filter var(--t-med) var(--ease), transform var(--t-slow) var(--ease);
}
.news-figure:hover img {
  filter: saturate(1);
  transform: scale(1.03);
}
.news-figure-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at 30% 30%, rgba(166,128,42,0.12) 0%, transparent 60%),
    linear-gradient(135deg, var(--panel) 0%, var(--rule-soft) 100%);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 24px;
  line-height: 1.25;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}
/* Show fallback only when image is broken/empty */
.news-figure img[src=""] ~ .news-figure-fallback,
.news-figure img:not([src]) ~ .news-figure-fallback { opacity: 1; }

.news-body { display: flex; flex-direction: column; }
.news-meta {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.news-date {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.news-date::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
}
.news-tag {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  padding: 3px 10px;
  border: 1px solid var(--sage-soft);
  background: var(--sage-mist);
}
.news-headline {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.22;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 16px;
  letter-spacing: 0.005em;
}
.news-lede {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.news-role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding: 2px 0 2px 14px;
  margin: 0 0 18px;
}
.news-role strong { color: var(--ink); font-weight: 600; }
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color var(--t-fast) var(--ease), gap var(--t-med) var(--ease);
}
.news-link .news-arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  transition: transform var(--t-med) var(--ease);
}
.news-link:hover { color: var(--gold); gap: 14px; }
.news-link:hover .news-arrow { transform: translateX(4px); }

/* === ARTICLE DETAIL PAGES (news/...detail.html) === */
.article-head {
  position: relative;
  padding: 80px 0 0;
  background:
    radial-gradient(ellipse 600px 400px at 85% 30%, rgba(166,128,42,0.06) 0%, transparent 60%),
    var(--paper);
  overflow: hidden;
}
.article-head::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.3;
  mask-image: radial-gradient(ellipse 800px 500px at 30% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 800px 500px at 30% 50%, black 0%, transparent 70%);
  pointer-events: none;
}
.article-head .wrap { position: relative; z-index: 2; max-width: 880px; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 28px;
  transition: color var(--t-fast) var(--ease);
}
.article-back::before {
  content: "←";
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0;
  transition: transform var(--t-med) var(--ease);
}
.article-back:hover { color: var(--gold); }
.article-back:hover::before { transform: translateX(-4px); }

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.article-date {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.article-date::before {
  content: ""; width: 26px; height: 1px; background: var(--gold);
}
.article-tag {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  padding: 3px 10px;
  border: 1px solid var(--sage-soft);
  background: var(--sage-mist);
}

.article-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 28px;
  color: var(--ink);
  max-width: 820px;
}

.article-deck {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 44px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}

.article-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--panel);
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 0;
}
.article-hero::before {
  content: ""; position: absolute; top: 16px; left: 16px;
  width: 28px; height: 28px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  z-index: 3;
}
.article-hero::after {
  content: ""; position: absolute; bottom: 16px; right: 16px;
  width: 28px; height: 28px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  z-index: 3;
}
.article-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.article-hero .ref-fallback,
.article-hero .news-figure-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at 30% 30%, rgba(166,128,42,0.12) 0%, transparent 60%),
    linear-gradient(135deg, var(--panel) 0%, var(--rule-soft) 100%);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 32px;
  line-height: 1.25;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.article-hero img[src=""] ~ .news-figure-fallback,
.article-hero img:not([src]) ~ .news-figure-fallback { opacity: 1; }

/* Article body */
.article-body {
  padding: 70px 0 90px;
  background: var(--paper);
}
.article-body .wrap { max-width: 760px; }
.article-body p {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.article-body p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 76px;
  line-height: 0.85;
  font-weight: 500;
  margin: 8px 14px 0 0;
  color: var(--gold);
  font-style: italic;
}
.article-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.18;
  color: var(--ink);
  margin: 44px 0 18px;
  letter-spacing: 0.005em;
}
.article-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.22;
  color: var(--ink);
  margin: 36px 0 14px;
}
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  transition: color var(--t-fast) var(--ease);
}
.article-body a:hover { color: var(--gold); }

.article-pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.42;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 22px;
  margin: 38px 0 38px;
  font-weight: 400;
}
.article-pullquote-source {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-top: 14px;
}
.article-pullquote-source::before {
  content: "— ";
  color: var(--gold);
}

.article-role {
  margin-top: 50px;
  padding: 24px 28px;
  background: var(--paper-warm);
  border-top: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}
.article-role strong { font-weight: 600; }
.article-role-label {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 8px;
}

.article-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin: 8px 0 28px;
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}

.article-related {
  border-top: 1px solid var(--rule);
  padding-top: 30px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.article-related-label {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.article-related a {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.article-related a::after {
  content: "→";
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0;
  transition: transform var(--t-med) var(--ease);
}
.article-related a:hover::after { transform: translateX(4px); }

/* === SERVICE PAGES — value drivers, fee box, lead text === */
.service-lead {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  max-width: 760px;
  margin: 0 0 20px;
  letter-spacing: 0.005em;
}
.service-lead em {
  font-style: italic;
  color: var(--gold-deep);
}
.service-lead-source {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-top: 14px;
}

.value-drivers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.driver-card {
  background: var(--paper);
  border: 1px solid var(--rule-warm);
  padding: 24px 22px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-med) var(--ease);
}
.driver-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.driver-card .driver-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
}
.driver-card h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.005em;
}
.driver-card p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.fee-strip {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
  margin-top: 36px;
}
.fee-strip h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.2;
}
.fee-strip .fee-eyebrow {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 6px;
}
.fee-strip p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.fee-strip p:last-child { margin-bottom: 0; }
.fee-strip strong { color: var(--ink); font-weight: 600; }

@media (max-width: 880px) {
  .value-drivers { grid-template-columns: 1fr; }
  .fee-strip { grid-template-columns: 1fr; gap: 14px; }
  /* Auf Mobile: reveal-Effekt sanfter, damit Inhalt schnell-scrollend nicht "leer" wirkt */
  .reveal { opacity: 0.4; transform: translateY(12px); }
}

/* === QUOTE BLOCK === */
.quote-block { position: relative; padding: 60px 60px 56px; background: var(--paper-warm); border-left: 3px solid var(--gold); margin: 0 auto; max-width: 880px; }
.quote-block::before { content: "\201C"; position: absolute; top: -10px; left: 30px; font-family: var(--serif); font-size: 140px; line-height: 1; color: var(--gold); opacity: 0.35; font-style: italic; }
.quote-block p { font-family: var(--serif); font-size: 24px; line-height: 1.45; color: var(--ink); font-style: italic; margin: 0 0 28px; font-weight: 400; position: relative; z-index: 2; }
.quote-source { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; display: flex; align-items: center; gap: 14px; }
.quote-source::before { content: ""; width: 24px; height: 1px; background: var(--gold); }

/* === FAQ === */
.faq-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-side .ornament-mark { display: block; margin-bottom: 18px; font-family: var(--serif); color: var(--gold); font-size: 32px; font-style: italic; }
.faq-side h3 { font-family: var(--serif); font-size: 38px; color: var(--ink); font-weight: 500; margin: 0 0 18px; line-height: 1.12; }
.faq-side p { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-mute); line-height: 1.55; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-top: 1px solid var(--rule-warm); padding: 28px 0 28px;
  display: grid; grid-template-columns: 36px 1fr; gap: 16px;
  transition: padding var(--t-med) var(--ease);
}
.faq-item:last-child { border-bottom: 1px solid var(--rule-warm); }
.faq-item:hover { padding-left: 12px; }
.faq-item .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 16px; }
.faq-q { font-family: var(--serif); font-size: 24px; line-height: 1.28; color: var(--ink); font-weight: 500; margin: 0 0 12px; }
.faq-a { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.contact-logo {
  height: 56px;
  width: auto;
  display: block;
  margin: 0 0 28px;
  opacity: 0.95;
}
.contact-headline { font-family: var(--serif); font-weight: 500; font-size: 50px; line-height: 1.05; color: var(--paper); margin: 0 0 24px; }
.contact-headline .accent { color: var(--gold-soft); font-style: italic; font-weight: 400; }
.contact-deck { font-family: var(--serif); font-style: italic; font-size: 18px; color: rgba(251,250,246,0.78); line-height: 1.5; max-width: 480px; margin: 0 0 28px; }
.contact-card {
  background: rgba(251,250,246,0.05); border: 1px solid rgba(201,168,94,0.3);
  border-top: 3px solid var(--gold); padding: 36px 36px 32px; position: relative;
}
.contact-card::after {
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  border: 1px solid rgba(201,168,94,0.25); border-radius: 50%;
  pointer-events: none;
}
.contact-key { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 4px; margin-top: 18px; font-weight: 600; }
.contact-key:first-of-type { margin-top: 0; }
.contact-val { font-family: var(--serif); font-size: 22px; color: var(--paper); font-weight: 500; }
.contact-val.small { font-size: 16px; font-style: italic; font-weight: 400; line-height: 1.4; }
.contact-val a { transition: color var(--t-fast) var(--ease); }
.contact-val a:hover { color: var(--gold-soft); }

/* === TEAM === */
.team-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; margin-bottom: 0; }
.team-photo { width: 100%; aspect-ratio: 4/5; background: var(--panel); position: relative; overflow: hidden; border-radius: 2px; isolation: isolate; }
.team-photo::before { content: ""; position: absolute; top: 16px; left: 16px; width: 28px; height: 28px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); z-index: 3; }
.team-photo::after { content: ""; position: absolute; bottom: 16px; right: 16px; width: 28px; height: 28px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); z-index: 3; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo.placeholder {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(166,128,42,0.15) 0%, transparent 60%),
    linear-gradient(135deg, var(--panel) 0%, var(--rule-soft) 100%);
}
.team-photo.placeholder .initials { font-family: var(--serif); font-size: 110px; font-weight: 500; color: var(--ink); letter-spacing: 0.04em; font-style: italic; }
.team-photo.placeholder .label { position: absolute; bottom: 22px; left: 22px; font-size: 8px; letter-spacing: 0.32em; color: var(--ink-mute); font-weight: 600; }
.team-info h2 { font-family: var(--serif); font-weight: 500; font-size: 42px; color: var(--ink); margin: 0 0 6px; letter-spacing: 0.005em; line-height: 1.05; }
.team-role { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 26px; display: inline-flex; align-items: center; gap: 12px; }
.team-role::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.team-bio { font-size: 15px; line-height: 1.75; color: var(--ink-soft); max-width: 640px; }
.team-bio p { margin: 0 0 14px; }
.team-bio p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 60px; line-height: 0.85; font-weight: 500; margin: 8px 12px 0 0; color: var(--gold); font-style: italic; }
.team-stations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 32px; border-top: 1px solid var(--rule-warm); padding-top: 26px; }
.station { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.station .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 14px; }
.station .meta { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; font-weight: 600; }
.station .role { font-size: 14px; color: var(--ink); font-weight: 500; line-height: 1.45; font-family: var(--serif); }
.team-contact { margin-top: 28px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 22px; padding-top: 22px; border-top: 1px solid var(--rule-warm); }
.team-contact a { color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: color var(--t-fast) var(--ease); }
.team-contact a:hover { color: var(--gold); border-color: var(--gold-soft); }

/* === DETAIL PAGE === */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.detail-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.detail-list li {
  display: grid; grid-template-columns: 32px 1fr; gap: 14px;
  border-top: 1px solid var(--rule-warm);
  padding: 18px 0 18px; align-items: baseline;
  transition: padding var(--t-fast) var(--ease);
}
.detail-list li:last-child { border-bottom: 1px solid var(--rule-warm); }
.detail-list li:hover { padding-left: 8px; }
.detail-list .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 14px; }
.detail-list b { color: var(--ink); font-weight: 600; }
.detail-list p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.detail-list .head { font-size: 15.5px; font-weight: 500; color: var(--ink); margin: 0 0 6px; font-family: var(--serif); }

.criteria-box {
  background: var(--ink); color: var(--paper);
  padding: 38px 38px 34px; position: relative; overflow: hidden; isolation: isolate;
}
.criteria-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 400px 300px at 100% 0%, rgba(201,168,94,0.15) 0%, transparent 60%); z-index: -1; }
.criteria-box h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--paper); margin: 0 0 22px; }
.criteria-box h3 em { color: var(--gold-soft); font-style: italic; }
.criteria-row { display: grid; grid-template-columns: 130px 1fr; padding: 11px 0; border-bottom: 1px solid rgba(251,250,246,0.12); font-size: 13.5px; align-items: baseline; }
.criteria-row:last-child { border-bottom: none; }
.criteria-key { font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.criteria-val { color: var(--paper); font-family: var(--serif); font-style: italic; font-size: 16px; }

/* === FOOTER === */
footer.site { background: var(--ink); color: rgba(251,250,246,0.7); padding: 72px 0 32px; font-size: 12px; position: relative; overflow: hidden; }
footer.site::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 90% 10%, rgba(201,168,94,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 0% 100%, rgba(107,133,118,0.08) 0%, transparent 60%);
  pointer-events: none;
}
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 2; }
footer.site h6 { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
footer.site h6::before { content: ""; width: 16px; height: 1px; background: var(--gold-soft); }
footer.site a { display: block; padding: 5px 0; color: rgba(251,250,246,0.75); transition: color var(--t-fast) var(--ease); }
footer.site a:hover { color: var(--gold-soft); }
footer.site .legal { border-top: 1px solid rgba(251,250,246,0.18); padding-top: 24px; margin-top: 48px; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(251,250,246,0.45); flex-wrap: wrap; gap: 12px; }
footer.site .legal-wrap { grid-column: 1 / -1; }

/* === LEGAL PAGES (Impressum / Datenschutz) === */
.legal-block {
  margin-bottom: 44px;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
}
.legal-block h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: 0.005em;
}
.legal-block p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block strong { color: var(--ink); font-weight: 600; }
.legal-block a {
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.legal-block a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.legal-block ul {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
  padding-left: 20px;
}
.legal-block ul li { margin-bottom: 6px; }
footer.site .footer-brand-mark { color: var(--paper); font-size: 16px; font-family: var(--serif); font-weight: 600; letter-spacing: 0.22em; }
footer.site .footer-brand-mark em { font-style: italic; font-weight: 500; letter-spacing: 0.05em; color: var(--gold-soft); }
footer.site .footer-brand-sub { font-size: 9px; letter-spacing: 0.32em; color: rgba(251,250,246,0.55); text-transform: uppercase; margin-top: 6px; }
footer.site .social { display: flex; gap: 12px; margin-top: 22px; }
footer.site .social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(251,250,246,0.3);
  padding: 0; transition: all var(--t-fast) var(--ease);
  border-radius: 50%;
}
footer.site .social a:hover { border-color: var(--gold-soft); background: var(--gold-soft); transform: translateY(-2px); }
footer.site .social svg { width: 14px; height: 14px; fill: rgba(251,250,246,0.75); transition: fill var(--t-fast) var(--ease); }
footer.site .social a:hover svg { fill: var(--ink); }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .hero-title { font-size: 56px; }
  .page-head h1 { font-size: 48px; }
  .buyer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  nav.primary { gap: 18px; }
  nav.primary a { font-size: 10px; letter-spacing: 0.18em; }
  .hero { padding: 70px 0 60px; }
  .hero-title { font-size: 44px; }
  .hero-deck { font-size: 18px; }
  .page-head { padding: 60px 0 50px; }
  .page-head h1 { font-size: 38px; }
  .services-grid, .team-grid, .faq-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-side { position: static; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .kpi { border-right: none; border-bottom: 1px solid rgba(251,250,246,0.15); }
  .kpi:nth-child(odd) { border-right: 1px solid rgba(251,250,246,0.15); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .buyer-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }
  .process-wrap::before { display: none; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .step-dot { margin-top: 30px; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  .quote-block { padding: 40px 30px 36px; }
  .quote-block p { font-size: 19px; }
  .quote-block::before { font-size: 100px; }
  .news-item, .news-item:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .news-item:nth-child(even) .news-figure { order: 0; }
  .news-item:nth-child(even) .news-body { order: 1; }
  .news-figure { max-width: 480px; }
  .news-headline { font-size: 22px; }
  .article-title { font-size: 38px; }
  .article-deck { font-size: 18px; }
  .article-body p { font-size: 15.5px; }
  .article-body h2 { font-size: 26px; }
  .article-body p:first-of-type::first-letter { font-size: 60px; }
  .article-pullquote { font-size: 21px; }
}
@media (max-width: 640px) {
  .hero-title { font-size: 34px; }
  .hero-deck { font-size: 16px; }
  .page-head h1 { font-size: 32px; }
  .kpi-value { font-size: 46px; }
  .kpi-row { grid-template-columns: 1fr; }
  .kpi { border-right: none !important; }
  .sector-grid, .buyer-grid, .ref-grid, .process { grid-template-columns: 1fr; }
  .process { gap: 30px; }
  .team-stations { grid-template-columns: 1fr; }
  .section-lede { font-size: 22px; }
  .section { padding: 60px 0; }
  .service-primary { padding: 36px 28px; }
  .service-primary h3 { font-size: 30px; }
  .service-primary::after { font-size: 180px; }
  footer.site .wrap { grid-template-columns: 1fr; }
  .topnav .wrap { flex-wrap: wrap; gap: 16px; }
  nav.primary { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .contact-headline { font-size: 36px; }
  .contact-logo { height: 44px; margin-bottom: 22px; }
  .brand-logo { height: 36px; }
  .brand-sub { display: none; }
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--t-med) var(--ease),
              transform var(--t-med) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  box-shadow: 0 4px 16px rgba(14, 27, 44, 0.18);
  z-index: 40;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--gold-deep);
  color: var(--paper);
}
.scroll-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 700px) {
  .scroll-top {
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}
