/* ═══════════════════════════════════════════════════════════
   HANSE WIRD 60 – Hauptstylesheet
   Design: Dunkel-Gold, cinematisch, hochwertig
   ═══════════════════════════════════════════════════════════ */

/* ── Fallback für Sonderzeichen die Bebas Neue nicht enthält ── */
@font-face {
  font-family: 'SymbolFix';
  src: local('.SFNS'), local('Helvetica Neue'), local('Roboto'), local('Arial');
  unicode-range: U+221E, U+00B1, U+2665, U+2713;
}

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --bg:          #09090f;
  --bg-card:     #111120;
  --bg-surface:  #181830;
  --bg-elevated: #1e1e38;

  --gold:        #c9a84c;
  --gold-2:      #e8c86a;
  --gold-pale:   #f5e8b8;
  --gold-dim:    rgba(201,168,76,0.15);
  --gold-border: rgba(201,168,76,0.22);

  --text:        #f0ebe0;
  --text-2:      #9b96b4;
  --text-3:      #6a658a;
  --white:       #ffffff;

  --red:         #c0392b;
  --green:       #27ae60;

  --border:      rgba(255,255,255,0.07);
  --shadow:      0 8px 40px rgba(0,0,0,0.7);
  --shadow-lg:   0 20px 80px rgba(0,0,0,0.9);

  --r:           12px;
  --r-sm:        8px;
  --r-lg:        20px;
  --r-xl:        32px;

  --max-w:       1200px;
  --pad-x:       clamp(1.25rem, 5vw, 2.5rem);
  --section-y:   clamp(5rem, 10vw, 9rem);

  --f-display:  'Bebas Neue', 'Impact', 'Arial Narrow', sans-serif;
  --f-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body:     'Inter', system-ui, -apple-system, sans-serif;

  --ease:        0.3s ease;
  --ease-slow:   0.7s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.15; }

/* ── Accessibility ─────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* ── Scroll-Reveal ─────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(0.88); }
[data-reveal="left"].visible,
[data-reveal="right"].visible,
[data-reveal="scale"].visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Utils ─────────────────────────────────────────────── */
.wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad-x); }
.gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: var(--ease); position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #09090f;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,.4); }
.btn-outline { border: 2px solid var(--gold-border); color: var(--gold); }
.btn-outline:hover { background: var(--gold-dim); border-color: var(--gold); }
.btn-ghost { border: 2px solid var(--border); color: var(--text-2); }
.btn-ghost:hover { border-color: var(--gold-border); color: var(--gold); }
.btn-lg { padding: 1.1rem 2.75rem; font-size: 1.125rem; }
.btn-xl { padding: 1.25rem 3.25rem; font-size: 1.25rem; letter-spacing: .02em; }

