/* COPiTOS Management GmbH — copitos.de
   Farben aus der Wortmarke abgeleitet. Keine externen Ressourcen. */

/* Farbwerte direkt aus "COPiTOS - evoila.png" ausgelesen (deckende Pixel).
   Die WebP-Fassung war farbverschoben und ist NICHT massgeblich. */
:root {
  --grau:      #9FA8A7;  /* Wortmarke — nur im Logo-Lockup verwenden */
  --grau-tx:   #697573;  /* Sekundaertext, abgedunkelt: Kontrast 4.8:1 */
  --orange:    #C06328;  /* Akzentflaechen (dekorativ, kontrastfrei) */
  --orange-tx: #A1501F;  /* Akzenttext, abgedunkelt: Kontrast 5.7:1 */
  --anthrazit: #2F3634;  /* Fussbereich, Ueberschriften */
  --text:      #5C6663;  /* Fliesstext, Kontrast 5.9:1 */
  --kopf-bg:   #F4F6F5;  /* Kopfbereich */
  --linie:     #E2E7E5;

  --spalte: 760px;
  --logo-breite: 210px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--spalte);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Logo-Lockup ---------- */

.lockup { width: var(--logo-breite); }

.lockup img {
  display: block;
  width: var(--logo-breite);
  height: auto;
}

.lockup .linie {
  height: 1px;
  background: var(--grau);
  opacity: .55;
  margin: 7px 0 5px;
}

/* "MANAGEMENT" exakt auf Wortmarkenbreite gesperrt.
   Nutzt bewusst das helle Marken-Grau: als Bestandteil des Logos ist der
   Zusatz von der Kontrastanforderung ausgenommen (WCAG 1.4.3, "logotypes"). */
.lockup .zusatz {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  color: var(--grau);
}

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

.kopf {
  background: var(--kopf-bg);
  border-bottom: 3px solid var(--orange);
  padding: 54px 0 58px;
}

/* Flacherer Kopf auf den Rechtstextseiten */
.kopf--schmal { padding: 34px 0 36px; }

/* Logo als Rueckweg zur Startseite */
.logo-link { display: inline-block; border: 0; }

address.wert { font-style: normal; }

.claim {
  font-size: 31px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--anthrazit);
  margin: 38px 0 0;
  max-width: 15ch;
}

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

.abschnitt { padding-top: 44px; }

.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--orange-tx);
  margin-bottom: 14px;
}

p { margin: 0 0 14px; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.spalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding: 44px 0 60px;
}

.wert { line-height: 1.85; }

a { color: inherit; }

.wert a,
.inhalt a {
  text-decoration: none;
  border-bottom: 1px solid #CDD5D3;
}

.wert a:hover,
.inhalt a:hover { border-bottom-color: var(--orange-tx); color: var(--orange-tx); }

/* ---------- Fussbereich ---------- */

.fuss {
  background: var(--anthrazit);
  color: var(--grau);   /* auf Anthrazit: Kontrast 5.1:1 */
  font-size: 13.5px;
  line-height: 1.85;
  padding: 26px 0;
}

.fuss .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.fuss strong { color: #fff; font-weight: 600; }

.fuss a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #5D6764;
}

.fuss a:hover { border-bottom-color: #fff; }
.fuss .links a + a { margin-left: 20px; }

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

.rechtstext { padding: 54px 0 64px; }

.rechtstext h1 {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--anthrazit);
  margin: 0 0 8px;
}

.rechtstext h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--orange-tx);
  margin: 38px 0 12px;
}

.rechtstext h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--anthrazit);
  margin: 26px 0 8px;
}

.rechtstext ul { margin: 0 0 14px; padding-left: 20px; max-width: 62ch; }
.rechtstext li { margin-bottom: 5px; }

.stand {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--linie);
  font-size: 14px;
  color: var(--grau-tx);
}

.zurueck {
  display: inline-block;
  margin-bottom: 34px;
  font-size: 14px;
  color: var(--grau-tx);
  text-decoration: none;
  border-bottom: 1px solid #CDD5D3;
}

.zurueck:hover { color: var(--orange-tx); border-bottom-color: var(--orange-tx); }

/* ---------- Mobil ---------- */

@media (max-width: 640px) {
  :root { --logo-breite: 150px; }

  .wrap { padding: 0 22px; }
  .kopf { padding: 34px 0 36px; }
  .claim { font-size: 23px; margin-top: 26px; max-width: none; }
  .abschnitt { padding-top: 32px; }
  .spalten { grid-template-columns: 1fr; gap: 26px; padding: 32px 0 40px; }
  .lockup .zusatz { font-size: 6px; }

  .fuss .wrap { display: block; }
  .fuss .links { margin-top: 10px; }
  .fuss .links a + a { margin-left: 18px; }

  .rechtstext { padding: 34px 0 44px; }
  .rechtstext h1 { font-size: 23px; }
}

/* ---------- Druck ---------- */

@media print {
  .kopf { background: none; border-bottom: 1px solid #000; }
  .fuss { background: none; color: #000; }
  .fuss a, .fuss strong { color: #000; }
  a { border-bottom: none; }
}
