/*
Theme Name:   hollerhof.at
Theme URI:    https://hollerhof.at
Description:  Divi Child-Theme für das Landhaus Hollerhof — drei Ferienwohnungen in Dedenitz, Bad Radkersburg, und das bewahrte Lebenswerk des Kabarettisten Dietrich Kittner. Holunder-Palette (Creme · Aubergine · Salbei), Schriftpaar Spectral + Hanken Grotesk, und vollständiges Styling für das MotoPress "Hotel Booking"-Plugin (Verfügbarkeitssuche, Wohnungs-Karten, Buchungsstrecke).
Author:       Landhaus Hollerhof
Author URI:   https://hollerhof.at
Template:     Divi
Version:      1.0.13
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  hollerhof
Tags:         vacation-rental, hotel-booking, divi-child
*/

/* =================================================================
   HOLLERHOF — Designsystem (Holunder)
   ================================================================= */
:root {
  /* Holunder-Palette */
  --hh-paper:        #F4EDE0; /* Creme / Holunderblüte */
  --hh-paper-alt:    #EFE6D6; /* warmes Sektionsbeige  */
  --hh-card:         #FCF8F1; /* Karten / Flächen      */
  --hh-ink:          #2A2420; /* Text / nahezu Schwarz */
  --hh-ink-soft:     #574C42; /* Fließtext             */
  --hh-muted:        #857769; /* gedämpft / Labels     */
  --hh-line:         #E7DCC9; /* Linien / Rahmen       */
  --hh-elder:        #7A3F66; /* Holunderbeere (Akzent)*/
  --hh-elder-deep:   #34203A; /* tiefes Aubergine-Band */
  --hh-elder-light:  #D8A9C8; /* helle Beere (auf dunkel) */
  --hh-sage:         #5E6B4A; /* Salbei / Blatt        */

  --hh-radius:       14px;
  --hh-radius-pill:  999px;
  --hh-shadow:       0 18px 40px -32px rgba(52, 32, 40, 0.55);

  --hh-font-head:    'Spectral', Georgia, 'Times New Roman', serif;
  --hh-font-body:    'Hanken Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;
}

/* =================================================================
   Typografie — global
   ================================================================= */
body,
.et_pb_module,
input, textarea, select, button {
  font-family: var(--hh-font-body);
  color: var(--hh-ink);
}

