/* ==========================================================
   INDEPENDENT CAPITAL AG — Premium Design System
   ========================================================== */

:root {
  --bg-deep: #0A1628;
  --bg-night: #0D1B2A;
  --bg-elevated: #142235;
  --bg-soft: #1B2A3F;
  --line: rgba(201, 169, 97, 0.18);
  --line-strong: rgba(201, 169, 97, 0.45);

  --gold: #C9A961;
  --gold-bright: #E2C485;
  --gold-soft: #B89548;
  --copper: #B07840;

  --ink: #F5F1E8;
  --ink-muted: #C8CDD6;
  --ink-dim: #8892A6;
  --ink-faint: #5B6577;

  --serif: "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);

  --radius: 2px;
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.55);
  --shadow-md: 0 12px 40px -10px rgba(0,0,0,0.45);
  --transition: 0.5s cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse at top right, rgba(201,169,97,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(201,169,97,0.04) 0%, transparent 60%);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-bright); }

::selection { background: var(--gold); color: var(--bg-deep); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.15;
  color: var(--ink);
}

.display-xl {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-weight: 300;
}
.display-lg {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
}
.display-md {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-muted);
  font-weight: 300;
  max-width: 60ch;
}

p { color: var(--ink-muted); font-weight: 300; }
strong { color: var(--ink); font-weight: 500; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}

.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 0 auto;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  background: rgba(10, 22, 40, 0.78);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.nav.scrolled {
  padding: 0.9rem 0;
  background: rgba(10, 22, 40, 0.92);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1.2;
}
.brand-mark {
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  position: relative;
  display: grid; place-items: center;
}
.brand-mark::before {
  content: "IC";
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  color: var(--ink-dim);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 0.6rem 0.95rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  left: 0.95rem; right: 0.95rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.7rem 1.3rem !important;
  border: 1px solid var(--line-strong);
  color: var(--gold) !important;
  letter-spacing: 0.2em !important;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--bg-deep) !important;
  border-color: var(--gold);
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 4px; right: 4px;
  height: 1px;
  background: var(--ink);
  transition: all var(--transition);
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 70px 0 0 0;
    flex-direction: column;
    background: var(--bg-deep);
    padding: 2rem var(--pad);
    gap: 0.5rem;
    align-items: stretch;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.45s cubic-bezier(.16,1,.3,1);
    border-top: 1px solid var(--line);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 0.85rem 0; font-size: 0.95rem; }
  .nav-links a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--transition), border-color var(--transition);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform var(--transition);
  z-index: -1;
}
.btn:hover { color: var(--bg-deep); border-color: var(--gold); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-solid {
  background: var(--gold);
  color: var(--bg-deep);
}
.btn-solid::before { background: var(--gold-bright); }
.btn-solid:hover { color: var(--bg-deep); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.hero-bg::before {
  width: 600px; height: 600px;
  top: -10%; right: -10%;
  background: radial-gradient(circle, var(--gold), transparent 70%);
}
.hero-bg::after {
  width: 700px; height: 700px;
  bottom: -20%; left: -15%;
  background: radial-gradient(circle, var(--copper), transparent 70%);
  opacity: 0.18;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
}

.hero-inner { position: relative; z-index: 2; }

.hero-grid-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid-content { grid-template-columns: 1fr; gap: 3rem; }
}

.hero h1 {
  margin: 1.2rem 0 1.8rem;
}
.hero h1 .accent {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero-side {
  position: relative;
  padding: 2.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  backdrop-filter: blur(8px);
}
.hero-side::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 24px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}
.hero-side::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 24px; height: 24px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.stat-item {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.stat-item:last-child { border-bottom: none; padding-bottom: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  min-width: 90px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollBeam 2.4s ease-in-out infinite;
}
@keyframes scrollBeam {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Section: standard ---------- */
.section-head {
  max-width: 760px;
  margin-bottom: 4rem;
}
.section-head h2 {
  margin-top: 1rem;
}

/* split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  position: relative;
  padding: 2.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid var(--line);
  transition: all var(--transition);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(201,169,97,0.05));
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.card:hover::before { opacity: 1; }

.card-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.24em;
  display: block;
  margin-bottom: 1.4rem;
}
.card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  font-weight: 400;
}
.card p { font-size: 0.95rem; }
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  margin-bottom: 1.5rem;
  color: var(--gold);
  position: relative;
}

/* ---------- Team cards ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.team-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.team-portrait {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--bg-deep);
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.team-role {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.team-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
}
.team-bio {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ---------- Pull quotes / banner ---------- */
.pull-quote {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 5rem 1rem;
}
.pull-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}
.pull-quote .attribution {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2rem;
  font-weight: 500;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-soft));
  border: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,169,97,0.18), transparent 70%);
  filter: blur(60px);
}
.cta-strip-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
@media (max-width: 720px) {
  .cta-strip-inner { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 1.4rem;
  max-width: 640px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
}
.form-field input,
.form-field textarea,
.form-field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.85rem 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- Contact panel ---------- */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-panel { grid-template-columns: 1fr; }
}
.contact-info {
  border-left: 1px solid var(--line-strong);
  padding-left: 2rem;
}
.contact-info dl {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}
.contact-info dt {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.contact-info dd {
  font-size: 1.05rem;
  color: var(--ink);
}

/* ---------- Page hero (subpage) ---------- */
.page-hero {
  padding: 12rem 0 5rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,169,97,0.10), transparent 70%);
  filter: blur(80px);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 1rem; }
