/* ISW Operations Center - Gestaltung der Produktseite.
   Farben und Formen folgen dem Hausstandard der ISW-Werkzeuge:
   flaches Blau, helle Navigation, weisse Karten auf fast weissem Grund. */

:root {
  --blau: #2196F3;
  --blau-dunkel: #1976D2;
  --blau-hell: #64B5F6;
  --gruen: #2E9E4F;
  --gelb: #E0B000;
  --rot: #C0392B;
  --koerper: #F4F6F9;
  --karte: #FFFFFF;
  --rand: #E3E7EC;
  --linie: #EEF1F5;
  --text: #334E68;
  --grau: #5B6B7A;
  --dunkel: #1B2B3A;
  --schatten: 0 1px 2px rgba(27, 43, 58, .05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

  /* Lange deutsche Zusammensetzungen - Datenschutz-Grundverordnung,
     Auftragsverarbeitung, Reparaturmassnahmen - schoben die Seite auf
     schmalen Schirmen seitlich aus dem Bild. */
  overflow-wrap: break-word;
  hyphens: auto;
}

a, td, code, .platzhalter { overflow-wrap: anywhere; }

.mitte { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation: hell, nicht blau ---------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--rand);
}
.kopf .mitte { display: flex; align-items: center; gap: 28px; height: 76px; }
.kopf img { width: 199px; height: 59px; display: block; }
.kopf nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.kopf nav a {
  color: var(--grau); text-decoration: none; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.kopf nav a:hover, .kopf nav a[aria-current="page"] { color: var(--blau); border-bottom-color: var(--blau); }

/* ---------- Kopfblock ---------- */
.held { background: var(--blau); color: #fff; padding: 76px 0 68px; }
.held .marke { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin: 0 0 14px; }
.held h1 { margin: 0 0 18px; font-size: 46px; line-height: 1.12; font-weight: 600; letter-spacing: -.01em; }
.held p.unter { margin: 0 0 32px; font-size: 20px; line-height: 1.5; max-width: 46em; opacity: .95; }
.held .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Knöpfe: ruhig, eine Primärfarbe ---------- */
.knopf {
  display: inline-block; padding: 12px 22px; border-radius: 6px;
  font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.knopf-hell { background: #fff; color: var(--blau-dunkel); }
.knopf-hell:hover { background: #EAF3FD; }
.knopf-rand { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.knopf-rand:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.knopf-primaer { background: var(--blau); color: #fff; }
.knopf-primaer:hover { background: var(--blau-dunkel); }
.knopf-zweit { background: #fff; color: var(--text); border-color: #CBD3DC; }
.knopf-zweit:hover { border-color: var(--blau); color: var(--blau); }

/* ---------- Abschnitte ---------- */
section { padding: 68px 0; }
section.hell { background: #fff; border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); }
h2 { font-size: 30px; line-height: 1.25; font-weight: 600; color: var(--dunkel); margin: 0 0 12px; letter-spacing: -.01em; }
h3 { font-size: 18px; font-weight: 600; color: var(--dunkel); margin: 0 0 8px; }
.vorspann { font-size: 18px; color: var(--grau); max-width: 52em; margin: 0 0 38px; }
p { margin: 0 0 16px; }
a { color: var(--blau-dunkel); }

/* ---------- Kennzahlen ---------- */
.kennzahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kennzahl { background: var(--karte); border: 1px solid var(--rand); border-radius: 8px; padding: 20px; box-shadow: var(--schatten); }
.kennzahl .wert { display: flex; align-items: flex-end; height: 46px; font-size: 34px; font-weight: 600; line-height: 1; color: var(--blau); }
.kennzahl .beschriftung { font-size: 13px; color: var(--grau); margin-top: 6px; }
.kennzahl.gruen .wert { color: var(--gruen); }
.kennzahl.dunkel .wert { color: var(--dunkel); }

/* ---------- Karten ---------- */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.karten.zwei { grid-template-columns: repeat(2, 1fr); }
.karte {
  background: var(--karte); border: 1px solid var(--rand); border-radius: 8px;
  padding: 26px; box-shadow: var(--schatten);
}
.karte .nummer { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--blau); text-transform: uppercase; margin-bottom: 10px; }
.karte p:last-child { margin-bottom: 0; }
.karte ul { margin: 0; padding-left: 20px; }
.karte li { margin-bottom: 7px; }
.karte li:last-child { margin-bottom: 0; }

/* ---------- Merkmalsliste ---------- */
.merkmale { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 46px; }
.merkmal { border-top: 1px solid var(--linie); padding: 20px 0; }
.merkmal h3 { margin-bottom: 4px; }
.merkmal p { margin: 0; color: var(--grau); font-size: 15px; }

/* ---------- Abzeichen ---------- */
.abzeichen {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.abzeichen.gruen { background: #E7F5EC; color: var(--gruen); }
.abzeichen.gelb { background: #FBF3DC; color: #8A6D00; }
.abzeichen.rot { background: #FAE9E7; color: var(--rot); }

/* ---------- Tabelle im ISW-Stil: nur waagerechte Linien ---------- */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th {
  text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--grau); font-weight: 700; padding: 0 10px 10px 0; border-bottom: 1px solid var(--rand);
}
td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }

/* ---------- Fließtext (Impressum, Datenschutz) ---------- */
.text { max-width: 46em; }
.text h2 { font-size: 22px; margin-top: 38px; }
.text h2:first-of-type { margin-top: 0; }
.text ul { padding-left: 20px; }
.text li { margin-bottom: 6px; }
.platzhalter {
  background: #FBF3DC; border: 1px solid #E8D9A8; border-radius: 4px;
  padding: 2px 7px; font-weight: 600; color: #8A6D00;
}
.hinweis {
  background: #EAF3FD; border-left: 3px solid var(--blau); border-radius: 0 6px 6px 0;
  padding: 16px 20px; margin: 0 0 28px; font-size: 15px; color: var(--text);
}

/* ---------- Fuß: hell, nicht blau ---------- */
.fuss { background: #fff; border-top: 1px solid var(--rand); padding: 34px 0; font-size: 14px; color: var(--grau); }
.fuss .mitte { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.fuss nav { margin-left: auto; display: flex; gap: 22px; }
.fuss a { color: var(--grau); text-decoration: none; }
.fuss a:hover { color: var(--blau); }

/* ---------- Fehlerseite ---------- */
.fehler { text-align: center; padding: 96px 0 84px; }
.fehler .zahl { font-size: 84px; font-weight: 600; color: var(--blau); line-height: 1; margin: 0 0 8px; }

@media (max-width: 900px) {
  .kennzahlen { grid-template-columns: repeat(2, 1fr); }
  .karten, .karten.zwei, .merkmale { grid-template-columns: 1fr; }
  .held h1 { font-size: 34px; }
  .held p.unter { font-size: 18px; }
  .kopf nav { gap: 16px; }
  .kopf nav a.optional { display: none; }
}
@media (max-width: 560px) {
  .kennzahlen { grid-template-columns: 1fr; }
  .kopf .mitte { height: 66px; }
  .kopf img { width: 152px; height: 45px; }
}

/* ---------- Ergänzungen: keine Inline-Stile, damit die
   Sicherheitsrichtlinie (CSP) ohne 'unsafe-inline' auskommt ---------- */
.seitentitel { font-size: 32px; color: var(--dunkel); margin: 0 0 24px; font-weight: 600; }
.spalte-drittel { width: 32%; }
.spalte-schmal { width: 88px; }
.klein { color: var(--grau); font-size: 15px; }
.abstand-oben { margin-top: 20px; }
.telefon { font-size: 22px; font-weight: 600; color: var(--dunkel); margin-bottom: 6px; }
.telefon a { text-decoration: none; color: inherit; }
.postfach { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.fehler h1 { font-size: 28px; color: var(--dunkel); margin: 0 0 14px; }
.fehler .erklaerung { color: var(--grau); max-width: 34em; margin: 0 auto 30px; }
.fehler .knopf + .knopf { margin-left: 8px; }

/* Auf schmalen Schirmen passt die Sprungleiste nicht mehr neben das Logo -
   sie schob die Seite bisher seitlich aus dem Bild. Es bleibt der Kontakt. */
@media (max-width: 760px) {
  .kopf nav.lang a { display: none; }
  .kopf nav.lang a.wichtig {
    display: inline-block; padding: 9px 16px; border: 1px solid #CBD3DC;
    border-radius: 6px; color: var(--text); font-weight: 600;
  }
  .kopf nav.lang a.wichtig:hover { border-color: var(--blau); color: var(--blau); }
}

/* ---------- Sehr schmale Schirme ----------
   Zwei Stellen brauchen dort eine andere Form: die Sprungleiste passt nicht
   mehr neben das Logo, und eine zweispaltige Tabelle laesst sich nicht auf
   320 Pixel pressen, ohne dass sie seitlich aus dem Bild laeuft. */
@media (max-width: 620px) {
  .kopf .mitte {
    height: auto; flex-wrap: wrap; align-items: center;
    padding-top: 12px; padding-bottom: 12px; gap: 10px 18px;
  }
  .kopf nav { margin-left: 0; width: 100%; gap: 18px; font-size: 14px; }

  /* Aus jeder Zeile wird ein Block: Begriff oben, Erklaerung darunter. */
  table, thead, tbody, tr, th, td { display: block; width: 100%; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--linie); padding: 14px 0; }
  td { border: 0; padding: 0 0 6px; }
  td:last-child { padding-bottom: 0; }
  td:first-child { font-weight: 600; color: var(--dunkel); }
  .spalte-drittel, .spalte-schmal { width: auto; }
}

/* Nach einer Aufzählung in einer Karte fehlte der Abstand zum folgenden Absatz. */
.karte ul + p { margin-top: 14px; }
