/* =====================================================================
   Verein zur Förderung von Wissenschaft und Praxis der Mediation e. V.
   Design nach dem Original: Marcellus/Roboto, Navy #15355A, Gelb #FFD534,
   Creme #FCF5EC, Akzent #1C3E72, Text #525762, Tan #B58C5A
   ===================================================================== */

:root {
  --navy: #15355a;
  --navy-deep: #0e2744;
  --navy-soft: #1c3e72;
  --gold: #ffd534;
  --gold-dark: #e6be1e;
  --gold-soft: #fff6d6;
  --cream: #fcf5ec;
  --cream-deep: #f5ebdd;
  --tan: #b58c5a;
  --blue-soft: #ebf1f9;
  --line: #d3d8e3;
  --text: #525762;
  --muted: #717887;
  --ink: #15355a;
  --surface: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(21, 53, 90, 0.1);
  --shadow-lg: 0 24px 55px rgba(21, 53, 90, 0.2);
  --serif: "Marcellus", Georgia, "Times New Roman", serif;
  --sans: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.22;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }

.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 500;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(21, 53, 90, 0.18); }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-dark); }

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

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

.btn--outline-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: rgba(255, 255, 255, 0.05); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }

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

.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.88rem; }



.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 20px;
  background: transparent;
}
.site-header > .container { position: relative; }

.site-header__top {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 86px;
}
.brand {
  display: block;
  background: #fff;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  padding: 5px;
  margin-bottom: -62px;
  position: relative;
  z-index: 2;
}
.brand img { width: 285px; }
.brand:hover { text-decoration: none; opacity: 0.94; }
.brand--bar { display: none; }

.site-header__contact {
  position: absolute;
  right: 0;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: #fff;
  font-size: 0.92rem;
}
.site-header__contact a {
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-shadow: 0 1px 8px rgba(9, 26, 46, 0.45);
}
.site-header__contact a:hover { color: var(--gold); text-decoration: none; }
.site-header__contact svg { width: 18px; height: 18px; fill: currentColor; }

.site-header__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  padding: 0.35rem 1rem;
  min-height: 64px;
}
.header-cta .btn { text-transform: uppercase; letter-spacing: 0.2px; font-size: 14px; font-weight: 700; padding: 14px 24px; }

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav > ul > li { position: relative; }
.nav > ul > li > a,
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.nav > ul > li > a:hover,
.nav__toggle:hover,
.nav > ul > li.is-active > a { color: var(--navy-soft); text-decoration: none; background: var(--blue-soft); }

.nav .caret { width: 10px; height: 10px; fill: currentColor; transition: transform 0.2s; }
.nav li:hover > .nav__toggle .caret,
.nav li:focus-within > .nav__toggle .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 245px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.45rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav li:hover > .dropdown,
.nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.93rem;
}
.dropdown a:hover { background: var(--blue-soft); color: var(--navy-soft); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 0.8rem; }

.nav__mobile-cta { display: none; }

.nav-burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: 0.2s;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }

/* ---------- Hero with original background ---------- */

.hero {
  position: relative;
  color: #fff;
  text-align: center;
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(14, 39, 68, 0.82) 0%, rgba(21, 53, 90, 0.6) 45%, rgba(14, 39, 68, 0.8) 100%),
    url("../img/hintergrund-header.jpg");
  background-position: top center, center center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 213, 52, 0));
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(17rem, 27vw, 22rem) 0 clamp(10rem, 17vw, 14.5rem);
  max-width: 800px;
  margin-inline: auto;
}
.hero h1 {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0.02em;
  line-height: 1.18;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 24px rgba(9, 26, 46, 0.5);
}
.hero h1 .hero__accent { color: var(--gold); }
.hero__swash { width: min(360px, 72%); height: auto; display: block; margin: 0 auto 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 0; }

/* ---------- Sections ---------- */

.section { padding: clamp(3.2rem, 6.5vw, 5.4rem) 0; }
.section--alt { background: var(--surface); }
.section--cream { background: linear-gradient(180deg, var(--cream), var(--cream-deep)); }
.section--blue {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
}
.section--blue h2, .section--blue h3 { color: #fff; }

.content-narrow { max-width: 820px; }

.kicker {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--tan);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.banner-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  margin-top: 1.6rem;
}

