/* ============================================================
   gathered.world — Startseite
   Monochrom: Schwarz und Weiss. Orange erscheint an genau
   ZWEI Stellen — dem Wort „Leute" und dem Haupt-CTA.
   Display: Archivo (schmal, Versalien) · Text: Inter
   ============================================================ */

:root {
  --schwarz: #000000;
  --karte:   #0d0d0d;   /* Karten heben sich nur ueber die Linie ab */
  --weiss:   #ffffff;
  --grau:    #8a8a8a;   /* Sekundaertext, neutral (kein Farbstich) */
  --linie:   rgba(255, 255, 255, .13);
  --linie-stark: rgba(255, 255, 255, .26);
  --flaeche: rgba(255, 255, 255, .04);

  --neon: #ff6b00;      /* sparsam. Zwei Stellen auf der ganzen Seite. */

  --display: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --text: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --spur: clamp(20px, 5vw, 64px);   /* Seitenrand */
  --luft: clamp(72px, 11vh, 140px); /* Abstand zwischen Sektionen */
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--schwarz);
  color: var(--weiss);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--weiss);
  outline-offset: 3px;
  border-radius: 2px;
}

.nur-screenreader {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------
   Kopfzeile
   ------------------------------------------------------------ */
.kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--spur);
}

.wortmarke {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 88%;
  font-size: 21px;
  letter-spacing: -.02em;
  text-decoration: none;
}

.kopf-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
}

.kopf-nav a {
  color: var(--grau);
  text-decoration: none;
  transition: color .15s;
}
.kopf-nav a:hover { color: var(--weiss); }

@media (max-width: 720px) {
  .kopf-nav .versteckt-mobil { display: none; }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  padding: clamp(28px, 5vh, 68px) var(--spur) var(--luft);
  display: grid;
  gap: clamp(30px, 4vw, 54px);
  align-items: center;
}

/* Der Satz wird von der SPALTE begrenzt, nicht von einer ch-Angabe —
   sonst laeuft "RAUSZUGEHEN." bei grossen Viewports aus dem Raster. */
.hero-satz {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 84%;
  text-transform: uppercase;
  font-size: clamp(2.45rem, 6.4vw, 6.2rem);
  line-height: .88;
  letter-spacing: -.015em;
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Akzent 1 von 2 */
.hero-satz .warm { color: var(--neon); }

.hero-unter {
  margin: clamp(24px, 4vh, 40px) 0 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--grau);
}
.hero-unter strong { color: var(--weiss); font-weight: 500; }

/* Store-Knoepfe */
.laden {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 4vh, 40px);
}

.laden-knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--linie-stark);
  background: transparent;
  color: var(--weiss);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background .18s, border-color .18s, color .18s;
}
.laden-knopf:hover {
  background: var(--weiss);
  border-color: var(--weiss);
  color: var(--schwarz);
}
.laden-knopf svg { width: 18px; height: 18px; flex: none; }

/* Akzent 2 von 2 */
.laden-knopf--warm {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--schwarz);
  font-weight: 600;
}
.laden-knopf--warm:hover {
  background: var(--weiss);
  border-color: var(--weiss);
  color: var(--schwarz);
}

/* ------------------------------------------------------------
   Schwebende Artefakte im Hero
   Echte Events aus dem Bestand + Fotos.
   ------------------------------------------------------------ */
.artefakte {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: clamp(36px, 6vh, 56px);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.artefakte::-webkit-scrollbar { display: none; }

.ev-karte {
  flex: none;
  width: 236px;
  padding: 15px 17px;
  border-radius: 15px;
  background: var(--karte);
  border: 1px solid var(--linie);
}

.ev-zeit {
  font-size: 13px;
  font-weight: 600;
  color: var(--weiss);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.ev-titel {
  margin: 5px 0 9px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--weiss);
}

.ev-fuss {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--grau);
  font-variant-numeric: tabular-nums;
}

.ev-punkte { display: flex; }
.ev-punkte i {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 2px solid var(--karte);
  margin-left: -6px;
}
.ev-punkte i:first-child { margin-left: 0; }

.ev-foto {
  flex: none;
  width: 168px;
  aspect-ratio: 3 / 4;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--linie);
}
.ev-foto img { width: 100%; height: 100%; object-fit: cover; }

