/* =========================================================
   Carpe Noctem — Herz-Jesu Ball 2026
   Design system based on the official brand guide
   Colours: #080827 navy · #e6c068 gold · #ffffff · #000000
   Fonts:  Herr von Mullerhoff (script) · Cormorant Garamond
           (slogans) · Montserrat (headings & body)
   ========================================================= */

:root {
  --navy: #080827;
  --navy-2: #0d0d33;
  --navy-3: #12123f;
  --gold: #e6c068;
  --gold-soft: #f0d488;
  --gold-deep: #c39d45;
  --white: #ffffff;
  --muted: #b9bad4;
  --line: rgba(230, 192, 104, 0.28);

  --font-script: "Herr Von Muellerhoff", cursive;
  --font-slogan: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

/* Subtle starfield behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 78% 12%, rgba(230,192,104,0.6) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 62% 42%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 28% 66%, rgba(230,192,104,0.45) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 88% 74%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 42% 88%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(1200px 600px at 70% -10%, rgba(230,192,104,0.06), transparent 60%),
    var(--navy);
  background-repeat: no-repeat;
  pointer-events: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link for keyboard / screen-reader users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

/* ------------------------- Navigation ------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 39, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.nav__brand img { display: block; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav__brand-name {
  font-family: var(--font-script);
  font-size: 26px;
  color: var(--white);
}
.nav__brand-sub {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--gold); background: rgba(230,192,104,0.08); }
.nav__links a[aria-current="page"] { color: var(--gold); }

.nav__cta {
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
}
.nav__cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  margin: 4px 0;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 8, 39, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__links.open { max-height: 520px; }
  .nav__links a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav__cta { margin-top: 10px; text-align: center; }
}

/* ------------------------- Buttons ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: var(--navy);
  border: 1px solid var(--gold);
  box-shadow: 0 10px 30px rgba(230, 192, 104, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); color: var(--navy); box-shadow: 0 14px 38px rgba(230,192,104,0.4); }
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--ghost:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* ------------------------- Hero ------------------------- */
.hero {
  position: relative;
  text-align: center;
  padding: 70px 0 60px;
}
.hero__logo {
  margin: 0 auto 8px;
  padding: 0;
}
.hero__logoimg {
  width: min(600px, 92vw);
  height: auto;
  margin: 0 auto;
}
.hero__logo .moon { width: 120px; margin: 0 auto 4px; }
.hero__script {
  font-family: var(--font-script);
  font-size: clamp(56px, 12vw, 120px);
  line-height: 0.9;
  color: var(--white);
  margin: 0;
  font-weight: 400;
}
.hero__ball {
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: clamp(15px, 3.4vw, 22px);
  margin: 6px 0 0;
}
.hero__meta {
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  margin-top: 16px;
}

/* ------------------------- Countdown ------------------------- */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 5vw, 48px);
  margin: 40px auto 8px;
}
.countdown__unit { min-width: 64px; }
.countdown__num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(34px, 8vw, 62px);
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.countdown__sep {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(28px, 7vw, 52px);
  color: rgba(230,192,104,0.4);
  align-self: flex-start;
  line-height: 1.05;
}
.countdown-done {
  text-align: center;
  font-family: var(--font-slogan);
  font-style: italic;
  font-size: 26px;
  color: var(--gold);
}

/* ------------------------- Sections ------------------------- */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section__eyebrow {
  font-family: var(--font-slogan);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  margin: 0 0 6px;
}
.section__title {
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(26px, 5vw, 40px);
  margin: 0 0 24px;
  color: var(--white);
}
.section__title--gold { color: var(--gold); }
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 62ch;
}
.slogan {
  font-family: var(--font-slogan);
  font-style: italic;
  font-size: clamp(24px, 5vw, 38px);
  color: var(--white);
  letter-spacing: 0.02em;
}
.gold { color: var(--gold); }
.eu-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 22px 0;
  border: 0;
}

/* Page header (interior pages) */
.pagehead {
  text-align: center;
  padding: 60px 0 20px;
}
.pagehead .section__title { margin-bottom: 8px; }

