/* ==========================================================================
   Narraria Club Aken 1875 e.V. — modern & karnevalstauglich
   Farben aus dem Vereinswappen: Rot, Weiß, Gold auf festlichem Dunkel
   Display-Schrift: Fraunces (selbst gehostet, DSGVO-konform)
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/fraunces-v38-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/fraunces-v38-latin-900.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/fraunces-v38-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/fraunces-v38-latin-600italic.woff2") format("woff2");
}

:root {
  --rot: #cf1330;
  --rot-dunkel: #8e0f22;
  --gold: #e8b93c;
  --gold-hell: #f6d878;
  --creme: #fdf6ea;
  --nacht: #17090e;        /* tiefes Bordeaux-Schwarz */
  --nacht-2: #241016;
  --nacht-3: #321721;
  --text: #f4e9dc;
  --text-dim: #c9b4a6;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 14px;
  --shadow: 0 18px 50px -18px rgba(23, 9, 14, .75);
  --nav-h: 68px;
  --hairline: rgba(244, 233, 220, .14);
  --hairline-gold: rgba(232, 185, 60, .28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(207, 19, 48, .18), transparent 60%),
    radial-gradient(900px 500px at 10% 30%, rgba(232, 185, 60, .07), transparent 60%),
    var(--nacht);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Feines Korn gegen sterile Flächen */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .04;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-hell); }

/* ---------- Scrollbalken im Seiten-Look ---------- */
html { scrollbar-color: #4a2634 var(--nacht); }
* { scrollbar-color: #4a2634 transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #4a2634; border-radius: 999px;
  border: 3px solid var(--nacht); background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: #6b3346; background-clip: padding-box; }

::selection { background: rgba(207, 19, 48, .55); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: min(1120px, 92vw); margin-inline: auto; }
.center { text-align: center; margin-top: 2rem; }
.muted { color: var(--text-dim); }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--nacht); padding: .6rem 1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; letter-spacing: .02em;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-hell), var(--gold) 55%, #c9932a);
  color: #3a2404; box-shadow: 0 10px 30px -10px rgba(232, 185, 60, .55);
}
.btn-gold:hover { box-shadow: 0 14px 36px -10px rgba(232, 185, 60, .75); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(244, 233, 220, .35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hell); }
.btn-sm { padding: .45rem 1rem; font-size: .9rem; }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(23, 9, 14, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .6);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav-brand {
  display: flex; align-items: center; gap: .6rem; text-decoration: none;
  color: var(--text); font-size: 1.2rem;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .01em;
}
.nav-brand img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.nav-brand strong { color: var(--gold); font-weight: 600; }
.nav-menu { display: flex; gap: .3rem; list-style: none; align-items: center; }
.nav-menu a {
  display: block; padding: .55rem .9rem; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .97rem;
  transition: background .2s ease, color .2s ease;
}
.nav-menu a:hover { background: rgba(232, 185, 60, .14); color: var(--gold-hell); }
.nav-menu .nav-cta { background: var(--rot); color: #fff; margin-left: .4rem; }
.nav-menu .nav-cta:hover { background: var(--rot-dunkel); color: #fff; }
.nav-toggle { display: none; }

/* Dropdown unter „Über uns“ */
.nav-dropdown { position: relative; }
.nav-caret { font-size: .7em; opacity: .7; }
.nav-sub {
  position: absolute; top: calc(100% + 6px); left: .4rem; z-index: 101;
  list-style: none; min-width: 11rem; padding: .45rem;
  background: rgba(23, 9, 14, .96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 185, 60, .22); border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(6px); pointer-events: none; visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.nav-dropdown:hover .nav-sub, .nav-dropdown:focus-within .nav-sub {
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  transition-delay: 0s;
}
/* unsichtbare Brücke, damit das Menü beim Überfahren der Lücke nicht zuklappt */
.nav-dropdown::after { content: ""; position: absolute; inset: 100% 0 -8px 0; }
.nav-sub a { border-radius: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--nav-h) + 3rem) 0 6rem; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 480px at 50% 115%, rgba(207, 19, 48, .22), transparent 65%),
    radial-gradient(700px 380px at 50% -10%, rgba(232, 185, 60, .1), transparent 60%),
    var(--nacht-2);
}
#confetti { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-inner { display: grid; justify-items: center; gap: 1.1rem; }
.hero-logo {
  width: clamp(130px, 22vw, 210px); height: auto;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .65));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px) rotate(1.5deg); } }
