/* Shqipnova Events – Entwurf. Schwarz, Silber, ein Rot (Albanien). */
:root {
  --grund: #0B0B0C;
  --grund-2: #141416;
  --linie: rgba(242, 239, 234, 0.14);
  --text: rgba(242, 239, 234, 0.92);
  --text-2: rgba(242, 239, 234, 0.68);
  --text-3: rgba(242, 239, 234, 0.46);
  --rot: #E1251B;
  --rot-hell: #F0392F;

  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --rand: 20px;
  --abschnitt: 72px;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
}
@media (min-width: 900px) {
  :root { --rand: 40px; --abschnitt: 128px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 400 17px/1.5 var(--sans);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--rot); color: #fff; }

.rahmen { max-width: 1200px; margin: 0 auto; padding: 0 var(--rand); }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0.02em; }
.leise { color: var(--text-2); }
.platzhalter { color: var(--text-3); font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; white-space: nowrap; }

.h2 {
  font: 500 40px/1.05 var(--serif);
  letter-spacing: -0.01em;
  color: var(--text);
}
@media (min-width: 900px) { .h2 { font-size: 64px; } }

.gross { font-size: 20px; line-height: 1.45; color: var(--text); max-width: 34ch; }
@media (min-width: 900px) { .gross { font-size: 24px; } }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--rot); color: #fff;
  font: 600 16px/1 var(--sans); letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.knopf:hover { background: var(--rot-hell); }
.knopf:active { transform: scale(0.98); }
.knopf:focus-visible, .chip input:focus-visible + span, .eingabe:focus-visible, .zaehler-knopf:focus-visible {
  outline: 2px solid var(--text); outline-offset: 3px;
}
.knopf-klein { min-height: 40px; padding: 0 16px; font-size: 14px; }
.knopf-breit { width: 100%; }
.textlink {
  display: inline-block; margin-top: 24px; padding-top: 8px;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--linie); padding-bottom: 4px;
  transition: border-color 150ms ease-out;
}
.textlink:hover { border-color: var(--text); }

/* Kopf */
.kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--rand);
  padding-top: max(16px, env(safe-area-inset-top));
  transition: background-color 200ms ease-out, border-color 200ms ease-out;
  border-bottom: 1px solid transparent;
}
.kopf.voll { background: rgba(11, 11, 12, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--linie); }
.kopf-marke {
  font: 600 15px/1 var(--serif); letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; opacity: 0; pointer-events: none; transition: opacity 200ms ease-out;
  display: inline-flex; align-items: center; min-height: 40px;
}
.kopf-marke span { color: var(--text-3); }
.kopf.voll .kopf-marke { opacity: 1; pointer-events: auto; }

/* Einstieg */
.einstieg { position: relative; min-height: 100svh; display: flex; flex-direction: column; }
.einstieg-bild { position: relative; }
.einstieg-bild::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(to bottom, rgba(11,11,12,0), var(--grund));
}
.einstieg-bild img { width: 100%; }
.einstieg-text {
  position: relative; z-index: 2;
  margin-top: -50vw;
  padding: 0 var(--rand) 40px;
}
.einstieg-datum {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2); text-transform: uppercase;
  margin-bottom: 16px;
}
.punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 4px rgba(225, 37, 27, 0.18); }
.titel {
  font: 600 46px/1 var(--serif);
  letter-spacing: -0.02em;
  color: var(--text);
}
.zeile { display: block; overflow: hidden; padding-bottom: 0.06em; }
.zeile > span { display: block; }
.einstieg-satz { margin-top: 16px; color: var(--text-2); max-width: 40ch; }
.einstieg-unten { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.countdown { font-size: 13px; color: var(--text-3); text-transform: uppercase; }
.countdown strong { font-weight: 500; color: var(--text); font-size: 15px; margin-right: 4px; }

@media (min-width: 900px) {
  .einstieg {
    flex-direction: row-reverse; align-items: stretch;
    max-width: 1280px; margin: 0 auto; min-height: 100vh;
    padding: 0 var(--rand);
  }
  .einstieg-bild { flex: 0 0 auto; width: min(44vw, 520px); align-self: center; margin: 104px 0 64px; }
  .einstieg-bild::after { display: none; }
  .einstieg-bild img { height: calc(100vh - 168px); max-height: 920px; width: auto; aspect-ratio: 941 / 1672; object-fit: cover; }
  .einstieg-text { flex: 1; margin: 0; padding: 0 64px 0 0; align-self: center; }
  .titel { font-size: clamp(72px, 8.4vw, 116px); line-height: 0.98; }
  .einstieg-satz { font-size: 19px; margin-top: 24px; }
  .einstieg-unten { flex-direction: row; align-items: center; gap: 24px; margin-top: 40px; }
  .einstieg-datum { font-size: 14px; margin-bottom: 24px; }
}

/* Programm */
.programm { position: relative; padding: var(--abschnitt) 0; border-top: 1px solid var(--linie); }
.programm-kopf { display: grid; gap: 16px; margin-bottom: 40px; }
.programm-kopf .leise { max-width: 44ch; }
@media (min-width: 900px) {
  .programm-kopf { grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 64px; }
}
.punkt-zeile {
  position: relative;
  display: grid; grid-template-columns: 40px 1fr 72px; column-gap: 16px; align-items: center;
  padding: 24px 0; border-top: 1px solid var(--linie);
  min-height: 136px;
}
.punkt-zeile:last-child { border-bottom: 1px solid var(--linie); }
.punkt-zeile .nr { grid-row: 1 / span 2; align-self: start; padding-top: 8px; font-size: 13px; color: var(--text-3); }
.punkt-zeile h3 { grid-column: 2; font: 500 26px/1.1 var(--serif); letter-spacing: -0.01em; }
.punkt-zeile p { grid-column: 2; margin-top: 8px; color: var(--text-2); font-size: 16px; }
.punkt-zeile .mini { grid-column: 3; grid-row: 1 / span 2; width: 72px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 4px; }
.punkt-zeile:not(:has(.mini)) { min-height: 0; }
@media (min-width: 900px) {
  .punkt-zeile { grid-template-columns: 80px 1fr 1fr; padding: 32px 0; min-height: 0; }
  .punkt-zeile h3 { font-size: 44px; grid-row: 1; }
  .punkt-zeile p { grid-column: 3; grid-row: 1; margin: 0; font-size: 17px; }
  .punkt-zeile .nr { grid-row: 1; padding: 0; align-self: center; }
  .punkt-zeile .mini { display: none; }
  .punkt-zeile[data-bild] { cursor: default; }
  .punkt-zeile h3 { transition: color 150ms ease-out, transform 600ms var(--expo); }
  .liste:hover .punkt-zeile h3 { color: var(--text-3); }
  .liste:hover .punkt-zeile:hover h3 { color: var(--text); transform: translateX(16px); }
}
.folger { display: none; }
@media (hover: hover) and (min-width: 900px) {
  .folger {
    display: block; position: fixed; left: 0; top: 0; z-index: 10; pointer-events: none;
    width: 220px; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden;
    opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.9);
    transition: opacity 200ms ease-out;
  }
  .folger.an { opacity: 1; }
  .folger img { width: 100%; height: 100%; object-fit: cover; }
}

