/* Impaktiva AG – Interim-Website (vormals TAM AG) */
@font-face { font-family: "PolySans"; src: url("fonts/PolySans-Neutral.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PolySans"; src: url("fonts/PolySans-Median.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Argent CF"; src: url("fonts/ArgentCF-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }

:root {
  --navy: #0e2230;
  --gruen: #228f72;          /* Logo-Grün: nur Flächen, Linien, große Schrift */
  --gruen-text: #1c7a61;     /* abgedunkelt für Links und kleine Schrift (5,2 : 1) */
  --hell: #eef5f2;
  --linie: #d5e3dd;
  --weiss: #ffffff;
  --text-max: 46rem;
  --rand: clamp(1.25rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "PolySans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }

a { color: var(--gruen-text); text-decoration: underline; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gruen-text); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--weiss); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--rand); }
.text { max-width: var(--text-max); }

/* Kopf */
.kopf { position: relative; z-index: 2; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.kopf .logo img { width: clamp(150px, 22vw, 210px); }
.kopf .tel { font-weight: 500; color: var(--navy); text-decoration: none; white-space: nowrap; font-size: .98rem; }
.kopf .tel:hover { text-decoration: underline; }

/* Einstieg mit Verlauf */
.einstieg {
  position: relative;
  margin-top: -6.5rem;          /* Verlauf läuft hinter den Kopf */
  padding: 10rem 0 5rem;
  background-color: var(--hell);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.45) 45%, rgba(255,255,255,0) 75%),
    url("img/verlauf-1920.webp");
  background-size: cover;
  background-position: center;
}
@media (max-width: 760px) {
  .einstieg {
    padding: 8.5rem 0 3.5rem;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.35) 60%, rgba(255,255,255,.2) 100%),
      url("img/verlauf-960.webp");
  }
}
.einstieg h1 {
  font-family: "Argent CF", Georgia, "Times New Roman", serif;
  font-weight: 300;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  max-width: 16ch;
}
.einstieg .lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.55; max-width: 36rem; margin: 0; }
.einstieg .datum { margin: 1.5rem 0 0; font-weight: 500; font-size: .98rem; }

/* Abschnitte */
main section { padding: 4rem 0; }
main section + section { border-top: 1px solid var(--linie); }
h2 { font-weight: 500; font-size: clamp(1.45rem, 3vw, 1.85rem); line-height: 1.25; margin: 0 0 1.5rem; }
h3 { font-weight: 500; font-size: 1.15rem; line-height: 1.35; margin: 2rem 0 .6rem; }

.punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; max-width: var(--text-max); }
.punkte li { position: relative; padding-left: 2rem; }
.punkte li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .85rem; height: .85rem;
  border: 3px solid var(--gruen); border-radius: 50%;
}
.punkte strong { font-weight: 500; }

.hinweis {
  max-width: var(--text-max);
  background: var(--hell);
  border-left: 4px solid var(--gruen);
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
}
.hinweis p { margin: 0; }
.hinweis strong { font-weight: 500; }

.kontakt { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem; max-width: 52rem; }
.kontakt p { margin: 0; }
.kontakt .label { display: block; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: #4a5a66; margin-bottom: .35rem; }
.kontakt a { font-weight: 500; }

/* Unterseiten */
.seitenkopf { background: var(--hell); padding: 3rem 0 2.5rem; }
.seitenkopf h1 { font-family: "Argent CF", Georgia, serif; font-weight: 300; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 0; }
.seitenkopf p { margin: .75rem 0 0; }
.rechtstext { padding: 3rem 0 4rem; }
.rechtstext .text > :first-child { margin-top: 0; }
.rechtstext h2 { margin-top: 3rem; scroll-margin-top: 1rem; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext ul, .rechtstext ol { padding-left: 1.25rem; }
.rechtstext li { margin-bottom: .35rem; }
.rechtstext address { font-style: normal; }
.inhalt { background: var(--hell); padding: 1.25rem 1.5rem; margin: 0 0 2.5rem; }
.inhalt p { margin: 0 0 .5rem; font-weight: 500; }
.inhalt ul { margin: 0; padding-left: 1.25rem; }

/* Fuß */
.fuss { background: var(--navy); color: var(--weiss); padding: 3rem 0 2.5rem; font-size: .95rem; }
.fuss a { color: var(--weiss); }
.fuss a:hover { color: #bfe3d6; }
.fuss .wrap { display: grid; gap: 1.75rem; }
.fuss .logo img { width: 160px; }
.fuss p { margin: 0; }
.fuss nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.fuss .klein { color: #c9d3da; font-size: .88rem; }

@media print {
  .einstieg { background: none; margin-top: 0; padding: 1rem 0; }
  .fuss { background: none; color: #000; }
  .fuss a { color: #000; }
  .kopf .tel, .skip { display: none; }
}

a[href^="tel:"], .nw { white-space: nowrap; }
