/* ------------------------------------------------------------------
   Heidelberg Leaders Club — Stylesheet
   Farben: Mitternachtsblau, Champagner-Gold, Elfenbein
   Schriften: Cormorant Garamond (Display), Jost (Text)
   ------------------------------------------------------------------ */

/* --- Schriften, lokal ausgeliefert --- */
@font-face { font-family: 'Jost'; src: url('fonts/jost-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/jost-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/jost-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --night: #0B1628;
  --night-deep: #081020;
  --night-soft: #172B4D;
  --ivory: #F6F1E7;
  --ivory-warm: #EDE4D3;
  --gold: #B08D57;
  --gold-light: #C6A56B;
  --gold-dark: #7A5C2B;
  --ink: #0B1628;
  --ink-soft: #39434F;
  --ink-mute: #5E584C;
  --on-night: #F3EDE2;
  --on-night-soft: #C3CAD6;
  --on-night-mute: #9AA3B2;
  --rule-light: #D8CBB2;
  --rule-dark: #2A3B58;
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --measure: 62ch;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 0.6vw + 14px, 18px);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; }
p, ul, ol { margin: 0; }

a { color: var(--gold-dark); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 1px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--night);
  color: var(--on-night);
  padding: 12px 20px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* --- Raster --- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { width: 100% }
.band--ivory { background: var(--ivory) }
.band--warm  { background: var(--ivory-warm) }
.band--night { background: var(--night); color: var(--on-night) }
.band > .wrap { padding-block: clamp(56px, 8vw, 110px) }
.band--tight > .wrap { padding-block: clamp(40px, 5vw, 70px) }

/* --- Kopfzeile --- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--night);
  border-bottom: 1px solid var(--rule-dark);
}
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 13px;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { height: 32px; width: auto; }
.brand span {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.site-nav a {
  color: var(--on-night-soft);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.site-nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.site-nav a[aria-current="page"] { color: var(--on-night); border-bottom-color: var(--gold); }
.site-nav a.member {
  border: 1px solid var(--rule-dark);
  padding: 8px 17px;
  color: var(--gold-light);
}
.site-nav a.member:hover { border-color: var(--gold-light); background: rgba(198,165,107,.12); }
@media (max-width: 800px) {
  .site-nav a:not(.member) { display: none }
  .brand span { display: none }
}

/* --- Seitenkopf --- */
.page-head { background: var(--night); color: var(--on-night) }
.page-head > .wrap { padding-block: clamp(52px, 7vw, 92px) }
.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  color: var(--on-night);
  max-width: 19ch;
}
.page-head p { margin-top: 20px; max-width: 52ch; color: var(--on-night-soft) }

