/* Wilhelm Media – Richtung A „Plakat“ */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/archivo-latin-ext-wght-normal.woff2) format('woff2-variations');
  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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/archivo-latin-wght-normal.woff2) format('woff2-variations');
  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: 'Archivo Black';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/archivo-black-latin-ext-400-normal.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/archivo-black-latin-400-normal.woff2) format('woff2');
  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;
}

:root {
  --yellow: #fece60;
  --black: #0a0a0a;
  --paper: #f5f3ee;
  --gutter: clamp(20px, 4vw, 56px);
  --display: 'Archivo Black', 'Archivo', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Archivo', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: hidden; overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--black); color: var(--yellow); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--black); color: var(--yellow); padding: 8px 14px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--black);
  color: var(--yellow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--yellow);
}
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.pill):hover { opacity: .6; }
.pill {
  background: var(--yellow);
  color: var(--black);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 180ms ease;
}
.pill:hover { background: #fff; }
@media (max-width: 480px) {
  .nav__logo img { height: 32px; }
  .nav__links { gap: 16px; }
}

/* Sections */
.section { padding: clamp(56px, 9vh, 120px) var(--gutter); }
.section--dark { background: var(--black); color: var(--yellow); }
.section--rule { border-bottom: 3px solid var(--black); }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(32px, 5vh, 64px);
}
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(40px, 7vw, 120px);
  line-height: .9;
  letter-spacing: -.04em;
}

/* Hero */
.hero {
  padding: clamp(40px, 7vh, 96px) var(--gutter) clamp(32px, 5vh, 56px);
  border-bottom: 3px solid var(--black);
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(24px, 4vh, 48px);
}
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(40px, 11vw, 200px);
  line-height: .86;
  letter-spacing: -.04em;
  user-select: none;
  -webkit-user-select: none;
  padding-bottom: .3em;
}
.hero__title.is-toy { cursor: crosshair; }
.connection {
  display: inline-block;
  white-space: nowrap;
  position: relative;
}
.connection__part {
  display: inline-block;
  -webkit-text-stroke: 3px var(--black);
  color: var(--black);
  transition: transform 120ms ease-out, color 300ms ease;
}
.is-toy .connection__part { color: transparent; }
.connection { --spread: .22em; }
.is-toy .connection__part--con { transform: translateX(calc(var(--gap, 1) * var(--spread) * -1)); }
.is-toy .connection__part--nection { transform: translateX(calc(var(--gap, 1) * var(--spread))); }
.is-toy.is-joined .connection__part { color: var(--black); }
.connection__hint {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 14px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.is-toy:not(.is-joined) .connection__hint { opacity: 1; }
.connection__hint--mouse { display: none; }
@media (hover: hover) and (pointer: fine) {
  .connection__hint--mouse { display: inline; }
  .connection__hint--touch { display: none; }
}
/* Handy: Wort nur nach rechts aufklappen, damit es links bündig im Satzspiegel bleibt */
@media (max-width: 600px) {
  .hero__title { font-size: 11.5vw; padding-bottom: 1.1em; }
  .connection { --spread: .16em; }
  .is-toy .connection__part--con { transform: none; }
  .is-toy .connection__part--nection { transform: translateX(calc(var(--gap, 1) * var(--spread) * 2)); }
  .hero__title .connection { max-width: 100%; }
}

.hero__copy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
  margin-top: clamp(16px, 3vh, 40px);
  align-items: end;
}
.hero__copy p {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.4;
  font-weight: 500;
  max-width: 48ch;
  text-wrap: pretty;
}
.hero__copy p:last-child { max-width: 40ch; justify-self: end; }
.hero__copy strong { font-weight: 900; }

