@font-face { font-family: "TenneSans"; src: url("../fonts/tenne-sans.woff") format("woff"); font-weight: 100 900; font-stretch: 75% 100%; font-display: swap; }
/* Tenne – öffentliche Seiten. Farben über Variablen, Hell- und Dunkelmodus. */
:root {
  color-scheme: light;
  --bg: #F2F4F6;
  --surface: #FFFFFF;
  --ink: #000000;
  --ink-soft: #4B535D;
  --line: #D3D9E0;
  --red: #D3202B;
  --red-ink: #FFFFFF;
  --blue: #1A5AB2;
  --head-bg: #000000;
  --head-ink: #FFFFFF;
  --head-soft: #9BA3AD;
  --pass-bg: #FFFFFF;
  --pass-ink: #000000;
  --pass-soft: #5A626C;
  --vip-bg: #0A0A0A;
  --vip-ink: #FFFFFF;
  --vip-soft: #A7AFB8;
  --f: "TenneSans", "Helvetica Neue", Arial, sans-serif;
  --f-narrow: "TenneSans", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000000;
    --surface: #15181C;
    --ink: #F2F4F6;
    --ink-soft: #A3ABB5;
    --line: #2B3139;
    --red: #FF4950;
    --red-ink: #000000;
    --blue: #77A8F2;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.5; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { font-family: var(--f-narrow); font-stretch: 75%; }

/* Kopf */
.top { background: var(--head-bg); color: var(--head-ink); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { color: var(--head-ink); text-decoration: none; font-family: var(--f-narrow); font-stretch: 75%; font-weight: 800; font-size: 2rem; letter-spacing: .02em; line-height: 1; }
.brand small { font-family: var(--f); font-weight: 400; font-size: .95rem; letter-spacing: 0; color: var(--head-soft); margin-left: 10px; }
.lang { margin-left: auto; display: flex; gap: 2px; }
.lang a { color: var(--head-soft); padding: 6px 7px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.lang a[aria-current="true"] { color: var(--head-ink); box-shadow: inset 0 -2px 0 var(--red); }
@media (max-width: 560px) { .brand small { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1.02rem; cursor: pointer; text-decoration: none; }
.btn-red { background: var(--red); color: var(--red-ink); }
.btn-red:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--ink); }

/* Pass-Seite */
.passpage { min-height: calc(100vh - 64px - 90px); padding: 36px 0 60px; }
.passpage .wrap { display: grid; gap: 28px; justify-items: center; }
.intro { text-align: center; max-width: 46ch; }
.intro h1 { font-family: var(--f-narrow); font-stretch: 75%; font-weight: 800; font-size: 2.3rem; line-height: 1.05; margin: 0 0 8px; }
.intro p { margin: 0; color: var(--ink-soft); }

.pass { position: relative; width: min(340px, 100%); background: var(--pass-bg); color: var(--pass-ink); border-radius: 22px; overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -18px rgba(0,0,0,.45);
  -webkit-mask: radial-gradient(circle 13px at 50% 26px, transparent 98%, #000); mask: radial-gradient(circle 13px at 50% 26px, transparent 98%, #000); }
.pass .band { background: var(--red); color: #fff; padding: 52px 22px 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.pass .band b { font-family: var(--f-narrow); font-stretch: 75%; font-weight: 900; font-size: 2.3rem; line-height: .85; letter-spacing: .01em; }
.pass .band span { font-size: .85rem; opacity: .9; text-align: right; }
.pass .ev { padding: 16px 22px 4px; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: end; }
.pass .ev .dn { font-family: var(--f-narrow); font-stretch: 75%; font-weight: 900; font-size: 4.6rem; line-height: .8; }
.pass .ev .t { font-family: var(--f-narrow); font-stretch: 75%; font-weight: 700; font-size: 1.3rem; line-height: 1.05; }
.pass .ev .t small { display: block; font-family: var(--f); font-stretch: normal; font-weight: 500; font-size: .85rem; color: var(--pass-soft); margin-bottom: 2px; }
.pass .who { padding: 14px 22px 0; }
.pass .who b { display: block; font-size: 1.15rem; }
.pass .who span { color: var(--pass-soft); font-size: .92rem; }
.pass .qr { margin: 16px 22px 0; padding: 14px; border: 1.5px solid #E1E5EA; border-radius: 12px; display: grid; place-items: center; background: #fff; }
.pass .qr svg { width: 220px; height: 220px; display: block; }
.pass .stub { position: relative; margin-top: 20px; border-top: 2px dashed #C9CFD6; padding: 14px 22px 20px; display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--pass-soft); }
.pass .stub::before, .pass .stub::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.pass .stub::before { left: -11px; } .pass .stub::after { right: -11px; }
.pass .stub b { color: var(--pass-ink); }
.pass.void .qr { display: none; }
.pass.void .band { background: #8A9099; }

.pass.vip { background: var(--vip-bg); color: var(--vip-ink); }
.pass.vip .band { background: transparent; border-bottom: 1px solid #2C3138; }
.pass.vip .who span, .pass.vip .stub, .pass.vip .ev .t small { color: var(--vip-soft); }
.pass.vip .stub b { color: var(--vip-ink); }
.pass.vip .stub { border-top-color: #3A4048; }
.vipmark { font-family: var(--f-narrow); font-stretch: 75%; font-weight: 900; font-size: 5.4rem; line-height: .8; padding: 18px 22px 0;
  background: linear-gradient(100deg, #fff 0%, #9aa3ad 45%, #fff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.note { max-width: 46ch; text-align: center; color: var(--ink-soft); font-size: .92rem; margin: 0; }
.notice { max-width: 46ch; text-align: center; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; padding: 16px 18px; }
.notice h2 { margin: 0 0 6px; font-size: 1.15rem; }
.notice p { margin: 0; color: var(--ink-soft); }

/* Wallet-Buttons */
.wallet { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn-wallet { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 10px; background: #000; color: #fff; font-weight: 600; text-decoration: none; border: 1px solid #3A4048; }
.btn-wallet:hover { background: #1b1b1b; }


/* ================= Anmeldeseite (Prototyp-Stil mit Fotos) ================= */
.brand-logo { height: 34px; width: auto; display: inline-block; vertical-align: middle; }
.flash { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; padding: 12px 16px; }
.btn[disabled] { background: var(--line); color: var(--ink-soft); cursor: not-allowed; filter: none; }

/* Hero: nächster Termin */
.hero { background: var(--head-bg); color: var(--head-ink); position: relative; overflow: hidden; padding: 28px 0 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 22px; padding-bottom: 110px; }
.hero .when { color: var(--head-soft); font-size: 1rem; margin: 0 0 6px; }
.bigdate { margin: 0; font-family: var(--f-narrow); font-stretch: 75%; font-weight: 900; line-height: .8; font-size: clamp(6rem, 27vw, 12rem); letter-spacing: -.01em; display: flex; align-items: flex-end; gap: .1em; overflow: hidden; }
.bigdate .m { font-size: .36em; font-weight: 700; line-height: 1; padding-bottom: .12em; color: var(--head-soft); }
.bigdate .m b { display: block; color: var(--head-ink); font-weight: 700; }
.hero h1 { margin: 16px 0 4px; font-family: var(--f-narrow); font-stretch: 75%; font-weight: 800; font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1; max-width: 18ch; }
.hero .meta { margin: 0; color: var(--head-soft); font-size: 1.05rem; }
.hero .actions { justify-content: flex-start; align-items: center; margin-top: 22px; gap: 14px 22px; }
.hero .cap span { color: var(--head-ink); }
.hero .cap .bar { background: #2A2F36; }
.hero .desc summary { color: var(--head-soft); }
.hero .desc > div { color: var(--head-ink); }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.hero-photo figcaption { position: absolute; left: 12px; top: 12px; background: var(--red); color: var(--red-ink); font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 130px; z-index: 2; pointer-events: none; }
.ridge path { fill: var(--bg); }
@media (prefers-reduced-motion: no-preference) {
  .bigdate .d, .bigdate .m { display: inline-block; transform: translateY(105%); animation: rise .9s cubic-bezier(.2,.8,.2,1) .1s forwards; }
  .bigdate .m { animation-delay: .25s; }
  @keyframes rise { to { transform: none; } }
}
@media (min-width: 900px) {
  .hero { padding-top: 44px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: 56px; align-items: center; padding-bottom: 140px; }
  .bigdate { font-size: clamp(9rem, 15vw, 14rem); }
  .hero-photo img { aspect-ratio: 4 / 5; max-height: 560px; }
  .ridge { height: 160px; }
}

.hero:not(:has(.ridge)) .wrap { padding-bottom: 56px; }
@media (min-width: 900px) {
  .hero .wrap:not(:has(.hero-photo)) { grid-template-columns: 1fr; }
  .hero .wrap:not(:has(.hero-photo)) .bigdate { font-size: clamp(11rem, 20vw, 17rem); }
}

/* Kapazität */
.cap { display: grid; gap: 6px; min-width: 170px; font-size: .92rem; }
.cap .bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.cap .bar i { display: block; height: 100%; background: #1F7A45; }
.cap.low .bar i { background: #B4500F; } .cap.low span { color: #B4500F; }
.cap.full .bar i { background: #D3202B; } .cap.full span { color: #D3202B; }

/* Programm */
.section { padding: 56px 0; }
.section h2 { font-family: var(--f-narrow); font-stretch: 75%; font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3rem); line-height: 1; margin: 0 0 8px; }
.section .lead { margin: 0 0 26px; color: var(--ink-soft); max-width: 60ch; }
.lineup { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.gig { display: grid; grid-template-columns: 84px 1fr; gap: 10px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.gig .date { font-family: var(--f-narrow); font-stretch: 75%; line-height: .9; padding-top: 2px; }
.gig .date .wd { display: block; font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.gig .date .dn { display: block; font-size: 3.6rem; font-weight: 900; }
.gig .date .mo { display: block; font-size: 1rem; font-weight: 700; }
.gig .pic { display: block; border-radius: 8px; overflow: hidden; background: var(--line); aspect-ratio: 16 / 9; margin-bottom: 10px; }
.gig .pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gig:hover .pic img { transform: scale(1.04); }
.gig h3 { margin: 0; font-family: var(--f-narrow); font-stretch: 75%; font-weight: 750; font-size: 1.75rem; line-height: 1.02; }
.gig .info { color: var(--ink-soft); font-size: .98rem; margin-top: 2px; }
.gig .date { grid-row: span 2; }
.gig .pic, .gig .body { grid-column: 2; }
.gig .side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.gig.soldout h3 { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.gig.soldout .pic img { filter: grayscale(1); opacity: .6; }
@media (min-width: 860px) {
  .gig { grid-template-columns: 110px 176px 1fr 200px 180px; gap: 0 26px; align-items: center; padding: 22px 0; }
  .gig .date { grid-row: auto; }
  .gig .pic, .gig .body { grid-column: auto; }
  .gig .date .dn { font-size: 4.4rem; }
  .gig .pic { margin: 0; aspect-ratio: 4 / 3; }
  .gig .body { min-width: 0; }
  .gig .side { display: contents; }
}
.desc { margin-top: 8px; font-size: .95rem; }
.desc summary { cursor: pointer; color: var(--blue); }
.desc > div { margin-top: 8px; }
.more { padding-top: 18px; color: var(--ink-soft); }

/* Galerie "So war's" */
.gallery { padding-top: 8px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 14px; margin: 0; list-style: none; scrollbar-width: thin; }
.strip li { scroll-snap-align: start; }
.strip button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; color: inherit; text-align: left; font: inherit; }
.strip img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.strip .cap-t { display: block; margin-top: 8px; font-weight: 700; }
.strip .cap-d { display: block; color: var(--ink-soft); font-size: .9rem; }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 20px; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { display: block; max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 10px; }
.lightbox .lb-x, .lightbox .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox .lb-x { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; } .lightbox .lb-next { right: 16px; top: 50%; }

/* So kommst du rein */
.how { padding-top: 8px; }
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); font-family: var(--f-narrow); font-stretch: 75%; font-weight: 900; font-size: 2.8rem; line-height: 1; display: block; margin-bottom: 6px; color: var(--red); }
.steps h3 { margin: 0 0 4px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Dialog */
.sg-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.sg-dialog { background: var(--surface); color: var(--ink); width: min(560px, 100%); max-height: calc(100vh - 32px); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; }
@media (max-width: 620px) { .sg-overlay { padding: 0; } .sg-dialog { width: 100%; height: 100%; max-height: 100%; border-radius: 0; } }
.sg-photo { display: block; width: 100%; height: 120px; object-fit: cover; }
.sg-dialog header { padding: 16px 22px 12px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.sg-dialog header h2 { margin: 0; font-family: var(--f-narrow); font-stretch: 75%; font-weight: 800; font-size: 1.8rem; line-height: 1.02; }
.sg-dialog header p { margin: 0; color: var(--ink-soft); font-size: .95rem; grid-column: 1; }
.sg-dialog .x { grid-row: 1 / span 2; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 1.4rem; line-height: 1; }
.progress { display: flex; gap: 6px; padding: 12px 22px 0; margin: 0; list-style: none; }
.progress li { flex: 1; font-size: .82rem; color: var(--ink-soft); }
.progress li::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 6px; }
.progress li[aria-current="step"], .progress li.done { color: var(--ink); }
.progress li[aria-current="step"]::before, .progress li.done::before { background: var(--red); }
.sg-dialog .body { padding: 18px 22px; overflow: auto; flex: 1; }
.sg-dialog footer { border-top: 1px solid var(--line); padding: 14px 22px 18px; display: flex; gap: 12px; justify-content: space-between; align-items: center; color: inherit; font-size: 1rem; }
.center { text-align: center; }
.counter { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 18px 0 8px; }
.counter button { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-size: 2rem; cursor: pointer; line-height: 1; }
.counter button[disabled] { opacity: .3; cursor: not-allowed; }
.counter output { font-family: var(--f-narrow); font-stretch: 75%; font-weight: 900; font-size: 6.2rem; line-height: 1; min-width: 1.2em; text-align: center; }
.hint { color: var(--ink-soft); font-size: .92rem; text-align: center; margin: 0; }
fieldset { border: 0; margin: 0 0 20px; padding: 0; }
legend { font-weight: 750; font-size: 1.1rem; margin-bottom: 10px; padding: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field label { font-size: .92rem; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); font: inherit; }
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field.invalid input { border-color: #D3202B; }
.err { color: #D3202B; font-size: .88rem; }
.err.block { display: block; margin-top: -4px; }
.guest { border-left: 3px solid var(--line); padding-left: 14px; margin-bottom: 14px; }
.guest h4 { margin: 0 0 8px; font-size: .98rem; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 8px; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red); flex: none; }
.optional { font-weight: 400; color: var(--ink-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.linkish { background: none; border: 0; padding: 4px 0; color: var(--blue); text-decoration: underline; cursor: pointer; font: inherit; font-size: .92rem; justify-self: start; }
.notice-inline { background: var(--bg); border-left: 4px solid var(--blue); padding: 12px 14px; border-radius: 0 6px 6px 0; margin: 18px 0 0; font-size: .95rem; }
.code-input { font-size: 2rem !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.done-mark { font-family: var(--f-narrow); font-stretch: 75%; font-weight: 900; font-size: 3.4rem; line-height: 1; margin: 6px 0 10px; }

/* Plattform-Startseite */
.org-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.org-list a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.org-list a:hover { background: var(--bg); }
.org-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.org-tag { color: var(--ink-soft); font-size: .92rem; }

@media print { .wallet { display: none !important; } }

/* Storno / Meldungen */
.page { padding: 48px 0 70px; min-height: calc(100vh - 64px - 90px); }
.box { max-width: 560px; }
.box h1 { font-family: var(--f-narrow); font-stretch: 75%; font-weight: 800; font-size: 2.5rem; line-height: 1.05; margin: 0 0 10px; }
.box > p { margin: 0; color: var(--ink-soft); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 22px 0; }
.summary { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.row form { margin: 0; }

footer { border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--ink-soft); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media print {
  .top, footer, .actions, .note, .lang { display: none !important; }
  body { background: #fff; }
  .pass { box-shadow: none; border: 1px solid #ccc; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

[x-cloak] { display: none !important; }
