/* EMPAIOS Facility Management – Stylesheet
   Keine externen Ressourcen (keine Google Fonts, kein CDN) – DSGVO-freundlich.
   Optional: Montserrat (SIL OFL) selbst hosten -> Dateien nach assets/fonts/ legen. */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #232325;
  --ink-soft: #46464a;
  --muted: #6b6b70;
  --copper: #b49580;
  --copper-dark: #8a6a55;
  --copper-line: #d6b593;
  --bg: #ececec;
  --panel: rgba(255, 255, 255, 0.55);
  --max: 1120px;
  --font: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.55;
  background-color: var(--bg);
  /* Abstrakte Fassadenstruktur in Anlehnung an den Flyer */
  background-image:
    repeating-linear-gradient(62deg, transparent 0 118px, rgba(60, 60, 64, 0.07) 118px 121px),
    repeating-linear-gradient(-28deg, transparent 0 160px, rgba(60, 60, 64, 0.05) 160px 162px),
    linear-gradient(180deg, #f2f2f2 0%, #e2e2e3 60%, #cfcfd1 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--copper-dark); }
a:hover, a:focus-visible { color: var(--ink); }
:focus-visible { outline: 3px solid var(--copper-dark); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- Kopf / Hero ---------- */
.hero h1 { margin: 0; }
.contact-list address { font-style: normal; }
.hero { text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 0 1.5rem; }
.hero .logo { width: min(640px, 92%); height: auto; display: block; margin: 0 auto; }
.claim {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  font-size: clamp(1.45rem, 4.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
}
.rule { height: 3px; background: var(--copper-line); border: 0; margin: 1.25rem auto 0; max-width: 100%; }

/* ---------- Hauptbereich ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 4vw, 3rem) 0;
}
@media (min-width: 880px) {
  .grid { grid-template-columns: 1fr 1.05fr; align-items: start; }
}

.services {
  background: var(--copper);
  color: #fff;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .45);
}
.services .intro { font-size: 1.15rem; font-weight: 600; margin: 0 0 2rem; }
.services h2 { font-size: 1.6rem; font-weight: 700; line-height: 1.25; margin: 0 0 1rem; }
.services ul { margin: 0; padding-left: 1.2rem; }
.services li { font-size: 1.08rem; font-weight: 600; margin: .55rem 0; }

.features { display: grid; gap: 2rem; }
.feature { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: start; }
.feature .icon {
  width: 96px; height: 88px; background: var(--copper);
  display: grid; place-items: center;
}
.feature .icon svg { width: 100%; height: 100%; display: block; }
.feature h3 {
  margin: 0 0 .25rem; font-size: 1.02rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft);
}
.feature p { margin: 0; font-size: 1.05rem; color: var(--ink-soft); }

/* ---------- Kontakt ---------- */
.contact {
  background: var(--panel);
  border-top: 3px solid var(--copper-line);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  backdrop-filter: blur(2px);
}
.contact h2 { margin: 0 0 1.25rem; font-size: 2rem; font-weight: 700; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; align-items: start; font-weight: 600; letter-spacing: .02em; }
.contact-list svg { width: 22px; height: 22px; margin-top: .15rem; fill: var(--copper); }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover, .contact-list a:focus-visible { color: var(--copper-dark); text-decoration: underline; }
.people { display: grid; gap: .3rem; }
.people a { white-space: nowrap; }
.people span { color: var(--muted); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  background: #2b2b2d; color: #d8d8da; font-size: .92rem;
  padding: 1.5rem 0;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a { color: #f0d9c2; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; }

/* ---------- Rechtstexte ---------- */
.legal-head { padding: 2rem 0 0; }
.legal-head a.home { display: inline-block; width: 220px; }
.legal-head img { width: 100%; height: auto; display: block; }
.legal {
  background: rgba(255, 255, 255, .82);
  padding: clamp(1.5rem, 4vw, 3rem);
  margin: 1.5rem auto 3rem;
  max-width: 860px;
  overflow-wrap: anywhere;
}
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 1.5rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; color: var(--copper-dark); }
.legal h3 { font-size: 1.02rem; margin: 1.25rem 0 .35rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal address { font-style: normal; }
mark.todo { background: #ffe58a; color: #000; padding: 0 .2em; }

@media (max-width: 520px) {
  .feature { grid-template-columns: 72px 1fr; gap: 1rem; }
  .feature .icon { width: 72px; height: 68px; }

}

@media print {
  body { background: #fff; }
  .site-footer { background: none; color: #000; }
}
