@charset "UTF-8";
/**
 * Theme Name:     Luzernenhof
 * Author:         Hias
 * Template:       Divi
 * Text Domain:	   luzernenhof
 * Description:    Divi5 Child Theme
 * Version:        0.0
 */
/* --- SCSS Variables --- */
.gr-border-1 {
  border: 1px solid #039b0f;
}

#wir .org-border-2 span {
  border: 1px solid #039b0f;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body.et_divi_theme {
  font-size: 1rem;
  font-family: "manrope", Helvetica, Arial, Lucida, sans-serif;
  position: relative;
  text-wrap: balance;
}

/* --- Überschriften-Styling --- */
#page-container h1,
#page-container h2,
#page-container h3,
#page-container h4,
#page-container h5,
#page-container h6 {
  font-family: "Arvo", Georgia, Times, "Times New Roman", serif;
  font-weight: 500;
  text-wrap: balance;
  text-align: center;
  color: #393d3f;
}
#page-container h1 {
  line-height: 1.4;
  font-size: clamp(1.625rem, 1.4189rem + 0.8911vw, 2.1875rem);
  padding: 10px;
}
#page-container h2 {
  font-size: clamp(1.375rem, 1.1918rem + 0.7921vw, 1.875rem);
}
#page-container h3 {
  font-size: clamp(1.25rem, 1.1126rem + 0.5941vw, 1.625rem);
}
#page-container h4 {
  font-size: clamp(0.875rem, 0.7376rem + 0.5941vw, 1.25rem);
  color: #039b0f;
  text-transform: uppercase;
}
#page-container p {
  font-size: clamp(1rem, 0.875rem + 0.1975vw, 1.125rem);
  text-wrap: balance;
  color: #393d3f;
  line-height: 1.6rem;
  text-align: center;
}

h4.txt_green {
  color: #039b0f;
  text-transform: uppercase;
}

#page-container .et_pb_section .et-pb-has-background-video h4 {
  text-transform: inherit;
  text-align: left;
}

body #page-container .et_pb_button {
  transition: all 0.2s ease-out;
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  white-space: nowrap;
}
body #page-container .et_pb_button .et_pb_button_icon {
  transition: 0.3s ease-out;
  opacity: 0;
}
body #page-container .et_pb_button::after {
  display: none !important;
}
body #page-container .et_pb_button:hover {
  transform: scale(1.03);
  box-shadow: 0px 5px 5px #d9d9d9;
  text-indent: 20px;
  padding-right: 10px !important;
  letter-spacing: 0.06em !important;
  padding-left: 24px !important;
}
body #page-container .et_pb_button:hover::before {
  content: "" !important;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 29px;
  height: 29px;
  opacity: 1;
  transition: opacity 0.3s ease-out 0.1s;
}

.et_pb_button.et_pb_button_3.et_pb_bg_layout_light.button_gruen.preset--module--divi-button--b1jhg7bgvn::before,
#footer_button.et_pb_button.button_orange::before,
.preset--module--divi-button--98zuwci82u::before, body #popup-kontaktformular #oeffne-popup-btn button.et_pb_contact_submit[type=submit]::before,
html body #popup-kontaktformular #oeffne-popup-btn button.et_pb_contact_submit[type=submit]::before, body #page-container .et-l--footer #impressum.button_gruen.preset--module--divi-button--b1jhg7bgvn::before,
body #page-container .et-l--footer #datenschutz.button_gruen.preset--module--divi-button--b1jhg7bgvn::before,
html body #page-container .et-l--footer #impressum.button_gruen.preset--module--divi-button--b1jhg7bgvn::before,
html body #page-container .et-l--footer #datenschutz.button_gruen.preset--module--divi-button--b1jhg7bgvn::before, body #page-container div > div > .et_pb_button.button_orange::before,
body #page-container div > div > .et_pb_button.button_gruen::before,
body #page-container .et_pb_button.preset--module--divi-button--default::before,
body #page-container .et_pb_button.preset--module--divi-button--default:hover::before,
body #page-container .et_pb_section .et_pb_button_0_tb_header::before,
body #page-container .et_pb_section .et_pb_button.button_orange.preset--module--divi-button--98zuwci82u:hover::before,
body #page-container .et_pb_section .preset--module--divi-button--b1jhg7bgvn.et_pb_button.button_gruen::before,
body #page-container .et_pb_section .preset--module--divi-button--wx1kvwt8bq.et_pb_button.button_orange::before,
html body #page-container div > div > .et_pb_button.button_orange::before,
html body #page-container div > div > .et_pb_button.button_gruen::before,
html body #page-container .et_pb_button.preset--module--divi-button--default::before,
html body #page-container .et_pb_button.preset--module--divi-button--default:hover::before,
html body #page-container .et_pb_section .et_pb_button_0_tb_header::before,
html body #page-container .et_pb_section .et_pb_button.button_orange.preset--module--divi-button--98zuwci82u:hover::before,
html body #page-container .et_pb_section .preset--module--divi-button--b1jhg7bgvn.et_pb_button.button_gruen::before,
html body #page-container .et_pb_section .preset--module--divi-button--wx1kvwt8bq.et_pb_button.button_orange::before, body .et_pb_button.button_gruen::before, body .et_pb_button.button_orange::before,
html body .et_pb_button.button_gruen::before,
html body .et_pb_button.button_orange::before {
  font-family: none !important;
  font-size: inherit !important;
  content: none;
}

