/* wartung.css — Wartungsbereich */

/* ---- Modulkarte ---- */
.modul-karte{
  padding:22px;margin-bottom:16px;
  border-left:4px solid var(--eiche);
  cursor:pointer;
  transition:transform .2s,box-shadow .2s;
}
.modul-karte:hover{transform:translateY(-2px);box-shadow:var(--schatten-tief);}
.modul-karte > *{position:relative;z-index:2;}

.modul-kopf{display:flex;align-items:flex-start;gap:14px;}

.modul-symbol{
  width:46px;height:46px;flex-shrink:0;border-radius:15px;
  display:flex;align-items:center;justify-content:center;font-size:21px;
  background:linear-gradient(140deg,rgba(200,169,107,.30),rgba(138,94,56,.20));
  border:1px solid rgba(255,255,255,.6);
}

.modul-text{flex:1;min-width:0;}
.modul-text h2{margin-bottom:4px;}
.modul-text .sub{font-size:13.5px;line-height:1.5;}

.modul-fuss{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;
  margin-top:16px;padding-top:14px;
  border-top:1px solid rgba(200,155,106,.22);
}

/* ---- Zustandsanzeige ---- */
.zustand-marke{
  display:inline-flex;align-items:center;gap:7px;
  padding:5px 12px;border-radius:20px;
  font-size:12px;font-weight:700;letter-spacing:.4px;
}
.zustand-marke.frei{
  background:rgba(79,122,82,.16);color:#3B5C3E;
  border:1px solid rgba(79,122,82,.34);
}
.zustand-marke.wartung{
  background:rgba(230,162,60,.18);color:#8A6118;
  border:1px solid rgba(230,162,60,.40);
}
.zustand-marke.gesperrt{
  background:rgba(180,85,63,.15);color:#8E3F2D;
  border:1px solid rgba(180,85,63,.34);
}

.zustand-punkt{
  width:9px;height:9px;border-radius:50%;flex-shrink:0;display:block;
}
.zustand-punkt.frei{
  background:#4F7A52;
  box-shadow:0 0 0 3px rgba(79,122,82,.18);
}
.zustand-punkt.wartung{
  background:#E6A23C;
  box-shadow:0 0 0 3px rgba(230,162,60,.20);
  animation:pulsieren 2.4s ease-in-out infinite;
}
.zustand-punkt.gesperrt{
  background:#B4553F;
  box-shadow:0 0 0 3px rgba(180,85,63,.18);
}

@keyframes pulsieren{
  0%,100%{opacity:1;}
  50%{opacity:.42;}
}

/* ---- Zustandswahl im Formular ---- */
.zustand-wahl{display:flex;flex-direction:column;gap:9px;}

.zustand-knopf{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-rows:auto auto;
  gap:2px 12px;
  align-items:center;
  padding:14px 16px;width:100%;text-align:left;
  border-radius:16px;min-height:auto;
  color:var(--tinte);
  background:rgba(255,255,255,.6);
  border:1.5px solid rgba(200,155,106,.28);
  box-shadow:none;
  transition:background .18s,border-color .18s;
}
.zustand-knopf:hover{filter:none;box-shadow:none;background:rgba(255,255,255,.9);}

.zustand-knopf .zustand-punkt{grid-row:1 / span 2;}
.zustand-name{font-size:15px;font-weight:650;}
.zustand-info{
  font-size:12.5px;color:var(--tinte-weich);font-weight:500;
  grid-column:2;
}

.zustand-knopf.aktiv[data-zustand="frei"]{
  background:rgba(79,122,82,.14);border-color:rgba(79,122,82,.46);
}
.zustand-knopf.aktiv[data-zustand="wartung"]{
  background:rgba(230,162,60,.15);border-color:rgba(230,162,60,.48);
}
.zustand-knopf.aktiv[data-zustand="gesperrt"]{
  background:rgba(180,85,63,.13);border-color:rgba(180,85,63,.46);
}

#wartungstext-feld.verstecke{display:none;}

.zeitstempel{font-size:12px;color:var(--tinte-weich);}

/* ---- Profil-Umschalter (Herzenssache Check) ---- */
.profil-leiste{
  display:flex;align-items:center;gap:10px;
  padding:12px 16px;margin-top:8px;
  border-radius:14px;
  background:rgba(74,124,140,.08);
  border:1px solid rgba(74,124,140,.2);
}
.profil-label{font-size:13px;font-weight:650;color:var(--tinte);}
#profil-auswahl{
  flex:1;font-size:14px;padding:8px 10px;border-radius:10px;
  border:1px solid rgba(74,124,140,.3);background:#fff;
}

.aufraeum-stand{
  font-size:14px;line-height:1.6;color:var(--tinte);
  padding:12px 14px;margin:0 0 14px;
  border-radius:12px;
  background:rgba(74,124,140,.08);
}
