/* artists.notamachine.com - NAMA, Not A Machine Artists
   Entwurf 25 "Hintergrund" (seit 05.09.2026): dunkelgruener Grund, Text in
   Rosé mit Limetten-Headline, ein riesiges, sehr langsames Konturband "NAMA."
   am Fuss der Buehne. Vorher Entwurf 04 "Laufband" (Sicherung in tools/). Reihenfolge: Schriften, Variablen, Reset, Kopfzeile,
   Menue, Buehne (Baender + Textblock + Instagram-Knopf), Inhalt, Fuss,
   Bewegung. Mobile first, keine externen Assets. */

/* ---------------------------------------------------------------- Schrift */

@font-face {
  font-family: "Cubano";
  src: url("/fonts/cubano-italic.woff2") format("woff2"),
       url("/fonts/cubano-italic.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nomad";
  src: url("/fonts/Nomad-L-150-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nomad";
  src: url("/fonts/Nomad-L-200-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------- Variablen */

:root {
  --orange: #E64927;
  --lime: #DBDF60;
  --dark: #22302C;
  --rose: #F3B7B7;

  --font-body: "Nomad", system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  /* Cubano ist Unicase; Nømad Bold ist der Fallback, beide fett und breit. */
  --font-display: "Cubano", "Nomad", system-ui, -apple-system, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --top-h: clamp(4.75rem, 9vw, 6.75rem);
  /* 62px bei 1280px Breite, auf Mobil nicht unter 30px. */
  --band-size: clamp(1.9rem, 4.85vw, 4.25rem);

  /* Feste Markenoptik, kein System-Dark-Mode. */
  color-scheme: only light;
}

/* ------------------------------------------------------------------ Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--rose);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

/* Alles, was in Cubano steht: versal, keine Kunstfette. */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-synthesis: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--dark);
  color: var(--lime);
  font-weight: 700;
  transform: translateY(-120%);
}

.skip:focus {
  transform: none;
}

/* --------------------------------------------------------------- Kopfzeile */

/* Liegt ueber dem Menue-Overlay (z-index 30 > 20): Logo und Burger bleiben
   bei geoeffnetem Menue sichtbar. Deshalb sind beide Limette, nicht
   Dunkelgruen, das ginge auf dem Overlay unter. */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.9rem, 2.5vw, 1.5rem) var(--gutter);
  color: var(--lime);
  transition: background-color 0.2s ease;
}

/* Nach dem Scrollen bekommt die Leiste Grund, damit der Inhalt darunter
   durchlaeuft, ohne das Logo zu beruehren. */
.top.is-scrolled {
  background-color: var(--dark);
}

html.menu-open .top {
  background-color: transparent;
}

.top__logo {
  display: block;
  flex: none;
}

.top__logo img {
  height: clamp(2.75rem, 6vw, 3.75rem);
  width: auto;
}

/* Burger: Grundregeln und Variante "spin" von notamachine.com
   (Hamburgers von Jonathan Suh), auf Limette und currentColor reduziert. */
.hamburger {
  padding: 12px;
  margin: -12px;
  display: inline-block;
  background: transparent;
  color: var(--lime);
  overflow: visible;
}

.hamburger-box {
  width: 34px;
  height: 22px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1.5px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 34px;
  height: 3px;
  background-color: currentColor;
  border-radius: 0;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

.hamburger--spin .hamburger-inner {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}

.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.25s ease-in,
    transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.is-active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}

.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out,
    transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* ------------------------------------------------------------------- Menue */

/* Entwurf M04 (05.09.2026): die Seite bleibt gedimmt sichtbar, von rechts
   schiebt sich ein Limettenpanel mit dem Menue herein. Das Logo bleibt links
   auf der dunklen Seite in Limette; der Burger liegt ueber dem Panel und
   wird beim Oeffnen dunkelgruen. Fuellt das Panel die ganze Breite (schmale
   Bildschirme), wechselt auch das Logo auf die dunkle Fassung. */
.menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(34, 48, 44, 0.62);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.3s;
}

.menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.menu:focus {
  outline: none;
}

.menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 35rem);
  overflow-y: auto;
  padding: calc(var(--top-h) + 1.5rem) var(--gutter) 2rem;
  background: var(--lime);
  color: var(--dark);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.menu.is-open .menu__panel {
  transform: none;
}

