/* Ergänzungen zum bestehenden Cookie-Banner für einzelne Dienste. */
.consent-banner__card {
  max-height: calc(100vh - 2rem);
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.consent-banner__card > .consent-banner__title {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

.consent-options {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  margin: 1rem 0;
  border: 0;
  padding: 0;
}

.consent-options legend {
  margin-bottom: 0.55rem;
  padding: 0;
  color: var(--crema);
  font-weight: 700;
  font-size: 0.9rem;
}

.consent-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.7rem 0.8rem;
  cursor: pointer;
}

.consent-option input {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  accent-color: var(--maize);
}

.consent-option span {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.consent-option strong {
  color: var(--crema);
  font-size: 0.95rem;
}

.consent-option small {
  color: var(--crema-70);
  font-size: 0.83rem;
  line-height: 1.5;
}

.consent-banner__card .consent-banner__necessary {
  font-size: 0.8rem;
}

.consent-banner__actions .btn {
  flex: 1 1 auto;
  padding-inline: 1rem;
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .consent-banner__card {
    max-height: calc(100vh - 1.2rem);
    max-height: calc(100svh - 1.2rem);
    padding: 1.1rem;
  }

  .consent-banner__actions .btn {
    flex-basis: 100%;
  }
}