/* ------------------------- Cards / grids ------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.card p { margin: 6px 0 0; color: var(--muted); }
.card strong { color: var(--white); }

/* ------------------------- Info list (location) ------------------------- */
.infolist { display: grid; gap: 18px; }
.infoline { display: flex; gap: 14px; align-items: flex-start; }
.infoline__label {
  min-width: 120px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}
.infoline__value { color: var(--white); }
.infoline__value small { display: block; color: var(--muted); }

/* ------------------------- Program / timeline ------------------------- */
.timeline { display: grid; gap: 2px; }
.tl-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(230,192,104,0.14);
  align-items: baseline;
}
.tl-time {
  font-family: var(--font-slogan);
  font-size: 22px;
  color: var(--gold);
  font-weight: 600;
}
.tl-body h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--white);
}
.tl-body p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* ------------------------- Sponsors ------------------------- */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 820px) { .sponsor-grid { grid-template-columns: repeat(2, 1fr); } }
.sponsor {
  background: var(--white);
  border-radius: 12px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s;
}
.sponsor:hover { transform: translateY(-3px); }
.sponsor { margin: 0; }
.sponsor img { max-height: 66px; width: auto; object-fit: contain; }
.sponsor__name { font-weight: 700; letter-spacing: 0.02em; }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1024px) { .tier-grid { grid-template-columns: 1fr; } }
.tier {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255,255,255,0.02);
}
.tier h3 { color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase; font-size: 15px; margin: 0 0 4px; }
.tier .price { font-family: var(--font-slogan); font-size: 26px; color: var(--white); margin-bottom: 12px; }
.tier ul { margin: 0; padding-left: 18px; color: var(--muted); }
.tier li { margin: 6px 0; }

/* ------------------------- FAQ ------------------------- */
.faq { max-width: 820px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--gold); }
.faq .faq__body { padding: 0 22px 20px; color: var(--muted); }

/* ------------------------- Contact block ------------------------- */
.contact-box {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 24px;
  background: radial-gradient(600px 200px at 50% 0%, rgba(230,192,104,0.06), transparent 70%);
}

/* ------------------------- Map ------------------------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--navy-2);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ------------------------- Footer ------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
  text-align: center;
  margin-top: 40px;
}
.footer__moon { width: 66px; margin: 0 auto 6px; }
.footer__logo { width: min(160px, 46vw); height: auto; margin: 0 auto 14px; }
.footer__script { font-family: var(--font-script); font-size: 34px; color: var(--white); }
.footer__sub { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__tag { color: var(--muted); font-size: 14px; margin: 12px 0 20px; }
.footer__socials { display: flex; justify-content: center; gap: 18px; margin-bottom: 22px; }
.footer__socials a {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.footer__socials a:hover { background: rgba(230,192,104,0.12); transform: translateY(-2px); }
.footer__socials svg { width: 18px; height: 18px; fill: var(--gold); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 20px; }
.footer__nav a { color: var(--white); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer__nav a:hover { color: var(--gold); }
.footer__copy { color: rgba(185,186,212,0.6); font-size: 13px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; }

.hashtags { color: var(--gold); font-size: 13px; letter-spacing: 0.05em; margin-top: 8px; }

/* ------------------------- Utilities ------------------------- */
.center { text-align: center; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 40px; }
.stack-gap > * + * { margin-top: 14px; }
.text-muted { color: var(--muted); }

.pill {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--gold);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* =========================================================
   v2 — Startseiten- & UX-Optimierungen
   ========================================================= */
:root { --radius: 12px; }

