/* hexa intellect GmbH – gemeinsames Design für alle Seiten
   Farben: Schwarz, Weiß, Grau */

:root {
  --schwarz: #1a1a1a;
  --grau-dunkel: #555;
  --grau: #8a8a8a;
  --grau-hell: #e6e6e6;
  --grau-sehr-hell: #f5f5f5;
  --weiss: #ffffff;
  --breite: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--schwarz);
  /* Systemschriften – keine externen Schriftarten (wichtig für den Datenschutz) */
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  color: var(--schwarz);
}

.inhalt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Kopfbereich ---------- */

.kopf {
  border-bottom: 1px solid var(--grau-hell);
}

.kopf .inhalt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.kopf img {
  height: 64px;
  width: auto;
  display: block;
}

.kopf nav a {
  margin-left: 24px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grau-dunkel);
}

.kopf nav a:hover {
  color: var(--schwarz);
}

/* ---------- Bildbereich (Foto in Graustufen) ---------- */

.buehne {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--schwarz);
  overflow: hidden;
}

.buehne img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.45;
}

.buehne .inhalt {
  position: relative;
  color: var(--weiss);
  width: 100%;
}

.buehne .zeile-klein {
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grau-hell);
  margin: 0 0 12px;
}

.buehne h1 {
  font-size: clamp(32px, 6vw, 54px);
  font-weight: 300;
  line-height: 1.15;
  margin: 0;
}

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

.abschnitt {
  padding: 72px 0;
}

.abschnitt.grau {
  background: var(--grau-sehr-hell);
}

.abschnitt h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grau);
  margin: 0 0 20px;
}

.abschnitt h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--schwarz);
  margin-top: 14px;
}

.abschnitt p {
  max-width: 680px;
  margin: 0 0 16px;
}

.einleitung {
  font-size: 22px;
  font-weight: 300;
}

.kontakt-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.kontakt-raster h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.kontakt-raster p {
  margin: 0;
  color: var(--grau-dunkel);
}

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */

.rechtstext {
  padding: 56px 0 72px;
}

.rechtstext h1 {
  font-size: 34px;
  font-weight: 300;
  margin: 0 0 32px;
}

.rechtstext h2 {
  font-size: 19px;
  margin: 36px 0 8px;
}

.rechtstext p,
.rechtstext ul {
  max-width: 720px;
  margin: 0 0 12px;
}

.rechtstext ul {
  padding-left: 22px;
}

.rechtstext li {
  margin-bottom: 4px;
}

/* Platzhalter, die noch ausgefüllt werden müssen */
.todo {
  background: #fff3b0;
  padding: 0 4px;
  border-radius: 2px;
}

/* ---------- Fußbereich ---------- */

.fuss {
  background: var(--schwarz);
  color: var(--grau);
  font-size: 14px;
}

.fuss .inhalt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.fuss a {
  color: var(--grau-hell);
  text-decoration: none;
  margin-left: 20px;
}

.fuss a:first-child {
  margin-left: 0;
}

.fuss a:hover {
  color: var(--weiss);
}

/* ---------- Handy ---------- */

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .kopf img {
    height: 48px;
  }

  .kopf nav a {
    margin-left: 14px;
    font-size: 12px;
  }

  .buehne {
    min-height: 320px;
  }

  .abschnitt {
    padding: 52px 0;
  }

  .einleitung {
    font-size: 19px;
  }

  .fuss .inhalt {
    flex-direction: column;
  }
}
