/* LivingRoom Startseite – Redesign 2026. Farben/Typo angelehnt an gotec-club.com. */
/* Schrift: Montserrat (SIL Open Font License, Lizenztext: assets/fonts/montserrat-LICENSE.txt), lokal gehostet, keine Google-Server. */
@font-face { font-family: Montserrat; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-800.woff2") format("woff2"); }

:root {
  --bg: #0b0b0b;
  --surface: #161616;
  --line: #232323;
  --text: #e7e5e0;
  --text-strong: #f6f5f2;
  --muted: #9a9893;
  --dim: #5f5e5b;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --font: Montserrat, "Avenir Next", "Helvetica Neue", Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 10; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  background: linear-gradient(rgba(11,11,11,.85), rgba(11,11,11,0));
  transition: background .3s;
}
.header.is-solid { background: rgba(11,11,11,.96); border-bottom: 1px solid var(--line); }
.header__logo img { height: 18px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.nav a { color: var(--text); opacity: .85; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: opacity .2s, border-color .2s; }
.nav a:hover, .nav a:focus-visible { opacity: 1; border-bottom-color: var(--text-strong); }
.nav .nav__cta { opacity: 1; color: var(--text-strong); }
.burger { display: none; background: none; border: 0; color: var(--text); font: 500 15px var(--font); cursor: pointer; padding: 8px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.15) 40%, rgba(11,11,11,.9) 100%); }
.hero__bar {
  position: absolute; z-index: 2; inset: auto 0 0 0; padding: 0 var(--gutter) 28px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-strong); }
.hero__title { margin: 0; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.2; color: var(--text-strong); text-transform: uppercase; }
.hero__claim { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.more { font-size: 14px; color: var(--muted); white-space: nowrap; }
.more:hover { color: var(--text-strong); }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 120px) var(--gutter); border-top: 1px solid var(--line); }
.eyebrow { display: block; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.eyebrow b { color: var(--text-strong); font-weight: 500; }
h2 { margin: 0 0 32px; font-size: clamp(32px, 4.2vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; color: var(--text-strong); }

/* ---------- Program ---------- */
.program { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); padding-top: 0; padding-left: 0; border-top: 0; }
.program__media { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; }
.program__media img { width: 100%; height: 100%; object-fit: cover; }
.program__list { padding-top: clamp(64px, 9vw, 120px); }
.event { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.event:last-of-type { border-bottom: 1px solid var(--line); }
.event__day { font-size: 44px; font-weight: 800; line-height: .9; color: var(--text-strong); letter-spacing: -0.04em; }
.event__dow { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.event__name { margin: 0; font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; line-height: 1.2; text-transform: uppercase; color: var(--text-strong); }
.event__meta { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.event__link { font-size: 14px; color: var(--muted); white-space: nowrap; padding-top: 4px; }
.event__link:hover { color: var(--text-strong); }
.tag { display: inline-block; margin-left: 8px; padding: 1px 7px; font-size: 11px; font-weight: 500; vertical-align: middle; background: var(--text-strong); color: var(--bg); }
.program__all { display: inline-block; margin-top: 28px; font-size: 14px; color: var(--muted); }

/* ---------- Radio ---------- */
.radio { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.radio p { color: var(--muted); max-width: 46ch; margin: 0 0 28px; }
.links { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; background: transparent; font-family: inherit; cursor: pointer; padding: 11px 18px; border: 1px solid var(--dim); font-size: 14px; font-weight: 500; color: var(--text-strong); transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--text-strong); color: var(--bg); border-color: var(--text-strong); }
.embed { aspect-ratio: 16/10; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 24px; }
.embed small { display: block; margin-top: 10px; color: var(--dim); font-size: 12px; max-width: 36ch; }

/* ---------- Gallery ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tile { position: relative; overflow: hidden; aspect-ratio: 3/2; background: var(--surface); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .85; }
.tile:hover img { transform: scale(1.04); opacity: 1; }
.tile span { position: absolute; left: 14px; bottom: 12px; font-size: 14px; font-weight: 700; color: var(--text-strong); text-shadow: 0 1px 12px rgba(0,0,0,.8); }

/* ---------- DJs ---------- */
.djs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; }
.dj { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.dj img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.8); transition: filter .4s; }
.dj:hover img { filter: grayscale(0) brightness(1); }
.dj span { position: absolute; left: 12px; bottom: 10px; font-weight: 700; font-size: 15px; color: var(--text-strong); text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.9); }

/* ---------- Story ---------- */
.story p { max-width: 60ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--text); margin: 0 0 24px; }
.story .sign { color: var(--muted); font-size: 16px; }

