/* =====================================================================
   Segelkameradschaft Buchholz e.V. — Design System
   Elegant modern maritime: Ostsee-Navy · Messing-Gold · Segel-Weiß
   Display: Fraunces · Body: Figtree · Instrument: Space Mono
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #0a1e3f;
  --navy-800: #10294f;
  --navy-700: #17365f;
  --navy-600: #1f4370;

  --brass: #c6a15b;
  --brass-bright: #dcbd7e;
  --brass-deep: #a5823f;

  --paper: #f4f6fa;   /* cool sea-mist white */
  --white: #ffffff;
  --ink: #14243d;     /* text on light */
  --slate: #57687f;   /* muted text on light */
  --line: rgba(20, 36, 61, 0.12);
  --line-strong: rgba(20, 36, 61, 0.22);

  --on-navy: #e9eef6;
  --on-navy-dim: #a9b8ce;
  --line-navy: rgba(233, 238, 246, 0.16);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1180px;
  --wrap-narrow: 820px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 30, 63, 0.05), 0 6px 16px -8px rgba(10, 30, 63, 0.14);
  --shadow-md: 0 2px 4px rgba(10, 30, 63, 0.04), 0 14px 28px -14px rgba(10, 30, 63, 0.3), 0 34px 60px -30px rgba(10, 30, 63, 0.32);
  --shadow-lg: 0 4px 8px rgba(10, 30, 63, 0.06), 0 24px 50px -20px rgba(10, 30, 63, 0.4), 0 60px 110px -50px rgba(10, 30, 63, 0.55);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

/* ---------- Reset supplement ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--brass); color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--navy { background: radial-gradient(135% 130% at 12% 0%, #12294f 0%, #0a1e3f 58%); color: var(--on-navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }

/* Eyebrow / chart label (signature: instrument voice) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin: 0 0 1.2rem;
}
.section--navy .eyebrow { color: var(--brass-bright); }
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--center { justify-content: center; }

.rose {
  width: 1em; height: 1em;
  flex: none;
  color: var(--brass);
}

/* Section heading block */
.head { max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
.head p { margin-top: 1rem; color: var(--slate); font-size: 1.1rem; }
.section--navy .head p { color: var(--on-navy-dim); }

.lead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.6; color: var(--ink); }
.section--navy .lead { color: var(--on-navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brass); color: var(--navy-900); box-shadow: 0 10px 26px -12px rgba(198, 161, 91, 0.9); }
.btn--primary:hover { background: var(--brass-bright); }
.btn--ghost { border-color: rgba(233, 238, 246, 0.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--ink { border-color: var(--line-strong); color: var(--ink); }
.btn--ink:hover { border-color: var(--navy-900); background: var(--navy-900); color: var(--white); }
.btn .arw { transition: transform 0.25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* Text link with underline sweep */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brass-deep);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--brass), var(--brass));
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.35s var(--ease);
}
.link:hover { background-size: 100% 1.5px; }
.section--navy .link { color: var(--brass-bright); }

/* =====================================================================
   Header / Navigation
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 1300px; }

/* transparent over hero, solid after scroll or on interior pages */
.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(8, 20, 40, 0.72);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  box-shadow: 0 1px 0 rgba(198, 161, 91, 0.18), 0 16px 40px -24px rgba(4, 12, 26, 0.6);
}
.site-header.is-scrolled { height: 66px; }

