/* RIE — Rave im Einkaufszentrum · unvoid-rave.com
   Tokens 1:1 aus dem RIE Design System (tokens/*.css). Fonts selbst gehostet. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/anton-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/chakra-petch-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* ink */
  --black: #000000;
  --near-black: #07070a;
  --ink-900: #0d0d10;
  --ink-800: #141418;
  --ink-700: #1c1c21;
  --ink-600: #2a2a31;
  --ink-500: #3d3d46;
  --ink-400: #6b6b76;
  --ink-300: #9a9aa4;
  --ink-200: #c9c9d0;
  --ink-100: #e8e8ec;
  --white: #ffffff;

  /* signal red */
  --red-600: #8a0000;
  --red-500: #c20d0d;
  --red-400: #ed1c24;
  --red-300: #ff2b2b;
  --red-200: #ff6a6a;

  /* floors */
  --floor-main: #ed1c24;
  --floor-tunnel: #2f9bff;
  --floor-cage: #00e6a4;

  /* semantic */
  --bg-page: var(--black);
  --bg-surface: var(--ink-900);
  --text-primary: var(--white);
  --text-secondary: var(--ink-200);
  --text-muted: var(--ink-400);
  --text-accent: var(--red-400);
  --text-on-accent: var(--white);
  --text-on-inverse: var(--black);
  --border-hairline: rgba(255, 255, 255, .16);
  --link: var(--red-400);
  --link-hover: var(--red-200);

  /* effects */
  --glow-red-sm: 0 0 6px rgba(237, 28, 36, .9), 0 0 18px rgba(237, 28, 36, .5);
  --glow-white: 0 0 8px rgba(255, 255, 255, .9), 0 0 30px rgba(255, 255, 255, .45);
  --shadow-type: 0 2px 0 rgba(0, 0, 0, .55), 0 6px 24px rgba(0, 0, 0, .75);
  --shadow-hard: 0 4px 0 rgba(0, 0, 0, .85);

  /* type */
  --font-headline: "Anton", Impact, "Haettenschweiler", sans-serif;
  --font-display: "Chakra Petch", "Eurostile", sans-serif;
  --font-body: "Barlow Condensed", "Roboto Condensed", sans-serif;
  --fs-2xs: 13px;
  --fs-xs: 15px;
  --fs-sm: 18px;
  --fs-md: 22px;
  --ls-tight: -0.02em;
  --ls-wide: 0.06em;
  --ls-wider: 0.14em;
  --ls-widest: 0.26em;

  /* spacing / radii */
  --space-4: 16px;
  --space-5: 24px;
  --radius-sm: 4px;
  --radius-tile: 28px;
  --border-width: 2px;
  --rule-width: 3px;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-snap: cubic-bezier(.2, .9, .1, 1);
  --dur-instant: 80ms;
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --press-scale: .97;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
a { color: var(--link); text-decoration: none; transition: color var(--dur-fast) var(--ease-snap); }
a:hover { color: var(--link-hover); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--red-400); color: var(--white);
  font: 700 var(--fs-2xs)/1 var(--font-display); letter-spacing: var(--ls-wider); text-transform: uppercase;
}
.skip-link:focus { top: 12px; color: var(--white); }
.red { color: var(--red-400); }
:target { scroll-margin-top: 72px; }

/* ---------- Components ---------- */
.btn {
  display: inline-block;
  border-radius: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: transform var(--dur-instant) var(--ease-snap), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(var(--press-scale)); }
.btn--sm { padding: 10px 18px; font-size: var(--fs-2xs); }
.btn--md { padding: 14px 28px; font-size: var(--fs-sm); }
.btn--lg { padding: 20px 44px; font-size: var(--fs-md); }
.btn--primary { background: var(--red-400); color: var(--text-on-accent); border: var(--border-width) solid var(--red-400); }
.btn--primary:hover { color: var(--text-on-accent); box-shadow: var(--glow-red-sm); }
.btn--outline { background: transparent; color: var(--white); border: var(--border-width) solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--text-on-inverse); box-shadow: var(--glow-white); }

.tag {
  display: inline-block;
  padding: 5px 10px 4px;
  border: 1px solid var(--border-hairline);
  color: var(--white);
  font: 700 var(--fs-2xs)/1 var(--font-display);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
}

.breaking-label {
  display: inline-block;
  padding: 6px var(--space-4) 5px;
  background: var(--red-400);
  color: var(--text-on-accent);
  font: 700 26px/1 var(--font-headline);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.rule { height: var(--rule-width); width: 120px; background: var(--red-400); }
.rule--white { background: var(--white); }
.rule--160 { width: 160px; }

.kicker {
  font: 700 var(--fs-2xs)/1 var(--font-display);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--red-400);
}
.kicker--muted { color: var(--text-muted); }