/* Tupan */
.tupan { padding: var(--abschnitt) 0; background: var(--grund-2); }
.tupan-raster { display: grid; gap: 40px; }
.tupan-bild { overflow: hidden; border-radius: 6px; }
.tupan-bild img { width: 100%; aspect-ratio: 941 / 1672; object-fit: cover; }
.tupan-text .gross { margin-top: 24px; }
.tupan-text .leise { margin-top: 16px; max-width: 52ch; }
@media (min-width: 900px) {
  .tupan-raster { grid-template-columns: 5fr 6fr; gap: 104px; align-items: center; }
}

/* Warteliste */
.warteliste { padding: var(--abschnitt) 0; border-top: 1px solid var(--linie); }
.warte-raster { display: grid; gap: 40px; }
.warte-links .gross { margin-top: 24px; }
.plakat-quer { margin-top: 40px; border-radius: 6px; overflow: hidden; }
.plakat-quer img { width: 100%; aspect-ratio: 1608 / 980; object-fit: cover; }
@media (min-width: 900px) {
  .warte-raster { grid-template-columns: 1fr 1fr; gap: 104px; align-items: start; }
  .warte-links { position: sticky; top: 104px; }
}

.formular {
  display: grid; gap: 24px;
  padding: 24px; border-radius: 8px;
  background: var(--grund-2); border: 1px solid var(--linie);
}
@media (min-width: 900px) { .formular { padding: 40px; } }
.feld { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.feld[hidden] { display: none; }
.label { font-size: 12px; color: var(--text-3); text-transform: uppercase; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--linie); border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text-2); cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.chip span:hover { border-color: var(--text-3); color: var(--text); }
.chip input:checked + span { background: var(--text); color: var(--grund); border-color: var(--text); }
.eingabe {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: var(--grund); color: var(--text);
  border: 1px solid var(--linie); border-radius: 6px;
  font: 400 17px/1 var(--sans);
  transition: border-color 150ms ease-out;
}
.eingabe::placeholder { color: var(--text-3); }
.eingabe:hover { border-color: var(--text-3); }
.zaehler { display: inline-flex; align-items: center; gap: 16px; }
.zaehler-knopf {
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; color: var(--text); border: 1px solid var(--linie);
  font: 400 22px/1 var(--sans); cursor: pointer;
  transition: border-color 150ms ease-out;
}
.zaehler-knopf:hover { border-color: var(--text); }
#personen { min-width: 32px; text-align: center; font-size: 22px; color: var(--text); }
.nachricht { padding: 16px; border-left: 2px solid var(--rot); background: rgba(242, 239, 234, 0.04); border-radius: 0 6px 6px 0; }
#vorschau { margin-top: 8px; color: var(--text); font-size: 16px; white-space: pre-line; }
.hinweis { font-size: 14px; color: var(--text-3); }
.hinweis.ok { color: var(--text); }

/* Fuss */
.fuss { padding: var(--abschnitt) 0 40px; border-top: 1px solid var(--linie); text-align: center; }
.fuss-logo { width: min(100%, 520px); margin: 0 auto; mix-blend-mode: screen; }
.fuss-zeile { margin-top: 16px; color: var(--text-2); font-size: 15px; }
.fuss-zeile a, .entwurf a { display: inline-block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--linie); }
.entwurf { margin-top: 64px; font-size: 13px; color: var(--text-3); }

/* Bewegung */
.js .zeile > span { transform: translateY(105%); }
.js.geladen .zeile > span { transform: none; transition: transform 1000ms var(--expo); }
.js.geladen .zeile:nth-child(2) > span { transition-delay: 90ms; }
.js .aufdecken { clip-path: inset(100% 0 0 0); }
.js .aufdecken img { transform: scale(1.15); }
.js .aufdecken.sichtbar { clip-path: inset(0 0 0 0); transition: clip-path 1000ms var(--expo); }
.js .aufdecken.sichtbar img { transform: none; transition: transform 1400ms var(--expo); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .zeile > span, .js .aufdecken, .js .aufdecken img { transform: none !important; clip-path: none !important; transition: none !important; }
  .folger { display: none !important; }
  .punkt-zeile h3 { transition: none !important; }
}