.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--white); flex-shrink: 0; }
.brand img { width: 40px; height: auto; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.05; letter-spacing: -0.01em; white-space: nowrap; }
.brand__sub { display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-bright); margin-top: 2px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav a {
  position: relative;
  padding: 0.5rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(233, 238, 246, 0.82);
  border-radius: var(--radius);
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.65rem; right: 0.65rem; bottom: 0.3rem;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { margin-left: 0.4rem; }
.nav__cta.btn { padding: 0.6rem 1rem; font-size: 0.86rem; }

/* Burger */
.burger {
  display: none;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(233, 238, 246, 0.35);
  border-radius: var(--radius);
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1.6px;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger span::before { transform: translate(-50%, -6px); }
.burger span::after { transform: translate(-50%, 6px); }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translate(-50%, 0) rotate(45deg); }
body.nav-open .burger span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 360px);
  background: var(--navy-900);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  padding: calc(var(--header-h) + 1.5rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow-lg);
}
body.nav-open .nav-drawer { transform: translateX(0); }
.nav-drawer a {
  color: var(--on-navy);
  font-family: var(--font-display);
  font-size: 1.35rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-navy);
}
.nav-drawer a[aria-current="page"] { color: var(--brass-bright); }
.nav-drawer .btn { margin-top: 1.4rem; justify-content: center; }
.nav-scrim {
  position: fixed; inset: 0;
  background: rgba(4, 12, 26, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  z-index: 98;
}
body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

/* =====================================================================
   Hero (home) & page-hero (interior)
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__media, .page-hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img, .page-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 24s ease-out forwards;
}
@keyframes kenburns { to { transform: scale(1); } }
.hero__media::after, .page-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,18,38,0.55) 0%, rgba(6,18,38,0.05) 30%, rgba(6,18,38,0.25) 62%, rgba(6,18,38,0.9) 100%),
    linear-gradient(90deg, rgba(6,18,38,0.6) 0%, rgba(6,18,38,0.0) 55%);
}
.hero__inner {
  position: relative; z-index: 1;
  padding-bottom: clamp(3.5rem, 8vh, 7rem);
  padding-top: calc(var(--header-h) + 2rem);
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-bright);
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(3rem, 7.2vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(4, 12, 26, 0.5);
}
.hero h1 em { font-style: italic; color: var(--brass-bright); }
.hero__sub {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(233, 238, 246, 0.92);
}
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(233, 238, 246, 0.7);
}
.scroll-cue span { width: 1px; height: 40px; background: linear-gradient(var(--brass), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(0.4); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

/* Page hero (interior, compact) */
.page-hero {
  position: relative;
  min-height: clamp(340px, 52vh, 520px);
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.page-hero--doc { min-height: auto; background: var(--navy-900); }
.page-hero__inner {
  position: relative; z-index: 1;
  width: 100%;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2.2rem, 5vh, 3.6rem);
}
.page-hero--doc .page-hero__inner { padding-bottom: clamp(1.6rem, 4vh, 2.4rem); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 18ch; }
.page-hero__sub { margin-top: 1rem; max-width: 52ch; color: rgba(233, 238, 246, 0.9); font-size: 1.1rem; }

/* =====================================================================
   Intro / prose
   ===================================================================== */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 2.2rem 0 0.8rem; }
.prose h3 { font-size: 1.3rem; margin: 1.8rem 0 0.6rem; font-family: var(--font-body); font-weight: 700; }
.prose p { color: var(--ink); }
.prose ul { padding-left: 1.1rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--brass-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: var(--brass); }

/* Split intro: lead + supporting */
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.intro-grid__aside { position: sticky; top: calc(var(--header-h) + 2rem); }

/* =====================================================================
   Cards / grids
   ===================================================================== */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Fleet / feature card */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card__kicker { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 0.5rem; }
.card__body h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card__body p { color: var(--slate); font-size: 0.98rem; }
.card__foot { margin-top: auto; padding-top: 1.1rem; }

/* =====================================================================
   Stats band
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.stat { text-align: center; position: relative; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.2rem); color: var(--brass-bright); line-height: 1; letter-spacing: -0.02em; }
.stat__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-dim); margin-top: 0.7rem; }

/* =====================================================================
   Feature rows (alternating image / text)
   ===================================================================== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature + .feature { margin-top: clamp(3.5rem, 7vw, 6rem); }
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.feature__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 0.9s var(--ease); }
.feature__media:hover img { transform: scale(1.04); }
.feature__badge {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(9, 25, 51, 0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--on-navy);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.5rem 0.85rem; border-radius: var(--radius);
}
.feature__body h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.feature__body p { color: var(--slate); margin-top: 1rem; }
.section--navy .feature__body p { color: var(--on-navy-dim); }

/* =====================================================================
   Timeline (Geschichte) — a real chronological sequence
   ===================================================================== */
