/* ====================================================================
   Urlaubshinweis – Overlay (theme-konform: Tokens aus praxis.css)
   Fonts: PT Sans Narrow (Display) / PT Sans (Body)
   Farben: Bordeaux var(--bordeaux) / Orange var(--orange)
   ==================================================================== */

.urlaubshinweis {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  transition: opacity .25s ease;
}

.urlaubshinweis[hidden] { display: none; }
.urlaubshinweis.is-visible { opacity: 1; }

.urlaubshinweis__box {
  position: relative;
  width: 100%;
  max-width: 32rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2.2rem 2.2rem 1.9rem;
  background: #fff;
  border-top: 5px solid var(--bordeaux, #922C49);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
  font-family: var(--body, system-ui, sans-serif);
  color: #222;
  transform: translateY(14px);
  transition: transform .25s ease;
}

.urlaubshinweis.is-visible .urlaubshinweis__box { transform: translateY(0); }

.urlaubshinweis__title {
  margin: 0 0 .75rem;
  font-family: var(--display, system-ui, sans-serif);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--bordeaux, #922C49);
}

.urlaubshinweis__subtitle {
  margin: 1.4rem 0 .35rem;
  font-family: var(--display, system-ui, sans-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bordeaux, #922C49);
}

.urlaubshinweis__text {
  margin: 0 0 .5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.urlaubshinweis__text a {
  color: var(--orange, #EE7523);
  font-weight: 700;
  text-decoration: none;
}
.urlaubshinweis__text a:hover,
.urlaubshinweis__text a:focus { text-decoration: underline; }

.urlaubshinweis__close {
  position: absolute;
  top: .6rem;
  right: .7rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--bordeaux, #922C49);
  cursor: pointer;
  border-radius: 50%;
  transition: background-color .15s ease;
}
.urlaubshinweis__close:hover,
.urlaubshinweis__close:focus-visible {
  background: rgba(146, 44, 73, .1);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .urlaubshinweis,
  .urlaubshinweis__box { transition: none; }
}
