/* =========================================================
   ASV Report – asvreport.de
   Corporate Design: Schwarz, Weiß, Papiergrau, Gelb nur als Akzent
   Keine externen Ressourcen. Schrift lokal (Oswald, OFL) + Systemschrift.
   ========================================================= */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/oswald-latin-variable.woff2") format("woff2");
}

:root {
  --black: #111111;
  --ink: #1a1a1a;
  --white: #ffffff;
  --paper: #f3f2ef;
  --paper-line: #e2e0da;
  --grey: #6b6b6b;
  --grey-light: #cfcfcf;
  --yellow: #f5c21b;

  --font-display: "Oswald", "Arial Narrow", Impact, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 96px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

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

/* Sichtbare Fokuszustände (Tastatur) */
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 16px; top: -100px;
  padding: 10px 16px; background: var(--yellow); color: var(--black);
  font-weight: 700; text-decoration: none; z-index: 100;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  color: var(--white);
}
.site-header--solid {
  position: static;
  background: var(--black);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.brand__logo {
  width: 62px;
  height: auto;
  flex: 0 0 auto;
}
.brand__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand__sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.72rem, 1.05vw, 0.85rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 48px; height: 48px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle__bar {
  display: block; width: 22px; height: 2px; background: currentColor;
  position: relative;
}
.nav-toggle__bar::before, .nav-toggle__bar::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor;
}
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

.site-nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: clamp(20px, 3vw, 40px);
}
.site-nav__link {
  display: inline-block;
  padding: 8px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease;
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] { border-bottom-color: var(--yellow); }

@media (max-width: 760px) {
  :root { --header-h: 80px; }
  .brand__logo { width: 50px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 2px solid var(--yellow);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; gap: 0; padding: 8px var(--gutter) 12px; }
  .site-nav__link { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 1.05rem; }
  .site-nav__link:hover, .site-nav__link[aria-current="page"] { border-bottom-color: var(--yellow); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
/* Hintergrundfoto des ASV-Sportgeländes (Luftaufnahme, bereits schwarz-weiß).
   Austausch: assets/img/hero-sportgelaende.webp + .jpg ersetzen (Querformat, ca. 1400–2000 px). */
.hero--photo::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--black);
  background-image: url("../img/hero-sportgelaende.jpg");
  background-image: image-set(
    url("../img/hero-sportgelaende.webp") type("image/webp"),
    url("../img/hero-sportgelaende.jpg") type("image/jpeg")
  );
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.02);
}
/* Dunkles Overlay: links dichter, damit der Text sicher lesbar bleibt */
.hero--photo::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.90) 0%, rgba(10,10,10,0.78) 45%, rgba(10,10,10,0.55) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0.35) 100%);
}
@media (max-width: 900px) {
  .hero--photo::after {
    background: linear-gradient(180deg, rgba(10,10,10,0.90) 0%, rgba(10,10,10,0.82) 55%, rgba(10,10,10,0.72) 100%);
  }
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 88px));
  padding-bottom: clamp(48px, 7vw, 104px);
  min-height: min(92vh, 860px);
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 9.5vw, 8.25rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__rule {
  width: 72px; height: 4px;
  background: var(--yellow);
  border: 0; margin: clamp(20px, 3vw, 32px) 0;
}
.hero__kicker {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero__text {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
}
.hero__cta {
  margin-top: 32px;
}

/* Magazin-Darstellung des aktuellen Covers */
.hero__magazine {
  justify-self: center;
  width: min(100%, 440px);
  perspective: 1600px;
}
.magazine {
  display: block;
  position: relative;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transform: rotateY(-14deg) rotateZ(4deg);
  transform-origin: 40% 50%;
  transition: transform .35s ease;
}
.magazine:hover, .magazine:focus-visible { transform: rotateY(-8deg) rotateZ(2deg); }
.magazine__cover {
  width: 100%;
  aspect-ratio: 1000 / 1414;
  object-fit: cover;
  background: var(--white);
  box-shadow:
    18px 26px 60px rgba(0,0,0,0.55),
    2px 4px 10px rgba(0,0,0,0.35);
}
/* Papierkante / Bund */
.magazine::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 10px;
  background: linear-gradient(90deg, rgba(0,0,0,0.22), rgba(0,0,0,0));
  pointer-events: none;
  z-index: 1;
}
.magazine__label {
  position: absolute; left: 0; right: 0; bottom: -44px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.magazine__label strong { color: var(--white); font-weight: 500; }

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: clamp(72px, 10vw, 104px);
  }
  .hero__magazine { width: min(78%, 360px); margin-top: 16px; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 4.2rem; }
  .brand__sub { font-size: 0.66rem; letter-spacing: 0.08em; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--black);
  box-shadow: inset 0 -3px 0 transparent;
  transition: box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .15s ease; }
