/* ==========================================================================
   coming in! – outsider art festival · statische Vorabseite
   Alle Ressourcen (Schrift, Bilder, Logos) liegen lokal im Projektordner.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Schrift: Inclusive Sans (SIL Open Font License, siehe fonts/OFL.txt)
   Variable Font, Gewichte 300–700
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Inclusive Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inclusive-sans-latin.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;
}

@font-face {
  font-family: 'Inclusive Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inclusive-sans-latin-ext.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: 'Inclusive Sans';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inclusive-sans-italic-latin.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;
}

@font-face {
  font-family: 'Inclusive Sans';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inclusive-sans-italic-latin-ext.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;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  --bg: #e8e8e8;
  --ink: #000;
  --surface: #fff;
  --accent: #ffa100;

  --font: 'Inclusive Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text: 18px;          /* Fließtext */
  --heading: 24px;       /* Downloads / Kontakt */

  --gutter: 20px;        /* seitlicher Rand */
  --max: 1728px;         /* Designbreite Desktop */
}

@media (min-width: 900px) {
  :root {
    --text: 24px;
    --gutter: clamp(40px, 11vw, 190px);
  }
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text);
  font-weight: 400;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, p, address, ul, figure { margin: 0; }

ul { padding: 0; list-style: none; }

address { font-style: normal; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Logo (Wort-Bild-Marke „coming in! outsider art festival …“)
   Mobil über dem Bildband, ab 900px in der linken Spalte des Inhalts.
   -------------------------------------------------------------------------- */

.logo { padding: var(--gutter); }

.logo img { width: 313px; }

.logo--desktop { display: none; }

@media (min-width: 900px) {
  .logo--mobile { display: none; }

  .logo--desktop {
    display: block;
    padding: 0;
  }

  .logo--desktop img { width: min(431px, 100%); }
}

/* --------------------------------------------------------------------------
   Bildband (Kopfbereich)
   -------------------------------------------------------------------------- */

.hero img {
  width: 100%;
  aspect-ratio: 402 / 804;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero img { aspect-ratio: 1728 / 804; }
}

/* --------------------------------------------------------------------------
   Inhalt
   -------------------------------------------------------------------------- */

.content {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px var(--gutter) 91px;
  display: grid;
  gap: 38px;
}

.content__col {
  display: grid;
  gap: 38px;
  align-content: start;
}

@media (min-width: 900px) {
  .content {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-top: 64px;
  }

  .content__col { gap: 80px; }
}

.intro p { max-width: 62ch; }

/* Überschriften „Downloads“ / „Kontakt“ */
.downloads h2,
.kontakt h2 {
  font-size: var(--heading);
  font-weight: 400;
  line-height: 1.25;
}

.downloads { display: grid; gap: 18px; }

.kontakt { display: grid; gap: 20px; }

.kontakt address { font-size: var(--text); }

.kontakt a { text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 900px) {
  .content__col .kontakt { margin-top: 14px; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button-row--center { justify-content: center; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: clamp(18px, 1.2vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.button__icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.button--download { background: var(--accent); }

.button--outline {
  background: var(--surface);
  font-weight: 400;
}

.button:hover { transform: translateY(-1px); box-shadow: 0 3px 0 0 var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  margin-top: auto;
  background: var(--surface);
  border-top: 1px solid var(--ink);
  padding: 29px 30px 30px;
  display: grid;
  gap: 39px;
  justify-items: center;
  font-size: 18px;
}

.footer__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 39px 92px;
}

.logo-group {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.logo-group__label { font-size: 18px; }

.logo-group__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 36px;
}

.logo-group__logo { width: auto; }

.logo-group__logo--zkt   { height: 99px; }
.logo-group__logo--hfwu  { height: 68px; }
.logo-group__logo--stadt { height: 48px; }

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
}

.footer__meta a { text-decoration: none; }

.footer__meta a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Textseiten (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */

.page {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter) 91px;
}

.page__back {
  display: inline-block;
  margin-bottom: 38px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.prose {
  max-width: 62ch;
  font-size: var(--text);
  line-height: 1.45;
}

.prose h1 {
  margin: 0 0 38px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
}

.prose h2 {
  margin: 48px 0 14px;
  font-size: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

.prose h3 {
  margin: 28px 0 6px;
  font-size: var(--text);
  font-weight: 700;
  line-height: 1.3;
}

.prose p { margin: 0 0 14px; }

.prose ul {
  margin: 0 0 14px;
  padding-left: 1.2em;
  list-style: disc;
}

.prose li { margin-bottom: 6px; }

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose address {
  margin: 0 0 14px;
  font-style: normal;
}

.prose .lead {
  font-size: var(--heading);
  margin-bottom: 28px;
}

.prose .meta {
  margin-top: 48px;
  font-size: 16px;
}
