/* © 2026 Dennis Andres */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/public/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/public/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('/public/fonts/poppins-800.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --bg: #EEEFF1;
  --surface: #FFFFFF;
  --line: #C3C8CE;
  --line-soft: #E1E4E8;
  --line-strong: #9AA2AB;
  --ink: #15191D;
  --ink-2: #2C333A;
  --muted: #58616A;
  --band: #1B211D;
  --band-line: #333B35;
  --band-control: #4A544C;
  --band-ink: #D8DCD5;
  --band-muted: #8E978B;
  --olive: #4B5B2F;
  --olive-hover: #3C4926;
  --tan: #C9A86A;
  --tan-line: #B08F52;
  --tan-ink: #2A2213;
  --ok: #2F6B34;
  --warn: #8A5300;
  --bad: #A12B2B;
  --focus: #2E6BD6;
  --font: 'Poppins', system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: 16px;
  --section-space: 48px;
  --radius-panel: 12px;
  --radius-control: 8px;
  --radius-chip: 5px;
  --ease: 150ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { flex: 1; }
a { color: var(--olive); text-underline-offset: 3px; transition: color var(--ease), background-color var(--ease), border-color var(--ease); }
a:hover { color: var(--olive-hover); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--surface); color: var(--ink); border-radius: var(--radius-control); font-weight: 600; }
.skip-link:focus { top: 12px; }