/* --- Hero --- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 50% 34%, var(--night-soft) 0%, var(--night) 58%, var(--night-deep) 100%);
  color: var(--on-night);
  text-align: center;
  overflow: hidden;
}
.hero > .wrap {
  padding-block: clamp(56px, 10vw, 118px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 3vw, 36px);
}
.hero-frame {
  position: absolute;
  inset: 16px max(20px, env(safe-area-inset-left, 0px));
  border: 1px solid rgba(176,141,87,.36);
  pointer-events: none;
}
.hero img { width: min(300px, 68vw) }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.06; color: var(--on-night); max-width: 17ch }
.hero .sub {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.25;
  color: var(--gold-light);
}
.hero .intro { max-width: 54ch; color: var(--on-night-soft) }

.rule-gold { width: 110px; height: 1px; background: var(--gold); border: 0; margin: 0 }

/* --- Typo-Bausteine --- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none }
.band--night .eyebrow { color: var(--gold-light) }
.band--night .eyebrow::before { background: var(--gold-light) }
.eyebrow--center { justify-content: center }
.eyebrow--center::after { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none }
.band--night .eyebrow--center::after { background: var(--gold-light) }

.section-title { font-size: clamp(1.8rem, 3.8vw, 2.9rem); line-height: 1.14; max-width: 21ch }
.band--night .section-title { color: var(--on-night) }
.lede { max-width: var(--measure); font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-soft) }
.band--night .lede { color: var(--on-night-soft) }
.prose p + p { margin-top: 18px }
.prose { max-width: var(--measure); color: var(--ink-soft) }

.btn {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 32px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  background: transparent;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--gold); color: var(--night) }
.band--night .btn, .hero .btn { border-color: var(--gold-light); color: var(--gold-light) }
.band--night .btn:hover, .hero .btn:hover { background: var(--gold-light); color: var(--night) }

/* --- Kennzahlen --- */
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(32px, 4vw, 54px);
  border-top: 1px solid var(--rule-light);
}
.band--night .figures { border-top-color: var(--rule-dark) }
.figure { padding: 26px 22px 0 26px; border-left: 1px solid var(--rule-light) }
.band--night .figure { border-left-color: var(--rule-dark) }
.figure:first-child { border-left: 0; padding-left: 0 }
.figure .n { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1; font-weight: 500; white-space: nowrap }
.band--night .figure .n { color: var(--on-night) }
.figure .l { margin-top: 9px; font-size: 0.88rem; line-height: 1.45; color: var(--ink-mute) }
.band--night .figure .l { color: var(--on-night-mute) }
@media (max-width: 880px) {
  .figures { grid-template-columns: repeat(2, 1fr); row-gap: 26px }
  .figure:nth-child(3) { border-left: 0; padding-left: 0 }
}
@media (max-width: 470px) {
  .figures { grid-template-columns: 1fr }
  .figure { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-light); padding-top: 20px }
  .figure:first-child { border-top: 0; padding-top: 26px }
}
.note { margin-top: 22px; font-size: 0.82rem; font-style: italic; color: var(--ink-mute) }
.band--night .note { color: var(--on-night-mute) }

/* --- Spalten --- */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.6vw, 52px); margin-top: clamp(34px, 4.4vw, 58px) }
.cols--2 { grid-template-columns: repeat(2, 1fr) }
.col { min-width: 0; border-top: 1px solid var(--gold); padding-top: 24px }
.band--night .col { border-top-color: var(--gold-light) }
.col h3 { font-size: clamp(1.22rem, 1.9vw, 1.5rem); font-weight: 600; line-height: 1.22; margin-bottom: 11px }
.col p { color: var(--ink-soft); font-size: 0.98rem }
.band--night .col h3 { color: var(--on-night) }
.band--night .col p { color: var(--on-night-soft) }
@media (max-width: 820px) { .cols, .cols--2 { grid-template-columns: 1fr } }

/* --- Teaser-Karten --- */
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); margin-top: clamp(34px, 4.4vw, 58px) }
.teaser {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--ivory-warm);
  border-top: 2px solid var(--gold);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.teaser:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(11,22,40,.1) }
.teaser h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.2 }
.teaser p { color: var(--ink-soft); font-size: 0.97rem }
.teaser .more { margin-top: auto; padding-top: 10px; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark) }
@media (max-width: 820px) { .teasers { grid-template-columns: 1fr } }