/* ---- Navigation: volles Logo, kompakt, klarer Aktivzustand ---- */
.nav__inner { padding: 9px 0; }
.nav__brand { gap: 0; }
.nav__logo { height: 46px; width: auto; display: block; }
.nav__links a[aria-current="page"] { color: var(--gold); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav__links a { position: relative; }
.nav__cta { font-weight: 700 !important; }
@media (max-width: 1024px) {
  .nav__logo { height: 42px; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__links a[aria-current="page"] { background: rgba(230,192,104,0.10); }
}

/* ---- Hero kompakter ---- */
.hero { padding: 40px 0 34px; }
.hero__logoimg { width: min(430px, 80vw); }
.hero__slogan { margin: 6px 0 0; }
.hero__intro { color: var(--muted); max-width: 54ch; margin: 12px auto 0; }
.hero__cta { margin-top: 26px; }

/* ---- Fakten-Block (What/When/Where) ohne Kästchen ---- */
.facts {
  margin: 34px auto 0; max-width: 680px; text-align: left;
  border-top: 1px solid var(--line);
}
.facts > div {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding: 14px 4px; border-bottom: 1px solid rgba(230,192,104,0.14);
}
.facts dt {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); padding-top: 2px;
}
.facts dd { margin: 0; color: var(--white); }
.facts dd small { display: block; color: var(--muted); }
@media (max-width: 560px) {
  .facts > div { grid-template-columns: 1fr; gap: 3px; }
}

/* ---- Buttons: große Variante + Touch ---- */
.btn { min-height: 48px; }
.btn--lg { font-size: 15px; padding: 17px 38px; }

/* ---- Ticketkategorien ---- */
.ticket-intro { color: var(--muted); max-width: 60ch; }
.eb-note {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); color: var(--gold);
  border-radius: 999px; padding: 6px 16px; font-size: 13px;
  letter-spacing: 0.04em; margin-top: 6px;
}
.ticket-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .ticket-grid { grid-template-columns: 1fr; } }
.ticket-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; background: rgba(255,255,255,0.02);
}
.ticket-card--feature { border-color: rgba(230,192,104,0.5); background: rgba(230,192,104,0.04); }
.ticket-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ticket-card h3 { margin: 0; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.ticket-tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.ticket-price { font-family: var(--font-slogan); font-size: 34px; color: var(--gold); line-height: 1; margin: 14px 0 2px; }
.ticket-eb { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.ticket-eb b { color: var(--white); font-weight: 600; }
.ticket-card ul { list-style: none; margin: 0; padding: 0; }
.ticket-card li { position: relative; padding-left: 24px; margin: 8px 0; color: var(--muted); font-size: 15px; }
.ticket-card li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: 0.7; }
.ticket-note { color: var(--muted); font-size: 14px; }
.ticket-note strong { color: var(--white); }

/* ---- Einheitliche Navigations-Karten ---- */
.linkcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .linkcards { grid-template-columns: 1fr; } }
.linkcard {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  color: inherit; transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.linkcard:hover { border-color: var(--gold); background: rgba(230,192,104,0.05); transform: translateY(-2px); }
.linkcard__title {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--gold); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 14px;
}
.linkcard p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- Adresse kopieren ---- */
.copyrow { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copybtn {
  background: none; border: 1px solid var(--line); color: var(--gold);
  border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 13px;
  cursor: pointer; min-height: 40px;
}
.copybtn:hover { background: rgba(230,192,104,0.1); }
.copybtn.copied { color: var(--navy); background: var(--gold); border-color: var(--gold); }

/* ---- Sponsoren: gleichmäßige Kacheln ---- */
.sponsor { min-height: 122px; padding: 24px; }
.sponsor img { max-height: 64px; max-width: 84%; width: auto; }
.support-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; text-align: center; background: radial-gradient(700px 240px at 50% 0%, rgba(230,192,104,0.05), transparent 70%); }

/* ---- 404 ---- */
.errpage { text-align: center; padding: 90px 0; }
.errpage .code { font-family: var(--font-slogan); font-size: 84px; color: var(--gold); line-height: 1; }

/* ---- Shuttle Add-on (Tickets) ---- */
.ticket-addon {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 18px 24px; background: rgba(255,255,255,0.015);
}
.ticket-addon__info h3 { margin: 0 0 4px; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ticket-addon__info p { margin: 0; color: var(--muted); font-size: 15px; }
.ticket-addon__price { text-align: right; white-space: nowrap; }
.ticket-addon__price span { font-family: var(--font-slogan); font-size: 30px; color: var(--gold); display: block; line-height: 1; }
.ticket-addon__price small { color: var(--muted); font-size: 13px; }
@media (max-width: 560px) { .ticket-addon { flex-direction: column; align-items: flex-start; } .ticket-addon__price { text-align: left; } }

/* ---- Ticket-Grafiken (Instagram-Karten) ---- */
.ticket-graphics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 760px; margin-inline: auto; }
@media (max-width: 620px) { .ticket-graphics { grid-template-columns: 1fr; max-width: 380px; } }
.ticket-graphics figure { margin: 0; }
.ticket-graphics img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* Kontakt-Box: lange E-Mail sauber umbrechen */
.contact-box { overflow-wrap: anywhere; word-break: break-word; }
.contact-box a { overflow-wrap: anywhere; }

