/* SLAB – Stylesheet */

/* Schrift lokal (DSGVO): Archivo-Datei in /fonts ablegen, siehe LIESMICH.txt */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/Archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --yellow: #FFE600;
  --black: #000;
  --white: #fff;
  --grey-1: #c4c4c4;
  --grey-2: #a8a8a8;
  --grey-3: #8f8f8f;
  --line: #333;
  --wrap: 1440px;
  --pad: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--white); text-decoration: none; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Kopf */
.site-header { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.site-header .logo img { height: 44px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 32px; font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* Messskala */
.ticks {
  position: sticky; top: 0; z-index: 20;
  height: 28px;
  background-color: var(--black);
  background-image:
    repeating-linear-gradient(90deg, var(--yellow) 0 2px, transparent 2px 100px),
    repeating-linear-gradient(90deg, var(--yellow) 0 1px, transparent 1px 50px),
    repeating-linear-gradient(90deg, #5a5a5a 0 1px, transparent 1px 10px);
  background-size: 100% 28px, 100% 16px, 100% 8px;
  background-repeat: repeat-x;
}

/* Hero */
.hero { padding-top: 96px; padding-bottom: 80px; }
.kicker { margin: 0 0 24px; color: var(--yellow); font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 1200px; font-size: clamp(44px, 8vw, 128px); line-height: .92; font-weight: 900; font-stretch: 125%; letter-spacing: -.02em; text-transform: uppercase; }
.hero p { margin: 40px 0 0; max-width: 680px; font-size: 20px; line-height: 1.5; color: var(--grey-1); }
.hero-img { margin: 0 auto; padding-bottom: 120px; }
.hero-img img { width: 100%; height: auto; }
.hero-img figcaption { margin-top: 12px; font-size: 13px; color: var(--grey-3); }

/* Abschnitte */
.section { padding-bottom: 120px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 24px; border-top: 2px solid var(--yellow); padding-top: 20px; margin-bottom: 40px; }
.section-head .title { display: flex; align-items: baseline; gap: 24px; }
.section-head .num { font-size: 15px; font-weight: 700; color: var(--yellow); }
.section-head h2 { margin: 0; font-size: 48px; font-weight: 900; font-stretch: 125%; text-transform: uppercase; }
.section-head a { font-size: 15px; font-weight: 600; }
.muted { margin: 0; font-size: 20px; line-height: 1.5; color: var(--grey-3); }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.chip { font: inherit; font-size: 14px; font-weight: 600; padding: 12px 20px; min-height: 44px; border: 2px solid #555; background: transparent; color: var(--white); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--yellow); background: var(--yellow); color: var(--black); }

/* Projekte */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 56px 32px; align-items: start; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card .zoom { display: block; width: 100%; padding: 0; border: 0; margin: 0; overflow: hidden; background: #111; cursor: zoom-in; }
.card .zoom img { width: 100%; height: auto; filter: grayscale(.35); transition: filter .25s ease, transform .4s ease; }
.card:hover .zoom img { filter: grayscale(0); transform: scale(1.02); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card h3 { margin: 0; font-size: 24px; font-weight: 800; font-stretch: 112%; text-transform: uppercase; line-height: 1.1; }
.card:hover h3 { color: var(--yellow); }
.card .year { color: var(--yellow); font-weight: 700; font-size: 15px; white-space: nowrap; }
.card .context { color: var(--grey-1); font-size: 15px; line-height: 1.45; }
.card .services { color: var(--grey-3); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.95); display: flex; flex-direction: column; gap: 16px; padding: 24px var(--pad) 32px; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.lb-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.lb-meta strong { font-size: 28px; font-weight: 900; font-stretch: 112%; text-transform: uppercase; }
.lb-meta .year { color: var(--yellow); font-weight: 700; }
.lb-meta .context { color: var(--grey-1); font-size: 15px; }
.lb-close { flex-shrink: 0; width: 48px; height: 48px; border: 2px solid var(--yellow); background: transparent; color: var(--yellow); font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.lb-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.lb-frame { flex: 1 1 auto; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-frame img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 220px); object-fit: contain; }
.lb-arrow { flex-shrink: 0; width: 56px; height: 56px; border: 0; background: rgba(255,230,0,.12); color: var(--yellow); font: inherit; font-size: 28px; cursor: pointer; }
.lb-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.lb-btn { min-height: 48px; padding: 0 18px; border: 2px solid #555; background: transparent; color: var(--white); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.lb-thumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; }
.lb-thumb { display: block; padding: 0; height: 54px; border: 2px solid transparent; background: #111; cursor: pointer; opacity: .55; }
.lb-thumb[aria-pressed="true"] { border-color: var(--yellow); opacity: 1; }
.lb-thumb img { height: 100%; width: auto; }
.lb-count { color: var(--grey-3); font-size: 14px; margin-left: 8px; }

/* Programme */
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; align-items: baseline; padding: 36px 0; border-bottom: 1px solid var(--line); }
.row .when { color: var(--yellow); font-weight: 700; }
.row .name { font-size: 32px; line-height: 1.1; font-weight: 800; font-stretch: 112%; }
.row .desc { color: #b5b5b5; line-height: 1.5; }
.row .arrow { font-size: 32px; text-align: right; }
.row:hover .arrow { color: var(--yellow); }

.labo { padding: 48px 0 56px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 40px; }
.labo-main { display: flex; flex-wrap: wrap; gap: 48px; }
.labo-main > img { flex: 1 1 360px; min-width: 0; width: 100%; max-width: 480px; height: auto; }
.labo-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; }
.label { font-size: 13px; color: var(--yellow); font-weight: 600; letter-spacing: .08em; }
.labo-text h3 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; font-weight: 900; font-stretch: 112%; text-transform: uppercase; }
.labo-text .lead { margin: 0; font-size: 20px; line-height: 1.45; color: #e0e0e0; }
.dates { border-top: 1px solid var(--line); }
.date { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.date > span { color: var(--yellow); font-weight: 700; }
.date strong { font-size: 18px; }
.date p { margin: 6px 0 0; color: var(--grey-2); line-height: 1.5; }
.labo-sub { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.topics { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 32px; border: 1px solid var(--line); }
.topics ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; }
.topics li { display: flex; gap: 14px; font-size: 18px; line-height: 1.35; }
.topics li b { font-size: 32px; font-weight: 900; color: var(--yellow); line-height: 1; }
.topics .food { font-size: 14px; color: var(--grey-2); }
.labo-sub > img { width: 100%; height: auto; }

/* Über uns */
.about-lead { margin: 0 0 72px; max-width: 1080px; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; font-weight: 500; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 48px; }
.person { display: flex; flex-direction: column; gap: 10px; }
.person h3 { margin: 0; font-size: 28px; font-weight: 800; font-stretch: 112%; }
.person .role { color: var(--yellow); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.person p { margin: 6px 0 0; color: var(--grey-1); line-height: 1.55; }

/* Rechtliches */
.legal { max-width: 880px; margin: 0 auto; padding: 96px var(--pad) 120px; }
.legal h1 { margin: 0 0 56px; font-size: clamp(40px, 6vw, 88px); line-height: .95; font-weight: 900; font-stretch: 125%; text-transform: uppercase; }
.legal section { padding: 32px 0; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.legal p, .legal li { margin: 0 0 12px; font-size: 17px; line-height: 1.6; color: #d6d6d6; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal a { text-decoration: underline; }
.back { display: inline-block; margin-top: 48px; font-weight: 700; color: var(--yellow) !important; text-decoration: none !important; }

/* Fuß */
.site-footer { background: var(--yellow); color: var(--black); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; align-items: flex-end; padding-top: 56px; padding-bottom: 56px; font-size: 16px; line-height: 1.7; }
.site-footer a { color: var(--black); text-decoration: underline; }
.site-footer a:hover { color: var(--black); text-decoration-thickness: 3px; }
.site-footer .brand { font-size: 40px; font-weight: 900; font-stretch: 125%; line-height: 1; }

/* Mobil */
@media (max-width: 720px) {
  :root { --pad: 16px; }
  .nav { gap: 18px; font-size: 13px; }
  .section-head h2 { font-size: 34px; }
  .projects, .people { grid-template-columns: 1fr; }
  .topics { grid-column: auto; }
  .row .arrow { display: none; }
  .row .name { font-size: 26px; }
  .lb-arrow { width: 44px; height: 44px; }
}