.headline {
  font-family: var(--font-headline);
  font-weight: 400;
  letter-spacing: var(--ls-tight);
  text-transform: uppercase;
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-hairline);
}
.site-header--sticky { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .92); }
.site-header__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-header__brand img { width: 44px; }
.site-header__nav { display: flex; align-items: center; gap: 20px; }
.nav-label, .site-header__nav a:not(.btn) {
  font: 700 var(--fs-2xs)/1 var(--font-display);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--white);
}
.site-header__nav a:not(.btn):hover { color: var(--link-hover); }
@media (max-width: 400px) {
  .site-header { padding: 12px 16px; gap: 12px; }
  .site-header__nav { gap: 14px; }
  .nav-label { font-size: 11px; letter-spacing: .1em; }
}

/* ---------- Layout ---------- */
.section { padding: 88px 24px; }
.section--top-line { border-top: 1px solid var(--border-hairline); }
.section--flush-top { padding-top: 0; }
.wrap { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.wrap--820 { max-width: 820px; gap: 24px; }
.wrap--900 { max-width: 900px; }
.wrap--center { align-items: center; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px 24px 64px;
  overflow: hidden;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: center 45%; opacity: .9; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .72) 26%, rgba(0, 0, 0, .25) 62%, rgba(0, 0, 0, .6) 100%);
}
.hero__picto { position: absolute; top: 36px; right: 24px; z-index: 2; width: min(86px, 16vw); }
.hero__content {
  position: relative; z-index: 3;
  max-width: 1100px; width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
}
.hero__title { display: flex; flex-direction: column; gap: 2px; font-size: clamp(44px, 9vw, 118px); line-height: .88; text-shadow: var(--shadow-hard); }
.hero__title span { display: block; }
.hero__rule { width: min(420px, 70%); }
.hero__sub {
  font: 700 clamp(16px, 2vw, 22px)/1.3 var(--font-display);
  letter-spacing: .1em; text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .85);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.hum { animation: rie-hum 4.8s steps(1, end) infinite; }
@keyframes rie-hum { 0%, 100% { opacity: 1 } 48% { opacity: 1 } 49% { opacity: .55 } 51% { opacity: 1 } 84% { opacity: 1 } 85% { opacity: .7 } 87% { opacity: 1 } }

/* ---------- Announcement ---------- */
.announce__title { font-size: clamp(32px, 5vw, 64px); line-height: .92; }
.announce__kicker {
  font: 700 clamp(18px, 2vw, 22px)/1.2 var(--font-display);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
}
.lead { font: 400 clamp(20px, 2.4vw, 28px)/1.4 var(--font-body); color: var(--ink-100); text-wrap: pretty; }
.lead strong { color: var(--red-400); font-weight: 700; }
.bullets {
  display: flex; flex-direction: column; gap: 12px;
  margin: 0; padding: 8px 0; list-style: none;
  font: 700 clamp(15px, 1.6vw, 18px)/1.35 var(--font-display);
  letter-spacing: .1em; text-transform: uppercase;
}
.announce__outro { font-size: clamp(28px, 4vw, 52px); line-height: .92; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
  margin: 0; padding: 0; list-style: none;
}
.feature-grid img { width: 100%; border-radius: var(--radius-tile); }

/* ---------- Floors ---------- */
.floor-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
  margin: 0; padding: 0; list-style: none;
}
.floor {
  --c: var(--floor-main);
  --glow: rgba(237, 28, 36, .55);
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--c);
}
.floor--tunnel { --c: var(--floor-tunnel); --glow: rgba(47, 155, 255, .5); }
.floor--cage { --c: var(--floor-cage); --glow: rgba(0, 230, 164, .45); }
.floor__badge {
  width: 110px; height: 110px; padding: 8px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px solid var(--c); border-radius: var(--radius-tile);
  box-shadow: 0 0 14px var(--glow), inset 0 0 10px var(--glow);
  font: 700 15px/1.1 var(--font-display); letter-spacing: .1em; text-transform: uppercase;
  color: var(--c);
}
.floor__name { font: 700 22px/1 var(--font-display); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.floor__text { font: 400 18px/1.35 var(--font-body); color: var(--text-secondary); }

/* ---------- Sold out ---------- */
.soldout {
  position: relative; overflow: hidden;
  padding: 96px 24px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.soldout__bg, .soldout__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.soldout__bg img { object-fit: cover; opacity: .5; }
.soldout__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .8) 45%, rgba(0, 0, 0, .85) 100%); }
.soldout .wrap { position: relative; z-index: 2; gap: 28px; }
.soldout__title { font-size: clamp(38px, 7vw, 96px); line-height: .9; color: var(--red-400); text-shadow: var(--shadow-hard); }
.soldout__text { max-width: 560px; font: 400 clamp(20px, 2.2vw, 26px)/1.4 var(--font-body); color: var(--ink-100); }
.fineprint { font: 700 var(--fs-2xs)/1.6 var(--font-display); letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--ink-300); }

