/* Konvolut x Friese_7 – Vorverkauf. Dunkel, roh, hart. Rot nur als Akzent aus dem Flyer. */
:root {
  --bg: #111111;
  --bg-2: #181818;
  --bg-3: #202020;
  --line: #2e2e2e;
  --line-2: #3d3d3d;
  --text: #ebebeb;
  --muted: #9a9a9a;
  --dim: #8a8a8a;           /* min. 4.5:1 auf allen Hintergruenden */
  --red: #d6182a;
  --red-text: #f0444f;      /* Rot fuer kleine Schrift (Kontrast) */
  --red-deep: #9e0f1d;
  --ok: #2f9e44;
  --warn: #e8a317;
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg) var(--grain);
  color: var(--text);
  font: 16px/1.5 var(--font);
  min-height: 100vh;
}
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- Kopf ---------- */
.top {
  border-bottom: 1px solid var(--line);
  background: rgba(17,17,17,.92);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: none;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand .x { font-weight: 900; font-style: italic; color: var(--red); font-size: 20px; }
.brand .f { font-weight: 700; font-size: 19px; letter-spacing: -.5px; }
.top .cta-mini {
  font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid var(--line-2); padding: 8px 12px; text-decoration: none;
}
.top .cta-mini:hover { border-color: var(--red); color: #fff; }

/* ---------- Typo ---------- */
.kicker {
  font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--red-text);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.mega {
  font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -2px;
  font-size: clamp(54px, 11vw, 112px); line-height: .88; margin: 10px 0 6px;
}
.sub { color: var(--muted); font-style: italic; font-size: 17px; margin: 0; }
h2.sec {
  font-size: 13px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px; display: flex; align-items: center; gap: 10px;
}
h2.sec::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; row-gap: 0;
  grid-template-areas: "intro box" "flyer box"; grid-template-rows: auto 1fr;
  padding: 40px 0 56px; align-items: start;
}
.hero .intro { grid-area: intro; container-type: inline-size; }
.hero .intro .mega { font-size: clamp(40px, 16.5cqi, 104px); }
.hero .flyer { grid-area: flyer; }
.hero .box { grid-area: box; position: sticky; top: 84px; }
.flyer { position: relative; border: 1px solid var(--line-2); background: #000; }
.flyer img { width: 100%; height: auto; filter: saturate(.92) contrast(1.02); }
.flyer::after { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; mix-blend-mode: overlay; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin: 24px 0; }
.facts div { padding: 12px 14px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.facts span { font-weight: 800; font-size: 17px; font-style: italic; }

/* ---------- Ticketbox ---------- */
.box { background: var(--bg-2); border: 1px solid var(--line-2); }
.box-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.box-head h3, .box-title { margin: 0; font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 900; }
#tickets { scroll-margin-top: 76px; }
.pill { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line-2); color: var(--muted); }
.pill.live { border-color: var(--red); color: #fff; background: var(--red); }
.pill.low { border-color: var(--warn); color: var(--warn); }
.box-body { padding: 18px; }

.tiers { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid var(--line); }
.tiers li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); position: relative; }
.tiers li:last-child { border-bottom: 0; }
.tiers .n { font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.tiers .p { font-weight: 900; font-style: italic; font-size: 20px; text-align: right; grid-row: span 2; align-self: center; }
.tiers .s { font-size: 12px; color: var(--dim); }
.tiers li.aktiv { background: var(--bg-3); }
.tiers li.aktiv::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--red); }
.tiers li.aktiv .s { color: var(--red-text); font-weight: 700; }
.tiers li.vorbei { opacity: .45; }
.tiers li.vorbei .p { text-decoration: line-through; }

