/* Gestaltung der Plattform im Stil von idpioneer.com (Farben, Schrift Manrope, Abstände).
   Schrift vom eigenen Server (SIL Open Font License, siehe schrift/LICENSE-Manrope.txt). */

@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 300;
  src: url("schrift/manrope-latin-300-normal.f00b87a19db9.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400;
  src: url("schrift/manrope-latin-400-normal.1589a53d0b0e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 500;
  src: url("schrift/manrope-latin-500-normal.f95b8f975304.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 700;
  src: url("schrift/manrope-latin-700-normal.ed9e261b92db.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 300;
  src: url("schrift/manrope-latin-ext-300-normal.76a5e1457bf0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400;
  src: url("schrift/manrope-latin-ext-400-normal.e19a7f36dd91.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 500;
  src: url("schrift/manrope-latin-ext-500-normal.8230a231d5bf.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 700;
  src: url("schrift/manrope-latin-ext-700-normal.37a83b63486c.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* wie idpioneer.com */
  --ink: #0f1921;
  --ink-70: rgba(15, 25, 33, 0.7);
  --dark: #1e2831;
  --light: #fafafa;
  --white: #fff;
  --line: rgba(0, 0, 0, 0.5);
  --line-soft: rgba(0, 0, 0, 0.1);
  --font: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* nur für Hinweise im Programm */
  --fehler: #a3261d;
  --erfolg: #1d6b3a;
  --warnung-flaeche: #fff8e1;
  --warnung-rand: #c9a227;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
b, strong { font-weight: 700; }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1 { font-size: 34px; font-weight: 500; line-height: 1.15; letter-spacing: -0.005em; margin-bottom: 14px; }
h2 { font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 14px; }
p { margin: 0 0 10px; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 20px 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.leise { color: var(--ink-70); }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopfzeile: dunkel wie die Website */
.kopf { background: var(--dark); color: #fff; }
.kopf-innen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; max-width: 1280px; margin: 0 auto; padding: 14px 24px; }
.marke { font-size: 22px; color: #fff; text-decoration: none; letter-spacing: 0.01em; }
.marke b { font-weight: 700; }
.marke span { font-weight: 300; }
.menue { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; flex: 1; }
.menue a, .menue button.link { color: #fff; text-decoration: none; font-weight: 400; font-size: 15px; opacity: .85; }
.menue a:hover, .menue button.link:hover { opacity: 1; text-decoration: underline; }
.menue form { margin: 0; }
.menue .rechts { margin-left: auto; display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.suchfeld input[type=search] { width: 200px; padding: 7px 12px; border-radius: 3px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 15px; }
.suchfeld input::placeholder { color: rgba(255,255,255,.6); }
.sprachwahl { margin: 0; }
.kopf .sprachwahl { display: flex; gap: 2px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; padding: 2px; }
.kopf .sprachwahl button.link { color: #fff; opacity: .7; padding: 3px 8px; border-radius: 2px; font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.kopf .sprachwahl button.link:hover { opacity: 1; text-decoration: none; }
.kopf .sprachwahl button.link.aktiv { background: #fff; color: var(--dark); opacity: 1; }
button.link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Inhalt */
.inhalt { max-width: 1000px; margin: 0 auto; padding: 40px 24px 72px; }
.inhalt.breit { max-width: 1280px; }
.karte { background: var(--white); border: 1px solid var(--line-soft); border-radius: 3px; padding: 26px 28px; margin: 20px 0; }
.karte.schmal { max-width: 460px; margin: 48px auto; }
.kopfzeile { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.kopfzeile p.leise { line-height: 2.2; margin: 0; }
.kopfzeile h1, .kopfzeile h2 { margin-bottom: 0; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin: 24px 0; }
.raster > .karte { margin: 0; }

/* Knöpfe: wie die Website (dunkel, 3px Radius, kleiner Schub nach rechts) */
.knopf, button[type=submit]:not(.link) {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; min-height: 42px;
  border: 2px solid var(--dark); border-radius: 3px; background: var(--white); color: var(--ink);
  font: inherit; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.knopf:hover, button[type=submit]:not(.link):hover { transform: translateX(4px); box-shadow: 0 0.65em 1em -0.35em rgba(0, 18, 36, 0.22); }
.knopf.haupt, button[type=submit]:not(.link):not(.knopf) { background: var(--dark); color: #fff; }
.knopf.klein { padding: 3px 10px; min-height: 0; font-size: 14px; border-width: 1px; }
.knopf.gefahr { border-color: var(--fehler); color: var(--fehler); }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
form.inline { display: inline; margin: 0; }

/* Formulare: Beschriftung über dem Feld, genug Luft */
label { display: block; font-weight: 500; font-size: 15px; margin: 0 0 6px; }
form > div, .feld { margin-bottom: 18px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input[type=tel], input[type=url], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--white);
  font: inherit; font-weight: 400; color: var(--ink);
}
textarea { min-height: 80px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.helptext { display: block; color: var(--ink-70); font-size: 14px; margin-top: 4px; }
.errorlist { color: var(--fehler); padding-left: 18px; margin: 6px 0; }
fieldset { border: 1px solid var(--line-soft); border-radius: 3px; }
legend { padding: 0 6px; }

/* Filterleiste */
.filter { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-end; background: var(--white); border: 1px solid var(--line-soft); border-radius: 3px; padding: 18px 22px; margin: 0 0 24px; }
.filter .feld { margin: 0; min-width: 200px; flex: 0 1 260px; }
.filter .feld.breit { flex: 1 1 320px; }
.filter label { font-size: 14px; color: var(--ink-70); font-weight: 500; }
.filter .haken { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 0 0 auto; padding-bottom: 10px; }
.filter .haken label { margin: 0; color: var(--ink); }

/* Tabellen wie auf der Website */
.tabellenrahmen { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 3px; background: var(--white); }
table.liste { width: 100%; border-collapse: collapse; }
table.liste th, table.liste td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.liste thead th { background: var(--dark); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
table.liste tbody tr:hover { background: var(--light); }
table.liste .zahl { text-align: right; white-space: nowrap; }

/* Kennzeichen */
.marke-status { display: inline-block; padding: 3px 12px; margin-right: 6px; border-radius: 3px; border: 1px solid var(--line-soft); background: var(--light); font-size: 13px; font-weight: 500; white-space: nowrap; }
.marke-status.warnung { border-color: var(--fehler); color: var(--fehler); background: #fff; }
.marke-status.gut { border-color: var(--erfolg); color: var(--erfolg); background: #fff; }
.ueberfaellig { color: var(--fehler); font-weight: 500; }
.hinweis { padding: 14px 18px; border-left: 4px solid var(--warnung-rand); background: var(--warnung-flaeche); border-radius: 3px; margin: 16px 0; }

/* Meldungen */
.meldungen { list-style: none; padding: 0; margin: 0 0 20px; }
.meldungen li { padding: 12px 16px; border-radius: 3px; background: var(--white); border: 1px solid var(--line-soft); border-left-width: 4px; margin-bottom: 8px; }
.meldungen .error { border-left-color: var(--fehler); }
.meldungen .success { border-left-color: var(--erfolg); }
.meldungen .warning { border-left-color: var(--warnung-rand); }

/* Kennzahlen */
.zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 24px 0; }
.zahlen a { display: block; background: var(--white); border: 1px solid var(--line-soft); border-radius: 3px; padding: 18px 20px; text-decoration: none; color: var(--ink-70); font-size: 14px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.zahlen a:hover { transform: translateY(-2px); box-shadow: 0 0.65em 1em -0.35em rgba(0, 18, 36, 0.22); }
.zahlen strong { display: block; font-size: 34px; font-weight: 500; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }

/* Tafel */
.tafel { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 8px; }
.tafel .spalte { flex: 0 0 280px; background: #f0f1f2; border-radius: 3px; padding: 12px; }
.tafel .spalte h2 { font-size: 15px; margin: 4px 4px 12px; }
.tafel .karte { margin: 0 0 12px; padding: 14px 16px; }
.tafel select { margin-top: 10px; padding: 6px 8px; }

/* Zuweisen im Kopf einer Seite */
.zuweisen { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.zuweisen label { margin: 0; color: var(--ink-70); }
.zuweisen select { width: auto; min-width: 220px; padding: 6px 10px; }

/* Angaben und Verlauf */
dl.angaben { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
dl.angaben dt { color: var(--ink-70); }
dl.angaben dd { margin: 0; font-weight: 400; }
.verlauf { list-style: none; padding: 0; margin: 0; }
.verlauf li, div.verlauf { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }

@media (max-width: 766px) {
  h1 { font-size: 28px; }
  .inhalt { padding: 24px 16px 48px; }
  .karte { padding: 20px 18px; }
  .suchfeld input[type=search] { width: 100%; }
  .filter .feld { flex: 1 1 100%; }
}

/* Erfolgreich abgeschlossene Kunden */
.erfolge { list-style: none; padding: 0; margin: 0; }
.erfolge li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