/* ---------- Footer ---------- */
.footer { padding: 48px var(--gutter); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a:hover { color: var(--text-strong); }


/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a:focus-visible { border-bottom-color: var(--line); }
  .burger { display: block; }
  .program, .radio { grid-template-columns: 1fr; }
  .program { padding-right: 0; }
  .program__media { position: relative; top: 0; height: 52svh; }
  .program__list { padding: 48px var(--gutter) 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event { grid-template-columns: 64px minmax(0,1fr); }
  .event__day { font-size: 36px; }
  .event__link { grid-column: 2; padding-top: 0; }
  .hero__bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- Play-Knopf (erscheint nur, wenn der Browser das Autoplay blockiert) ---------- */
.hero__play { position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--header-h) + 16px); padding: 9px 14px; background: rgba(11,11,11,.55); color: var(--text-strong); border: 1px solid var(--dim); font: 500 13px var(--font); cursor: pointer; backdrop-filter: blur(4px); }
.hero__play[hidden] { display: none; }
.hero__play:hover { background: var(--text-strong); color: var(--bg); border-color: var(--text-strong); }

/* ---------- Ergänzungen für die echte Seite ---------- */
:focus-visible { outline: 2px solid var(--text-strong); outline-offset: 3px; }
.empty { color: var(--muted); }
.empty a, .event__meta a, .event__more a { text-decoration: underline; text-underline-offset: 3px; }
.event__links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.event__more { margin-top: 8px; font-size: 14px; color: var(--muted); }
.event__more summary { cursor: pointer; width: max-content; }
.event__more div { margin-top: 8px; max-width: 60ch; }
.embed iframe { width: 100%; height: 100%; border: 0; }
.embed.is-loaded { padding: 0; }

.dj__name { position: absolute; left: 12px; bottom: 10px; font-weight: 700; font-size: 15px; color: var(--text-strong); text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.9); transition: opacity .3s; }
.dj__social { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 32px 12px 10px; font-size: 13px; font-weight: 500; background: linear-gradient(transparent, rgba(11,11,11,.92)); opacity: 0; transition: opacity .3s; }
.dj__social a { color: var(--text-strong); }
.dj__social a:hover { text-decoration: underline; }
.dj:hover .dj__social, .dj:focus-within .dj__social { opacity: 1; }
.dj:hover .dj__name, .dj:focus-within .dj__name { opacity: 0; }
.dj:focus-within img { filter: grayscale(0) brightness(1); }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(11,11,11,.97); display: grid; grid-template-columns: 64px minmax(0,1fr) 64px; grid-template-rows: auto minmax(0,1fr); align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__top { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; padding: 16px var(--gutter); font-size: 14px; color: var(--muted); }
.lightbox__title { color: var(--text-strong); font-weight: 700; }
.lightbox__close { margin-left: auto; background: none; border: 0; color: var(--text); font: 500 14px var(--font); cursor: pointer; }
.lightbox__img { grid-column: 2; max-width: 100%; max-height: calc(100svh - 80px); margin: auto; object-fit: contain; }
.lightbox__nav { background: none; border: 0; color: var(--text); font-size: 40px; cursor: pointer; height: 100%; }
.lightbox__nav:hover { color: var(--text-strong); }
body.no-scroll { overflow: hidden; }

@media (max-width: 860px) {
  .event__links { grid-column: 2; flex-direction: row; align-items: flex-start; gap: 16px; }
  .dj__social { opacity: 1; padding-top: 24px; }
  .dj__name { opacity: 1 !important; bottom: auto; top: 10px; }
  .lightbox { grid-template-columns: 40px minmax(0,1fr) 40px; }
}
