/* ---- Kopfbereich App ---- */
.kopf{display:flex;align-items:center;gap:14px;margin-bottom:24px;padding:20px 22px;}
.kopf .siegel{width:48px;height:48px;border-radius:16px;font-size:20px;margin:0;}
.kopf-text h1{font-size:21px;text-align:center;}
.kopf-text{flex:1;}
.kopf-text .meta{text-align:center;}
.kopf-text .meta{margin-bottom:3px;}

/* ---- Modul-Kacheln ---- */
.kacheln{display:flex;flex-direction:column;gap:18px;}

.kachel{
  padding:13px 15px;cursor:pointer;
  min-height:80px;
  display:flex;flex-direction:column;justify-content:space-between;
  transition:transform .22s cubic-bezier(.2,.7,.3,1),box-shadow .22s;
  border-left:4px solid var(--eiche);
}
.kachel:hover{transform:translateY(-3px);box-shadow:var(--schatten-tief);}
.kachel:active{transform:translateY(0);}
.kachel.gold{border-left-color:var(--gold);}

.kachel-kopf{display:flex;align-items:flex-start;gap:11px;position:relative;z-index:2;}
.kachel-icon{
  width:35px;height:35px;flex-shrink:0;border-radius:11px;
  background:linear-gradient(140deg,rgba(200,169,107,.30),rgba(138,94,56,.20));
  border:1px solid rgba(255,255,255,.6);
  display:flex;align-items:center;justify-content:center;font-size:17px;
}
.kachel h2{margin-bottom:3px;text-align:center;font-size:1.05rem;}
.kachel .kachel-kopf > div:last-child{flex:1;}
.kachel .sub{font-size:12px;line-height:1.45;}

.kachel-fuss{
  display:flex;align-items:center;justify-content:space-between;
  margin-top:12px;padding-top:10px;position:relative;z-index:2;
  border-top:1px solid rgba(200,155,106,.22);
  font-size:11.5px;color:var(--tinte-weich);font-weight:600;
}
.pfeil{font-size:15px;color:var(--eiche-dunkel);}

.abzeichen{
  display:inline-block;padding:4px 11px;border-radius:20px;font-size:11px;
  letter-spacing:.7px;text-transform:uppercase;font-weight:700;
  background:rgba(200,169,107,.22);color:var(--eiche-dunkel);
  border:1px solid rgba(200,169,107,.40);
}

/* ---- Profil-Button unten links ---- */
.profil-knopf{
  position:fixed;left:18px;bottom:20px;z-index:40;
  width:auto;padding:12px 18px 12px 13px;
  display:flex;align-items:center;gap:10px;
  font-size:14px;font-weight:650;color:var(--tinte);
  background:var(--glas);
  border:1px solid var(--glas-rand);
  border-radius:40px;
  box-shadow:var(--schatten);
  backdrop-filter:blur(18px) saturate(1.25);
  -webkit-backdrop-filter:blur(18px) saturate(1.25);
  min-height:auto;
}
.profil-knopf:hover{filter:none;box-shadow:var(--schatten-tief);}
.profil-avatar{
  width:30px;height:30px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(140deg,var(--gold),var(--eiche-dunkel));
  color:#fff;font-size:13px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}

/* ---- Kachel-Fuss ---- */
.fuss-text{font-size:12.5px;font-weight:650;color:var(--tinte-weich);}
.schloss{font-size:14px;opacity:.5;}

/* ---- Gesperrte Kachel ---- */
.kachel.gesperrt{
  cursor:default;opacity:.62;
  border-left-color:rgba(138,94,56,.26);
}
.kachel.gesperrt:hover{transform:none;box-shadow:var(--schatten);}
.kachel.gesperrt .kachel-icon{filter:grayscale(.55);}

/* ---- Wartungszugang ---- */
.wartung-knopf{
  right:18px;left:auto;
  text-decoration:none;
}
.wartung-knopf .profil-avatar{
  background:linear-gradient(140deg,#8A5E38,#5C3D22);
  font-size:14px;
}
.wartung-knopf.verstecke{display:none;}

/* Hinweis wenn ein Modul nicht freigegeben ist */
.wartung-knopf .profil-avatar.achtung{
  background:linear-gradient(140deg,#E6A23C,#B4553F);
}
