/* ==========================================================================
   SEEPOGO Festival · Startseite (Prototyp)
   ========================================================================== */

/* Schriften, selbst gehostet (DSGVO: keine Google-Fonts-Anfrage) */
@font-face { font-family: "Oswald"; font-weight: 300; font-display: swap; src: url("fonts/oswald-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 400; font-display: swap; src: url("fonts/oswald-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url("fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("fonts/oswald-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap; src: url("fonts/oswald-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Markenfarben der aktuellen seepogo.de */
  --navy: #002859;
  --navy-deep: #001937;
  --navy-card: #12376a;
  --navy-line: #23497c;
  --sky: #399ce0;
  --pink: #ea5297;
  --cream: #fff3d8;
  --cream-dark: #eadfc6;
  --white: #ffffff;
  --text: var(--cream);
  --muted: #b9c9de;
  --text-on-cream: var(--navy);
  --muted-on-cream: #3b4f6b;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Oswald", "Arial Narrow", sans-serif;

  --gutter: clamp(16px, 4vw, 24px);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
}

/* --- Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--cream); }
a:hover { color: var(--white); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 96px) 8px; }
/* Anker-Sprünge: Überschrift landet knapp unter dem Header, statt erst nach dem vollen Innenabstand der Section */
.section[id] { scroll-margin-top: calc(20px - clamp(56px, 8vw, 96px)); }
.muted { color: var(--muted); }
.lead { font-size: 20px; max-width: 720px; margin-top: 12px; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--pink); color: var(--navy-deep); padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 8px; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .005em;
}

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.head-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.badge {
  display: inline-block;
  background: var(--pink);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.link-strong { font-weight: 700; text-underline-offset: 3px; }

.pattern {
  background-color: var(--sky);
  background-image: url("seepogo-pattern.png");
  background-repeat: repeat;
  background-size: 262px 203px;
}
.stripes {
  background-color: var(--navy-card);
  background-image: repeating-linear-gradient(135deg, rgba(255, 243, 216, .07) 0 12px, transparent 12px 24px);
}
.placeholder-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--cream);
  background: rgba(0, 25, 55, .82);
  padding: 4px 9px;
  border-radius: 6px;
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease, background-color .12s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-sm { font-size: 16px; padding: 9px 18px; }
.btn-lg { font-size: 21px; padding: 15px 32px; }
.btn-accent { background: var(--pink); color: var(--navy-deep); }
.btn-accent:hover { color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { color: var(--white); }
.btn-cream { background: var(--cream); color: var(--navy); }
.btn-cream:hover { color: var(--navy); }
.btn-outline { border-color: var(--cream); color: var(--cream); background: rgba(0, 25, 55, .25); }
.btn-ghost { border-color: #3a6299; color: var(--cream); font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 700; }

/* --- Ankündigungsleiste ---------------------------------------------------- */
.announce { background: var(--pink); color: var(--navy-deep); font-weight: 700; font-size: 15px; text-align: center; padding: 9px var(--gutter); }

/* --- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 40, 89, .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--navy-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--cream); }
.brand img { height: 56px; width: auto; }
.brand-date { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.05; letter-spacing: .02em; }
.brand-date small { font-size: 14px; font-weight: 500; color: var(--muted); }
.main-nav { display: flex; gap: clamp(16px, 2vw, 28px); font-family: var(--font-display); font-weight: 500; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; }
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--pink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle, .menu-close {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid #3a6299;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.mobile-menu {
  margin: 0;
  inset: 0 0 auto auto;
  width: min(340px, 100vw);
  height: 100dvh;
  max-height: none;
  padding: 72px 24px 24px;
  border: 0;
  background: var(--navy-deep);
  color: var(--cream);
  flex-direction: column;
  gap: 6px;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
}
.mobile-menu:popover-open { display: flex; }
.mobile-menu::backdrop { background: rgba(0, 10, 25, .6); }
.mobile-menu a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--navy-line);
}
.mobile-menu .btn { margin-top: 18px; }
.menu-close { display: inline-flex; position: absolute; top: 14px; right: 16px; }

/* --- Bühne ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #0e2f57; }
.hero-media, .hero-scrim { position: absolute; inset: 0; z-index: -2; }
.hero-media { background: #0e2f57 center / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-placeholder {
  position: absolute;
  inset: 0;
  background-color: #1d5f99;
  background-image: url("seepogo-pattern.png");
  background-size: 262px 203px;
  animation: drift 60s linear infinite;
}
@keyframes drift { to { background-position: 524px 406px; } }
.hero-scrim { z-index: -1; background: linear-gradient(180deg, rgba(0, 25, 55, .55) 0%, rgba(0, 25, 55, .45) 55%, rgba(0, 40, 89, .9) 100%); }
.hero-tag { position: absolute; top: 16px; right: 16px; }

.hero-content {
  max-width: 1100px;
  padding-block: clamp(28px, 3.5vw, 44px) clamp(100px, 11vw, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero-logo { width: min(440px, 80%); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 10, 30, .35)); }
.pill {
  background: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 7px 16px;
  border-radius: 999px;
}
.hero-date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--white);
}
.hero-place { font-family: var(--font-display); font-weight: 500; font-size: clamp(17px, 1.8vw, 24px); text-transform: uppercase; letter-spacing: .04em; }
.hero-sub { font-size: 19px; font-weight: 500; max-width: 600px; }
.hero-ctas { display: flex; gap: 22px 28px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }

.countdown { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.countdown div { background: rgba(0, 40, 89, .92); border-radius: 14px; padding: 12px 18px; min-width: 92px; text-align: center; }
.countdown strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 4px; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 8vw, 110px); overflow: hidden; pointer-events: none; }
.wave { position: absolute; inset: 0; background-repeat: repeat-x; background-size: 1440px 100%; }
.wave-back { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C120 20 240 20 360 60 S600 100 720 60 S960 20 1080 60 S1320 100 1440 60 V110 H0 Z' fill='%23399ce0'/%3E%3C/svg%3E"); opacity: .28; bottom: 12px; background-position-x: -360px; animation: wave-drift 22s linear infinite reverse; }
.wave-front { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C120 20 240 20 360 60 S600 100 720 60 S960 20 1080 60 S1320 100 1440 60 V110 H0 Z' fill='%23002859'/%3E%3C/svg%3E"); animation: wave-drift 14s linear infinite; }
@keyframes wave-drift { from { background-position-x: 0; } to { background-position-x: -1440px; } }
@media (max-width: 760px) { .wave { background-size: 720px 100%; } @keyframes wave-drift { to { background-position-x: -720px; } } }

/* --- Aftermovie ------------------------------------------------------------ */
.video-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  border: 1px solid var(--navy-line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  font-weight: 700;
}
.play { width: 88px; height: 88px; border-radius: 50%; background: var(--pink); color: var(--navy-deep); display: grid; place-items: center; }

/* --- Lineup ---------------------------------------------------------------- */
.headliners { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.band-card { background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden; }
.band-photo { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 12px; }
.band-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-info { padding: 16px 20px 20px; }
.band-info h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3vw, 38px); line-height: 1.05; text-transform: uppercase; }
.band-info p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.band-card-tba .band-photo { justify-content: center; align-items: center; }
.tba-mark { font-family: var(--font-display); font-weight: 700; font-size: 120px; line-height: 1; color: var(--white); text-shadow: 0 5px 0 var(--navy); }

.band-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
  row-gap: 4px;
  margin-top: 36px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.2;
  text-transform: uppercase;
}
.band-list li { display: inline-flex; align-items: baseline; gap: 10px; }
.band-list small { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--pink); text-transform: none; }
.band-list .tba { color: #8fa6c4; }

/* --- Tickets --------------------------------------------------------------- */
.tickets { background: var(--cream); color: var(--text-on-cream); margin-top: clamp(56px, 8vw, 88px); scroll-margin-top: calc(20px - clamp(56px, 8vw, 88px)); }
.tickets a:not(.btn) { color: var(--navy); }
.tickets-inner { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 88px); }
.tickets-main { flex: 999 1 460px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.tickets-date { font-family: var(--font-display); font-weight: 600; font-size: 22px; text-transform: uppercase; margin-top: -4px; }
.tickets-text { font-size: 19px; color: var(--muted-on-cream); max-width: 560px; margin-bottom: 8px; }
.tickets-text strong { color: var(--navy); }
/* Live-Phase: Vorverkauf fürs nächste Jahr, abgesetzt vom laufenden Festival */
.tickets-next { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 10px; padding-top: 22px; border-top: 2px solid rgba(0, 25, 55, .15); }
.ticket-facts { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.ticket-facts li { background: var(--white); border: 1px solid #e8dcc0; border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.ticket-facts strong { font-size: 18px; }
.ticket-facts span { color: var(--muted-on-cream); font-size: 15px; }

/* --- Highlights ------------------------------------------------------------ */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 36px; }
.highlights li, .card { background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 22px; }
.highlights .num { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--pink); }
.highlights h3, .card h3 { font-size: 20px; font-weight: 800; margin: 6px 0; }
.highlights p, .card p { color: var(--muted); font-size: 16px; }

/* --- History --------------------------------------------------------------- */
.history-scroller { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-color: var(--navy-line) transparent; }
.history-scroller li { flex: 0 0 250px; scroll-snap-align: start; }
.history-scroller a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden; }
.history-scroller .year { height: 140px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 64px; color: var(--white); text-shadow: 0 4px 0 var(--navy); }
.history-scroller .acts { padding: 16px 18px 6px; font-size: 16px; line-height: 1.4; }
.history-scroller .more { padding: 0 18px 18px; margin-top: auto; font-size: 14px; font-weight: 700; color: var(--muted); }

/* --- Anreise --------------------------------------------------------------- */
.anreise-grid { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.map-placeholder { flex: 999 1 520px; min-height: 380px; border-radius: 20px; border: 1px solid var(--navy-line); display: grid; place-items: center; text-align: center; padding: 24px; font-weight: 700; color: var(--muted); }
.anreise-list { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }

/* --- FAQ ------------------------------------------------------------------- */
.faq-grid { display: flex; flex-wrap: wrap; gap: 40px; }
.faq-grid > div:first-child { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.faq-list { flex: 999 1 540px; display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: 14px; padding: 0 20px; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding-block: 16px; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--pink); transition: transform .15s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 18px; }

/* --- Mitmachen ------------------------------------------------------------- */
#mitmachen { padding-bottom: clamp(64px, 9vw, 104px); }
.join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 30px; }
.join-card { background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.join-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 30px; text-transform: uppercase; }
.join-card p { color: var(--muted); flex-grow: 1; }
.join-accent { background: var(--pink); border-color: var(--pink); color: var(--navy-deep); }
.join-accent p { color: var(--navy-deep); font-weight: 600; }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { color: var(--navy-deep); }
.site-footer a { color: var(--navy-deep); font-weight: 800; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; padding-block: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 380px; font-weight: 600; }
.footer-brand img { width: 200px; height: auto; }
.footer-date { font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; color: var(--white); text-shadow: 0 3px 0 var(--navy); }
.social { display: flex; gap: 16px; }
.eyebrow { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.sponsor-logos { display: flex; gap: 12px; flex-wrap: wrap; }
.sponsor { display: flex; align-items: center; justify-content: center; height: 84px; padding: 12px 18px; border-radius: 12px; transition: transform .15s ease; }
.sponsor:hover { transform: translateY(-2px); }
.sponsor img { height: 100%; width: auto; max-width: 260px; object-fit: contain; }
.sponsor-light { background: var(--white); }
.sponsor-dark { background: var(--navy); padding-inline: 22px; }
.sponsor-dark img { height: 74%; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }

/* --- Mobile Ticket-Leiste -------------------------------------------------- */
.ticket-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  align-items: center;
  gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(0, 25, 55, .97);
  border-top: 1px solid var(--navy-line);
}
.ticket-bar-text { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.ticket-bar-text strong { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.ticket-bar-text small { color: var(--muted); font-size: 13px; font-weight: 600; }

/* --- Vorschau-Phasenschalter ----------------------------------------------- */
.phase-switcher {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 10, 30, .35);
  font-size: 13px;
  font-weight: 700;
}
.phase-switcher span { padding: 0 8px 0 10px; color: var(--muted-on-cream); }
.phase-switcher button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}
.phase-switcher button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
body.no-demo .phase-switcher { display: none; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .announce { font-size: 13px; }
  .brand img { height: 44px; }
  .brand-date { font-size: 18px; }
  .brand-date small { display: none; }
  .header-actions .btn { display: none; }
  .hero-tag { top: 10px; right: 10px; font-size: 11px; }
  .hero-logo { width: min(320px, 82%); }
  .pill { font-size: 15px; }
  .hero-sub { font-size: 16px; }
  .btn-lg { font-size: 19px; padding: 13px 26px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .countdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .countdown div { min-width: 0; padding: 10px; }
  .countdown strong { font-size: 30px; }
  .band-list { column-gap: 18px; }
  .ticket-bar { display: flex; }
  .phase-switcher { left: 50%; transform: translateX(-50%); bottom: 88px; font-size: 12px; max-width: calc(100vw - 16px); }
  .phase-switcher span { display: none; }
  .phase-switcher button { padding: 0 10px; white-space: nowrap; }
  .map-placeholder { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-placeholder { animation: none; }
  .wave { animation: none !important; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* --- Nachträge Mobil ------------------------------------------------------- */
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .phase-switcher {
    position: static;
    transform: none;
    max-width: none;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    justify-content: center;
    padding: 6px 8px;
    border-bottom: 1px solid #e8dcc0;
    background: var(--cream);
  }
  .band-list { display: block; font-size: 27px; line-height: 1.25; }
  .band-list li { display: block; }
  .band-list small { white-space: nowrap; }
}

/* --- Klickbare Bands -------------------------------------------------------- */
.band-open {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  text-transform: inherit;
  cursor: pointer;
}
.band-card.is-clickable { position: relative; transition: transform .15s ease; }
.band-card.is-clickable .band-open::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.band-card.is-clickable:hover { transform: translateY(-3px); }
.band-card.is-clickable:hover h3 { color: var(--pink); }
.band-card.is-clickable:has(.band-open:focus-visible) { outline: 3px solid var(--pink); outline-offset: 3px; }
.band-card.is-clickable .band-open:focus-visible { outline: none; }
/* Name und Ort umbrechen als zwei Blöcke: Der Ort rückt bei Platzmangel direkt unter den Namen, egal wie lang beide sind */
.band-list li { max-width: 100%; }
.band-list .band-open { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 0; max-width: 100%; overflow-wrap: anywhere; transition: color .12s ease; }
.band-list .band-open:hover { color: var(--white); }
/* Handy: Ort bei jeder Band einheitlich in einer eigenen Zeile unter dem Namen */
@media (max-width: 760px) {
  .band-list li + li { margin-top: 6px; }
  .band-list .band-open { display: flex; flex-direction: column; align-items: flex-start; }
}

/* Hover am Desktop: Headliner-Rahmen breitet sich von oben links nach unten rechts aus,
   die Unterstreichung in der Bandliste zieht von links nach rechts durch. Beim Verlassen
   verschwinden beide in derselben Richtung. Trick: Nur die Größe wird animiert, Ankerpunkt
   (und beim Rahmen die Dreiecksmaske) wechseln sofort, deshalb wächst die Linie vom Anfang
   her und schrumpft zum Ende hin. */
@media (hover: hover) and (pointer: fine) {
  .band-card.is-clickable::before {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    border: 2px solid var(--pink); border-radius: inherit;
    -webkit-mask: linear-gradient(to bottom right, transparent 50%, #000 50%) no-repeat 100% 100% / 0 0;
    mask: linear-gradient(to bottom right, transparent 50%, #000 50%) no-repeat 100% 100% / 0 0;
    transition: -webkit-mask-size .25s ease-out, mask-size .25s ease-out;
  }
  .band-card.is-clickable:hover::before {
    -webkit-mask: linear-gradient(to bottom right, #000 50%, transparent 50%) no-repeat 0 0 / 200% 200%;
    mask: linear-gradient(to bottom right, #000 50%, transparent 50%) no-repeat 0 0 / 200% 200%;
  }
  /* Der Ort folgt erst, wenn die Linie unter dem Namen fertig ist, und verschwindet auch erst nach ihr */
  .band-list .band-name, .band-list small {
    background: linear-gradient(var(--pink), var(--pink)) no-repeat 100% 100% / 0 var(--strich);
    transition: background-size .15s ease-out;
    --strich: 3px;
  }
  .band-list small { --strich: 2px; transition-delay: .15s; }
  .band-list .band-open:hover :is(.band-name, small) { background-position: 0 100%; background-size: 100% var(--strich); }
}

/* --- Band-Dialog ------------------------------------------------------------
   Der <dialog> füllt den ganzen Bildschirm und scrollt selbst; die Karte
   (.band-dialog-inner) wandert darauf. Pfeile sitzen fest links und rechts.  */
html:has(dialog[open]) { overflow: hidden; }
.band-dialog {
  --card-w: min(760px, calc(100vw - 160px));
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(24px, 6vh, 64px) 16px;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.band-dialog::backdrop { background: rgba(0, 10, 25, .75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.band-dialog[open]::backdrop { animation: fade-in .22s ease-out; }
.band-dialog-inner {
  position: relative;
  width: var(--card-w);
  margin: 0 auto;
  border: 1px solid var(--navy-line);
  border-radius: 22px;
  background: var(--navy-deep);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.band-dialog[open] .band-dialog-inner { animation: dialog-in .24s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.band-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 3; margin: 0; }
.band-dialog-close button {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(0, 25, 55, .78); color: var(--cream); cursor: pointer;
}
.band-dialog-close button:hover { background: var(--pink); color: var(--navy-deep); }
.band-dialog-photo { position: relative; margin: 0; aspect-ratio: 16 / 9; background: var(--navy-card); }
.band-dialog-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.band-dialog-photo figcaption { position: absolute; right: 10px; bottom: 8px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0, 25, 55, .6); padding: 2px 7px; border-radius: 4px; }
.band-dialog-body { padding: 28px clamp(20px, 4vw, 36px) 32px; display: flex; flex-direction: column; gap: 14px; }
.band-dialog:not(.has-photo) .band-dialog-body { padding-top: 40px; }
.band-dialog-meta { font-weight: 800; font-size: 14px; color: var(--pink); text-transform: uppercase; letter-spacing: .06em; }
.band-dialog-body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: .95; text-transform: uppercase; margin-top: -6px; padding-right: 48px; }
.band-dialog.has-photo .band-dialog-body h3 { padding-right: 0; }
.band-dialog-body p:not(.band-dialog-meta) { color: #dbe4f0; font-size: 17px; line-height: 1.6; }
.band-dialog-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* Pfeile: fest am Bildschirm, vertikal zentriert, links und rechts neben der Karte */
.band-step {
  position: fixed;
  top: 50%;
  z-index: 5;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 243, 216, .35);
  border-radius: 50%;
  background: rgba(0, 25, 55, .7);
  color: var(--cream);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.band-step-prev { left: max(12px, calc((100vw - var(--card-w)) / 2 - 72px)); }
.band-step-next { right: max(12px, calc((100vw - var(--card-w)) / 2 - 72px)); }
.band-step:hover { background: var(--pink); border-color: var(--pink); color: var(--navy-deep); }
.band-step-prev:hover svg { transform: translateX(-2px); }
.band-step-next:hover svg { transform: translateX(2px); }
.band-step svg { transition: transform .15s ease; }

@media (max-width: 760px) {
  .band-dialog { --card-w: 100%; padding: 40px 0 0; }
  .band-dialog-inner { border-radius: 22px 22px 0 0; border-bottom: 0; min-height: calc(100% - 0px); }
  @keyframes dialog-in { from { transform: translateY(40px); opacity: 0; } }
  .band-dialog-body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .band-dialog-body p:not(.band-dialog-meta) { font-size: 16px; }
  /* Auf dem Smartphone: Pfeile links und rechts unten, damit sie keinen Text verdecken */
  .band-dialog-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
    display: flex; justify-content: space-between; align-items: flex-end;
    padding: 28px 16px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, rgba(0, 25, 55, 0), var(--navy-deep) 55%);
    pointer-events: none;
  }
  .band-step { position: static; transform: none; width: 52px; height: 52px; background: var(--navy-card); border-color: rgba(255, 243, 216, .5); pointer-events: auto; }
}

/* --- FAQ-Animation (JS steuert die Höhe, siehe main.js) --------------------- */
.faq-list details { overflow: hidden; transition: border-color .2s ease, background-color .2s ease; }
.faq-list details[open] { border-color: #3a6299; }
.faq-list summary::after { transition: transform .25s ease; }
.faq-list details.is-closing summary::after { transform: rotate(0deg); }

@media (prefers-reduced-motion: reduce) {
  .band-dialog[open], .band-dialog[open]::backdrop { animation: none; }
  .band-card.is-clickable, .band-card.is-clickable:hover { transition: none; transform: none; }
  .band-card.is-clickable::before, .band-list .band-name, .band-list small { transition: none !important; }
}

/* --- Blitz-Hover für Buttons -----------------------------------------------
   Beim Hovern zucken links und rechts je drei Blitze aus dem Button und
   flackern weiter; der Button zittert kurz und glüht ("elektrisiert").     */
.btn { position: relative; isolation: isolate; --bolt: var(--pink); }
.btn-accent { --bolt: #ffe14d; }
.btn-navy { --bolt: var(--pink); }
.btn-outline, .btn-ghost, .btn-cream { --bolt: #ffe14d; }
.tickets .btn, .join-accent .btn { --bolt: var(--navy); }
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 36px;
  height: 62px;
  margin-top: -31px;
  background: var(--bolt);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 56'%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 28)'/%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 17) rotate(34 24 0)'/%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 39) rotate(-34 24 0)'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 56'%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 28)'/%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 17) rotate(34 24 0)'/%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 39) rotate(-34 24 0)'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 4px var(--bolt));
}
.btn::before { right: 100%; margin-right: 2px; transform-origin: right center; }
.btn::after  { left: 100%;  margin-left: 2px;  transform-origin: left center; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 56'%3E%3Cg transform='translate(32 0) scale(-1 1)'%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 28)'/%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 17) rotate(34 24 0)'/%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 39) rotate(-34 24 0)'/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 56'%3E%3Cg transform='translate(32 0) scale(-1 1)'%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 28)'/%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 17) rotate(34 24 0)'/%3E%3Cpath d='M24 -2 L11.5 -4.8 L13.4 -0.7 L0 0.6 L10.8 4 L9.2 0 L24 2 Z' transform='translate(7 39) rotate(-34 24 0)'/%3E%3C/g%3E%3C/svg%3E"); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: none; filter: none; animation: zap-jitter .28s steps(2, end) 1; box-shadow: 0 0 0 2px color-mix(in srgb, var(--bolt) 55%, transparent), 0 0 22px color-mix(in srgb, var(--bolt) 45%, transparent); }
  .btn:hover::before { animation: bolt-pop .22s cubic-bezier(.2, 1.6, .4, 1) forwards, bolt-flicker 1.1s steps(1, end) .22s infinite; }
  .btn:hover::after  { animation: bolt-pop-r .22s cubic-bezier(.2, 1.6, .4, 1) .05s forwards, bolt-flicker 1.1s steps(1, end) .4s infinite; }
}
@keyframes bolt-pop {
  0%   { opacity: 0; transform: scale(.2, .6) translateX(6px); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes bolt-pop-r {
  0%   { opacity: 0; transform: scale(.2, .6) translateX(-6px); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes bolt-flicker {
  0%   { opacity: 1; transform: none; }
  12%  { opacity: .25; }
  18%  { opacity: 1; transform: translateX(-1px) scale(1.06); }
  42%  { opacity: .8; transform: none; }
  55%  { opacity: .15; }
  60%  { opacity: 1; transform: translateX(-2px) scale(1.1, .95); }
  70%  { opacity: 1; transform: none; }
  100% { opacity: 1; }
}
@keyframes zap-jitter {
  0%   { transform: translate(1px, -1px); }
  50%  { transform: translate(-1px, 1px); }
  100% { transform: none; }
}
.btn:active { animation: none; transform: scale(.97); }

.band-dialog:focus, .band-dialog:focus-visible { outline: none; }

/* --- Band-Dialog: zentriert + Karten-Blättern ------------------------------ */
.band-dialog[open] { display: flex; flex-direction: column; }
.band-dialog-inner { margin: auto; flex-shrink: 0; }   /* mittig; ist die Karte höher als der Bildschirm, beginnt sie oben */
@media (max-width: 760px) { .band-dialog-inner { margin: auto 0 0; } }

/* Beim Blättern liegt die neue Karte auf einem transparenten Dialog über der alten */
.band-dialog.is-stacked::backdrop { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; animation: none; }
.band-dialog[open].enter-next .band-dialog-inner { animation: card-in-next .42s cubic-bezier(.2, .8, .2, 1); }
.band-dialog[open].enter-prev .band-dialog-inner { animation: card-in-prev .42s cubic-bezier(.2, .8, .2, 1); }
.band-dialog[open] .band-dialog-inner.exit-next { animation: card-out-next .42s cubic-bezier(.5, 0, .75, 0) forwards; }
.band-dialog[open] .band-dialog-inner.exit-prev { animation: card-out-prev .42s cubic-bezier(.5, 0, .75, 0) forwards; }
@keyframes card-in-next {
  from { transform: translateX(55vw) rotate(7deg) scale(.94); }
  70%  { transform: translateX(-8px) rotate(-.6deg); }
  to   { transform: none; }
}
@keyframes card-in-prev {
  from { transform: translateX(-55vw) rotate(-7deg) scale(.94); }
  70%  { transform: translateX(8px) rotate(.6deg); }
  to   { transform: none; }
}
@keyframes card-out-next { to { transform: translateX(-70vw) rotate(-10deg) scale(.92); opacity: .4; } }
@keyframes card-out-prev { to { transform: translateX(70vw) rotate(10deg) scale(.92); opacity: .4; } }
/* Pfeile der neuen Karte nicht doppelt einblenden */
.band-dialog.is-stacked .band-step { transition: none; }

/* Kein erneutes Einblenden des Hintergrunds nach dem Blättern */
.band-dialog.no-fade::backdrop { animation: none; }
.band-dialog.no-fade .band-step { transition: none; }
.band-dialog.no-fade .band-dialog-inner { animation: none; }
/* Wegfliegende Karten dürfen keinen horizontalen Scrollbalken erzeugen */
.band-dialog { overflow-x: hidden; }

/* --- Lageplan ---------------------------------------------------------------- */
.map-figure { position: relative; flex: 999 1 520px; align-self: flex-start; display: block; border-radius: 20px; overflow: hidden; border: 1px solid var(--navy-line); background: #f4d84b; }
.map-figure img { width: 100%; height: auto; transition: transform .3s ease; }
.map-figure:hover img { transform: scale(1.02); }
.map-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--navy); color: var(--cream); font-weight: 700; font-size: 14px; }
.map-figure:hover .map-zoom { background: var(--pink); color: var(--navy-deep); }
.anreise-list .card strong { color: var(--cream); }
@media (max-width: 760px) { .map-zoom { right: 8px; bottom: 8px; padding: 5px 9px; font-size: 12px; } .map-zoom svg { width: 14px; height: 14px; } }

/* --- Anreise: Plan in voller Breite, Infos darunter nebeneinander ---------- */
.anreise-grid { display: flex; flex-direction: column; gap: 20px; }
.map-figure { flex: none; align-self: stretch; }
.anreise-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.anreise-list .link-strong { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 1100px) { .anreise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .anreise-list { grid-template-columns: 1fr; } }

/* --- Lageplan-Lightbox ------------------------------------------------------ */
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--cream);
}
.lightbox::backdrop { background: rgba(0, 10, 25, .9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox[open]::backdrop { animation: fade-in .2s ease-out; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; flex-shrink: 0; }
.lightbox-hint { font-size: 14px; font-weight: 600; color: var(--muted); }
.lightbox-bar form { margin: 0; }
.lightbox-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 243, 216, .12); color: var(--cream); cursor: pointer; }
.lightbox-close:hover { background: var(--pink); color: var(--navy-deep); }
.lightbox-stage { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; display: flex; padding: 0 16px 16px; }
.lightbox-stage img {
  margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 12px; cursor: zoom-in; user-select: none; -webkit-user-select: none;
}
.lightbox[open] .lightbox-stage img { animation: dialog-in .24s ease-out; }
.lightbox.is-zoomed .lightbox-stage img { max-width: none; max-height: none; width: clamp(1200px, 200%, 1900px); cursor: zoom-out; border-radius: 0; animation: none; }
.lightbox.is-zoomed .lightbox-stage { cursor: grab; }
.lightbox.is-dragging .lightbox-stage, .lightbox.is-dragging .lightbox-stage img { cursor: grabbing; }
@media (prefers-reduced-motion: reduce) { .lightbox[open]::backdrop, .lightbox[open] .lightbox-stage img { animation: none; } }

/* --- History-Leiste mit Plakaten -------------------------------------------- */
.history-sub { margin-top: 10px; }
.history-scroller li { flex: 0 0 200px; }
/* overflow-x: auto schneidet auch oben ab: Platz für das Anheben beim Hover, ohne das Layout zu verschieben */
.history-scroller { padding-top: 6px; margin-top: -6px; }
.history-card {
  appearance: none; width: 100%; height: 100%; padding: 0; text-align: left; font: inherit; color: var(--cream); cursor: pointer;
  display: flex; flex-direction: column; background: var(--navy-card); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.history-card:hover { transform: translateY(-3px); border-color: var(--pink); }
.history-poster { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; background-color: #e9e2cf; overflow: hidden; }
.history-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.history-year { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 56px; color: var(--white); text-shadow: 0 4px 0 var(--navy); }
.history-poster img + .history-year { position: absolute; left: 10px; bottom: 6px; font-size: 34px; text-shadow: 0 2px 10px rgba(0,0,0,.6), 0 2px 0 var(--navy); }
.history-meta { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 16px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.history-meta strong { color: var(--pink); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
@media (prefers-reduced-motion: reduce) { .history-card, .history-card:hover { transition: none; transform: none; } }

/* --- Jahrgangs-Dialog ------------------------------------------------------- */
.year-dialog { --card-w: min(980px, calc(100vw - 160px)); }
.year-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.year-poster { margin: 0; background: #e9e2cf; display: flex; align-items: flex-start; justify-content: center; }
.year-poster img { width: 100%; height: auto; display: block; }
.year-poster-empty { position: relative; display: grid; place-items: center; min-height: 360px; }
.year-poster-empty span { font-family: var(--font-display); font-weight: 700; font-size: 80px; color: var(--white); text-shadow: 0 5px 0 var(--navy); }
.year-poster-empty figcaption { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-weight: 700; font-size: 13px; color: var(--navy-deep); }
.year-dialog .band-dialog-body h3 { padding-right: 48px; }
.year-lineup-title { margin: 8px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.year-lineup { columns: 2 180px; column-gap: 24px; margin: 0; }
.year-lineup li { break-inside: avoid; padding: 3px 0; font-weight: 600; font-size: 16px; }
.year-lineup li:nth-child(-n+3) { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; }

.yt-slot { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background-color: var(--navy-card); background-image: repeating-linear-gradient(135deg, rgba(255,243,216,.06) 0 12px, transparent 12px 24px); }
.yt-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-load { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; border: 0; background: none; color: var(--cream); font: inherit; text-align: center; cursor: pointer; }
.yt-play { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: var(--navy-deep); transition: transform .15s ease; }
.yt-load:hover .yt-play { transform: scale(1.08); }
.yt-text { display: flex; flex-direction: column; gap: 4px; }
.yt-text small { font-size: 12px; color: var(--muted); }
.yt-slot.is-playing .yt-load { display: none; }
.yt-none { padding: 14px 16px; border-radius: 12px; background: var(--navy-card); color: var(--muted); font-size: 15px; }

@media (max-width: 760px) {
  .year-layout { grid-template-columns: 1fr; }
  .year-poster { padding: 20px 20px 0; background: transparent; }
  .year-poster img { max-width: 260px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
  .year-poster-empty { min-height: 200px; margin: 0; padding: 0; }
  .year-dialog .band-dialog-body h3 { padding-right: 0; }
}
/* Nachträge Jahrgangs-Dialog */
.year-poster { background: transparent; padding: 28px 0 28px 28px; }
.year-poster img { border-radius: 10px; box-shadow: 0 12px 34px rgba(0, 0, 0, .45); }
.year-poster-empty { margin: 28px 0 28px 28px; padding: 0; border-radius: 10px; }
@media (max-width: 760px) {
  .year-dialog { --card-w: 100%; }
  .year-poster { padding: 24px 20px 0; justify-content: center; }
  .year-poster-empty { margin: 24px 20px 0; }
  .yt-play { width: 56px; height: 56px; }
  .yt-text strong { font-size: 15px; }
  .yt-text small { display: none; }
}

/* --- Running Order ---------------------------------------------------------- */
.ro-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--navy-card); border: 1px solid var(--navy-line); }
.ro-tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.ro-tabs button[aria-selected="true"] { background: var(--cream); color: var(--navy); }
.ro-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ro-slot {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 14px 20px; border-radius: 14px; background: var(--navy-card); border: 1px solid var(--navy-line);
}
.ro-time { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ro-main { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; min-width: 0; }
.ro-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; text-transform: uppercase; color: var(--cream); }
button.ro-name:hover { color: var(--pink); }
.ro-extra { font-size: 14px; color: var(--muted); }
.ro-slot.is-head .ro-name { font-size: 34px; }
.ro-slot.is-head { border-color: #3a6299; }
.ro-slot.is-info { background: transparent; border-style: dashed; }
.ro-slot.is-info .ro-name { font-family: var(--font-body); font-weight: 700; font-size: 17px; text-transform: none; }
.ro-state:empty { display: none; }
.ro-state { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--pink); color: var(--navy-deep); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.ro-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: live-pulse 1.4s ease-in-out infinite; }
.ro-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--pink); }
.ro-slot.is-past { opacity: .45; }
.ro-slot.is-past .ro-progress { display: none; }
.ro-slot.is-now { border-color: var(--pink); background: linear-gradient(90deg, rgba(234, 82, 151, .18), var(--navy-card) 60%); }
.ro-slot.is-now .ro-time { color: var(--pink); }
.ro-slot.is-next::after { content: "Als Nächstes"; position: absolute; top: 8px; right: 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ro-note { margin-top: 16px; font-size: 15px; }
@keyframes live-pulse { 50% { opacity: .25; } }

/* Jetzt / Als Nächstes in der Bühne */
.now-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(640px, 100%); margin-top: 6px; }
.now-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 18px; border-radius: 16px; background: rgba(0, 40, 89, .92); border: 2px solid var(--pink); text-decoration: none; color: var(--cream); text-align: left; }
.now-card.is-next { border-color: var(--navy-line); }
.now-card strong { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.now-card > span:last-child { font-size: 14px; color: var(--muted); }
.now-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--pink); }
.now-card.is-next .now-label { color: var(--muted); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); animation: live-pulse 1.4s ease-in-out infinite; }

@media (max-width: 760px) {
  .ro-tabs { width: 100%; }
  .ro-tabs button { flex: 1; }
  .ro-slot { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 12px 14px; }
  .ro-time { font-size: 18px; }
  .ro-name { font-size: 21px; }
  .ro-slot.is-head .ro-name { font-size: 26px; }
  .ro-state { grid-column: 2; justify-self: start; }
  .ro-slot.is-next::after { top: 6px; right: 10px; font-size: 10px; }
  .now-next { grid-template-columns: 1fr; }
  .now-card strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .ro-state::before, .live-dot { animation: none; } }
/* Während des Festivals: Jetzt/Als Nächstes ohne Scrollen sichtbar */
body[data-phase="live"] .hero-logo { width: min(300px, 60%); }
body[data-phase="live"] .hero-place { display: none; }
body[data-phase="live"] .hero-content { gap: 14px; }

/* --- Vorschau-Schalter: einklappbar ------------------------------------------ */
.phase-switcher { padding: 4px; gap: 0; transition: box-shadow .2s ease; }
.phase-switcher .ps-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--navy); color: var(--cream); font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; }
.phase-switcher .ps-toggle[aria-pressed] { background: var(--navy); }
.ps-label { color: var(--muted); font-weight: 600; }
.ps-options { display: flex; gap: 4px; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .3s ease, opacity .2s ease, margin .3s ease; }
.ps-options button { white-space: nowrap; }
.phase-switcher.is-open .ps-options { max-width: 640px; opacity: 1; margin-left: 4px; }
@media (hover: hover) {
  .phase-switcher:hover .ps-options, .phase-switcher:focus-within .ps-options { max-width: 640px; opacity: 1; margin-left: 4px; }
}
@media (max-width: 760px) {
  .phase-switcher { position: fixed; top: auto; left: 12px; right: auto; bottom: 88px; width: auto; max-width: calc(100vw - 24px); transform: none; border-radius: 999px; border: 0; background: var(--white); box-shadow: 0 8px 30px rgba(0, 10, 30, .35); justify-content: flex-start; }
  .phase-switcher.is-open { flex-wrap: wrap; border-radius: 22px; }
  .phase-switcher.is-open .ps-options { flex-wrap: wrap; max-width: none; margin: 4px 0 0; }
  .ps-label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ps-options { transition: none; } }
.phase-switcher .ps-toggle span { padding: 0; }
.phase-switcher .ps-current { display: inline; color: var(--cream); }
.phase-switcher .ps-label { color: #9fb3cf; }
@media (max-width: 760px) { .phase-switcher .ps-label { display: none; } }

/* --- Mobile-Feinschliff ------------------------------------------------------ */
/* Überschriften: mehr Zeilenabstand, damit Umlaut-Punkte nicht in die Zeile darüber ragen */
.h2 { line-height: 1.02; }
@media (max-width: 760px) { .h2 { line-height: 1.16; } }

/* Bandliste mobil */
@media (max-width: 760px) {
  .band-list { font-size: 23px; }
  .band-list small { font-size: 13px; }
}

/* Mobilmenü: von rechts hereinfahren, Hintergrund einblenden */
.mobile-menu {
  display: flex;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), overlay .32s allow-discrete, display .32s allow-discrete;
}
.mobile-menu:not(:popover-open) { display: none; }
.mobile-menu:popover-open { transform: none; }
@starting-style { .mobile-menu:popover-open { transform: translateX(100%); } }
.mobile-menu::backdrop { opacity: 0; transition: opacity .32s ease, overlay .32s allow-discrete, display .32s allow-discrete; }
.mobile-menu:popover-open::backdrop { opacity: 1; }
@starting-style { .mobile-menu:popover-open::backdrop { opacity: 0; } }
.mobile-menu:popover-open a { animation: menu-item-in .35s ease-out both; }
.mobile-menu:popover-open a:nth-of-type(2) { animation-delay: .03s; }
.mobile-menu:popover-open a:nth-of-type(3) { animation-delay: .06s; }
.mobile-menu:popover-open a:nth-of-type(4) { animation-delay: .09s; }
.mobile-menu:popover-open a:nth-of-type(5) { animation-delay: .12s; }
.mobile-menu:popover-open a:nth-of-type(6) { animation-delay: .15s; }
.mobile-menu:popover-open a:nth-of-type(7) { animation-delay: .18s; }
.mobile-menu:popover-open a:nth-of-type(8) { animation-delay: .21s; }
@keyframes menu-item-in { from { opacity: 0; transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu::backdrop { transition: none; }
  .mobile-menu:popover-open a { animation: none; }
}

/* --- Navbar-Logo erst zeigen, wenn das Bühnenlogo weg ist ------------------ */


/* --- Header-Marke: Claims oben, Otto + Datum schieben nach ------------------ */
/* Marke reicht bis an die Unterkante der Navbar, damit Otto dort aufsitzt */
.brand { --bh: calc(var(--header-h) - 8px); display: block; height: var(--bh); margin-bottom: -8px; align-self: flex-end; overflow: hidden; }
.brand-track { display: flex; flex-direction: column; transform: translateY(calc(var(--bh) * -1)); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
body.hero-logo-visible .brand-track { transform: translateY(0); }
.brand-row { height: var(--bh); display: flex; align-items: center; gap: 12px; flex: none; }
.brand .brand-claims { padding-bottom: 8px; }
.brand .brand-claims img { height: calc(var(--bh) - 8px); width: auto; }
.brand .brand-claims img + img { margin-left: 4px; }
.brand .brand-otto { height: var(--bh); width: auto; align-self: flex-end; }
.brand-festival .brand-date { margin-bottom: 8px; }
.brand-row > * { transition: opacity .3s ease; }
body.hero-logo-visible .brand-festival > *, body:not(.hero-logo-visible) .brand-claims > * { opacity: 0; }
@media (max-width: 760px) {
  .brand-row { gap: 9px; }
  .brand-date { font-size: 18px; }
  .brand-date small { display: block; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .brand-track, .brand-row > * { transition: none; } }

/* --- Bühne mobil ohne Welle ------------------------------------------------- */
@media (max-width: 760px) { .hero-wave { display: none; } }

/* --- Scroll-Hinweis (Jahrgänge) ---------------------------------------------- */
.scroll-wrap { position: relative; }
.scroll-hint {
  display: grid; place-items: center;
  position: absolute; right: 6px; top: 34%; z-index: 3;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
  background: var(--pink); color: var(--navy-deep);
  box-shadow: 0 6px 20px rgba(0, 10, 30, .45);
  cursor: pointer;
  transition: opacity .25s ease, transform .25s ease;
  animation: hint-nudge 1.6s ease-in-out infinite;
}
.scroll-hint::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--pink); animation: hint-ring 1.6s ease-out infinite; }
.scroll-wrap.at-end .scroll-hint { opacity: 0; transform: scale(.6); pointer-events: none; animation: none; }
.history-wrap .scroll-hint { top: 30%; right: 16px; }
/* --- Headliner in zwei Stufen: große Karten für Haupt-, kleinere für Sub-Headliner --- */
.headliners-wrap + .headliners-wrap { margin-top: 18px; }
/* Name und Herkunft liegen auf dem unteren Bildrand, ein Verlauf hält sie lesbar.
   Foto und Text teilen sich eine Grid-Zelle statt position: absolute, damit die
   Klickfläche des Buttons (::after) weiter die ganze Karte abdeckt. */
.headliners .band-card { display: grid; }
.headliners .band-photo, .headliners .band-info { grid-area: 1 / 1; }
.headliners .band-photo { align-items: flex-start; }
.headliners .band-info { align-self: end; z-index: 1; padding: 64px 20px 18px; background: linear-gradient(to top, rgba(0, 25, 55, .94), rgba(0, 25, 55, .62) 55%, rgba(0, 25, 55, 0)); }
.headliners .band-info h3 { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.headliners .band-info p { color: rgba(255, 255, 255, .86); }
.headliners .band-card-tba .band-photo { padding-bottom: 22%; }
.headliners-haupt .headliners { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.headliners-haupt .band-info h3 { font-size: clamp(36px, 4vw, 52px); }
.headliners-sub .headliners { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.headliners-sub .band-info { padding: 44px 14px 12px; }
.headliners-sub .band-info h3 { font-size: clamp(24px, 2.2vw, 30px); }
.headliners-sub .band-info p { font-size: 14px; }
.headliners-sub .tba-mark { font-size: 84px; }
@media (max-width: 760px) {
  /* Alle Headliner untereinander statt seitlich scrollen */
  .headliners-haupt .headliners, .headliners-sub .headliners { grid-template-columns: 1fr; }
}

@keyframes hint-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 5px 0; } }
@keyframes hint-ring { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint, .scroll-hint::before { animation: none !important; } }

/* --- Eckige Kästen (Buttons, Chips und Badges bleiben rund) ------------------ */
:root { --radius: 0; }
.countdown div, .video-placeholder, .band-card, .ticket-facts li, .highlights li, .card,
.history-scroller a, .history-card, .map-placeholder, .map-figure, .faq-list details, .join-card,
.sponsor, .band-dialog-inner, .lightbox-stage img, .yt-slot, .yt-none, .year-poster img,
.year-poster-empty, .ro-slot, .now-card { border-radius: 0; }
@media (max-width: 760px) { .band-dialog-inner { border-radius: 0; } }

/* --- Footer: Vereinslogo + Widerruf ------------------------------------------ */
.footer-brand img.footer-logo { width: 150px; }
.footer-nav { align-items: flex-start; }
.site-footer .btn-withdraw { margin-top: 6px; color: var(--cream); font-size: 13px; letter-spacing: .04em; padding: 5px 13px; min-height: 32px; }
/* Widerruf: schlichter Hover ohne Blitze */
.site-footer .btn-withdraw:hover { color: var(--white); animation: none; box-shadow: none; transform: none; filter: brightness(1.25); }
.site-footer .btn-withdraw::before, .site-footer .btn-withdraw::after { display: none; }
/* Textlinks: Die dünne Unterstreichung wird beim Hover zu einer kräftigeren Linie, die von links
   nach rechts durchzieht und beim Verlassen nach rechts verschwindet. Schrift bleibt dunkel und lesbar. */
@media (hover: hover) and (pointer: fine) {
  .site-footer a:not(.btn, .sponsor) {
    padding-bottom: 2px; margin-bottom: -2px;
    background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 2px;
    transition: background-size .15s ease-out, text-decoration-color .15s ease-out;
  }
  .site-footer a:not(.btn, .sponsor):hover { text-decoration-color: transparent; background-position: 0 100%; background-size: 100% 2px; }
}
@media (prefers-reduced-motion: reduce) { .site-footer a:not(.btn, .sponsor) { transition: none; } }

/* --- Band-Dialog: Platz für die Blitze zwischen Spotify und YouTube --------- */
.band-dialog-links { column-gap: 36px; row-gap: 12px; }

/* --- Anreiseplaner ----------------------------------------------------------- */
.anreise-lead { max-width: 62ch; margin-top: 10px; font-size: 18px; }
.planner { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; margin-top: 28px; border: 1px solid var(--navy-line); background: var(--navy-card); }
.planner-form { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.planner-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.planner-field > label, .planner-field > legend { display: block; padding: 0; margin-bottom: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.planner-origin { display: flex; }
.planner-origin input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; border: 1px solid var(--navy-line); border-right: 0; background: var(--navy-deep); color: var(--cream); font: inherit; font-size: 18px; }
.planner-origin input::placeholder { color: #7f97bb; }
.planner-origin input:focus-visible { outline: 3px solid var(--pink); outline-offset: -1px; }
.planner-locate { width: 50px; display: grid; place-items: center; border: 1px solid var(--navy-line); background: var(--navy); color: var(--cream); cursor: pointer; }
.planner-locate:hover { color: var(--pink); }
.planner-locate.is-busy svg { animation: live-pulse 1s ease-in-out infinite; }
.planner-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid #3a6299; color: var(--cream); font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: .02em; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.chip:hover span { border-color: var(--pink); }
.chip input:checked + span { background: var(--pink); border-color: var(--pink); color: var(--navy-deep); }
.chip input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 3px; }
.chip.is-disabled { cursor: not-allowed; }
.chip.is-disabled span { opacity: .4; border-style: dashed; }
.planner-note { margin-top: 8px; font-size: 15px; color: var(--pink); }

.route { list-style: none; margin: 4px 0 0; padding: 0; }
.route-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 18px; }
.route-step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; border-left: 2px dotted #4a6c9c; }
.route-step[data-focus] { cursor: pointer; }
.route-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-deep); border: 1px solid var(--navy-line); color: var(--cream); transition: border-color .15s ease, color .15s ease; }
.route-step[data-focus]:hover .route-icon, .route-step[data-focus]:focus-visible .route-icon { border-color: var(--pink); color: var(--pink); }
.route-step:focus-visible { outline: none; }
.route-step.is-highlight .route-icon { background: var(--pink); border-color: var(--pink); color: var(--navy-deep); }
.route-body { padding-top: 8px; min-width: 0; }
.route-body strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.15; text-transform: uppercase; color: var(--cream); overflow-wrap: anywhere; }
.route-body p { margin-top: 4px; color: var(--muted); font-size: 16px; }
.route-link { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--cream); text-underline-offset: 3px; }
.route-link:hover { color: var(--pink); }
.route-link.is-cta { padding: 6px 14px; border-radius: 999px; background: var(--pink); color: var(--navy-deep); text-decoration: none; }
.route-link.is-cta:hover { color: var(--navy-deep); filter: brightness(1.08); }
.route-hinweis { display: inline-block; margin-top: 6px; padding: 6px 14px; border: 1px dashed var(--navy-line); border-radius: 999px; color: var(--muted); font-size: 15px; }
.route-return { padding: 14px 16px; border-left: 3px solid var(--pink); background: var(--navy-deep); font-size: 16px; color: var(--text); }
.route-return strong { color: var(--cream); }

.planner-map { position: relative; display: flex; flex-direction: column; min-height: 560px; border-left: 1px solid var(--navy-line); }
.map-canvas { flex: 1; min-height: 420px; background: #dfe3e6 repeating-linear-gradient(135deg, rgba(0,40,89,.05) 0 12px, transparent 12px 24px); }
.map-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--navy-line); background: var(--navy-deep); }
.map-layers { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; border: 1px solid var(--navy-line); }
.map-layers button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.map-layers button[aria-pressed="true"] { background: var(--cream); color: var(--navy); }
.map-plan-link { font-weight: 700; font-size: 15px; color: var(--cream); text-underline-offset: 3px; }
.map-plan-link:hover { color: var(--pink); }
.anreise-more { margin-top: 16px; color: var(--muted); font-size: 16px; }
.anreise-more strong { color: var(--cream); }

/* Leaflet im SEEPOGO-Look */
.map-canvas .leaflet-container, .map-canvas.leaflet-container { font: inherit; }
.leaflet-container .leaflet-control-attribution { font-size: 11px; background: rgba(255, 255, 255, .8); }
.leaflet-bar a { color: var(--navy); }
.mk { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--navy); color: var(--cream); border: 2px solid var(--cream); font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 20, 50, .35); transition: transform .2s ease, background .2s ease; }
.mk svg { width: 18px; height: 18px; }
.mk-parking { border-radius: 6px; background: #1f5fae; }
.mk-aid { background: #e1242a; font-size: 20px; padding: 0; width: 30px; min-width: 30px; height: 30px; }
.mk-place { background: var(--cream); color: var(--navy); border-color: var(--navy); text-transform: uppercase; }
.mk-station { background: var(--cream); color: var(--navy); border-color: var(--navy); }
.mk-taxi { background: #ffe14d; color: var(--navy-deep); border-color: var(--navy-deep); padding: 0; width: 34px; height: 34px; }
.mk.is-active { background: var(--pink); color: var(--navy-deep); border-color: var(--white); transform: translate(-50%, -50%) scale(1.18); z-index: 2; }
.leaflet-marker-icon:has(.mk.is-active) { z-index: 900 !important; }
.rt-shuttle { stroke: var(--pink); }
.rt-walk { stroke: var(--navy); }
.map-canvas.is-sat .rt-walk { stroke: #fff; }
.mk-pop .leaflet-popup-content-wrapper { border-radius: 0; background: var(--navy-deep); color: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.mk-pop .leaflet-popup-content { font-size: 15px; line-height: 1.45; margin: 12px 16px; }
.mk-pop .leaflet-popup-content b { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; color: var(--cream); }
.mk-pop .leaflet-popup-tip { background: var(--navy-deep); }
.mk-pop a.leaflet-popup-close-button { color: var(--muted); }
.mk-tip { font: 600 14px var(--font-body); }

@media (max-width: 900px) {
  .planner { grid-template-columns: 1fr; }
  .planner-map { min-height: 0; border-left: 0; border-top: 1px solid var(--navy-line); }
  .map-canvas { min-height: 0; height: 340px; }
}
@media (max-width: 760px) {
  .planner { margin-inline: calc(var(--gutter) * -1); border-inline: 0; }
  .route-body strong { font-size: 19px; }
}
.map-canvas.is-far .mk:not([data-k="station"]):not([data-k="stage"]) { display: none; }
.route-step.is-highlight[data-focus]:hover .route-icon, .route-step.is-highlight[data-focus]:focus-visible .route-icon { color: var(--navy-deep); border-color: var(--white); }

/* --- Anreiseplaner kompakter: Eingaben als Leiste, Route und Karte nebeneinander --- */
.planner { grid-template-columns: minmax(340px, 5fr) 7fr; }
.planner-form { display: contents; }
.planner-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 32px; padding: 20px clamp(20px, 3vw, 28px); border-bottom: 1px solid var(--navy-line); }
.planner-field-origin { flex: 1 1 320px; max-width: 520px; }
.planner-field > label, .planner-field > legend { margin-bottom: 6px; font-size: 14px; }
.planner-origin input { min-height: 44px; font-size: 17px; }
.planner-locate { width: 44px; }
.chip span { min-height: 44px; padding: 0 16px; font-size: 16px; }
.planner-route { padding: 20px clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.planner-note { margin: 0; }
.route { margin: 0; }
.route-step { grid-template-columns: 36px 1fr; gap: 12px; padding-bottom: 12px; }
.route-step:not(:last-child)::before { left: 17px; top: 36px; }
.route-icon { width: 36px; height: 36px; }
.route-icon svg { width: 19px; height: 19px; }
.route-body { padding-top: 5px; }
.route-body strong { font-size: 18px; }
.route-body p { margin-top: 2px; font-size: 15px; line-height: 1.4; }
.route-link { margin-top: 4px; font-size: 15px; }
.route-link.is-cta { padding: 4px 12px; }
.route-hinweis { margin-top: 4px; padding: 4px 12px; }
.route-return { padding: 10px 14px; font-size: 15px; line-height: 1.4; }
.planner-map { min-height: 0; border-left: 1px solid var(--navy-line); }
.map-canvas { min-height: 380px; }
@media (max-width: 900px) {
  .planner { grid-template-columns: 1fr; }
  .planner-field-origin { flex-basis: 100%; max-width: none; }
  .planner-map { border-left: 0; border-top: 1px solid var(--navy-line); }
  .map-canvas { min-height: 0; height: 340px; }
}
@media (max-width: 900px) { .map-canvas { flex: none; height: 340px; } }
/* Leaflet-Ebenen (z-index 400–1000) in der Karte einschließen, damit die Navbar oben bleibt */
.map-canvas { position: relative; z-index: 0; isolation: isolate; }

/* --- FAQ: Antworten mit Absätzen, Listen und Links ---------------------------- */
.faq-list .faq-answer { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; color: var(--muted); }
.faq-list .faq-answer p { padding-bottom: 0; }
.faq-list .faq-answer ul, .faq-list .faq-answer ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 4px; }
/* Die globale Regel ul { list-style: none } schaltet die Aufzählungszeichen sonst ab */
.faq-list .faq-answer ul { list-style: disc; }
.faq-list .faq-answer ol { list-style: decimal; }
.faq-list .faq-answer li::marker { color: var(--pink); }
.faq-list .faq-answer strong { color: var(--cream); }
.faq-list .faq-answer a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.faq-list .faq-answer a:hover { color: var(--pink); }

/* --- FAQ-Dialog: Suche und Kategorien ---------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.faq-dialog { --card-w: min(860px, calc(100vw - 48px)); }
.faq-dialog .band-dialog-body { padding-top: 40px; }
.faq-tools { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.faq-search { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid var(--navy-line); border-radius: 999px; background: var(--navy); color: #7f97bb; }
.faq-search:focus-within { outline: 3px solid var(--pink); outline-offset: 2px; color: var(--cream); }
.faq-search input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: var(--cream); font: inherit; font-size: 18px; }
.faq-search input:focus { outline: none; }
.faq-search input::placeholder { color: #7f97bb; }
/* min-width: 0, weil ein fieldset sonst mindestens so breit wie sein Inhalt wird und mobil nicht scrollen kann */
.faq-filter { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.faq-filter .chip span { min-height: 38px; padding: 0 14px; font-size: 15px; gap: 6px; }
.faq-filter .chip small { font-size: 12px; opacity: .65; }
.faq-count { font-size: 14px !important; color: var(--muted) !important; }
.faq-empty { color: var(--muted); }
.faq-empty a { color: var(--cream); }
.faq-dialog .faq-list summary { font-size: 17px; }
@media (max-width: 760px) {
  .faq-dialog { --card-w: 100%; }
  .faq-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * clamp(20px, 4vw, 36px)); padding-inline: clamp(20px, 4vw, 36px); scrollbar-width: none; }
  .faq-filter .chip { flex: none; }
}

/* --- Rechtsseiten (Impressum, Datenschutz) ------------------------------------ */
.legal { max-width: 820px; padding-bottom: 72px; }
.legal h1 { margin-bottom: 24px; }
.legal h2 { margin: 36px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 28px); text-transform: uppercase; letter-spacing: .02em; }
.legal p, .legal li { color: #dbe4f0; font-size: 17px; line-height: 1.6; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 8px 0 12px; padding-left: 1.3em; list-style: disc; }
.legal ol { margin: 8px 0 12px; padding-left: 1.6em; list-style: decimal; }
.legal ol ol { list-style: lower-alpha; }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.legal a:hover { color: var(--pink); }
.legal em { color: var(--pink); }

/* --- Newsletter-Dialog ----------------------------------------------------- */
.newsletter-dialog { --card-w: min(620px, calc(100vw - 48px)); }
.newsletter-dialog .band-dialog-body { padding-top: 40px; }
.newsletter-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.newsletter-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.newsletter-form .nl-email, .newsletter-form .btn { grid-column: 1 / -1; }
.newsletter-form input { min-height: 50px; padding: 0 14px; border: 1px solid var(--navy-line); background: var(--navy-deep); color: var(--cream); font: inherit; font-size: 18px; text-transform: none; letter-spacing: 0; }
.newsletter-form input:focus-visible { outline: 3px solid var(--pink); outline-offset: -1px; }
.newsletter-form .btn { justify-self: start; }
.newsletter-hint { margin-top: 18px; font-size: 15px !important; color: var(--muted) !important; }
.newsletter-hint a { color: var(--cream); }
@media (max-width: 760px) {
  .newsletter-dialog { --card-w: 100%; }
  .newsletter-form { grid-template-columns: 1fr; }
}

/* --- Kontakt-Dialog --------------------------------------------------------- */
.kontakt-dialog { --card-w: min(620px, calc(100vw - 48px)); }
.kontakt-dialog .band-dialog-body { padding-top: 40px; }
.kontakt-list { display: flex; flex-direction: column; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.kontakt-list li { padding: 16px 18px; border: 1px solid var(--navy-line); background: var(--navy); }
.kontakt-list h4 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; color: var(--cream); }
.kontakt-list p { margin-top: 4px; font-size: 16px !important; color: var(--muted) !important; }
.kontakt-list .btn { margin-top: 12px; }
.kontakt-zusatz { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--navy-line); }
.kontakt-zusatz p { margin: 0 !important; font-size: 16px !important; line-height: 1.5; color: var(--cream) !important; }
.kontakt-zusatz strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.kontakt-zusatz a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
@media (max-width: 760px) { .kontakt-dialog { --card-w: 100%; } }

/* --- Widerruf-Dialog --------------------------------------------------------- */
.widerruf-dialog { --card-w: min(620px, calc(100vw - 48px)); }
.widerruf-dialog .band-dialog-body { padding-top: 40px; }
.widerruf-form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.widerruf-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.widerruf-form input, .widerruf-form textarea { min-height: 50px; padding: 12px 14px; border: 1px solid var(--navy-line); background: var(--navy-deep); color: var(--cream); font: inherit; font-size: 18px; text-transform: none; letter-spacing: 0; }
.widerruf-form textarea { min-height: 110px; resize: vertical; }
.widerruf-form input:focus-visible, .widerruf-form textarea:focus-visible { outline: 3px solid var(--pink); outline-offset: -1px; }
.widerruf-form [aria-invalid="true"] { border-color: var(--pink); }
.widerruf-form small { font-family: inherit; font-weight: 400; font-size: 14px; text-transform: none; letter-spacing: 0; }
.widerruf-form .fehler, .widerruf-meldung { color: var(--pink) !important; font-size: 15px !important; text-transform: none; letter-spacing: 0; }
.widerruf-form .btn { align-self: flex-start; }
.widerruf-hinweis { font-size: 15px !important; color: var(--muted) !important; }
.widerruf-fertig { margin-top: 20px; padding: 18px; border: 1px solid var(--navy-line); background: var(--navy); }
.widerruf-fertig:focus { outline: none; }
.widerruf-fertig h4 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--cream); }
@media (max-width: 760px) { .widerruf-dialog { --card-w: 100%; } }

/* --- Anreise-Karte: Freigabe vor dem Laden ----------------------------------- */
.map-consent { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: rgba(0, 25, 55, .82); }
.map-consent p { max-width: 380px; color: var(--cream); font-size: 16px; line-height: 1.5; }
.map-consent a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
