/* ============================================================
   HEIMATVEREIN VLOTHO — Modern Heritage Design System
   ============================================================ */

/* ---- Selbst gehostete Schriften (Lato, Playfair Display) ---- */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/lato-v25-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-v25-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-v25-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-italic.woff2') format('woff2');
}

/* ---- Variables ---- */
:root {
  --cream:        #FAF7F2;
  --cream-dark:   #EDE7DC;
  --cream-mid:    #F2EDE4;
  --brown-dark:   #2A1F17;
  --brown-mid:    #6B4C32;
  --brown-light:  #9B7A5A;
  --gold:         #9A6F28;
  --gold-light:   #C4943A;
  --blue:         #B60019;
  --blue-light:   #D41E35;
  --text:         #2A1F17;
  --text-light:   #6B5A4E;
  --text-muted:   #9B8C82;
  --border:       #D8CBBF;
  --border-light: #EDE4D8;
  --shadow:       rgba(42, 31, 23, 0.08);
  --shadow-md:    rgba(42, 31, 23, 0.14);

  --header-h: 100px;
  --radius:   3px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; overflow-wrap: break-word; word-break: break-word; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--brown-dark);
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-light); line-height: 1.8; overflow-wrap: break-word; word-break: break-word; }

strong { color: var(--text); font-weight: 700; }

/* ---- Layout ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section { padding: 80px 0; }

/* ---- Ornament divider ---- */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 40px;
}
.ornament--center { justify-content: center; text-align: center; }
.ornament__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.ornament__icon {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
}
.ornament--center .ornament__icon { font-size: 1rem; }

/* ---- Section header ---- */
.section-header {
  margin-bottom: 56px;
  text-align: center;
}
.section-header__eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(154, 111, 40, 0.3);
}

.btn--outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

/* Aktiver Filterzustand */
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.filter-btn.active:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #fff;
}

.btn--outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn--blue {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.btn--blue:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-1px);
}

/* ---- Header / Navigation ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header .container {
  padding-left: 16px;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-logo__img {
  height: 58px;
  width: auto;
  display: block;
}
.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.site-logo__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.01em;
}
.site-logo__sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; }

.site-nav__link {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.site-nav__link:hover,
.site-nav__link.active {
  color: var(--brown-dark);
  background: var(--cream-dark);
}
.site-nav__link.active { color: var(--gold); background: transparent; }

.site-nav__cta {
  margin-left: 12px;
  font-size: 0.88rem;
  padding: 12px 26px;
}
.site-nav__cta.btn--primary { color: #fff; }
.site-nav__cta.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 16px 0 24px;
  box-shadow: 0 8px 24px var(--shadow);
}
.mobile-nav.open { display: block; }

.mobile-nav__link {
  display: block;
  padding: 12px clamp(1.25rem, 4vw, 2.5rem);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: var(--cream-dark);
}

/* ---- Page top padding ---- */
.page-top { padding-top: var(--header-h); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brown-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(42, 31, 23, 0.88) 0%,
      rgba(42, 31, 23, 0.72) 40%,
      rgba(182, 0, 25, 0.55) 100%
    ),
    linear-gradient(
      to bottom,
      #4A3728 0%,
      #8A0012 50%,
      #4D000D 100%
    );
}
/* Subtle texture */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 36px 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold-light);
  opacity: 0.7;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
  max-width: 700px;
  font-style: italic;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 2;
}
.hero__scroll span { display: block; width: 1px; height: 40px; background: rgba(255,255,255,0.25); }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.45; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.7; }
}

