/* =========================================================================
   /websites im Kleid der Startseite (Skizze C, 28.9.2026).
   Dieselben Werte wie eigen.css: Geist, Papier, Tinte, Vierspalten-Raster,
   der orange Punkt. Eigene Regeln hier: die Rasterlinien sind heller und
   bleiben hinter jedem Text stehen, unter dem Kopf liegt keine Linie.
   ========================================================================= */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/award/fonts/geist-latin.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: 'Geist';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/award/fonts/geist-latin-ext.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;
}

:root {
  --font: 'Geist', system-ui, sans-serif;
  /* Unterseiten sind Leseseiten: fast weisser Grund, dunkleres Grau (28.9.). */
  --papier: oklch(0.99 0.002 250);
  --tinte: oklch(0.16 0.006 250);
  --grau: oklch(0.44 0.006 250);
  --linie: oklch(0.87 0.004 250);
  --raster: oklch(0.915 0.003 250);
  --kontur: oklch(0.60 0.006 250);
  --punkt: oklch(0.55 0.16 35);
  --rand: clamp(16px, 2.2vw, 32px);
  --kopf-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--kopf-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--tinte);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  background-color: var(--papier);
}
img, video { display: block; max-width: 100%; }
/* The rule above would otherwise beat the hidden attribute. */
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

/* Text liegt auf Papier und schmiegt sich an seine Wörter: so läuft keine
   Rasterlinie durch einen Buchstaben. */
h1, h2, h3, p, .fuss .zelle > *, .nav a, .marke {
  background-color: var(--papier);
  width: fit-content;
  max-width: 100%;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 12px 18px; border-radius: 999px;
  background: var(--tinte); color: var(--papier);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

.dot {
  display: inline-block; width: 0.16em; height: 0.16em;
  margin-left: 0.04em; border-radius: 50%;
  background: var(--punkt);
}

/* --- Kopf ------------------------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 40;
  height: var(--kopf-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--rand);
  background: var(--papier);
}
.marke { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { padding: 8px 10px; font-size: 0.9375rem; color: var(--grau); text-decoration: none; }
.nav__link[aria-current] { color: var(--tinte); }
/* DE/EN stays visible on the phone, where the other menu links hide. */
.nav__sprache { display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: var(--tinte); } }
.knopf {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 18px; margin-left: 6px;
  border: 0; border-radius: 999px;
  background: var(--tinte); color: var(--papier);
  font: 500 0.9375rem var(--font); text-decoration: none;
  cursor: pointer;
}
.nav a.knopf { background: var(--tinte); color: var(--papier); width: auto; }
.knopf:focus-visible, .werk:focus-visible, .nav__link:focus-visible, .fuss a:focus-visible, .modal__link:focus-visible {
  outline: 2px solid var(--punkt); outline-offset: 2px;
}
.knopf[disabled] { opacity: 0.55; cursor: progress; }

/* --- Raster ----------------------------------------------------------------- */
.zeile { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--linie); }
.zelle { min-width: 0; padding: clamp(24px, 3.4vw, 48px) var(--rand); }
.span2 { grid-column: span 2; }
.span3 { grid-column: span 3; }
.span4 { grid-column: span 4; }

.riese {
  font-size: clamp(44px, 8.6vw, 130px); font-weight: 800;
  line-height: 0.92; letter-spacing: -0.04em; text-transform: uppercase;
}
.frage { color: var(--punkt); }
.unterzeile { margin-top: 18px; font-size: clamp(18px, 1.5vw, 21px); color: var(--grau); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; max-width: 34ch; }
.mittel { font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.text { margin-top: 14px; max-width: 40ch; }
h3 { margin-bottom: 6px; font-size: 1.125rem; font-weight: 650; letter-spacing: -0.01em; }
.nr { font-size: 0.875rem; color: var(--grau); font-variant-numeric: tabular-nums; }

/* --- Werke ----------------------------------------------------------------- */
.werke {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 21vw, 300px); gap: 16px;
  margin: 0; padding: 0 0 8px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
.werke li { scroll-snap-align: start; }
.werk {
  display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 0;
  border: 0; background: none; color: inherit; text-align: left;
  font: inherit; cursor: pointer;
}
.werk img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  margin-bottom: 10px; border-radius: 8px;
  box-shadow: 0 0 0 1px var(--linie), 0 14px 34px -20px oklch(0.16 0.006 250 / 0.35);
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) and (pointer: fine) { .werk:hover img { transform: translateY(-3px); } }
.werk__name { font-weight: 650; }
.werk__art { font-size: 0.875rem; color: var(--grau); }