.footer-year {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.section-head { max-width: 780px; margin-bottom: 2.4rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 0.7rem;
}
.section--blue .eyebrow { color: var(--gold); }

/* ---------- Split (Bild + Text) ---------- */

.split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 5vw, 4.2rem); align-items: center; }
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.split p:last-child { margin-bottom: 0; }
.split__actions { margin-top: 1.4rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }




.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.6rem;
}
.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member-card__photo {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  background: var(--blue-soft);
}
.member-card__body { padding: 1.2rem 1.2rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.member-card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.member-card__role { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.member-card__link {
  margin-top: auto;
  align-self: center;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.member-card__link:hover { text-decoration: none; border-color: var(--navy); }

/* ---------- Profilseite ---------- */

.profile {
  display: grid;
  grid-template-columns: minmax(260px, 350px) 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
}
.profile__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.profile__role { font-weight: 500; color: var(--tan); margin-bottom: 1.2rem; }
.profile__bio { font-size: 1.03rem; }
.profile__contact { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Termine ---------- */

.event-list { display: grid; gap: 1.4rem; }
.event {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.4rem;
}
.event__date {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 0.8rem 0.5rem;
  align-self: start;
}
.event__day { font-family: var(--serif); font-size: 1.9rem; line-height: 1; display: block; }
.event__month { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }
.event h3 { margin-bottom: 0.4rem; }
.event__meta { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.6rem; }
.event__meta strong { color: var(--ink); }
.event--past { border-left-color: var(--line); }

details.accordion {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0;
}
details.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1.2rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--navy-soft);
  font-weight: 400;
}
details.accordion[open] summary::after { content: "–"; }
details.accordion .accordion__body { padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: 0.95rem; }
.accordion-list { display: grid; gap: 0.6rem; }

.calendar-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

/* ---------- Beitragsarchiv (Aktuelles) ---------- */

.year-block { margin-bottom: 2.6rem; }
.year-block h2 {
  font-size: 1.6rem;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
  padding-bottom: 0.2rem;
  margin-bottom: 1.1rem;
}
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.news-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  border: 1px solid transparent;
}
.news-list li:hover { background: #fff; border-color: var(--line); }
.news-list .news-date { flex: 0 0 150px; color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.news-list .news-title { font-weight: 400; }
.news-list .news-title.local { font-weight: 500; }
.news-list .news-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-soft);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  margin-left: 0.5rem;
  white-space: nowrap;
}

/* ---------- Artikel ---------- */

.article { max-width: 820px; margin-inline: auto; }
.article__meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.6rem; }
.article__image { border-radius: var(--radius); margin: 1.8rem 0; box-shadow: var(--shadow); }
.article blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.4rem;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
}
.article__back { margin-top: 2.5rem; }

/* ---------- Prose (Rechtstexte) ---------- */

.prose { max-width: 820px; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.35rem; }

/* ---------- Formulare ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-grid .span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.2rem; }
.field label { font-weight: 500; font-size: 0.92rem; color: var(--navy); }
.field .hint { font-size: 0.82rem; color: var(--muted); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(255, 213, 52, 0.45);
  border-color: var(--navy-soft);
}
.checkline { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; margin-bottom: 0.5rem; }
.checkline input { margin-top: 0.35rem; }
.form-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-note { font-size: 0.88rem; color: var(--muted); max-width: 46rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
fieldset legend { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 0.8rem; }

.countdown {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.4rem 0 0.6rem;
}
.countdown__cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-width: 86px;
  padding: 0.8rem 0.6rem;
  text-align: center;
}
.countdown__value { font-family: var(--serif); font-size: 1.8rem; color: var(--navy); display: block; line-height: 1.1; }
.countdown__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.countdown__note { font-size: 0.9rem; color: var(--muted); }

/* ---------- Page-Hero (Unterseiten, gleicher Hintergrund) ---------- */

.page-hero {
  position: relative;
  color: #fff;
  background-color: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(14, 39, 68, 0.86) 0%, rgba(21, 53, 90, 0.62) 50%, rgba(14, 39, 68, 0.82) 100%),
    url("../img/hintergrund-header.jpg");
  background-position: top center, center center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  padding: clamp(16rem, 24vw, 20rem) 0 clamp(4.5rem, 9vw, 7rem);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 213, 52, 0));
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; text-shadow: 0 2px 20px rgba(9, 26, 46, 0.4); }
.page-hero p { color: rgba(255, 255, 255, 0.9); max-width: 46rem; margin: 0; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.95); }