/* ── Navigation ────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 0; transition: padding var(--ease), background var(--ease);
}
.site-nav.scrolled {
  background: rgba(9,9,15,.92);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand {
  font-family: var(--f-display);
  font-size: 1.6rem; letter-spacing: .08em; color: var(--gold);
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: .85rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-2);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: #09090f;
  padding: .45rem 1.25rem; border-radius: 50px;
  font-size: .85rem; font-weight: 700;
  transition: var(--ease);
}
.nav-cta:hover { background: var(--gold-2); transform: translateY(-1px); }

/* ── Intro Screen ──────────────────────────────────────── */
#intro-screen {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2.5rem; text-align: center;
}
.intro-big-num {
  position: absolute;
  font-family: var(--f-display);
  font-size: min(50vw, 28rem);
  color: rgba(201,168,76,.04);
  user-select: none; pointer-events: none;
  line-height: 1;
}
.intro-phrase {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-style: italic; color: var(--text);
  min-height: 3.5rem;
  position: relative; z-index: 1;
}
.intro-cursor {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--gold); margin-left: 3px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
.intro-skip {
  font-size: .85rem; color: var(--text-3);
  border-bottom: 1px solid var(--text-3); padding-bottom: 2px;
  transition: color var(--ease), border-color var(--ease);
  position: relative; z-index: 1;
}
.intro-skip:hover { color: var(--gold); border-color: var(--gold); }
.intro-out { animation: fadeOut .8s forwards; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; pointer-events: none; } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* ── Hero ──────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 55% 45%;
  position: relative; overflow: hidden;
}
.hero-bg-number {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: min(42vw, 52rem);
  color: rgba(201,168,76,.04);
  user-select: none; pointer-events: none;
  line-height: .85; z-index: 0;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(6rem,10vw,9rem) clamp(1.5rem,5vw,4rem) clamp(3rem,5vw,5rem);
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: 50px; padding: .35rem 1rem;
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gold);
  width: fit-content; margin-bottom: 2rem;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 9vw, 10rem);
  letter-spacing: .02em; line-height: .9;
  margin-bottom: 1.75rem;
}
.hero-title span {
  display: block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 60%, var(--gold-pale) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-family: var(--f-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic; color: var(--text-2);
  max-width: 42ch; margin-bottom: 2.5rem;
}
.hero-meta {
  display: flex; flex-direction: column; gap: .65rem;
  margin-bottom: 3rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--gold-border);
  border-radius: var(--r); width: fit-content;
}
.hero-meta-row {
  display: flex; align-items: baseline; gap: .75rem;
  font-size: .95rem;
}
.hero-meta-icon { color: var(--gold); width: 18px; text-align: center; flex-shrink: 0; }
.hero-meta-label { color: var(--text-3); font-size: .78rem; min-width: 4.5rem; }
.hero-meta-val { color: var(--text); font-weight: 600; }
.hero-meta-placeholder { color: var(--gold); font-style: italic; font-size: .88rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-img-wrap {
  position: relative; overflow: hidden;
}
.hero-img-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, rgba(9,9,15,.4) 35%, transparent 60%);
  z-index: 1; pointer-events: none;
}
.hero-img-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1; pointer-events: none;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(.88) saturate(.92);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%; height: 100%;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(.88) saturate(.92);
  display: block;
}

/* ── Section Base ──────────────────────────────────────── */
.section { padding-block: var(--section-y); }

.section-eyebrow {
  font-family: var(--f-display);
  font-size: .82rem; letter-spacing: .22em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; margin-bottom: 1rem;
}
.section-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2); font-style: italic;
  max-width: 52ch; margin-inline: auto;
}
.section-header { text-align: center; margin-bottom: 4rem; }

.gold-line { width: 60px; height: 2px; background: linear-gradient(to right, var(--gold), transparent); margin: 1.25rem auto; }

/* ── About / Intro Text ────────────────────────────────── */
#ueber { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%); }
.intro-block {
  max-width: 68ch; margin-inline: auto; text-align: center;
}
.intro-lead {
  font-family: var(--f-serif);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-style: italic; font-weight: 700;
  color: var(--text); line-height: 1.5;
  margin-bottom: 2rem;
}
.intro-body {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-2); line-height: 1.8;
}
.intro-body p + p { margin-top: 1.25rem; }
.intro-body .highlight { color: var(--text); font-weight: 500; }

/* ── Zeitreise (Photo Journey) ─────────────────────────── */
#zeitreise { background: var(--bg-card); }

.phase-wrap { margin-bottom: clamp(4rem, 8vw, 7rem); }
.phase-wrap:last-child { margin-bottom: 0; }

.phase-header {
  display: flex; align-items: flex-start; gap: 1.5rem;
  margin-bottom: 3rem;
}
.phase-num {
  font-family: var(--f-display);
  font-size: clamp(5rem, 10vw, 7rem);
  line-height: 1; color: rgba(201,168,76,.1);
  flex-shrink: 0; margin-top: -.25rem;
}
.phase-meta {}
.phase-era {
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--gold); margin-bottom: .25rem;
}
.phase-title {
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700; color: var(--text);
}
.phase-desc {
  font-style: italic; color: var(--text-2);
  margin-top: .5rem; max-width: 44ch;
  font-size: .975rem;
}

