/* SERP header layout aligned with BootstrapMade sections */
.serp-main {
  /* Equals Bootstrap 5 form-control-lg min-height */
  --serp-search-control-height: calc(1.875rem + 1rem + (var(--bs-border-width) * 2));
}

.serp-main .search-results-header {
  background: color-mix(in srgb, var(--accent-color), transparent 97%);
}

.serp-home-link {
  color: inherit;
}

.serp-logo {
  width: var(--serp-search-control-height);
  height: var(--serp-search-control-height);
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--default-color), transparent 85%);
}

.serp-tabs-shell {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 12px;
  padding: 1rem;
}

.serp-tabpanel .nav-tabs {
  margin-bottom: 0.75rem;
}

.serp-status-bar {
  background: transparent;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 86%);
  border-radius: 0;
  padding: 0.4rem 0.1rem 0.7rem;
}

.serp-status-statline {
  color: var(--heading-color);
  font-size: 0.95rem;
  font-weight: 600;
}

.serp-status-control-label {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.serp-status-contentguard .btn-group .btn,
.serp-status-contentguard .dropdown-toggle,
.serp-status-contentguard .btn {
  border-radius: 999px;
}

.serp-status-host-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
  color: color-mix(in srgb, var(--default-color), transparent 18%);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
}

.serp-status-host-toggle:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  color: var(--accent-color);
}

.serp-status-dym {
  width: 100%;
}

.serp-subcat-cloud {
  margin-top: 0.15rem;
}

.serp-subcat-chip {
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 72%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.3rem 0.78rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.serp-subcat-chip:hover,
.serp-subcat-chip:focus-visible {
  color: var(--contrast-color);
  border-color: var(--accent-color);
  background: var(--accent-color);
  box-shadow: 0 10px 18px color-mix(in srgb, var(--accent-color), transparent 78%);
  transform: translateY(-1px);
}

.serp-subcat-chip.is-active,
.serp-subcat-chip.active {
  color: var(--contrast-color);
  border-color: var(--accent-color);
  background: var(--accent-color);
}

.serp-subcat-chip:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-color), #ffffff 25%);
  outline-offset: 2px;
}

@media (max-width: 767.98px) {
  .serp-tabs-shell {
    padding: 0.75rem;
    border-radius: 10px;
  }

  .serp-status-bar {
    padding: 0.35rem 0 0.6rem;
  }

  .serp-status-statline {
    font-size: 0.9rem;
  }

  .serp-subcat-chip {
    font-size: 0.78rem;
    padding: 0.26rem 0.62rem;
  }
}

/* Box-Effekte aktiv unter LARGE (lg), d.h. bis <992px */
.result-item {
  background-color: #fff;
  border: 1px solid #dee2e6;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
  padding: 1rem; /* entspricht etwa .p-3 */
  border-radius: .5rem; /* rounded-3 */
  position: relative;
}
/* Ab lg (≥992px) → Box-Effekte entfernen */
@media (min-width: 992px) {
  .result-item {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
}