/* --- NEU: Verhindert das Scrollen des Hintergrunds, wenn das Popup offen ist --- */
body.popup-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
}

#et_pb_contact_0_kganteilsumme_2 {
  font-weight: bold;
}

.et_pb_contact_field_options_wrapper {
  display: block;
  padding-bottom: 1em;
  /* optional etwas Abstand zum unteren Rand */
}

/* --- Blog Styles --- */
.et_pb_blog_grid .et_pb_post {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.et_pb_blog_grid .post-content {
  flex-grow: 1;
}

/* Das Popup-Formular am unteren Rand positionieren und standardmäßig ausblenden */
@media (max-width: 575px) {
  #popup-kontaktformular {
    padding: 3px;
  }
  #et_pb_contact_0_kganteilsumme_2 {
    font-size: 12px;
    padding-right: 0px;
    padding-left: 0px;
    margin: -10px;
    width: calc(100% + 50px);
  }
  #oeffne-popup-btn {
    margin: -1.5rem;
  }
  *:has(> #eigentum_eins) {
    display: none;
  }
  *:has(> #eigentum_zwei) {
    display: initial !important;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  #popup-kontaktformular {
    padding: 1rem;
  }
  #oeffne-popup-btn {
    margin: -0.5rem;
  }
  *:has(> #eigentum_zwei) {
    display: none;
  }
}
/* Global override for #eigentum_zwei */
*:has(> #eigentum_zwei) {
  display: none;
}

#popup-kontaktformular {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background-color: #ffffff;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
  visibility: hidden;
  max-height: 85vh;
  /* Höhe begrenzen */
  overflow-y: auto;
  /* Scrollen ermöglichen */
}

#popup-kontaktformular.sichtbar {
  transform: translateY(0);
  visibility: visible;
}

.schliessen-btn {
  position: absolute;
  right: -3vh;
  font-size: 3rem;
  font-weight: bold;
  color: #ff6847;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  z-index: 10001;
}

.schliessen-btn:hover {
  color: #000;
}

/* --- Formular-Akkordeon Stile --- */
.form-accordion-group {
  border-bottom: 1px solid #eee;
}
.form-accordion-group:last-of-type {
  border-bottom: none;
}
.form-accordion-group .form-accordion-title {
  padding: 18px 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.form-accordion-group .form-accordion-title::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6em;
  font-weight: 300;
  transition: transform 0.3s ease-out;
  color: #000;
}
.form-accordion-group .form-accordion-title.active::after {
  content: "−";
}
.form-accordion-group .form-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  padding: 0 15px;
}
.form-accordion-group .form-accordion-content.open {
  padding: 5px 15px 20px 15px;
}

.et_pb_contact_form.et_block_module .et_contact_bottom_container {
  margin-top: 15px;
}

/* --- CSS für Pflichtfeld-Sternchen (Version 3) --- */
.required-asterisk {
  color: #ff6847;
  font-weight: bold;
  display: inline;
  font-size: 1.2em;
}

/* Stil für die Beschreibungsstexte */
.field-description {
  display: block;
  font-size: 0.8em;
  color: #666;
  margin-top: 5px;
  padding: 0 5px;
  font-style: italic;
}

.et_pb_contact_field[data-type=select]::after {
  content: "";
  position: absolute;
  top: 25px;
  right: 10px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: transparent;
  border-top-color: #393d3f;
  margin-top: 3px;
  pointer-events: none;
}

.et_pb_contact_form_label {
  display: none;
}

/* --- Carousel Styles --- */
.et_pb_group_carousel_slide_active > div > div > span > img {
  max-height: none !important;
  height: 85vh;
  -o-object-fit: cover;
     object-fit: cover;
  background-color: rgba(57, 61, 63, 0.3215686275);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}
.et_pb_group_carousel_slide_active div div {
  filter: unset;
  border-radius: 10px 10px;
}

.et_pb_image_1 > span:nth-child(1) {
  min-width: 100%;
}