/* Polaroid Grid (Kind) */
.polaroid-grid {
  display: flex; flex-wrap: wrap;
  gap: 1.75rem 2rem;
  justify-content: center;
  padding: 1rem 0 2rem;
}
.polaroid {
  background: #fcf8f0;
  padding: 10px 10px 44px;
  box-shadow: var(--shadow-lg);
  transform: rotate(var(--r, -2.5deg));
  transition: transform .35s, box-shadow .35s;
  cursor: pointer;
  position: relative;
}
.polaroid:nth-child(2) { --r: 2.2deg; }
.polaroid:nth-child(3) { --r: -1.5deg; }
.polaroid:nth-child(4) { --r: 3deg; }
.polaroid:nth-child(5) { --r: -2deg; }
.polaroid:nth-child(6) { --r: 1.8deg; }
.polaroid:hover {
  transform: rotate(0deg) scale(1.07) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,1), 0 0 0 1px rgba(201,168,76,.4);
  z-index: 10;
}
.polaroid img {
  width: 190px; height: 200px;
  object-fit: cover; object-position: center top;
  display: block; pointer-events: none;
}
.polaroid-cap {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  text-align: center;
  font-size: .72rem; color: #555;
  font-style: italic; line-height: 1.3;
  opacity: 0; transition: opacity .3s;
}
.polaroid:hover .polaroid-cap,
.polaroid:focus-within .polaroid-cap { opacity: 1; }

/* Captions nur in der Lightbox, nicht in der Galerie */
.polaroid-cap,
.filmstrip-cap,
.aktuell-cap { display: none !important; }

/* Slider-Navigation für Kind + Aktuell */
.gallery-nav {
  display: none;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* Filmstrip (Erwachsen) */
.filmstrip-outer {
  position: relative;
  margin-inline: calc(-1 * var(--pad-x));
}
.filmstrip-fade-l,
.filmstrip-fade-r {
  position: absolute; top: 0; bottom: 0; width: 80px;
  pointer-events: none; z-index: 2;
}
.filmstrip-fade-l { left: 0; background: linear-gradient(to right, var(--bg-card), transparent); }
.filmstrip-fade-r { right: 0; background: linear-gradient(to left, var(--bg-card), transparent); }

.filmstrip {
  display: flex; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 1rem var(--pad-x) 1.5rem;
}
.filmstrip::-webkit-scrollbar { display: none; }

.filmstrip-item {
  flex-shrink: 0; scroll-snap-align: start;
  overflow: hidden; border-radius: var(--r-sm);
  cursor: pointer; position: relative;
}
.filmstrip-item img {
  width: 270px; height: 370px;
  object-fit: cover; object-position: center top;
  transition: transform .45s, filter .45s;
  filter: saturate(.8) brightness(.9);
}
.filmstrip-item:hover img { transform: scale(1.05); filter: saturate(1) brightness(.95); }
.filmstrip-cap {
  position: absolute; inset-x: 0; bottom: 0;
  padding: 2.5rem .85rem .85rem;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  font-size: .8rem; color: #fff; font-style: italic;
  opacity: 0; transition: opacity .3s;
}
.filmstrip-item:hover .filmstrip-cap { opacity: 1; }

.filmstrip-nav {
  display: flex; justify-content: center;
  gap: .75rem; margin-top: 1.5rem;
}
.filmstrip-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--gold-border); color: var(--text-2);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.filmstrip-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* Aktuell Grid */
.aktuell-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: .85rem;
}
.aktuell-item {
  overflow: hidden; border-radius: var(--r-sm);
  cursor: pointer; position: relative;
}
.aktuell-item:nth-child(1) { grid-column: 1; grid-row: span 2; }
.aktuell-item:nth-child(2) { grid-column: 2; }
.aktuell-item:nth-child(3) { grid-column: 3; }
.aktuell-item:nth-child(4) { grid-column: 2 / span 2; }
.aktuell-item:nth-child(5) { grid-column: 1; }
.aktuell-item:nth-child(6) { grid-column: 2; }
.aktuell-item:nth-child(7) { grid-column: 3; }

