/* =========================================================
   PETIT HAMAM – Buchen
   Datei: /images/ph-booking/ph-booking.css
   Lokal/scoped, keine globalen Joomla-Overrides
   ========================================================= */

@font-face{
  font-family:"Charlotte";
  src:url("/images/fonts/Charlotte.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

.ph-icon-booking,
.ph-icon-booking *{
  box-sizing:border-box;
}

.ph-icon-booking{
  width:min(760px,100%);
  margin:0 auto;
}

.ph-booking-form{
  position:relative;
  width:100%;
  color:#3a241a;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,248,234,.54), rgba(255,248,234,0) 38%),
    linear-gradient(180deg,#f1dfc2 0%, #dfc19a 100%);
  border:1px solid rgba(255,244,225,.46);
  border-radius:32px;
  padding:56px 46px 48px;
  box-shadow:
    0 34px 95px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.36);
}

.ph-booking-form::before{
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid rgba(91,51,36,.10);
  border-radius:24px;
  pointer-events:none;
}

.ph-booking-form .ph-booking-head{
  text-align:center;
  max-width:520px;
  margin:0 auto 22px;
}

.ph-booking-form .ph-booking-head h1{
  margin:0 !important;
  font-family:Arial,sans-serif !important;
  font-size:21px !important;
  line-height:1.44 !important;
  color:#5b3324 !important;
  -webkit-text-fill-color:#5b3324 !important;
  font-weight:700 !important;
  letter-spacing:.005em !important;
  text-shadow:none !important;
  text-transform:none !important;
}

.ph-booking-form .ph-booking-brand{
  margin:0 auto 38px !important;
  font-family:"Charlotte", Georgia, serif !important;
  font-size:clamp(54px,9vw,82px) !important;
  line-height:.82 !important;
  font-weight:400 !important;
  letter-spacing:-.02em !important;
  color:#5b3324 !important;
  -webkit-text-fill-color:#5b3324 !important;
  text-align:center !important;
  text-shadow:0 7px 20px rgba(90,50,25,.13) !important;
  text-transform:none !important;
}

.ph-booking-row{
  display:grid;
  gap:18px;
  margin-bottom:18px;
}

.ph-booking-row-2{
  grid-template-columns:1fr 1fr;
}

.ph-field{
  min-height:72px;
  display:flex;
  align-items:center;
  gap:15px;
  padding:11px 18px;
  border-radius:18px;
  background:rgba(255,250,241,.50);
  border:1px solid rgba(120,75,50,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.30);
}

.ph-field-full{
  margin-bottom:18px;
}

.ph-ui-icon{
  width:34px;
  min-width:34px;
  text-align:center;
  color:#7a4b34;
  font-size:24px;
  opacity:.88;
}

.ph-booking-form input,
.ph-booking-form select,
.ph-booking-form textarea{
  width:100%;
  min-height:46px;
  border:1px solid rgba(120,75,50,.10);
  background:rgba(255,255,255,.70);
  color:#3a241a;
  padding:10px 12px;
  font-family:inherit;
  font-size:16px;
  border-radius:8px;
  outline:none;
  box-shadow:inset 0 1px 2px rgba(70,39,27,.06);
}

.ph-booking-form input::placeholder,
.ph-booking-form textarea::placeholder{
  color:rgba(58,36,26,.58);
}

.ph-booking-form input:focus,
.ph-booking-form select:focus,
.ph-booking-form textarea:focus{
  border-color:rgba(155,95,69,.45);
  background:rgba(255,255,255,.84);
  box-shadow:0 0 0 3px rgba(155,95,69,.10);
}

.ph-booking-form textarea{
  min-height:112px;
  resize:vertical;
}

.ph-choice-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin:18px 0 18px;
}

.ph-choice{
  height:112px;
  border-radius:16px;
  border:4px solid rgba(95,55,35,.12);
  background:rgba(255,246,231,.72);
  display:grid;
  place-items:center;
  cursor:pointer;
  padding:7px;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.ph-choice:hover{
  transform:translateY(-1px);
  background:rgba(255,248,236,.88);
  box-shadow:0 9px 22px rgba(90,45,25,.10);
}

.ph-choice.is-active{
  background:#fff4e4;
  border-color:rgba(123,78,56,.88);
  box-shadow:
    0 10px 24px rgba(90,45,25,.16),
    0 0 0 3px rgba(255,248,236,.65);
}

.ph-choice img{
  max-width:100%;
  max-height:92px;
  object-fit:contain;
}

.ph-img-active{
  display:none;
}

.ph-choice.is-active .ph-img-normal{
  display:none;
}

.ph-choice.is-active .ph-img-active{
  display:block;
}

.ph-counter{
  min-height:72px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 18px;
  border-radius:18px;
  background:rgba(255,250,241,.50);
  border:1px solid rgba(120,75,50,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.30);
}

.ph-counter-badge{
  padding:8px 14px;
  border-radius:999px;
  background:#e8cda8;
  color:#704832;
  font-size:13px;
  font-weight:700;
  border:1px solid rgba(120,75,50,.18);
}

.ph-counter button{
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(120,75,50,.14);
  background:rgba(255,255,255,.42);
  color:#7b4e38;
  font-size:22px;
  cursor:pointer;
  line-height:1;
}

.ph-counter button:hover{
  background:rgba(255,255,255,.70);
}

.ph-counter input{
  text-align:center;
  min-width:0;
}

.ph-counter.is-disabled{
  opacity:.45;
}

.ph-counter.is-disabled button,
.ph-counter.is-disabled input{
  pointer-events:none;
}

.ph-price-box{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:center;
  margin:24px 0 14px;
  padding:22px 24px;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,248,236,.70),rgba(239,216,182,.56));
  border:1px solid rgba(120,75,50,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 10px 26px rgba(90,45,25,.08);
}

.ph-price-icon{
  color:#9b5f45;
  font-size:25px;
  opacity:.80;
}

.ph-price-label{
  display:block;
  margin-bottom:7px;
  font-family:Arial,sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#7b4e38;
}

.ph-price-note{
  font-size:14px;
  line-height:1.45;
  color:#8a6955;
  margin-top:8px;
}

.ph-price-early{
  font-size:34px;
  line-height:1;
  color:#3a241a;
  font-weight:700;
  letter-spacing:.01em;
}

.ph-voucher-toggle{
  display:flex;
  align-items:center;
  gap:10px;
  width:fit-content;
  margin:0 0 16px 4px;
  color:#6a4632;
  font-family:Arial,sans-serif;
  font-size:13px;
  line-height:1.4;
  font-weight:700;
  letter-spacing:.04em;
  cursor:pointer;
}

.ph-voucher-toggle input{
  width:18px;
  min-width:18px;
  height:18px;
  min-height:18px;
  margin:0;
  accent-color:#7b4e38;
  cursor:pointer;
}

.ph-voucher-toggle span{
  text-decoration:underline;
  text-underline-offset:4px;
}

.ph-voucher-line{
  display:grid;
  grid-template-columns:auto 1fr 130px;
  gap:12px;
  margin-bottom:18px;
}

.ph-voucher-line.is-hidden{
  display:none;
}

.ph-voucher-label{
  font-size:13px;
  font-weight:700;
  color:#6a4632;
  white-space:nowrap;
}

.ph-voucher-note{
  grid-column:2 / -1;
  display:block;
  margin-top:-4px;
  font-size:13px;
  line-height:1.45;
  color:rgba(58,36,26,.62);
}

.ph-reveal-button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin:18px 0 0;
  padding:15px 22px;
  border:1px solid rgba(120,75,50,.18);
  border-radius:999px;
  background:rgba(255,248,236,.58);
  color:#6a4632;
  font-family:Arial,sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
  transition:background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.ph-reveal-button:hover{
  background:rgba(255,248,236,.84);
  transform:translateY(-1px);
  box-shadow:0 8px 22px rgba(90,45,25,.10), inset 0 1px 0 rgba(255,255,255,.42);
}

.ph-request-section{
  overflow:hidden;
  max-height:1200px;
  opacity:1;
  transform:translateY(0);
  transition:max-height .55s ease, opacity .35s ease, transform .35s ease, margin-top .35s ease;
  margin-top:20px;
}

.ph-request-section.is-collapsed{
  max-height:0;
  opacity:0;
  transform:translateY(-8px);
  margin-top:0;
  pointer-events:none;
}

.ph-progressive-section{
  margin-top:18px;
}

.ph-section-hint{
  margin:0 0 10px;
  font-family:Arial,sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#7b4e38;
}

.ph-field-message{
  align-items:flex-start;
  margin-bottom:24px;
}

.ph-field-message .ph-ui-icon{
  padding-top:12px;
}

.ph-submit{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:4px;
  width:142px;
  height:142px;
  margin:30px auto 0;
  border-radius:999px;
  border:1px solid rgba(120,75,50,.14);
  background:radial-gradient(circle at 50% 36%, #fff8ec, #f3d9b8 72%);
  cursor:pointer;
  box-shadow:
    0 16px 36px rgba(70,39,27,.20),
    inset 0 1px 0 rgba(255,255,255,.50);
  transition:transform .2s ease, box-shadow .2s ease;
}

.ph-submit:hover{
  transform:translateY(-2px) scale(1.02);
  box-shadow:
    0 20px 44px rgba(70,39,27,.24),
    inset 0 1px 0 rgba(255,255,255,.55);
}

.ph-submit img{
  max-width:108px;
  max-height:78px;
  object-fit:contain;
}

.ph-submit span{
  font-family:Arial,sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#6a4632;
}

@media(max-width:720px){
  .ph-booking-form{
    padding:40px 22px 34px;
    border-radius:26px;
  }

  .ph-booking-form::before{
    inset:10px;
    border-radius:20px;
  }

  .ph-booking-row-2,
  .ph-choice-grid{
    grid-template-columns:1fr 1fr;
  }

  .ph-voucher-line{
    grid-template-columns:1fr;
  }

  .ph-voucher-note{
    grid-column:1;
  }

  .ph-price-box{
    grid-template-columns:auto 1fr;
  }
}

/* =========================
   BUCHEN – GUTSCHEINFELDER WIRKLICH VERSTECKEN
   ========================= */

#phVoucherFields.is-hidden{
  display:none !important;
}

/* =========================
   MOBILE FIX – BUCHEN GUTSCHEIN
   ========================= */

@media(max-width:720px){

  .ph-voucher-toggle{
    width:100%;
    margin:18px 0 14px 0 !important;
    display:grid !important;
    grid-template-columns:28px 1fr !important;
    align-items:center !important;
    gap:12px !important;
    font-size:18px !important;
  }

  .ph-voucher-toggle input{
    display:inline-block !important;
    width:24px !important;
    min-width:24px !important;
    height:24px !important;
    min-height:24px !important;
    padding:0 !important;
  }

  .ph-voucher-line{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
    padding:18px !important;
  }

  #phVoucherFields.is-hidden{
    display:none !important;
  }

  .ph-voucher-label{
    white-space:normal !important;
    font-size:15px !important;
  }

  .ph-voucher-line input{
    width:100% !important;
    min-width:0 !important;
  }

  .ph-voucher-note{
    grid-column:1 !important;
    margin-top:0 !important;
    font-size:14px !important;
    line-height:1.55 !important;
  }
}
/* Mobile: Gutschein-Felder sicher verstecken */
@media(max-width:720px){
  .ph-booking-form #phVoucherFields.is-hidden{
    display:none !important;
  }
}