/* ---------- Anreise ---------- */
.anreise { padding: 96px 24px 88px; }
.anreise .wrap { gap: 40px; }
.anreise__head { display: flex; flex-direction: column; gap: 20px; }
.anreise__label { font: 700 var(--fs-2xs)/1 var(--font-display); letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--text-secondary); }
.anreise__title { font-size: clamp(44px, 8vw, 104px); line-height: .88; }
.address {
  display: flex; flex-direction: column; gap: 4px;
  font: 400 clamp(20px, 2.2vw, 26px)/1.35 var(--font-body); font-style: normal; color: var(--ink-100);
}
.address__date { margin-top: 8px; font: 700 var(--fs-xs)/1.4 var(--font-display); letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--white); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.info-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
}
.info-card--accent { border-color: var(--red-400); }
.info-card__title { font: 700 var(--fs-xs)/1.3 var(--font-display); letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--white); }
.info-card--accent .info-card__title { color: var(--red-400); }
.info-card__rule { height: 2px; width: 48px; background: var(--red-400); }
.info-card__big { font: 400 clamp(28px, 3vw, 38px)/.95 var(--font-headline); text-transform: uppercase; color: var(--white); }
.info-card__body { display: flex; flex-direction: column; gap: 10px; font: 400 19px/1.4 var(--font-body); color: var(--text-secondary); }
.info-card__body .hi { color: var(--white); }

/* ---------- Closing ---------- */
.closing .wrap { gap: 24px; }
.closing__title { font-size: clamp(36px, 6vw, 80px); line-height: .9; }
.closing__line { font: 700 var(--fs-xs)/1.5 var(--font-display); letter-spacing: var(--ls-wider); text-transform: uppercase; }
.refund { margin-top: 16px; max-width: 640px; font: 400 17px/1.45 var(--font-body); color: var(--ink-300); text-wrap: pretty; }
.refund strong { color: var(--text-secondary); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  padding: 72px 24px 40px;
  border-top: 1px solid var(--border-hairline);
}
.site-footer__picto { width: 86px; opacity: .9; }
.info-footer { text-align: center; }
.info-footer__kicker { font: 500 19px/1 var(--font-display); letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--text-secondary); text-shadow: var(--shadow-type); }
.info-footer__url { margin-top: 6px; font: 700 clamp(26px, 7vw, 34px)/1 var(--font-display); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--white); text-shadow: var(--shadow-type); }
.link-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
  margin: 0; padding: 0; list-style: none;
  font: 700 var(--fs-2xs)/1 var(--font-display); letter-spacing: var(--ls-wider); text-transform: uppercase;
}
.link-row--start { justify-content: flex-start; }
.link-row__dim { color: var(--ink-500); }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 760px; margin: 0 auto;
  padding: 72px 24px 96px;
  display: flex; flex-direction: column; gap: 40px;
}
.legal__head { display: flex; flex-direction: column; gap: 20px; }
.legal__title { font-size: clamp(40px, 7vw, 72px); line-height: .9; overflow-wrap: anywhere; hyphens: auto; }
.legal__intro { font: 400 19px/1.45 var(--font-body); color: var(--text-secondary); text-wrap: pretty; }
.legal__intro--lg { font-size: 20px; line-height: 1.5; }
.legal__group { display: flex; flex-direction: column; gap: 16px; }
.legal__group-title { font: 700 var(--fs-sm)/1.2 var(--font-display); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--red-400); }

.deflist {
  margin: 0;
  display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  font: 400 var(--fs-md)/1.35 var(--font-body);
  border-bottom: 1px solid var(--border-hairline);
}
.deflist dt, .deflist dd { margin: 0; padding: 16px 0; border-top: 1px solid var(--border-hairline); }
.deflist dt {
  padding-right: 16px;
  font: 700 var(--fs-2xs)/1.4 var(--font-display); letter-spacing: var(--ls-wider); text-transform: uppercase;
  color: var(--text-muted); overflow-wrap: break-word; hyphens: auto;
}
.deflist dd { color: var(--ink-100); overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .deflist { grid-template-columns: 1fr; }
  .deflist dt { padding-bottom: 4px; }
  .deflist dd { padding-top: 0; border-top: 0; }
}

.info-panel {
  padding: var(--space-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
}
.info-panel__title { margin-bottom: var(--space-4); font: 700 var(--fs-xs)/1 var(--font-display); letter-spacing: var(--ls-widest); text-transform: uppercase; color: var(--text-muted); }
.info-panel__body { font: 400 var(--fs-md)/1.35 var(--font-body); color: var(--text-secondary); overflow-wrap: anywhere; }
.info-panel__body p + p { margin-top: 12px; }

.legal__section { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--border-hairline); }
.legal__section p { font: 400 20px/1.5 var(--font-body); color: var(--text-secondary); text-wrap: pretty; }
.legal__section .hi { color: var(--white); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hum { animation: none; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}