body {
  background-color: var(--hh-paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.et_pb_module h1, .et_pb_module h2, .et_pb_module h3,
.et_pb_module h4, .et_pb_module h5, .et_pb_module h6 {
  font-family: var(--hh-font-head);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--hh-ink);
  text-wrap: balance;
}

p, li { line-height: 1.7; color: var(--hh-ink-soft); }

/* dezentes "Eyebrow"-Label, das im Design durchgängig genutzt wird */
.hh-eyebrow {
  display: inline-block;
  font-family: var(--hh-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hh-elder);
  margin-bottom: 16px;
}

/* =================================================================
   Header / Menü (Divi)
   ================================================================= */
#main-header {
  background-color: rgba(244, 237, 224, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: none;
  border-bottom: 1px solid var(--hh-line);
}

#logo { max-height: 54px; }

#top-menu li a,
.et_pb_menu .et-menu li a {
  font-family: var(--hh-font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--hh-ink) !important;
}

#top-menu li.current-menu-item > a { color: var(--hh-elder) !important; }

/* =================================================================
   Buttons — Holunder-Pille (Divi + allgemein)
   ================================================================= */
.et_pb_button,
.et_pb_button:hover,
a.hh-btn,
button.hh-btn,
input[type="submit"].hh-btn {
  font-family: var(--hh-font-body);
  font-weight: 600 !important;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #ffffff !important;
  background-color: var(--hh-elder);
  border: none !important;
  border-radius: var(--hh-radius-pill) !important;
  padding: 12px 26px !important;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.et_pb_button:before { display: none !important; }
.et_pb_button:hover,
a.hh-btn:hover,
button.hh-btn:hover { filter: brightness(1.08); }

/* sekundärer, umrandeter Button */
.hh-btn--ghost {
  background: transparent;
  color: var(--hh-ink) !important;
  border: 1px solid #C9BBA6 !important;
}
.hh-btn--ghost:hover { border-color: var(--hh-ink) !important; }

/* heller Button auf dunklen (Aubergine-)Bändern */
.hh-btn--light.et_pb_button,
.hh-btn--light.et_pb_button:hover {
  background-color: var(--hh-card) !important;
  color: var(--hh-elder-deep) !important;
  border: none !important;
}
/* umrandeter heller Button auf dunklem Band */
.hh-section-band .hh-btn--ghost.et_pb_button,
.hh-btn--ghost-light.et_pb_button {
  background: transparent !important;
  color: #F1E6DC !important;
  border: 1px solid rgba(241,230,220,0.4) !important;
}
.hh-section-band .hh-btn--ghost.et_pb_button:hover,
.hh-btn--ghost-light.et_pb_button:hover { border-color: rgba(241,230,220,0.85) !important; }

/* =================================================================
   MotoPress Hotel Booking — Verfügbarkeitssuche
   (Shortcode: [mphb_availability_search] / [mphb_search_form])
   ================================================================= */
.mphb_sc_search-wrapper,
.mphb-search-form,
form.mphb_widget_search-form {
  background: var(--hh-card);
  border: 1px solid var(--hh-line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -28px rgba(52, 32, 40, 0.40);
  padding: 22px 24px;
}

.mphb_sc_search-field label,
.mphb-search-form label,
.mphb_widget_search-form label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hh-muted);
  margin-bottom: 8px;
}

.mphb-search-form input,
.mphb-search-form select,
.mphb_sc_search-wrapper input,
.mphb_sc_search-wrapper select,
.mphb-datepick {
  border: 1px solid #E0D4C0 !important;
  border-radius: 10px !important;
  padding: 12px 13px !important;
  font-family: var(--hh-font-body) !important;
  font-size: 15px !important;
  color: var(--hh-ink) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.mphb_sc_search-submit-button-wrapper button,
.mphb-search-form button[type="submit"],
button.mphb_sc_search-submit,
.mphb_widget_search-form button {
  font-family: var(--hh-font-body) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em;
  color: #ffffff !important;
  background-color: var(--hh-elder) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 26px !important;
  transition: filter 0.2s ease;
}
.mphb_sc_search-submit-button-wrapper button:hover,
.mphb-search-form button[type="submit"]:hover { filter: brightness(1.08); }

/* =================================================================
   Suchformular als horizontale Zeile
   ================================================================= */

/* Form = Flex-Row, alle Felder in einer Zeile, kein Wrap */
.mphb_sc_search-wrapper form.mphb_sc_search-form,
form.mphb_sc_search-form {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 10px;
}

/* Pflicht-Hinweis ausblenden — spart Platz */
.mphb_sc_search-form .mphb-required-fields-tip {
  display: none !important;
}

/* Anreise + Abreise: etwas breiter */
.mphb_sc_search-form .mphb_sc_search-check-in-date,
.mphb_sc_search-form .mphb_sc_search-check-out-date {
  flex: 2 1 130px;
  min-width: 130px;
  margin: 0 !important;
  padding: 0 !important;
}

/* Erwachsene + Kinder: schmaler */
.mphb_sc_search-form .mphb_sc_search-adults,
.mphb_sc_search-form .mphb_sc_search-children {
  flex: 1 1 90px;
  min-width: 90px;
  margin: 0 !important;
  padding: 0 !important;
}

/* Suchen-Button: feste Breite, nicht schrumpfen */
.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
}
.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper button {
  white-space: nowrap;
}

/* Input + Select volle Breite im eigenen Flex-Item */
.mphb_sc_search-form .mphb_sc_search-check-in-date input,
.mphb_sc_search-form .mphb_sc_search-check-out-date input,
.mphb_sc_search-form .mphb_sc_search-adults select,
.mphb_sc_search-form .mphb_sc_search-children select {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* <br> nach dem Label entfernen */
.mphb_sc_search-form br { display: none !important; }

/* Responsiv: unterhalb 700px stapeln */
@media (max-width: 700px) {
  .mphb_sc_search-wrapper form.mphb_sc_search-form,
  form.mphb_sc_search-form {
    flex-wrap: wrap !important;
  }
  .mphb_sc_search-form .mphb_sc_search-check-in-date,
  .mphb_sc_search-form .mphb_sc_search-check-out-date {
    flex: 0 0 calc(50% - 5px) !important;
  }
  .mphb_sc_search-form .mphb_sc_search-adults,
  .mphb_sc_search-form .mphb_sc_search-children {
    flex: 0 0 calc(50% - 5px) !important;
  }
  .mphb_sc_search-form .mphb_sc_search-submit-button-wrapper {
    flex: 0 0 100% !important;
  }
  .mphb_sc_search-form .mphb-required-fields-tip { display: none !important; }
}

/* Datepicker-Popup an die Palette angleichen */
.ui-datepicker .ui-state-active,
.ui-datepicker td a.ui-state-active,
.mphb-datepick-active {
  background: var(--hh-elder) !important;
  color: #fff !important;
  border-color: var(--hh-elder) !important;
}

/* =================================================================
   MotoPress — Wohnungs-Karten (Room Types Liste)
   (Shortcode: [mphb_rooms] / Archiv)
   ================================================================= */
.mphb-rooms-list .mphb-room-type,
.mphb_sc_rooms-list .mphb-room-type,
.mphb-room-type.type-mphb_room_type {
  background: var(--hh-card);
  border: 1px solid var(--hh-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--hh-shadow);
}

.mphb-room-type .mphb-room-type__thumbnail img,
.mphb-room-type-image img,
.mphb-room-gallery img { display: block; width: 100%; object-fit: cover; }

.mphb-room-type__title,
.mphb-room-type-title,
h2.mphb-room-type-title a {
  font-family: var(--hh-font-head) !important;
  font-weight: 600 !important;
  font-size: 25px;
  color: var(--hh-ink) !important;
}

.mphb-room-type__title a { color: var(--hh-ink) !important; text-decoration: none; }

/* Attribute / Ausstattung (Betten, m², Personen) */
.mphb-attributes-list,
.mphb-room-type-attributes,
.mphb-room-type-facilities {
  font-size: 14px;
  color: var(--hh-muted);
}

.mphb-room-type-facilities .mphb-attribute-value,
.mphb-room-type-tags .mphb-tag {
  background: #F1E8D8;
  color: var(--hh-ink-soft);
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 12px;
  display: inline-block;
}

/* Preis */
.mphb-price,
.mphb-room-price,
.mphb-price-wrapper {
  font-family: var(--hh-font-body);
  color: var(--hh-ink);
}
.mphb-price .mphb-currency,
.mphb-period-price { color: var(--hh-elder); }

/* "Buchen"-Button auf Karten & Detailseite */
.mphb-book-button,
a.mphb-booking-button,
.mphb-room-type a.button,
.mphb_sc_rooms-list a.button,
.mphb-cart-actions .button,
.mphb-checkout-button,
.mphb-booking-form .button,
input.mphb_sc_checkout-section-place_order {
  font-family: var(--hh-font-body) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #ffffff !important;
  background-color: var(--hh-elder) !important;
  border: none !important;
  border-radius: var(--hh-radius-pill) !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
  transition: filter 0.2s ease;
}
.mphb-book-button:hover,
a.mphb-booking-button:hover,
.mphb-room-type a.button:hover { filter: brightness(1.08); }

/* =================================================================
   MotoPress — Wohnungen als 3-Spalten-Raster (nebeneinander)
   Wandelt die gestapelte [mphb_rooms]-Liste in gleich hohe Karten,
   Galerie oben, Buttons unten bündig.
   ================================================================= */
.mphb_sc_rooms-wrapper.mphb-room-types,
.mphb-room-types,
.mphb_sc_rooms-list,
.mphb-rooms-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
  margin: 10px 0;
  list-style: none;
  padding: 0;
}

.mphb-room-types .mphb-room-type,
.mphb_sc_rooms-list .mphb-room-type,
.mphb-rooms-list .mphb-room-type,
.mphb-room-type.type-mphb_room_type {
  display: block;
  height: 100%;
  margin: 0 !important;
  padding: 0 0 24px 0;
}

/* Galerie randlos oben, einheitliche Höhe */
.mphb-room-type .mphb-room-type-images { margin: 0 0 18px 0; }
.mphb-room-type .mphb-gallery-main-slider .slides img,
.mphb-room-type .mphb-room-type-images img { height: 230px; object-fit: cover; }
/* kompakte Mini-Thumbnails unter dem Hauptbild */
.mphb-room-type .mphb-gallery-thumbnail-slider .slides img { height: 54px; }

/* Innenabstand für alle Textblöcke (Galerie bleibt randlos) */
.mphb-room-type > *:not(.mphb-room-type-images) { margin-left: 24px; margin-right: 24px; }
.mphb-room-type .mphb-room-type-title { margin-top: 2px; margin-bottom: 6px; }
.mphb-room-type .mphb-room-type-details-title { margin-top: 12px; }

/* Preis + Buttons */
.mphb-room-type .mphb-regular-price { padding-top: 16px; margin-bottom: 4px; }
/* Buttons "Details ansehen" + "Buchen" nebeneinander */
.mphb-room-type .mphb-view-details-button-wrapper,
.mphb-room-type .mphb-to-book-btn-wrapper {
  display: inline-block !important;
  width: auto !important;
  vertical-align: middle;
  margin: 14px 0 0 24px !important;
}
.mphb-room-type .mphb-view-details-button-wrapper + br { display: none; }
.mphb-room-type .mphb-to-book-btn-wrapper { margin-left: 10px !important; }
.mphb-room-type .mphb-view-details-button,
.mphb-room-type .mphb-book-button { white-space: nowrap; }

@media (max-width: 1100px) {
  .mphb_sc_rooms-wrapper.mphb-room-types,
  .mphb-room-types,
  .mphb_sc_rooms-list,
  .mphb-rooms-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .mphb_sc_rooms-wrapper.mphb-room-types,
  .mphb-room-types,
  .mphb_sc_rooms-list,
  .mphb-rooms-list { grid-template-columns: 1fr; }
}

/* =================================================================
   MotoPress — Einzelne Wohnung / Buchungsstrecke / Checkout
   ================================================================= */
.mphb-single-room-type .mphb-room-type__title { font-size: 38px; }

.mphb_sc_checkout-section-title,
.mphb-checkout-section-title,
.mphb_sc_booking-details-title {
  font-family: var(--hh-font-head) !important;
  font-weight: 600 !important;
  color: var(--hh-ink) !important;
}

.mphb_sc_checkout-wrapper input,
.mphb_sc_checkout-wrapper select,
.mphb_sc_checkout-wrapper textarea,
.mphb-checkout input,
.mphb-checkout textarea {
  border: 1px solid #E0D4C0 !important;
  border-radius: 10px !important;
  padding: 12px 13px !important;
  background: #fff !important;
}

table.mphb_sc_booking-details-table th,
table.mphb-booking-details th { color: var(--hh-muted); }
table.mphb_sc_booking-details-table,
.mphb-booking-details-table { border-color: var(--hh-line); }

/* MotoPress Hinweise / Meldungen */
.mphb-error, .mphb-errors, .woocommerce-error {
  border-left: 3px solid var(--hh-elder);
  background: var(--hh-card);
  border-radius: 8px;
}
.mphb-success, .mphb-message {
  border-left: 3px solid var(--hh-sage);
  background: var(--hh-card);
  border-radius: 8px;
}

/* =================================================================
   Hilfs-Sektionen (Divi-Sektionen mit CSS-Klasse versehen)
   ================================================================= */
.hh-section-band {            /* Kittner / Stiftung — dunkles Band */
  background-color: var(--hh-elder-deep) !important;
}
.hh-section-band h1, .hh-section-band h2, .hh-section-band h3,
.hh-section-band p, .hh-section-band li { color: #F1E6DC !important; }
.hh-section-band .hh-eyebrow { color: var(--hh-elder-light); }

.hh-section-alt { background-color: var(--hh-paper-alt) !important; }

/* Faktenchips (z.B. "3 Ferienwohnungen", "Haustiere willkommen") */
.hh-chip {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #4A4036;
  background: var(--hh-card);
  border: 1px solid var(--hh-line);
  border-radius: var(--hh-radius-pill);
  padding: 9px 16px;
  margin: 0 6px 8px 0;
}

/* =================================================================
   Footer (Divi)
   ================================================================= */
#main-footer { background-color: var(--hh-ink); }
#footer-widgets .footer-widget h4,
#main-footer h4 {
  font-family: var(--hh-font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A7E6F;
}
#main-footer, #main-footer p, #main-footer li a { color: #D8CDBF; }
#main-footer a:hover { color: #FBF3EB; }
#footer-bottom { background-color: var(--hh-ink); }

/* =================================================================
   Responsiv
   ================================================================= */
@media (max-width: 980px) {
  .mphb_sc_search-wrapper,
  .mphb-search-form { padding: 18px 16px; }
  .mphb-room-type__title { font-size: 22px; }
}

/* =================================================================
   Full-Width Seiteninhalt (Theme-Builder Body-Template)
   Hebt die 1080px-Begrenzung der Content-Row auf; die einzelnen
   Sektionen/Rows der Seite bringen ihren Seitenabstand selbst mit.
   ================================================================= */
.et-l--body .et_pb_row_0_tb_body {
  width: 100% !important;
  max-width: 100% !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.et-l--body .et_pb_section_0_tb_body {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.et-l--body .et_pb_post_content_0_tb_body { width: 100% !important; max-width: 100% !important; }

/* === hh-popup / button-overrides 1.0.9 === */

/* =================================================================
   Popup Styling (Popups for Divi)
   ================================================================= */
.divi-area-close {
  background: #7A3F66 !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 36px !important; height: 36px !important;
  font-size: 20px !important; line-height: 36px !important;
  text-align: center !important; opacity: 1 !important;
}
.divi-area-close:hover { filter: brightness(1.12) !important; }

.hh-popup.popup {
  max-width: 720px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.hh-popup .et_pb_gallery_image img,
.hh-popup .et_pb_gallery .et_pb_gallery_item img {
  height: 240px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}
.hh-popup .et_pb_text_inner { padding: 0; }
.hh-popup .et_pb_button { margin-top: 16px !important; }

/* =================================================================
   mphb Karten-Buttons
   "Details ansehen" = Ghost: weißer BG, 1px Akzent-Rahmen, Akzent-Text
   "Buchen"          = Ausgefüllt: Akzent-BG, weiße Schrift
   ================================================================= */

/* Details ansehen → Ghost */
body .mphb-room-type .mphb-view-details-button,
body .mphb_sc_rooms-list .mphb-view-details-button {
  background-color: #ffffff !important;
  color: #7A3F66 !important;
  border: 1px solid #7A3F66 !important;
  border-radius: 6px !important;
  padding: 9px 20px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-decoration: none !important;
  cursor: pointer !important;
  display: inline-block !important;
  box-sizing: border-box !important;
  transition: background-color 0.18s ease, color 0.18s ease !important;
}
body .mphb-room-type .mphb-view-details-button:hover,
body .mphb_sc_rooms-list .mphb-view-details-button:hover {
  background-color: #7A3F66 !important;
  color: #ffffff !important;
}

/* Buchen → ausgefüllter Primärbutton */
body .mphb-room-type button.mphb-book-button,
body .mphb-room-type .mphb-to-book-btn-wrapper button,
body .mphb_sc_rooms-list button.mphb-book-button {
  background-color: #7A3F66 !important;
  color: #ffffff !important;
  border: 1px solid #7A3F66 !important;
  border-radius: 6px !important;
  padding: 9px 22px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  cursor: pointer !important;
  display: inline-block !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  transition: filter 0.18s ease !important;
}
body .mphb-room-type button.mphb-book-button:hover,
body .mphb-room-type .mphb-to-book-btn-wrapper button:hover {
  filter: brightness(1.12) !important;
  color: #ffffff !important;
}

/* Wrapper inline */
body .mphb-room-type .mphb-view-details-button-wrapper,
body .mphb-room-type .mphb-to-book-btn-wrapper,
body .mphb-room-type .mphb-to-book-btn-wrapper form {
  display: inline-block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
}
/* Buttons bündig mit dem Text (24px Einzug wie andere Card-Elemente) */
body .mphb-room-type .mphb-view-details-button-wrapper {
  margin-left: 24px !important;
}
body .mphb-room-type .mphb-to-book-btn-wrapper {
  margin-left: 10px !important;
}
body .mphb-room-type .mphb-view-details-button-wrapper + br { display: none !important; }

/* === /hh-popup 1.0.9 === */