/* Hinweis-Popup zum Umzug in den Farben der Website. */
.wb-notice {
  --wb-red: #b22221;
  --wb-turquoise: #64c9cf;
  --wb-maroon: #491e25;
  --wb-slate: #41686c;

  box-sizing: border-box;
  width: min(32rem, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-family: Quicksand, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.wb-notice::backdrop {
  background: rgba(73, 30, 37, 0.6);
}

/* Der Dialog selbst bekommt beim Öffnen den Fokus; dafür keinen Rahmen zeichnen. */
.wb-notice:focus {
  outline: none;
}

.wb-notice *,
.wb-notice *::before {
  box-sizing: border-box;
}

.wb-notice__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--wb-turquoise);
  color: #fff;
}

.wb-notice__title {
  margin: 0;
  font-family: Exo, Quicksand, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.wb-notice__close {
  flex: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.wb-notice__close svg {
  display: block;
  width: 20px;
  height: 20px;
}

.wb-notice__close:hover,
.wb-notice__close:focus-visible {
  background: rgba(255, 255, 255, 0.45);
}

/* Fokusrahmen nur bei Tastaturbedienung, in den Farben der Website statt des schwarzen Standardrahmens. */
.wb-notice__close:focus {
  outline: none;
}

.wb-notice__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.wb-notice__section {
  padding: 18px 20px 6px;
}

.wb-notice__lead {
  margin: 0 0 8px;
}

.wb-notice__address {
  margin: 0;
  padding-left: 12px;
  border-left: 4px solid var(--wb-turquoise);
  font-style: normal;
  font-weight: 700;
  color: var(--wb-slate);
}

.wb-notice__confirm {
  display: block;
  margin: 18px 20px 20px auto;
  padding: 10px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--wb-red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wb-notice__confirm:hover,
.wb-notice__confirm:focus-visible {
  background: var(--wb-maroon);
}

.wb-notice__confirm:focus {
  outline: none;
}

.wb-notice__confirm:focus-visible {
  outline: 2px solid var(--wb-maroon);
  outline-offset: 2px;
}

@media (max-width: 479px) {
  .wb-notice__title {
    font-size: 20px;
  }

  .wb-notice__confirm {
    width: calc(100% - 40px);
    margin-left: 20px;
  }
}