/* --- Prinzipien --- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(30px, 4vw, 52px); text-align: center }
.principle { padding: 6px clamp(12px, 2.2vw, 32px); border-left: 1px solid var(--rule-dark) }
.principle:first-child { border-left: 0 }
.principle h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.principle hr { width: 32px; height: 1px; background: #5E4E33; border: 0; margin: 0 auto 16px }
.principle p { color: var(--on-night-soft); font-size: 0.96rem }
@media (max-width: 820px) { .principles { grid-template-columns: 1fr; gap: 34px } .principle { border-left: 0 } }

.mark { display: block; margin-inline: auto; width: 30px }

/* --- Schritte --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.6vw, 50px); margin-top: clamp(34px, 4.4vw, 58px) }
.step { min-width: 0; border-top: 1px solid var(--gold); padding-top: 22px }
.step .num { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--gold-dark); display: block; margin-bottom: 12px }
.step h3 { font-size: clamp(1.18rem, 1.8vw, 1.45rem); font-weight: 600; line-height: 1.22; margin-bottom: 9px }
.step p { color: var(--ink-soft); font-size: 0.97rem }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr } }

.terms {
  margin-top: clamp(30px, 3.6vw, 48px);
  border-top: 1px solid var(--rule-light);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.terms b { font-weight: 500; color: var(--ink) }

/* --- Gründer --- */
.founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(30px, 4vw, 52px) }
.founder img { width: 100%; display: block; filter: grayscale(100%) contrast(1.04) }
.founder blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.38; color: var(--ink) }
.founder .by { margin-top: 18px; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark) }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr } }

/* --- Verteilung --- */
.split { margin-top: clamp(30px, 4vw, 50px) }
.split .bar { display: flex; gap: 3px; height: 46px }
.split .bar div { display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 500 }
.split .legend { display: flex; gap: 3px; margin-top: 10px }
.split .legend div { font-size: 0.84rem; line-height: 1.4; color: var(--ink-soft); padding-right: 12px }
@media (max-width: 700px) {
  .split .bar { flex-direction: column; height: auto }
  .split .bar div { height: 34px; justify-content: flex-start; padding-left: 12px }
  .split .legend { flex-direction: column; gap: 6px }
  .split .legend div { padding-right: 0 }
}

/* --- Zitat --- */
.quote { font-family: var(--display); font-style: italic; font-size: clamp(1.35rem, 2.7vw, 2rem); line-height: 1.32; text-align: center; max-width: 25ch; margin-inline: auto }
.band--night .quote { color: var(--on-night) }
.quote-by { margin-top: 18px; text-align: center; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark) }
.band--night .quote-by { color: var(--gold-light) }

/* --- Kontakt --- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4.5vw, 70px); align-items: start; margin-top: clamp(28px, 3.6vw, 46px) }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr } }
.contact-list { display: flex; flex-direction: column; gap: 20px }
.contact-item { border-top: 1px solid var(--rule-dark); padding-top: 15px; min-width: 0 }
.contact-item .k { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-night-mute); margin-bottom: 7px }
.contact-item .v { font-size: 1.02rem; color: var(--on-night); overflow-wrap: anywhere }
.copy {
  margin-top: 11px;
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--on-night-soft);
  background: transparent;
  border: 1px solid var(--rule-dark);
  padding: 8px 15px;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.copy:hover { color: var(--gold-light); border-color: var(--gold-light) }

/* --- Fußzeile --- */
.site-footer { background: var(--night-deep); color: var(--on-night-mute) }
.site-footer > .wrap { padding-block: 30px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule-dark); font-size: 0.82rem }
.site-footer a { color: var(--on-night-mute); text-decoration: none; border-bottom: 1px solid transparent }
.site-footer a:hover { color: var(--gold-light); border-bottom-color: var(--gold-light) }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap }

/* --- Rechtstexte --- */
.legal { max-width: 760px }
.legal h2 { font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.28; margin: 40px 0 11px }
.legal h3 { font-family: var(--body); font-weight: 500; font-size: 1rem; margin: 24px 0 7px }
.legal p { margin-bottom: 13px; color: var(--ink-soft) }
.legal ul { margin: 0 0 13px; padding-left: 20px; color: var(--ink-soft) }
.legal li { margin-bottom: 5px }
.legal address { font-style: normal; color: var(--ink-soft); margin-bottom: 13px }
.legal .stand { font-size: 0.88rem; color: var(--ink-mute); margin-bottom: 8px }
.todo { background: var(--ivory-warm); border-left: 2px solid var(--gold); padding: 13px 17px; font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 13px }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { transition: none !important; animation: none !important }
}
