/* ==========================================================================
   Heimatverein Alt-Ahrweiler e.V. — site.css
   Handgeschriebenes Stylesheet, ersetzt das alte Template-CSS komplett.
   Palette abgeleitet vom Vereinssiegel: Spätburgunder-Rot, Pergament,
   Schiefer, Dachziegel-Petrol, Rebgold.
   ========================================================================== */

/* ---- Schriften (selbst gehostet, kein externer Request) ---- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---- Design-Tokens ---- */
:root {
  --wine: #5f1222;
  --wine-deep: #470d19;
  --seal: #a8232a;
  --gold: #c2932f;
  --roof: #2f6661;
  --paper: #faf5ed;
  --paper-2: #f1e8da;
  --card: #fffefb;
  --ink: #271f1b;
  --muted: #6f6259;
  --line: #e4d9c9;
  --schiefer: #211a17;
  --schiefer-2: #2e2521;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(39, 31, 27, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(39, 31, 27, 0.28);

  --header-h: 76px;
  --topbar-h: 40px;
}

/* ---- Basis ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
/* Anker-Ziele nicht unter dem klebenden Header verschwinden lassen */
[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--wine);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--seal);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
  text-wrap: balance;
}
p {
  margin: 0 0 1em;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--wine);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* Unsichtbar, aber für Screenreader lesbar (z. B. Formular-Labels) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---- Eyebrow / Sektions-Kopf ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--gold);
}
.section-head {
  max-width: 620px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head.centered {
  margin-inline: auto;
  text-align: center;
}
.section-head.centered .eyebrow::after {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--gold);
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin-bottom: 0.35em;
}
.section-head .lead {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.section--tint {
  background: var(--paper-2);
}
.section--card {
  background: var(--card);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: var(--wine);
  color: #fff;
  border: 2px solid var(--wine);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn:hover {
  background: var(--wine-deep);
  border-color: var(--wine-deep);
  color: #fff;
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--wine);
}
.btn--outline:hover {
  background: var(--wine);
  color: #fff;
}
.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--schiefer);
  color: #d8cfc6;
  font-size: 0.85rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.topbar-item svg {
  color: var(--gold);
  flex: none;
}
.topbar a {
  color: #f3ece4;
  font-weight: 500;
}
.topbar a:hover {
  color: var(--gold);
}
.topbar-group {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 237, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(39, 31, 27, 0.4);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: none;
}
.brand img {
  width: 50px;
  height: 50px;
  flex: none;
  filter: drop-shadow(0 2px 6px rgba(39, 31, 27, 0.25));
  transition: transform 0.3s ease;
}
.brand:hover img {
  transform: rotate(-6deg) scale(1.04);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--seal);
  margin-top: 0.2rem;
}

/* ---- Navigation (Desktop) ---- */
.site-nav ul.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-list > li {
  position: relative;
}
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.6rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  border-radius: 999px;
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li.is-current > a {
  color: var(--wine);
  background: rgba(95, 18, 34, 0.07);
}
.nav-list .caret {
  width: 9px;
  height: 9px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 215px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-list > li:hover > .sub-menu,
.nav-list > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
}
.sub-menu a:hover {
  background: var(--paper-2);
  color: var(--wine);
}

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

/* ---- Burger + mobiles Menü ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 0 11px;
  z-index: 130;
}
.nav-toggle span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1219px) {
  .header-cta .btn {
    display: none;
  }
}
@media (max-width: 1099px) {
  .topbar-group .topbar-item:first-child {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  /* Kein Blur auf Mobil: backdrop-filter würde das fixe Menü-Overlay
     im Header einsperren (containing block) statt am Viewport auszurichten */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--paper);
  }
  .brand {
    position: relative;
    z-index: 130;
  }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: var(--paper);
    padding: calc(var(--topbar-h) + var(--header-h) + 1.5rem) 1.5rem 2rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  body.nav-open {
    overflow: hidden;
  }
  .site-nav ul.nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 480px;
    margin-inline: auto;
  }
  .nav-list > li {
    border-bottom: 1px solid var(--line);
  }
  .nav-list > li > a {
    padding: 1rem 0.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
  }
  .nav-list > li > a:hover,
  .nav-list > li.is-current > a {
    background: none;
  }
  .sub-menu {
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: none;
    padding: 0 0 0.75rem 0.9rem;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-list > li.sub-open > .sub-menu {
    display: block;
  }
  .nav-list > li.sub-open .caret {
    transform: rotate(225deg) translateY(-2px);
  }
  .sub-menu a {
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    color: var(--muted);
  }
}