.aktuell-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  min-height: 240px;
  transition: transform .5s; display: block;
}
.aktuell-item:nth-child(1) img { min-height: 500px; }
.aktuell-item:hover img { transform: scale(1.04); }
.aktuell-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 45%, rgba(0,0,0,.75));
  opacity: 0; transition: opacity .3s;
}
.aktuell-item:hover .aktuell-overlay { opacity: 1; }
.aktuell-cap {
  position: absolute; bottom: .85rem; left: .85rem; right: .85rem;
  color: #fff; font-size: .8rem; font-style: italic;
  opacity: 0; transition: opacity .3s;
}
.aktuell-item:hover .aktuell-cap { opacity: 1; }

/* ── Fun Stats ─────────────────────────────────────────── */
#funfacts {
  background: linear-gradient(160deg, var(--bg) 0%, #16103a 100%);
}
.funfacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem; margin-bottom: 4rem;
}
.funfact {
  text-align: center; padding: 2.25rem 1.5rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--r-lg);
  background: rgba(201,168,76,.04);
  transition: var(--ease);
}
.funfact:hover {
  background: rgba(201,168,76,.08); transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,0,0,.6);
}
.funfact-num {
  font-family: 'SymbolFix', var(--f-display);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1; margin-bottom: .5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.funfact-label {
  font-size: .85rem; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .08em;
}

.humor-pills {
  display: flex; flex-wrap: wrap;
  gap: 1rem; justify-content: center;
}
.humor-pill {
  padding: .8rem 1.6rem;
  border: 1px solid var(--gold-border); border-radius: 50px;
  font-family: var(--f-serif); font-style: italic;
  color: var(--text-2); font-size: .95rem;
  text-align: center; white-space: pre-line;
  transition: var(--ease);
}
.humor-pill:hover { border-color: var(--gold); color: var(--gold-pale); background: var(--gold-dim); }

/* ── Party Info ────────────────────────────────────────── */
#party { background: var(--bg-card); }
.party-layout {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 4rem; align-items: start;
}
.party-details {}
.detail-row {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--border);
}
.detail-row:first-child { padding-top: 0; }
.detail-row:last-child { border-bottom: none; }
.detail-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--gold);
}
.detail-body {}
.detail-label {
  font-size: .75rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-3); margin-bottom: .2rem;
}
.detail-val { font-size: 1.05rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.detail-sub { font-size: .88rem; color: var(--text-2); margin-top: .2rem; }
.detail-placeholder { color: var(--gold); font-style: italic; font-size: .9rem; }

.party-side { position: sticky; top: 6rem; }
.party-card {
  background: linear-gradient(145deg, rgba(201,168,76,.1), rgba(201,168,76,.04));
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl); padding: 2.5rem 2rem;
  text-align: center;
}
.party-card-emoji { font-size: 3rem; margin-bottom: 1rem; }
.party-card-headline {
  font-family: var(--f-display);
  font-size: 3rem; letter-spacing: .05em; color: var(--gold);
  margin-bottom: .5rem; line-height: 1;
}
.party-card-sub {
  font-family: var(--f-serif); font-style: italic;
  color: var(--text-2); font-size: 1rem;
  line-height: 1.6; margin-bottom: 2rem;
}
.party-card-map { width: 100%; }