.timeline { position: relative; margin-top: 2rem; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--brass), rgba(198,161,91,0.15));
}
.tl-item { position: relative; padding: 0 0 2.6rem 2.4rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -5px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 4px var(--paper);
}
.section--navy .tl-item::before { box-shadow: 0 0 0 4px var(--navy-900); }
.tl-year { font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; color: var(--brass-deep); }
.section--navy .tl-year { color: var(--brass-bright); }
.tl-item h3 { font-size: 1.35rem; margin: 0.25rem 0 0.5rem; }
.tl-item p { color: var(--slate); font-size: 0.98rem; }
.section--navy .tl-item p { color: var(--on-navy-dim); }

/* =====================================================================
   Spec sheet (vessel data — instrument voice) + Brise signature card
   ===================================================================== */
.spec { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; border-top: 1px solid var(--line); }
.section--navy .spec { border-color: var(--line-navy); }
.spec li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.section--navy .spec li { border-color: var(--line-navy); }
.spec dt, .spec .k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.section--navy .spec .k { color: var(--on-navy-dim); }
.spec .v { font-weight: 600; color: var(--ink); }
.section--navy .spec .v { color: var(--white); }

.spec-card {
  position: relative;
  background:
    radial-gradient(120% 120% at 100% 0%, var(--navy-700), var(--navy-900) 60%);
  color: var(--on-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  aspect-ratio: 5 / 4;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.spec-card__rose {
  position: absolute; right: -40px; top: -40px;
  width: 240px; height: 240px; color: rgba(198,161,91,0.14);
}
.spec-card .card__kicker { color: var(--brass-bright); }
.spec-card h3 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.spec-card .spec { border-color: var(--line-navy); }
.spec-card .spec li { border-color: var(--line-navy); }
.spec-card .spec .k { color: var(--on-navy-dim); }
.spec-card .spec .v { color: #fff; }

/* =====================================================================
   Gallery + Lightbox
   ===================================================================== */
.gallery { columns: 3; column-gap: 1rem; }

.album-links { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 2.5rem; text-align: left; }
.album-links li { break-inside: avoid; margin-bottom: 0.7rem; }
.album-links .link { font-size: 0.92rem; }
@media (max-width: 960px) { .album-links { columns: 2; } }
@media (max-width: 620px) { .album-links { columns: 1; } }

.gallery button {
  display: block; width: 100%; padding: 0; margin: 0 0 1rem;
  border: none; background: none; border-radius: var(--radius-lg); overflow: hidden;
  position: relative; break-inside: avoid;
}
.gallery img { width: 100%; height: auto; transition: transform 0.6s var(--ease), filter 0.4s var(--ease); }
.gallery button::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9,25,51,0.5));
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.gallery button:hover img { transform: scale(1.05); }
.gallery button:hover::after { opacity: 1; }
.gallery figcaption {
  position: absolute; left: 0.9rem; bottom: 0.7rem; z-index: 1;
  color: #fff; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em;
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.gallery button:hover figcaption { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 13, 27, 0.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  padding: 4vmin;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.4rem; transition: background 0.2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__close { top: 3vmin; right: 3vmin; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 3vmin; }
.lightbox__nav--next { right: 3vmin; }
.lightbox__cap { position: absolute; bottom: 3vmin; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.8); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; }

/* =====================================================================
   Board (Vorstand) / people
   ===================================================================== */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.person {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.person__role { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-deep); }
.person__name { font-family: var(--font-display); font-size: 1.4rem; margin-top: 0.4rem; }
.person__mono { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: var(--brass-bright); font-family: var(--font-mono); font-weight: 700; margin-bottom: 1rem; }

/* Sponsors */
.sponsors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sponsor {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 120px; padding: 1.4rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  font-family: var(--font-display); font-size: 1.15rem; color: var(--ink);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.sponsor:hover { border-color: var(--brass); color: var(--brass-deep); transform: translateY(-3px); }

/* Memorial */
.memorial { background: var(--navy-900); color: var(--on-navy); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem); text-align: center; }
.memorial__names {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--white);
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.memorial__names span { white-space: nowrap; }
.memorial__cross { display: inline-block; margin-right: 0.55em; color: var(--brass); font-size: 0.8em; }

/* =====================================================================
   Voyage list (Törns)
   ===================================================================== */
.voyages { border-top: 1px solid var(--line); }
.voyage {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 1.5rem; align-items: baseline;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.voyage__year { font-family: var(--font-mono); font-weight: 700; font-size: 1.4rem; color: var(--brass-deep); }
.voyage__title { font-family: var(--font-display); font-size: 1.4rem; }
.voyage__meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }

/* =====================================================================
   Callout / CTA band with image
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; color: var(--white); }
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,42,0.92) 0%, rgba(7,20,42,0.72) 45%, rgba(7,20,42,0.4) 100%); }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 18ch; }
.cta-band p { margin-top: 1rem; max-width: 44ch; color: rgba(233,238,246,0.9); }

/* Seenotretter mini-band */
.rescue { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; }
.rescue__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.rescue__img img { aspect-ratio: 3/2; object-fit: cover; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-list .k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); display: block; margin-bottom: 0.3rem; }
.info-list .v { font-size: 1.08rem; font-weight: 500; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); grid-column: 1 / -1; }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 0.8rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); color: var(--ink); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(198,161,91,0.18); }
.field textarea { resize: vertical; min-height: 130px; }
.social { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.5rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); transition: all 0.25s var(--ease); }
.social a:hover { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); transform: translateY(-3px); }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: #071730; color: var(--on-navy-dim); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-navy); }
.footer-brand { display: flex; gap: 0.8rem; align-items: flex-start; }
.footer-brand img { width: 48px; }
.footer-brand .brand__name { color: var(--white); font-size: 1.25rem; }
.site-footer h4 { color: var(--white); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-links a { color: var(--on-navy-dim); transition: color 0.2s var(--ease); font-size: 0.95rem; }
.footer-links a:hover { color: var(--brass-bright); }
.footer-coords { font-family: var(--font-mono); font-size: 0.82rem; color: var(--on-navy-dim); margin-top: 1rem; line-height: 1.8; }
.footer-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.6rem 0 2.4rem; font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.04em; }
.footer-bar a:hover { color: var(--brass-bright); }

