/* ═══════════════════════════════════════════
   MUSEUM WOLFHALDEN — Shared Stylesheet
   Fonts: helvetica-lt-pro (titles) + cormorant-garamond (body)
═══════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────── */
:root {
  --f-title:  "helvetica-lt-pro", Helvetica, Arial, sans-serif;
  --f-body:   "cormorant-garamond", Georgia, serif;

  --c-bg:     #FDFAF7;
  --c-bg-2:   #F3EDE4;
  --c-bg-3:   #E9E0D4;
  --c-ink:    #252018;
  --c-mid:    #7A7165;
  --c-rule:   #D6CEC4;
  --c-accent: #7B5B35;
  --c-white:  #FFFFFF;

  --max:      1160px;
  --gap:      clamp(1.5rem, 5vw, 2.5rem);
}

/* ─── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.75;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ─── LAYOUT ─────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gap);
}

/* ─── HEADER ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--c-rule);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(253,250,247,0.96);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 102px;
  padding-bottom: 20px;
}

.site-logo img { height: 68px; width: auto; filter: brightness(0); }

.site-nav { display: flex; gap: 2.5rem; }

.site-nav a {
  font-family: var(--f-title);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #000000;
  transition: color 0.2s;
  line-height: 1;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--c-accent); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
  align-self: center;
}
.nav-toggle span { display: block; width: 20px; height: 1px; background: var(--c-ink); transition: 0.3s; }

/* ─── COMMON ELEMENTS ────────────────────── */
.rule { border: none; border-top: 1px solid var(--c-rule); }

.label {
  font-family: var(--f-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000000;
}

/* ─── HOME: HERO ─────────────────────────── */
.hero {
  position: relative;
  height: clamp(400px, 75vh, 820px);
  overflow: hidden;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, rgba(37,32,24,0.0) 30%, rgba(37,32,24,0.52) 100%);
}
.hero-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding-bottom: clamp(2.5rem, 7vw, 5rem);
}
.hero-kicker {
  font-family: var(--f-title);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--f-title);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 1.0; letter-spacing: -0.02em;
  color: var(--c-white);
}

/* ─── HOME: INTRO ────────────────────────── */
.section-intro { padding-block: clamp(3.5rem, 8vw, 6rem); }

.intro-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem; align-items: start;
}
.intro-label { padding-top: 0.5rem; }
.intro-text {
  font-family: var(--f-body);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 400; line-height: 1.65;
  color: var(--c-ink); max-width: 62ch;
}

/* ─── HOME: AKTUELL ──────────────────────── */
.section-aktuell {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.aktuell-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem; align-items: start;
}
.aktuell-label { padding-top: 0.4rem; }
.aktuell-title {
  font-family: var(--f-title);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.01em; color: var(--c-ink);
  margin-bottom: 1.5rem;
}
.aktuell-desc {
  font-family: var(--f-body);
  font-size: 1.25rem; line-height: 1.75;
  color: #000000; max-width: 54ch;
}
.aktuell-desc strong { font-family: var(--f-title); font-weight: 700; color: #000000; }
.aktuell-subtitle {
  font-family: var(--f-title);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 400; line-height: 1.3;
  color: var(--c-mid);
  margin-bottom: 1.5rem;
}
.aktuell-tag {
  display: inline-block; margin-top: calc(1.75rem - 10px);
  padding: 0.45rem 1rem;
  border: 1px solid var(--c-rule);
  font-family: var(--f-title);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-mid); background: var(--c-white);
}

/* ─── HOME: SAMMLUNG ─────────────────────── */
.section-sammlung { padding-block: clamp(3.5rem, 8vw, 6rem); }

.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem; align-items: baseline;
  margin-bottom: 3rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--c-rule);
}
.section-head h2 {
  font-family: var(--f-title);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.1; color: var(--c-ink);
}

.item-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  margin-bottom: 4rem; padding-bottom: 4rem;
  border-bottom: 1px solid var(--c-rule);
}
.item-feature__img { aspect-ratio: 4/3; overflow: hidden; }
.item-feature__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.item-feature:hover .item-feature__img img { transform: scale(1.025); }

.item-index {
  font-family: var(--f-title);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; color: #000000;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.item-title {
  font-family: var(--f-title);
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.05; margin-bottom: 1.25rem;
  color: var(--c-ink);
}
.item-feature .item-title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.item-text {
  font-family: var(--f-body);
  font-size: 1.25rem; line-height: 1.6; color: #000000;
}
.item-text strong {
  font-family: var(--f-title);
  font-weight: 700; color: #000000;
}

