/* ==========================================================================
   BDJ — Bund Deutscher Juweliere
   Design system & layout
   ========================================================================== */

/* Fonts ------------------------------------------------------------------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Mrs Saint Delafield"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/mrs-saint-delafield-latin-400-normal.woff2") format("woff2"); }

/* Tokens ------------------------------------------------------------------ */
:root {
  /* Brand */
  --navy: #002D60;
  --navy-900: #001D40;
  --gold: #C3B59A;
  --gold-600: #A8987A;

  /* Neutrals (warm, travertine) */
  --paper: #F7F5F0;
  --stone: #EEEAE2;
  --ink: #0F1D30;
  --muted: #5E6776;
  --line: rgba(0, 45, 96, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);

  /* Type */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.125rem, 1.35rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 1.6vw, 2.75rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-meta: 0.8125rem;

  /* Layout */
  --maxw: 1280px;
  --pad: clamp(20px, 4.4vw, 56px);
  --gap: clamp(16px, 2.2vw, 32px);
  --section: clamp(96px, 11vw, 168px);
  --header-h: 104px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1023px) { :root { --header-h: 82px; } }

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--navy); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 200; padding: 12px 18px; background: var(--navy); color: #fff; font-size: var(--fs-small); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Typography -------------------------------------------------------------- */
.h1, .h2 { font-weight: 300; color: inherit; text-wrap: balance; }
.h1 { font-size: var(--fs-h1); line-height: 1.14; letter-spacing: -0.022em; }
.h2 { font-size: var(--fs-h2); line-height: 1.18; letter-spacing: -0.018em; }
.h2 .soft { color: var(--muted); }
.h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.4; letter-spacing: -0.008em; }
.lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.65; }
.text { font-size: var(--fs-body); line-height: 1.75; color: var(--muted); }
.meta { font-size: var(--fs-meta); line-height: 1.5; color: var(--muted); letter-spacing: 0.01em; }

/* Lines split by SplitText keep room for descenders (g, j, y, ß) */
.line-mask { padding-bottom: 0.14em; margin-bottom: -0.14em; }

/* Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--maxw) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(48px, 5vw, 72px); }
.section-head .h2 { max-width: 760px; }

/* Links & buttons --------------------------------------------------------- */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.005em;
  color: var(--navy);
  white-space: nowrap;
  padding-bottom: 6px;
}
.link::before, .link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.link::before { opacity: 0.22; }
.link::after { transform: scaleX(0); transform-origin: right center; transition: transform 0.7s var(--ease-out); }
.link:hover::after { transform: scaleX(1); transform-origin: left center; }
.link .arrow { transition: transform 0.6s var(--ease-out); }
.link:hover .arrow { transform: translateX(4px); }
.link--light { color: #fff; }

.arrow { width: 14px; height: 10px; flex: none; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 54px;
  padding: 0 30px;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid currentColor;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform 0.6s var(--ease-out);
}
.btn:hover::before { transform: scaleY(1); }
.btn .arrow { transition: transform 0.6s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--navy { color: #fff; background: var(--navy); border-color: var(--navy); }
.btn--navy::before { background: var(--navy-900); }

.btn--outline { color: var(--navy); }
.btn--outline::before { background: var(--navy); }
.btn--outline:hover { color: #fff; }

.btn--light { color: #fff; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--navy); border-color: #fff; }

.btn--gold { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.btn--gold::before { background: #fff; }
.btn--gold:hover { border-color: #fff; }

/* Brand: symbol + typeset name (the full logo is not approved yet) ------- */
.brand { display: inline-flex; align-items: center; gap: 14px; color: inherit; }
.brand__mark { width: 34px; height: 34px; flex: none; fill: var(--gold); overflow: visible; transition: transform 0.9s var(--ease-out); }
a:hover > .brand .brand__mark { transform: rotate(90deg); }
.brand__name { font-size: 0.9375rem; font-weight: 500; line-height: 1.15; letter-spacing: 0.01em; white-space: nowrap; transition: color 0.5s var(--ease); }

/* Intro ------------------------------------------------------------------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: var(--navy);
  pointer-events: none;
}
.intro__mark { width: clamp(56px, 6vw, 80px); height: auto; overflow: visible; }
.intro__mark use { fill: var(--gold); }
.js-ready .intro { visibility: visible; }
.no-intro .intro { display: none; }

/* Header ------------------------------------------------------------------ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: color 0.5s var(--ease), background-color 0.5s var(--ease), transform 0.7s var(--ease-out);
}
.header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line-light);
  transition: background-color 0.5s var(--ease);
}
.header.is-solid { color: var(--navy); background: var(--paper); }
.header.is-solid::after { background: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header.menu-open { color: #fff; background: transparent; transform: none; }
.header.menu-open::after { background: var(--line-light); }

.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.header__logo { display: block; flex: none; }
@media (max-width: 1023px) {
  .header__logo .brand { gap: 12px; }
  .header__logo .brand__mark { width: 28px; height: 28px; }
  .header__logo .brand__name { font-size: 0.875rem; }
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 36px); }
.nav__link {
  position: relative;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.5;
  padding-block: 6px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.6s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }

.header__actions { display: flex; align-items: center; gap: 28px; }
.lang { display: flex; align-items: center; gap: 10px; font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.04em; line-height: 1.5; }
.lang a { opacity: 0.55; transition: opacity 0.4s var(--ease); }
.lang a[aria-current="true"], .lang a:hover { opacity: 1; }
.lang span { width: 1px; height: 12px; background: currentColor; opacity: 0.35; }

.header .btn { height: 44px; padding: 0 22px; }
.header .btn--header { color: inherit; }
.header .btn--header::before { background: currentColor; }
.header:not(.is-solid) .btn--header:hover { color: var(--navy); }
.header.is-solid .btn--header:hover { color: #fff; }
.header.is-solid .btn--header::before { background: var(--navy); }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform 0.6s var(--ease-out), opacity 0.4s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav, .header__actions .btn, .header__actions .lang { display: none; }
  .burger { display: block; }
}

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 32px;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
}
.menu__list { display: flex; flex-direction: column; }
.menu__item { border-bottom: 1px solid var(--line-light); overflow: hidden; }
.menu__link { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem); font-weight: 300; line-height: 1.3; letter-spacing: -0.015em; }
.menu__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.menu .lang a { opacity: 0.6; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: #fff; }
.hero__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--navy);
  clip-path: inset(0px 0px 0px 0px);
  will-change: clip-path;
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__tint { position: absolute; inset: 0; background: rgba(0, 29, 64, 0.42); }
.hero__shade { position: absolute; inset: 0; background: var(--navy-900); opacity: 0; }

.hero__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(40px, 6vh, 72px);
}
.hero__grid { align-items: end; }
.hero__title { grid-column: 1 / span 8; grid-row: 1; max-width: 820px; }
.hero__body { grid-column: 1 / span 6; grid-row: 2; margin-top: 32px; }
.hero__body .lead { color: rgba(255, 255, 255, 0.82); max-width: 520px; }
.hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__aside { grid-column: 9 / span 4; grid-row: 2; align-self: end; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; text-align: right; }
.hero__claim { font-size: var(--fs-meta); line-height: 1.6; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.78); }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-size: var(--fs-meta); letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.78); }
.scroll-cue__line { position: relative; width: 1px; height: 48px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--gold); transform: translateY(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

@media (max-width: 1023px) {
  .hero__title, .hero__body { grid-column: 1 / -1; }
  .hero__aside { grid-column: 1 / -1; grid-row: 3; justify-self: start; align-items: flex-start; text-align: left; margin-top: 40px; }
  .scroll-cue { display: none; }
}

/* News -------------------------------------------------------------------- */
.news-grid { row-gap: 56px; }
.news-card { grid-column: span 4; display: flex; flex-direction: column; }
.news-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.4s var(--ease-out); }
.news-card:hover .news-card__media img { transform: scale(1.045); }
.news-card__body { padding-top: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.news-card__title span {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.8s var(--ease-out);
}
.news-card:hover .news-card__title span { background-size: 100% 1px; }
.news-card__meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }

@media (max-width: 1023px) { .news-card { grid-column: span 6; } .news-card:last-child { display: none; } }
@media (max-width: 680px) { .news-card { grid-column: 1 / -1; } .news-card:last-child { display: flex; } .news-card__media { aspect-ratio: 4 / 3.6; } }

/* About ------------------------------------------------------------------- */
.about__row { align-items: center; row-gap: 56px; }
.about__media { grid-column: 1 / span 6; }
.about__text { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 24px; }
.about__text .h2 { margin-bottom: 8px; }
.about__text .lead { color: var(--ink); }
.about__text .link { align-self: flex-start; margin-top: 16px; }

.frame { position: relative; overflow: hidden; background: var(--stone); }
.frame img { width: 100%; height: 118%; object-fit: cover; position: absolute; left: 0; top: -9%; }
.frame--portrait { aspect-ratio: 4 / 4.6; }
.frame--tall { aspect-ratio: 4 / 5.2; }

@media (max-width: 1023px) {
  .about__media, .about__text { grid-column: 1 / -1; }
}

/* Divider ----------------------------------------------------------------- */
.divider { display: flex; align-items: center; gap: 28px; padding-block: clamp(80px, 9vw, 136px); color: var(--gold-600); }
.divider__line { flex: 1; height: 1px; background: var(--line); transform-origin: right center; }
.divider__line:last-child { transform-origin: left center; }
.divider__star { width: 20px; height: auto; flex: none; fill: var(--gold); overflow: visible; }

/* Membership benefits ----------------------------------------------------- */
.benefits { align-items: center; row-gap: 64px; }
.benefits__content { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; }
.benefits__intro { margin-top: 24px; max-width: 480px; }
.benefits__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px var(--gap); margin-block: 56px; width: 100%; }
.benefit { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; border-top: 1px solid var(--line); }
.benefit__icon { color: var(--gold-600); margin-bottom: 10px; }
.benefits__media { grid-column: 8 / span 5; }

.icon { width: 18px; height: 18px; flex: none; }
.icon--lg { width: 34px; height: 34px; }
.icon--lg { stroke-width: 1.2; }

@media (max-width: 1023px) {
  .benefits__content, .benefits__media { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .benefits__list { grid-template-columns: 1fr; gap: 32px; }
}

/* Events ------------------------------------------------------------------ */
.events-grid { row-gap: 56px; }
.event-card { position: relative; grid-column: span 4; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: border-color 0.6s var(--ease); }
.event-card:hover { border-color: rgba(0, 45, 96, 0.32); }
.event-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.event-card:hover .event-card__media img { transform: scale(1.045); }
.event-card__date {
  position: absolute;
  left: 20px; top: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 68px; height: 74px;
  background: var(--navy);
  color: #fff;
}
.event-card__day { font-size: 1.75rem; font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
.event-card__month { font-size: 0.75rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.event-card__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 30px; }
.event-card__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.event-card__info { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.event-card__info li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); line-height: 1.5; color: var(--ink); }
.event-card__info .icon { color: var(--gold-600); }
.event-card__more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-small); font-weight: 500; line-height: 1.5; color: var(--navy); }
.event-card__more .arrow { transition: transform 0.6s var(--ease-out); }
.event-card:hover .event-card__more .arrow { transform: translateX(4px); }

@media (max-width: 1023px) { .event-card { grid-column: span 6; } .event-card:last-child { display: none; } }
@media (max-width: 680px) { .event-card { grid-column: 1 / -1; } .event-card:last-child { display: flex; } }

/* Membership band + form -------------------------------------------------- */
.band { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.band__media { position: absolute; inset: 0; overflow: hidden; }
.band__media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.band__media::after { content: ""; position: absolute; inset: 0; background: var(--navy-900); opacity: 0.74; }
.band__inner { position: relative; padding-block: clamp(112px, 12vw, 176px); }
.band__grid { align-items: center; row-gap: 56px; }
.band__content { grid-column: 1 / span 5; }
.band__content .lead { margin-top: 28px; color: rgba(255, 255, 255, 0.8); max-width: 480px; }
.band__points { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.band__points li { display: flex; align-items: center; gap: 14px; font-size: var(--fs-body); line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
.band__points .icon { color: var(--gold); }
.band__form { grid-column: 7 / span 6; }

.form { background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 56px); }
.form__title { margin-bottom: 32px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px var(--gap); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-meta); font-weight: 500; line-height: 1.5; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 45, 96, 0.28);
  border-radius: 0;
  padding: 8px 0 10px;
  outline: none;
  transition: border-color 0.4s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  cursor: pointer;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23002D60' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 12px 8px;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--navy); }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: #A1392B; }
.field__error { min-height: 0; font-size: var(--fs-meta); line-height: 1.4; color: #A1392B; }
.field__error:empty { display: none; }

.field--check { display: grid; grid-template-columns: 20px 1fr; column-gap: 14px; align-items: start; }
.field--check input {
  width: 20px; height: 20px; padding: 0; margin: 2px 0 0;
  border: 1px solid rgba(0, 45, 96, 0.4);
  cursor: pointer;
  display: grid; place-content: center;
}
.field--check input::after { content: ""; width: 10px; height: 6px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.25s var(--ease); }
.field--check input:checked { background: var(--navy); border-color: var(--navy); }
.field--check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.field--check label { font-size: var(--fs-meta); font-weight: 400; line-height: 1.6; color: var(--muted); }
.field--check label a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.field--check .field__error { grid-column: 2; }

.form__foot { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__status { max-width: 320px; }
.form__status.is-note { color: var(--navy); }

@media (max-width: 1023px) {
  .band__content, .band__form { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
}

/* Footer ------------------------------------------------------------------ */
.footer { background: var(--navy); color: #fff; }
.footer__top { padding-block: clamp(80px, 9vw, 128px) 64px; row-gap: 56px; }
.footer__brand { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 28px; }
.footer__brand .brand { gap: 18px; }
.footer__brand .brand__mark { width: 48px; height: 48px; }
.footer__brand .brand__name { font-size: 1.125rem; }
.footer__brand .text { color: rgba(255, 255, 255, 0.62); max-width: 320px; }
.footer__col { grid-column: span 2; }
.footer__col--1 { grid-column: 7 / span 2; }
.footer__col--2 { grid-column: 9 / span 2; }
.footer__col--3 { grid-column: 11 / span 2; }
.footer__label { font-size: var(--fs-small); font-weight: 500; line-height: 1.5; margin-bottom: 20px; color: #fff; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__links span { font-size: var(--fs-small); line-height: 1.6; color: rgba(255, 255, 255, 0.62); transition: color 0.4s var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--line-light); padding-block: 28px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.footer__bottom, .footer__bottom a { font-size: var(--fs-meta); line-height: 1.6; color: rgba(255, 255, 255, 0.5); }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; gap: 28px; }
.footer__note { color: rgba(195, 181, 154, 0.85); }

@media (max-width: 1023px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--1, .footer__col--2, .footer__col--3 { grid-column: span 4; }
}
@media (max-width: 600px) {
  .footer__col--1, .footer__col--2, .footer__col--3 { grid-column: span 6; }
}

/* Responsive heads -------------------------------------------------------- */
@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* Motion helpers ---------------------------------------------------------- */
.js [data-reveal] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; }
  .scroll-cue__line::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* JS states --------------------------------------------------------------- */
.no-js .intro { display: none; }
.js [data-hero-title], .js [data-split] { visibility: hidden; }
.event { cursor: pointer; }
.event__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .js [data-hero-title], .js [data-split] { visibility: visible; }
}

/* ==========================================================================
   Sub pages
   ========================================================================== */

/* Page hero ---------------------------------------------------------------- */
.hero--page { height: 50vh; height: 50svh; min-height: 260px; }
.hero--page .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--page .hero__content { padding-bottom: clamp(36px, 5.5vh, 64px); }
.hero--page .hero__body { margin-top: 24px; }

/* Breadcrumbs ------------------------------------------------------------- */
.crumbs ol, ol.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: 14px; font-size: var(--fs-meta); line-height: 1.5; letter-spacing: 0.02em; }
.crumbs a { transition: color 0.4s var(--ease), opacity 0.4s var(--ease); }
.crumbs__home { display: inline-flex; align-items: center; gap: 10px; }
.crumbs__star { width: 13px; height: 13px; fill: var(--gold); flex: none; overflow: visible; transition: transform 0.8s var(--ease-out); }
.crumbs__home:hover .crumbs__star { transform: rotate(90deg); }
.crumbs__sep { position: relative; width: 28px; height: 1px; background: currentColor; opacity: 0.35; overflow: hidden; }
.crumbs__sep::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-101%); }

.crumbs--hero { margin-bottom: clamp(28px, 4vh, 44px); color: #fff; }
.crumbs--hero a { color: rgba(255, 255, 255, 0.72); }
.crumbs--hero a:hover { color: #fff; }
.crumbs--hero [aria-current="page"] { color: #fff; font-weight: 500; }
.crumbs--hero .crumbs__sep::after { animation: crumb-sweep 2.6s 2.8s var(--ease) infinite; }
@keyframes crumb-sweep { 0% { transform: translateX(-101%); } 45%, 100% { transform: translateX(101%); } }

/* Context bar ------------------------------------------------------------- */
.ctxbar {
  position: fixed;
  left: 0; right: 0;
  top: var(--header-h);
  z-index: 95;
  height: 58px;
  background: rgba(247, 245, 240, 0.97);
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.7s var(--ease-out), opacity 0.4s var(--ease), visibility 0s linear 0.7s, top 0.7s var(--ease-out);
}
.ctxbar.is-visible { transform: none; opacity: 1; visibility: visible; transition: transform 0.7s var(--ease-out), opacity 0.4s var(--ease), visibility 0s, top 0.7s var(--ease-out); }
.header.is-hidden ~ .ctxbar { top: 0; }
.ctxbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.crumbs--bar li { color: var(--muted); }
.crumbs--bar a:hover { color: var(--navy); }
.crumbs--bar .crumbs__sep { width: 20px; }
.crumbs__live { color: var(--navy) !important; font-weight: 500; }
.crumbs__live-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.crumbs__live-mask span { display: inline-block; }

.ctxbar__nav { position: relative; display: flex; align-items: center; gap: 32px; height: 100%; }
.ctxbar__link { position: relative; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); transition: color 0.4s var(--ease); }
.ctxbar__link:hover, .ctxbar__link.is-active { color: var(--navy); }
.ctxbar__ind { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--navy); }
.ctxbar__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left center; }
@media (max-width: 900px) { .ctxbar__nav { display: none; } }

/* Shared helpers ---------------------------------------------------------- */
.section--flush { padding-top: 0; }
.section-head__aside { max-width: 380px; }
.note { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-meta); line-height: 1.6; color: var(--gold-600); }
.note .icon { width: 16px; height: 16px; margin-top: 2px; }

/* Über uns ---------------------------------------------------------------- */
.split { row-gap: 32px; }
.split__head { grid-column: 1 / span 6; }
.split__head .h2 { max-width: 560px; }
.split__body { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 22px; }
.split__body .lead { color: var(--ink); }
@media (max-width: 1023px) { .split__head, .split__body { grid-column: 1 / -1; } }

.wide { margin-top: clamp(64px, 8vw, 112px); }
.frame--wide { aspect-ratio: 21 / 9; }
@media (max-width: 680px) { .frame--wide { aspect-ratio: 4 / 3; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 56px; }
.fact { display: flex; gap: 18px; align-items: flex-start; padding-top: 28px; border-top: 1px solid var(--line); }
.fact .icon { color: var(--gold-600); flex: none; }
.fact div { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 1023px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

.about__text .note { margin-top: 8px; }

.goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gap); }
.goal { display: flex; flex-direction: column; gap: 10px; padding-top: 32px; border-top: 1px solid var(--line); }
.goal__icon { color: var(--gold-600); margin-bottom: 14px; }
.goal__icon .icon { transition: transform 0.8s var(--ease-out); }
.goal:hover .goal__icon .icon { transform: translateY(-4px); }
@media (max-width: 1023px) { .goals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .goals { grid-template-columns: 1fr; gap: 36px; } }

.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gap); }
.board-card { display: flex; flex-direction: column; gap: 6px; }
.board-card__photo { aspect-ratio: 4 / 5; margin-bottom: 18px; display: grid; place-items: center; background: #E6E1D7; }
.board-card__photo svg { width: 22%; height: auto; fill: rgba(0, 45, 96, 0.14); }
.board__note { margin-top: 48px; }
@media (max-width: 1023px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* CTA band ---------------------------------------------------------------- */
.band--cta .band__inner { padding-block: clamp(112px, 12vw, 168px); }
.band--cta .band__content { grid-column: 1 / span 6; }
.band__aside { grid-column: 8 / span 5; display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.band__aside li { display: flex; gap: 20px; padding-block: 26px; border-bottom: 1px solid var(--line-light); }
.band__aside .icon { color: var(--gold); flex: none; }
.band__aside div { display: flex; flex-direction: column; gap: 6px; }
.band__aside p { font-size: var(--fs-body); line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 1023px) { .band--cta .band__content, .band__aside { grid-column: 1 / -1; } }

/* Veranstaltungen: next ----------------------------------------------------- */
.next { align-items: center; row-gap: 40px; }
.next__media { grid-column: 1 / span 7; position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone); }
.next__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.next:hover .next__media img { transform: scale(1.04); }
.next__body { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 16px; }
.next__body .event-card__info { margin-top: 8px; }
.next__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 20px; }
[data-countdown] { color: var(--navy); font-weight: 500; }
@media (max-width: 1023px) { .next__media, .next__body { grid-column: 1 / -1; } }

/* Veranstaltungen: list rows ------------------------------------------------ */
.erows { border-top: 1px solid var(--line); }
.erow { position: relative; display: grid; grid-template-columns: 120px 220px minmax(0, 1fr) 56px; column-gap: clamp(24px, 3vw, 48px); align-items: center; padding-block: 32px; border-bottom: 1px solid var(--line); }
.erow::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: right center; transition: transform 0.9s var(--ease-out); }
.erow:hover::after { transform: scaleX(1); transform-origin: left center; }
.erow__date { display: flex; flex-direction: column; gap: 6px; align-self: start; }
.erow__day { font-size: 2.75rem; font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--navy); }
.erow__month { font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.04em; line-height: 1.4; color: var(--gold-600); }
.erow__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone); }
.erow__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.erow:hover .erow__media img { transform: scale(1.06); }
.erow__body { display: flex; flex-direction: column; gap: 10px; }
.erow__body h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.erow__info { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 6px; }
.erow__info li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); line-height: 1.5; color: var(--ink); }
.erow__info .icon { color: var(--gold-600); }
.erow__go { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease); }
.erow:hover .erow__go { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 1023px) {
  .erow { grid-template-columns: 96px minmax(0, 1fr) 48px; row-gap: 20px; }
  .erow__media { display: none; }
  .erow__go { width: 48px; height: 48px; }
}
@media (max-width: 560px) {
  .erow { grid-template-columns: 1fr auto; }
  .erow__date { flex-direction: row; align-items: baseline; gap: 12px; grid-column: 1 / -1; }
  .erow__day { font-size: 2.25rem; }
}