.btn:hover { box-shadow: inset 0 -3px 0 var(--yellow); }
.btn:hover svg { transform: translateX(3px); }
.btn--light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ---------- Ausgaben ---------- */
.issues {
  background: var(--paper);
  padding-block: clamp(56px, 8vw, 112px);
  border-top: 1px solid var(--paper-line);
}
.issues__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--black);
}
.section-title::after {
  content: "";
  display: block;
  width: 72px; height: 4px;
  background: var(--yellow);
  margin-top: 18px;
}
.issues__intro {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: #333;
}
@media (max-width: 760px) {
  .issues__head { grid-template-columns: 1fr; }
}

.issues__grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
}
@media (max-width: 1000px) { .issues__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .issues__grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

.issue {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.issue__cover-link {
  display: block;
  transition: transform .25s ease;
}
.issue__cover-link:hover { transform: translateY(-4px); }
.issue__cover {
  width: 100%;
  aspect-ratio: 1000 / 1414;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12);
}
.issue__cover--placeholder {
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  border: 1px dashed var(--grey-light);
  color: var(--grey);
  font-family: var(--font-display);
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem;
}
.issue__title {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
}
.issue__number {
  margin: 4px 0 0;
  color: #444;
  font-size: 1rem;
}
.issue__action { margin: 18px 0 0; }
.issue .btn { width: 100%; }

.issues__noscript {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 4px solid var(--yellow);
  background: var(--white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: 28px;
  border-top: 3px solid var(--yellow);
}
.site-footer__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-footer__logo { width: 84px; height: auto; flex: 0 0 auto; }
.site-footer__address {
  font-style: normal;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
}
.site-footer__address strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.site-footer__nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 36px;
}
.site-footer__nav a {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease;
}
.site-footer__nav a:hover { border-bottom-color: var(--yellow); }
.site-footer__social ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 16px;
}
.site-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  color: var(--white);
  transition: border-color .15s ease, color .15s ease;
}
.site-footer__social a:hover { border-color: var(--yellow); color: var(--yellow); }
.site-footer__social svg { width: 20px; height: 20px; }

.site-footer__bottom {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.7);
}
.site-footer__bottom p { margin: 0; }
.site-footer__credit {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
}
.site-footer__credit a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.site-footer__credit a:hover { border-bottom-color: rgba(255,255,255,0.5); }

@media (max-width: 760px) {
  .site-footer__main { flex-direction: column; align-items: flex-start; }
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.page-head {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(40px, 6vw, 72px);
}
.page-head .section-title { color: var(--white); }
.page-head__back {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.page-head__back:hover { border-bottom-color: var(--yellow); }
.page-head__back svg { width: 16px; height: 16px; }

.legal {
  padding-block: clamp(40px, 6vw, 80px);
}
.legal__content {
  max-width: 780px;
  background: var(--white);
  padding: clamp(24px, 4vw, 56px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.06);
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 2.2em 0 0.6em;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 1.8em 0 0.5em;
}
.legal h4 {
  font-size: 1rem;
  margin: 1.4em 0 0.3em;
}
.legal p, .legal ul { margin: 0 0 1em; }
.legal address { font-style: normal; margin: 0 0 1em; }
.legal a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--yellow); }
.legal .todo {
  display: block;
  padding: 12px 16px;
  margin: 0.5em 0 1em;
  border: 2px dashed var(--yellow);
  background: #fff9e0;
  color: #5a4800;
  font-weight: 600;
}
.legal .back {
  margin-top: 2.5em;
  padding-top: 1.5em;
  border-top: 1px solid var(--paper-line);
}