.items-grid {
  display: grid;
  gap: clamp(1.5rem,3vw,2rem) clamp(1rem,2vw,1.5rem);
}
.items-grid--2 { grid-template-columns: repeat(2,1fr); }
.items-grid--3 { grid-template-columns: repeat(3,1fr); }
.items-grid--2 { margin-top: calc(clamp(3rem,6vw,5rem) - 20px); }
.item-card__img {
  aspect-ratio: 3/4; overflow: hidden; margin-bottom: 1.875rem;
}
.item-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.item-card:hover .item-card__img img { transform: scale(1.03); }
.item-card .item-index { margin-bottom: 0.75rem; }
.item-card .item-title { font-size: clamp(1.125rem,1.6vw,1.375rem); margin-bottom: calc(0.75rem + 10px); }
.item-card .item-text { font-size: 1.25rem; }

.sammlung-note {
  margin-top: 4rem; padding-top: 3rem;
  border-top: 1px solid var(--c-rule); text-align: center;
}
.sammlung-note p {
  font-family: var(--f-body);
  font-size: clamp(1.25rem,2.2vw,1.625rem);
  font-style: italic; color: #000000;
}

/* ─── SUBPAGE: PAGE HEADER ───────────────── */
.page-header {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--c-rule);
}
.page-header-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem; align-items: baseline;
}
.page-title {
  font-family: var(--f-title);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.0; color: var(--c-ink);
}
.page-subtitle {
  margin-top: 1rem;
  font-family: var(--f-body);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6; color: #000000;
}

/* ─── SUBPAGE: CONTENT SECTIONS ─────────── */
.content-section {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--c-rule);
}
.content-section:last-of-type { border-bottom: none; }

.content-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem; align-items: start;
}
.content-num {
  font-family: var(--f-title);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #000000; padding-top: 0.5rem;
  line-height: 1;
}
.content-body {}

.content-title {
  font-family: var(--f-title);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.1; color: var(--c-ink);
  margin-bottom: 1.25rem;
}
.content-text {
  font-family: var(--f-body);
  font-size: 1.25rem; line-height: 1.85;
  color: var(--c-ink); max-width: 66ch;
}
.content-text + .content-text { margin-top: 1rem; }

.content-img {
  margin-top: 2rem;
  aspect-ratio: 16/9; overflow: hidden;
}
.content-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.content-img:hover img { transform: scale(1.02); }

/* Alt layout: image beside text */
.content-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,4rem); align-items: center;
}
.content-split .content-text { max-width: 52ch; }
.content-split__img { aspect-ratio: 4/3; overflow: hidden; }
.content-split__img img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ─── SONDER: EXHIBITION CARDS ───────────── */
.sonder-section { padding-block: clamp(3rem, 6vw, 5rem); }
.sonder-section + .sonder-section { border-top: 1px solid var(--c-rule); }

.sonder-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem; align-items: start;
}
.sonder-body {}
.sonder-tag {
  display: inline-block; margin-bottom: 1.25rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--c-rule);
  font-family: var(--f-title);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-accent);
}
.sonder-title {
  font-family: var(--f-title);
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.15; color: var(--c-ink);
  margin-bottom: 1.5rem;
}
.sonder-title .title-light {
  display: block;
  font-weight: 300;
}
.sonder-text {
  font-family: var(--f-body);
  font-size: 1.25rem; line-height: 1.85;
  color: #000000; max-width: 60ch;
}
.sonder-img {
  margin-top: 2.5rem;
  aspect-ratio: 16/9; overflow: hidden;
}
.sonder-img img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ─── VEREIN: VORSTAND ───────────────────── */
.vorstand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.vorstand-person {
  padding: 2.5rem 0 2.5rem;
  border-bottom: 1px solid var(--c-rule);
}
.vorstand-person:nth-child(odd) { padding-right: 3rem; border-right: 1px solid var(--c-rule); }
.vorstand-person:nth-child(even) { padding-left: 3rem; }

.vorstand-role {
  font-family: var(--f-title);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 0.875rem;
}
.vorstand-name {
  font-family: var(--f-title);
  font-size: 1.25rem; font-weight: 700;
  line-height: 1.2; color: var(--c-ink);
  margin-bottom: 0.875rem;
}
.vorstand-details {
  font-family: var(--f-body);
  font-size: 1.125rem; line-height: 1.52;
  color: #000000;
}
.vorstand-details a { transition: color 0.2s; }
.vorstand-details a:hover { color: var(--c-ink); }

/* ─── VEREIN: FORM ───────────────────────── */
.beitritts-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem; align-items: start;
}
.form-body {}

