/* BRAHIMI Firmenzentrale V3.9.0 – ruhige, einheitliche Oberflächen */
body.bfz-v380-theme .ce-shell,
body.bfz-v380-theme .ix-wrap {
  width: min(100%, 1768px);
  max-width: 1768px;
  margin-inline: auto;
  box-sizing: border-box;
}

.ce-page-actions,
.ix-page-actions {
  min-height: 48px;
  align-items: center;
  margin: 0;
}

.cmd-section-icon img,
.bfz-section-icon img,
.bfz-v0314-fleet-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.bfz-v390-company-hero {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.bfz-v390-company-media,
.bfz-v390-company-media img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
}

.bfz-v390-company-avatar,
.bfz-v390-company-avatar img {
  width: 132px !important;
  height: 132px !important;
  border-radius: 50% !important;
  object-fit: cover;
  overflow: hidden;
}

.bfz-v390-company-contact,
.bfz-v390-person-contact {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #526f82;
}

.bfz-v390-company-contact a,
.bfz-v390-person-contact a {
  color: inherit;
  text-decoration: none;
}

.bfz-v390-company-contact a:hover,
.bfz-v390-person-contact a:hover {
  text-decoration: underline;
}

.bfz-v0311-personnel-page .bfz-personnel-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.bfz-v0311-personnel-page .bfz-personnel-identity {
  align-items: center;
}

.bfz-v0311-personnel-page .bfz-personnel-avatar {
  width: 132px;
  height: 132px;
  min-width: 132px;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #eaf2f7;
}

.bfz-v0311-personnel-page .bfz-personnel-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bfz-v0311-personnel-page .bfz-personnel-summary-grid {
  display: none !important;
}

.bfz-v0311-personnel-page .bfz-personnel-hero-actions {
  max-width: 440px;
}

.bfz-v390-record-panel {
  overflow: hidden;
}

.bfz-v390-record-panel > summary {
  cursor: pointer;
  list-style: none;
}

.bfz-v390-record-panel > summary::-webkit-details-marker {
  display: none;
}

.bfz-v390-record-content {
  padding: 0 22px 22px;
}

#bfz-v0312n-personnel-list-root,
#bfz-v0312n-personnel-list-root > :first-child,
#bfz-v0312n-personnel-list-root .bfz-v0312n-shell,
#bfz-v0312n-personnel-list-root .bfz-v0312n-table-shell {
  border-radius: 24px !important;
  overflow: hidden;
}

.bfz-v390-quick-editing [data-bfz-quick-slot] {
  animation: bfz-v390-quick-wiggle .18s ease-in-out infinite alternate;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.bfz-v390-quick-editing [data-bfz-quick-slot]:nth-child(2n) {
  animation-delay: -.09s;
  animation-direction: alternate-reverse;
}

.bfz-v390-quick-editing [data-bfz-quick-slot] > * {
  outline: 1px dashed rgba(255, 255, 255, .72);
  outline-offset: 3px;
}

.bfz-v390-quick-dragging {
  opacity: .35;
  animation: none !important;
}

.bfz-v390-quick-target > * {
  outline: 3px solid #fff !important;
  transform: scale(1.04);
}

@keyframes bfz-v390-quick-wiggle {
  from { rotate: -.6deg; }
  to { rotate: .6deg; }
}

@media (max-width: 840px) {
  .bfz-v390-company-hero {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .bfz-v390-company-media,
  .bfz-v390-company-media img,
  .bfz-v390-company-avatar,
  .bfz-v390-company-avatar img,
  .bfz-v0311-personnel-page .bfz-personnel-avatar {
    width: 96px;
    height: 96px;
    min-width: 96px;
  }
  .bfz-v390-company-hero-actions,
  .bfz-v0311-personnel-page .bfz-personnel-hero-actions {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bfz-v390-quick-editing [data-bfz-quick-slot] { animation: none; }
}
