/* Ticketshop (öffentlich) – baut auf jobs.css auf: gleiches Dunkelblau, WB-Rot als Akzent */
/* Bühne „Dunkel“: Festivalfoto ganz dezent im Hintergrund, stark ins Dunkelblau abgedunkelt */
.shop .hero { background: linear-gradient(180deg, rgba(2,42,55,.66) 0%, rgba(2,42,55,.56) 38%, rgba(2,42,55,.78) 66%, rgba(2,42,55,.96) 88%, #022A37 100%), url("/static/brand/shop-hero.jpg") center 30% / cover no-repeat, var(--bg); border-bottom: 0; }
.shop .hero.small { padding: 160px 0 48px; }
.logo.wordmark img { height: auto; width: 210px; }
.intro { max-width: 46ch; margin: 18px auto 0; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; padding: 0; }
.facts li { display: flex; gap: 8px; align-items: baseline; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(2,42,55,.55); font-size: 15px; color: var(--ink-2); }
.facts b { color: #fff; font-weight: 600; }

/* Seiten ohne Bühnenfoto: Platz für den Kopf */
.stepbar { padding: 124px 0 0; }
.steps-top.inline { margin: 0 0 22px; }
.stepbar + .in { padding-top: 28px; }
.shop main > .in:first-child { padding-top: 132px; }
.steps-top { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; font-size: 14px; color: var(--mute); }
.steps-top li { display: flex; align-items: center; gap: 8px; }
.steps-top li:not(:last-child)::after { content: ""; width: 28px; height: 1px; background: var(--line-2); margin-left: 4px; }
.steps-top span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); font-weight: 600; font-size: 12.5px; }
.steps-top .on { color: #fff; font-weight: 600; }
.steps-top .on span { background: var(--red); border-color: var(--red); color: #fff; }
.steps-top .done span { background: var(--bg-3); color: var(--ink-2); }

/* Auswahl */
.shop-main { padding-top: 40px; }
.pick { display: flex; flex-direction: column; gap: 18px; }
.prod { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.prod.bad { border-color: var(--bad); }
.prod.out { opacity: .6; }
.prod-kicker { color: var(--mute); font-size: 14px; margin: 0 0 6px; }
.prod h3 { margin: 0 0 8px; font-size: 26px; line-height: 1.15; letter-spacing: -.015em; }
.prod-desc { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.incl { margin: 4px 0 12px; padding-left: 20px; display: grid; gap: 4px; color: var(--ink-2); font-size: 15.5px; }
.incl li::marker { color: var(--red); }
.prod-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.price { margin: 0; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.price b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.price span { color: var(--mute); font-size: 14px; margin-top: 4px; }
.prod-foot { grid-column: 1 / -1; }
.prod .err { grid-column: 1 / -1; margin: 0; }
.gone { color: var(--mute); font-weight: 600; margin: 0; }

/* Anzahl */
.qty { display: flex; align-items: center; gap: 6px; }
.qty select { font: 600 17px var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; min-width: 76px; }
.qty.js select { appearance: none; -webkit-appearance: none; text-align: center; text-align-last: center; min-width: 54px; padding: 10px 6px; border-color: transparent; background: transparent; font-size: 20px; pointer-events: none; }
.qb { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); color: #fff; font: 500 22px/1 var(--sans); cursor: pointer; display: grid; place-items: center; }
.qb:hover:not(:disabled) { border-color: var(--red); }
.qb[data-step="1"] { background: var(--red); border-color: var(--red); }
.qb[data-step="1"]:hover:not(:disabled) { background: var(--red-h); }
.qb:disabled { opacity: .35; cursor: default; }

/* Preisstufen */
.phases { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 6px 0 12px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.ph { display: grid; gap: 4px; font-size: 14px; color: var(--mute); }
.ph-name { font-weight: 600; }
.ph-price { font-size: 18px; font-weight: 700; color: var(--ink-2); }
.ph.weg .ph-price { text-decoration: line-through; text-decoration-color: var(--mute); color: var(--mute); }
.ph.jetzt { color: var(--ink); }
.ph.jetzt .ph-price { color: #fff; }
.ph.jetzt .ph-state { color: var(--red); font-weight: 600; }
.ph-bar { height: 4px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; }
.ph-bar i { display: block; height: 100%; background: var(--red); width: 0; }
.ph.weg .ph-bar i { background: var(--mute); width: 100%; }
.ph-bar .p1 { width: 10%; } .ph-bar .p2 { width: 20%; } .ph-bar .p3 { width: 30%; } .ph-bar .p4 { width: 40%; } .ph-bar .p5 { width: 50%; }
.ph-bar .p6 { width: 60%; } .ph-bar .p7 { width: 70%; } .ph-bar .p8 { width: 80%; } .ph-bar .p9 { width: 90%; } .ph-bar .p10 { width: 100%; }
.note { color: var(--ink-2); font-size: 14.5px; margin: 0; }
.hot { color: #fff; }

/* Code */
.code { padding: 6px 0 0; max-width: 460px; }
.code input { text-transform: uppercase; letter-spacing: .06em; }
.code input::placeholder { text-transform: none; letter-spacing: 0; }
.code .hint { font-size: 14px; margin: 8px 0 0; }
.code.bad input { border-color: var(--bad); }
p.err { color: var(--bad); font-size: 14px; font-weight: 500; margin: 6px 0 0; }

/* Summe + Weiter (unten mitlaufend) */
.sum { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 10px; padding: 14px 0 16px;
  background: #022A37; border-top: 1px solid var(--line-2); box-shadow: 0 0 0 100vmax #022A37; clip-path: inset(0 -100vmax); }
.sum-text { display: grid; line-height: 1.25; }
.sum-text span { color: var(--mute); font-size: 13.5px; }
.sum-text b { font-size: 24px; letter-spacing: -.01em; }
.sum-text small { color: var(--mute); font-size: 12.5px; }
.sum .btn { min-width: 180px; text-align: center; }

.soon { padding: 24px 0 8px; }
.soon h2 { font-size: 30px; }
.soon p { color: var(--ink-2); }


/* Kasse */
.checkout, .orderdone, .msg { padding-bottom: 72px; }
.h-page { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 22px; }
.h-sec { font-size: 22px; margin: 40px 0 8px; }
.sub { color: var(--mute); font-size: 15.5px; margin: 0 0 22px; }
.hold { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--bg-3); border-left: 3px solid var(--red); padding: 12px 16px; margin: 0 0 30px; font-size: 15px; color: var(--ink-2); }
.hold b { color: #fff; }
.hold form { margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: 600 15px var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cart { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0 0 12px; }
.cart td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart td.q { width: 44px; color: var(--mute); font-weight: 600; }
.cart td.r { text-align: right; white-space: nowrap; padding-left: 16px; font-weight: 600; }
.cart small { display: block; color: var(--mute); font-size: 13.5px; margin-top: 2px; }
.cart .save td { color: #9FE3C1; font-weight: 500; }
.cart .tot td { border-bottom: 0; font-size: 20px; font-weight: 700; padding-top: 18px; }
.cart .tot small { font-weight: 400; }
.paynote { color: var(--mute); font-size: 14px; margin: 4px 0 0; }
.paynote a { color: var(--ink-2); }
.btn.big { padding: 18px 30px; font-size: 17px; }
.checkout .form .btn { align-self: stretch; text-align: center; }

/* Testzahlung */
.demo { border: 1px dashed var(--line-2); border-radius: 16px; padding: 26px 26px 18px; }
.demo-tag { display: inline-block; background: #FFD66B; color: #3A2A00; font-weight: 700; font-size: 13px; letter-spacing: .02em; padding: 4px 10px; border-radius: 6px; margin: 0 0 16px; }
.demo form { margin: 18px 0 0; }
.demo .btn { width: 100%; }
.demo .alt { text-align: left; }

/* Bestätigung + Tickets */
.eyebrow.ok { color: #9FE3C1; font-weight: 600; }
.eyebrow.ok::before { content: "✓ "; }
.orderdone .links { margin: 0 0 30px; }
.tixlist { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.tix { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.tix-qr { background: #fff; border-radius: 10px; padding: 8px; line-height: 0; }
.tix-qr svg { width: 168px; height: 168px; }
.tix-info { display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.tix-info b { font-size: 20px; color: #fff; }
.tix-n { color: var(--mute); font-size: 13px; }
.tix-info code { font: 600 15px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; letter-spacing: .06em; margin-top: 6px; }
.tag { justify-self: start; background: rgba(255,88,90,.16); color: #FFB3B4; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.tag.off { background: rgba(255,255,255,.1); color: var(--ink-2); }
.meta { margin-top: 26px; }
.cart + .note { margin-bottom: 8px; }
.spin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--red); animation: spin 0.9s linear infinite; margin: 0 0 24px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 700px) {
  .logo.wordmark img { width: 156px; }
  .shop .hero.small { padding: 118px 0 34px; }
  .facts li { font-size: 14px; padding: 6px 12px; }
  .prod { grid-template-columns: 1fr; padding: 20px 18px; border-radius: 14px; }
  .prod-buy { flex-direction: row; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
  .price { align-items: flex-start; }
  .price b { font-size: 28px; }
  .phases { grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
  .sum .btn { min-width: 0; padding: 15px 26px; }
  .stepbar { padding-top: 100px; }
  .shop main > .in:first-child { padding-top: 108px; }
  .steps-top { font-size: 13px; }
  .steps-top li:not(:last-child)::after { width: 14px; }
  .tix { grid-template-columns: 1fr; justify-items: start; }
  .tix-qr svg { width: 220px; height: 220px; }
}
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* ===== Alles linksbündig – auch der Kopf (jobs.css zentriert die Bühne) ===== */
.h-group { font-size: 22px; margin: 22px 0 2px; }
.h-group:first-child { margin-top: 0; }
.h-group span { display: block; color: var(--mute); font-size: 14.5px; font-weight: 500; margin-top: 4px; }
.shop .hero { text-align: left; }
.shop .hero-in { align-items: flex-start; }
.shop .hero .lede { margin-inline: 0; }
.shop .hero .links { justify-content: flex-start; }
.intro { margin: 18px 0 0; }
.facts { justify-content: flex-start; }

/* Vorschau-Leiste für das Team */
.previewbar { position: absolute; top: 0; left: 0; right: 0; z-index: 7; background: #FFD66B; color: #3A2A00; font-size: 13.5px; }
.previewbar .in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; padding: 8px 0; }
.pv-switch { display: flex; gap: 6px; align-items: center; font-weight: 600; }
.pv-switch a { color: #3A2A00; text-decoration: none; border: 1px solid rgba(58,42,0,.35); border-radius: 999px; padding: 3px 11px; }
.pv-switch a.on { background: #3A2A00; color: #FFD66B; border-color: #3A2A00; }
.haspreview .top { top: 44px; }
.haspreview .hero.small { padding-top: 200px; }
.haspreview .stepbar { padding-top: 168px; }
.haspreview main > .in:first-child { padding-top: 176px; }
@media (max-width: 700px) {
  .haspreview .top { top: 64px; }
  .haspreview .hero.small { padding-top: 182px; }
  .haspreview .stepbar { padding-top: 164px; }
  .haspreview main > .in:first-child { padding-top: 172px; }
}

/* Dunkel: Ticketkarten in Petrol-Türkis */
.dunkel .prod { background: #275D77; border-color: rgba(255,255,255,.14); }
.dunkel .prod-kicker, .dunkel .price span { color: #B9D3DC; }
.dunkel .prod-desc, .dunkel .incl, .dunkel .note { color: #E1ECEF; }
.dunkel .phases, .dunkel .prod-buy { border-color: rgba(255,255,255,.16); }
.dunkel .ph { color: #A9C6CF; }
.dunkel .ph-bar { background: rgba(255,255,255,.16); }
.dunkel .qb { background: #1B4A60; border-color: rgba(255,255,255,.28); }
.dunkel .qb[data-step="1"] { background: var(--red); border-color: var(--red); }
.dunkel .tix { background: #275D77; border-color: rgba(255,255,255,.14); }
.dunkel .tix-n, .dunkel .tix-info { color: #C9DCE2; }

/* Preisphasen: vergangene ausgegraut, kommende mit Preis */
.ph.weg { opacity: .45; }
.ph.bald .ph-state { color: var(--mute); }

/* „Der Vorverkauf startet bald.“ immer in einer Zeile */
.shop .soon h2 { font-size: clamp(19px, 6vw, 34px); white-space: nowrap; letter-spacing: -.02em; }
/* Vorteile des Ticket-Alarms im Bereich „Der Vorverkauf startet bald“ */
.shop .perks-list { list-style: none; margin: 4px 0 26px; padding: 0; display: grid; gap: 10px; }
.shop .perks-list li { position: relative; padding-left: 32px; color: var(--ink); font-size: 17px; line-height: 1.45; }
.shop .perks-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #F2B8A8; }
.shop .perks-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 4px; border-left: 2px solid #16394E; border-bottom: 2px solid #16394E; transform: rotate(-45deg); }
.shop.event .perks-list li { color: #16394E; }
/* Vorschau auf die Tickets vor dem Start (ausgegraut, nicht kaufbar) */
.shop .teaser { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.shop .teaser-note { color: var(--mute); margin: 0 0 8px; }
.shop .teaser .prod { opacity: .62; filter: saturate(.55); }
.shop .teaser .prod .price b { font-size: 28px; }
.shop .teaser .codeprice { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
.shop .teaser .codeprice b { color: #F2B8A8; }
.shop.event .teaser .codeprice b { color: #C0567A; }
.shop .teaser { display: grid; gap: 14px; }
.shop .teaser .h-group { margin-top: 14px; }
.shop .teaser .teaser-note, .shop .teaser .h-group:first-of-type { margin-top: 0; }
.shop .teaser.noprice .prod .price b { font-size: 22px; }
.shop .teaser.noprice .price span, .shop .teaser .gone { white-space: nowrap; }
.shop .teaser .prod-buy { min-width: 0; }
.shop .teaser .gone { font-size: 14.5px; }
/* Freiwilliger Unterstützungsbeitrag */
.shop .support { border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 0; background: var(--bg-2); }
.dunkel .support { background: #275D77; border-color: rgba(255,255,255,.14); }
.shop .support .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.shop .support .prod-desc { margin: 0 0 14px; }
.shop .sup-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.shop .sup { position: relative; cursor: pointer; }
.shop .sup input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.shop .sup span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 16px; }
.shop .sup input:checked + span { background: #F2B8A8; border-color: #F2B8A8; color: #16394E; }
.shop .sup input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.shop .support .hint { margin: 12px 0 0; font-size: 13.5px; color: var(--mute); }
.shop.event .sup input:checked + span { background: #16394E; border-color: #16394E; color: #fff; }
.shop .sum .vatnote { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.shop.event .sum .vatnote { color: #16394E; }