/* ---- Page hero (subpages) ---- */
.page-hero {
  background:
    linear-gradient(160deg, rgba(42,31,23,0.88) 0%, rgba(42,31,23,0.72) 40%, rgba(182,0,25,0.55) 100%),
    linear-gradient(to bottom, #4A3728 0%, #8A0012 50%, #4D000D 100%);
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}
/* Schiebt den Inhalt sichtbar unter den fixierten Header + gibt Luft nach oben */
.page-hero.page-top {
  padding-top: calc(var(--header-h) + 32px);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; text-align: center; width: 100%; }
.page-hero__desc { margin-left: auto; margin-right: auto; }
.page-hero__eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 12px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.page-hero__desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ---- Placeholder image ---- */
.img-placeholder {
  width: 100%;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.img-placeholder svg { opacity: 0.3; }
.img-placeholder--hero   { aspect-ratio: 16/7; }
.img-placeholder--wide   { aspect-ratio: 16/9; }
.img-placeholder--square { aspect-ratio: 1/1; }
.img-placeholder--tall   { aspect-ratio: 3/4; }
.img-placeholder--card   { aspect-ratio: 4/3; }

/* ---- Cards ---- */
.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px var(--shadow-md);
  transform: translateY(-3px);
}
.card__body { padding: 28px; }
.card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card__text { font-size: 0.92rem; margin-bottom: 20px; }
.card__link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.card__link:hover { gap: 10px; }
.card__link::after { content: '→'; }

/* ---- Grid layouts ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3-tight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.einblicke-teaser-grid { display: grid; gap: 20px; }
.einblicke-teaser-grid--1 { grid-template-columns: 1fr; }
.einblicke-teaser-grid--2 { grid-template-columns: repeat(2, 1fr); }
.einblicke-teaser-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---- Alt background sections ---- */
.section--alt { background: var(--cream-dark); }
.section--dark {
  background: var(--brown-dark);
  color: #fff;
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.7); }
.section--dark .section-header__eyebrow { color: var(--gold-light); }
.section--dark .ornament__line { background: rgba(255,255,255,0.15); }
.section--dark .ornament__icon { color: var(--gold-light); }
.section--blue {
  background: var(--blue);
  color: #fff;
}
.section--blue h2, .section--blue h3, .section--blue h4 { color: #fff; }
.section--blue p { color: rgba(255,255,255,0.8); }
.section--blue .section-header__eyebrow { color: rgba(255,255,255,0.6); }

/* ---- Intro split (text + image) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__text .eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.split__text h2 { margin-bottom: 20px; }
.split__text p  { margin-bottom: 20px; }
.split__text p:last-of-type { margin-bottom: 28px; }

/* ---- Stats bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
}
.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  margin-bottom: 40px;
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -28px;
  top: 7px;
  width: 13px;
  height: 13px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline__year {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.timeline__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 6px;
}
.timeline__text { font-size: 0.92rem; }

/* ---- Vorstand ---- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.board-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.board-card--lead {
  border-color: var(--gold);
  border-width: 1.5px;
}
.board-card__role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}
.board-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 10px;
}
.board-card__contact {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.board-card__contact a:hover { color: var(--gold); }

/* ---- Presse cards ---- */
.press-list { display: flex; flex-direction: column; gap: 20px; }
.press-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  cursor: pointer;
  width: 100%; text-align: left;
  font-family: inherit; font-size: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.press-item:hover { border-color: var(--gold); box-shadow: 0 2px 12px rgba(42,31,23,0.08); }
.press-item__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}
.press-item__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 4px;
}
.press-item__source { font-size: 0.85rem; color: var(--text-muted); }
.press-item__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.press-item__tag--presse { background: var(--cream-dark); color: var(--brown-mid); }
.press-item__tag--nachruf { background: var(--cream-dark); color: var(--brown-mid); }
/* ---- Event list ---- */
.event-grid { display: flex; flex-direction: column; gap: 16px; }
.event-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.event-item:hover {
  box-shadow: 0 4px 20px var(--shadow-md);
  border-color: var(--gold);
}

.event-date {
  text-align: center;
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 12px 8px;
  flex-shrink: 0;
}
.event-date__day {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1;
}
.event-date__month {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-info__category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  display: block;
}
.event-info__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 4px;
}
.event-info__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.event-info__meta span::before { margin-right: 4px; }

/* ---- Gallery grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.gallery-item .img-placeholder {
  height: 100%;
  min-height: 220px;
  transition: transform 0.4s ease;
}
.gallery-item:hover .img-placeholder {
  transform: scale(1.03);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 23, 0.5);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__label {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}

/* ---- Museum info block ---- */
.museum-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.info-block { margin-bottom: 28px; }
.info-block__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.info-block__value {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--brown-dark);
  font-weight: 500;
}
.info-block__value p { font-family: 'Lato', sans-serif; font-size: 0.95rem; }