/* ── RSVP ──────────────────────────────────────────────── */
#rsvp {
  background: linear-gradient(160deg, var(--bg) 0%, #150d2e 100%);
  text-align: center;
  padding-block: clamp(6rem, 12vw, 10rem);
  position: relative; overflow: hidden;
}
.rsvp-bg-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: min(65vw, 42rem);
  color: rgba(201,168,76,.04);
  pointer-events: none; user-select: none;
  line-height: 1;
}
.rsvp-inner { position: relative; z-index: 1; }
.rsvp-title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  letter-spacing: .03em; line-height: .9;
  background: linear-gradient(135deg, var(--text) 30%, var(--gold-2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 1.25rem;
}
.rsvp-sub {
  font-family: var(--f-serif); font-style: italic;
  color: var(--text-2);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  max-width: 50ch; margin-inline: auto;
  line-height: 1.7; margin-bottom: 3rem;
}
.rsvp-deadline {
  font-size: .875rem; color: var(--text-3); margin-top: 1.75rem;
}
.rsvp-deadline span { color: var(--gold); }

/* ── Modal ─────────────────────────────────────────────── */
.modal-veil {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-veil.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  padding: clamp(2rem,5vw,3rem) clamp(1.5rem,4vw,2.5rem);
  max-width: 520px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  transform: scale(.94) translateY(16px);
  transition: transform .35s;
  position: relative;
}
.modal-veil.open .modal-box { transform: scale(1) translateY(0); }
.modal-close-btn {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border); color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; transition: var(--ease);
}
.modal-close-btn:hover { border-color: var(--gold); color: var(--gold); }

.modal-heading {
  font-family: var(--f-serif);
  font-size: 1.8rem; font-weight: 700; margin-bottom: .5rem;
}
.modal-desc { color: var(--text-2); font-style: italic; font-size: .95rem; margin-bottom: 2rem; }

/* Form */
.f-group { margin-bottom: 1.25rem; }
.f-label {
  display: block; margin-bottom: .45rem;
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--text-2);
}
.f-label .req { color: var(--gold); margin-left: 2px; }
.f-input, .f-select, .f-textarea {
  width: 100%; padding: .875rem 1rem;
  background: rgba(255,255,255,.045);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color var(--ease), background var(--ease);
}
.f-input::placeholder, .f-textarea::placeholder { color: var(--text-3); }
.f-input:focus, .f-select:focus, .f-textarea:focus {
  outline: none; border-color: var(--gold);
  background: rgba(201,168,76,.06);
}
.f-input.err, .f-textarea.err { border-color: var(--red); }
.f-err-msg { font-size: .78rem; color: var(--red); margin-top: .3rem; display: none; }
.f-err-msg.show { display: block; }
.f-textarea { min-height: 96px; resize: vertical; }
.f-select { appearance: none; cursor: pointer; }
.f-select option {
  background-color: #111120;
  color: #f0ebe0;
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-privacy {
  font-size: .78rem; color: var(--text-3); line-height: 1.55;
  margin-bottom: 1.5rem;
}
.f-privacy a { color: var(--text-2); text-decoration: underline; }
.f-hp { display: none !important; } /* honeypot */

.f-submit {
  width: 100%; padding: 1rem; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #09090f; font-weight: 700; font-size: 1rem;
  transition: var(--ease);
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.f-submit:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,168,76,.45); }
.f-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.f-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(0,0,0,.2); border-top-color: #09090f;
  animation: spin .7s linear infinite; display: none;
}
.loading .f-spinner { display: block; }
.loading .btn-text { opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }

.f-error-banner {
  background: rgba(192,57,43,.1);
  border: 1px solid rgba(192,57,43,.3);
  color: #e74c3c; font-size: .88rem;
  padding: .875rem 1rem; border-radius: var(--r-sm);
  margin-bottom: 1.25rem; display: none;
}
.f-error-banner.show { display: block; }

/* Success state */
.modal-success {
  text-align: center; padding: 2rem 0; display: none;
}
.modal-success.show { display: block; }
.modal-form.hide { display: none; }
.success-emoji { font-size: 4rem; margin-bottom: 1.25rem; }
.success-title {
  font-family: var(--f-serif);
  font-size: 1.8rem; font-weight: 700; color: var(--gold-2);
  margin-bottom: .75rem;
}
.success-text { color: var(--text-2); line-height: 1.65; }

