/* INFORCE Website 2026 - gemeinsames Design fuer home_neu.html und products/inforcefiles_neu.html */

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #5b6676;
  --line: #e2e7ef;
  --accent: #1f6feb;
  --accent-dark: #1757bd;
  --accent-soft: #e8f0fe;
  --green: #2e8b57;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Sprachumschaltung: es ist immer nur die gewaehlte Sprache sichtbar. */
html[data-lang="de"] [data-l="en"],
html[data-lang="en"] [data-l="de"] { display: none !important; }

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

/* Kopfzeile */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.kopf .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.marke { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); }
.marke:hover { text-decoration: none; }
.marke img { width: 32px; height: 32px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.sprache { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.sprache button {
  border: 0; background: transparent; color: var(--muted);
  font: inherit; font-size: 14px; font-weight: 600; padding: 4px 12px; cursor: pointer;
}
.sprache button[aria-pressed="true"] { background: var(--accent); color: #fff; }

/* Bereiche */
section { padding: 72px 0; }
section.hell { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.01em; }
h3 { font-size: 20px; }
.ueberzeile { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; }

/* Einstieg */
.held { padding: 72px 0 56px; }
.held .raster { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.knopf {
  display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 600;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.knopf:hover { text-decoration: none; border-color: var(--accent); }
.knopf.haupt { background: var(--accent); border-color: var(--accent); color: #fff; }
.knopf.haupt:hover { background: var(--accent-dark); }
.store img { height: 48px; width: auto; }
.hinweis { font-size: 14px; color: var(--muted); margin-top: 10px; }

.bild {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: var(--surface);
}
.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Karten */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.karte {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.karte .symbol {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
}
.karte p { color: var(--muted); margin: 0; }

/* Funktionen im Wechsel Text/Bild */
.funktion { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.funktion + .funktion { border-top: 1px solid var(--line); }
.funktion.umgekehrt .text { order: 2; }
.funktion p { color: var(--muted); }
.funktion .bild.klein { max-width: 420px; justify-self: center; }

.liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px 32px; }
.liste li { padding-left: 30px; position: relative; color: var(--muted); }
.liste li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.liste strong { color: var(--text); display: block; }

/* Band mit Angebot */
.band {
  background: linear-gradient(135deg, #1f6feb, #3b8cff); color: #fff;
  border-radius: 20px; padding: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .9); margin: 0; }
.band .aktionen { justify-content: flex-end; margin-top: 0; }
.band .knopf { background: #fff; color: var(--accent); border-color: #fff; }

/* Fusszeile */
.fuss { padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.fuss nav { display: flex; gap: 20px; }
.fuss a { color: var(--muted); }

@media (max-width: 860px) {
  .held .raster, .funktion, .band { grid-template-columns: 1fr; }
  .funktion.umgekehrt .text { order: 0; }
  .band .aktionen { justify-content: flex-start; }
  .nav { display: none; }
  .kopf .wrap { justify-content: space-between; }
  section { padding: 48px 0; }
}

/* Das Band folgt direkt auf einen Bereich gleicher Farbe: kein doppelter Abstand. */
section.vor-band { padding-top: 0; }