.page-hero--small { padding: clamp(13rem, 19vw, 16rem) 0 clamp(3rem, 5vw, 4rem); }
.page-hero--small::after { height: 3px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
}
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
  padding: clamp(2.8rem, 5vw, 4.2rem) 0 clamp(2.2rem, 4vw, 3rem);
}
.footer-grid h3 {
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.94rem; }
.footer-brand img { width: 180px; background: #fff; border-radius: 10px; padding: 0.5rem 0.7rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; margin-bottom: 0.6rem; }
.footer-contact { display: grid; gap: 0.45rem; font-size: 0.94rem; }
.footer-social { display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Hinweisboxen ---------- */

.notice {
  background: var(--gold-soft);
  border: 1px solid #f0d98a;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.93rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 380px; }
  .split__media img { aspect-ratio: 16 / 10; }
}

@media (max-width: 860px) {
  .site-header { padding-top: 0; }
  .site-header__top { display: none; }
  .brand--bar {
    display: block;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
  }
  .brand--bar img { width: 170px; }
  .site-header__bar {
    border-radius: 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
    min-height: 64px;
    padding: 0.35rem 1.1rem;
  }
  .hero, .page-hero { background-attachment: scroll, scroll; }
  .hero__inner { padding: 8rem 0 5.5rem; }
  .page-hero { padding: 8.5rem 0 3.5rem; }
  .page-hero--small { padding: 7.5rem 0 2rem; }
  .nav-burger { display: inline-flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    background: #fff;
    padding: 5.5rem 1.3rem 2rem;
    box-shadow: -20px 0 50px rgba(21, 53, 90, 0.3);
    display: none;
    overflow-y: auto;
    z-index: 120;
  }
  .nav.is-open { display: block; animation: nav-ein 0.22s ease; }
  @keyframes nav-ein {
    from { transform: translateX(28px); opacity: 0; }
    to { transform: none; opacity: 1; }
  }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav > ul > li > a, .nav__toggle { width: 100%; justify-content: space-between; border-radius: 10px; padding: 0.8rem 0.9rem; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--gold);
    border-radius: 0;
    padding: 0.2rem 0 0.2rem 0.6rem;
    margin-left: 0.9rem;
    display: none;
    min-width: 0;
  }
  .nav li.is-open > .dropdown { display: block; }
  .nav .caret { transition: transform 0.2s; }
  .nav li.is-open > .nav__toggle .caret { transform: rotate(180deg); }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(14, 39, 68, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 95;
  }
  .nav-backdrop.is-visible { opacity: 1; visibility: visible; }
  .header-cta .btn { display: none; }
  .topbar__links .topbar__email { display: none; }
  .nav__mobile-cta { display: block; margin-top: 1rem; }
  .nav__mobile-cta .btn { width: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__claim { display: none; }
  .topbar__inner { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .event { grid-template-columns: 1fr; }
  .event__date { justify-self: start; min-width: 110px; }
  .news-list li { flex-direction: column; gap: 0.2rem; }
  .news-list .news-date { flex-basis: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand--bar img { width: 150px; }
  .hero__inner { padding: 7rem 0 4.5rem; }
}

/* =====================================================================
   Unterseiten – Original-Details
   ===================================================================== */

/* Hero-Verzierung: gestrichelte Linie mit Pfeil */

.hero-divider, .divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 520px;
  margin: 1.7rem auto 0;
}
.hero-divider__line, .divider__line {
  flex: 1;
  border-top: 1px dashed rgba(255, 255, 255, 0.6);
}
.hero-divider__icon, .divider__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.hero-divider__icon svg, .divider__icon svg { width: 18px; height: 18px; }
.divider--dark { margin: 1.6rem auto; }
.divider--dark .divider__line { border-top-color: var(--navy-soft); }
.divider--dark .divider__icon { background: var(--navy-soft); color: #fff; }

.page-hero { text-align: center; }
.page-hero h1 { margin-bottom: 0; }
.page-hero .container { max-width: 900px; }

/* Seitenweite Original-Hintergründe */

.page-hero--foto1 {
  background-image:
    linear-gradient(180deg, rgba(14, 39, 68, 0.86) 0%, rgba(21, 53, 90, 0.62) 50%, rgba(14, 39, 68, 0.82) 100%),
    url("../img/hero-foto1-opt.jpg");
}
.page-hero--kaffee {
  background-image:
    linear-gradient(180deg, rgba(14, 39, 68, 0.86) 0%, rgba(21, 53, 90, 0.62) 50%, rgba(14, 39, 68, 0.82) 100%),
    url("../img/hero-kaffee-opt.jpg");
}
.page-hero--gericht {
  background-image:
    linear-gradient(180deg, rgba(14, 39, 68, 0.9) 0%, rgba(21, 53, 90, 0.68) 50%, rgba(14, 39, 68, 0.86) 100%),
    url("../img/hero-gericht-opt.jpg");
}

/* Seite ohne Foto-Kopf (Mitglied werden wie im Original) */

.page-top { height: 250px; background: var(--surface); }
.page-plain .site-header__contact a { color: var(--navy-soft); text-shadow: none; }
.page-plain .site-header__contact a:hover { color: var(--gold-dark); }

/* Mitglieder-Karten im Original-Stil */

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}
.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.member-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.member-card__photo {
  width: 100%;
  max-width: 374px;
  height: 250px;
  object-fit: contain;
  border-radius: 4px;
  margin: 0 auto 1.1rem;
  background: #fff;
}
.member-card h3 { font-size: 20px; margin: 8px 0 4px; }
.member-card__role { color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 1.7rem; }
.member-card__link {
  margin-top: auto;
  align-self: center;
  font-weight: 500;
  font-size: 15px;
  color: var(--navy-soft);
  border-bottom: 0;
  padding-bottom: 0;
}
.member-card__link::after { content: " →"; }
.member-card__link:hover { text-decoration: none; color: var(--navy); border-color: transparent; }

/* Formularseiten im Original-Stil */

.section--form { padding-top: clamp(2.4rem, 5vw, 4rem); }
.form-head { text-align: center; max-width: 900px; margin: 0 auto; }
.form-head h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.5rem);
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.form-head__address, .form-head__links { color: var(--muted); font-size: 15px; margin: 0.2rem 0; }
.form-head__links a { color: var(--navy-soft); }
.form-intro { max-width: 900px; margin: 1.4rem auto 0; color: var(--text); font-size: 15px; }
.wide-form { max-width: 1080px; margin: 0 auto; }
.wide-form .form-grid { gap: 1.4rem 1.6rem; }
.wide-form .field { gap: 0; margin-bottom: 0; }
.wide-form .field label { font-size: 15px; font-weight: 500; color: var(--text); padding-bottom: 8px; }
.wide-form .field input,
.wide-form .field textarea {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 16px;
  color: var(--text);
  background: #fff;
}
.wide-form .field textarea { min-height: 160px; }
.form-block { border: 0; padding: 0; margin: 2.2rem 0 0; }
.group-label { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 0.7rem; }
.form-block p { font-size: 14px; color: var(--muted); }
.checkline { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 15px; margin-bottom: 0.5rem; cursor: pointer; }
.checkline input { margin-top: 0.3rem; accent-color: var(--navy-soft); width: 16px; height: 16px; flex: 0 0 auto; }
.btn--block {
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2rem;
}
.form-note { margin-top: 0.9rem; }

/* Beitrags-Archiv im Original-Stil */

.post-list { display: grid; gap: 1.4rem; margin-bottom: 2.6rem; }
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.6rem 1.8rem 0;
  transition: box-shadow 0.2s ease;
}
.post-card:hover { box-shadow: var(--shadow); }
.post-card__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 0.8rem;
  color: var(--navy-soft);
}
.post-card__title a { color: inherit; }
.post-card__excerpt { color: var(--muted); font-size: 15px; margin-bottom: 1rem; }
.post-card__more {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.2rem;
}
.post-card__more:hover { text-decoration: none; color: var(--navy-soft); }
.post-card__meta {
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
  font-size: 13px;
  color: var(--muted);
}
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.4rem; }
.post-grid .post-card { padding: 1.4rem 1.5rem 0; }
.post-grid .post-card__title { font-size: 18px; }
.post-grid .post-card__more { margin-bottom: 1rem; }

/* Mobile Feinheiten */

@media (max-width: 980px) {
  .member-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .member-card__photo { height: 230px; }
}

@media (max-width: 860px) {
  .page-top { height: 104px; }
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-top { height: 96px; }
  .member-grid { grid-template-columns: 1fr; }
  .member-card__photo { height: 220px; }
  .post-card { padding: 1.3rem 1.3rem 0; }
  .post-card__title { font-size: 19px; }
  .form-head h3 { font-size: 1.25rem; }
  .hero-divider, .divider { max-width: 86%; }
  .wide-form .field input, .wide-form .field textarea { font-size: 16px; }
}