/* Nav-Logo etwas größer & unverzerrt */
.nav__logo { height: 50px; }
@media (max-width: 1024px) { .nav__logo { height: 44px; } }

/* Verlinkte Sponsor-Logos */
.sponsor a { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; }
.sponsor a:hover { opacity: 0.85; }

/* ---- Komitee ---- */
.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 820px) { .members { grid-template-columns: repeat(2, 1fr); } }
.members--lead { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin-inline: auto; }
@media (max-width: 560px) { .members--lead { grid-template-columns: 1fr; } }
.member {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
  background: rgba(255,255,255,0.02);
}
.member--lead { background: rgba(230,192,104,0.05); border-color: rgba(230,192,104,0.5); }
.member__name { font-weight: 600; color: var(--white); font-size: 17px; }
.member__role { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }

/* =========================================================
   Feinschliff v3
   ========================================================= */
/* iOS-Tap-Kästchen entfernen (das "komische Ding" oben links) */
a, button, .btn, summary, .nav__brand { -webkit-tap-highlight-color: transparent; }

/* Mobile-Menü sauber schließen (kein Rest-Kästchen) */
@media (max-width: 1024px) {
  .nav__links { visibility: hidden; border-bottom: 0; }
  .nav__links.open { visibility: visible; border-bottom: 1px solid var(--line); }
}

/* Footer-Logo noch deutlich kleiner */
.footer__logo { width: min(118px, 38vw); }

/* Vorsitz dezenter hervorheben */
.member--lead { background: rgba(255,255,255,0.02); border-color: var(--line); }

/* Gesperrte Ticket-Buttons vor Verkaufsstart */
.is-locked { opacity: 0.5; cursor: not-allowed; }
.btn.is-locked:hover { transform: none; box-shadow: 0 10px 30px rgba(230,192,104,0.25); }
.nav__cta.is-locked:hover { background: transparent !important; color: var(--gold) !important; }
.ticket-locknote { color: var(--gold); font-size: 14px; margin-top: 12px; }

/* Deep-Link-Ziele nicht unter der Sticky-Nav verstecken */
section[id], h1[id], h2[id] { scroll-margin-top: 90px; }

/* Komitee-Karten sauber zentriert (Vorsitz-Label vs. ohne) */
.member { display: flex; flex-direction: column; justify-content: center; }

/* =========================================================
   Mobile-Feinschliff (Platz & Scroll)
   ========================================================= */
@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--maxw)); }
  .section { padding: 46px 0; }
  .section--tight { padding: 28px 0; }
  .hero { padding: 26px 0 24px; }
  .hero__logoimg { width: min(340px, 84vw); }
  .pagehead { padding: 40px 0 12px; }

  /* Countdown passt sich der Breite an, kein horizontales Überlaufen */
  .countdown { gap: 6px; width: 100%; }
  .countdown__unit { min-width: 0; flex: 1 1 0; }
  .countdown__num { font-size: clamp(26px, 10.5vw, 46px); }
  .countdown__sep { font-size: clamp(20px, 7vw, 34px); }
  .countdown__label { font-size: 9px; letter-spacing: 0.1em; }

  .ticket-price { font-size: 30px; }
  .section__title { letter-spacing: 0.08em; }
}

/* ---- Fotos ---- */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-figure { margin: 0; }
.photo { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); }
.photo--cover { aspect-ratio: 16 / 10; object-fit: cover; }
.photo-figure figcaption { color: var(--muted); font-size: 13px; text-align: center; margin-top: 10px; }
.photo-portrait { max-width: 440px; margin: 0 auto; }

/* ---- Rechtstexte (Impressum/Datenschutz) ---- */
.legal-h3 { font-size: 16px; color: var(--gold); letter-spacing: 0.02em; margin: 28px 0 6px; }
.legal p { max-width: 74ch; }