/* --- List with Custom Icon --- */
.text_mit_Liste li {
  padding-left: 10px;
  margin: 10px;
  list-style: none;
}
.text_mit_Liste li::before {
  content: "";
  position: absolute;
  left: 0;
  transform: translateY(20%);
  width: 20px;
  height: 20px;
  background-image: url("/wp-content/uploads/2025/08/Logo_Luzernenhof_Luzernenblatt.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.stretch-img > span > img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

/* --- Button Styles Refactoring --- */
body #page-container .et_pb_contact_submit:hover::before,
body #page-container .et_pb_button.button_orange:hover::before,
body #page-container .et_pb_section .et_pb_button_0_tb_header.button_orange:hover::before {
  background-image: url("/wp-content/uploads/2025/08/Logo_Luzernenhof_Luzernenblatt.svg");
}
body #page-container .et_pb_button.button_gruen:hover::before {
  background-image: url("/wp-content/uploads/2025/08/Logo_Luzernenhof_Luzernenblatt_orange.svg");
  left: 35px !important;
}

/* Divi-Pfeil-Icon von Buttons im Kontaktformular komplett neutralisieren */
#popup-kontaktformular #oeffne-popup-btn .et_pb_contact_submit.et_pb_button::before {
  content: "" !important;
  font-family: none !important;
  background: none;
  opacity: 0 !important;
}
#popup-kontaktformular #oeffne-popup-btn .et_pb_contact_submit.et_pb_button:hover::before {
  background-image: url("/wp-content/uploads/2025/08/Logo_Luzernenhof_Luzernenblatt.svg") !important;
  opacity: 1 !important;
}

/* FINALER FIX: Alle Divi-Icons für den Header-Button mit maximaler Spezifität entfernen */
body #page-container .et_pb_section .et_pb_button_0_tb_header.button_orange.preset--module--divi-button--98zuwci82u::before, body #page-container .et_pb_section .et_pb_button_0_tb_header.button_orange.preset--module--divi-button--98zuwci82u::after, body #page-container .et_pb_section .et_pb_button_0_tb_header.button_orange.preset--module--divi-button--98zuwci82u:hover::before, body #page-container .et_pb_section .et_pb_button_0_tb_header.button_orange.preset--module--divi-button--98zuwci82u:hover::after {
  content: "" !important;
  display: block !important;
}

#datenschutz,
#impressum {
  font-size: 1rem;
  margin: 0 10px;
}

.et_pb_section #sb_instagram {
  height: 100% !important;
}
.et_pb_section #sb_instagram .sbi_item {
  border-radius: 10px;
  border: 1px solid #ff6847;
}
.et_pb_section #sb_instagram #sbi_load .sbi_follow_btn a {
  border-radius: 50px;
  border-width: 0px;
  color: #393d3f;
  border-style: solid;
  font-size: 1rem;
}

/*
 * Alle Button-Varianten vereinheitlichen (remove default Divi icons)
 * Refactored to SCSS for better readability and maintenance.
 */
body .et_pb_button,
html body .et_pb_button {
  font-size: 1rem;
}
body #page-container .et-l--footer .footer_info_txt p,
html body #page-container .et-l--footer .footer_info_txt p {
  color: #fff;
}
body #page-container .et-l--footer .footer_info_txt h2,
html body #page-container .et-l--footer .footer_info_txt h2 {
  text-align: left;
}
/* Nur Padding-Regeln für diese Preset-Klasse */
.preset--module--divi-button--b1jhg7bgvn_wrapper .preset--module--divi-button--b1jhg7bgvn,
.preset--module--divi-button--b1jhg7bgvn_wrapper .preset--module--divi-button--b1jhg7bgvn:hover {
  padding-right: 15px !important;
  padding-left: 15px !important;
}

.preset--module--divi-button--b1jhg7bgvn_wrapper {
  text-align: center;
}

body #page-container .et_pb_section .preset--module--divi-button--b1jhg7bgvn {
  background-color: var(--gcid-0a70bcaa-1736-40e0-9723-4fb88b8b6694);
  font-family: "manrope", Helvetica, Arial, Lucida, sans-serif;
  color: var(--gcid-dakpi56eux) !important;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  border-width: 0px;
  border-color: #393d3f;
  border-style: solid;
}
body #page-container .et_pb_section .preset--module--divi-button--b1jhg7bgvn:before {
  font-family: none !important;
  font-size: inherit !important;
  content: none;
  font-weight: 400 !important;
  font-size: inherit !important;
  line-height: 1.7em !important;
  display: inline-block;
  margin-left: -1.3em;
}
body #page-container .et_pb_section .preset--module--divi-button--b1jhg7bgvn:hover {
  padding-right: 0.7em;
  padding-left: 2em;
}
body #page-container .et_pb_section .preset--module--divi-button--b1jhg7bgvn::before, body #page-container .et_pb_section .preset--module--divi-button--b1jhg7bgvn:hover::before {
  font-family: none !important;
  font-size: inherit !important;
  content: none;
  margin-left: -1.3em;
  line-height: 1em !important;
}
body #page-container .et_pb_section .preset--module--divi-button--b1jhg7bgvn:hover::before {
  margin-right: 0.3em;
  right: auto;
  opacity: 1;
}
body #page-container .et_pb_section .preset--module--divi-button--b1jhg7bgvn::after, body #page-container .et_pb_section .preset--module--divi-button--b1jhg7bgvn:hover::after {
  display: none;
  margin-right: auto;
}

