/* ==========================================================================
   Juke Media – Basis: Schrift, Design-Tokens, Reset, Typografie
   Eigene Formensprache aus dem Logo: das rote Quadrat als wiederkehrendes
   Motiv, eckige Buttons, eine geometrische Schrift, viel Weißraum.
   ========================================================================== */

/* Urbanist (variabel 100–900, selbst gehostet) ---------------------------- */
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/urbanist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/urbanist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Design-Tokens ----------------------------------------------------------- */
:root {
  --red: #be111f;          /* Juke-Media-Rot */
  --red-dark: #8e0a14;
  --ink: #16181c;          /* Text / dunkle Flächen */
  --text: #16181c;
  --muted: #5b616b;
  --white: #ffffff;
  --grey: #f3f3f1;         /* warmes Hellgrau für Flächen */
  --line: #dcdcd7;

  --font: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --fw-regular: 420;
  --fw-medium: 550;
  --fw-bold: 750;

  --fs-body: 1.0625rem;    /* 17px */
  --fs-small: 0.9375rem;   /* 15px */
  --fs-kicker: 0.8125rem;  /* 13px */
  --fs-h3: 1.375rem;
  --fs-h2: clamp(1.875rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-lead: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem);

  --container: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --col-gap: clamp(16px, 2vw, 32px);
  --header-h: 84px;
  --section: clamp(4.5rem, 3rem + 5vw, 8.5rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
strong, b { font-weight: var(--fw-bold); }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: var(--fw-bold);
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Hilfsklassen ------------------------------------------------------------ */
.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;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { top: 1rem; }
