/* =========================================================
   Abschlussball 2027 – Golden Hour
   ========================================================= */

:root {
  --bg: #0a0806;
  --bg-2: #120e0a;
  --panel: rgba(26, 20, 14, 0.55);
  --panel-strong: rgba(32, 25, 17, 0.75);

  --champagne: #e8cfa6;
  --gold: #d4ae72;
  --gold-deep: #a9824a;
  --gold-glow: rgba(232, 207, 166, 0.22);

  --text: #f5ede0;
  --muted: rgba(245, 237, 224, 0.68);
  --line: rgba(232, 207, 166, 0.16);
  --line-strong: rgba(232, 207, 166, 0.32);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r: 20px;
  --max: 1120px;
  --nav-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 15% -5%, rgba(212, 174, 114, 0.14), transparent 60%),
    radial-gradient(800px 600px at 90% 20%, rgba(232, 207, 166, 0.07), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 60%, var(--bg));
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
  border-radius: 8px;
}

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.container-narrow { --max: 820px; }

/* Glitzer-Canvas im Hintergrund */
#sparkles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
header, main, section, footer { position: relative; z-index: 1; }

/* ---------- Typo ---------- */
.eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.gold-text,
.section-title,
.hero-title span {
  background: linear-gradient(100deg, #f7e7c8 0%, var(--champagne) 30%, var(--gold) 55%, #f3dcb2 80%, var(--gold-deep) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-head { text-align: center; margin-bottom: 44px; }
.section-head::after {
  content: "✦";
  display: block;
  margin: 14px auto 0;
  width: 220px;
  font-size: 12px;
  color: var(--champagne);
  background:
    linear-gradient(90deg, transparent, var(--line-strong)) left center / 44% 1px no-repeat,
    linear-gradient(90deg, var(--line-strong), transparent) right center / 44% 1px no-repeat;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 8, 6, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 8, 6, 0.85);
  border-bottom-color: var(--line);
}

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

.nav-logo { display: inline-flex; align-items: center; gap: 12px; }
.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 18px var(--gold-glow);
}
.nav-logo span {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
}

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--champagne); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--champagne);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
}
.hero-glow {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(232, 207, 166, 0.16), transparent 62%);
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.time-pill {
  display: inline-flex;
  padding: 9px 18px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(232, 207, 166, 0.14), rgba(212, 174, 114, 0.04));
  font-size: 14px;
  letter-spacing: 0.08em;
  box-shadow: 0 0 30px rgba(212, 174, 114, 0.14);
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(60px, 9vw, 124px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-title span {
  display: inline-block;
  animation: shimmer 6s linear infinite;
}

.tagline {
  margin: 18px 0 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--champagne);
}

.hero-text { max-width: 58ch; color: var(--muted); }
.hero-text p { margin: 0 0 12px; }

/* Countdown */
.countdown {
  display: flex;
  gap: 12px;
  margin: 28px 0 30px;
}
.cd-unit {
  min-width: 78px;
  padding: 14px 10px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.cd-num {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: var(--champagne);
  font-variant-numeric: tabular-nums;
}
.cd-label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.countdown-done {
  margin: 28px 0 30px;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--champagne);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.logo-orb {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: float 9s ease-in-out infinite;
}
.logo-orb::before {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 207, 166, 0.28), transparent 65%);
  filter: blur(20px);
  z-index: -1;
}
.logo-orb img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line-strong);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.6s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #1a130b;
  background: linear-gradient(100deg, #f7e7c8, var(--gold) 45%, #f3dcb2 70%, var(--gold-deep));
  background-size: 200% auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 174, 114, 0.25);
}
.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 44px rgba(212, 174, 114, 0.4);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--champagne);
}
.btn-ghost:hover { background: rgba(232, 207, 166, 0.06); }

.btn-wide { display: flex; width: 100%; margin-top: 20px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }

/* Info */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.info-card {
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(212, 174, 114, 0.1);
}
.info-icon { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.info-card .k {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-card .v {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}
.info-card .v small {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

/* Ablauf / Timeline */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 92px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 44px;
  padding: 14px 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 87px;
  top: 26px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 14px var(--gold);
}
.tl-time {
  padding-top: 12px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--champagne);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tl-body {
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.tl-body h3 {
  margin: 0 0 2px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}
.tl-body p { margin: 0; color: var(--muted); }

/* Tickets */
.tickets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ticket {
  position: relative;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
}
.ticket-primary {
  border-color: var(--line-strong);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(232, 207, 166, 0.14), transparent 70%),
    var(--panel-strong);
  box-shadow: 0 0 50px rgba(212, 174, 114, 0.12);
}
.ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}
.badge {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a130b;
  background: var(--champagne);
}
.ticket-sub { margin: 4px 0 18px; color: var(--muted); font-size: 15px; }
.ticket-price {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--champagne);
}
.ticket-price span {
  margin-left: 8px;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.ticket-list { margin: 22px 0 0; padding: 0; list-style: none; }
.ticket-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  border-top: 1px solid var(--line);
}
.ticket-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 9px;
  font-size: 12px;
  color: var(--gold);
}

/* Sponsoren */
.sponsor-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--muted);
}
.sponsor-intro p { margin: 0 0 14px; }
.sponsor-actions { margin: 26px 0 14px; }
.sponsor-contact a, .about-card a { color: var(--champagne); border-bottom: 1px solid var(--line-strong); }

.package { margin-bottom: 52px; }
.package-title {
  margin: 0 0 20px;
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--champagne);
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.logo-grid img,
.logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(245, 237, 224, 0.94);
  object-fit: contain;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.logo-grid a img { height: 100%; padding: 0; background: none; }
.logo-grid > *:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(212, 174, 114, 0.2); }

.goenner-list {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
}
.goenner-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
}
.goenner-row:first-child { border-top: 0; }
.goenner-row span:last-child { color: var(--champagne); white-space: nowrap; }

.sponsor-empty {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--champagne);
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition: border-color 0.25s ease;
}
.faq[open] { border-color: var(--line-strong); }
.faq summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.25s ease;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 24px 20px; color: var(--muted); }
.faq-body p { margin: 0; }

/* Über uns */
.about-card {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 30px 34px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  color: var(--muted);
}
.about-card p { margin: 0 0 12px; }
.about-card p:last-child { margin: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
}
.person {
  padding: 26px 22px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.person:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.person-initial {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 30% 30%, rgba(232, 207, 166, 0.25), rgba(26, 20, 14, 0.8));
  font-family: var(--serif);
  font-size: 28px;
  color: var(--champagne);
}
.person-name { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.person-role { margin: 4px 0 12px; font-size: 15px; color: var(--muted); }
.person-mail {
  font-size: 14px;
  color: var(--gold);
  word-break: break-all;
}
.person-mail:hover { color: var(--champagne); }

/* ---------- Footer ---------- */
.footer {
  margin-top: 40px;
  padding: 50px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(6, 5, 4, 0.7);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer-title { font-family: var(--serif); font-size: 24px; color: var(--champagne); }
.muted { color: var(--muted); }

.footer-icons { display: flex; gap: 10px; }
.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--champagne);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.icon:hover { border-color: var(--line-strong); background: rgba(232, 207, 166, 0.08); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.heart { color: var(--gold); }

/* ---------- Reveal-Animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }

@keyframes shimmer { to { background-position: -200% center; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-right { order: -1; }
  .logo-orb { width: min(78vw, 400px); margin: 0 auto; }
  .hero-text { margin: 0 auto; }
  .countdown, .hero-actions { justify-content: center; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(14, 11, 8, 0.97);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 16px; }
  .nav-links a::after { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .info-grid, .tickets-grid { grid-template-columns: 1fr; }
  .cd-unit { min-width: 0; flex: 1; padding: 12px 4px 8px; }
  .cd-num { font-size: 32px; }
  .countdown { gap: 8px; }
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .timeline li::before { left: 0; top: 22px; }
  .tl-time { text-align: left; padding-top: 0; }
  .ticket { padding: 26px 22px; }
  .footer-inner, .footer-bottom { flex-direction: column; align-items: flex-start; }
}