/* This rule is redundant as it's defined above */
/* --- Pagination Styles --- */
#page-container .pagination .alignleft a {
  font-size: 0 !important;
  position: relative;
  display: inline-block;
  text-decoration: none;
  /* Hover-Effekt */
}
#page-container .pagination .alignleft a::after {
  content: "← alte Geschichten";
  font-size: 16px;
  font-family: "manrope", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  color: inherit;
  transition: transform all 0.2s ease-out, color all 0.2s ease-out;
  display: inline-block;
}
#page-container .pagination .alignleft a:hover::after {
  transform: scale(1.1);
  font-size: 16px;
  font-family: "manrope", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
}
#page-container .pagination .alignright a {
  font-size: 0 !important;
  /* alten Text verstecken */
  position: relative;
  display: inline-block;
  text-decoration: none;
  /* Hover-Effekt */
}
#page-container .pagination .alignright a::after {
  content: "junge Geschichten →";
  font-size: 16px;
  color: inherit;
  transition: transform all 0.2s ease-out, color all 0.2s ease-out;
  display: inline-block;
  font-family: "manrope", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
}
#page-container .pagination .alignright a:hover::after {
  transform: scale(1.1);
  font-size: 16px;
  font-family: "manrope", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
}

/* --- Featured Image Styles --- */
.et_pb_title_featured_container > .et_pb_image_wrap > img {
  border-radius: 10px;
}

/* Schritt 1: Header auf ALLEN Seiten fixieren */
header.et-l--header {
  position: fixed !important;
  width: 100%;
  z-index: 9999;
  transition: all 0.4s ease;
}
header.et-l--header .et_pb_section.et_pb_fullwidth_section.et_section_regular.et_flex_section {
  padding: 33px;
  margin: 20px 15px 0px 15px;
}

/* Schritt 2: Header NUR auf der Startseite initial ausblenden */
/* Schritt 4: Platz für den fixierten Header auf allen Seiten schaffen */
body #main-content .et_pb_section:first-of-type {
  padding-top: 80px !important;
}

/* --- NEU: Verbessert das Touch-Verhalten für das Swipe-Karussell --- */
.et_pb_group_carousel .et_pb_slides {
  touch-action: pan-y;
}

/* --- NEU: Logo im Header für bestimmte Bildschirmgrößen austauschen --- */
@media (min-width: 981px) and (max-width: 1110px) {
  /* Wähle das Logo-Bild im Header an */
  header.et-l--header .et_pb_menu__logo img {
    /* Tausche die Bildquelle aus */
    content: url("/wp-content/uploads/2025/07/cropped-cropped-22aec93e-5e97-4393-8e0e-dce98d950f30.png");
    /* Passe die Größe des neuen, quadratischen Logos an die Header-Höhe an */
    height: 65px;
    width: auto;
    /* Breite automatisch anpassen, um das Seitenverhältnis zu wahren */
    -o-object-fit: contain;
       object-fit: contain;
  }
}
/* --- NEU: Anpassungen für den mobilen Header (Logo ausblenden, Button positionieren) --- */
@media (max-width: 980px) {
  /* Das Original-Logo ausblenden, da ein separates Divi-Bildmodul für mobile Ansicht verwendet wird. */
  header.et-l--header .mobile_menu_bar::before {
    display: block;
    transition: all 0.4s ease;
  }
  header.et-l--header .mobile_nav.opened .mobile_menu_bar::before {
    content: "M";
    transform: rotate(90deg);
  }
  header.et-l--header #mobile_menu1 {
    border-top: none;
    border-radius: 10px;
    box-shadow: 0 3px 3px #393d3f !important;
    white-space: nowrap;
    width: auto;
    position: absolute;
    top: 77px;
    right: 0;
    left: auto;
    margin: 0 10px 0 10px;
    background-color: #fff;
    padding: 1rem;
    padding-bottom: 0 !important;
  }
  header.et-l--header #mobile_menu1 li {
    padding: 0 0 18px;
  }
  header.et-l--header #mobile_menu1 li a {
    background: none;
    border: none;
    color: #000;
    font-weight: 500;
    font-size: 1.25rem;
    padding: 0;
  }
  header.et-l--header #mobile_menu1 li a:hover {
    background: transparent;
  }
  header.et-l--header .button_orange {
    font-size: 1rem;
  }
  header.et-l--header .et_pb_menu__logo img {
    display: none;
  }
  /* Das Menü-Modul (enthält Hamburger-Menü) bekommt die dritte Position */
  .et_pb_fullwidth_menu_0_tb_header {
    order: 3;
    flex-basis: 50px;
    /* Gibt dem Hamburger-Menü eine feste Basisbreite */
    flex-shrink: 0;
    /* Verhindert, dass es kleiner wird */
    /* Die innere Struktur des Menü-Moduls anpassen, um nur das Hamburger-Menü zu zeigen */
    /* Das Hamburger-Menü bleibt an seiner Position innerhalb des Menü-Moduls */
    /* Das Logo-Wrap (das jetzt leer ist) bekommt die erste Position, ist aber unsichtbar */
  }
  .et_pb_fullwidth_menu_0_tb_header .et_pb_row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Stellt sicher, dass der Hamburger rechts ist */
  }
  .et_pb_fullwidth_menu_0_tb_header .et_pb_menu__wrap {
    order: 3;
  }
  .et_pb_fullwidth_menu_0_tb_header .et_pb_menu__logo-wrap {
    order: 1;
    display: none;
  }
  /* Der Button-Wrapper bekommt die zweite Position (in der Mitte) */
  .et_pb_button_0_tb_header_wrapper {
    order: 2;
    flex-shrink: 0;
    /* Verhindert, dass der Button bei Platzmangel schrumpft */
  }
  .mobile-logo-img {
    order: 1;
    flex-basis: 50px;
    /* Gibt dem Logo die gleiche Basisbreite wie dem Hamburger-Menü */
    flex-shrink: 0;
  }
  .mobile-logo-img {
    margin: 20px;
  }
}
.mobile-logo-img {
  margin: 20px;
}

