/*
 * V218 — Stile der Sicht „Servicetechnik gesamt".
 *
 * Bewusst eine eigene Datei statt eines <style>-Blocks in der Seite: das
 * Wochenbild entsteht zur Laufzeit per innerHTML, und gescopte Astro-Stile
 * tragen eine Kennung, die solche Elemente nicht haben. Der Raster blieb damit
 * ungestaltet (gesehen am 21.10.2026). Hier gilt sie überall und in
 * Entwicklung wie Betrieb gleich. Vorbild: public/bc-task.js.
 */
.sv-body { margin: 0; background: #F4F6F7; color: #0D0E11;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; }
.sv-kopf { display: flex; align-items: center; gap: 12px; padding: 11px 20px;
  background: #fff; border-bottom: 1px solid #E2E3E4; flex-wrap: wrap; }
.sv-marke { width: 30px; height: 30px; background: #25C3DA; border-radius: 4px; flex: none; }
.sv-h1 { font-size: 15px; font-weight: 700; line-height: 1.2; }
.sv-sub { font-size: 11px; color: #5A6163; }
.sv-spacer { flex-grow: 1; }
.sv-suchlabel { font-size: 11px; color: #5A6163; }
.sv-kopf input[type=search] { font: inherit; font-size: 12.5px; width: 212px;
  padding: 7px 10px; border: 1px solid #C8C9CA; border-radius: 4px; }
.sv-stand { font-size: 11px; font-weight: 600; color: #5A6163; border: 1px solid #C8C9CA;
  border-radius: 4px; padding: 5px 9px; white-space: nowrap; }
.sv-stand--ok { background: #E8F5EC; color: #15632F; border-color: #1E7A3D; }
.sv-stand--fehler { background: #FDECEA; color: #96261A; border-color: #C0392B; }
.sv-knopf { font: inherit; font-size: 12px; font-weight: 600; padding: 7px 12px;
  border: 1px solid #0D0E11; border-radius: 4px; background: #fff; cursor: pointer; }
.sv-knopf:hover { background: #EEF2F3; }
.sv-klein { padding: 5px 10px; font-weight: 500; border-color: #C8C9CA; }

.sv-main { padding: 14px 20px 28px; }
.sv-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sv-kpi { background: #fff; border: 1px solid #E2E3E4; border-radius: 6px; padding: 10px 12px; }
.sv-kpi-zahl { font-size: 21px; font-weight: 700; }
.sv-rot { color: #96261A; } .sv-gelb { color: #7A5410; }
.sv-kpi-text { font-size: 10.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: #5A6163; }

.sv-raster { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 14px;
  align-items: start; margin-top: 13px; }
.sv-woche { background: #fff; border: 1px solid #E2E3E4; border-radius: 6px; overflow: hidden; }
.sv-woche-kopf { display: flex; align-items: center; gap: 9px; padding: 9px 12px;
  border-bottom: 1px solid #E2E3E4; font-size: 13px; }
.sv-hinweis { font-size: 11px; color: #5A6163; }

.sv-grid { display: block; }
.sv-zeile { display: grid; grid-template-columns: 196px repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid #F0F1F2; }
.sv-zeile--kopf { font-size: 10px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: #5A6163; border-bottom: 1px solid #E2E3E4; }
.sv-sp-name { padding: 8px 12px; font-size: 11.5px; min-width: 0; }
.sv-sp-sub { display: block; color: #5A6163; font-size: 11px; }
.sv-sp-tag { padding: 5px; border-left: 1px solid #F0F1F2; font-size: 11px;
  display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sv-pille { display: block; border-radius: 3px; padding: 4px 6px; font-size: 10px;
  line-height: 1.3; border: 1px solid #C8C9CA; background: #fff; min-width: 0; }
.sv-pille b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-pille span { color: #3D4548; }
.sv-pille--stoerung { background: #FDECEA; border-color: #C0392B; }
.sv-pille--einsatz, .sv-pille--aufgabe { background: #E6F8FB; border-color: #25C3DA; }
.sv-gruppe { display: flex; align-items: center; gap: 8px; padding: 6px 12px;
  background: #EEF2F3; border-bottom: 1px solid #E2E3E4; font-size: 11px; }
.sv-gruppe span { color: #3D4548; }
.sv-gruppe a { font-size: 10.5px; font-weight: 600; color: #0D6C7D; text-decoration: none; }
.sv-gruppe--warn { background: #FCF3E0; border-bottom-color: #E0A32B; }
.sv-gruppe--warn span { color: #7A5410; }

.sv-seite { display: flex; flex-direction: column; gap: 11px; }
.sv-karte { background: #fff; border: 1px solid #E2E3E4; border-radius: 6px; overflow: hidden; }
.sv-karte-kopf { padding: 9px 12px; border-bottom: 1px solid #E2E3E4;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sv-zz { display: flex; align-items: center; gap: 8px; padding: 7px 12px;
  border-bottom: 1px solid #F0F1F2; font-size: 11.5px; }
.sv-zz span { flex-grow: 1; } .sv-zz b { font-variant-numeric: tabular-nums; }
.sv-zz--rot { background: #FDECEA; color: #96261A; }
.sv-ot { padding: 7px 12px; border-bottom: 1px solid #F0F1F2; font-size: 11.5px; line-height: 1.4; }
.sv-ot span { display: block; color: #5A6163; font-size: 11px; }
.sv-ot--mehr { color: #5A6163; }
.sv-orte { padding: 7px; display: flex; flex-wrap: wrap; gap: 5px; }
.sv-ort { font-size: 11.5px; font-weight: 600; color: #0D0E11; text-decoration: none;
  border: 1px solid #C8C9CA; border-radius: 4px; padding: 5px 10px; }
.sv-ort:hover { border-color: #0D0E11; }
.sv-ort--bald { color: #5A6163; border-style: dashed; }
/* V222 — Kasten für einen Hinweis in der Seitenspalte der Standortsicht. */
.sv-hinweis-box { padding: 9px 11px; }
.sv-hinweis-box p { margin: 0; font-size: 11.5px; line-height: 1.55; color: #3D4548; }
.sv-leer { margin: 0; padding: 14px; font-size: 12px; color: #5A6163; }

@media (max-width: 1200px) { .sv-raster { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .sv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------------------
   V220 — Anmeldung: zweigeteilt, links die Marke, rechts das Formular.
   Eigene Datei aus demselben Grund wie oben: die Seite steht für sich.
   --------------------------------------------------------------------------- */
.an2 { margin: 0; min-height: 100vh; background: #F4F6F7; color: #0D0E11;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; }
.an2-huelle { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

/* Linke Hälfte */
.an2-marke { background: #0D0E11; color: #fff; padding: 52px 56px;
  display: flex; flex-direction: column; gap: 26px; position: relative; overflow: hidden; }
.an2-marke::after { content: ''; position: absolute; left: 56px; right: 56px; top: 164px;
  height: 3px; background: #25C3DA; }
.an2-logo { width: 212px; height: auto; display: block; background: #fff;
  border-radius: 6px; padding: 12px 16px; box-sizing: border-box; }
.an2-ort { margin-top: 42px; }
.an2-ort-klein { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #25C3DA; margin-bottom: 8px; }
.an2-ort h1 { margin: 0; font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.an2-claim { margin: 0; max-width: 34ch; font-size: 14px; line-height: 1.7; color: #C8C9CA; }
.an2-fuss-links { margin-top: auto; font-size: 11.5px; color: #7E8587; }

/* Rechte Hälfte */
.an2-form-seite { display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
#an-form { width: 100%; max-width: 384px; display: flex; flex-direction: column; }
#an-form h2 { margin: 0 0 6px; font-size: 24px; font-weight: 600; }
.an2-hinweis { margin: 0 0 26px; font-size: 13.5px; line-height: 1.6; color: #3D4548; }
#an-form label { font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: #5A6163; margin-bottom: 7px; }
#an-form input[type=email], #an-form input[type=password], #an-form input[type=text] {
  font: inherit; font-size: 15px; height: 48px; padding: 0 14px; margin-bottom: 20px;
  border: 1px solid #C8C9CA; border-radius: 6px; background: #fff; color: #0D0E11;
  transition: border-color .12s, box-shadow .12s; width: 100%; box-sizing: border-box; }
#an-form input::placeholder { color: #9AA0A2; }
#an-form input:focus { outline: none; border-color: #25C3DA; box-shadow: 0 0 0 3px rgba(37,195,218,.22); }

.an2-pwzeile { position: relative; }
.an2-pwzeile input { padding-right: 50px !important; }
.an2-augen { position: absolute; right: 6px; top: 4px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: #5A6163; cursor: pointer; border-radius: 6px; }
.an2-augen:hover { background: #EEF2F3; color: #0D0E11; }
.an2-augen--an { color: #0D7F91; }

.an2-knopf { font: inherit; font-size: 15px; font-weight: 600; min-height: 48px;
  border: 1px solid #0D0E11; border-radius: 6px; background: #25C3DA; color: #0D0E11;
  cursor: pointer; transition: filter .12s, transform .06s; }
.an2-knopf:hover { filter: brightness(1.06); }
.an2-knopf:active { transform: translateY(1px); }
.an2-knopf[disabled] { opacity: .65; cursor: default; }
.an2-laeuft input { opacity: .6; }

.an-fehler { margin: 18px 0 0; font-size: 13px; line-height: 1.55; color: #8E2318;
  background: #FDECEA; border: 1px solid #C0392B; border-radius: 6px; padding: 11px 13px; }
.an2-fuss { margin: 26px 0 0; font-size: 12.5px; line-height: 1.6; color: #5A6163; }
.an2-fuss a, .an-fuss a { color: #0D6C7D; }

@media (max-width: 880px) {
  /* Zeilen statt Spalten, und der Markenteil nur so hoch wie sein Inhalt:
     sonst zieht ihn die volle Fensterhöhe auseinander und unter dem
     Standortnamen steht eine große schwarze Fläche. */
  .an2-huelle { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .an2-marke { padding: 32px 26px 28px; gap: 14px; }
  .an2-marke::after { top: 128px; left: 26px; right: 26px; }
  .an2-logo { width: 168px; }
  .an2-ort { margin-top: 18px; }
  .an2-ort h1 { font-size: 26px; }
  .an2-claim { display: none; }
  .an2-fuss-links { display: none; }
  /* Oben ansetzen statt mittig: sonst schiebt die Resthöhe eines langen
     Telefons das Formular weit unter den Markenblock. */
  .an2-form-seite { padding: 30px 26px 44px; align-items: flex-start; }
}

/* „Kein Zugang" nutzt die schlichte Karte weiter */
.an-body { margin: 0; background: #F4F6F7; color: #0D0E11;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; }
.an-karte { max-width: 460px; margin: 0 auto; padding: 68px 24px 48px; }
.an-marke { width: 38px; height: 38px; background: #25C3DA; border-radius: 5px; margin-bottom: 18px; }
.an-ueber { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #0D7F91; }
.an-karte h1 { margin: 6px 0 10px; font-size: 24px; font-weight: 600; line-height: 1.25; }
.an-text { margin: 0 0 22px; font-size: 13.5px; line-height: 1.6; color: #3D4548; }
.an-fuss { margin: 18px 0 0; font-size: 12px; line-height: 1.55; color: #5A6163; }

.kz-liste { background: #fff; border: 1px solid #E2E3E4; border-radius: 6px; margin: 18px 0 0; }
.kz-liste div { padding: 10px 13px; border-bottom: 1px solid #F0F1F2; font-size: 12.5px; }
.kz-liste div:last-child { border-bottom: 0; }
.kz-liste a { text-decoration: none; color: #0D0E11; }
.kz-liste a:hover b { color: #0D6C7D; }
.kz-liste b { display: block; }
.kz-liste span { color: #5A6163; font-size: 11.5px; }