.menu__list {
  display: grid;
  gap: 0;
}

.menu__link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--dark);
}

/* Kein Fokusrahmen: nach Mausklick ist das Overlay selbst fokussiert,
   Tastaturfokus und Ueberfahren zeigen sich als Unterstrich. */
.menu__link:hover,
.menu__link:focus-visible {
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.1em;
}

.menu__mail {
  display: block;
  margin-top: 0.1rem;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.35rem);
  line-height: 1.3;
  color: var(--dark);
  opacity: 0.8;
}

/* Login zum Event-Admin: Werkzeug, kein Markenpunkt. Klein, Noemad, mit
   Abstand unter den drei Hauptpunkten. nofollow, damit kein Crawler von der
   indexierten Seite auf die bewusst unindexierte RSVP-Domain folgt. */
.menu__item--login {
  margin-top: clamp(1.5rem, 5vw, 2.5rem);
}

.menu__link--login {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: var(--dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.menu__link--login:hover,
.menu__link--login:focus-visible {
  text-decoration-thickness: 2px;
}

/* Burger ueber dem Panel: dunkel, sobald das Menue offen ist. */
html.menu-open .hamburger {
  color: var(--dark);
}

/* Logo: Limette auf der Seite, dunkle Fassung nur, wenn das Panel bis zum
   Logo reicht. */
.top__logo-img--dark {
  display: none;
}

@media (max-width: 47rem) {
  html.menu-open .top__logo-img--lime {
    display: none;
  }

  html.menu-open .top__logo-img--dark {
    display: block;
  }
}

/* ------------------------------------------------------------------ Buehne */

/* Erster Eindruck ueber die volle Hoehe: oben der Textblock mit dem
   Instagram-Knopf, unten das riesige Konturband, das wie eine Wasserzeichen-
   spur sehr langsam durchlaeuft. */
.stage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--top-h);
  overflow: hidden;
}

/* ---- Laufbaender ---- */

.band {
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 700;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: var(--band-size);
  line-height: 1;
  padding: 0.1em 0 0.16em;
}

/* Das Konturband: 260px bei 1280px Breite, nur Umriss in Limette, gedaempft.
   Die Unterkante wird leicht beschnitten, damit es aus der Flaeche laeuft.
   Ohne text-stroke (alte Browser) bleibt eine blasse Limettenflaeche. */
.band--giant {
  font-size: clamp(5rem, 20.3vw, 16.25rem);
  line-height: 1;
  padding: 0;
  margin-top: auto;
  margin-bottom: -0.16em;
  color: var(--lime);
  opacity: 0.25;
}

@supports (-webkit-text-stroke: 1px #000) {
  .band--giant {
    color: transparent;
    -webkit-text-stroke: 2px var(--lime);
    opacity: 0.6;
  }
}

/* Die Spur besteht aus zwei identischen Gruppen (per Skript aufgebaut); die
   Animation schiebt genau eine Gruppe weit, danach beginnt der Zyklus
   unsichtbar von vorn. Laeuft erst, wenn das Skript die Gruppen gebaut hat
   (.is-built), die Dauer setzt das Skript inline. Langhand statt Kurzform,
   damit die Laufrichtung von Band 2 nicht ueberschrieben wird. */
.band__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.band.is-built .band__track {
  animation-name: band-run;
  animation-duration: 48s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* pre: die Leerzeichen am Kopienende bleiben erhalten, die Naht zwischen
   den Kopien ist damit exakt ein Wortabstand. Nur auf den Spans, sonst
   wuerden die Zeilenumbrueche des Markups als Leerzeilen gerendert. */
.band__track > span {
  display: block;
  white-space: pre;
}


@keyframes band-run {
  to { transform: translateX(-50%); }
}

/* ---- Oben: Textblock, darunter der Knopf ---- */

.stage__center {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.75rem, 4.5vw, 3rem) var(--gutter) clamp(1rem, 3vw, 2rem);
}

.intro {
  max-width: 46rem;
  color: var(--rose);
}

.intro__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin-bottom: 0.55em;
  color: var(--lime);
}

.intro__claim {
  font-weight: 700;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.55rem);
  line-height: 1.3;
  margin-bottom: 0.6em;
}