.et_pb_fullwidth_menu_0_tb_header.et_pb_fullwidth_menu {
  flex-grow: 0 !important;
  width: 100% !important;
  background-color: transparent !important;
}

/* --- Fix: Vertical Gap im Kontaktformular entfernen --- */
#popup-kontaktformular .et_flex_column,
#popup-kontaktformular .et_flex_group,
#popup-kontaktformular .et_flex_module {
  --vertical-gap: 0;
}

/* --- Site:Eigentum --- */
.verein_col h4 {
  font-size: 1.05em !important;
}

.et_pb_circle_counter .percent p {
  font-size: 2.5em !important;
  line-height: 0.1 !important;
}

/* --- Site:Wir --- */
.img_wir_cheese .et_pb_image_wrap img {
  border-radius: 10px;
}

/* ---Site:Mitglieder--- */
#page-container .mitglied_werden_heading .shadow_bg_box,
#page-container .hofleben_heading .shadow_bg_box {
  background-color: rgba(220, 226, 200, 0.262745098) !important;
}
#page-container .mitglied_werden_heading h1,
#page-container .hofleben_heading h1 {
  color: #000 !important;
}

/* --- NEU: Produkt-Guide Shortcode Stile --- */
#page-container .luz-product-guide-wrapper {
  color: #393d3f;
  padding: 1rem;
  background-color: #d9d9d9;
}
#page-container .luz-product-guide-wrapper .luz-product-guide-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
#page-container .luz-product-guide-wrapper .luz-product-guide-header p {
  margin-top: 0.5rem;
  color: #393d3f;
}
#page-container .luz-product-guide-wrapper .luz-product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
#page-container .luz-product-guide-wrapper .luz-product-filters .luz-product-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background-color: #eee;
  color: #393d3f;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