.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.qty { display: flex; border: 1px solid var(--line-2); }
.qty button { width: 44px; height: 44px; background: var(--bg-3); border: 0; font-size: 22px; font-weight: 700; cursor: pointer; }
.qty button:hover:not(:disabled) { background: var(--red); color: #fff; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty output { width: 52px; display: grid; place-items: center; font-weight: 900; font-size: 20px; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.total { text-align: right; }
.total small { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.total strong { font-size: 28px; font-weight: 900; font-style: italic; }

.field { margin-bottom: 12px; }
.field label, .label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); padding: 12px 12px; border-radius: 0; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--text); }
.field input.bad { border-color: var(--red-text); }
.hero .box { max-height: calc(100vh - 100px); overflow-y: auto; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 18px; cursor: pointer; }
.check input { appearance: none; width: 20px; height: 20px; border: 1px solid var(--line-2); background: var(--bg); flex: 0 0 20px; margin: 1px 0 0; cursor: pointer; display: grid; place-items: center; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { content: "✓"; color: #fff; font-weight: 900; font-size: 14px; line-height: 1; }
.check.bad input { border-color: var(--red); }

.msg { padding: 12px 14px; border: 1px solid var(--line-2); border-left: 4px solid var(--muted); font-size: 14px; margin-bottom: 14px; background: var(--bg); }
.msg.err { border-left-color: var(--red); }
.msg.ok { border-left-color: var(--ok); }
.msg.warn { border-left-color: var(--warn); }
.hidden { display: none !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: #fff; border: 1px solid var(--red); padding: 13px 18px;
  font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; font-size: 14px; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { border-color: var(--text); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: wait; }

.paybox { min-height: 50px; }
.sum { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.sum th, .sum td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.sum th { width: 34%; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); font-weight: 800; padding-right: 10px; }
.sum td { color: var(--text); word-break: break-word; }
.sum .sum-total th, .sum .sum-total td { border-bottom: 0; padding-top: 12px; }
.sum .sum-total td { font-size: 24px; font-weight: 900; font-style: italic; }
.legal { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--line); background: var(--bg); }
.legal b { color: var(--text); }
.ts { margin: 0 0 10px; }
.ts:empty { display: none; }
.linkbtn { background: none; border: 0; padding: 8px 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.linkbtn:hover { color: var(--text); }
.paynote { font-size: 12px; color: var(--dim); text-align: center; margin: 10px 0 0; }
.closed { text-align: center; padding: 26px 10px; }
.closed strong { display: block; font-size: 30px; font-weight: 900; font-style: italic; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- Infos ---------- */
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); margin-bottom: 56px; }
.info > div { padding: 22px; border-right: 1px solid var(--line); }
.info > div:last-child { border-right: 0; }
.info h3, .info h4 { margin: 0 0 8px; font-size: 15px; font-weight: 900; text-transform: uppercase; font-style: italic; }
.info p { margin: 0; color: var(--muted); font-size: 14px; }
.info .num { font-family: var(--mono); color: var(--red-text); font-size: 12px; display: block; margin-bottom: 10px; }

details.faq { border-top: 1px solid var(--line); }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; padding: 16px 0; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-weight: 900; color: var(--red-text); font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 16px; color: var(--muted); font-size: 15px; max-width: 70ch; }
.resend { display: flex; gap: 8px; margin: 0 0 18px; max-width: 520px; }
.resend input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line-2); padding: 11px 12px; border-radius: 0; }

footer.foot { border-top: 1px solid var(--line); margin-top: 64px; padding: 26px 0 40px; color: var(--dim); font-size: 13px; }
footer.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--dim); font-size: 13px; padding: 9px 0; letter-spacing: .5px; }
.marquee span { display: inline-block; animation: run 40s linear infinite; }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee span { animation: none; } }

/* ---------- Textseiten ---------- */
.doc { max-width: 760px; padding: 40px 16px 20px; margin: 0 auto; }
.doc h1 { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 38px; margin: 0 0 22px; letter-spacing: -1px; }
.doc h2 { font-size: 17px; margin: 30px 0 8px; text-transform: uppercase; letter-spacing: .5px; }
.doc p, .doc li { color: #c9c9c9; }
.todo { background: #3a2a00; color: #ffd36b; padding: 0 4px; font-family: var(--mono); font-size: .9em; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "intro" "box" "flyer"; grid-template-rows: auto; row-gap: 24px; padding-top: 24px; }
  .hero .box { position: static; max-height: none; overflow: visible; }
  .facts { margin-bottom: 0; }
  .flyer { max-width: 460px; }
  .info { grid-template-columns: 1fr; }
  .info > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .info > div:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  .facts span { font-size: 15px; }
  .facts div { padding: 10px; }
  .brand img { height: 28px; }
  .top .cta-mini { display: none; }
  .mega { letter-spacing: -1px; }
}
