/* GasCheck Pro – öffentliche Website. Keine externen Dienste:
   Schriften (Montserrat, OFL-Lizenz siehe fonts/OFL.txt) und alle
   Bilder liegen auf dem eigenen Server. */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #121f32;
  --navy-soft: #1c2c46;
  --teal: #2faf87;
  --teal-tief: #1f8464; /* dunkleres Funktions-Teal für Links (Lesbarkeit) */
  --teal-hell: #e5f4f2;
  --grau: #5a6777;
  --grau-hell: #6b7a90;
  --bg: #f4f6f9;
  --karte: #ffffff;
  --rand: #e3e8ef;
  --radius: 16px;
  --schatten: 0 8px 28px rgba(18, 31, 50, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

a { color: var(--teal-tief); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* ---------- Kopfbereich ---------- */
.site-header {
  background: var(--navy);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo img { height: 44px; width: auto; }
.hauptnav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: #fff; }
.nav-link[aria-current="page"] { color: #fff; border-bottom-color: var(--teal); }
/* Dezenter Zugang zur Büro-Zentrale (nur für Mitarbeiter interessant) */
.nav-buero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 2px;
}
.nav-buero:hover { color: #fff; }
.nav-buero svg { width: 13px; height: 13px; flex: none; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primaer { background: var(--teal); color: var(--navy); }
.btn-primaer:hover { background: #45c49c; }
.btn-hell { background: #fff; color: var(--navy); }
.btn-hell:hover { background: var(--teal-hell); }
.btn-umriss { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-umriss:hover { border-color: var(--teal); color: var(--teal); }
.btn-nav { background: var(--teal); color: var(--navy); padding: 10px 20px; }
.btn-nav:hover { background: #45c49c; }

/* ---------- Held-Bereich (Startseite) ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.hero-verlauf {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 31, 50, 0.55) 0%, rgba(18, 31, 50, 0.85) 100%);
}
.hero-innen {
  position: relative;
  padding: 84px 0 92px;
  max-width: 720px;
}
.kicker {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero .lede {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 30px;
  max-width: 620px;
}
.cta-reihe { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-tel {
  margin-top: 22px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}
.hero-tel a { color: #fff; font-weight: 700; text-decoration: none; }
.hero-tel a:hover { color: var(--teal); }

/* ---------- Unterseiten-Kopf ---------- */
.seite-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.seite-hero .hero-innen { padding: 56px 0 60px; }
.seite-hero h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.2; margin-bottom: 12px; }
.seite-hero .lede { color: rgba(255, 255, 255, 0.82); max-width: 640px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 64px 0; }
.abschnitt-kopf { max-width: 640px; margin-bottom: 36px; }
.abschnitt h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; margin-bottom: 10px; }
.abschnitt-kopf p { color: var(--grau); }

/* Bereichs-Karten (Startseite) */
.bereiche {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bereich-karte {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
  display: flex;
  flex-direction: column;
}
.bereich-karte img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.bereich-inhalt { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.bereich-inhalt h3 { font-size: 21px; margin-bottom: 12px; }
.checkliste { list-style: none; margin: 0 0 20px; }
.checkliste li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 8px;
  color: var(--grau);
}
.checkliste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-hell) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231f8464" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 12.8l4.6 4.6L19.5 7"/></svg>') center/11px no-repeat;
}
.bereich-inhalt .btn { margin-top: auto; align-self: flex-start; }

/* Leistungs-Karten (Unterseiten) */
.leistungen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.leistung {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-top: 4px solid var(--teal);
  border-radius: 12px;
  padding: 22px 22px 24px;
  box-shadow: var(--schatten);
}
.leistung h3 { font-size: 17px; margin-bottom: 8px; }
.leistung p { font-size: 15px; color: var(--grau); }

/* Hinweis-Box */
.hinweis-box {
  background: var(--teal-hell);
  border-left: 5px solid var(--teal);
  border-radius: 10px;
  padding: 20px 22px;
  margin-top: 28px;
}
.hinweis-box strong { display: block; margin-bottom: 6px; }
.hinweis-box p { color: #23503f; font-size: 15px; }

/* Band (dunkler Abschnitt) */
.band {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.band-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.band-verlauf {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 31, 50, 0.92) 0%, rgba(18, 31, 50, 0.55) 100%);
}
.band-innen { position: relative; padding: 64px 0; max-width: 640px; }
.band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.band p { color: rgba(255, 255, 255, 0.85); }

/* Schritte */
.schritte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: schritt;
}
.schritt {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: var(--schatten);
}
.schritt-nr {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.schritt h3 { font-size: 17px; margin-bottom: 6px; }
.schritt p { font-size: 15px; color: var(--grau); }

/* Qualifikationen */
.qualis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quali {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--schatten);
}
.quali h3 { font-size: 16px; margin-bottom: 4px; }
.quali p { font-size: 14px; color: var(--grau); }

/* Kontakt-Band */
.cta-band { background: var(--navy-soft); color: #fff; }
.cta-band .band-innen { max-width: none; text-align: center; padding: 56px 0; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin-bottom: 24px; }
.tel-gross {
  display: inline-block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 20px;
}
.tel-gross:hover { color: var(--teal); }

/* ---------- Formular ---------- */
.formular-karte {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 30px 28px;
  max-width: 640px;
}
.feld { margin-bottom: 18px; }
.feld label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.feld .pflicht { color: var(--teal-tief); }
.feld input,
.feld select,
.feld textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--rand);
  border-radius: 10px;
  padding: 12px 14px;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld-hinweis { font-size: 13px; color: var(--grau-hell); margin-top: 4px; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
}
.form-status.ok { display: block; background: var(--teal-hell); color: #1d5c48; }
.form-status.fehler { display: block; background: #fdecec; color: #8a2323; }
/* Honigtopf-Feld: für Menschen unsichtbar */
.firma-feld {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Kontakt-Raster */
.kontakt-raster {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
}
.kontakt-karte {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
}
.kontakt-karte h2 { font-size: 20px; margin-bottom: 10px; }
.kontakt-karte p { color: rgba(255, 255, 255, 0.8); font-size: 15px; margin-bottom: 16px; }
.kontakt-karte .tel-gross { font-size: 22px; margin-bottom: 8px; }
.kontakt-karte .klein { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* ---------- Text-Seiten (Impressum, Datenschutz) ---------- */
.textseite { max-width: 760px; }
.textseite h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 6px; }
.textseite .untertitel { color: var(--grau); margin-bottom: 34px; }
.textseite h2 {
  font-size: 20px;
  margin: 34px 0 10px;
  padding-top: 10px;
}
.textseite p, .textseite li { color: #33404f; font-size: 15.5px; }
.textseite ul { padding-left: 22px; margin: 8px 0; }
.textseite .karte-block {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 12px 0;
}
.textseite .karte-block p { margin-bottom: 4px; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); margin-top: 64px; }
.footer-innen {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 36px;
}
.footer-innen h3 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-logo img { height: 40px; width: auto; margin-bottom: 12px; }
.footer-claim { font-size: 13px; letter-spacing: 2px; color: var(--teal); text-transform: uppercase; }
.footer-liste { list-style: none; }
.footer-liste li { margin-bottom: 8px; font-size: 15px; }
.footer-unten {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Anpassung schmale Bildschirme ---------- */
@media (max-width: 900px) {
  .bereiche, .schritte, .qualis { grid-template-columns: 1fr; }
  .kontakt-raster { grid-template-columns: 1fr; }
  .footer-innen { grid-template-columns: 1fr; gap: 24px; padding: 36px 0 24px; }
  .hero-innen { padding: 56px 0 64px; }
  .abschnitt { padding: 48px 0; }
}
@media (max-width: 520px) {
  .logo img { height: 36px; }
  .hauptnav { gap: 14px; }
  .btn { width: 100%; text-align: center; }
  .btn-nav { width: auto; }
  .cta-reihe { flex-direction: column; align-items: stretch; }
}