#page-container .luz-product-guide-wrapper .luz-product-filters .luz-product-filter-btn--new {
  color: #ff6847;
  border-color: #ff6847;
  box-shadow: 0 0 0 1px #ff6847;
}
#page-container .luz-product-guide-wrapper .luz-product-filters .luz-product-filter-btn:hover {
  background-color: #d9d9d9;
}
#page-container .luz-product-guide-wrapper .luz-product-filters .luz-product-filter-btn.active {
  background-color: rgba(1, 153, 73, 0.2);
  color: #039b0f;
  border-color: #039b0f;
  box-shadow: 0 0 0 1px #039b0f;
}
#page-container .luz-product-guide-wrapper .luz-product-filters .luz-product-filter-btn.luz-category-hidden {
  display: none;
}
#page-container .luz-product-guide-wrapper .luz-product-filters .luz-product-filter-btn.luz-category-level-1 {
  font-size: 0.8em;
  background-color: rgba(238, 238, 238, 0.7);
}
#page-container .luz-product-guide-wrapper .luz-product-filters .luz-product-filter-btn.luz-category-level-2 {
  margin-left: 2rem;
  font-size: 0.75em;
  background-color: rgba(238, 238, 238, 0.5);
}
#page-container .luz-product-guide-wrapper .luz-product-filters .luz-product-filter-btn.luz-category-level-3 {
  margin-left: 3rem;
  font-size: 0.7em;
  background-color: rgba(238, 238, 238, 0.3);
}
#page-container .luz-product-guide-wrapper #luz-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: minmax(100px, auto);
  gap: 1rem;
}
#page-container .luz-product-guide-wrapper .luz-product-card {
  background-color: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  border: 1px solid #ff6847;
  justify-content: center;
  transition: all 0.2s ease-out;
}
#page-container .luz-product-guide-wrapper .luz-product-card--large {
  grid-column: span 2;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
}
#page-container .luz-product-guide-wrapper .luz-product-card--large .luz-product-card__icon {
  height: auto;
  width: auto;
}
#page-container .luz-product-guide-wrapper .luz-product-card--large .luz-product-card__name {
  font-size: 1.25rem;
  margin-top: 0.25rem;
  padding-bottom: 0 !important;
}
#page-container .luz-product-guide-wrapper .luz-product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border: 1px dashed #ff6847;
}
#page-container .luz-product-guide-wrapper .luz-product-card__icon {
  height: auto;
  width: auto;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#page-container .luz-product-guide-wrapper .luz-product-card__icon img {
  max-height: 100%;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
#page-container .luz-product-guide-wrapper .luz-product-card__name {
  font-weight: 500;
  font-size: 1rem;
  margin: 0;
  text-transform: inherit;
  padding-bottom: 0 !important;
}

a:where(:not(.wp-element-button)) {
  text-decoration: none;
}

/* --- Ende der style.scss --- */
/* --- Mobile Anpassungen für #Essen --- */
@media (max-width: 980px) {
  #Essen .et_pb_row {
    width: 94%;
  }
  #Essen .luz-product-guide-wrapper #luz-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    grid-auto-rows: minmax(80px, auto);
    gap: 0.5rem;
  }
  #Essen .luz-product-guide-wrapper #luz-product-grid .luz-product-card {
    padding: 0.75rem;
  }
  #Essen .luz-product-guide-wrapper #luz-product-grid .luz-product-card h4 {
    font-size: 0.75rem;
  }
  #Essen .luz-product-guide-wrapper #luz-product-grid .luz-product-card--large .luz-product-card__name {
    font-size: 1rem;
  }
}
/* ============================================================================
   SOLAWI CALCULATOR STYLES
   ============================================================================ */
.solawi-calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.solawi-calculator-grid > div {
  border: 1px solid #039b0f;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background: rgba(220, 226, 200, 0.3333333333);
  padding: 1.5rem;
  text-align: center;
}
@media (min-width: 981px) {
  .solawi-calculator-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    /* Die ersten beiden Elemente (Controls & Chart) nehmen je eine Spalte */
    /* Das dritte Element (Result Box) nimmt die volle Breite */
  }
  .solawi-calculator-grid > *:nth-child(1),
  .solawi-calculator-grid > *:nth-child(2) {
    grid-column: span 1;
  }
  .solawi-calculator-grid > *:nth-child(3) {
    grid-column: 1/-1;
  }
}

/* --- Controls Side --- */
.solawi-calculator-controls {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* NEU: Gibt nur dem mittleren Element den gewünschten Abstand */
}
.solawi-calculator-controls h4 {
  text-align: left;
  margin-bottom: 1rem;
  color: #039b0f;
  padding-bottom: 0.5rem;
}
.solawi-calculator-controls > :nth-child(2) {
  margin-bottom: 2rem;
}
.solawi-calculator-controls .control-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #393d3f;
  text-align: center;
}
.solawi-calculator-controls .control-group label .label-hint {
  display: block;
  font-weight: normal;
  font-size: 0.9rem;
  color: #777;
}

/* Consumption Buttons */
.consumption-buttons {
  display: flex;
  gap: 1rem;
}
.consumption-buttons .consumption-btn {
  flex: 1;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background-color: #eee;
  color: #393d3f;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease-out;
  font-family: "manrope", Helvetica, Arial, Lucida, sans-serif;
}
.consumption-buttons .consumption-btn:hover {
  background-color: #d9d9d9;
}
.consumption-buttons .consumption-btn.active {
  background-color: rgba(1, 153, 73, 0.2);
  color: #039b0f;
  border-color: #039b0f;
  box-shadow: 0 0 0 1px #039b0f;
  transform: none;
}

/* Income Slider */
.income-slider {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #d9d9d9;
  outline: none;
  opacity: 0.9;
  transition: opacity 0.2s;
  cursor: pointer;
}
.income-slider:hover {
  opacity: 1;
}
.income-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ff6847;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  -webkit-transition: transform 0.1s;
  transition: transform 0.1s;
}
.income-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.income-slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ff6847;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.income-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #393d3f;
}
.slider-labels .income-display {
  font-weight: bold;
  color: #ff6847;
  font-size: 1.2rem;
}

