/* Hinweis anstelle eingebetteter Inhalte von Drittanbietern (Zwei-Klick-Lösung), in den Farben der Website. */
.wb-embed {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 200px;
  padding: 16px;
  border-radius: 8px;
  background: #f1f8f9;
  border: 1px solid #64c9cf;
  color: #333;
  font-family: Quicksand, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.wb-embed p {
  margin: 0;
}

.wb-embed__title {
  font-weight: 700;
  font-size: 16px;
  color: #41686c;
}

.wb-embed__text {
  max-width: 32em;
}

.wb-embed__button {
  margin-top: 4px;
  padding: 8px 20px;
  border: 0;
  border-radius: 6px;
  background: #b22221;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wb-embed__button:hover,
.wb-embed__button:focus-visible {
  background: #491e25;
}

.wb-embed__button:focus {
  outline: none;
}

.wb-embed__button:focus-visible {
  outline: 2px solid #491e25;
  outline-offset: 2px;
}

/* Einwilligungsfenster: unten links, sperrt die Seite nicht. Ablehnen und Erlauben sind gleich gewichtet. */
.wb-consent {
  box-sizing: border-box;
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 2147483000;
  width: min(26rem, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border-top: 5px solid #64c9cf;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  color: #333;
  font-family: Quicksand, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.wb-consent p {
  margin: 0 0 10px;
}

.wb-consent__title {
  font-family: Exo, Quicksand, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #41686c;
}

.wb-consent__options {
  margin: 0 0 12px;
}

.wb-consent__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
  cursor: pointer;
}

.wb-consent__option input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #b22221;
  cursor: pointer;
}

.wb-consent__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.wb-consent__button {
  flex: 1 1 auto;
  padding: 9px 12px;
  border: 2px solid #b22221;
  border-radius: 6px;
  background: #b22221;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wb-consent__button:hover,
.wb-consent__button:focus-visible {
  background: #491e25;
  border-color: #491e25;
}

.wb-consent__button:focus {
  outline: none;
}

.wb-consent__button:focus-visible {
  outline: 2px solid #491e25;
  outline-offset: 2px;
}

.wb-consent__links {
  font-size: 13px;
}

.wb-consent__links a {
  color: #41686c;
  text-decoration: underline;
}

@media (max-width: 479px) {
  .wb-consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
  }
}

/* Ladeanzeige: liegt nach dem Klick über dem Iframe, bis dessen Inhalt geladen ist. */
.wb-embed-wrap {
  position: relative;
  max-width: 100%;
}

.wb-embed--loading {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
}

.wb-embed__spinner {
  display: block;
  width: 32px;
  height: 32px;
  border: 3px solid rgba(100, 201, 207, 0.35);
  border-top-color: #b22221;
  border-radius: 50%;
  animation: wb-embed-spin 0.8s linear infinite;
}

@keyframes wb-embed-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wb-embed__spinner {
    animation-duration: 2.4s;
  }
}

.wb-embed__links {
  font-size: 13px;
}

.wb-embed__link {
  color: #41686c;
  text-decoration: underline;
}