/* Past events ------------------------------------------------------------- */
.event-card--past .event-card__media img { filter: grayscale(1); transition: transform 1.4s var(--ease-out), filter 1s var(--ease); }
.event-card--past:hover .event-card__media img { filter: grayscale(0); }
.event-card--past .event-card__date { background: var(--paper); color: var(--muted); }
.event-card--past .event-card__month { color: var(--muted); }
.band__cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; }
.band__aside .icon { width: 28px; height: 28px; stroke-width: 1.2; }
.crumbs--bar { flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
@media (max-width: 600px) {
  .crumbs--bar li:nth-child(2) { display: none; }
  .ctxbar { height: 52px; }
}

/* President's message ------------------------------------------------------ */
.president { margin-top: clamp(96px, 10vw, 152px); background: var(--navy); color: #fff; }
.president__grid { align-items: stretch; }
.president__photo { grid-column: 1 / span 5; position: relative; overflow: hidden; min-height: 100%; aspect-ratio: 4 / 4.6; margin: 0; background: var(--navy-900); }
.president__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.president__body { grid-column: 7 / span 6; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding-block: clamp(56px, 6vw, 88px); padding-right: clamp(24px, 5vw, 80px); }
.president__quote { margin: 0; position: relative; }
.president__quote p { font-size: clamp(1.1875rem, 1rem + 0.55vw, 1.4375rem); font-weight: 300; line-height: 1.7; color: rgba(255, 255, 255, 0.86); }
.president__quote .q { color: var(--gold); }
.president__sign { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.signature {
  display: inline-block;
  align-self: flex-start;
  font-family: "Mrs Saint Delafield", "Brush Script MT", cursive;
  font-size: clamp(2.75rem, 2.2rem + 1.6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--gold);
  padding: 0.05em 0.35em 0.1em 0.05em;
}
.president__name { color: rgba(255, 255, 255, 0.6); }
.president__name span { display: block; color: #fff; font-weight: 500; font-size: var(--fs-small); }
@media (max-width: 1023px) {
  .president__photo { grid-column: 1 / -1; aspect-ratio: 4 / 3.4; }
  .president__body { grid-column: 1 / -1; padding: 48px var(--pad) 56px; }
}

/* ==========================================================================
   Sub pages II
   ========================================================================== */

.hero--compact { height: 50vh; height: 50svh; min-height: 260px; }
.hero--article .h1 { max-width: 900px; }

/* Feature (Aktuelles) ----------------------------------------------------- */
.feature { align-items: center; row-gap: 40px; }
.feature__media { grid-column: 1 / span 7; position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 11; background: var(--stone); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.4s var(--ease-out); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__body { grid-column: 8 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.feature__body .event-card__info { width: 100%; margin-top: 4px; }
.feature__body .link { margin-top: 12px; }
.feature:hover .news-card__title span { background-size: 100% 1px; }
@media (max-width: 1023px) { .feature__media, .feature__body { grid-column: 1 / -1; } }

/* Card without image */
.news-card__media--empty { display: grid; place-items: center; background: #E6E1D7; }
.news-card__media--empty svg { width: 18%; height: auto; fill: rgba(0, 45, 96, 0.14); transition: transform 1.2s var(--ease-out); }
.news-card:hover .news-card__media--empty svg { transform: scale(1.06); }

/* Pager */
.pager { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pager__list { display: flex; gap: 8px; }
.pager__list a { width: 44px; height: 44px; display: grid; place-items: center; font-size: var(--fs-small); color: var(--muted); border: 1px solid transparent; transition: color 0.4s var(--ease), border-color 0.4s var(--ease); }
.pager__list a:hover { color: var(--navy); border-color: var(--line); }
.pager__list a[aria-current="page"] { color: #fff; background: var(--navy); }
.pager__next { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); transition: background-color 0.5s var(--ease), color 0.5s var(--ease); }
.pager__next:hover { background: var(--navy); color: #fff; }

/* Article ------------------------------------------------------------------ */
.article { align-items: start; row-gap: 48px; }
.article__aside { grid-column: 1 / span 3; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 8px; }
.article__meta { display: flex; flex-direction: column; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); width: 100%; }
.article__meta li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); line-height: 1.5; color: var(--ink); }
.article__meta .icon { color: var(--gold-600); }
.article__body { grid-column: 5 / span 7; }
@media (max-width: 1023px) {
  .article__aside { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
  .article__meta { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; border-bottom: 0; padding-bottom: 0; width: auto; }
  .article__body { grid-column: 1 / -1; }
}

.share { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 500; line-height: 1.5; color: var(--navy); padding: 10px 16px; border: 1px solid var(--line); transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease); }
.share:hover { border-color: var(--navy); }
.share.is-done { background: var(--navy); color: #fff; border-color: var(--navy); }
.share .icon { width: 16px; height: 16px; }

.prose > * + * { margin-top: 24px; }
.prose > p:not(.lead):not(.note) { font-size: 1.0625rem; line-height: 1.85; color: var(--muted); }
.prose > .lead { color: var(--ink); }
.prose > .h2 { margin-top: 64px; }
.prose__figure { margin-top: 48px !important; margin-bottom: 48px; }
.prose__figure figcaption { margin-top: 14px; }
.pullquote { margin: 56px 0; padding-block: 36px; border-block: 1px solid var(--line); }
.pullquote p { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 300; line-height: 1.6; color: var(--navy); }
.pullquote .q { color: var(--gold-600); }
.pullquote cite { display: block; margin-top: 16px; font-style: normal; }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.checklist .icon { color: var(--gold-600); margin-top: 3px; }
.article__end { margin-top: 64px !important; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: var(--gap); }
.gallery__item { margin: 0; overflow: hidden; background: var(--stone); grid-column: span 5; aspect-ratio: 4 / 3; }
.gallery__item--lg { grid-column: span 7; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery__item, .gallery__item--lg { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; } }

/* Event detail --------------------------------------------------------------- */
.event-detail { align-items: start; row-gap: 56px; }
.event-detail__main { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 24px; }
.event-detail__main > .lead { color: var(--ink); }
.event-detail__aside { grid-column: 9 / span 4; }
@media (max-width: 1023px) { .event-detail__main, .event-detail__aside { grid-column: 1 / -1; } }

.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 24px; }
.highlights li { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.highlights .icon { color: var(--gold-600); margin-bottom: 6px; }
.highlights div { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 600px) { .highlights { grid-template-columns: 1fr; } }

.programme { margin-top: 72px; display: flex; flex-direction: column; gap: 32px; }
.timeline { position: relative; display: flex; flex-direction: column; }
.timeline::before { content: ""; position: absolute; left: 88px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.timeline__item { position: relative; display: grid; grid-template-columns: 88px 1fr; column-gap: 40px; padding-block: 18px; }
.timeline__item::before { content: ""; position: absolute; left: 84px; top: 28px; width: 9px; height: 9px; background: var(--paper); border: 1px solid var(--gold-600); transform: rotate(45deg); transition: background-color 0.5s var(--ease); }
.timeline__item:hover::before { background: var(--gold); }
.timeline__time { font-size: var(--fs-h3); font-weight: 500; line-height: 1.4; color: var(--navy); }
.timeline__item div { display: flex; flex-direction: column; gap: 4px; }

.infocard { background: #fff; border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.infocard__head { display: flex; gap: 18px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.infocard__date { position: static; flex: none; }
.infocard__title { font-size: var(--fs-small); font-weight: 500; line-height: 1.5; color: var(--ink); }
.infocard .event-card__info { margin: 0; padding: 0; border: 0; }
.infocard__btn { width: 100%; }
.infocard__hint { margin-top: -8px; }
.venue__info { margin-top: 8px; padding-top: 20px; }

/* Steps (Mitgliedschaft) ------------------------------------------------------ */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps__line { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left center; }
.step { position: relative; display: grid; grid-template-columns: 1fr auto; row-gap: 10px; padding-top: 32px; }
.step__icon { grid-column: 1; grid-row: 1; color: var(--gold-600); margin-bottom: 14px; }
.step__no { grid-column: 2; grid-row: 1; font-size: var(--fs-meta); letter-spacing: 0.04em; line-height: 1.5; color: var(--gold-600); }
.step .h3, .step .text { grid-column: 1 / -1; }
.steps__note { margin-top: 48px; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .steps::before, .steps__line { display: none; } .step { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* FAQ accordion --------------------------------------------------------------- */
.faq { align-items: start; row-gap: 48px; }
.faq__head { grid-column: 1 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__head { margin: 0; font: inherit; }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; text-align: left; color: var(--ink); }
.acc__btn:hover .h3 { color: var(--navy); }
.acc__icon { position: relative; width: 44px; height: 44px; flex: none; border: 1px solid var(--line); transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--navy); transform: translate(-50%, -50%); transition: transform 0.5s var(--ease-out), background-color 0.5s var(--ease); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--navy); border-color: var(--navy); }
.acc__btn[aria-expanded="true"] .acc__icon::before, .acc__btn[aria-expanded="true"] .acc__icon::after { background: #fff; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__panel { height: 0; overflow: hidden; }
.acc__inner { padding-bottom: 28px; max-width: 560px; }
@media (max-width: 1023px) { .faq__head, .faq__list { grid-column: 1 / -1; } }

/* Contact -------------------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 64px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 36px 32px; background: #fff; border: 1px solid var(--line); transition: border-color 0.5s var(--ease); }
.contact-card:hover { border-color: rgba(0, 45, 96, 0.32); }
.contact-card__icon { color: var(--gold-600); margin-bottom: 18px; }
.contact-card .meta { margin-top: 8px; }
.contact__note { margin-top: 32px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

.band--light { background: var(--stone); color: var(--ink); }
.band--light .band__content .lead { color: var(--muted); }
.band--light .form { background: #fff; border: 1px solid var(--line); }
.contact__image { margin: 48px 0 0; }

.topics { row-gap: 32px; }
.topic { grid-column: span 4; position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--navy); color: #fff; }
.topic__media { position: absolute; inset: 0; }
.topic__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.topic__media--president img { object-position: 50% 30%; }
.topic__media::after { content: ""; position: absolute; inset: 0; background: var(--navy-900); opacity: 0.45; transition: opacity 0.6s var(--ease); }
.topic:hover .topic__media img { transform: scale(1.05); }
.topic:hover .topic__media::after { opacity: 0.6; }
.topic__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; display: grid; grid-template-columns: 1fr auto; row-gap: 6px; align-items: end; }
.topic__body .h3 { grid-column: 1; }
.topic__body .text { grid-column: 1; color: rgba(255, 255, 255, 0.78); }
.topic__go { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-light); transition: background-color 0.5s var(--ease), color 0.5s var(--ease); }
.topic:hover .topic__go { background: #fff; color: var(--navy); }
@media (max-width: 1023px) { .topic { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

/* Legal ---------------------------------------------------------------------- */
.legal .grid { align-items: start; }
.legal__toc { grid-column: 1 / span 3; padding-top: 8px; }
.legal__toc-label { color: var(--navy); }
.legal__toc ol { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.legal__toc a { display: block; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 1px solid transparent; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); transition: color 0.4s var(--ease), border-color 0.4s var(--ease); }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--navy); border-left-color: var(--navy); }
.legal__body { grid-column: 5 / span 7; }
.legal__section { padding-top: 16px; }
.legal__section + .legal__section { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.legal__section .h2 { margin-bottom: 24px; }
.legal__section p + p { margin-top: 16px; }
.legal__notice { display: flex; gap: 18px; align-items: flex-start; padding: 24px 28px; background: var(--stone); margin-bottom: 56px; }
.legal__notice .icon { color: var(--gold-600); flex: none; }
.legal__notice p { font-size: var(--fs-small); line-height: 1.7; color: var(--ink); }
.ph { color: var(--gold-600); }
@media (max-width: 1023px) { .legal__toc { display: none; } .legal__body { grid-column: 1 / -1; } }
.frame--landscape { aspect-ratio: 16 / 11; }
.crumbs__page a { display: inline-block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
@media (max-width: 600px) {
  .crumbs--bar li:not(:first-child):not(.crumbs__live) { display: none; }
}
.hero__empty { position: absolute; inset: 0; display: grid; place-items: center; background: var(--navy); }
.hero__empty svg { width: 9%; min-width: 64px; height: auto; fill: rgba(195, 181, 154, 0.22); }
.infocard--past .event-card__date { background: var(--stone); color: var(--muted); }
.infocard--past .event-card__month { color: var(--muted); }

/* Kontaktformular – volle Containerbreite ---------------------------------- */
.form--wide { background: #fff; border: 1px solid var(--line); padding: clamp(28px, 4.4vw, 64px); }
.form--wide .form__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 34px var(--gap); }
.form--wide .field--third { grid-column: span 2; }
.form--wide .field--twothirds { grid-column: span 4; }
.form--wide .field--full { grid-column: 1 / -1; }
.form--wide .field textarea { min-height: 132px; }
.form__foot--split { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 48px; margin-top: 48px; }
.form__foot--split .field--check { max-width: 680px; }
.form__foot--split .form__status { grid-column: 1 / -1; max-width: none; }
.form__foot--split .form__status:empty { display: none; }
@media (max-width: 900px) {
  .form--wide .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form--wide .field--third { grid-column: span 1; }
  .form--wide .field--twothirds { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .form--wide .form__grid { grid-template-columns: 1fr; }
  .form--wide .field--third { grid-column: 1 / -1; }
  .form__foot--split { grid-template-columns: 1fr; }
  .form__foot--split .btn { justify-self: start; }
}

/* ==========================================================================
   Navigation – dropdowns (desktop) and accordion groups (mobile menu)
   ========================================================================== */
.nav { align-self: stretch; }
.nav__group { position: relative; height: 100%; display: flex; align-items: center; }
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: var(--fs-small); color: inherit; background: none; border: 0; cursor: pointer; }
.nav__chev { width: 10px; height: 10px; transition: transform 0.5s var(--ease-out); }
.nav__group.is-open .nav__chev { transform: rotate(180deg); }
.nav__group[data-current] > .nav__toggle::after { transform: scaleX(1); transform-origin: left center; }
.nav__toggle::after { right: 16px; }

.dropdown {
  position: absolute;
  top: 100%;
  left: -24px;
  min-width: 264px;
  padding: 10px 0;
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: 0 24px 48px -28px rgba(0, 29, 64, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-out), visibility 0s linear 0.35s;
}
.dropdown::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left center; transition: transform 0.6s var(--ease-out); }
.nav__group.is-open .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-out), visibility 0s; }
.nav__group.is-open .dropdown::before { transform: scaleX(1); }
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__link {
  position: relative;
  display: block;
  padding: 11px 24px;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--ink);
  transition: color 0.35s var(--ease), padding-left 0.5s var(--ease-out);
}
.dropdown__link::before { content: ""; position: absolute; left: 24px; top: 50%; width: 0; height: 1px; background: var(--gold-600); transition: width 0.5s var(--ease-out); }
.dropdown__link:hover, .dropdown__link:focus-visible { color: var(--navy); padding-left: 40px; }
.dropdown__link:hover::before, .dropdown__link:focus-visible::before { width: 10px; }
.dropdown__link[aria-current="page"] { color: var(--navy); font-weight: 500; }

/* Mobile menu groups */
.menu__toggle { width: 100%; background: none; border: 0; color: inherit; font-family: inherit; text-align: left; cursor: pointer; }
.menu__plus { position: relative; width: 16px; height: 16px; flex: none; }
.menu__plus::before, .menu__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform 0.5s var(--ease-out); }
.menu__plus::after { transform: rotate(90deg); }
.menu__toggle[aria-expanded="true"] .menu__plus::after { transform: rotate(0deg); }
.menu__sub ul { list-style: none; margin: 0; padding: 0 0 18px; display: flex; flex-direction: column; gap: 2px; }
.menu__sublink { display: block; padding: 7px 0; font-size: 1.0625rem; font-weight: 300; line-height: 1.5; color: rgba(255, 255, 255, 0.72); transition: color 0.35s var(--ease); }
.menu__sublink:hover, .menu__sublink[aria-current="page"] { color: #fff; }
.menu__sublink[aria-current="page"]::before { content: ""; display: inline-block; width: 12px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--gold); }
.menu__sub { overflow: hidden; }

/* ==========================================================================
   Verband pages: board variants, principles, closing statement, letter
   ========================================================================== */
.topics--4 .topic { grid-column: span 3; aspect-ratio: 4 / 5; }
.topics--4 .topic__body { padding: 28px; }
@media (max-width: 1180px) { .topics--4 .topic { grid-column: span 6; aspect-ratio: 16 / 11; } }
@media (max-width: 640px) { .topics--4 .topic { grid-column: 1 / -1; } }

.goals--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .goals--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .goals--4 { grid-template-columns: 1fr; } }

.board--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1180px) { .board--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .board--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.principles { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 10px;
  align-items: baseline;
  padding: 34px 0 36px;
  border-top: 1px solid var(--line);
}
.principle__no { grid-column: 1 / span 1; font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.08em; color: var(--gold-600); }
.principle .h3 { grid-column: 2 / span 5; }
.principle .text { grid-column: 7 / span 6; max-width: 56ch; }
@media (max-width: 860px) {
  .principle__no { grid-column: 1 / -1; }
  .principle .h3, .principle .text { grid-column: 1 / -1; }
}

.manifest-close__inner { margin: 0 auto; max-width: 880px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.manifest-close__mark { width: 28px; height: auto; fill: var(--gold); }
.manifest-close blockquote { margin: 0; }
.manifest-close blockquote p { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 300; line-height: 1.45; letter-spacing: -0.01em; color: var(--navy); }

.letter { row-gap: 48px; align-items: start; }
.letter__aside { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 20px; }
.letter__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.letter__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.letter__who { font-size: var(--fs-meta); line-height: 1.5; color: var(--muted); }
.letter__who span { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.letter__body { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 22px; }
.letter__body p { font-size: 1.0625rem; line-height: 1.8; color: var(--ink); }
.letter__salutation { margin-bottom: 8px; max-width: 640px; }
.letter__sign { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.letter__sign .meta strong { color: var(--ink); font-weight: 500; }
.signature--ink { color: var(--gold-600); }
@media (max-width: 1023px) {
  .letter__aside { grid-column: 1 / -1; flex-direction: row; align-items: flex-end; }
  .letter__photo { width: 42%; max-width: 260px; }
  .letter__body { grid-column: 1 / -1; }
}

/* ==========================================================================
   Members: list, finder, detail, location, map
   ========================================================================== */
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 1023px) { .members { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .members { grid-template-columns: 1fr; } }
.member-card[hidden] { display: none; }
.member-card__link { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: border-color 0.5s var(--ease); }
.member-card__link:hover { border-color: rgba(0, 45, 96, 0.4); }
.member-card__logo { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.member-card__logo img { width: 46%; height: auto; transition: transform 1s var(--ease-out); }
.member-card__link:hover .member-card__logo img { transform: scale(1.04); }
.member-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 76px 28px 24px; }
.member-card__name { transition: color 0.4s var(--ease); }
.member-card__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--fs-meta); line-height: 1.5; color: var(--muted); }
.member-card__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.member-card__meta .icon { width: 14px; height: 14px; color: var(--gold-600); }
.member-card__addr { font-size: var(--fs-meta); line-height: 1.5; color: var(--muted); }
.member-card__go { position: absolute; right: 24px; bottom: 26px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease); }
.member-card__link:hover .member-card__go { background: var(--navy); border-color: var(--navy); color: #fff; }
.members__note { margin-top: 40px; }

/* rows (finder results) */
.members--rows { grid-template-columns: 1fr; gap: 12px; }
.members--rows .member-card__link { flex-direction: row; align-items: center; }
.members--rows .member-card__logo { width: 132px; flex: none; aspect-ratio: 1; border-bottom: 0; border-right: 1px solid var(--line); }
.members--rows .member-card__logo img { width: 70%; }
.members--rows .member-card__body { padding: 20px 84px 20px 28px; gap: 6px; }
.members--rows .member-card__go { top: 50%; bottom: auto; transform: translateY(-50%); }
@media (max-width: 600px) {
  .members--rows .member-card__logo { width: 92px; }
  .members--rows .member-card__body { padding: 16px 60px 16px 18px; }
  .members--rows .member-card__go { right: 14px; width: 32px; height: 32px; }
}

/* finder */
.finder__form { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 24px var(--gap); align-items: end; margin-bottom: 48px; padding: 28px 32px 32px; background: var(--paper); border: 1px solid var(--line); }
.finder__form .field input::placeholder { color: rgba(15, 29, 48, 0.38); }
.finder__reset { justify-self: start; padding-bottom: 12px; background: none; border: 0; font: inherit; font-size: var(--fs-small); color: var(--navy); cursor: pointer; }
.finder__count { white-space: nowrap; }
.finder__empty { padding: 32px 0; font-size: var(--fs-small); color: var(--muted); }
.finder { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.finder.has-map { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.finder.has-map .map--finder { position: sticky; top: calc(var(--header-h) + 72px); }
@media (max-width: 1023px) {
  .finder__form { grid-template-columns: 1fr 1fr; }
  .finder.has-map { grid-template-columns: 1fr; }
  .finder.has-map .map--finder { position: relative; top: 0; order: -1; }
}
@media (max-width: 600px) { .finder__form { grid-template-columns: 1fr; padding: 20px; } }

/* detail */
.member { row-gap: 48px; align-items: start; }
.member__logo { grid-column: 1 / span 4; margin: 0; aspect-ratio: 1; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); }
.member__logo img { width: 58%; height: auto; }
.member__body { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 28px; }
.member__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); border-top: 1px solid var(--line); }
.member__facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.member__facts dt { font-size: var(--fs-meta); line-height: 1.5; color: var(--muted); }
.member__facts dd { margin: 4px 0 0; font-size: var(--fs-body); line-height: 1.5; color: var(--ink); }
.member__focus { display: flex; flex-direction: column; gap: 12px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; font-size: var(--fs-meta); line-height: 1.5; color: var(--navy); border: 1px solid var(--line); background: #fff; }
@media (max-width: 1023px) {
  .member__logo { grid-column: 1 / -1; max-width: 320px; }
  .member__body { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .member__facts { grid-template-columns: 1fr; } }

.member-contact { row-gap: 40px; align-items: stretch; }
.member-contact__info { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.member-contact__loc { grid-column: 7 / span 6; position: relative; min-height: 380px; display: flex; }
.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; }
.info-list .icon { width: 20px; height: 20px; color: var(--gold-600); margin-top: 2px; }
.info-list p { font-size: var(--fs-body); line-height: 1.6; color: var(--ink); }
.loc-card {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 48px 32px;
  text-align: center;
  background-color: #fff;
  background-image: radial-gradient(rgba(0, 45, 96, 0.13) 1px, transparent 1.2px);
  background-size: 18px 18px;
  border: 1px solid var(--line);
}
.loc-card__pin { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; color: var(--navy); }
.loc-card__pin .icon { width: 26px; height: 26px; }
.loc-card__city { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 300; line-height: 1.3; color: var(--navy); }
.loc-card__geo { margin-top: 10px; font-variant-numeric: tabular-nums; }
.has-map .loc-card { display: none; }
@media (max-width: 1023px) {
  .member-contact__info, .member-contact__loc { grid-column: 1 / -1; }
  .member-contact__loc { min-height: 300px; }
}

/* map (only visible when the feature flag is on) */
.map { position: relative; width: 100%; min-height: 380px; background: #E9E5DC; border: 1px solid var(--line); }
.map[hidden] { display: none; }
.map--finder { height: min(72vh, 640px); }
.map__canvas { position: absolute; inset: 0; }
.map__consent, .map__msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px; text-align: center; font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
.map__consent p { max-width: 380px; }
.map-pin span { position: absolute; left: 4px; top: 0; width: 20px; height: 20px; background: var(--navy); border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 14px -6px rgba(0, 29, 64, 0.6); }
.map-pop { display: flex; flex-direction: column; gap: 4px; font-family: inherit; font-size: 13px; line-height: 1.5; }
.map-pop strong { font-weight: 500; color: var(--ink); }
.map-pop a { color: var(--navy); }
.leaflet-container { font-family: inherit; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { border-radius: 0; }

/* Mitgliedschaft: entry to list and finder */
.topics--2 .topic { grid-column: span 6; aspect-ratio: 16 / 9; }
@media (max-width: 1023px) { .topics--2 .topic { grid-column: 1 / -1; } }

/* Inner page hero: 50svh for all sub pages – typography tuned so the longest
   breadcrumb + title combination fits without touching the header */
.hero--page .h1 { font-size: clamp(2rem, 1.3rem + 2.1vw, 3.125rem); }
.hero--article .h1 { font-size: clamp(1.625rem, 1.15rem + 1.55vw, 2.5rem); line-height: 1.18; max-width: 1000px; }
.hero--page .hero__title { max-width: 1000px; }
.hero--page .crumbs--hero { margin-bottom: clamp(16px, 2.6vh, 30px); }
.hero--page .hero__body { margin-top: clamp(12px, 1.8vh, 20px); }
.hero--page .hero__content { padding-bottom: clamp(26px, 4.4vh, 52px); }
.hero--page .hero__cta { margin-top: 18px; }
@media (max-width: 1023px) { .hero--page .hero__aside { display: none; } }

.menu { overflow-y: auto; overscroll-behavior: contain; }
.menu > .container { height: auto !important; min-height: 100%; }
.president__more { align-self: flex-start; margin-top: 8px; }
.finder__form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

/* Manifest – one long text, left aligned (8 of 12 columns) */
.manifesto { grid-column: 1 / span 8; display: flex; flex-direction: column; gap: 26px; }
.manifesto p { font-size: 1.0625rem; line-height: 1.9; color: var(--ink); }
.manifesto .manifesto__lead { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 300; line-height: 1.65; color: var(--navy); margin-bottom: 10px; }
.manifesto__sign { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.manifesto__sign p { font-size: var(--fs-small); font-weight: 500; line-height: 1.5; color: var(--ink); }
.manifesto__logo { width: 40px; height: 40px; fill: var(--gold); overflow: visible; }
@media (max-width: 1023px) { .manifesto { grid-column: 1 / -1; } }

/* ==========================================================================
   Membership page: member map (static SVG) and compact member search
   ========================================================================== */
.article__disclaimer { font-size: var(--fs-meta) !important; line-height: 1.6 !important; font-style: italic; color: var(--muted) !important; }

.memmap { row-gap: 48px; align-items: center; }
.memmap__text { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 24px; }
.memmap__visual { grid-column: 6 / span 7; position: relative; }
.memmap__svg { display: block; width: 100%; max-width: 470px; height: auto; margin-left: auto; overflow: visible; }
.memmap__land { fill: #fff; stroke: rgba(0, 45, 96, 0.35); stroke-width: 1; stroke-linejoin: round; }
.memmap__grain { fill: url(#memmap-dots); }
#memmap-dots circle { fill: rgba(0, 45, 96, 0.16); }
.memmap__dot text { font-size: 15px; font-weight: 500; fill: var(--navy); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; transition: opacity 0.4s var(--ease); }
.memmap__pin { fill: var(--navy); stroke: #fff; stroke-width: 2; transition: fill 0.4s var(--ease); }
.memmap__halo { fill: rgba(195, 181, 154, 0.35); transform-box: fill-box; transform-origin: center; transform: scale(0.6); opacity: 0; transition: transform 0.6s var(--ease-out), opacity 0.4s var(--ease); }
.memmap a:hover .memmap__halo, .memmap__dot.is-hot .memmap__halo, .loc-card .memmap__dot:not(.is-muted) .memmap__halo { transform: scale(1); opacity: 1; }
.memmap a:hover .memmap__pin, .memmap__dot.is-hot .memmap__pin { fill: var(--gold-600); }
.memmap__dot.is-dim { opacity: 0.25; }
.memmap__dot.is-muted .memmap__pin { fill: rgba(0, 45, 96, 0.28); stroke-width: 1.5; }
.memmap__dot.is-muted text { display: none; }
.memmap__legend { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.memmap__legend a { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.5; color: var(--ink); transition: color 0.35s var(--ease), padding-left 0.5s var(--ease-out); }
.memmap__legend a span:first-child { color: var(--muted); }
.memmap__legend a:hover, .memmap__legend a.is-hot { color: var(--navy); padding-left: 8px; }
.memmap.has-map .memmap__svg { display: none; }
@media (max-width: 1023px) {
  .memmap__text, .memmap__visual { grid-column: 1 / -1; }
  .memmap__svg { margin: 0 auto; max-width: 420px; }
}

.members-head { align-items: center; }
.msearch { position: relative; display: flex; align-items: center; gap: 16px; width: min(100%, 420px); border-bottom: 1px solid rgba(0, 45, 96, 0.28); transition: border-color 0.4s var(--ease); }
.msearch:focus-within { border-bottom-color: var(--navy); }
.msearch__icon { width: 18px; height: 18px; flex: none; color: var(--navy); }
.msearch input { flex: 1; min-width: 0; padding: 12px 0; font: inherit; font-size: var(--fs-small); color: var(--ink); background: transparent; border: 0; outline: none; -webkit-appearance: none; appearance: none; }
.msearch input::placeholder { color: rgba(15, 29, 48, 0.42); }
.msearch input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.msearch__count { flex: none; font-size: var(--fs-meta); color: var(--muted); white-space: nowrap; }

.loc-card { padding: 28px 28px 22px; justify-content: space-between; gap: 14px; background-image: none; }
.loc-card .memmap__svg { max-width: 300px; margin: 0 auto; }
.loc-card__geo { margin-top: 0; text-align: center; }
@media (max-width: 860px) { .members-head { align-items: flex-start; } }

/* Membership intro: short text + one image */
.mintro { row-gap: 40px; align-items: center; }
.mintro__text { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.mintro__text .h2 { margin-bottom: 6px; }
.mintro__text .text { max-width: 540px; }
.mintro__text .link { margin-top: 6px; }
.mintro__media { grid-column: 7 / span 6; margin: 0; }
@media (max-width: 1023px) { .mintro__text, .mintro__media { grid-column: 1 / -1; } }

/* OpenStreetMap tiles in the brand palette */
.map .leaflet-tile-pane { filter: grayscale(1) sepia(0.12) contrast(0.92) brightness(1.04); }
.map .leaflet-control-attribution { font-size: 10px; background: rgba(247, 245, 240, 0.85); }
.map .leaflet-control-zoom a { border-radius: 0; color: var(--navy); }
.map .leaflet-bar { border-radius: 0; border: 1px solid var(--line); box-shadow: none; }
.memmap.has-map .map--finder { height: min(70vh, 620px); }

/* Inner page hero: never let the breadcrumb run under the header.
   Height stays 50svh; --hero-min (sized to the longest breadcrumb/title
   combination) keeps all inner heroes equal on short screens, and the
   content padding guarantees clearance below the header. */
:root { --hero-min: 320px; }
@media (max-width: 600px) { :root { --hero-min: 300px; } }
.hero--page, .hero--compact {
  height: auto;
  min-height: 40vh;
  min-height: max(240px, 40svh, var(--hero-min));
  display: flex;
  flex-direction: column;
}
.hero--page .hero__content { height: auto; flex: 1 0 auto; padding-top: calc(var(--header-h) + clamp(24px, 4vh, 44px)); }

/* ==========================================================================
   Revizyon 14.10.2026 — Vizyon / Misyon / İlkeler, haber galerisi
   ========================================================================== */

/* Header: yalnızca sembol */
.header__logo .brand__mark { width: 40px; height: 40px; }
@media (max-width: 1023px) { .header__logo .brand__mark { width: 32px; height: 32px; } }

/* Hakkımızda: ikonlu kartlar (misyon, ilkeler) */
.cards { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.section-head + .cards { margin-top: 0; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px 36px; background: var(--paper); border: 1px solid var(--line); transition: border-color 0.5s var(--ease); }
.card:hover { border-color: rgba(0, 45, 96, 0.28); }
.card__icon { color: var(--gold-600); margin-bottom: 18px; }
.card__icon .icon { transition: transform 0.8s var(--ease-out); }
.card:hover .card__icon .icon { transform: translateY(-4px); }
.cards--plain .card { background: var(--stone); border-color: transparent; }
.card--cta { padding: 0; background: var(--navy); border-color: var(--navy); color: #fff; }
.card--cta a { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 32px 28px 36px; }
.card--cta .text { color: rgba(255, 255, 255, 0.68); }
.card__go { margin-top: auto; padding-top: 28px; color: var(--gold); }
.card__go .icon { transition: transform 0.6s var(--ease-out); }
.card--cta:hover .card__go .icon { transform: translateX(6px); }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Haber galerisi: dikey fotoğraflar, altyazılı */
.gallery--portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
.gallery--portrait .gallery__item { grid-column: auto; grid-row: auto; aspect-ratio: auto; background: none; overflow: visible; }
.gallery--portrait .gallery__item img { aspect-ratio: 3 / 4; height: auto; background: var(--stone); }
.gallery--portrait .gallery__item:hover img { transform: none; }
.gallery--portrait figcaption { margin-top: 12px; }
@media (max-width: 760px) { .gallery--portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery--portrait .gallery__item { grid-column: auto; aspect-ratio: auto; } }

/* Haber içi dikey görsel */
.prose__figure .frame--portrait { max-width: 520px; }

/* Revizyon 14.10.2026 (2) — tek fotoğraflı haberler, footer sembol */
.footer__brand .brand__mark { width: 52px; height: 52px; }
.prose__figure.photo { max-width: 560px; }
.photo__imgs img { width: 100%; height: auto; display: block; background: var(--stone); }
.photo--pair { max-width: none; }
.photo--pair .photo__imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.photo figcaption { margin-top: 14px; }

/* ==========================================================================
   Revision 16.10.2026 – new logo, four areas, language switcher, RTL
   ========================================================================== */

/* Logo: gold mark, wordmark in the current text colour ------------------- */
.logo { display: block; height: auto; overflow: visible; }
.logo__j, .logo__star { fill: var(--gold); }
.logo__word { fill: currentColor; transition: fill 0.5s var(--ease); }
.logo__star { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 0.9s var(--ease-out); }
a:hover > .logo .logo__star { transform: rotate(90deg); }
.header__logo .logo { width: 128px; }
@media (max-width: 1023px) { .header__logo .logo { width: 108px; } }
.footer__brand .logo { width: 176px; color: #fff; }
.manifesto__logo.logo { width: 168px; height: auto; color: var(--navy); }
.intro__mark { width: clamp(48px, 4.6vw, 64px); }
.intro__mark use { fill: var(--gold); }
.board-card__photo svg { width: 15%; }
.news-card__media--empty svg { width: 12%; }
.hero__empty svg { width: 5%; min-width: 40px; }

/* Four areas (home) ------------------------------------------------------ */
.area { display: flex; flex-direction: column; align-items: flex-start; }
.area__icon { width: 28px; height: 28px; margin-bottom: 22px; overflow: visible; }
.area__base { fill: rgba(0, 45, 96, 0.12); }
.area__tip { fill: var(--gold-600); }
.area .h3 { margin-bottom: 10px; }
.area__gem { margin-top: 14px; font-size: var(--fs-meta); line-height: 1.5; letter-spacing: 0.02em; color: var(--gold-600); }
.areas__visual { background: var(--navy); display: grid; place-items: center; }
.areas__mark { width: 34%; height: auto; overflow: visible; }
.areas__j, .areas__star { fill: var(--gold); }
.areas__tip { fill: #fff; opacity: 0; transition: opacity 0.6s var(--ease); }
.areas__visual[data-active="n"] .areas__tip[data-tip="n"],
.areas__visual[data-active="e"] .areas__tip[data-tip="e"],
.areas__visual[data-active="s"] .areas__tip[data-tip="s"],
.areas__visual[data-active="w"] .areas__tip[data-tip="w"] { opacity: 0.92; }
.frame.areas__visual img { position: absolute; inset: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }

/* Language switcher -------------------------------------------------------- */
.header__actions { align-self: stretch; }
.flag { display: block; width: 20px; height: 15px; flex: none; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 29, 64, 0.12); }
.lang-dd { position: relative; height: 100%; display: flex; align-items: center; }
.lang-dd .nav__toggle { gap: 8px; font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.04em; padding-block: 6px; }
.dropdown--lang { left: auto; right: -24px; min-width: 216px; }
.dropdown--lang .dropdown__link { display: flex; align-items: center; gap: 14px; }
.dropdown--lang .dropdown__link::before { display: none; }
.dropdown--lang .dropdown__link:hover, .dropdown--lang .dropdown__link:focus-visible { padding-left: 24px; padding-right: 24px; background: var(--stone); }
.dropdown--lang .dropdown__link[aria-current="true"] { color: var(--navy); font-weight: 500; }
.nav__group.is-open .lang-dd__chev, .lang-dd.is-open .nav__chev { transform: rotate(180deg); }
.lang-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: var(--fs-meta); font-weight: 500; letter-spacing: 0.04em; line-height: 1.5; }
.lang-row a { display: inline-flex; align-items: center; gap: 8px; opacity: 0.6; transition: opacity 0.4s var(--ease); }
.lang-row a[aria-current="true"], .lang-row a:hover { opacity: 1; }
@media (max-width: 1180px) { .header__actions .lang-dd { display: none; } }
@media (max-width: 600px) { .menu__foot { flex-direction: column; align-items: flex-start; } }

/* Arabic (RTL) ------------------------------------------------------------- */
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-300-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
:root[lang="ar"] { --font: "Poppins", "IBM Plex Sans Arabic", system-ui, sans-serif; }
[dir="rtl"] body, [dir="rtl"] body * { letter-spacing: 0 !important; }
[dir="rtl"] .signature { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .skip-link { left: auto; right: 16px; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .link:hover .arrow, [dir="rtl"] .btn:hover .arrow, [dir="rtl"] .event-card:hover .event-card__more .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .card__go .icon { transform: scaleX(-1); }
[dir="rtl"] .card--cta:hover .card__go .icon { transform: scaleX(-1) translateX(6px); }
[dir="rtl"] .link::after, [dir="rtl"] .nav__link::after, [dir="rtl"] .erow::after { transform-origin: left center; }
[dir="rtl"] .link:hover::after, [dir="rtl"] .nav__link:hover::after, [dir="rtl"] .nav__link[aria-current="page"]::after,
[dir="rtl"] .erow:hover::after, [dir="rtl"] .nav__group[data-current] > .nav__toggle::after { transform-origin: right center; }
[dir="rtl"] .hero__aside { text-align: left; }
@media (max-width: 1023px) { [dir="rtl"] .hero__aside { text-align: right; } }
[dir="rtl"] .crumbs__sep::after { animation-name: crumb-sweep-rtl; transform: translateX(101%); }
@keyframes crumb-sweep-rtl { 0% { transform: translateX(101%); } 45%, 100% { transform: translateX(-101%); } }
[dir="rtl"] .ctxbar__progress, [dir="rtl"] .steps__line { transform-origin: right center; }
[dir="rtl"] .timeline::before { left: auto; right: 88px; }
[dir="rtl"] .timeline__item::before { left: auto; right: 84px; }
[dir="rtl"] .acc__btn, [dir="rtl"] .menu__toggle { text-align: right; }
[dir="rtl"] .legal__toc a { padding: 8px 18px 8px 0; margin-left: 0; margin-right: -1px; border-left: 0; border-right: 1px solid transparent; }
[dir="rtl"] .field select { padding-right: 0; padding-left: 28px; background-position: left 2px center; }
[dir="rtl"] .president__body { padding-right: 0; padding-left: clamp(24px, 5vw, 80px); }
[dir="rtl"] .member-card__go { right: auto; left: 24px; }
[dir="rtl"] .member-card__go .arrow, [dir="rtl"] .member-card__go .icon { transform: scaleX(-1); }
[dir="rtl"] .memmap__svg { margin-left: 0; margin-right: auto; }
[dir="rtl"] .memmap__legend a:hover, [dir="rtl"] .memmap__legend a.is-hot { padding-left: 0; padding-right: 8px; }
[dir="rtl"] .menu__sublink[aria-current="page"]::before { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .nav__toggle::after { right: 0; left: 16px; }
[dir="rtl"] .dropdown { left: auto; right: -24px; }
[dir="rtl"] .dropdown::before { transform-origin: right center; }
[dir="rtl"] .dropdown__link { transition: color 0.35s var(--ease), padding-right 0.5s var(--ease-out); }
[dir="rtl"] .dropdown__link::before { left: auto; right: 24px; }
[dir="rtl"] .dropdown__link:hover, [dir="rtl"] .dropdown__link:focus-visible { padding-left: 24px; padding-right: 40px; }
[dir="rtl"] .dropdown--lang { right: auto; left: -24px; }
[dir="rtl"] .dropdown--lang .dropdown__link:hover, [dir="rtl"] .dropdown--lang .dropdown__link:focus-visible { padding-right: 24px; }
[dir="rtl"] .members--rows .member-card__body { padding: 20px 28px 20px 84px; }
@media (max-width: 600px) { [dir="rtl"] .members--rows .member-card__go { right: auto; left: 14px; } [dir="rtl"] .members--rows .member-card__body { padding: 16px 18px 16px 60px; } }

/* Home contact band */
.band__btn { margin-top: 44px; }

/* Membership: join button (fixed) and the empty application page */
.mintro__btn { margin-top: 8px; align-self: flex-start; }
.join-fab {
  position: fixed; right: 32px; bottom: 32px; z-index: 80;
  height: 52px; padding: 0 26px;
  box-shadow: 0 18px 40px -18px rgba(0, 29, 64, 0.55);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out), visibility 0s linear 0.5s;
}
.join-fab.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out), visibility 0s; }
.join-fab.is-hidden, .join-fab.is-off { opacity: 0; visibility: hidden; transform: translateY(16px); }
html:not(.js) .join-fab { opacity: 1; visibility: visible; transform: none; }
[dir="rtl"] .join-fab { right: auto; left: 32px; }
@media (max-width: 600px) {
  .join-fab, [dir="rtl"] .join-fab { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
}
.join-slot { min-height: 40vh; }

/* ==========================================================================
   Member map with federal-state filter (membership page)
   ========================================================================== */
.memfind__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
.memfind__text { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 22px; }
.memfind__text .text { max-width: 520px; }
.memfind__filter { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 8px; }
.memfind__label { font-size: var(--fs-meta); font-weight: 500; line-height: 1.5; color: var(--ink); }
.memfind__select select {
  width: 100%; margin: 0; padding: 10px 28px 12px 0;
  font: inherit; font-size: var(--fs-body); line-height: 1.5; color: var(--ink);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23002D60' stroke-width='1.2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center / 12px 8px;
  border: 0; border-bottom: 1px solid var(--navy); border-radius: 0;
  -webkit-appearance: none; appearance: none; cursor: pointer; outline: none;
  transition: border-color 0.4s var(--ease);
}
.memfind__select select:focus-visible { border-bottom-color: var(--gold-600); box-shadow: 0 1px 0 var(--gold-600); }
.memfind__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 24px; }
.memfind__reset { padding: 0; background: none; border: 0; font: inherit; font-size: var(--fs-meta); line-height: 1.5; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; cursor: pointer; }
.memfind__reset[hidden] { display: none; }
.memfind__stage { position: relative; }
.memfind .memmap__svg { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; overflow: visible; }
.memfind.has-map .memmap__svg { display: none; }
.map.map--big { height: clamp(540px, 78vh, 820px); }
@media (max-width: 1023px) {
  .memfind__text, .memfind__filter { grid-column: 1 / -1; }
  .map.map--big { height: 68vh; min-height: 460px; }
}
[dir="rtl"] .memfind__select select { padding: 10px 0 12px 28px; background-position: left 2px center; }

/* Popup: member card */
.map .leaflet-container { font-size: 14px; }
.map-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 0; border: 1px solid var(--line); box-shadow: 0 28px 56px -28px rgba(0, 29, 64, 0.5); }
.map-popup .leaflet-popup-content { margin: 0; width: auto !important; min-width: 320px; max-width: 360px; line-height: 1.5; }
.map-popup .leaflet-popup-tip { border-radius: 0; box-shadow: none; }
.map-popup a.leaflet-popup-close-button { top: 12px; right: 12px; width: 24px; height: 24px; font: 300 22px/22px var(--font); color: var(--muted); }
.map-popup a.leaflet-popup-close-button:hover { color: var(--navy); }
.mcard { padding: 22px 24px 0; font-family: var(--font); color: var(--ink); }
.mcard__head { display: flex; align-items: center; gap: 16px; padding-right: 20px; }
.mcard__logo { width: 56px; height: 56px; flex: none; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.mcard__logo img { width: 100%; height: 100%; object-fit: contain; }
.mcard__title { min-width: 0; }
.map-popup .mcard__name { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
.map-popup .mcard__meta { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.mcard__info { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.mcard__info li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.mcard__ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold-600); }
.map-popup .mcard__info a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; transition: color 0.3s var(--ease); }
.map-popup .mcard__info a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.map-popup a.mcard__go { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px -24px 0; padding: 15px 24px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--navy); text-decoration: none; transition: background-color 0.4s var(--ease); }
.map-popup a.mcard__go:hover { background: var(--stone); }
.mcard__go .arrow { width: 14px; height: 10px; transition: transform 0.5s var(--ease-out); }
.mcard__go:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .mcard__head { padding-right: 0; padding-left: 20px; }
[dir="rtl"] .mcard__go .arrow { transform: scaleX(-1); }
[dir="rtl"] .mcard__go:hover .arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .map-popup a.leaflet-popup-close-button { right: auto; left: 12px; }

/* State tooltip */
.leaflet-tooltip.map-tip { padding: 6px 10px; background: var(--navy); color: #fff; border: 0; border-radius: 0; box-shadow: none; font: 500 12px/1.4 var(--font); }
.leaflet-tooltip-top.map-tip::before { border-top-color: var(--navy); }
.map .leaflet-interactive { transition: fill-opacity 0.3s var(--ease); }

/* ==========================================================================
   Why BDJ – 4 × 3 grid of reasons (home + membership)
   Entry: the tiles rise in a diagonal wave, the icons draw themselves.
   Hover: the tile lifts and tilts towards the pointer, a soft light follows
   the cursor, the icon redraws, a gold line runs along the bottom and the
   other tiles step back.
   ========================================================================== */
.why { border-top: 1px solid var(--line); }
.why__sub { max-width: 420px; color: var(--muted); }
.why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); perspective: 1200px; }
.why-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; min-height: clamp(240px, 19vw, 280px);
  padding: clamp(22px, 1.8vw, 28px); overflow: hidden;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transform-style: preserve-3d;
  transition: border-color 0.5s var(--ease), box-shadow 0.6s var(--ease), opacity 0.5s var(--ease), filter 0.5s var(--ease);
}
.why-card__glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s var(--ease);
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(195, 181, 154, 0.22), transparent 70%); }
.why-card__top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: auto; }
.why-card__icon { display: grid; place-items: center; width: 56px; height: 56px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.7s var(--ease-out); }
.why-card__icon svg { width: 28px; height: 28px; overflow: visible; }
.why-card__icon--mark svg { width: auto; height: 30px; fill: var(--gold); }
.why-card__num { font-size: var(--fs-meta); font-weight: 500; line-height: 1.5; letter-spacing: 0.06em; color: var(--muted); font-variant-numeric: tabular-nums; transition: color 0.5s var(--ease), transform 0.6s var(--ease-out); }
.why-card__title { position: relative; margin: 28px 0 0; font-size: 1.125rem; font-weight: 500; line-height: 1.35; color: var(--ink); }
.why-card__text { position: relative; margin: 8px 0 0; font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
.why-card__line { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold-600); transform: scaleX(0); transform-origin: left center; transition: transform 0.7s var(--ease-out); }
[dir="rtl"] .why-card__line { transform-origin: right center; }

.why-card--cta { background: var(--stone); }
.why-card--cta .why-card__icon { background: #fff; }
.why-card--cta .why-card__title { font-size: 1.375rem; font-weight: 300; line-height: 1.25; }
.why-card__go { position: relative; display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: var(--fs-small); font-weight: 500; color: var(--navy); }
.why-card__go::after { content: ""; position: absolute; inset: 0; }   /* the whole tile is the link */
.why-card__go .arrow { width: 14px; height: 10px; transition: transform 0.5s var(--ease-out); }
[dir="rtl"] .why-card__go .arrow { transform: scaleX(-1); }

@media (hover: hover) and (pointer: fine) {
  .why__grid:hover .why-card:not(:hover) { opacity: 0.55; filter: saturate(0.6); }
  .why-card:hover { border-color: rgba(168, 152, 122, 0.6); box-shadow: 0 28px 50px -34px rgba(0, 29, 64, 0.35); }
  .why-card:hover .why-card__glow { opacity: 1; }
  .why-card:hover .why-card__icon { background: var(--navy); border-color: var(--navy); color: var(--gold); transform: translateY(-2px) rotate(-4deg); }
  .why-card--cta:hover .why-card__icon { background: var(--navy); }
  .why-card:hover .why-card__num { color: var(--gold-600); transform: translateY(-2px); }
  .why-card:hover .why-card__line { transform: scaleX(1); }
  .why-card:hover .why-card__go .arrow { transform: translateX(5px); }
  [dir="rtl"] .why-card:hover .why-card__go .arrow { transform: scaleX(-1) translateX(5px); }
}
@media (max-width: 1180px) { .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } .why-card { min-height: 0; } .why-card__title { margin-top: 22px; } }
