/* ============================================================
   Gustav Stahlwerk Manufaktur – Zossen
   Eine Datei, keine externen Quellen, keine Cookies.
   ============================================================ */

:root {
  color-scheme: light;
  --stahl:    #1a1e24;   /* Tinte / Stahlplatten-Schwarz */
  --stahl-2:  #262c34;   /* Stahl, einen Ton heller */
  --beton:    #edeff1;   /* Betongrau, Seitenhintergrund */
  --blech:    #ffffff;   /* helles Blech */
  --blau:     #33586e;   /* gebläutes Stahlblau */
  --blau-dunk:#26454f;
  --grau:     #5b636c;   /* Sekundärtext */
  --linie:    #d3d8dc;   /* Trennlinien */
  --linie-dunk: #343b44;
  --fokus:    #b45c1e;   /* Zunderfarbe, nur für Fokusringe */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--stahl);
  background: var(--beton);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Grundbausteine ---------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.slogan-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blau-dunk); }

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

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

/* ---------- Kopfnavigation ---------- */

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 30, 36, 0.96);
  border-bottom: 1px solid var(--linie-dunk);
}

.kopf .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px; flex-wrap: wrap;
}

.wortmarke {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}
.wortmarke span { color: #9fb6c4; }
.wortmarke:hover { color: #d8e2e9; }

.nav {
  display: flex; gap: 4px 20px; flex-wrap: wrap;
  font-size: 14px; letter-spacing: 0.04em;
  padding: 10px 0;
}
.nav a { color: #c6ced6; text-decoration: none; padding: 4px 0; }
.nav a:hover { color: #fff; }
.nav a.recht { color: #828a94; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: #0e1116 center/cover no-repeat;
  background-image: linear-gradient(rgba(14,17,22,0.72), rgba(14,17,22,0.86)),
                    url("img/hero.jpg");
  color: #fff;
  padding: clamp(88px, 14vh, 150px) 0 0;
}

.hero .stempel {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.38);
  padding: 5px 14px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8edf1;
  margin-bottom: 28px;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 15ch;
}

.hero .unterzeile {
  margin-top: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 24px);
  color: #dbe3e9;
  max-width: 44ch;
}

.hero-aktionen {
  margin-top: 36px;
  display: flex; gap: 14px; flex-wrap: wrap;
}

.knopf {
  display: inline-block;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.knopf-primary { background: var(--blau); color: #fff; }
.knopf-primary:hover { background: var(--blau-dunk); color: #fff; }
.knopf-ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.knopf-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* Kennzahlenleiste unten im Hero */
.hero-fuss {
  margin-top: clamp(56px, 9vh, 96px);
  border-top: 1px solid rgba(255,255,255,0.22);
  background: rgba(10,13,17,0.55);
}
.hero-fuss .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.22);
}
.hero-fuss .zelle {
  background: rgba(10,13,17,0.55);
  padding: 20px 24px;
  color: #cfd7de;
  font-size: 15px;
}
.hero-fuss .zelle strong { display: block; color: #fff; font-size: 17px; font-weight: 700; }

/* ---------- Abschnitte ---------- */

.abschnitt { padding: clamp(64px, 9vh, 110px) 0; }
.abschnitt-beton { background: var(--beton); }
.abschnitt-blech  { background: var(--blech); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }

.abschnitt-kopf {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 40px;
}
.abschnitt-kopf h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.abschnitt-kopf .linie {
  flex: 1; height: 1px; background: var(--stahl); opacity: 0.25;
  align-self: center;
}

/* ---------- Über uns ---------- */

.ueber-Grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) { .ueber-Grid { grid-template-columns: 1fr; } }

.ueber-Text p { margin-bottom: 1.2em; max-width: 62ch; font-size: 18px; }
.ueber-Text p:last-child { margin-bottom: 0; }

.jahresplakette {
  border: 1px solid var(--stahl);
  padding: 28px 26px;
  text-align: center;
  background: var(--blech);
}
.jahresplakette .zahl {
  font-size: clamp(72px, 9vw, 110px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.jahresplakette .zahl-klein { font-size: 0.42em; vertical-align: super; font-weight: 700; letter-spacing: 0.06em; }
.jahresplakette .text {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grau);
}

/* ---------- Leistungen (Werkstatttafel) ---------- */

.tafel {
  border: 1px solid var(--stahl);
  background: var(--blech);
}
.tafel-gruppe {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-bottom: 1px solid var(--linie);
}
.tafel-gruppe:last-child { border-bottom: 0; }
@media (max-width: 700px) {
  .tafel-gruppe { grid-template-columns: 1fr; }
  .tafel-label { border-bottom: 1px solid var(--linie); }
}

.tafel-label {
  padding: 26px 24px;
  border-right: 1px solid var(--linie);
  background: #f7f8f9;
}
.tafel-label h3 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.tafel-label p { font-size: 14px; color: var(--grau); }

.tafel-liste {
  padding: 22px 26px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px 28px;
  list-style: none;
}
.tafel-liste li {
  padding-left: 16px;
  position: relative;
  font-size: 16px;
}
.tafel-liste li::before {
  content: "";
  position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 2px;
  background: var(--blau);
}

/* ---------- Projekte ---------- */

.projekt-raster {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.projekt-raster figure { position: relative; overflow: hidden; }
.projekt-raster img { width: 100%; height: 100%; object-fit: cover; }
.projekt-raster .gross { grid-column: span 3; grid-row: span 2; }
.projekt-raster .mittel { grid-column: span 3; }
@media (max-width: 700px) {
  .projekt-raster { grid-template-columns: repeat(2, 1fr); }
  .projekt-raster .gross, .projekt-raster .mittel { grid-column: span 2; grid-row: auto; }
}

.projekt-notiz {
  margin-top: 36px;
  border-left: 3px solid var(--blau);
  padding: 4px 0 4px 22px;
  font-size: 16px;
  color: var(--grau);
  max-width: 70ch;
}
.projekt-notiz strong { color: var(--stahl); }

/* ---------- Kontakt ---------- */

.kontakt {
  background: var(--stahl);
  color: #fff;
}
.kontakt .abschnitt-kopf h2 { color: #fff; }
.kontakt .abschnitt-kopf .linie { background: #fff; opacity: 0.3; }

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}
.kontakt-feld h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #93a2ad;
  margin-bottom: 12px;
}
.kontakt-feld p, .kontakt-feld address { font-style: normal; font-size: 17px; line-height: 1.65; }
.kontakt-feld a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
.kontakt-feld a:hover { border-bottom-color: #fff; }

.kontakt-aktionen { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.kontakt-aktionen .knopf-primary { background: #fff; color: var(--stahl); }
.kontakt-aktionen .knopf-primary:hover { background: #dfe5ea; color: var(--stahl); }

/* ---------- Fußzeile ---------- */

.fusszeile {
  background: var(--stahl-2);
  color: #9aa4ad;
  font-size: 14px;
}
.fusszeile .wrap {
  display: flex; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 22px;
}
.fusszeile a { color: #cfd7de; text-decoration: none; border-bottom: 1px solid #55606b; }
.fusszeile a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */

.rechts-seite { padding: 56px 0 90px; }
.rechts-seite h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.rechts-seite .zurueck {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 14px;
}
.rechts-seite article {
  max-width: 74ch;
  background: var(--blech);
  border: 1px solid var(--linie);
  padding: clamp(24px, 4vw, 48px);
}
.rechts-seite article h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 34px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.rechts-seite article h2:first-of-type { margin-top: 0; }
.rechts-seite article h3 { font-size: 16.5px; font-weight: 700; margin: 22px 0 8px; }
.rechts-seite article p, .rechts-seite article ul { margin-bottom: 12px; font-size: 16px; color: #2b323a; }
.rechts-seite article ul { padding-left: 22px; }
.rechts-seite article address { font-style: normal; margin-bottom: 14px; line-height: 1.7; }
.hinweis {
  border: 1px dashed #a9b3bc;
  background: #f4f7f9;
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--grau);
  margin: 18px 0;
}

/* ---------- Einmalige Eingangsanimation ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .unterzeile, .hero .stempel, .hero-aktionen {
    animation: betreten 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
  .hero .unterzeile { animation-delay: 0.12s; }
  .hero-aktionen   { animation-delay: 0.22s; }
  @keyframes betreten {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}