/* Ab Desktop: zwei echte Spalten statt absolut positionierter Artefakte —
   so kann nichts mehr die Headline ueberlappen. */
@media (min-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    min-height: min(86vh, 820px);
  }
  .hero-text { grid-column: 1; }

  .artefakte {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    align-items: start;
    gap: 18px;
    margin: 0;
    overflow: visible;
  }
  .artefakte > * { width: 100%; transform: rotate(var(--kipp, 0deg)); }
  .ev-karte:nth-child(1) { --kipp: -2.2deg; }
  .ev-foto:nth-child(2)  { --kipp:  2.6deg; margin-top: 26px; }
  .ev-foto:nth-child(3)  { --kipp: -1.8deg; }
  .ev-karte:nth-child(4) { --kipp:  2deg;   margin-top: -18px; }
  .ev-foto { aspect-ratio: 4 / 5; }
}

/* ------------------------------------------------------------
   Sektionen
   ------------------------------------------------------------ */
.sektion {
  padding: var(--luft) var(--spur);
  max-width: 1180px;
  margin: 0 auto;
}

.sektion-titel {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 86%;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  line-height: .92;
  letter-spacing: -.015em;
  margin: 0 0 22px;
  max-width: 18ch;
  text-wrap: balance;
}

.sektion-text {
  color: var(--grau);
  max-width: 58ch;
  margin: 0 0 18px;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
}
.sektion-text strong { color: var(--weiss); font-weight: 500; }

.zweispalt {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .zweispalt { grid-template-columns: 1fr 1fr; }
  .zweispalt .sektion-titel { margin-top: 0; }
}

.bild-flaeche {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--linie);
}
.bild-flaeche img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Dreischritt */
.schritte {
  display: grid;
  gap: 28px;
  margin-top: 42px;
}
@media (min-width: 800px) { .schritte { grid-template-columns: repeat(3, 1fr); } }

.schritt { border-top: 1px solid var(--linie-stark); padding-top: 20px; }
.schritt h3 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 90%;
  text-transform: uppercase;
  font-size: 1.45rem;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}
.schritt p { margin: 0; color: var(--grau); font-size: 15.5px; }

/* Sicherheits-Punkte */
.punkte { list-style: none; padding: 0; margin: 26px 0 0; }
.punkte li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--grau);
}
.punkte li strong { color: var(--weiss); font-weight: 500; }
.punkte li::before {
  content: "";
  position: absolute;
  left: 6px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--weiss);
}

/* Stadt- und Blog-Anker */
.anker-gitter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.anker {
  display: block;
  padding: 15px 17px;
  border-radius: 13px;
  border: 1px solid var(--linie);
  background: transparent;
  text-decoration: none;
  color: var(--weiss);
  font-size: 15px;
  transition: background .18s, border-color .18s, color .18s;
}
.anker:hover {
  background: var(--weiss);
  border-color: var(--weiss);
  color: var(--schwarz);
}
.anker span { display: block; color: var(--grau); font-size: 13px; margin-top: 3px; }
.anker:hover span { color: #444; }

/* Abschluss */
.abschluss {
  text-align: center;
  padding: calc(var(--luft) * 1.15) var(--spur);
  border-top: 1px solid var(--linie);
}
.abschluss .sektion-titel { margin-inline: auto; max-width: 15ch; }
.abschluss .laden { justify-content: center; }
.abschluss .hero-unter { margin-inline: auto; text-align: center; }

/* Fusszeile */
.fuss {
  padding: 44px var(--spur) 56px;
  border-top: 1px solid var(--linie);
  color: var(--grau);
  font-size: 14.5px;
}
.fuss-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  max-width: 1180px;
  margin: 0 auto 18px;
}
.fuss a { color: var(--grau); text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }
.fuss-klein { max-width: 1180px; margin: 0 auto; font-size: 13.5px; opacity: .72; }

/* ------------------------------------------------------------
   Bewegung
   Progressive Enhancement: der versteckte Startzustand gilt NUR, wenn
   das Skript laeuft (es setzt .js auf <html>). Ohne JavaScript — oder
   wenn das Skript scheitert — ist der Inhalt sichtbar statt unsichtbar.
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js .steigt {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  }
  .js .steigt.da { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .steigt { opacity: 1; transform: none; }
  * { animation: none !important; }
}
