/* Vermieterrechtsschutz Compact Case Tabs */

.fc-landlord-cases-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fc-landlord-cases-tabs::-webkit-scrollbar {
  display: none;
}

.fc-landlord-case-tab {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 1.1rem;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: rgba(29, 29, 31, 0.62);
  transition:
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    color 450ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 450ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fc-landlord-case-tab:hover {
  color: #1d1d1f;
  transform: scale(1.015);
}

.fc-landlord-case-tab.is-active {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.fc-landlord-case-panel {
  display: none;
}

.fc-landlord-case-panel.is-active {
  display: grid;
  animation: fcLandlordCaseFade 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fcLandlordCaseFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fc-landlord-case-card {
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .fc-landlord-case-card:hover {
    transform: translateY(-4px) scale(1.004);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.10);
  }
}

.fc-landlord-case-visual {
  background:
    radial-gradient(circle at 22% 12%, rgba(0, 113, 227, 0.16), transparent 34%),
    linear-gradient(160deg, #fff8e7, #ffffff);
}

.fc-landlord-case-visual-blue {
  background:
    radial-gradient(circle at 22% 12%, rgba(0, 113, 227, 0.20), transparent 34%),
    linear-gradient(160deg, #edf6ff, #ffffff);
}

.fc-landlord-case-visual-dark {
  background:
    radial-gradient(circle at 22% 12%, rgba(242, 183, 89, 0.22), transparent 34%),
    linear-gradient(160deg, #1d1d1f, #111214);
}

.fc-landlord-case-symbol {
  position: relative;
  width: min(62%, 240px);
  aspect-ratio: 1;
  border-radius: 44% 56% 48% 52%;
  background: rgba(0, 113, 227, 0.12);
}

.fc-landlord-case-symbol::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

.fc-landlord-case-symbol::after {
  content: "€";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(4rem, 8vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  color: #0071e3;
}

.fc-landlord-case-symbol-keys::after {
  content: "⌂";
  color: #1d1d1f;
}

.fc-landlord-case-symbol-tools::after {
  content: "↯";
  color: #F2B759;
}

@media (max-width: 767px) {
  .fc-landlord-case-symbol {
    width: min(54%, 190px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-landlord-case-panel.is-active {
    animation: none;
  }

  .fc-landlord-case-card,
  .fc-landlord-case-tab {
    transition: none !important;
  }
}
