/* MASTINO — mastinobeatz.com v2 · „Akte"-Konzept · handgeschrieben, kein Builder */

@font-face {
  font-family: 'Demon Sker';
  src: url('fonts/demon-sker.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/jost-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/jost-400-italic.woff2') format('woff2');
}
/* Alternativ-Fonts für den Hero-Schriftzug (Auswahl im CMS). Browser laden
   nur die tatsächlich verwendete Schrift. Special Elite: Apache-2.0,
   Staatliches: OFL — beide lokal, kein Dritt-Request. */
@font-face {
  font-family: 'Special Elite';
  font-display: swap;
  src: url('fonts/special-elite-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Staatliches';
  font-display: swap;
  src: url('fonts/staatliches-400.woff2') format('woff2');
}

:root {
  --schwarz: #0a0a0a;
  --kohle: #131313;
  --asche: #1d1d1d;
  --papier: #c9c4bc;
  --grau: #8a867e;
  --blut: #a2211f;
  --blut-hell: #dd524d;
  --mono: 'Courier New', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--schwarz);
  color: var(--papier);
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--blut); color: #fff; }

/* Filmkorn über allem */
body::after {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--papier); }
a:hover { color: var(--blut-hell); }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid #222;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-family: 'Demon Sker', 'Jost', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}
.nav .brand img { height: 1.9rem; width: auto; }
.nav ul {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a:not(.brand) {
  text-decoration: none;
  color: var(--grau);
  text-transform: uppercase;
}
.nav a:not(.brand):hover { color: var(--blut-hell); }
.nav a .nr { color: var(--blut-hell); margin-right: 0.25em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  padding: 5rem 1rem 3rem;
}
/* Die --hero-*-Variablen setzt das CMS als style-Attribut am .hero —
   aber nur bei Abweichung vom Standard; die Fallbacks hier SIND der Standard. */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: -1;
  background: var(--hero-bg, url('img/page6-meta.jpg')) var(--hero-pos, center 20%) / cover no-repeat;
  filter: grayscale(var(--hero-sw, 1)) contrast(1.15) brightness(var(--hero-hell, 0.32));
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 25%, rgba(10,10,10,0.88) 78%),
    linear-gradient(to bottom, rgba(10,10,10,0.65), transparent 30%, transparent 70%, var(--schwarz));
}
.hero .adc {
  width: min(320px, 62vw);
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}
/* Anordnung „nur Logo": Logo größer, Schriftzug ist dann sr-only */
.hero-nur-logo .adc {
  width: min(480px, 78vw);
}
.hero h1 {
  font-family: var(--hero-font, 'Demon Sker'), sans-serif;
  font-weight: 400;
  font-size: var(--hero-groesse, clamp(4rem, 14vw, 9.5rem));
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-shadow: 0 0 45px rgba(0,0,0,0.9);
}
.hero .sub {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--papier);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
  margin-top: 1.25rem;
}
.hero .sub b { color: var(--blut-hell); font-weight: 400; }
.hero .runter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--grau);
  text-decoration: none;
  text-transform: uppercase;
}
.hero .runter:hover { color: var(--blut-hell); }

/* ---------- Sektionen ---------- */
section.akte {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 2rem;
}
.akte-kopf {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blut-hell);
  border-bottom: 1px dashed #2c2c2c;
  padding-bottom: 0.5rem;
  margin-bottom: 2.25rem;
}
.akte-kopf .az { color: var(--grau); float: right; letter-spacing: 0.12em; }
.akte h2 {
  font-family: 'Demon Sker', sans-serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}
.akte h3 {
  font-family: 'Demon Sker', 'Jost', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 2.5rem 0 0.75rem;
}

.zweispaltig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 760px) {
  .zweispaltig { grid-template-columns: 1fr; }
}

.mono { font-family: var(--mono); font-size: 0.9rem; color: var(--grau); }
.rot { color: var(--blut-hell); }

/* Buttons */
.knopf {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--papier);
  border: 1px solid #3a3a3a;
  padding: 0.7rem 1.4rem;
  margin: 0.35rem 0.5rem 0.35rem 0;
  background: transparent;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.knopf:hover {
  border-color: var(--blut);
  color: #fff;
  background: rgba(162, 33, 31, 0.14);
}
.knopf.primaer { border-color: var(--blut); color: var(--blut-hell); }
.knopf.primaer:hover { background: var(--blut); color: #fff; }

/* Bilderrahmen */
.rahmen {
  border: 1px solid #262626;
  background: var(--kohle);
  padding: 0.6rem;
}
.rahmen img { filter: saturate(0.9); width: 100%; }
.rahmen .bu {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--grau);
  letter-spacing: 0.12em;
  padding-top: 0.5rem;
  text-transform: uppercase;
}

/* Stempel */
.stempel {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blut-hell);
  border: 2px solid var(--blut);
  padding: 0.35rem 0.9rem;
  transform: rotate(-4deg);
  margin: 0.75rem 0;
}