.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.breadcrumb a { color: var(--ink-dim); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { padding: 0 0.6rem; color: var(--ink-faint); }

/* ---------- List pretty ---------- */
.feature-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 1rem;
  color: var(--ink-muted);
}
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 11px;
  width: 8px; height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ---------- Document grid (Investor Relations) ---------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
.doc-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 0.6rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
}
.doc-tile::after {
  content: "↓";
  margin-top: 0.85rem;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: all var(--transition);
}
.doc-tile:hover {
  border-color: var(--gold);
  background: var(--bg-soft);
  transform: translateY(-2px);
}
.doc-tile:hover::after {
  color: var(--bg-deep);
  background: var(--gold);
  border-color: var(--gold);
}
.doc-tile .doc-year {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 400;
}
.doc-tile .doc-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 0.4rem;
}

.doc-section { margin-bottom: 3rem; }
.doc-section h3 {
  font-size: 1.4rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.doc-section h3::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  background: var(--bg-night);
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { font-family: var(--serif); font-size: 1.4rem; }
.footer-brand small { display:block; font-family: var(--sans); font-size:0.7rem; letter-spacing: 0.32em; color: var(--ink-dim); margin-top: 0.5rem;}
.footer h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.footer ul { list-style: none; display: grid; gap: 0.8rem; }
.footer ul a { font-size: 0.95rem; color: var(--ink-muted); }
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.gold { color: var(--gold); }
.muted { color: var(--ink-muted); }

/* ---------- Long-form text content (legal pages) ---------- */
.prose {
  max-width: 78ch;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.7rem;
  font-weight: 400;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.prose h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--gold-bright);
}
.prose h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.prose p { margin-bottom: 1rem; line-height: 1.8; }
.prose ul, .prose ol { margin: 1rem 0 1.5rem 1.4rem; }
.prose li { margin-bottom: 0.4rem; color: var(--ink-muted); }
.prose a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: var(--gold); }
.prose strong { color: var(--ink); }

/* glow on hover for cards with link */
a.card { display: block; }
a.card:hover h3 { color: var(--gold-bright); }

/* ==========================================================
   Mobile Polish (≤720px)
   ========================================================== */
@media (max-width: 720px) {
  /* Hero: kompakter — kein erzwungenes Vollbild auf Mobil */
  .hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }
  .hero h1 {
    margin: 0.8rem 0 1.2rem;
  }
  .hero-actions { margin-top: 1.8rem; gap: 0.8rem; }
  .hero-side {
    padding: 1.75rem;
  }
  .hero-side .stat-row { gap: 1.4rem; }
  .hero-scroll { display: none; }

  /* Page-Hero: weniger Luft oben, fixed Nav ist 60–70px */
  .page-hero {
    padding: 7rem 0 3rem;
  }
  .page-hero h1.display-xl {
    margin-top: 0.6rem !important;
  }

  /* Sektionsabstände auf Mobil weniger ausladend */
  section:not(.hero):not(.page-hero) { padding: 4rem 0; }
  .section-divider { margin: 0; }
  .section-head { margin-bottom: 2rem; }

  /* Footer enger */
  .footer { padding: 3rem 0 1.5rem; margin-top: 3rem; }
  .footer-grid { margin-bottom: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: left; }

  /* Team-Karten: etwas weniger Padding */
  .team-card { padding: 1.6rem; }
  .team-portrait { width: 56px; height: 56px; font-size: 1.1rem; }

  /* Doc-Kacheln etwas kompakter und Symbol kleiner */
  .doc-grid { gap: 0.6rem; }
  .doc-tile { padding: 1.1rem 0.5rem; }
  .doc-tile .doc-year { font-size: 1.4rem; }
  .doc-tile::after { width: 26px; height: 26px; margin-top: 0.6rem; }

  /* CTA-Strip: vertikal sauber stapeln */
  .cta-strip { padding: 2.2rem 1.4rem; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; gap: 1.4rem; }

  /* Buttons: bequemere Tap-Targets */
  .btn { padding: 0.95rem 1.6rem; }

  /* Hero-Stats: feinere Trennlinien */
  .stat-item { padding: 0.9rem 0; }

  /* Mobile-Menü: leicht großzügigere Link-Höhe */
  .nav-links.open a, .nav-links a { padding: 1rem 0; font-size: 1rem; }
}

/* Sehr schmale Geräte (≤380px) */
@media (max-width: 380px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-tile { padding: 1rem 0.4rem; }
  .doc-tile .doc-year { font-size: 1.25rem; }
  .doc-tile .doc-label { font-size: 0.6rem; }
}