/* =====================================================================
   Divider with compass rose
   ===================================================================== */
.rose-divider { display: flex; align-items: center; gap: 1.2rem; color: var(--line-strong); }
.rose-divider::before, .rose-divider::after { content: ""; height: 1px; background: currentColor; flex: 1; }
.rose-divider svg { width: 26px; height: 26px; color: var(--brass); flex: none; }
.section--navy .rose-divider { color: var(--line-navy); }

/* =====================================================================
   Reveal on scroll
   ===================================================================== */
/* Reveal-Animation ist ein reines JS-Extra: Ohne die Klasse "js-anim"
   (die main.js sofort beim Start setzt) bleiben alle .reveal-Elemente
   normal sichtbar. Nur wenn JavaScript wirklich läuft, wird zuerst
   ausgeblendet und dann per IntersectionObserver eingeblendet. So
   zeigt die Seite immer ihren vollständigen Inhalt, auch falls
   JavaScript im Browser mal nicht ausgeführt wird. */
html.js-anim .reveal { opacity: 0; transform: translateY(30px); filter: blur(4px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
html.js-anim .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* =====================================================================
   Responsive
   ===================================================================== */
/* Nav klappt schon vor dem großen Breakpoint ins Burger-Menü, damit die
   Markenzeile ("Segelkameradschaft Buchholz e.V.") nie gequetscht wird. */
@media (max-width: 1220px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-grid__aside { position: static; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .sponsors { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .rescue { grid-template-columns: 1fr; }
  .rescue__img { max-width: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .site-header .wrap { gap: 0.6rem; }
  .brand__sub { display: none; }
  .brand__name { font-size: 0.92rem; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .sponsors { grid-template-columns: 1fr 1fr; }
  .spec { grid-template-columns: 1fr; }
  .voyage { grid-template-columns: 64px 1fr; }
  .voyage__meta { grid-column: 2; }
  .gallery { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
}

/* =====================================================================
   PREMIUM LAYER — Tiefe · Kohäsion · Choreografie
   ===================================================================== */

/* Foto-Kohäsion: dezente, einheitliche Graduierung + Tonung */
.card__media img, .feature__media img, .rescue__img img { filter: saturate(1.05) contrast(1.05); }
.gallery img { filter: saturate(1.04) contrast(1.03); }
.feature__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(158deg, rgba(10,30,63,0) 52%, rgba(10,30,63,0.18));
}
.feature__badge { z-index: 2; }

/* Film-Grain für Tiefe (nur über Fotos & dunklen Flächen) */
.hero__media::before, .page-hero__media::before, .cta-band__media::before, .section--navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  opacity: 0.05;
  mix-blend-mode: overlay;
}
.hero__media::before, .page-hero__media::before, .cta-band__media::before { z-index: 1; }
.section--navy::before { z-index: 0; }
.section--navy > .wrap { position: relative; z-index: 1; }

/* Clip-Path-Enthüllung der großen Feature-Bilder */
/* Wie bei .reveal: die Verberg-Animation ist reines JS-Extra. Ohne
   "js-anim" (siehe main.js) bleiben Schiffsfotos immer normal sichtbar. */
html.js-anim .media-reveal { clip-path: inset(0 0 100% 0); }
html.js-anim .media-reveal img { transform: scale(1.14); }
html.js-anim .media-reveal.is-shown { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease); }
html.js-anim .media-reveal.is-shown img { transform: scale(1); transition: transform 1.5s var(--ease); }

/* Orchestrierter Hero-Einstieg (ohne JS, per Page-Load) */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero__eyebrow, .page-hero .hero__eyebrow { animation: riseIn 0.9s var(--ease) 0.15s both; }
.hero h1, .page-hero h1 { animation: riseIn 1s var(--ease) 0.3s both; }
.hero__sub, .page-hero__sub { animation: riseIn 0.9s var(--ease) 0.46s both; }
.hero__actions { animation: riseIn 0.9s var(--ease) 0.6s both; }
.scroll-cue { animation: riseIn 1s var(--ease) 0.9s both; }

/* Button-Glanz (Sheen-Sweep) */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,0.5) 50%, transparent 64%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease);
}
.btn--primary:hover::before { transform: translateX(130%); }

/* Editoriale Drop-Cap für Lead-Absätze */
.lead--drop::first-letter {
  font-family: var(--font-display); font-weight: 600;
  font-size: 3.4em; line-height: 0.72;
  float: left; margin: 0.06em 0.14em 0 0; color: var(--brass-deep);
}

/* Scroll-Fortschritt (per JS eingefügt) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--brass-deep), var(--brass-bright));
  z-index: 101;
}

/* Hero-Content-Parallax (per JS gesetzt) */
.hero__inner { will-change: transform, opacity; }

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero__media img, .page-hero__media img { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .media-reveal { clip-path: none !important; }
  .media-reveal img { transform: none !important; }
  .btn--primary::before { display: none; }
  .scroll-progress { display: none; }
  .hero__inner { transform: none !important; opacity: 1 !important; }
}
