/* systeMEvolutions Kundenportal - keine externen Schriften oder Skripte (Datenschutz) */
:root {
  --gruen: #314c45; --gruen-dunkel: #1f3a2c; --gelb: #FFC00E; --text: #1b2621; --text2: #45524b;
  --rand: #e0e6e2; --hell: #f3f5f4; --hell-gruen: #eef4f0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--text); background: var(--hell); font-size: 15px; line-height: 1.5; }
a { color: var(--gruen); } a:hover { color: var(--gruen-dunkel); }
h1 { font-size: 28px; margin: 0; letter-spacing: -0.3px; }
h2 { font-size: 17px; margin: 0; }
p { margin: 0; }
.muted { color: var(--text2); }
.klein { font-size: 13px; }

/* Kopfzeile */
.kopf { background: var(--gruen); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px 32px; }
.marke { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.marke img { width: 41px; height: 36px; object-fit: contain; }
.marke b { font-size: 18px; letter-spacing: 0.2px; } .marke b span { color: var(--gelb); }
.marke small { display: block; font-size: 12px; color: #d7e4dc; }
.nav { display: flex; flex-wrap: wrap; gap: 6px; }
.nav a, .nav button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; color: #fff; text-decoration: none; font: inherit; font-size: 14px; background: none; border: 0; cursor: pointer; }
.nav a.aktiv { background: #fff; color: var(--gruen-dunkel); font-weight: 600; }
.nav a:hover, .nav button:hover { background: rgba(255,255,255,0.12); color: #fff; }
.nav a.aktiv:hover { background: #fff; color: var(--gruen-dunkel); }
.nutzer { font-size: 13px; text-align: right; color: #d7e4dc; } .nutzer b { color: #fff; display: block; font-size: 14px; }

main { max-width: 1180px; margin: 0 auto; padding: 32px 24px 56px; display: flex; flex-direction: column; gap: 20px; }
.schmal { max-width: 560px; }

/* Karten, Formulare */
.karte { background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.karte.null { padding: 0; gap: 0; overflow: hidden; }
.karte-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid #e8ece9; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 18px; }
.zeile { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.zeile > .haupt { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.zeile > .seite { flex: 2 1 330px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
label.feld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #34423a; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], textarea, select {
  min-height: 44px; padding: 0 12px; border: 1px solid #cdd7d1; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 400; color: var(--text); background: #fff; width: 100%; }
textarea { padding: 10px 12px; resize: vertical; min-height: 90px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gruen); outline-offset: 1px; border-color: var(--gruen); }
input[type=file] { font: inherit; font-size: 14px; padding: 18px 12px; border: 2px dashed #b9c6be; border-radius: 10px; background: #fafbfa; width: 100%; cursor: pointer; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: #34423a; }
.haken input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gruen); flex: none; }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
legend { font-size: 13px; font-weight: 600; color: #34423a; padding: 0 0 6px; }
.fehlertext { color: #9a2c00; font-size: 13px; font-weight: 600; }
.feld.fehler input, .feld.fehler textarea { border-color: #c2410c; }
.versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 8px; border: 0; background: var(--gruen); color: #fff; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--gruen-dunkel); color: #fff; }
.knopf.zwei { background: #fff; color: var(--text); border: 1px solid #cdd7d1; }
.knopf.zwei:hover { background: var(--hell); color: var(--text); }
.knopf.gelb { background: var(--gelb); color: #1f2a24; }
.knopf.rot { background: #fff; color: #8a3200; border: 1px solid #e3b9a5; }
.knopf.breit { width: 100%; }
.knopf.klein { min-height: 36px; padding: 0 12px; font-size: 13px; }
form.inline { display: inline; }

/* Hinweise */
.meldung { padding: 12px 16px; border-radius: 10px; font-size: 14px; border: 1px solid; }
.meldung.ok { background: #e2efe7; border-color: #c3dccb; color: #1b3d29; }
.meldung.info { background: #eef1ef; border-color: #d6ddd9; color: #283630; }
.meldung.fehler { background: #fdece3; border-color: #f0c4ad; color: #6e2600; }
.b2b { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; background: var(--hell-gruen); border: 1px solid #cfe0d5; font-size: 14px; color: var(--gruen-dunkel); }
.gelbbox { background: #fff6d6; border: 1px solid #f0d37a; border-radius: 10px; padding: 14px 16px; color: #3d3210; font-size: 14px; }

/* Status-Marken */
.marke-s { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 10px; white-space: nowrap; }
.marke-s.gelb { background: #fff1c7; color: #6b4e00; } .marke-s.blau { background: #e4ecf5; color: #23466e; }
.marke-s.gruen { background: #e2efe7; color: #1f5134; } .marke-s.orange { background: #fde3cc; color: #7a3500; }
.marke-s.grau { background: #eceeed; color: #45524b; }

/* Tabellen */
.tabelle { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: #55645c; font-size: 12px; font-weight: 600; padding: 10px 12px; }
td { padding: 11px 12px; border-top: 1px solid #eef1ef; vertical-align: top; }
th:first-child, td:first-child { padding-left: 20px; } th:last-child, td:last-child { padding-right: 20px; }
td.r, th.r { text-align: right; white-space: nowrap; }
tr.klickbar td a { text-decoration: none; color: var(--text); font-weight: 600; }

/* Ablauf / Verlauf */
.schritte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.schritte li { display: flex; align-items: center; gap: 8px; color: #55645c; }
.schritte .punkt { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #b9c6be; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.schritte li.done { color: #1f5134; } .schritte li.done .punkt { background: #cfe0d5; border-color: #cfe0d5; }
.schritte li.now { color: var(--text); font-weight: 700; } .schritte li.now .punkt { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.verlauf { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.verlauf li { display: flex; gap: 12px; font-size: 14px; }
.verlauf .p { flex: none; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--gruen); }
.verlauf li.kunde .p { background: var(--gelb); }
.verlauf .nachricht { white-space: pre-wrap; background: var(--hell); border-radius: 8px; padding: 8px 12px; margin-top: 4px; }

/* Prüfergebnis */
.befund { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.befund li { display: flex; gap: 10px; }
.befund .i { flex: none; width: 18px; font-weight: 700; text-align: center; }
.befund .ok { color: #1f5134; } .befund .hinweis { color: #8a5a00; } .befund .problem { color: #9a2c00; }
.preiszeile { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eef1ef; font-size: 14px; }
.summe { display: flex; justify-content: space-between; padding: 12px 0 2px; font-size: 17px; font-weight: 700; }

/* Anmeldeseite */
.anmeldung { display: flex; flex-wrap: wrap; min-height: calc(100vh - 64px); }
.anmeldung .links { flex: 1 1 420px; background: var(--gruen); color: #fff; padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.anmeldung .links h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.anmeldung .links ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.anmeldung .links li { display: flex; gap: 14px; } .anmeldung .links li span.n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gelb); color: #1f2a24; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.anmeldung .links li small { display: block; color: #d7e4dc; font-size: 14px; }
.anmeldung .rechts { flex: 1 1 420px; background: #fff; padding: 48px 32px; display: flex; align-items: center; justify-content: center; }
.anmeldung form { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }

footer.fuss { padding: 18px 32px 28px; font-size: 13px; color: var(--text2); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
footer.fuss a { color: var(--text2); }

@media (max-width: 640px) {
  .kopf { padding: 12px 16px; } main { padding: 20px 14px 40px; }
  .anmeldung .links { padding: 36px 24px; } .nutzer { display: none; }
}
.trenner { border-top: 1px solid #e4e9e6; padding-top: 14px; }
.abstand { margin-top: 6px; }
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.leer { padding: 32px 20px; text-align: center; color: var(--text2); }
.dateiliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.dateiliste li { display: flex; justify-content: space-between; gap: 10px; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hinweis-klein { font-size: 12px; color: var(--text2); line-height: 1.45; }
.null-rand { border: 0; padding: 0; }
.nachricht-block { white-space: pre-wrap; background: var(--hell); border-radius: 8px; padding: 8px 12px; }
.nachricht-zeilen { white-space: pre-wrap; }
