@font-face { font-family: "Big Shoulders"; src: url(fonts/BigShoulders.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/Barlow-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/Barlow-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #141110;
  --surface: #1e1a18;
  --line: #342e2b;
  --text: #f3efeb;
  --muted: #b3aaa3;
  --red: #e30613;
  --red-dark: #b8050f;
  --radius: 4px;
  --wrap: 1240px;
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 850; line-height: 1; margin: 0; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 2rem; }
h3 { font-size: 1.75rem; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.wrap { padding-left: 24px; padding-right: 24px; }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: var(--radius); white-space: nowrap; transition: background .2s, transform .15s; }
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-ghost { background: rgba(20, 17, 16, .45); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(20, 17, 16, .7); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: linear-gradient(rgba(20, 17, 16, .85), rgba(20, 17, 16, 0)); transition: background .3s; }
.nav.solid { background: rgba(20, 17, 16, .96); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 850; font-size: 1.45rem; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { white-space: nowrap; text-decoration: none; font-weight: 600; color: var(--muted); transition: color .2s; }
.menu a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .25s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
/* dark only behind the text (bottom left), the Stier at the top stays bright */
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 75% at 0% 100%, rgba(20, 17, 16, .92) 0%, rgba(20, 17, 16, .6) 50%, rgba(20, 17, 16, 0) 100%), linear-gradient(0deg, rgba(20, 17, 16, .85) 0%, rgba(20, 17, 16, 0) 45%); }
.hero-copy { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px 88px; }
.eyebrow { font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: #ff6168; margin-bottom: 14px; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero h1 { font-size: clamp(4.2rem, 11vw, 9rem); line-height: .86; }
.lead { max-width: 30rem; margin: 22px 0 30px; font-size: 1.15rem; color: #e6e0db; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* countdown */
.countdown { background: var(--red); }
.countdown-row { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.cd-num { font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: .9; display: flex; align-items: baseline; gap: 10px; }
.cd-num small { font-size: 1.4rem; text-transform: uppercase; }
.cd-text { font-size: 1.2rem; font-weight: 600; flex: 1; }
.cd-map { font-weight: 600; text-underline-offset: 4px; }

/* bento */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 640px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); display: flex; align-items: flex-end; min-height: 300px; }
.tile-main { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 17, 16, .92) 0%, rgba(20, 17, 16, .25) 55%, rgba(20, 17, 16, 0) 100%); }
.tile-body { position: relative; z-index: 1; padding: 28px; max-width: 34rem; }
.tile-body h3 { font-size: 2.1rem; margin-bottom: 8px; }
.tile-main .tile-body h3 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.tile-body p { color: #ddd6d0; }

/* live */
.live { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.live-head { max-width: 40rem; margin-bottom: 32px; }
.live-head h2 { margin-bottom: 12px; }
.live-head p { color: var(--muted); }
.live-frame { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.live-frame iframe { display: block; width: 100%; height: min(900px, 85dvh); border: 0; }
.live-link { display: inline-block; margin-top: 16px; font-weight: 600; text-underline-offset: 4px; }

/* archiv */
.archiv { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.archiv-intro { position: sticky; top: 100px; }
.archiv-intro p { color: var(--muted); max-width: 26rem; }
.archiv-img { margin-top: 32px; border-radius: var(--radius); max-height: 520px; width: 100%; object-fit: cover; }
.year { display: grid; grid-template-columns: 7rem 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.year:first-child { border-top: 0; padding-top: 0; }
.year-num { font-family: var(--display); font-weight: 900; font-size: 3.6rem; line-height: .85; color: var(--red); }
.year h3 { font-size: 1.5rem; margin-bottom: 14px; }
.year dl { display: grid; grid-template-columns: 5rem 1fr; gap: 6px 12px; margin: 0 0 14px; }
.year dt { color: var(--muted); text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; padding-top: 4px; }
.year dd { margin: 0; font-weight: 600; }
.year dd span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
.year a { font-weight: 600; text-underline-offset: 4px; color: var(--muted); }
.year a:hover { color: var(--text); }
.older { border-top: 1px solid var(--line); padding-top: 24px; }
.older summary { cursor: pointer; font-family: var(--display); font-weight: 850; font-size: 1.5rem; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
.older summary::-webkit-details-marker { display: none; }
.older summary::after { content: "+"; color: var(--red); }
.older[open] summary::after { content: "-"; }
.older p { color: var(--muted); margin: 12px 0 18px; }
.winners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.winners li { display: grid; grid-template-columns: 2.4em 3.4em 1fr; gap: 0 8px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.winners b, .winners em { font-style: normal; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.winners span { grid-column: 3; font-size: .85rem; font-weight: 400; color: var(--muted); }
.winners .gap { color: var(--muted); font-weight: 400; }

/* sponsors strip */
.sponsors { border-bottom: 1px solid var(--line); background: #0f0d0c; }
.sponsors-row { display: flex; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sponsor-main { flex: none; display: flex; align-items: center; gap: 18px; padding: 22px 32px 22px 0; border-right: 1px solid var(--line); }
.sponsor-main span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); }
.sponsor-main img { height: 84px; width: auto; opacity: .85; }
.marquee-stack { flex: 1; min-width: 0; display: grid; gap: 14px; padding: 14px 0; }
.marquee { min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 92%, transparent); }
.marquee-track { flex: none; display: flex; align-items: center; gap: 72px; list-style: none; margin: 0; padding: 0 36px; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-2 .marquee-track { animation-duration: 40s; }
.marquee-track img { width: auto; opacity: .42; transition: opacity .3s; }
.marquee-track img:hover { opacity: .85; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee-track[aria-hidden] { display: none; } .marquee { overflow-x: auto; } }
@media (max-width: 600px) { .sponsor-main { flex-direction: column; align-items: flex-start; padding: 16px 18px 16px 0; gap: 6px; } .sponsor-main span { writing-mode: horizontal-tb; transform: none; font-size: .62rem; } .sponsor-main img { height: 44px; } .marquee-track { gap: 48px; padding: 0 24px; } }

/* sponsor */
.sponsor { border-top: 1px solid var(--line); }
.sponsor-grid { max-width: 760px; }
.sponsor h2 { margin-bottom: 14px; }
.sponsor-lead { color: var(--muted); max-width: 30rem; }
.sponsor-points { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.sponsor-points li { padding-left: 22px; position: relative; font-weight: 600; }
.sponsor-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--red); }
.form-hint { color: var(--muted); font-size: .85rem; margin: 0; }

/* kontakt */
.kontakt { background: var(--surface); border-top: 1px solid var(--line); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px 64px; }
.kontakt h2 { margin-bottom: 14px; }
.kontakt-lead { color: var(--muted); }
.contacts { display: grid; gap: 16px; }
.contact { display: block; text-decoration: none; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.contact:hover { border-color: var(--red); transform: translateY(-2px); }
.contact h3 { font-size: 1.6rem; margin-bottom: 6px; }
.contact p { color: var(--muted); margin-bottom: 14px; }
.mail { font-weight: 600; color: var(--red); font-size: 1.15rem; }
.host { grid-column: 2; display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--muted); font-size: .95rem; line-height: 1.35; }
.host strong { color: var(--text); font-size: 1.05rem; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.footer a { text-underline-offset: 3px; }

/* legal page */
.legal { padding: 120px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.8rem; margin: 40px 0 12px; }
.legal p, .legal li { color: #ddd6d0; margin-bottom: 10px; }
.legal dl { display: grid; grid-template-columns: 11rem 1fr; gap: 6px 16px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
  .reveal.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .9s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, .btn, .contact { transition: none; }
}

/* mobile */
@media (max-width: 1180px) and (min-width: 901px) { .menu { gap: 18px; } .menu a:not(.btn) { font-size: .95rem; } }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .menu { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(20, 17, 16, .98); border-bottom: 1px solid var(--line); padding: 8px 24px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .menu.open { opacity: 1; visibility: visible; transform: none; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .menu .btn { margin-top: 16px; text-align: center; }
  .nav { background: rgba(20, 17, 16, .9); }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .tile-main { grid-row: auto; min-height: 420px; }
  .archiv, .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .archiv-intro { position: static; }
  .archiv-img { max-height: 320px; }
  .host { grid-column: auto; }
}
@media (max-width: 600px) {
  .wrap, .section.wrap, .hero-copy { padding-left: 16px; padding-right: 16px; }
  .nav { padding: 0 12px 0 16px; }
  .section { padding: 64px 0; }
  .hero-copy { padding-bottom: 56px; }
  .hero-img img { object-position: 12% 30%; }
  .hero::after { background: linear-gradient(0deg, rgba(20, 17, 16, .95) 0%, rgba(20, 17, 16, .75) 42%, rgba(20, 17, 16, 0) 68%); }
  .countdown-row { flex-wrap: wrap; gap: 6px 18px; }
  .cd-num { font-size: 3.2rem; }
  .cd-text { flex-basis: 100%; order: 3; font-size: 1.05rem; }
  .year { grid-template-columns: 1fr; gap: 10px; }
  .year-num { font-size: 2.8rem; }
  .legal dl { grid-template-columns: 1fr; }
}

/* Galerie */
.galerie-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.galerie-head h2 { margin: 0; }
.galerie-head p { color: var(--muted); max-width: 30rem; margin: 0; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.shot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.shot.big { grid-column: span 2; grid-row: span 2; }
.shot.wide { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.shot:hover img { transform: scale(1.04); }
@media (max-width: 760px) {
  .shots { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
}
.lightbox { max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(10, 8, 8, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 96px); object-fit: contain; border-radius: var(--radius); }
.lightbox button { position: absolute; background: rgba(20, 17, 16, .7); color: #fff; border: 1px solid var(--line); width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* Auslosung */
.auslosung .ausl-head { max-width: 760px; margin-bottom: 40px; }
.auslosung .ausl-head h2 { margin-bottom: 1rem; }
.auslosung .ausl-head p:last-child { color: var(--muted); }
.ausl-kicker { display: inline-block; background: var(--red); color: #fff; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: var(--radius); margin-bottom: 14px; }
.ausl-grid { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr; gap: 12px; margin-bottom: 12px; }
.ausl-card, .ausl-pay { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.ausl-when { border-left: 4px solid var(--red); }
.ausl-label { color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.ausl-big { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1.05; text-transform: uppercase; margin-bottom: 6px; }
.ausl-card a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
.ausl-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; margin-bottom: 28px; }
.ausl-fees { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; margin: 0; }
.ausl-fees dt { color: var(--text); }
.ausl-fees dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.ausl-iban { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: .03em; margin-bottom: 4px; }
.ausl-ref { margin-top: 14px; color: var(--muted); }
.ausl-ref strong { display: block; margin-top: 4px; color: var(--text); font-size: 1.1rem; overflow-wrap: anywhere; }
@media (max-width: 900px) { .ausl-grid { grid-template-columns: 1fr; } .ausl-pay { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ausl-card, .ausl-pay { padding: 20px; } .ausl-big { font-size: 1.6rem; } .ausl-iban { font-size: 1.4rem; } }

/* Hero news line */
.hero-news { max-width: 560px; margin-bottom: 22px; padding: 12px 16px; background: rgba(20, 17, 16, .72); border-left: 3px solid var(--red); border-radius: var(--radius); font-size: 1rem; line-height: 1.5; }
.hero-news .ausl-kicker { margin: 0 6px 0 0; padding: 2px 8px; vertical-align: 1px; }
.hero-news a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 600px) { .hero-news { font-size: .92rem; } }
