/* Maschinenbau Ing. LANG GmbH – Website 2026
   Farbschema der bisherigen Seite (Lang-Blau), moderner umgesetzt.
   Keine externen Schriften, kein JavaScript, keine Cookies. */

:root {
  --blau: #1d4f9c;
  --blau-dunkel: #0f2f5f;
  --blau-hell: #e8eef8;
  --text: #1c2430;
  --text-2: #55606e;
  --grau: #f4f6f9;
  --linie: #dfe4ec;
  --weiss: #fff;
  --radius: 10px;
  --breite: 1200px;
  --schatten: 0 10px 30px rgba(15, 47, 95, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
h1, h2, h3 { line-height: 1.2; color: var(--blau-dunkel); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blau); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 720px; }

/* ---------- Kopfzeile ---------- */
.topbar { background: var(--blau-dunkel); color: #c9d6ec; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.sprache a { margin-left: 10px; opacity: .75; }
.sprache a.aktiv { opacity: 1; font-weight: 700; }
@media (max-width: 700px) { .topbar .adresse { display: none; } .topbar .container { justify-content: flex-end; } }

header.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.kopf .logo img { height: 46px; width: auto; }
nav.haupt { display: flex; gap: 4px; align-items: center; }
nav.haupt a {
  text-decoration: none; color: var(--blau-dunkel); font-weight: 600; font-size: .97rem;
  padding: 10px 14px; border-radius: 6px;
}
nav.haupt a:hover, nav.haupt a.aktiv { background: var(--blau-hell); color: var(--blau); }
nav.haupt a.knopf { background: var(--blau); color: #fff; margin-left: 8px; }
nav.haupt a.knopf:hover { background: var(--blau-dunkel); }

.menue-schalter, .menue-icon { display: none; }
@media (max-width: 900px) {
  .menue-icon {
    display: block; cursor: pointer; padding: 10px; font-size: 1.6rem; color: var(--blau-dunkel);
  }
  nav.haupt {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten);
    display: none; padding: 8px 20px 16px;
  }
  nav.haupt a { padding: 12px 6px; border-bottom: 1px solid var(--linie); border-radius: 0; }
  nav.haupt a.knopf { margin: 12px 0 0; text-align: center; border-radius: 6px; }
  .menue-schalter:checked ~ nav.haupt { display: flex; }
}

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 8px; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primaer { background: #fff; color: var(--blau-dunkel); }
.btn-rahmen { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-blau { background: var(--blau); color: #fff; }
.btn-blau:hover { background: var(--blau-dunkel); }

/* ---------- Bühne ---------- */
.buehne {
  position: relative; color: #fff; overflow: hidden;
  background: var(--blau-dunkel) url("../img/hero-treppen.jpg") center / cover no-repeat;
}
.buehne::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,47,95,.95) 0%, rgba(15,47,95,.82) 45%, rgba(29,79,156,.35) 100%);
}
.buehne .container { position: relative; padding-top: 110px; padding-bottom: 120px; }
.buehne h1 { color: #fff; max-width: 780px; }
.buehne p { font-size: 1.2rem; max-width: 620px; color: #dbe5f5; margin-bottom: 2rem; }
.buehne .eyebrow { color: #9fc0f0; }
.buehne .aktionen { display: flex; gap: 14px; flex-wrap: wrap; }

.buehne.klein .container { padding-top: 80px; padding-bottom: 80px; }
.buehne.stahlbau { background-image: url("../img/band-stahlbau.jpg"); }

/* ---------- Kennzahlen ---------- */
.kennzahlen { margin-top: -54px; position: relative; z-index: 2; }
.kennzahlen .raster {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden;
}
.kennzahl { padding: 26px 24px; border-right: 1px solid var(--linie); }
.kennzahl:last-child { border-right: 0; }
.kennzahl strong { display: block; font-size: 1.7rem; color: var(--blau); line-height: 1.1; }
.kennzahl span { font-size: .92rem; color: var(--text-2); }
@media (max-width: 800px) {
  .kennzahlen .raster { grid-template-columns: 1fr 1fr; }
  .kennzahl:nth-child(2) { border-right: 0; }
  .kennzahl:nth-child(-n+2) { border-bottom: 1px solid var(--linie); }
}

/* ---------- Abschnitte ---------- */
section.abschnitt { padding: 96px 0; }
section.grau { background: var(--grau); }
.kopfzeile { max-width: 760px; margin-bottom: 48px; }

.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .leistungen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .leistungen { grid-template-columns: 1fr; } }
.karte {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.karte img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.karte .inhalt { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.karte p { color: var(--text-2); font-size: .97rem; flex: 1; }
.karte .mehr { color: var(--blau); font-weight: 700; font-size: .95rem; }

.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .zweispaltig { grid-template-columns: 1fr; gap: 32px; } }
.bildrahmen img { border-radius: var(--radius); box-shadow: var(--schatten); }
.haken { list-style: none; padding: 0; margin: 0 0 1.4em; }
.haken li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 3px solid var(--blau); border-bottom: 3px solid var(--blau); transform: rotate(-45deg);
}

.band { border-radius: var(--radius); overflow: hidden; }
.band img { width: 100%; }

.zertifikate { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .zertifikate { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .zertifikate { grid-template-columns: 1fr; } }
.zertifikat {
  background: #fff; border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--blau);
  box-shadow: 0 2px 10px rgba(15,47,95,.06);
}
.zertifikat h3 { font-size: 1.05rem; }
.zertifikat p { color: var(--text-2); font-size: .93rem; }
.zertifikat a { font-weight: 700; font-size: .93rem; text-decoration: none; }

.referenzen { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; }
.referenzen img { height: 52px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.referenzen img:hover { filter: none; opacity: 1; }

.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galerie img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 700px) { .galerie { grid-template-columns: 1fr 1fr; } }

.cta {
  background: linear-gradient(120deg, var(--blau-dunkel), var(--blau));
  color: #fff; border-radius: 14px; padding: 56px; display: flex; gap: 32px;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #d6e2f5; margin: 0; }
.cta .tel { font-size: 1.6rem; font-weight: 800; color: #fff; text-decoration: none; display: block; }

.brotkrumen { font-size: .9rem; color: #b9cbe8; margin-bottom: 14px; }
.brotkrumen a { color: #fff; text-decoration: none; }

/* ---------- FAQ ---------- */
details.faq {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  margin-bottom: 12px; padding: 0 22px;
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative;
  font-weight: 700; color: var(--blau-dunkel);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--blau); font-weight: 400;
}
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 18px; color: var(--text-2); }

/* ---------- Fußzeile ---------- */
footer.fuss { background: #0b2448; color: #b7c6de; padding: 64px 0 24px; font-size: .95rem; }
footer.fuss .spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { footer.fuss .spalten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.fuss .spalten { grid-template-columns: 1fr; } }
footer.fuss h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
footer.fuss a { color: #dfe8f6; text-decoration: none; }
footer.fuss a:hover { color: #fff; text-decoration: underline; }
footer.fuss ul { list-style: none; padding: 0; margin: 0; }
footer.fuss li { margin-bottom: 6px; }
footer.fuss .unten {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem;
}
.logo-weiss { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 6px; margin-bottom: 16px; }
.logo-weiss img { height: 38px; width: auto; }