.form-note {
  font-family: var(--f-title);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-mid); margin-bottom: 2rem;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 1rem;
}
.form-row.full { grid-template-columns: 1fr; }
.form-field {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.form-field label {
  font-family: var(--f-title);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-mid);
}
.form-field input,
.form-field select {
  font-family: var(--f-body); font-size: 1rem;
  color: var(--c-ink); background: var(--c-white);
  border: 1px solid var(--c-rule);
  padding: 0.625rem 0.875rem;
  outline: none; width: 100%;
  transition: border-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus { border-color: var(--c-accent); }

.form-radio-group {
  display: flex; gap: 1.5rem; margin-bottom: 1.5rem;
}
.form-radio {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-body); font-size: 1rem;
  color: #000000; cursor: pointer;
}
.form-radio input { width: auto; }

.btn-submit {
  display: inline-block; margin-top: 0.5rem;
  padding: 0.7rem 2rem;
  background: var(--c-ink); color: var(--c-white);
  font-family: var(--f-title);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--c-accent); }

/* ─── VEREIN: STATUTEN ───────────────────── */
.statuten-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--c-rule);
  font-family: var(--f-title);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-mid);
  transition: border-color 0.2s, color 0.2s;
}
.statuten-link:hover { border-color: var(--c-accent); color: var(--c-accent); }
.statuten-link svg { flex-shrink: 0; }

/* ─── FOOTER ─────────────────────────────── */
.site-footer {
  background: rgb(250,250,250);
  border-top: 1px solid var(--c-rule);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer-brand {
  padding-bottom: 1.875rem; margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-rule);
}
.footer-brand img { height: 96px; width: 96px; opacity: 1; }

.footer-cols {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2rem 3rem;
}
.footer-col__head {
  font-family: var(--f-title);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-ink); margin-bottom: 1.25rem;
}
.footer-col p,
.footer-col address {
  font-family: var(--f-title); font-style: normal; font-weight: 400;
  font-size: 0.9375rem; line-height: 1.6; color: #000000;
}
.footer-col strong { color: var(--c-ink); font-weight: 700; }
.footer-col a {
  font-family: var(--f-title); font-weight: 400; font-size: 0.9375rem;
  line-height: 2.2; display: block;
  color: var(--c-mid); transition: color 0.2s;
}
.footer-col a:hover { color: var(--c-ink); }
.footer-col address a { display: inline; line-height: inherit; }
.reveal-contact {
  cursor: pointer;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.footer-badge {
  display: inline-flex; align-items: center; margin-top: 1.25rem;
  padding: calc(0.4rem + 10px) 0.875rem;
  border: 1px solid var(--c-rule); background: var(--c-bg);
}
.footer-badge span {
  font-family: var(--f-title);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1;
  color: var(--c-accent);
}
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--c-rule);
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.footer-copy {
  font-family: var(--f-title);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-mid);
}
.footer-copy a { transition: color 0.2s; }
.footer-copy a:hover { color: var(--c-ink); }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 860px) {
  .intro-grid, .aktuell-grid, .section-head,
  .page-header-inner, .content-grid, .sonder-grid,
  .beitritts-grid {
    grid-template-columns: 1fr; gap: 1.25rem;
  }
  .intro-label, .aktuell-label, .section-head .label,
  .content-num, .sonder-grid > .label { display: none; }
  .item-feature { grid-template-columns: 1fr; }
  .item-feature__img { aspect-ratio: 16/9; }
  .items-grid--2 { grid-template-columns: repeat(2,1fr); }
  .items-grid--3 { grid-template-columns: repeat(3,1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols .footer-col:last-child { grid-column: 1/-1; }
  .vorstand-grid { grid-template-columns: 1fr; }
  .vorstand-person { padding-right: 0 !important; padding-left: 0 !important; border-right: none !important; }
  .content-split { grid-template-columns: 1fr; }
  .content-split__img { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
  .items-grid--2, .items-grid--3 { grid-template-columns: repeat(2,1fr); }
  .items-grid--2 { margin-top: clamp(1.5rem,3vw,2rem); }
  .item-card__img { aspect-ratio: 4/3; }
  .header-inner { height: 64px; padding-bottom: 0; align-items: center; }
  .site-logo img { height: 40px; }
  .site-nav {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(253,250,247,0.90); padding: 1.5rem var(--gap) 1.5625rem;
    gap: 1.25rem; border-top: 1px solid var(--c-rule); z-index: 200;
  }
  .site-nav.open {
    display: flex;
    flex-direction: column;
  }
  .site-nav a { font-size: 1.0625rem; }
  .nav-toggle { display: flex; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-cols .footer-col:last-child { grid-column: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}