.site-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.site-bar { background: var(--band); border-bottom: 1px solid var(--band-line); }
.site-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 17px; line-height: 1; }
.site-brand:hover { color: #fff; }
.site-brand-star { flex: none; width: 28px; height: 28px; color: var(--tan); }
.site-brand-name { font-weight: 800; }
.site-brand-sub { display: none; color: var(--band-muted); }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav-link { padding: 8px 9px; border-bottom: 2px solid transparent; color: var(--band-ink); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav-link:hover { color: #fff; }
.site-nav-link[aria-current="page"] { color: #fff; border-bottom-color: var(--tan); }
.site-nav-home { display: none; }
.site-nav-cta { margin-left: 6px; padding: 7px 12px; border: 1px solid var(--band-control); border-radius: var(--radius-control); }
.site-nav-cta:hover { border-color: var(--tan); }

.site-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius-control); font-size: 15.5px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.site-btn-tan { background: var(--tan); border-color: var(--tan-line); color: var(--tan-ink); }
.site-btn-tan:hover { background: #D6B87E; color: var(--tan-ink); }
.site-btn-ghost { border-color: var(--band-control); color: #fff; }
.site-btn-ghost:hover { border-color: var(--band-ink); color: #fff; }
.site-btn-olive { background: var(--olive); color: #fff; }
.site-btn-olive:hover { background: var(--olive-hover); color: #fff; }
.site-btn:active { transform: translateY(1px); }

.hero { background: var(--band); color: var(--band-ink); padding: 32px 0 56px; }
.hero-inner { display: grid; gap: 28px; }
.hero-seal { justify-self: center; width: min(62vw, 220px); }
.seal { display: block; width: 100%; height: auto; }
.seal-ring { fill: none; stroke: var(--tan); stroke-width: 2; }
.seal-ring-inner { stroke-width: 1; stroke-opacity: .45; }
.seal-lettering { fill: var(--tan); font: 600 12px var(--font); }
.seal-star { fill: var(--tan); }
.seal-mark { fill: var(--tan-ink); font: 800 19px var(--font); letter-spacing: .5px; }
.hero-title { color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.6px; line-height: 1.08; overflow-wrap: anywhere; }
.hero-tagline { margin-top: 12px; color: var(--tan); font-size: 18px; font-weight: 600; }
.hero-intro { max-width: 56ch; margin-top: 16px; font-size: 16.5px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.section { padding: var(--section-space) 0; }
.section-light { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-title { font-size: 26px; font-weight: 800; letter-spacing: -.4px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section-sub { max-width: 60ch; color: var(--muted); }
.section-link { font-weight: 600; white-space: nowrap; }

.split { display: grid; gap: 16px; }
.contact { display: grid; gap: 20px; justify-items: start; }
.prose { max-width: 68ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose > * + * { margin-top: 14px; }
.prose p > strong:first-child { display: block; margin-top: 10px; color: var(--ink); font-size: 18px; font-weight: 600; }
.prose p > strong:first-child + br { display: none; }
.prose ul { margin-top: 8px; padding: 0; list-style: none; }
.prose li { position: relative; padding: 5px 0 5px 22px; }
.prose li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; background: var(--tan); transform: rotate(45deg); }
.prose strong { font-weight: 600; }
.prose a { font-weight: 600; }

.tiers { display: grid; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.tier { display: grid; align-content: start; gap: 14px; padding: 20px; background: var(--bg); border: 1px solid var(--line-soft); border-top: 4px solid var(--line-strong); border-radius: var(--radius-panel); }
.tier-command { border-top-color: var(--olive); }
.tier-mid { border-top-color: var(--tan); }
.tier-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.tier-name { font-size: 19px; font-weight: 800; }
.tier-count { color: var(--muted); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tier-ranks { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.tier-ranks li { display: flex; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); counter-increment: rank; }
.tier-ranks li:first-child { border-top: 0; }
.tier-ranks li::before { content: counter(rank); min-width: 18px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.9; font-variant-numeric: tabular-nums; }
.tier-empty { color: var(--muted); }

.people { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.people-lead .person { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.callsign { flex: none; display: inline-grid; place-items: center; min-width: 42px; height: 30px; padding: 0 7px; border: 1px solid var(--tan-line); border-radius: var(--radius-chip); background: var(--tan); color: var(--tan-ink); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.person-text { display: grid; min-width: 0; }
.person-name { font-weight: 600; overflow-wrap: anywhere; }
.person-rank { color: var(--muted); font-size: 14px; }
.people-cards { gap: 12px; }
.person-card { display: grid; align-content: start; gap: 12px; min-width: 0; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line-soft); border-left: 3px solid var(--tan); border-radius: 10px; }
.person-bio { padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.person-bio > * + * { margin-top: 10px; }
.person-bio strong { color: var(--ink); font-weight: 600; }
.person-bio ul { margin: 0; padding-left: 18px; }
.person-bio blockquote { margin: 0; padding-left: 12px; border-left: 3px solid var(--line); }
.person-bio a { font-weight: 600; }
.section-follow { padding-top: 0; }

.join { display: grid; gap: 24px; align-items: start; }
.join-text { display: grid; gap: 16px; justify-items: start; }
.join-status { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--bg); border: 1px solid var(--line-soft); border-left: 4px solid var(--line-strong); border-radius: var(--radius-panel); }
.join-offen { border-left-color: var(--ok); }
.join-voll { border-left-color: var(--warn); }
.join-geschlossen { border-left-color: var(--bad); }
.join-emoji { font-size: 26px; line-height: 1.2; }
.join-label { font-size: 18px; font-weight: 800; }
.join-hint { margin-top: 4px; color: var(--muted); }

.page-band { padding: 36px 0 40px; background: var(--band); color: var(--band-ink); }
.page-title { color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.6px; }
.page-lead { max-width: 60ch; margin-top: 10px; }

.roster { padding-top: 36px; padding-bottom: 56px; }
.roster-tier + .roster-tier { margin-top: 40px; }
.roster-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.roster-title { font-size: 23px; font-weight: 800; letter-spacing: -.3px; }
.roster-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.roster-rank { display: grid; gap: 12px; padding: 18px 16px; }
.roster-rank + .roster-rank { border-top: 1px solid var(--line-soft); }
.roster-rank-name { color: var(--ink-2); font-size: 15px; font-weight: 600; }
.roster-vacant { color: var(--muted); font-size: 15px; }
.people-rank { gap: 12px 24px; }
.roster-more { display: grid; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-weight: 600; }
.roster-more li { display: flex; align-items: center; gap: 12px; }
.roster-more li::before { content: ''; flex: none; width: 8px; height: 8px; background: var(--tan); transform: rotate(45deg); }
.roster-join { margin-top: 28px; color: var(--muted); }
.roster-join a { font-weight: 600; }

.site-foot { background: var(--band); color: var(--band-muted); font-size: 14px; }
.site-foot-inner { display: grid; gap: 8px; padding-top: 28px; padding-bottom: 28px; }
.site-foot-brand { color: var(--band-ink); font-weight: 600; }
.site-foot-brand span { color: var(--tan); }
.site-foot-text { font-size: 12.5px; }
.site-foot-link { justify-self: start; margin-top: 6px; font-size: 13px; }
.site-foot-link { color: var(--band-ink); font-weight: 600; }
.site-foot-link:hover { color: #fff; }

@media (min-width: 520px) {
  .site-nav-home { display: inline; }
  .site-nav-link { padding: 8px 12px; }
  .people-rank { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .people-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

@media (min-width: 760px) {
  :root { --gutter: 32px; --section-space: 72px; }
  .hero { padding: 56px 0 80px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
  .hero-seal { order: 2; width: 260px; }
  .hero-title { font-size: 48px; }
  .hero-tagline { font-size: 20px; }
  .section-title { font-size: 30px; }
  .site-brand-sub { display: inline; }
  .split { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
  .tiers { margin-top: 48px; }
  .people-lead { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .join { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; }
  .page-band { padding: 52px 0 56px; }
  .page-title { font-size: 44px; }
  .roster { padding-top: 48px; padding-bottom: 72px; }
  .roster-rank { grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 24px; padding: 20px 24px; }
  .roster-rank-name { padding-top: 4px; }
}

@media (min-width: 1000px) {
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-title { font-size: 56px; }
  .hero-seal { width: 300px; }
}

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