/*
 * Ergänzungen ohne LESS-Build (der alte LESS-Compiler bricht unter PHP 8.2+ ab).
 * Wird nach _design.css geladen, siehe site/snippets/header.php.
 */

/* Zusätzliche Ausstattungs-Icons (fehlen im Icon-Font), im Panel als "fitness" bzw. "breakfast" eintragen */
.eg-fitness:before,
.eg-breakfast:before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: var(--eg-icon) center / contain no-repeat;
  mask: var(--eg-icon) center / contain no-repeat;
}
.eg-fitness {
  --eg-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='6.5' width='2.5' height='11' rx='.6'/><rect x='16.5' y='6.5' width='2.5' height='11' rx='.6'/><rect x='2.5' y='9' width='2.5' height='6' rx='.6'/><rect x='19' y='9' width='2.5' height='6' rx='.6'/><path d='M7.5 12h9M1 12h1.5M21.5 12H23'/></svg>");
}
.eg-breakfast {
  --eg-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 10h12v3.5a5.5 5.5 0 0 1-5.5 5.5h-1A5.5 5.5 0 0 1 4 13.5z'/><path d='M16 11h1.5a2.5 2.5 0 0 1 0 5H16'/><path d='M8 3.5c0 1.2 1 1.6 1 3M12 3.5c0 1.2 1 1.6 1 3'/><path d='M3 21.5h15'/></svg>");
}

/* Footer: Social-Links mit Icon */
.footer--social i {
  font-size: 1.1em;
  vertical-align: -0.15em;
  margin-right: .35em;
}

/* Feste Aktionsleiste fürs Handy (snippets/actionbar.php) */
.actionbar {
  display: none;
}

@media (max-width: 575.98px) {
  .actionbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: var(--main-color-base);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .15);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .actionbar a {
    flex: 1;
    padding: 1rem .5rem;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .actionbar a + a {
    border-left: 1px solid rgba(255, 255, 255, .25);
  }
  .actionbar .actionbar--book {
    background: rgba(255, 255, 255, .14);
  }
  body {
    padding-bottom: 3.5rem;
  }

  /* Titelbereich: 360°-Panorama und Wetter auf dem Handy ausblenden, statisches Bild (hero.php) */
  .hero--iframe iframe,
  .hero--weather {
    display: none !important;
  }
  .hero--iframe {
    /* 35 % = Hotelturm mit Schriftzug in der Außenansicht */
    background: #f5f2ec var(--hero-mobile, none) 35% center / cover no-repeat;
  }
  /* Sprachumschalter ist für das dunkle Panorama weiß, auf hellem Grund unsichtbar */
  .menu:not(.isNotHome) #langToggler {
    color: var(--main-color-base);
  }
}

/* Events: ausverkauft statt Preis */
.soldout {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--main-color-base);
}

/* ── Design-Optimierungen 2026-11 ───────────────────────────────────────── */

/* 1) Überschriften im Titelbereich kräftiger und dunkler */
.hero--content h1 {
  font-weight: 400;
  color: #1f1f1f;
  letter-spacing: -0.01em;
}
.hero--content .tagline {
  color: #3a3a3a;
}

/* 2) Buttons: Pillenform, klare Haupt-/Zweit-Buttons, Hover */
.btn--main {
  border-radius: 999px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn--main:focus-visible {
  outline: 2px solid var(--main-color-base);
  outline-offset: 3px;
}
.btn--ghost {
  padding: .55rem 1.6rem;
  font-size: 11px;
  letter-spacing: .12em;
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background-color: var(--main-color-base);
  border-color: var(--main-color-base);
  color: #fff;
}
.btn--c2a:hover,
.btn--c2a:focus-visible {
  background-color: #003d15;
  border-color: #003d15;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 85, 29, .25);
}
/* Buchungsbutton im Titelbereich: gefüllt statt Kasten im Kasten */
.booking--form {
  background: none !important;
  padding: 0 !important;
}
/* das alte CSS setzt den Hintergrund mit !important */
.hero .booking--form .btn--ghost {
  background-color: var(--main-color-base) !important;
  border-color: var(--main-color-base);
  color: #fff !important;
  padding: .9rem 2.2rem;
  font-size: 12px;
  box-shadow: 0 8px 22px rgba(0, 85, 29, .28);
}
.hero .booking--form .btn--ghost:hover,
.hero .booking--form .btn--ghost:focus-visible {
  background-color: #003d15 !important;
  color: #fff !important;
  transform: translateY(-1px);
}
/* Telefonnummer im weißen Header nach dem Scrollen gut lesbar */
#navbar--main.sticky .btn--primary,
#navbar--main.isNotHome .btn--primary {
  color: var(--main-color-base);
  border-color: var(--main-color-base);
}
#navbar--main.sticky .btn--primary:hover,
#navbar--main.isNotHome .btn--primary:hover {
  background-color: var(--main-color-base);
  color: #fff;
}

/* 3) Karten mit Tiefe und Hover */
.offer,
.blockslink--entry {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
  transition: transform .35s ease, box-shadow .35s ease;
}
.offer:hover,
.blockslink--entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}
.blockslink--entry img {
  transition: transform .6s ease;
}
.blockslink--entry:hover img {
  transform: scale(1.05);
}

/* 4) Sanftes Einblenden beim Scrollen (own.js setzt .reveal / .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 5) Event-Liste kompakter: Kalenderblatt mit Wochentag */
/* das alte CSS formatiert span:first-of-type/last-of-type tief verschachtelt, daher !important */
.block-type-events ul li .date {
  width: 92px !important;
  height: 92px !important;
  border-radius: 10px;
  flex-shrink: 0;
}
.block-type-events ul li .date span {
  font-size: .95rem !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  margin: 0 !important;
}
.block-type-events ul li .date span.date--weekday {
  font-size: .7rem !important;
  font-weight: 400 !important;
  letter-spacing: .1em;
  opacity: .8;
}
.block-type-events ul li .date span:nth-of-type(2) {
  font-size: 2.2rem !important;
  line-height: 1.05 !important;
  font-weight: 400 !important;
}
.block-type-events ul li {
  border-radius: 12px;
}
.soldout {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: var(--main-color-base);
  color: #fff;
  font-size: .75rem;
}
@media (max-width: 575.98px) {
  .block-type-events ul li .date {
    width: 64px !important;
    height: auto !important;
    padding: .6rem 0;
  }
  .block-type-events ul li .date span:nth-of-type(2) {
    font-size: 1.6rem !important;
  }
}

/* 6) Damast-Muster dezenter: grüne Lasur darüber */
section.section.text--intro {
  background: linear-gradient(rgba(0, 85, 29, .8), rgba(0, 85, 29, .8)), url("../images/bg_green-damask.png") !important;
}

/* 7) Ausstattung auf dem Desktop als Raster (own.js tauscht .eq--gal gegen .eq--grid) */
.equitment--list.eq--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2rem 1.5rem;
  padding: 0;
}
.equitment--list.eq--grid li {
  margin-bottom: 0;
}