/* Nicht zu klein, nicht zu duenn: das holt Lesbarkeit heraus, ohne einen
   Farbwert zu aendern. */
.intro__text {
  max-width: 40ch;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.45;
}

/* ---- Instagram-Knopf: atmet, bewegt sich nicht ---- */

.ig {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  flex: none;
  padding: 1em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  /* Text bleibt in jeder Phase Dunkelgruen: 9,65:1 auf Limette, 8,03:1 auf Rosé. */
  color: var(--dark);
  background-color: var(--lime);
  animation: breath 14s ease-in-out infinite;
}

.ig__icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* Ueberfahren und Fokus: statischer, deutlicher Zustand, Textfarbe bleibt. */
.ig:hover,
.ig:focus-visible {
  animation: none;
  background-color: var(--lime);
  box-shadow: 0 0 0 3px var(--dark);
}

.ig:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 4px;
  box-shadow: none;
}

/* Kurz einatmen, kurz halten, lang ausatmen, Ruhe. Ungleichmaessig mit
   Absicht: gleichmaessiges Hin und Her liest das Auge als Blinken. */
@keyframes breath {
  0%   { background-color: #DBDF60; }
  32%  { background-color: #F3B7B7; }
  46%  { background-color: #F3B7B7; }
  88%  { background-color: #DBDF60; }
  100% { background-color: #DBDF60; }
}

/* ----------------------------------------------------------------- Inhalt */

.content {
  background: var(--dark);
  color: var(--rose);
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  scroll-margin-top: var(--top-h);
}

/* Haarlinie als Kante zwischen Buehne und Inhalt. */
.stage + .content {
  border-top: 1px solid rgba(219, 223, 96, 0.22);
}

.content + .content {
  padding-top: 0;
}

.content__inner {
  max-width: 72rem;
  margin-inline: auto;
  display: grid;
  gap: clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 4rem);
}

@media (min-width: 800px) {
  .content__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    align-items: start;
  }
}

.content__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--lime);
}

.content__body {
  max-width: 44rem;
}

.lead {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.5;
}

.link {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.link:hover {
  text-decoration-thickness: 3px;
}

/* ---- Events ---- */

.events__group {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.events__group--past {
  margin-top: 2.25rem;
  color: var(--rose);
  opacity: 0.8;
}

.events {
  display: grid;
  gap: 1rem;
}

.event {
  display: grid;
  gap: 0.15rem 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(243, 183, 183, 0.25);
}

@media (min-width: 560px) {
  .event {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name date" "place date" "note date";
    align-items: baseline;
  }
  .event__name { grid-area: name; }
  .event__date { grid-area: date; text-align: right; }
  .event__place { grid-area: place; }
  .event__note { grid-area: note; }
}

.event__name {
  font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.7rem);
  line-height: 1.25;
}

.event__date {
  color: var(--lime);
  font-weight: 700;
  white-space: nowrap;
}

.event__place {
  font-size: 1rem;
}

.event__note {
  font-size: 0.95rem;
  opacity: 0.85;
}

.events--past .event__name {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem);
}

.events--past .event {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Vergangene Events ausgegraut: Farbe raus, Deckung runter. */
.events--past {
  filter: grayscale(1);
  opacity: 0.55;
}

/* ------------------------------------------------------------------- Fuss */

/* Schmal, Nømad, klein, Limette auf Dunkelgruen. Kein Kasten, kein Knopf. */
.foot {
  background: var(--dark);
  color: var(--lime);
  border-top: 1px solid rgba(219, 223, 96, 0.22);
  padding: clamp(1.25rem, 3vw, 2rem) var(--gutter);
  font-size: 0.9rem;
  line-height: 1.5;
}

.foot__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 2rem;
}

.foot__row--legal {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

.foot__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(219, 223, 96, 0.55);
}

.foot__link:hover {
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}

.foot__sep {
  margin-inline: 0.4rem;
}

/* --------------------------------------------------------------- Bewegung */

/* Pflicht: bei reduzierter Bewegung stehen die Baender, der Knopf bleibt
   Limette, Menue und Burger wechseln ohne Uebergang. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .band.is-built .band__track {
    animation-name: none;
  }

  .ig {
    animation: none;
    background-color: #DBDF60;
  }

  .menu,
  .menu.is-open,
  .menu__panel,
  .top,
  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    transition: none;
  }
}