.hero-kicker {
  text-transform: uppercase; letter-spacing: .35em; font-size: .85rem;
  color: var(--gold); font-weight: 700;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 7.5vw, 5rem); line-height: 1.04;
  letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff, var(--creme) 55%, #d9bd8d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
.hero-slogan {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.7rem); color: var(--text-dim);
}
.hero-slogan span { color: var(--gold-hell); font-weight: 600; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; margin-top: .4rem; }

.countdown { margin-top: 1.8rem; }
.countdown-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .18em; color: var(--text-dim); margin-bottom: .8rem; }
.countdown-grid { display: flex; gap: .7rem; justify-content: center; }
.countdown-grid > div {
  min-width: 78px; padding: .8rem .6rem; border-radius: 14px;
  background: rgba(253, 246, 234, .06); border: 1px solid rgba(232, 185, 60, .25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.countdown-grid b {
  display: block; font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--gold-hell);
}
.countdown-grid small { color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; color: var(--nacht); line-height: 0; }
.hero-wave svg { width: 100%; height: clamp(30px, 6vw, 90px); }

/* ---------- Sektionen ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-alt {
  /* dezentes Rautenmuster — ein Hauch Harlekin */
  background:
    repeating-linear-gradient(45deg, rgba(232, 185, 60, .03) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-45deg, rgba(232, 185, 60, .03) 0 1px, transparent 1px 30px),
    var(--nacht-2);
}
.section-kicker {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  text-transform: lowercase; letter-spacing: .01em;
  font-size: 1.1rem; color: var(--gold); margin-bottom: .3rem;
}
.section h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.3rem, 5.5vw, 3.6rem); line-height: 1.05;
  letter-spacing: -.015em; color: var(--creme);
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
  text-wrap: balance;
}

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.about-text p { font-size: 1.12rem; color: var(--text); max-width: 62ch; text-wrap: pretty; }
.about-text > p::first-letter {
  font-family: var(--font-display); font-weight: 900; font-style: normal;
  float: left; font-size: 3.4em; line-height: .82;
  padding: .06em .13em 0 0; color: var(--gold-hell);
}
.about-facts { display: grid; grid-template-columns: 1fr; }
.fact {
  display: flex; align-items: baseline; gap: 1.2rem;
  padding: 1.05rem 0; border-top: 1px solid var(--hairline-gold);
}
.fact:last-child { border-bottom: 1px solid var(--hairline-gold); }
.fact b {
  font-family: var(--font-display); font-weight: 600; font-size: 2.1rem;
  color: var(--gold-hell); min-width: 6.2rem; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.fact span { font-size: .95rem; color: var(--text-dim); }

/* ---------- Gruppen als Index ---------- */
.gruppen-index { list-style: none; counter-reset: gruppe; }
.gruppen-index li {
  display: grid; grid-template-columns: 3.6rem 1fr 1.4fr;
  gap: .4rem 2rem; align-items: baseline;
  padding: 1.5rem .4rem; border-top: 1px solid var(--hairline);
  transition: background .3s ease;
}
.gruppen-index li:last-child { border-bottom: 1px solid var(--hairline); }
.gruppen-index li:hover { background: rgba(253, 246, 234, .03); }
.gi-num {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 1rem; color: var(--text-dim);
  transition: color .3s ease;
}
.gruppen-index li:hover .gi-num { color: var(--gold); }
.gruppen-index h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15;
  color: var(--creme); letter-spacing: -.01em;
  transition: color .3s ease;
}
.gruppen-index li:hover h3 { color: var(--gold-hell); }
.gruppen-index p { color: var(--text-dim); font-size: .98rem; max-width: 52ch; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin-top: 1rem; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 2.4rem; }
.tl-year {
  font-family: var(--font-display); font-weight: 600; font-size: 1.7rem;
  line-height: 1.15; text-align: right; color: var(--gold);
  letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  padding-top: .1rem;
}
.tl-body {
  position: relative; border-left: 1px solid var(--hairline-gold);
  padding: 0 0 3rem 2.4rem;
}
.timeline li:last-child .tl-body { padding-bottom: .5rem; }
.tl-body::before {
  content: ""; position: absolute; left: -5px; top: .55rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold);
}
.tl-body h3 {
  font-family: var(--font-display); font-weight: 600;
  color: var(--creme); margin-bottom: .4rem; font-size: 1.35rem;
}
.tl-body p { color: var(--text-dim); max-width: 62ch; text-wrap: pretty; }