/* ==========================================================================
   Hero-Slider
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: grid;
  background: var(--schiefer);
  overflow: hidden;
}
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide.is-active .hero-media img {
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(78deg, rgba(24, 8, 12, 0.78) 8%, rgba(24, 8, 12, 0.45) 46%, rgba(24, 8, 12, 0.12) 78%);
}
.hero-caption {
  position: relative;
  z-index: 3;
  padding-block: clamp(5rem, 12vh, 8rem);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero-eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--gold);
}
.hero-title {
  color: #fff;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 600;
  max-width: 14ch;
  margin-bottom: 1.4rem;
}
.hero-title strong {
  font-weight: 700;
  color: #f6d9a0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero-slide .hero-eyebrow,
.hero-slide .hero-title,
.hero-slide .hero-actions {
  opacity: 0;
  transform: translateY(24px);
}
.hero-slide.is-active .hero-eyebrow,
.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-actions {
  animation: rise 0.8s ease forwards;
}
.hero-slide.is-active .hero-title {
  animation-delay: 0.15s;
}
.hero-slide.is-active .hero-actions {
  animation-delay: 0.3s;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.6rem;
  display: flex;
  gap: 0.6rem;
}
.hero-dots button {
  width: 34px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.25s ease;
}
.hero-dots button.is-active {
  background: var(--gold);
}
.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}
.hero-arrow:hover {
  background: var(--wine);
}
.hero-arrow.prev {
  left: 1.2rem;
}
.hero-arrow.next {
  right: 1.2rem;
}
@media (max-width: 767px) {
  .hero-arrow {
    display: none;
  }
}

/* Signatur: rotierendes Siegel — voll sichtbar innerhalb des Heros */
.hero-seal {
  position: absolute;
  z-index: 6;
  right: clamp(1.5rem, 6vw, 5.5rem);
  bottom: clamp(0.75rem, 1.8vw, 1.5rem);
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
}
.hero-seal img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  box-shadow: 0 10px 34px -8px rgba(24, 8, 12, 0.5);
  background: #fff;
}
.hero-seal svg {
  position: absolute;
  inset: 0;
  animation: sealspin 36s linear infinite;
}
.hero-seal svg text {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  fill: var(--seal);
}
@keyframes sealspin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 767px) {
  .hero-seal {
    display: none;
  }
}

/* ==========================================================================
   Split-Sektion (Infotafel)
   ========================================================================== */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
  }
}
.split-media {
  position: relative;
}
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.55;
}
.split-body h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}
.split-body .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

/* Bankverbindungen */
.bank-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow);
}
.bank-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.bank-box h3::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--gold);
  margin-top: 0.6rem;
}
.bank-card + .bank-card {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
}
.bank-card strong {
  display: block;
  margin-bottom: 0.25rem;
}
.bank-card p {
  margin: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.bank-box + .bank-box {
  margin-top: 1.4rem;
}

/* Beitragstabelle */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.fee-table td {
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}
.fee-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--wine);
  white-space: nowrap;
}
.fee-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Textseiten */
.prose {
  max-width: 720px;
}
.check-list {
  margin-bottom: 1.4em;
}
.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.45em;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 1rem;
  height: 2px;
  background: var(--gold);
}
.prose .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

/* ==========================================================================
   Aufgaben-Karten
   ========================================================================== */
.task-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.task-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.task-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.task-icon {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(95, 18, 34, 0.08);
  color: var(--wine);
  transition: background 0.25s ease, color 0.25s ease;
}
.task-card:hover .task-icon {
  background: var(--wine);
  color: #f6d9a0;
}
.task-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.3em;
}
.task-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ==========================================================================
   Vorstand
   ========================================================================== */