/* ── Lightbox ──────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.96);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: var(--r-sm); }
.lb-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,.2); }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.lb-prev { left: 1.25rem; } .lb-next { right: 1.25rem; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.2); }
.lb-caption { display: none; }

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem; text-align: center;
}
.footer-brand {
  font-family: var(--f-display);
  font-size: 2.25rem; letter-spacing: .08em; color: var(--gold);
  margin-bottom: .35rem;
}
.footer-tagline {
  font-family: var(--f-serif); font-style: italic;
  color: var(--text-3); font-size: .9rem; margin-bottom: 2rem;
}
.footer-nav {
  display: flex; gap: 2rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2rem;
}
.footer-nav a { font-size: .83rem; color: var(--text-3); transition: color var(--ease); }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: .78rem; color: var(--text-3); }

/* ══ ADMIN PAGE ════════════════════════════════════════════ */
.admin-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex; flex-direction: column;
}
.admin-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.admin-header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.admin-brand { font-family: var(--f-display); font-size: 1.4rem; color: var(--gold); }
.admin-main { flex: 1; padding: 2rem 0; }

/* Login */
.login-wrap {
  max-width: 400px; margin: clamp(3rem,8vw,6rem) auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2.5rem;
}
.login-title { font-family: var(--f-serif); font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.login-sub { color: var(--text-2); font-size: .9rem; margin-bottom: 2rem; }

/* Stats bar */
.stats-bar {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.25rem 1.75rem;
  min-width: 160px; flex: 1;
}
.stat-num {
  font-family: var(--f-display);
  font-size: 2.5rem; color: var(--gold); line-height: 1;
  margin-bottom: .25rem;
}
.stat-label { font-size: .8rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }

/* Table */
.tbl-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
}
.tbl-toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.tbl-search {
  display: flex; gap: .5rem; align-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: .4rem .85rem;
  flex: 1; max-width: 300px;
}
.tbl-search input {
  background: none; border: none; color: var(--text);
  font: inherit; font-size: .9rem; width: 100%;
}
.tbl-search input:focus { outline: none; }
.tbl-search input::placeholder { color: var(--text-3); }
.tbl-search-icon { color: var(--text-3); }
.tbl-actions { display: flex; gap: .5rem; }
.tbl-btn {
  padding: .45rem 1rem; border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 600;
  border: 1px solid var(--gold-border); color: var(--gold);
  transition: var(--ease);
}
.tbl-btn:hover { background: var(--gold-dim); }