/* ---- Opening hours table ---- */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child { font-weight: 700; color: var(--brown-dark); width: 55%; }
.hours-table td.closed { color: var(--text-muted); }

/* ---- Membership form ---- */
.form-section {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 56px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }

label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(154, 111, 40, 0.12);
}
textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 28px; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-detail__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-detail__value {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.6;
}
.contact-detail__value a:hover { color: var(--gold); }

/* ---- Map placeholder ---- */
.map-placeholder {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}
.map-placeholder svg { opacity: 0.3; }
.map-placeholder p {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--brown-dark);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,95,122,0.25) 0%, transparent 60%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 32px; }
.cta-banner .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.site-footer {
  background: #1C140E;
  color: rgba(255,255,255,0.55);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand__sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  display: block;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 300px; }

.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact p { font-size: 0.88rem; line-height: 1.5; margin-bottom: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.8rem;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-legal { display: flex; gap: 20px; }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Projekt feature cards ---- */
.projekt-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.projekt-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.projekt-item__icon {
  width: 48px;
  height: 48px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}
.projekt-item h4 { margin-bottom: 8px; font-size: 1rem; }
.projekt-item p  { font-size: 0.88rem; }

/* ---- Mitglied benefits ---- */
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.benefit-item__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.benefit-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.benefit-item p  { font-size: 0.84rem; }

/* ============================================================
   MODALS (Presse & Veranstaltungen)
   ============================================================ */
.pm-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(16,10,6,0.72); z-index: 9999;
  align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
}
.pm-overlay.open { display: flex; }
.pm-card {
  background: #fff; border-radius: var(--radius);
  max-width: 860px; width: 100%; margin: auto;
  position: relative; padding: 40px 48px;
  box-shadow: 0 12px 48px rgba(16,10,6,0.3);
}
.pm-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 2rem; line-height: 1;
  cursor: pointer; color: var(--text-muted); padding: 0;
}
.pm-close:hover { color: var(--brown-dark); }
.pm-type {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; display: inline-block; margin-bottom: 14px;
  background: var(--cream-dark); color: var(--brown-mid);
}
.pm-title {
  font-family: 'Playfair Display', serif; font-size: 1.5rem;
  font-weight: 700; color: var(--brown-dark); margin: 0 0 20px; line-height: 1.3;
}
.pm-meta {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  font-size: 0.85rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 24px;
}
.pm-online-link { margin-left: auto; color: var(--gold); font-weight: 700; text-decoration: none; white-space: nowrap; }
.pm-online-link:hover { text-decoration: underline; }
.pm-body p { font-size: 0.93rem; line-height: 1.8; color: var(--text-light); margin-bottom: 14px; }
.pm-body p:last-child { margin-bottom: 0; }
/* Nachruf */
.pm-nachruf-top {
  display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start;
  border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 24px;
}
.pm-photo { width: 150px; height: 190px; object-fit: cover; border-radius: var(--radius); display: block; border: 1px solid var(--border); }
.pm-photo-placeholder {
  width: 150px; height: 190px; border-radius: var(--radius);
  background: var(--cream-dark); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: var(--text-muted); text-align: center; padding: 12px;
}
.pm-dates { display: flex; flex-direction: column; gap: 4px; font-size: 0.88rem; color: var(--text-light); margin: 10px 0; }
.pm-rolle { font-size: 0.88rem; color: var(--text-muted); font-style: italic; margin: 0; }
.pm-source { font-size: 0.8rem; color: var(--text-muted); margin-top: 20px !important; }
/* Event-Modal Extras */
.pm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.pm-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pm-value { font-size: 0.93rem; color: var(--brown-dark); }
.pm-ul { margin: 6px 0 0; padding-left: 18px; }
.pm-ul li { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; margin-bottom: 3px; }
.pm-box { background: var(--cream-dark); border-radius: var(--radius); padding: 20px 24px; margin-top: 20px; }
.pm-box p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 8px; line-height: 1.65; }
.pm-box p:last-child { margin-bottom: 0; }
/* Modal – Bildzeile (Reise-Platzhalter) */
.pm-img-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 28px; }
.pm-img-ph {
  height: 120px; background: var(--cream-dark); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--text-muted); text-align: center; line-height: 1.4;
}
/* Modal – Abschnitts-Label */
.pm-section-lbl { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
/* Modal – Zeitstrahl */
.pm-timeline { display: flex; flex-direction: column; margin-bottom: 24px; }
.pm-tl-item { display: grid; grid-template-columns: 72px 28px 1fr; }
.pm-tl-day { font-size: 0.75rem; font-weight: 700; color: var(--brown-mid); text-align: right; align-self: start; padding-top: 4px; white-space: nowrap; }
.pm-tl-marker { display: flex; flex-direction: column; align-items: center; }
.pm-tl-marker::before { content: ''; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 5px; }
.pm-tl-marker::after { content: ''; display: block; width: 2px; background: var(--cream-dark); flex: 1; margin-top: 4px; }
.pm-tl-item:last-child .pm-tl-marker::after { display: none; }
.pm-tl-text { font-size: 0.87rem; color: var(--text-light); line-height: 1.55; align-self: start; padding: 3px 0 20px 8px; }
.pm-tl-item:last-child .pm-tl-text { padding-bottom: 0; }
/* Modal – Box innen zweispaltig */
.pm-box-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.pm-box-cols p { font-size: 0.87rem; color: var(--text-light); margin-bottom: 6px; line-height: 1.6; }
.pm-box-cols p:last-child { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3-tight { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }

  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
  .museum-info { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .event-item { grid-template-columns: 70px 1fr; }
  .event-item .btn { display: none; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .projekt-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 16px 8px; }
  .stat__number { font-size: 1.5rem; margin-bottom: 2px; }
  .stat__number--sm { font-size: 1.05rem; overflow-wrap: break-word; }
  .stat__label { font-size: 0.6rem; letter-spacing: 0.04em; }
  .form-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 0.72rem; }
  .footer-legal a { white-space: nowrap; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  /* Modals mobil */
  .pm-card { padding: 28px 20px; }
  .pm-nachruf-top { grid-template-columns: 1fr; }
  .pm-photo, .pm-photo-placeholder { width: 100%; height: 200px; }
  .pm-img-row { grid-template-columns: repeat(2, 1fr); }
  .pm-box-cols { grid-template-columns: 1fr; }
  .pm-tl-item { grid-template-columns: 60px 24px 1fr; }

  /* Buttons: Text darf umbrechen statt die Seite zu verbreitern */
  .btn { white-space: normal; text-align: center; overflow-wrap: break-word; word-break: break-word; }

  /* Inline-Grids, die die Seite mobil verbreitert haben */
  .grid-3-tight { grid-template-columns: 1fr; }
  .contact-ways-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .history-grid { grid-template-columns: 1fr; gap: 24px; }
  .einblicke-teaser-grid { grid-template-columns: 1fr; }

  .hours-table { table-layout: fixed; }

  .event-info__title, .event-info__meta { overflow-wrap: break-word; }
  .event-item { min-width: 0; }
  .event-item > * { min-width: 0; }
}

/* Unterseiten-Tabs: passen erst ab ~1060px ohne Umbruch/Scroll in eine Zeile */
@media (max-width: 1060px) {
  .uu-subnav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Schatten am rechten Rand als sichtbarer Hinweis: hier geht's weiter */
    box-shadow: inset -18px 0 12px -12px rgba(42,31,23,0.25);
  }
}
.gallery-ph {
  background: var(--cream-dark); border: 1px dashed var(--border);
  border-radius: var(--radius); height: 100px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; color: var(--text-muted); font-style: italic;
}

/* ---- Klaro Cookie-Consent: an das Farb-/Schriftschema angleichen ---- */
.klaro {
  --font-family: 'Lato', sans-serif;
  --title-font-family: 'Playfair Display', serif;
  --green1: var(--gold);
  --green2: var(--gold-light);
  --blue1: var(--gold);
  --blue2: var(--gold-light);
  --dark1: var(--text);
  --dark2: var(--text-light);
  --dark3: rgba(255, 255, 255, 0.72);
  --light1: #fff;
  --light2: var(--cream);
  --light3: var(--border-light);
  --white2: var(--text-light);
  --white3: #fff;
  --button-text-color: #fff;
  --border-radius: var(--radius);
}
.js-cookie-settings { cursor: pointer; }