/* Result Box */
.result-box .result-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.result-box .result-label {
  font-weight: bold;
}
.result-box .result-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ff6847;
}
.result-box .result-hint {
  font-size: 0.85rem !important;
  padding: 0px;
}

/* --- Visualizations Side --- */
.solawi-calculator-chart .chart-wrapper h4 {
  padding-bottom: 0px;
}
.solawi-calculator-chart .chart-container {
  position: relative;
  height: 300px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.solawi-calculator-chart .chart-explanation {
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid #ff6847;
}
.solawi-calculator-chart .chart-explanation p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.solawi-calculator-chart .chart-explanation p:last-child {
  margin-bottom: 0;
}

/* --- Chart Styles --- */
.solawi-calculator-chart .chart-container {
  cursor: pointer;
}

.manual-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 13px;
}
.manual-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.manual-legend .legend-color-box {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.et-pb-has-background-video {
  border: 1px solid #ff6847;
}

/* --- Scroll-basierte Button-Sichtbarkeit für den Header-Button (Neuimplementierung) --- */
.et_pb_button_0_tb_header {
  /* Hiddan State (Default) */
  opacity: 0;
  max-width: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-width: 0 !important;
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
  transition: all 0.5s ease-in-out;
}

.et_pb_button_0_tb_header.is-visible {
  opacity: 1;
  max-width: 300px;
  pointer-events: auto;
}

#page-container .vorteile .et_pb_blurb {
  height: 100%;
}
#page-container .vorteile .et_pb_blurb .et_pb_blurb_content {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#page-container .vorteile .et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
#page-container .vorteile .et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container div {
  height: 100%;
  margin-top: auto;
  align-content: end;
}
#page-container .vorteile .et_pb_blurb h4 {
  color: #000;
}
#page-container .vorteile .et_pb_blurb p {
  margin-top: auto;
}
#page-container .vorteile .et_pb_blurb h4,
#page-container .vorteile .et_pb_blurb p {
  text-align: left !important;
  text-wrap: auto;
  line-height: 1.4;
}

#page-container .timeline .timeline-row {
  position: relative;
}
#page-container .timeline .timeline-row::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 0;
  left: 22px;
  width: 2px;
  background-color: #039b0f;
  z-index: 1;
  height: 84%;
}
#page-container .timeline .timeline-row::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 22px;
  width: 2px;
  background-color: #ff6847;
  z-index: 2;
  transition: height 0.1s linear;
  height: var(--line-height, 0%);
  max-height: 84%;
}
#page-container .timeline .timeline-row .et_pb_column {
  position: relative !important;
  z-index: 3 !important;
}
#page-container .timeline .timeline-item {
  overflow: visible !important;
  position: relative;
  z-index: 3;
  counter-increment: step-counter;
  width: calc(100% - 60px);
  transition: border-color 0.5s ease;
}
#page-container .timeline .timeline-item::before {
  content: counter(step-counter);
  position: absolute;
  left: -60px;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: white;
  border: 2px solid #039b0f;
  border-radius: 50%;
  text-align: center;
  line-height: 38px;
  font-weight: bold;
  z-index: 4;
  transition: all 0.3s ease;
}
#page-container .timeline .timeline-item.active {
  border-color: #ff6847;
}
#page-container .timeline .timeline-item.active li::before {
  content: "";
  position: absolute;
  margin-left: -27px !important;
  transform: translateY(20%);
  width: 20px;
  height: 20px;
  background-image: url("/wp-content/uploads/2025/08/Logo_Luzernenhof_Luzernenblatt_orange.svg");
}
#page-container .timeline .timeline-item.active::before {
  border-color: #ff6847;
  color: #ff6847;
  transform: scale(1.1);
  background-color: #d9d9d9;
}
#page-container .timeline .timeline-item li {
  list-style: none;
  text-align: center;
}
#page-container .timeline .timeline-item li::before {
  content: "";
  position: absolute;
  margin-left: -27px !important;
  transform: translateY(20%);
  width: 20px;
  height: 20px;
  background-image: url("/wp-content/uploads/2025/08/Logo_Luzernenhof_Luzernenblatt.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
#page-container .timeline .timeline-item li::marker {
  display: none !important;
}