.board-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
/* Reihenfolge auf breiten Bildschirmen: 4 Personen, dann 3 / 3 / 3 */
@media (min-width: 900px) {
  .board-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .board-grid .person {
    grid-column: span 4;
  }
  .board-grid .person:nth-child(-n + 4) {
    grid-column: span 3;
  }
}
.person {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.4rem 1.6rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.person:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.person-photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.1rem;
  outline: 3px solid var(--paper);
  outline-offset: -3px;
  border: 3px solid var(--seal);
  padding: 3px;
  background: var(--paper);
}
.person h3 {
  font-size: 1.14rem;
  margin-bottom: 0.15em;
}
.person-role {
  color: var(--seal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.person-mail {
  display: inline-block;
  max-width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--roof);
  word-break: break-all;
}
.person-mail:hover {
  color: var(--wine);
}

/* Platzhalter, solange kein Foto vorliegt: Initialen im Kreis */
.person-photo--initials {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border: 3px solid var(--seal);
  background: var(--paper-2);
  color: var(--wine);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   CTA-Banner (Mundart / Newsletter)
   ========================================================================== */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
}
.cta > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(46, 9, 18, 0.82), rgba(24, 8, 12, 0.72));
}
.cta .eyebrow {
  color: var(--gold);
}
.cta .eyebrow::before,
.cta .eyebrow::after {
  background: var(--gold);
}
.cta h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  max-width: 22ch;
  margin-inline: auto;
}
.cta p {
  max-width: 56ch;
  margin: 0 auto 1.8rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Newsletter-Formular */
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  max-width: 480px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  padding: 0.6rem 1.1rem;
  font: inherit;
  color: #fff;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.newsletter-form input:focus {
  outline: none;
}
.newsletter-form .btn {
  flex: none;
}
@media (max-width: 479px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--radius);
  }
  .newsletter-form .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Ehrenplätze
   ========================================================================== */
.honor-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.honor-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.honor-card img {
  width: 100%;
  aspect-ratio: 370 / 303;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.honor-card:hover img {
  transform: scale(1.05);
}
.honor-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.4rem 1.3rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(24, 8, 12, 0.85));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
}
.honor-card figcaption small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8d9b8;
  margin-top: 0.25rem;
}

/* Ehrenmitglieder-Liste (Über-uns-Seite) */
.honor-list {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
}
.honor-entry {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border-top: 3px solid var(--gold);
}
.honor-entry h3 {
  font-size: 1.14rem;
  margin-bottom: 0.2em;
}
.honor-since {
  margin: 0;
  color: var(--seal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.honor-passed {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Galerie
   ========================================================================== */
.gallery-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 1.1rem;
  padding-block: 0.4rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 300;
  color: #fff;
  background: rgba(46, 9, 18, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
}
.lightbox::backdrop {
  background: rgba(24, 8, 12, 0.88);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--wine);
}
.lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
}
.lightbox-nav.prev {
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-nav.next {
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Zähler (Über uns)
   ========================================================================== */
.stats-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  text-align: center;
}
.stat {
  padding: 1.6rem 1rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--wine);
  line-height: 1;
}
.stat-label {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ==========================================================================
   Unterseiten-Hero (Über uns)
   ========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding-block: clamp(4rem, 9vw, 6.5rem);
  background: var(--schiefer);
  overflow: hidden;
}
.page-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(78deg, rgba(24, 8, 12, 0.82), rgba(24, 8, 12, 0.5));
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.3em;
}
.breadcrumb {
  display: flex;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.breadcrumb a {
  color: var(--gold);
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.6rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--schiefer);
  color: #cfc5bb;
  font-size: 0.96rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}
.footer-brand img {
  width: 56px;
  height: 56px;
}
.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.2;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.site-footer h4::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--gold);
  margin-top: 0.6rem;
}
.footer-list li {
  margin-bottom: 0.65rem;
}
.footer-list a {
  color: #cfc5bb;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-list a:hover {
  color: var(--gold);
}
.footer-list svg {
  color: var(--gold);
  flex: none;
}
.footer-news time {
  display: block;
  font-size: 0.8rem;
  color: #97897d;
  margin-bottom: 0.9rem;
}
.footer-news a {
  color: #f3ece4;
  font-weight: 500;
}
.footer-news a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--schiefer-2);
  padding-block: 1.3rem;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.social {
  display: flex;
  gap: 0.6rem;
}
.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #cfc5bb;
  border: 1px solid var(--schiefer-2);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social a:hover {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}
.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: #97897d;
}
.footer-bottom a {
  color: #cfc5bb;
}
.footer-bottom a:hover {
  color: var(--gold);
}

/* ==========================================================================
   Reveal-Animationen
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
