/*
Theme Name:     booking-child
Theme URI:      https://example.com/
Description:    Child Theme für booking
Author:         Oliver Blum
Author URI:     https://example.com/
Template:       booking
Version:        1.0.0
*/

/* Hier eigene CSS-Regeln */

/* Custom Font
  ======================*/
@font-face {
  font-family: 'MontserratVF';
  src: url('/booking/wp-content/themes/booking-child/fonts/Montserrat-VariableFont_wght.woff2') format('woff2-variations'),
       url('/booking/wp-content/themes/booking-child/fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/*Top pallet title logo via background image */

 .page__pallet__top > .content > ul > li {
    margin: 6px;
    height: 48px;
}

/*logo as background image*/

.top-pallet-logo {
    background-image: url("https://theraumphotography.com/backlight/designer/page/image/164");
    background-repeat: no-repeat;
    width: 192px;
    height: 48px;
}
li.top-pallet-logo a {
    display: block;
    width: 100%;
    height: 100%;
    }

nav.nav .menu-item {
  background-color: transparent;
  border-radius: 3px;
  color: #212121;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  line-height: 36px;
  margin: 0;
  opacity: 0.999999;
  outline: none;
  position: relative;
  text-align: left;
  text-decoration: none;
}

nav.nav .menu-item.menu-item-has-children > a, nav.nav .menu-item.menu-item-has-children > span {
  padding-right: 24px;
  text-transform: uppercase;
}

/* --- Entry Title --- */
.entry-title {
  margin: 0.25rem 0;
  text-align: center;
  font-family: MontserratVF, Arial, 'Helvetica Neue', Helvetica, Roboto, 'Droid Sans', sans-serif;
  font-size: clamp(1.5rem, 1.2545rem + 1.0909vw, 3rem);
  font-weight: 700;
  color: blueviolet;
}
.entry-header {
  margin: 0 0 3rem;
}

/* --- Accordion Styles --- */
.accordion-button {
  color: #000;
  font-family: 'MontserratVF', sans-serif;
  font-weight: 700;
  width: 100%;
  padding: 24px 16px !important;
  font-size: clamp(1.6rem, 2vw + 0.5rem, 2.0rem);
  cursor: pointer;
  border: none;
  margin: 0;
  transition: background 0.2s ease;
  display: inline-block;
  box-sizing: border-box;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.accordion-content-inner {
  padding: 24px 16px;
}


/* Background colors per Accordion */
.accordion-button-1, .accordion-content-1 { background-color: #e6eceb !important; }
.accordion-button-2, .accordion-content-2 { background-color: #afdbde !important; }
.accordion-button-3, .accordion-content-3 { background-color: #eae4dc !important; }
.accordion-button-4, .accordion-content-4 { background-color: #e8f5e9 !important; }
.accordion-button-5, .accordion-content-5 { background-color: #f3e5f5 !important; }
.accordion-button-6, .accordion-content-6 { background-color: #ffebee !important; }
.accordion-button-7, .accordion-content-7 { background-color: #e1f5fe !important; }
.accordion-button-8, .accordion-content-8 { background-color: #fffde7 !important; }

/* --- Layout and General Styles --- */
.grid_12 {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.col_3 {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  background-color: #ffffff;
  padding: 20px;
  margin: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Accordion Container full width */
.accordion-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 48px;
  padding: 0;
  box-sizing: border-box;
}

.accordion-item {
  text-align: left;
  width: 100%;
}

.accordion-content-inner {
  padding: 0px 16px;
}



/* --- Info-Text --- */
.info-text {
    /* z.B. Gesamtbreite, falls gewünscht */
  }
  .centered-text {
    display: flex;
    justify-content: center; /* zentriert horizontal */
  }
  .info-text p {
    max-width: 600px;
    background-color: #F7F9FC;
    padding: 10px !important;
    margin: 0; /* falls du den Abstand zum umgebenden div anpassen möchtest */
  }

/* --- Package Card Styling --- */
.packages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.package-card .wpdev-form-control-wrap {
  text-align: center;
}

.package-card .wpdev-form-control-wrap .wpdev-list-item {
  display: block;
  margin-bottom: 8px;
  text-align: left; /* Optional, damit Label-Text links bleibt */

  margin-left: auto;
  margin-right: auto;
}

/* Desktop & große Bildschirme */
.package-card {
  flex: 1 1 280px;              /* flexibel: min 280px, wächst mit */
  max-width: 320px;             /* auf großen Screens nicht unendlich breit */
  border: 1px solid #e0e0e0;
  padding: 1.2em;
  border-radius: 12px;
  background: #ffffff;
  font-family: 'MontserratVF', sans-serif;
  margin-bottom: 1.5em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Header-Bereich des Pakets */
.package-head {
  margin-bottom: 1.5em;
  text-align: center;
}

.package-card h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  color: #333;
  font-size: 1.8em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.package-card p {
  color: #555;
  font-size: 0.95em;
  line-height: 1.5;
}

.package-card strong {
  color: #333;
}

.package-card .price {
  font-size: clamp(1.5rem, 1.2545rem + 1.0909vw, 1.8rem);
  font-weight: 800;
  color: #007bff;
  display: block;
  margin: 0.5em 0;
  text-align: center;
}

.package-card .select {
  font-size: clamp(1.5rem, 1.2545rem + 1.0909vw, 1.8rem);
  font-weight: 800;
  color: #007bff;
  display: block;
  margin: 0.5em 0;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

/* Einheitliches Styling für alle "Light"-Buttons im Booking-Plugin */
.wpbc_button_light,
.wpbc_button_light:focus,
.wpbc_button_light:hover {
  font-size: clamp(1em, 1em + ((1vw - 0.2em) * 0.208), 2em);
  border: 2px solid #eeeeeeb5;
  box-shadow: 0 2px 10px 2px #ffffff54;
  background: #fdfdfd;
  color: #444444e0;
  border-radius: 0.375em;
  padding: 0 2.2em;
  line-height: calc(var(--wpbc_form-button-light-size-height) - 3px);
  text-decoration: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto !important;
  height: var(--wpbc_form-button-light-size-height);
  box-sizing: border-box;
  text-shadow: none;
}


.anfrage-button {
  font-size: clamp(1em, 1em + ((1vw - 0.2em) * 0.208), 1.125em);
  border: 2px solid #eeeeeeb5;
  box-shadow: 0 2px 10px 2px #ffffff54;
  background: #fdfdfd;
  color: #444444e0;
  border-radius: 0.375em;
  padding: 0 2.2em;
  line-height: calc( var(--wpbc_form-button-light-size-height) - 3px );
  text-decoration: none;
  cursor: pointer;
  outline: none;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto !important;
  height: var(--wpbc_form-button-light-size-height);
  box-sizing: border-box;
  text-shadow: none;
}


@media (max-width: 768px) {
  /* Falls .grid_12 noch verwendet wird */
  .grid_12 {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center; /* zentriert */
  }

  .col_3 {
    width: 100%;
    margin: 8px 0;
    display: flex;
    justify-content: center;
  }

  .accordion-container {
    margin-left: 0;
    width: 100%;
  }

  .package-head {
    margin-bottom: 1.5em;
    text-align: left;
  }

  /* Kartenbreite auf Smartphones */
  .package-card {
    width: 95%;             
    max-width: 500px;       
    flex: 1 1 auto;         
    margin-left: auto;
    margin-right: auto;
  }
}



/* ========================================================= */
/* --- Globale Formular-Stile --- */
/* ========================================================= */

/* Container für das gesamte Buchungsformular */
.booking-calendar {
    background-color: #f7f9fc;
    padding: 3em 1.5em;
    border-radius: 12px;
    max-width: 1140px;
    margin: 0 auto;
    font-family: 'Open Sans', sans-serif;
    color: #1c1c1c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Titel des Formulars */
.form-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
}

.booking_form_div hr {
  margin: 6px 0 12px;
  border: none;
  color: transparent;
  background: #c6c6c6 !important;
  height: 1.2px;
  box-shadow: none;
}

/* ========================================================= */
/* --- WP Booking Calendar Plugin-Stile --- */
/* ========================================================= */

/* Basisstil für Formular-Elemente, die durch das Plugin generiert werden */
.wpbc_container_booking_form .wpdev-form-control-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 1rem;
}

/* Stil für Labels, die das Plugin generiert */
.wpbc_container_booking_form label,
label { /* Das Label, das Sie in Ihrem HTML manuell hinzugefügt haben, wird ebenfalls gestylt */
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    display: block; /* Wichtig für die korrekte Positionierung über den Feldern */
    text-align: left;
}

/* Stil für Eingabefelder, Select-Boxen und Textareas */
.wpbc_container_booking_form input,
.wpbc_container_booking_form select,
.wpbc_container_booking_form textarea,
input,
select,
textarea {
    padding: 0.75rem;
    border: 1px solid #d6dbe2;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Fokus-Effekt für alle Eingabefelder */
.wpbc_container_booking_form input:focus,
.wpbc_container_booking_form select:focus,
.wpbc_container_booking_form textarea:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.15);
    outline: none;
}

/* Mindesthöhe für die Textarea */
textarea {
    min-height: 120px;
}

/* Grid-Layouts für mehrspaltige Anordnungen */
.two-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.four-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

/* Stil für den Absende-Button-Container */
.submit-group {
    text-align: center;
    margin-top: 2em;
}

/* Stil für den Absende-Button */
.submit-group input[type="submit"] {
    background: #2c3e50;
    color: white;
    padding: 0.75em 2em;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

/* Hover-Effekt für den Button */
.submit-group input[type="submit"]:hover {
    background: #1a252f;
}

/* Zentriert den Container mit den Gesamtkosten */
.cost-container {
    width: 100%;
    text-align: center;
    margin: 1.5rem 0; /* Vertikaler Abstand */
}

/* Stellt sicher, dass das Label innerhalb des Containers richtig formatiert ist */
.cost-container l {
    display: block; /* Erlaubt das Styling des Labels als Blockelement */
    font-weight: 600;
}

/* Zentriert den Container mit den AGB */
.read-container {
    width: 100%;
    text-align: center;
    margin: 1.5rem 0; /* Vertikaler Abstand */
}

.read-container a:link {
  color: #007bff; /* Blaue Farbe für unbesuchte Links */
}

.read-container a:visited {
  color: #6c757d; /* Graue Farbe für besuchte Links */
}

.read-container a:hover {
  color: #0056b3; /* Dunkleres Blau beim Darüberfahren */
  text-decoration: underline; /* Unterstreichung hinzufügen */
}

.read-container a:active {
  color: #00428a; /* Noch dunkleres Blau, wenn geklickt wird */
}

/* ========================================================= */
/* --- Mobile Anpassung --- */
/* ========================================================= */

@media (max-width: 768px) {
    .two-cols,
    .four-cols {
        grid-template-columns: 1fr;
    }
}


/* cost hint + booking */
.booking-info {
  text-align: center;
  margin-top: 0;
  margin-bottom: 24px;
}

.booking-info .wpbc_button_light {
  font-weight: 900;
}

.cost-hint {
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0.5em 0 !important;
}

.add-more {
  font-size: 1rem;
  font-weight: 400;
  margin: 0.3em 0 !important;
}

.button-row {
  display: inline-block;
  font-size: 1rem;
  vertical-align: middle;
}

.button-row .wpbc_button_light {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.wpbc_container_booking_form .booking_form_div .captachinput {
  width: 120px;
  flex: 0 1 2em !important;
  margin: 0;
}

.wpbc_container_booking_form .booking_form_div img.captcha_img {
  vertical-align: middle;
  box-shadow: none;
  margin-left: 0 !important;
  align-self: center;
}