/* Fortyshaker – Brideshaker Reunion 2027
   Farben und Schriften wie auf den gedruckten Karten. Schriften liegen lokal (keine Google-Fonts-Verbindung). */

@font-face { font-family: "Metal Mania"; src: url("/fonts/metal-mania-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/fonts/oswald-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/fonts/oswald-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/fonts/oswald-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0f0b0f;
  --bone: #fdf3fd;
  --pink: #fbe6fb;
  --rose: #f2a6f2;
  --magenta: #e040e0;
  --magenta-deep: #8e0a8e;
  --error: #ffb4c6;
  --error-on-light: #a3002c;
  --display: "Metal Mania", Impact, "Arial Black", serif;
  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--magenta); color: var(--ink); padding: .5rem 1rem; font-family: var(--head); font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap { width: min(1080px, 100% - 3rem); margin-inline: auto; }
.wrap--narrow { width: min(680px, 100% - 3rem); }

h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 1.5rem;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 2rem;
  align-items: center;
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
  padding: 4rem 0 5rem;
}
.hero__presents {
  font-family: var(--head);
  font-size: 1.1rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
}
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.5rem, 13vw, 10.5rem);
  line-height: .86;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
}
.wordmark__accent { color: var(--magenta); }
.hero__lead { font-size: 1.4rem; max-width: 30ch; margin: 0 0 1.5rem; }
.facts { display: grid; gap: .25rem; margin: 0 0 2rem; }
.facts div { display: flex; gap: .75rem; align-items: baseline; }
.facts dt {
  font-family: var(--head); font-weight: 600; color: var(--rose);
  min-width: 5.5rem; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
}
.facts dd { margin: 0; font-family: var(--head); font-weight: 600; font-size: 1.35rem; }

.button {
  display: inline-block;
  background: var(--magenta);
  color: var(--ink);
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border: 3px solid var(--magenta);
  cursor: pointer;
  min-height: 44px;
}
.button:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.button--ghost { background: transparent; color: var(--bone); border-color: var(--bone); }
.button--ghost:hover { background: var(--bone); color: var(--ink); }

/* Collage wie auf der Karte: zwei Fotos, Papierschnipsel, Klebestreifen mit Jahreszahl */
.collage { position: relative; margin: 0; min-height: 520px; }
.collage__item { position: absolute; }
.collage__item::before { content: ""; position: absolute; z-index: -1; }
.collage__item--then { top: 0; right: 14%; width: 52%; transform: rotate(3deg); }
.collage__item--then::before { inset: 6% -6% 2% 4%; background: var(--magenta); transform: rotate(5deg); }
.collage__item--now { bottom: 0; right: 0; width: 72%; transform: rotate(-5deg); }
.collage__item--now::before { inset: 8% 4% -2% -6%; background: var(--rose); transform: rotate(-4deg); }
.collage { isolation: isolate; }
.tape {
  position: absolute;
  background: rgba(253, 243, 253, .92);
  color: var(--ink);
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .1em;
  padding: .15rem 1rem;
  top: -.6rem; left: 18%;
  transform: rotate(-12deg);
}
.tape--now { top: -.4rem; left: 38%; transform: rotate(14deg); }

