/* Glowing Tones Label — shared styles (index + privacy-policy)
   Design: Claude-Design-Prototyp "Glowing Tones Label v2" (Aug 2026).
   System-Font-Stack, keine Webfonts (DSGVO). */

:root {
  --bg: #0a0a0a;
  --fg: #f2f0ec;
  --fg-body: #a3a39e;   /* Fließtext */
  --fg-soft: #cfcdc9;   /* Fließtext in Overlays */
  --fg-mute: #7c7c78;   /* Labels, Footer — 4.7:1 auf --bg, nicht dunkler machen */
  --line: #1e1e1e;
  --line-btn: #3a3a36;
  --tile-bg: #151515;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #ffffff; }
::selection { background: var(--fg); color: var(--bg); }

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

:focus-visible { outline: 1px solid var(--fg); outline-offset: 2px; }
/* Bei Rahmen-Buttons liegt der Fokus-Rahmen INNEN (ersetzt optisch den Border) — ein
   außenliegender wurde von overflow:hidden der Button-Zeile beschnitten (weißer Strich) */
.btn:focus-visible { outline-offset: -1px; }

/* Rahmen-Buttons (About / Website / Link-Page / Close) */
.btn {
  display: inline-block;
  border: 1px solid var(--line-btn);
  border-radius: 4px;
  padding: 8px clamp(8px, 1vw, 14px);
  font-size: clamp(9px, 0.7vw, 11px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  transition: background .35s, color .35s, border-color .35s;
}
/* Familien-CI seit 30.08.2026 (Vorbild 16.06): semi-transparenter Invert — das Foto
   schimmert leicht durch. Nur auf echten Hover-Geräten (Touch: keine klebenden Zustände). */
@media (hover: hover) {
  .btn:hover { background: rgba(242, 240, 236, 0.85); color: var(--bg); border-color: transparent; }
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(12px, 1vw, 15px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Bogen-Symbol des Logos — liegt auf Schwarz: Screen-Blending stellt es frei, die radiale
   Maske federt die Kanten aus (das Korn im Logo-Schwarz hellt sonst als feine Box auf) */
.logo-mark {
  height: 26px;
  width: 26px;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 72%);
  mask-image: radial-gradient(circle, #000 45%, transparent 72%);
}

.header-tag {
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ============================================================
   Startseite: Vollbild-Bühne ohne Seiten-Scroll
   ============================================================ */

body.home { overflow: hidden; }

.stage {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 20px);
  padding: clamp(14px, 2vw, 28px);
}

.stage > header {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  /* zentriert statt baseline: das 26px-Logo in der Wortmarke wuerde sonst die
     gemeinsame Schriftlinie nach unten ziehen -> „Label" saesse tiefer (mobil am
     staerksten, weil die Schrift dort kleiner ist als das Logo) */
  align-items: center;
  gap: 20px;
}

.stage > footer {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  font-size: clamp(9px, 0.75vw, 11px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.stage > footer nav { display: flex; gap: 18px; }

/* Kachel-Raster: Desktop 4 Spalten, schmal horizontales Swipe-Karussell */
.tiles {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-auto-rows: 1fr;
  gap: clamp(8px, 1vw, 14px);
}

@media (min-width: 820px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 819.98px) {
  .tiles {
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: center; }
  .swipe-hint { display: flex !important; }
  /* Im Karussell gibt es keinen Hover: stattdessen wird die zentrierte Kachel farbig
     (Klasse `is-active` setzt app.js beim Scrollen) – Jans Wunsch 30.08.2026 */
  .tile.is-active .tile-photo { filter: grayscale(0); }
}

@media (max-width: 559.98px) {
  .tiles { grid-auto-columns: 88%; }
}

.tile {
  container-type: size;
  position: relative;
  overflow: hidden;
  background: var(--tile-bg);
  min-height: 0;
  cursor: pointer;
}

.tile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter .6s, transform .8s;
}
/* Farbe beim Hover nur auf Zeigergeräten – Touch bekäme sonst klebende Zustände */
@media (hover: hover) {
  .tile:hover .tile-photo { filter: grayscale(0); transform: scale(1.03); }
}

.tile-bar {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(10px, 1.2vw, 18px);
  background: linear-gradient(to top, rgba(10,10,10,0.9), rgba(10,10,10,0));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  transition: opacity .35s ease, filter .35s ease;
}
/* Leiste blendet SYNCHRON zum Schleier aus (gleiche .35s/ease wie gt-veil) und VERSCHWIMMT
   dabei leicht (Blur-Dissolve, Jans Wunsch 30.08.2026): weil About- und Close-Button
   deckungsgleich sind, löst sich About unscharf auf, während Close aus der Unschärfe
   scharf wird (gt-close-in). Synchron heißt auch: kein 100%-Schwarz-Stapeln zwischendurch. */
.tile.about-open .tile-bar { opacity: 0; filter: blur(4px); }
.tile-id { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile-name { font-size: clamp(15px, 1.6vw, 26px); letter-spacing: -0.02em; font-weight: 500; }
.tile-tag {
  font-size: clamp(9px, 0.7vw, 11px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4c2be;
}
.tile-about { flex: 0 0 auto; min-width: 8ch; border-color: #4a4a46; }

/* About-Overlay pro Kachel — 85 % Schwarz, das Foto schimmert durch (Jans Wunsch 30.08.2026) */
.about {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
  cursor: pointer;
  animation: gt-veil .35s ease both;
}
.about.closing { animation: gt-veil-out .3s ease both; }

.about-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  gap: clamp(5px, 1.3cqh, 14px);
  padding: clamp(12px, 2.4cqh, 26px) clamp(14px, 1.8vw, 28px) clamp(50px, 9cqh, 84px);
  overflow-y: auto;
  animation: gt-rise .5s cubic-bezier(.2, .8, .2, 1) .06s both;
}
.about.closing .about-inner { animation: gt-fall .28s ease both; }

.about-inner p { margin: 0; }
/* Name + Unterzeile im Overlay = exakt Typo UND Abstand (6px) der Kachel-Leiste
   (Jans Wunsch 30.08.2026) — dadurch wechseln sie beim Öffnen optisch nicht die Gestalt */
.about-head { display: flex; flex-direction: column; gap: 6px; }
.about-name { font-size: clamp(15px, 1.6vw, 26px); letter-spacing: -0.02em; font-weight: 500; }
.about-tag {
  font-size: clamp(9px, 0.7vw, 11px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c4c2be;
}
.about-text {
  font-size: clamp(11px, min(2.3cqh, 4.2cqw), 16px);
  line-height: 1.5;
  color: var(--fg-soft);
  text-wrap: pretty;
}

.about-actions {
  position: absolute;
  z-index: 3;
  bottom: clamp(10px, 1.2vw, 18px);
  left: clamp(10px, 1.2vw, 18px);
  right: clamp(10px, 1.2vw, 18px);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.about-actions .btn {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 8px clamp(6px, 0.8vw, 14px);
  font-size: clamp(8.5px, 0.68vw, 11px);
  letter-spacing: 0.05em;
  animation: gt-btn-in .45s cubic-bezier(.2, .8, .2, 1) both;
}
/* Website/Link-Page animieren gestaffelt rein (Jans Wunsch 30.08.2026) … */
.about-actions .btn:nth-child(1) { animation-delay: .18s; }
.about-actions .btn:nth-child(2) { animation-delay: .26s; }
/* … Close dagegen erscheint sofort mit dem Schleier und ist deckungsgleich mit dem
   About-Button darunter (gleiche Maße/Position) — wirkt wie dessen Umschalten */
.about-actions .about-close {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 8ch;
  padding: 8px clamp(8px, 1vw, 14px);
  font-size: clamp(9px, 0.7vw, 11px);
  letter-spacing: 0.1em;
  border-color: #4a4a46;
  animation: gt-close-in .35s ease both; /* aus der Unschärfe scharf werden — Gegenstück zur Leiste */
}
.about.closing .about-actions .about-close { animation: gt-close-out .3s ease both; }

/* Swipe-Punkte (nur Karussell) */
.swipe-hint {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2px 0;
}
.swipe-hint .dot {
  width: 16px;
  height: 1px;
  background: var(--line-btn);
  transition: background .4s;
}
.swipe-hint .dot.active { background: var(--fg); }

@keyframes gt-btn-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes gt-close-in  { from { filter: blur(4px); } to { filter: blur(0); } }
@keyframes gt-close-out { from { filter: blur(0); }  to { filter: blur(4px); } }
@keyframes gt-veil     { from { opacity: 0; } to { opacity: 1; } }
@keyframes gt-veil-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes gt-rise     { from { opacity: 0; } to { opacity: 1; } }
@keyframes gt-fall     { from { opacity: 1; } to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .about, .about-inner, .tile-photo, .tile-bar, .btn { animation: none !important; transition: none !important; }
  .tile.about-open .tile-bar { filter: none; }
}

/* ============================================================
   Privacy Policy / Imprint: normale scrollende Seite
   ============================================================ */

body.legal { padding: 0 clamp(14px, 2vw, 28px); }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center; /* wie Startseite: Logo darf die Schriftlinie nicht verschieben */
  gap: 20px;
  padding: clamp(14px, 2vw, 28px) 0;
  border-bottom: 1px solid var(--line);
}
.legal-block {
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(56px, 10vh, 120px) 0;
  scroll-margin-top: 80px;
}
@media (min-width: 820px) {
  .legal-block { grid-template-columns: minmax(220px, 1fr) minmax(0, 2.3fr); }
}
.legal-block + .legal-block { border-top: 1px solid var(--line); }

.legal-title {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 26px);
  max-width: 20ch;
}
/* Titel nur auf Desktop sticky — einspaltig (mobil) läge er sonst über dem Text */
@media (min-width: 820px) {
  .legal-block:first-of-type .legal-title { position: sticky; top: clamp(70px, 10vw, 110px); }
}
.legal-title .lang-link {
  font-size: clamp(10px, 0.85vw, 12px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.legal-title h1, .legal-title h2 {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 80px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 500;
  scroll-margin-top: 100px;
}
/* Deutsche Komposita („Datenschutzerklärung", „Impressum") sind breiter als die
   Titelspalte — auf der DE-Seite Titel eine Stufe kleiner, sonst läuft er in den Text */
:lang(de) .legal-title h1, :lang(de) .legal-title h2 { font-size: clamp(30px, 4.3vw, 60px); }
.legal-body {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.4vw, 44px);
  max-width: 78ch;
}
.legal-body section { display: flex; flex-direction: column; gap: 14px; }
.legal-body h3 {
  margin: 0;
  font-size: clamp(11px, 0.85vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 500;
}
.legal-body h4 {
  margin: 10px 0 0;
  font-size: clamp(14px, 1.05vw, 16px);
  letter-spacing: 0;
  font-weight: 500;
  color: var(--fg);
}
.legal-body p, .legal-body ul {
  margin: 0;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.7;
  color: var(--fg-body);
  text-wrap: pretty;
  overflow-wrap: break-word; /* lange URLs (Mailchimp/DPF) sonst breiter als der Viewport */
}
.legal-body ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.legal-body strong { color: var(--fg-soft); font-weight: 500; }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-btn); }
.legal-body a:hover { text-decoration-color: currentColor; }

.legal-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  padding: clamp(24px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
  font-size: clamp(9px, 0.75vw, 11px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.legal-footer nav { display: flex; gap: 18px; }
/* „Artists" führt zurück zur Hauptseite – nur per Punkt von den Anker-Links abgesetzt */
.legal-footer .footer-home::before { content: "•"; margin-right: 18px; color: var(--fg-mute); }