/* Creator */
.creators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2px;
  background: var(--yellow);
  border: 2px solid var(--yellow);
}
.creator { background: var(--black); display: flex; flex-direction: column; }
/* Fotos im Originalformat 1000×580; drei Bilder als Daumenkino (Maus quer / Tippen) */
.creator__media { position: relative; aspect-ratio: 1000 / 580; background: #1a1a1a; overflow: hidden; }
.creator__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.creator__media img.is-active { visibility: visible; }
.creator__media[data-flip] { cursor: ew-resize; }
@media (hover: none) { .creator__media[data-flip] { cursor: pointer; } }
.creator__dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 4px;
  pointer-events: none;
}
.creator__dots i { display: block; width: 18px; height: 4px; background: rgba(254, 206, 96, .35); }
.creator__dots i.is-active { background: var(--yellow); }
.creator__no {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: 13px;
  padding: 6px 10px;
}
.creator__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.creator__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: .95;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.creator__line { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 500; color: var(--paper); flex: 1; text-wrap: pretty; }
.creator__links { display: flex; flex-wrap: wrap; gap: 8px; }
.creator__links a {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 8px 14px;
  border: 2px solid var(--yellow);
  transition: all 180ms ease;
}
.creator__links a:hover { background: var(--yellow); color: var(--black); }
@media (max-width: 600px) {
  .creator__body { padding: 20px; }
  .creator__links { gap: 6px; }
  .creator__links a { font-size: 11px; letter-spacing: .06em; padding: 8px 10px; }
}

/* Missing image fallback: shows the name instead of a broken image */
.fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
}
.creator__media .fallback {
  color: #3a3a3a;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -.03em;
}

/* Partner */
.partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--black);
  border: 2px solid var(--black);
}
/* 8 Partner: 2 × 4 mobil, 4 × 2 ab Tablet – das Raster geht immer auf */
@media (min-width: 720px) { .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.partner {
  position: relative;
  background: var(--yellow);
  aspect-ratio: 3 / 2;
  padding: 20px;
}
/* Logos liegen nur als kleine PNGs vor – nicht über ihre Größe hinaus aufblasen, Zelle bleibt 3:2 */
.partner { display: flex; align-items: center; justify-content: center; }
.partner img { max-width: min(72%, 200px); max-height: 48px; width: auto; height: auto; }
@media (min-width: 720px) { .partner img { max-height: 72px; } }
@media (min-width: 1200px) { .partner img { max-height: 90px; } }
.partner .fallback {
  position: absolute;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(15px, 1.6vw, 24px);
  letter-spacing: -.02em;
  line-height: 1;
  overflow-wrap: anywhere;
}
.section__note { max-width: 36ch; }
@media (min-width: 720px) { .section__note { text-align: right; } }

/* Kontakt */
.contact { padding: clamp(56px, 10vh, 140px) var(--gutter) 32px; }
.contact__title {
  margin: 0 0 clamp(32px, 6vh, 72px);
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(48px, 13vw, 220px);
  line-height: .86;
  letter-spacing: -.04em;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 32px;
  border-top: 2px solid var(--yellow);
  padding-top: 24px;
  align-items: start;
}
.contact__mail {
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 900;
  letter-spacing: -.02em;
  width: fit-content;
  border-bottom: 3px solid transparent;
  overflow-wrap: anywhere;
}
.contact__mail:hover { border-bottom-color: var(--yellow); }
.contact__text { font-size: 15px; line-height: 1.6; font-weight: 500; color: var(--paper); max-width: 34ch; text-wrap: pretty; font-style: normal; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: clamp(48px, 8vh, 96px);
  font-size: 12px;
}
.footer img { height: 28px; width: auto; }
.footer__links { display: flex; gap: 28px; align-items: center; }
.footer__links a:hover { opacity: .6; }

/* Rechtliches (Impressum, Datenschutz, 404) */
.legal { padding: clamp(40px, 7vh, 96px) var(--gutter) clamp(56px, 9vh, 120px); }
.legal__title {
  margin: 0 0 clamp(32px, 5vh, 64px);
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(40px, 9vw, 160px);
  line-height: .86;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.legal__body { max-width: 68ch; font-size: 17px; line-height: 1.55; font-weight: 500; overflow-wrap: break-word; hyphens: auto; }
.legal__body h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 2.2em 0 .6em;
}
.legal__body h3 { font-size: 17px; font-weight: 900; margin: 1.6em 0 .4em; }
.legal__body a { border-bottom: 2px solid currentColor; }
.legal__body .todo { background: var(--black); color: var(--yellow); padding: 0 .3em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