/* Ausklappbare Volltexte in der Timeline */
.tl-details { margin-top: .8rem; }
.tl-details summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold); font-weight: 700; font-size: .92rem;
  transition: color .2s ease;
}
.tl-details summary::-webkit-details-marker { display: none; }
.tl-details summary::before {
  content: "+"; font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; line-height: 1;
  transition: transform .3s ease;
}
.tl-details[open] summary::before { transform: rotate(45deg); }
.tl-details summary:hover { color: var(--gold-hell); }
.tl-details .tl-full { margin-top: 1rem; display: grid; gap: .9rem; }
.tl-verse {
  font-family: var(--font-display); font-style: italic;
  color: var(--text); padding-left: 1.1rem;
  border-left: 2px solid var(--hairline-gold);
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.news-card {
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  background: var(--nacht-3);
  transition: transform .35s ease, box-shadow .35s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
/* Der neueste Beitrag als großes Feature */
.news-grid > .news-card:first-child {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch;
}
.news-grid > .news-card:first-child .news-img { aspect-ratio: auto; height: 100%; min-height: 320px; }
.news-grid > .news-card:first-child .news-body { padding: 2.2rem 2.4rem; align-self: center; }
.news-grid > .news-card:first-child h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.news-img {
  padding: 0; border: 0; cursor: zoom-in; display: block; width: 100%;
  aspect-ratio: 16 / 10; overflow: hidden; background: var(--nacht-2);
}
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .35rem; }
.news-body time {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  color: var(--gold); text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.news-body h3 {
  font-family: var(--font-display); font-weight: 600;
  color: var(--creme); font-size: 1.2rem; line-height: 1.25; text-wrap: balance;
}
.news-body p { color: var(--text-dim); font-size: .95rem; }
.news-grid > :nth-child(3n+2) { transition-delay: .07s; }
.news-grid > :nth-child(3n+3) { transition-delay: .14s; }
.news-card { cursor: pointer; }
.news-open {
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  font: inherit; color: inherit; letter-spacing: inherit;
}
.news-more-hint {
  margin-top: .4rem; font-size: .82rem; font-weight: 700; color: var(--gold);
  opacity: 0; transform: translateY(3px);
  transition: opacity .25s ease, transform .25s ease;
}
.news-card:hover .news-more-hint, .news-card:focus-within .news-more-hint { opacity: 1; transform: none; }

/* ---------- News-Modal ---------- */
.news-modal {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center;
  background: rgba(10, 4, 6, .85); padding: 3vmin;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fadeIn .25s ease;
}
.news-modal-panel {
  position: relative; width: min(880px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--nacht-2); border-radius: var(--radius);
  border: 1px solid rgba(232, 185, 60, .18);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
  overscroll-behavior: contain;
}
.news-modal-close {
  position: sticky; top: 0; float: right; z-index: 1;
  font-size: 2rem; line-height: 1; padding: 0 .2rem;
  background: none; border: 0; color: var(--creme); cursor: pointer;
  transition: transform .2s ease, color .2s ease;
}
.news-modal-close:hover { transform: rotate(90deg); color: var(--gold); }
.news-modal-content time {
  font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  color: var(--gold); text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.news-modal-content h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem); line-height: 1.15;
  color: var(--creme); margin: .3rem 0 1rem; text-wrap: balance; letter-spacing: -.01em;
}
.nm-text { display: grid; gap: .8rem; }
.nm-text p { color: var(--text-dim); max-width: 65ch; text-wrap: pretty; }
.nm-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.5rem;
}
.nm-gallery button {
  padding: 0; border: 0; cursor: zoom-in; border-radius: 8px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--nacht-3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.nm-gallery button:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.nm-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Termine ---------- */
.termine-list { list-style: none; margin-top: 1rem; border-top: 1px solid var(--hairline); }
.termin {
  display: grid; grid-template-columns: 130px 1fr; gap: 1.8rem; align-items: baseline;
  padding: 1.6rem .4rem; border-bottom: 1px solid var(--hairline);
  transition: background .3s ease;
}
.termin:hover { background: rgba(253, 246, 234, .03); }
.termin-date b {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 2.6rem; line-height: .95; color: var(--gold-hell);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.termin-date span {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-dim);
}
.termin-body h3 {
  font-family: var(--font-display); font-weight: 600;
  color: var(--creme); font-size: 1.3rem;
}
.termin-meta { color: var(--gold); font-size: .9rem; font-weight: 700; margin: .15rem 0 .3rem; }
.termin-body p { color: var(--text-dim); font-size: .95rem; max-width: 68ch; }

/* ---------- Galerie ---------- */
.album-title {
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  margin: 2.4rem 0 1rem; color: var(--gold-hell); font-size: 1.3rem;
}
.galerie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; grid-auto-flow: dense; }
.galerie-item {
  padding: 0; border: 0; cursor: zoom-in; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--nacht-3);
  transition: transform .3s ease, box-shadow .3s ease;
}
/* Das erste Bild jedes Albums groß */
.galerie-grid > .galerie-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.galerie-item:hover { transform: scale(1.02); box-shadow: var(--shadow); z-index: 1; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; }
.galerie-grid > :nth-child(2n) { transition-delay: .06s; }