/* YouTube-Zwei-Klick */
.yt-consent {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
  overflow: hidden;
  border: 1px solid #262626;
}
.yt-consent > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) brightness(0.4);
}
.yt-consent { cursor: pointer; }
.yt-consent-overlay {
  background: rgba(10, 10, 10, 0.45);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  padding: 1rem;
}
.yt-consent-overlay p {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #999;
  line-height: 1.5;
}
.yt-consent-overlay a { color: #ccc; }
.yt-consent-overlay button {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blut-hell);
  background: transparent;
  border: 1px solid var(--blut);
  padding: 0.6rem 1.3rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.yt-consent-overlay button:hover { background: var(--blut); color: #fff; }
.yt-consent iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Archiv (Downloads) ---------- */
.archiv { list-style: none; }
.archiv li { border-bottom: 1px dashed #262626; }
.archiv a {
  display: grid;
  grid-template-columns: 3.4rem 5.5rem 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 0.8rem 0.25rem;
  text-decoration: none;
  color: var(--papier);
}
.archiv img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
  filter: grayscale(1) brightness(0.85);
  transition: filter 0.2s;
}
.archiv a:hover img { filter: none; }
.archiv .az { font-family: var(--mono); font-size: 0.78rem; color: var(--grau); letter-spacing: 0.1em; }
.archiv .titel { font-size: 1.05rem; }
.archiv .dl {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--grau);
  text-transform: uppercase;
  white-space: nowrap;
}
.archiv a:hover .dl { color: var(--blut-hell); }
@media (max-width: 640px) {
  .archiv a { grid-template-columns: 3.4rem 1fr auto; }
  .archiv .az { display: none; }
}

/* ---------- Chronik ---------- */
.chronik { list-style: none; font-family: var(--mono); font-size: 0.92rem; }
.chronik li {
  padding: 0.32rem 0;
  border-bottom: 1px solid #161616;
  display: flex;
  gap: 1.25rem;
}
.chronik .jahr { color: var(--blut-hell); min-width: 3.5rem; }
.chronik .was { color: var(--papier); }
.chronik .zusatz { color: var(--grau); }

/* ---------- Merch ---------- */
.merch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.75rem;
}
@media (max-width: 640px) { .merch-grid { grid-template-columns: 1fr; } }
.rahmen.hell img { background: #83807a; }
.rahmen.ausverkauft { position: relative; }
.rahmen.ausverkauft img { filter: grayscale(1) brightness(0.55); }
.stempel-overlay {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  margin: 0;
  font-size: 1.05rem;
  background: rgba(10, 10, 10, 0.92);
  white-space: nowrap;
}
@media (max-width: 640px) { .merch-grid { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.kontakt { text-align: center; padding-bottom: 4rem; }
.kontakt .akte-kopf { text-align: left; }
.kontakt .mail {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.3rem, 4.5vw, 2.2rem);
  letter-spacing: 0.03em;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--blut);
}
.kontakt .mail:hover { color: var(--blut-hell); }
.sozial {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.sozial a {
  color: var(--grau);
  transition: color 0.15s, transform 0.15s;
}
.sozial a:hover { color: var(--blut-hell); transform: translateY(-2px); }
.sozial svg { width: 1.6rem; height: 1.6rem; fill: currentColor; display: block; }

/* ---------- Footer ---------- */
.fuss {
  border-top: 1px solid #1c1c1c;
  padding: 2rem 1rem 2.5rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--grau);
}
.fuss a { color: var(--grau); text-decoration: none; }
.fuss a:hover { color: var(--blut-hell); }
.fuss .zeile { margin-top: 0.4rem; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Rechtsseiten ---------- */
.legal main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 6rem 1.25rem 4rem;
}
.legal h1 {
  font-family: 'Demon Sker', sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}
.legal h2 {
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blut-hell);
  margin: 2rem 0 0.5rem;
}
.legal p { color: var(--papier); }
.legal .back-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--grau);
  text-decoration: none;
  text-transform: uppercase;
}
.legal .back-link:hover { color: var(--blut-hell); }

/* --- Review-Fixes --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blut-hell);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--blut);
  color: #fff;
  font-family: var(--mono);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}
section.akte {
  scroll-margin-top: 3.5rem;
}
.hero .runter {
  padding: 0.75rem 1rem;
  bottom: 0.75rem;
}
.fuss a {
  display: inline-block;
  padding: 0.35rem 0.25rem;
}

/* --- Mobile-Navigation (Burger) --- */
.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid #3a3a3a;
  color: var(--papier);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  cursor: pointer;
}
@media (max-width: 960px) {
  .nav ul { display: none; }
  .nav-burger { display: block; }
  .nav.offen ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    gap: 0;
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid #222;
    padding: 0.25rem 0;
  }
  .nav.offen ul a {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }
}