#page-container .hoffuehrung .et_pb_column {
  z-index: 10;
}
#page-container .hoffuehrung .et_pb_column:hover .sticker-badge {
  left: -2vw;
  transform: scale(1.1) rotate(0deg);
  background: radial-gradient(circle at 30% 30%, #fbbf24 10%, #ff9147 60%, #ff6847 100%);
}
#page-container .hoffuehrung .et_pb_column .sticker-badge {
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: -30px;
  /* 1. Moderne Form für Browser, die shape() unterstützen (z.B. Chrome) */
  /* 2. Fallback für Browser, die shape() NICHT unterstützen (z.B. Firefox, Safari) */
  background: radial-gradient(circle at 30% 30%, #fbbf24 0%, #ff9147 50%, #ff6847 100%);
  transform: rotate(25deg);
  transition: all 0.3s ease-out;
}
@supports ((-webkit-clip-path: shape(from 0% 0%)) or (clip-path: shape(from 0% 0%))) or (-webkit-clip-path: shape(from 0% 0%)) {
  #page-container .hoffuehrung .et_pb_column .sticker-badge {
    -webkit-clip-path: shape(from 86.3271264003% 50%, arc to 79.3892626146% 71.3525491562% of 11.803398875%, arc to 61.2256994145% 84.5491502813% of 11.803398875%, arc to 38.7743005855% 84.5491502813% of 11.803398875%, arc to 20.6107373854% 71.3525491562% of 11.803398875%, arc to 13.6728735997% 50% of 11.803398875%, arc to 20.6107373854% 28.6474508438% of 11.803398875%, arc to 38.7743005855% 15.4508497187% of 11.803398875%, arc to 61.2256994145% 15.4508497187% of 11.803398875%, arc to 79.3892626146% 28.6474508438% of 11.803398875%, arc to 86.3271264003% 50% of 11.803398875%);
            clip-path: shape(from 86.3271264003% 50%, arc to 79.3892626146% 71.3525491562% of 11.803398875%, arc to 61.2256994145% 84.5491502813% of 11.803398875%, arc to 38.7743005855% 84.5491502813% of 11.803398875%, arc to 20.6107373854% 71.3525491562% of 11.803398875%, arc to 13.6728735997% 50% of 11.803398875%, arc to 20.6107373854% 28.6474508438% of 11.803398875%, arc to 38.7743005855% 15.4508497187% of 11.803398875%, arc to 61.2256994145% 15.4508497187% of 11.803398875%, arc to 79.3892626146% 28.6474508438% of 11.803398875%, arc to 86.3271264003% 50% of 11.803398875%);
  }
}
@supports not (((-webkit-clip-path: shape(from 0% 0%)) or (clip-path: shape(from 0% 0%))) or (-webkit-clip-path: shape(from 0% 0%))) {
  #page-container .hoffuehrung .et_pb_column .sticker-badge {
    -webkit-clip-path: polygon(86% 50%, 79% 71%, 61% 85%, 39% 85%, 21% 71%, 14% 50%, 21% 29%, 39% 15%, 61% 15%, 79% 29%);
            clip-path: polygon(86% 50%, 79% 71%, 61% 85%, 39% 85%, 21% 71%, 14% 50%, 21% 29%, 39% 15%, 61% 15%, 79% 29%);
  }
}
#page-container .hoffuehrung .et_pb_column .sticker-badge h3,
#page-container .hoffuehrung .et_pb_column .sticker-badge p {
  text-shadow: 0px 2px 3px #fff;
  position: relative;
  z-index: 5;
  text-align: center;
}
#page-container .hoffuehrung .et_pb_column .sticker-badge h3 {
  font-size: 1.1rem !important;
}
#page-container .hoffuehrung .et_pb_column .sticker-badge p {
  font-size: 0.9rem !important;
  line-height: 1.1;
}
@media (max-width: 980px) {
  #page-container .hoffuehrung .et_pb_column .sticker-badge {
    width: 200px;
    height: 200px;
  }
  #page-container .hoffuehrung .et_pb_column .sticker-badge h3 {
    font-size: 0.9rem !important;
  }
  #page-container .hoffuehrung .et_pb_column .sticker-badge p {
    font-size: 0.8rem !important;
  }
}
#page-container .et_pb_accordion_item.et_pb_toggle_open {
  border-style: dashed;
}

#page-container {
  overflow: hidden;
}
#page-container #karte .et_pb_column {
  width: 100%;
  height: 100%;
}
#page-container #karte .et_pb_column .et_pb_blurb {
  align-items: center;
  justify-content: center;
}
#page-container #karte .et_pb_column .et_pb_blurb:hover {
  border-style: dashed;
}
#page-container .et_pb_group_carousel_container .et_pb_group_carousel_track {
  overflow: hidden;
}

/* --- Datenschutz Checkbox Invalid State --- */
.et_pb_contact_field_checkbox input[type=checkbox]:invalid + label i {
  outline: 2px dashed #ff6847;
  outline-offset: 2px;
}

/* --- Focus Styles for Inputs --- */
input:focus,
textarea:focus,
select:focus {
  outline: 2px dashed #ff6847;
  outline-offset: 2px;
}/*# sourceMappingURL=style.css.map */