/* ---------- Running Order ---------- */
.programme { background: var(--pink); color: var(--ink); padding: 4.5rem 0; }
.programme a { color: var(--magenta-deep); }
.stages { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.5rem; }
.stage__title {
  font-family: var(--head); font-weight: 600; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  border-bottom: 2px solid var(--ink); padding-bottom: .5rem; margin: 0 0 1rem;
}
.stage__tag { background: var(--ink); color: var(--pink); padding: .1rem .6rem; font-weight: 700; }
.stage--main .stage__tag { background: var(--magenta-deep); color: #fff; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.slots li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; font-size: 1.35rem; font-weight: 600; }
.slot__time { font-family: var(--head); font-weight: 700; color: var(--magenta-deep); text-transform: uppercase; }
.lineup { margin: 2.5rem 0 0; font-size: 1.35rem; }

/* ---------- Ticket ---------- */
.ticket { padding: 5rem 0; }
.ticket__intro { font-size: 1.3rem; margin: -.5rem 0 2rem; }
.form { display: grid; gap: 1.5rem; }
.field { display: grid; gap: .35rem; }
.field label, .choice legend {
  font-family: var(--head); font-weight: 600; font-size: 1.1rem; letter-spacing: .04em;
}
.optional { font-family: var(--body); font-weight: 500; color: #d9c6d9; letter-spacing: 0; }
.field__hint { margin: 0; font-size: 1.05rem; color: #e3d2e3; }
.field__error { margin: 0; color: var(--error); font-weight: 700; font-size: 1.05rem; }
input[type="text"], input[type="number"], textarea {
  font: inherit;
  font-size: 1.25rem;
  color: var(--ink);
  background: var(--bone);
  border: 3px solid var(--bone);
  border-radius: 0;
  padding: .55rem .75rem;
  width: 100%;
  min-height: 48px;
}
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
[aria-invalid="true"] { border-color: var(--error); }
textarea { resize: vertical; }

.choice { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.choice legend { grid-column: 1 / -1; margin-bottom: .5rem; padding: 0; }
.choice .field__error { grid-column: 1 / -1; }
.choice__option { position: relative; }
.choice__option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__option span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 64px; padding: .75rem 1rem;
  border: 3px solid var(--bone);
  font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase;
}
.choice__option input:checked + span { background: var(--magenta); border-color: var(--magenta); color: var(--ink); }
.choice__option input:focus-visible + span { outline: 3px solid var(--bone); outline-offset: 3px; }

.attending-only { display: grid; gap: 1.5rem; padding: 1.5rem; border: 2px dashed var(--rose); }
.attending-only[hidden] { display: none; }
.counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.stepper { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; max-width: 220px; }
.stepper input { text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__btn {
  font: 700 1.5rem/1 var(--head); background: var(--ink); color: var(--bone);
  border: 3px solid var(--bone); cursor: pointer; min-height: 48px;
}
.stepper__btn:hover { background: var(--magenta); color: var(--ink); border-color: var(--magenta); }

.check { display: flex; gap: .75rem; align-items: flex-start; font-size: 1.25rem; font-weight: 600; cursor: pointer; }
.check input { width: 26px; height: 26px; margin: .15rem 0 0; accent-color: var(--magenta); flex-shrink: 0; }

.gate-screen {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
  padding: 3rem 1.5rem; text-align: center;
}
.gate-screen[hidden] { display: none; }
.wordmark--gate { align-items: center; margin: 0; font-size: clamp(4rem, 17vw, 9rem); }
.gate-screen .gate { width: min(420px, 100%); text-align: left; }
.gate-screen .gate input { max-width: none; }
.gate-screen__loading { margin: 0; color: #e3d2e3; }
.gate-screen__legal { margin: 0; font-size: 1rem; }
.gate { margin-bottom: 1rem; }
.gate[hidden], .form[hidden] { display: none; }
.gate input { max-width: 320px; text-transform: uppercase; letter-spacing: .12em; font-family: var(--head); font-weight: 600; }
.gate .button { justify-self: start; }
.total { margin: -.5rem 0 0; font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--rose); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__errors { border: 3px solid var(--error); padding: 1rem 1.25rem; color: var(--error); font-weight: 700; }
.button--submit { justify-self: start; }
.button[disabled] { opacity: .6; cursor: progress; }

/* Bestätigung: das digitale Festivalbändchen */
.confirmation { display: grid; gap: 1.5rem; margin-bottom: 2.5rem; }
.confirmation:focus { outline: none; }
.confirmation h3 { font-family: var(--head); font-weight: 700; font-size: 1.8rem; margin: 0; }
.confirmation p { margin: 0; font-size: 1.3rem; }

.band {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 108px;
  margin-inline: -1.5rem;
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(15, 11, 15, .09) 0 2px, transparent 2px 7px),
    var(--magenta);
  box-shadow: inset 0 6px 0 -3px rgba(253, 243, 253, .55), inset 0 -6px 0 -3px rgba(15, 11, 15, .35);
  transform-origin: left center;
  animation: band-in 700ms cubic-bezier(.2, 1.4, .4, 1) both;
}
.band__clip {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: .75rem .55rem;
  text-align: center;
}
.band__body { padding: .7rem 1.25rem .8rem; display: grid; align-content: center; gap: .1rem; min-width: 0; }
.band__event { font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; }
.band__name { font-family: var(--display); font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1; overflow-wrap: anywhere; }
.band__details { font-family: var(--head); font-weight: 600; font-size: 1.05rem; }
@keyframes band-in {
  from { transform: translateX(-30px) scaleX(.6); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.keep { border: 2px solid var(--rose); padding: 1.25rem; display: grid; gap: .75rem; }
.keep p { font-size: 1.15rem; }
.keep__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.keep__row input { font-size: 1rem; }
.keep__row .button { font-size: 1rem; padding: .5rem 1rem; }
.address { border-left: 0; background: var(--bone); color: var(--ink); padding: 1rem 1.25rem; white-space: pre-line; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Infos ---------- */
.infos { background: var(--pink); color: var(--ink); padding: 4.5rem 0; }
.infos a { color: var(--magenta-deep); }
.infos details { border-top: 2px solid var(--ink); }
.infos details:last-of-type { border-bottom: 2px solid var(--ink); }
.infos summary {
  cursor: pointer; padding: 1rem 0; list-style: none;
  font-family: var(--head); font-weight: 700; font-size: 1.35rem; letter-spacing: .03em;
  display: flex; justify-content: space-between; gap: 1rem;
}
.infos summary::-webkit-details-marker { display: none; }
.infos summary::after { content: "+"; color: var(--magenta-deep); }
.infos details[open] summary::after { content: "−"; }
.infos details p { margin: 0 0 1.25rem; max-width: 60ch; }

.footer { padding: 2rem 1.5rem 3rem; text-align: center; font-size: 1.05rem; color: #e3d2e3; }
.footer p { margin: .25rem 0; }

/* ---------- Klein ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 2.5rem; }
  .collage { min-height: 0; aspect-ratio: 1 / 1.05; width: min(100%, 460px); margin-inline: auto; }
  .stages { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 1.15rem; }
  .choice, .counts { grid-template-columns: minmax(0, 1fr); }
  .slots li { grid-template-columns: 5.5rem minmax(0, 1fr); font-size: 1.2rem; }
  .band { margin-inline: -.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band { animation: none; }
}

/* ---------- Datenschutz ---------- */
.legal { padding: 3rem 0 4rem; }
.legal h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 8vw, 4rem); color: var(--magenta); margin: 1rem 0 2rem; }
.legal h2 { font-size: 1.5rem; margin: 2rem 0 .5rem; }
.legal p { max-width: 65ch; }
