/* Max Vogelsang AG – Entwurf Seetalwebsites, 03.11.2026
   Planpapier, Graphitblau, Krangelb. Archivo breit + IBM Plex Mono. */

:root {
  --papier: #F3F4F1;
  --papier-2: #E7E9E4;
  --tinte: #18202C;
  --tinte-2: rgba(24, 32, 44, 0.70);
  --tinte-3: rgba(24, 32, 44, 0.50);
  --linie: rgba(24, 32, 44, 0.16);
  --nacht: #1E2836;
  --hell: #F3F4F1;
  --hell-2: rgba(243, 244, 241, 0.72);
  --hell-3: rgba(243, 244, 241, 0.50);
  --gelb: #F2B705;

  --rand: 20px;
  --breite: 1200px;
  --luft: 64px;

  --schrift: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
  --r: 4px;
}

@media (min-width: 900px) {
  :root { --rand: 40px; --luft: 104px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gelb); outline-offset: 3px; }

.rahmen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  background: var(--gelb); color: var(--tinte);
  border: 0; border-radius: var(--r);
  font: 600 16px/1 var(--schrift); font-variation-settings: "wdth" 108;
  text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.knopf:hover { background: #FFC61A; }
.knopf:active { transform: translateY(1px); }
.knopf--klein { min-height: 40px; padding: 0 16px; font-size: 15px; }
.knopf--dunkel { background: var(--tinte); color: var(--hell); }
.knopf--dunkel:hover { background: #2B3748; }
.textlink {
  display: inline-block; padding: 8px 0;
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.textlink:hover { text-decoration-thickness: 2px; }

.titel {
  font-size: 34px; font-weight: 500; line-height: 1.05; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 112;
}
.lead { margin-top: 16px; max-width: 34em; color: var(--tinte-2); }
.hinweis { margin-top: 16px; font: 400 13px/1.4 var(--mono); color: var(--tinte-3); }
@media (min-width: 900px) { .titel { font-size: 48px; } }

/* Bildtitel – das wiederkehrende Detail */
.bildtitel {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 8px; border-top: 1px solid var(--linie); margin-top: 8px;
  font: 400 13px/1.4 var(--mono); color: var(--tinte-2);
}
.bildtitel span:last-child { text-align: right; color: var(--tinte-3); }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: #fff; border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 8px var(--rand);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.kopf__logo img { width: 190px; height: auto; }
.kopf__nav { display: none; gap: 24px; margin-left: auto; }
.kopf__nav a { padding: 8px 0; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--tinte-2); }
.kopf__nav a:hover { color: var(--tinte); }
@media (min-width: 900px) {
  .kopf__logo img { width: 240px; }
  .kopf__nav { display: flex; }
}

/* Start: Überschrift steht auf dem Hangar-Foto (Vorbild Citadel) */
.start { padding-bottom: var(--luft); }
.start__buehne { position: relative; overflow: hidden; background: var(--nacht); }
.start__foto { height: 50svh; min-height: 340px; max-height: 820px; }
.start__foto img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.start__buehne::after {
  content: ""; position: absolute; inset: 40% 0 0 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(24, 32, 44, 0), rgba(24, 32, 44, 0.78));
}
.start__ueber { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding-bottom: 24px; color: var(--hell); }
.start__titel { font-weight: 500; letter-spacing: -0.03em; line-height: 1; font-variation-settings: "wdth" 112; }
.start__titel .maske { display: block; overflow: hidden; padding-bottom: 0.08em; }
.start__titel .zeile { display: block; font-size: clamp(36px, 10.2vw, 52px); max-width: 11em; }
.start__titel .start__name { max-width: none; }
.start__titel .start__name { font-size: 17px; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; color: var(--gelb); font-variation-settings: "wdth" 112; }
.start__bildtitel { margin-top: 0; border-top: 0; }
.start__text { padding-top: 16px; }
.start__satz { max-width: 34em; color: var(--tinte-2); }
.start__aktion { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.start__seit { font: 400 13px/1.4 var(--mono); color: var(--tinte-2); }

@media (min-width: 900px) {
  .start__foto { height: calc(100vh - 230px); min-height: 500px; }
  .start__buehne::after { inset: 25% 0 0 0; background: linear-gradient(to bottom, rgba(24, 32, 44, 0), rgba(24, 32, 44, 0.85)); }
  .start__ueber { padding-bottom: 40px; }
  .start__titel .zeile { font-size: clamp(64px, 6vw, 88px); max-width: 12em; }
  .start__titel .start__name { font-size: 20px; margin-bottom: 16px; }
  .start__text { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; padding-top: 24px; }
}

/* Leistungen */
.leistungen { padding: var(--luft) 0; border-top: 1px solid var(--linie); }
.leistungen__raster { display: grid; gap: 40px; }
.liste li {
  display: flex; flex-direction: column; gap: 0;
  padding: 16px 0; border-bottom: 1px solid var(--linie);
}
.liste li:first-child { border-top: 1px solid var(--linie); }
.liste span { font-size: 19px; font-weight: 500; font-variation-settings: "wdth" 106; }
.liste small { font-size: 15px; color: var(--tinte-3); }
.cnc { margin-top: 64px; display: grid; gap: 24px; }
.cnc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
@media (min-width: 700px) { .cnc { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .leistungen__raster { grid-template-columns: 5fr 7fr; gap: 64px; }
  .liste li { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 24px; }
  .liste small { text-align: right; }
}

/* Werkliste */
.werkliste { padding: var(--luft) 0; background: var(--papier-2); }
.werkliste__kopf { display: grid; gap: 24px; margin-bottom: 40px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter__knopf {
  min-height: 40px; padding: 0 16px; border-radius: var(--r);
  background: transparent; color: var(--tinte); border: 1px solid var(--linie);
  font: 500 15px/1 var(--schrift); cursor: pointer;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}
.filter__knopf:hover { border-color: var(--tinte-3); }
.filter__knopf.ist-aktiv { background: var(--tinte); color: var(--hell); border-color: var(--tinte); }
@media (min-width: 900px) {
  .werkliste__kopf { grid-template-columns: 1fr auto; align-items: end; }
}

.werke { border-top: 1px solid var(--tinte); }
.werk { border-bottom: 1px solid var(--linie); }
.werk[hidden] { display: none; }
.werk__zeile {
  width: 100%; display: grid; grid-template-columns: 72px 1fr; gap: 0 16px; align-items: baseline;
  padding: 16px 0; background: none; border: 0; text-align: left; cursor: pointer;
  font: inherit; color: inherit;
}
.werk__jahr { font: 400 14px/1.5 var(--mono); color: var(--tinte-2); }
.werk__name { font-size: 19px; font-weight: 500; line-height: 1.25; font-variation-settings: "wdth" 106; }
.werk__name small { display: block; margin-top: 0; font-size: 15px; font-weight: 400; color: var(--tinte-3); font-variation-settings: "wdth" 100; }
.werk__leistung { grid-column: 2; margin-top: 8px; font-size: 15px; color: var(--tinte-2); }
.werk__zeile::after {
  content: "+"; grid-column: 1; grid-row: 2; align-self: end; justify-self: start;
  font: 400 22px/1 var(--mono); color: var(--tinte-3);
  transition: transform 300ms var(--expo);
}
.werk__zeile[aria-expanded="true"]::after { transform: rotate(45deg); color: var(--tinte); }
.werk__zeile:hover .werk__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.werk__mehr { display: grid; gap: 16px; padding: 0 0 24px 88px; }
.werk__mehr[hidden] { display: none; }
.werk__mehr img {
  width: 100%; max-width: 444px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r);
}
.werk__mehr dl { display: grid; gap: 8px; font-size: 15px; }
.werk__mehr dt { font: 400 13px/1.4 var(--mono); color: var(--tinte-3); }
.werk__mehr dd { color: var(--tinte-2); }
.werkliste__fuss { margin-top: 24px; font-size: 15px; color: var(--tinte-2); }

@media (max-width: 599px) {
  .werk__zeile { grid-template-columns: 64px 1fr; }
  .werk__mehr { padding-left: 0; }
}
@media (min-width: 900px) {
  .werk__zeile { grid-template-columns: 104px 5fr 4fr 24px; gap: 24px; padding: 24px 0; }
  .werk__name { font-size: 22px; }
  .werk__leistung { grid-column: auto; margin-top: 0; font-size: 16px; }
  .werk__zeile::after { grid-column: auto; grid-row: auto; align-self: baseline; justify-self: end; }
  .werk__mehr { grid-template-columns: minmax(0, 444px) 1fr; gap: 40px; padding: 0 0 40px 128px; align-items: start; }
  .werk__mehr--ohne { grid-template-columns: 1fr; }
}

/* Öffnen der Zeile: Bild kommt von unten */
.js .werk__mehr.ist-offen img { animation: aufdecken 800ms var(--expo) both; }
@keyframes aufdecken {
  from { clip-path: inset(100% 0 0 0); transform: scale(1.15); }
  to { clip-path: inset(0 0 0 0); transform: scale(1); }
}

/* Kran */
.kran { background: var(--gelb); color: var(--tinte); padding-bottom: var(--luft); }
.kran__bild { overflow: hidden; height: 56svh; min-height: 300px; max-height: 760px; }
.kran__bild img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 55%; will-change: transform; }
.kran__raster { display: grid; gap: 40px; padding-top: 40px; }
.kran .lead { color: rgba(24, 32, 44, 0.80); margin-bottom: 24px; }
.kran__daten h3 { font-size: 19px; font-weight: 600; font-variation-settings: "wdth" 106; }
.kran__daten h3 + .werte { margin-top: 16px; }
.kran__daten .werte + h3 { margin-top: 40px; }
.werte { border-top: 1px solid rgba(24, 32, 44, 0.3); }
.werte li, .werte div { padding: 8px 0; border-bottom: 1px solid rgba(24, 32, 44, 0.3); }
.werte--zahlen div { display: flex; justify-content: space-between; gap: 16px; }
.werte--zahlen dd { font: 500 15px/1.5 var(--mono); }
.kran .hinweis { color: rgba(24, 32, 44, 0.66); }
@media (min-width: 900px) {
  .kran__bild { height: 72vh; }
  .kran__raster { grid-template-columns: 5fr 7fr; gap: 64px; padding-top: 64px; }
}

/* Betrieb */
.betrieb { padding: var(--luft) 0; }
.betrieb__raster { display: grid; gap: 64px; }
.chronik { margin-top: 40px; border-top: 1px solid var(--linie); }
.chronik div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--linie); }
.chronik dt { font: 500 14px/1.6 var(--mono); }
.chronik dd { color: var(--tinte-2); }
.team { max-width: 400px; }
.team img { width: 100%; border-radius: var(--r); }
.unter { margin-top: 40px; font-size: 19px; font-weight: 600; font-variation-settings: "wdth" 106; }
.leute { margin-top: 16px; border-top: 1px solid var(--linie); }
.leute li { display: grid; gap: 0; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.leute strong { font-weight: 500; }
.leute span { font-size: 15px; color: var(--tinte-2); }
.stelle { margin-top: 40px; padding: 24px; background: #fff; border-left: 4px solid var(--gelb); border-radius: var(--r); }
.stelle h3 { font-size: 19px; font-weight: 600; font-variation-settings: "wdth" 106; }
.stelle p { margin-top: 8px; color: var(--tinte-2); }
.stelle .textlink { margin-top: 8px; }
.stelle .hinweis { margin-top: 8px; }
@media (min-width: 900px) {
  .betrieb__raster { grid-template-columns: 6fr 5fr; gap: 104px; }
}

/* Kontakt */
.kontakt { padding: var(--luft) 0; background: var(--nacht); color: var(--hell); }
.kontakt .lead { color: var(--hell-2); }
.kontakt__raster { display: grid; gap: 40px; }
.adresse { margin-top: 40px; display: grid; gap: 16px; }
.adresse dt { font: 400 13px/1.4 var(--mono); color: var(--hell-3); }
.adresse dd { margin-top: 0; }
.adresse a { display: inline-block; padding: 8px 0; }
.textlink--hell { margin-top: 16px; color: var(--hell); }

.anfrage { display: grid; gap: 24px; padding: 24px; background: rgba(243, 244, 241, 0.06); border: 1px solid rgba(243, 244, 241, 0.14); border-radius: var(--r); }
.feld { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.feld > span, .feld legend { font: 400 13px/1.4 var(--mono); color: var(--hell-2); padding: 0; margin-bottom: 8px; }
.feld > span { margin-bottom: 0; }
.feld input[type="text"], .feld textarea {
  width: 100%; min-height: 48px; padding: 8px 16px; border-radius: var(--r);
  background: var(--papier); color: var(--tinte); border: 1px solid transparent;
  font: 400 17px/1.5 var(--schrift);
}
.feld textarea { resize: vertical; padding-top: 16px; }
.feld input:focus, .feld textarea:focus { outline: 2px solid var(--gelb); outline-offset: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid rgba(243, 244, 241, 0.3); font-size: 15px; font-weight: 500;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.chips input:checked + span { background: var(--gelb); color: var(--tinte); border-color: var(--gelb); }
.chips input:focus-visible + span { outline: 2px solid var(--gelb); outline-offset: 2px; }
.anfrage .knopf { justify-self: start; }
.anfrage__hinweis { font: 400 13px/1.4 var(--mono); color: var(--hell-3); }
@media (min-width: 900px) {
  .kontakt__raster { grid-template-columns: 5fr 7fr; gap: 64px; }
  .anfrage { padding: 40px; }
}

/* Fuss */
.fuss { padding: 40px 0; background: var(--nacht); color: var(--hell-2); border-top: 1px solid rgba(243, 244, 241, 0.12); font-size: 15px; }
.fuss__raster { display: grid; gap: 8px; }
.fuss__name { color: var(--hell); font-weight: 600; font-variation-settings: "wdth" 112; }
.fuss__entwurf a { display: inline-block; padding: 8px 0; color: var(--hell); }
@media (min-width: 900px) {
  .fuss__raster { grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
}

/* Bewegung beim Laden */
.js .start__titel .zeile { transform: translateY(110%); }
.js.ist-da .start__titel .zeile { transform: none; transition: transform 1000ms var(--expo); }
.js.ist-da .start__titel .maske:nth-child(2) .zeile { transition-delay: 90ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .start__titel .zeile { transform: none !important; transition: none !important; }
  .js .werk__mehr.ist-offen img { animation: none; }
  .start__foto img, .kran__bild img { transform: none !important; }
  .werk__zeile::after { transition: none; }
}