.modal {
  width: min(1100px, calc(100vw - 2 * var(--rand))); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 12px; overflow: auto;
  background: var(--papier); color: var(--tinte);
}
.modal::backdrop { background: oklch(0.16 0.006 250 / 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: modal-ein 220ms cubic-bezier(0.22, 1, 0.36, 1); }
}
@keyframes modal-ein { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.modal .fenster { border-radius: 0; box-shadow: none; }
.modal__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 18px 18px; }
.modal__fuss p { flex: 1 1 auto; }
.modal__art { color: var(--grau); }
.modal__link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--kontur); }
.modal__zu {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--kontur); border-radius: 999px;
  background: var(--papier); color: var(--tinte); font: 500 0.9375rem var(--font); cursor: pointer;
}
.modal__zu:focus-visible { outline: 2px solid var(--punkt); outline-offset: 2px; }
.fenster { overflow: hidden; border-radius: 10px; background: #fff; }
.leiste { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; background: oklch(0.9 0.004 250); }
.leiste i { width: 9px; height: 9px; border-radius: 50%; background: oklch(0.75 0.004 250); }
.adresse {
  min-width: 40%; margin-left: 10px; padding: 3px 12px;
  border-radius: 999px; background: oklch(0.95 0.003 250);
  font-size: 0.8125rem; color: var(--grau);
}
.film { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: oklch(0.9 0.004 250); }
.bild { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* --- Ablauf ----------------------------------------------------------------- */
.schritte .zelle + .zelle { border-left: 1px solid var(--linie); }

/* --- Kontakt ---------------------------------------------------------------- */
.portrait { width: 100%; height: auto; }
.formular label { display: block; margin-bottom: 14px; font-size: 0.875rem; color: var(--grau); }
.formular input, .formular textarea {
  display: block; width: 100%; min-height: 46px; margin-top: 6px; padding: 11px 14px;
  border: 1px solid var(--kontur); border-radius: 0;
  background: var(--papier); color: var(--tinte);
  font: 1rem var(--font); resize: vertical;
}
.formular input:focus-visible, .formular textarea:focus-visible { outline: 2px solid var(--tinte); outline-offset: 0; }
.formular .feld--fehlt { border-color: var(--punkt); }
.formular .knopf { margin-left: 0; margin-top: 4px; }
.formular__fehler { margin-top: 12px; font-size: 0.875rem; font-weight: 600; color: var(--punkt); }
.danke { font-size: 1.25rem; font-weight: 600; }

/* --- Fuss ------------------------------------------------------------------- */
.fuss { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; }
.fuss .zelle { display: flex; flex-direction: column; gap: 6px; padding-block: 24px; font-size: 0.875rem; }
/* Die Branchen laufen als Zeile, so bleibt der Fuss niedrig. */
.fuss .zelle:nth-child(2) { flex-flow: row wrap; column-gap: 14px; align-content: start; }
.fuss .zelle:nth-child(2) b { flex-basis: 100%; }
.fuss b { margin-bottom: 2px; font-weight: 650; }
.fuss a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--kontur); }
@media (hover: hover) and (pointer: fine) { .fuss a:hover { text-decoration-color: var(--tinte); } }

/* --- Telefon ---------------------------------------------------------------- */
@media (max-width: 760px) {
  .zeile { grid-template-columns: 1fr; }
  .fuss { grid-template-columns: 1fr 1fr; }
  .fuss .zelle { padding-block: 16px; }
  .fuss .zelle:nth-child(-n+2) { grid-column: 1 / -1; }
  .span2, .span3, .span4 { grid-column: auto; }
  .nav__link { display: none; }
  .nav__link.nav__sprache { display: inline-flex; }
  .schritte .zelle + .zelle { border-left: 0; border-top: 1px solid var(--linie); }
  .werke { grid-auto-columns: 78%; }
}