/* ---------- Kontakt ---------- */
.kontakt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.kontakt-info h3, .kontakt-card h3 {
  font-family: var(--font-display); font-weight: 600;
  color: var(--gold-hell); margin-bottom: .8rem; font-size: 1.45rem;
}
.kontakt-info address { font-style: normal; color: var(--text-dim); margin-bottom: 1.2rem; }
.kontakt-links { display: grid; gap: .4rem; }
.kontakt-links a {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--text);
  transition: color .2s ease;
}
.kontakt-links a:hover { color: var(--gold-hell); }
.kontakt-links svg { flex: none; color: var(--gold); }
.social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.kontakt-card {
  padding: 2rem 1.9rem; border-radius: var(--radius);
  background: var(--nacht-3);
}
.kontakt-form { display: grid; gap: 1rem; margin-top: 1rem; }
.kontakt-form label { display: grid; gap: .35rem; font-weight: 700; font-size: .92rem; }
.kontakt-form input, .kontakt-form textarea {
  font: inherit; color: var(--text); padding: .75rem .9rem;
  background: rgba(253, 246, 234, .06); border: 1px solid rgba(253, 246, 234, .18);
  border-radius: 10px; transition: border-color .2s ease, box-shadow .2s ease;
}
.kontakt-form input:focus, .kontakt-form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 185, 60, .2);
}
.kontakt-form small { font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer {
  background: #100609; border-top: 1px solid rgba(232, 185, 60, .15);
  padding: 2.5rem 0; text-align: center; color: var(--text-dim); font-size: .95rem;
}
.footer-inner { display: grid; gap: .5rem; }
.footer-slogan {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  color: var(--gold); font-size: 1.15rem;
}
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--gold-hell); }
.footer-credit { margin-top: .8rem; font-size: .85rem; opacity: .8; }
.footer-credit a { text-decoration-color: rgba(232, 185, 60, .4); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(10, 4, 6, .92); padding: 4vmin;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { max-width: min(1100px, 94vw); text-align: center; }
.lightbox img {
  max-width: 100%; max-height: 82vh; margin-inline: auto;
  border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .8);
}
.lightbox figcaption { margin-top: .8rem; color: var(--text-dim); }
.lightbox-close {
  position: absolute; top: 14px; right: 20px; font-size: 2.4rem; line-height: 1;
  background: none; border: 0; color: var(--creme); cursor: pointer;
  transition: transform .2s ease, color .2s ease;
}
.lightbox-close:hover { transform: rotate(90deg); color: var(--gold); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2rem; line-height: 1; padding-bottom: 4px;
  background: rgba(23, 9, 14, .55); border: 1px solid rgba(244, 233, 220, .2);
  color: var(--creme); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lightbox-nav:hover { background: rgba(23, 9, 14, .85); color: var(--gold-hell); border-color: var(--hairline-gold); }
.lightbox-prev { left: clamp(8px, 3vw, 32px); }
.lightbox-next { right: clamp(8px, 3vw, 32px); }
.lightbox-count {
  display: block; margin-top: .35rem; font-size: .8rem;
  color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: .08em;
}

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   Mobil
   ========================================================================== */
@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid > .news-card:first-child { grid-template-columns: 1fr; }
  .news-grid > .news-card:first-child .news-img { aspect-ratio: 16 / 10; min-height: 0; }
  .news-grid > .news-card:first-child .news-body { padding: 1.4rem 1.5rem 1.7rem; }
  .galerie-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .gruppen-index li { grid-template-columns: 2.4rem 1fr; }
  .gruppen-index p { grid-column: 2; }
  .timeline li { grid-template-columns: 1fr; gap: .4rem; }
  .tl-year { text-align: left; padding-left: 2.4rem; }
  .tl-body { padding-left: 2.4rem; padding-bottom: 2.4rem; }

  /* Mobile Navigation (ab 900px, sonst überläuft das Menü) */
  .nav-toggle {
    display: grid; gap: 5px; background: none; border: 0; cursor: pointer; padding: .6rem;
  }
  .nav-toggle span {
    width: 24px; height: 2.5px; border-radius: 2px; background: var(--creme);
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: rgba(23, 9, 14, .97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    padding: 1rem 6vw 1.6rem; border-bottom: 1px solid rgba(232, 185, 60, .2);
    transform: translateY(-115%); transition: transform .35s cubic-bezier(.2, .7, .3, 1);
  }
  .nav-menu.open { transform: none; }
  .nav-menu a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-menu .nav-cta { margin-left: 0; text-align: center; margin-top: .4rem; }

  /* Unterseiten haben nur den Zurück-Link und keinen Hamburger: Menü bleibt in der Leiste */
  .nav-menu.nav-back {
    position: static; flex-direction: row; transform: none;
    background: none; border: 0; padding: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav-menu.nav-back a { padding: .5rem .7rem; font-size: .95rem; }

  /* Dropdown im Mobilmenü: einfach eingerückt darunter anzeigen */
  .nav-caret { display: none; }
  .nav-sub {
    position: static; opacity: 1; transform: none; pointer-events: auto; visibility: visible;
    background: none; border: 0; box-shadow: none; padding: 0 0 0 1.2rem; min-width: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav-sub a { font-size: .95rem; color: var(--text-dim); padding: .5rem 1rem; }
  .nav-dropdown::after { display: none; }
}

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
  .nm-gallery { grid-template-columns: repeat(2, 1fr); }
  .fact b { min-width: 5rem; font-size: 1.8rem; }
  .termin { grid-template-columns: 92px 1fr; gap: 1.1rem; padding: 1.2rem .2rem; }
  .termin-date b { font-size: 2rem; }
  .countdown-grid > div { min-width: 66px; padding: .6rem .4rem; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #confetti { display: none; }
}