table { width: 100%; border-collapse: collapse; }
thead th {
  text-align: left; padding: .85rem 1rem;
  font-size: .75rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-3);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  cursor: pointer; user-select: none;
}
thead th:hover { color: var(--gold); }
tbody tr { border-bottom: 1px solid var(--border); transition: background var(--ease); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,.025); }
tbody tr.cancelled { opacity: .45; }
td { padding: .875rem 1rem; font-size: .9rem; color: var(--text); vertical-align: middle; }
td.muted { color: var(--text-2); font-size: .82rem; }
.badge {
  display: inline-block; padding: .2rem .65rem;
  border-radius: 50px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
}
.badge-ok { background: rgba(39,174,96,.15); color: #2ecc71; border: 1px solid rgba(39,174,96,.3); }
.badge-cancel { background: rgba(192,57,43,.15); color: #e74c3c; border: 1px solid rgba(192,57,43,.3); }
.tbl-empty { text-align: center; padding: 4rem; color: var(--text-2); font-style: italic; }
.row-actions { display: flex; gap: .5rem; }
.row-btn {
  padding: .3rem .7rem; border-radius: var(--r-sm);
  font-size: .75rem; border: 1px solid var(--border); color: var(--text-2);
  transition: var(--ease);
}
.row-btn:hover { border-color: var(--gold-border); color: var(--gold); }
.row-btn.danger:hover { border-color: rgba(192,57,43,.5); color: var(--red); }

/* Sort indicator */
.sort-asc::after { content: ' ↑'; }
.sort-desc::after { content: ' ↓'; }

/* ══ DATENSCHUTZ PAGE ══════════════════════════════════════ */
.simple-page { max-width: 760px; margin-inline: auto; padding: 7rem var(--pad-x) 5rem; }
.simple-page h1 { font-family: var(--f-serif); font-size: 2.25rem; margin-bottom: 2.5rem; }
.simple-page h2 { font-family: var(--f-serif); font-size: 1.35rem; margin: 2rem 0 .75rem; color: var(--gold-2); }
.simple-page p { color: var(--text-2); line-height: 1.75; margin-bottom: 1rem; }
.simple-page a { color: var(--gold); text-decoration: underline; }

/* ══ RESPONSIVE ════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .party-layout { grid-template-columns: 1fr; }
  .party-side { position: static; }
  .aktuell-grid { grid-template-columns: 1fr 1fr; }
  .aktuell-item:nth-child(1) { grid-column: 1 / -1; grid-row: span 1; }
  .aktuell-item:nth-child(4) { grid-column: 1 / -1; }
  .aktuell-item:nth-child(n) { grid-column: auto; }
}

@media (max-width: 860px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-img-wrap {
    height: min(70vw, 480px);
    order: -1;
  }
  .hero-img-wrap::before { display: none; }
  .hero-img-wrap::after {
    background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  }
  .hero-content { padding: 2.5rem 1.5rem 3rem; }
  .hero-bg-number { display: none; }
  .nav-links { display: none; }
  .hero-meta { width: 100%; }
  .phase-header { gap: .75rem; }
  .phase-num { font-size: 3.5rem; }

  /* ── Mobile Peek-Carousel ─────────────────────────────── */

  /* Kind */
  .polaroid-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: .75rem;
    margin-inline: calc(-1 * var(--pad-x));
    padding: 1rem 10vw 1.5rem;
    scroll-padding-inline: 10vw;
  }
  .polaroid-grid::-webkit-scrollbar { display: none; }
  .polaroid {
    flex: 0 0 80vw;
    max-width: 360px;
    scroll-snap-align: center;
  }
  .polaroid img { width: 100%; height: auto; aspect-ratio: 1; }

  /* Filmstrip */
  .filmstrip-outer { margin-inline: calc(-1 * var(--pad-x)); }
  .filmstrip {
    padding: 1rem 10vw 1.5rem;
    scroll-padding-inline: 10vw;
  }
  .filmstrip-fade-l, .filmstrip-fade-r { display: none; }
  .filmstrip-item { flex: 0 0 80vw; max-width: 360px; scroll-snap-align: center; }
  .filmstrip-item img { width: 100%; height: auto; aspect-ratio: 3/4; }

  .gallery-nav { display: flex; }

  /* Aktuell */
  .aktuell-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: .75rem;
    margin-inline: calc(-1 * var(--pad-x));
    padding: .5rem 10vw 1.5rem;
    scroll-padding-inline: 10vw;
  }
  .aktuell-grid::-webkit-scrollbar { display: none; }
  .aktuell-item {
    grid-column: auto !important; grid-row: auto !important;
    flex: 0 0 80vw;
    max-width: 360px;
    scroll-snap-align: center;
  }
  .aktuell-item img { width: 100%; height: auto; aspect-ratio: 3/4; min-height: unset; }
  .aktuell-item:nth-child(1) img { min-height: unset; }
}

@media (max-width: 600px) {
  .polaroid img { width: 100%; height: auto; aspect-ratio: 1; }
  .filmstrip-item img { width: 100%; height: auto; aspect-ratio: 3/4; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .funfacts-grid { grid-template-columns: 1fr 1fr; }
  .rsvp-title { font-size: clamp(2.75rem, 12vw, 5rem); }
  .tbl-toolbar { flex-direction: column; align-items: stretch; }
  .tbl-search { max-width: 100%; }
  table { font-size: .8rem; }
  td, thead th { padding: .65rem .6rem; }
  .row-actions { flex-direction: column; }
  .f-row { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; }
}
