/* ==========================================================================
   Boutiquehotel Das ARX – Stylesheet
   ========================================================================== */

/* ---- Fonts ---- */
@font-face {
  font-display: swap;
  font-family: 'Panama';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/panamaregular.woff') format('woff');
}
@font-face {
  font-display: swap;
  font-family: 'Panama';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/panamabold.woff') format('woff');
}
@font-face {
  font-display: swap;
  font-family: 'Programnarot';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/programnarotmediumwebfont.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Programnarot';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/programnarotblack.woff2') format('woff2');
}

/* ---- Tokens ---- */
:root {
  --font: 'Panama', sans-serif;
  --font-accent: 'Programnarot', sans-serif;
  --text: #2D3A2B;
  --muted-42: rgba(255,255,255,0.42);
  --muted-55: #333333;
  --muted-62: rgba(255,255,255,0.62);
  --muted-65: #333333;
  --muted-70: #333333;
  --accent: #c28f3f;
  --bg-page: #F9F8F6;
  --bg-alt: #F5F4F2;
  --bg-placeholder: #ECEBE9;
  --footer-bg: #2D3A2B;
}

/* ---- Reset / base ---- */
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg-page); font-family: var(--font); color: var(--text); overflow-x: hidden; }
a { color: var(--text); text-decoration: underline; }
a:hover { color: #879C9C; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.6; }

/* ---- Hover utilities ---- */
.link-hover:hover { color: #879C9C; }
.btn-hover:hover { transform: scale(1.05); }
.btn-hover-sm:hover { transform: scale(1.02); }
.img-zoom { transition: transform 0.4s ease; }
.img-zoom:hover { transform: scale(1.06); }

/* ---- Layout primitives ---- */
.page { color: var(--text); }
.main { background: #fff; max-width: 1360px; margin: 0 auto; }
.section { padding: 96px clamp(20px,4vw,56px); }
.section--tight { padding: 64px clamp(20px,4vw,56px); }
.section--alt { background: var(--bg-alt); }
.section--white { background: #fff; }
.text-center { text-align: center; }
.text-regular { font-weight: 400; }
.section--stack { display: flex; flex-direction: column; gap: 36px; }
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.accent-rule { width: 40px; height: 2px; background: var(--accent); }

/* ---- Typography ---- */
.eyebrow { font: 900 16px var(--font-accent); color: var(--accent); letter-spacing: .1em; text-transform: uppercase; }
.heading-lg { font-family: var(--font); font-weight: 700; font-size: clamp(38px,3vw,46px); line-height: 1.3; margin: 0; }
.heading-md { font-family: var(--font); font-weight: 700; font-size: clamp(36px,2.6vw,42px); margin: 0; }
.heading-md--spaced { margin: 0 0 28px; }
.heading-card { font-family: var(--font); font-weight: 700; font-size: 31px; margin: 0; }
.section-subtitle { font: 400 17px/1.7 var(--font); color: var(--muted-65); }
.body-copy { font: 400 17px/1.8 var(--font); color: var(--muted-65); }
.body-copy--sm { font: 400 16px/1.7 var(--font); color: var(--muted-65); }
.section-header { display: flex; flex-direction: column; gap: 10px; }
.section-header--left { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 14px; margin: 0 0 56px; }

/* ---- Buttons ---- */
.btn { background: var(--accent); color: #fff; font: 700 13px var(--font); padding: 10px 18px; border-radius: 0; text-decoration: none; display: inline-block; transition: transform 0.2s ease; border: none; cursor: pointer; }
.btn--nav { font-family: var(--font-accent); font-weight: 500; font-size: 19px; text-transform: uppercase; padding: 12px 24px; transition: font-size 0.2s ease; }
.btn--nav:hover { font-size: 21px; color: #fff; }
.btn--sticky { font-family: var(--font-accent); font-weight: 500; font-size: 19px; text-transform: uppercase; padding: 12px 28px; background: var(--accent); transition: font-size 0.2s ease; }
.btn--sticky:hover { font-size: 21px; color: #fff; }
.btn--block { width: 100%; font-size: 15px; padding: 15px; text-align: center; margin-top: 8px; }

/* ---- Nav / Header ---- */
.hero { position: relative; min-height: 100vh; background: var(--bg-placeholder) url('assets/wandern-krahbergzinken-mathaeusgartner.jpg') center center / cover no-repeat; }
.hero__inner { position: absolute; inset: 0; max-width: 1360px; margin: 0 auto; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 30; background: transparent; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 18px clamp(20px,4vw,56px); }
.hero__logo { height: 48px; width: auto; display: block; filter: brightness(0) invert(1); }

@media (min-width: 701px) {
  .hero__logo { filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.25)) drop-shadow(0 0 8px rgba(0,0,0,0.18)); }
}
.nav { display: flex; align-items: center; gap: clamp(16px,3vw,36px); flex-wrap: wrap; }
.nav__link { font: 500 19px var(--font-accent); color: #fff; text-decoration: none; text-transform: uppercase; transition: font-size 0.2s ease; }
.nav__link:hover { font-size: 21px; color: #fff; }

.offer-badge { position: absolute; width: 152px; height: 152px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.55); padding: 7px; box-shadow: 0 14px 36px rgba(20,16,10,0.35); right: clamp(20px,4vw,56px); bottom: 12%; text-decoration: none; cursor: pointer; transition: transform 0.2s ease; }
.offer-badge__inner { width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(207,166,88,0.55); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; text-align: center; background-color: #CFA658EB; }
.offer-badge__label { font: 500 13px var(--font-accent); color: var(--text); letter-spacing: .22em; text-transform: uppercase; }
.offer-badge__divider { width: 26px; height: 1px; background-color: #2D3A2B80; }
.offer-badge__price { font: 500 21px var(--font-accent); color: #F8F0E0; line-height: 1.2; }
.offer-badge__cta { font: 500 13px var(--font-accent); color: var(--text); letter-spacing: .14em; text-transform: uppercase; }

.hero__content { position: relative; padding: 56px clamp(20px,4vw,56px); display: flex; flex-direction: column; gap: 20px; max-width: 680px; align-items: flex-start; text-align: left; margin: 0; }
.hero__title { font-family: var(--font); font-weight: 700; font-size: clamp(34px,4.6vw,52px); line-height: 1.15; color: #fff; }
.hero__subtitle { font: 400 19px/1.6 var(--font); color: #F1ECE0; }
.hero__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.hero__rating { padding: 0; border-radius: 0; font: 500 18px var(--font-accent); color: #F1ECE0; display: flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; transition: font-size 0.2s ease; }
.hero__rating:hover { font-size: 20px; color: #F1ECE0; }

/* ---- Einleitung ---- */
.intro { display: flex; gap: clamp(32px,5vw,64px); align-items: center; flex-wrap: wrap; }
.intro__text { flex: 65 1 400px; display: flex; flex-direction: column; gap: 18px; }
.intro__text p { margin: 0 0 1em; }
.intro__image { flex: 35 1 260px; aspect-ratio: 3/4; overflow: hidden; }

/* ---- USP ---- */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 28px; }
.usp-card { border-radius: 8px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.usp-card__icon { width: 88px; height: 71px; stroke-width: 0.5px; }
.usp-card__title { font-family: var(--font); font-weight: 700; font-size: 30px; color: var(--text); margin: 0; }
.usp-card__text { font: 400 16px/1.6 var(--font); color: var(--muted-70); }

/* ---- Card grids ---- */
.card-grid-3 { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); gap: 28px; }
.card-grid-3--sm { grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); }
.card-grid-2 { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(420px,100%),1fr)); gap: 40px 32px; }

/* ---- Pauschalen ---- */
.pauschale-card { background: var(--bg-alt); border: none; box-shadow: none; border-radius: 0; overflow: hidden; display: flex; flex-direction: column; }
.pauschale-card__image { height: 320px; background: #9F9C90; }
.pauschale-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.pauschale-card__meta { font: 500 15px var(--font); color: var(--muted-55); }
.feature-row { font: 400 15px var(--font); color: var(--muted-65); display: flex; gap: 8px; align-items: center; }
.feature-row svg { flex-shrink: 0; }
.pauschale-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.price-label { font: 400 13px var(--font); color: var(--muted-55); }
.pauschale-card__footer .btn { font-family: var(--font-accent); font-weight: 500; text-transform: uppercase; font-size: 17px; }
.pauschale-card__footer .btn:hover { color: #fff; }
.pauschale-card__footer .heading-card { font-size: 25px; }

/* ---- Vorteile ---- */
.vorteile-list { display: flex; flex-direction: column; gap: 26px; width: 100%; margin: 0 auto; }
.vorteile-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.vorteile-row__icon { flex: 0 0 auto; }
.vorteile-row__text { font: 400 17px/1.6 var(--font); color: var(--muted-70); }
.vorteile-cta { margin: 36px auto 0; max-width: 640px; font: 400 17px/1.6 var(--font); color: var(--muted-70); }
.vorteile-cta__link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.region__cta { margin-top: 56px; }

#region { padding-bottom: 46px; }
#bewertungen { padding-top: 58px; }

/* ---- Gallery / Carousel ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.gallery-grid__item { aspect-ratio: 3/5.2; border-radius: 0; overflow: hidden; }
.gallery-grid--bento { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; height: clamp(572px,46.8vw,806px); }
.gallery-grid--bento .gallery-grid__col { display: flex; flex-direction: column; gap: 18px; height: calc(100% - 40px); }
.gallery-grid--bento .gallery-grid__col:nth-child(2n) { margin-top: 40px; }
.gallery-grid--bento .gallery-grid__item { aspect-ratio: auto; min-height: 0; overflow: hidden; }
.section--white:has(#gallery-grid-1), .section--white:has(#gallery-grid-2) { padding-bottom: 48px; }
.gallery-carousel { display: none; position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; background: var(--footer-bg); }
.carousel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.7s ease; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: none; border: none; padding: 0; }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }
.carousel__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.carousel__dot { width: 6px; height: 6px; border-radius: 50%; }
@media (max-width: 700px) {
  #gallery-grid-1, #gallery-grid-2 { display: none !important; }
  .gallery-carousel { display: block !important; }
}

/* ---- Region ---- */
#region .section-header--left { margin-bottom: 56px; }
#region .section-header--left .body-copy { max-width: 75%; }
.region-card { display: flex; flex-direction: column; gap: 16px; }
.region-card__image { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-placeholder); }
.region-card__body { display: flex; flex-direction: column; gap: 10px; }

/* ---- Bewertungen ---- */
.review-card { background: var(--bg-alt); border: none; box-shadow: none; border-radius: 0; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review-card__stars { display: flex; gap: 3px; }
.review-card__text { font: 400 16px/1.7 var(--font); color: var(--muted-70); }
.review-card__name { font: 600 13px var(--font); }
.review-card__source { font: 400 12px var(--font); color: var(--muted-55); }

/* ---- FAQ ---- */
.section.text-center:has(.faq-list) { padding-bottom: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 1000px; margin: 0 auto; text-align: left; }
.faq-item { background: var(--bg-alt); border: none; border-radius: 0; padding: 18px 22px; }
.faq-toggle { width: 100%; background: none; border: none; padding: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; }
.faq-question { font: 700 17px var(--font); color: var(--text); }
.faq-symbol { font: 700 20px var(--font); color: var(--accent); }
.faq-answer { display: none; font: 400 16px/1.7 var(--font); color: var(--muted-65); margin-top: 12px; }
.faq-item[data-open="true"] .faq-answer { display: block; }

/* ---- Anfrageformular ---- */
.form-panel { background: #fff; border-radius: 8px; padding: clamp(24px,4vw,40px); max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field__label { font: 700 12px var(--font); color: var(--muted-65); }
.form-field__input { border: 1px solid rgba(45,58,43,0.25); border-radius: 6px; height: 44px; padding: 0 14px; font: 400 14px var(--font); color: var(--text); }
.form-field__input--select { padding: 0 12px; }
.kinder-alter { display: none; border: 1px dashed rgba(45,58,43,0.25); border-radius: 8px; padding: 18px; flex-direction: column; gap: 12px; background: #faf7f1; }
.kinder-alter__label { font: 700 12px var(--font); color: var(--muted-65); }
.kinder-alter__fields { display: flex; gap: 14px; flex-wrap: wrap; }
.kinder-alter__field { display: flex; flex-direction: column; gap: 6px; width: 110px; }
.kinder-alter__field-label { font: 400 11px var(--font); color: var(--muted-55); }
.kinder-alter__field-select { border: 1px solid rgba(45,58,43,0.25); border-radius: 6px; height: 40px; padding: 0 8px; font: 400 13px var(--font); color: var(--text); }

/* ---- EasyBooking Anfrage-Widget ---- */
#ebOffer, #ebOffer * { font-family: var(--font) !important; border-radius: 0 !important; color: #333333 !important; }
.eb-select-dropdown, .eb-select-dropdown *,
.eb-picker__popper, .eb-picker__popper *,
.eb-popover, .eb-popover * { font-family: var(--font) !important; border-radius: 0 !important; }

#ebOffer .sectionTitle { font-weight: 700 !important; }
#ebOffer .eb-form-item__label { font-weight: 700 !important; }

#ebOffer .eb-button--primary:not(.is-link),
#ebOffer .eb-button--primary:not(.is-link) *,
#ebOffer .eb-button--success:not(.is-link),
#ebOffer .eb-button--success:not(.is-link) * {
  font-family: var(--font-accent) !important;
  font-weight: 500 !important;
  font-size: 19px !important;
  text-transform: uppercase !important;
  color: #fff !important;
}
#ebOffer .eb-button--primary:not(.is-link),
#ebOffer .eb-button--success:not(.is-link) {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}
#ebOffer .eb-button--primary:not(.is-link):hover,
#ebOffer .eb-button--primary:not(.is-link):focus,
#ebOffer .eb-button--success:not(.is-link):hover,
#ebOffer .eb-button--success:not(.is-link):focus {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  opacity: 0.9;
}

/* ---- Footer ---- */
.footer { background: var(--footer-bg); }
.footer__inner { max-width: 1360px; margin: 0 auto; padding: 64px clamp(20px,4vw,56px) 32px; display: flex; flex-direction: column; gap: 36px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__brand { font-family: var(--font); font-weight: 700; font-size: 23px; color: #fff; }
.footer__address { font: 400 15px/1.8 var(--font); color: #fff; }
.footer__heading { font: 500 16px var(--font-accent); color: #fff; letter-spacing: .08em; text-transform: uppercase; }
.footer__link { font: 400 15px var(--font); color: #fff; text-decoration: none; transition: font-size 0.2s ease; }
.footer__link:hover { font-size: 17px; color: #fff; }
.footer__social { display: flex; align-items: center; gap: 16px; }
.footer__social-link { color: #fff; display: flex; text-decoration: none; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font: 400 14px var(--font); color: #fff; }

/* ---- Sticky Buchungsleiste ---- */
.sticky-bar { position: sticky; bottom: 0; left: 0; right: 0; width: 100%; z-index: 40; background: #F4ECDB; border-top: 1px solid rgba(45,58,43,0.18); min-height: 48px; }
.sticky-bar__inner { max-width: 1360px; margin: 0 auto; padding: 6px clamp(76px,7vw,96px) 10px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; overflow: hidden; max-height: 200px; transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease; }
.sticky-bar__field { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.sticky-bar__label { font: 700 14px var(--font); color: var(--muted-65); white-space: nowrap; }
.sticky-bar__input { border: 1px solid rgba(45,58,43,0.25); border-radius: 0; height: 36px; padding: 0 10px; font: 400 15px var(--font); color: var(--text); }
.sticky-bar__toggle { position: absolute; top: 12px; right: clamp(16px,3vw,32px); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: transparent; border: none; padding: 0; cursor: pointer; color: var(--text); }
.sticky-bar__toggle-icon--pen { display: none; }
.sticky-bar.is-collapsed .sticky-bar__toggle-icon--arrow { display: none; }
.sticky-bar.is-collapsed .sticky-bar__toggle-icon--pen { display: block; }
.sticky-bar.is-collapsed .sticky-bar__toggle { position: fixed; top: auto; bottom: 14px; right: clamp(16px,3vw,32px); background: #F4ECDB; border-radius: 50%; box-shadow: 0 2px 10px rgba(38,32,25,0.3); }
.sticky-bar.is-collapsed .sticky-bar__inner { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
.sticky-bar.is-collapsed { background: transparent; border-top: none; min-height: 0; }
.btn--sticky-text-short { display: none; }

/* ---- Nav toggle (Burgermenü) ---- */
.nav-toggle { display: none; align-items: center; justify-content: center; position: relative; z-index: 40; width: 40px; height: 40px; background: rgba(45,58,43,0.35); border: none; border-radius: 6px; padding: 0; cursor: pointer; }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: rgba(244,236,219,0.8); padding: 16px clamp(20px,4vw,56px) 24px; }
  .nav.is-open { display: flex; }
  .nav__link { padding: 8px 0; width: 100%; color: var(--text); }
  .nav .btn--nav { margin-top: 8px; }
}

@media (max-width: 700px) {
  .hero { min-height: 72vh; padding-top: 92px; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero__inner { display: contents; }

  .offer-badge { position: static; align-self: flex-end; flex-shrink: 0; margin: 0 clamp(20px,4vw,56px) 10px 0; }
  .offer-badge:hover { transform: scale(1.05); }

  .section-subtitle { font-size: 19px; }
  .body-copy { font-size: 19px; }
  .body-copy--sm { font-size: 18px; }
  .usp-card__text { font-size: 18px; }
  .pauschale-card__meta { font-size: 17px; }
  .feature-row { font-size: 17px; }
  .price-label { font-size: 15px; }
  .vorteile-row { justify-content: flex-start; text-align: left; }
  .vorteile-row__text { font-size: 19px; }
  .vorteile-cta { font-size: 19px; }
  .review-card__text { font-size: 18px; }
  .faq-answer { font-size: 18px; }

  #region .section-header--left .body-copy { max-width: none; }

  .sticky-bar__inner { flex-wrap: nowrap; justify-content: space-between; padding: 8px 48px 8px 10px; gap: 6px; }
  .sticky-bar__field { flex-direction: column; align-items: flex-start; gap: 2px; flex: 1 1 0; min-width: 0; }
  .sticky-bar__field--adults { flex: 0 1 56px; }
  .sticky-bar__label { font-size: 11px; }
  .sticky-bar__input { width: 100%; min-width: 0; padding: 0 4px; font-size: 11px; height: 32px; }
  .btn--sticky { flex: 0 0 auto; padding: 8px 10px; align-self: flex-end; }

  .sticky-bar__toggle { top: 6px; right: 6px; width: 40px; height: 40px; }
  .sticky-bar__toggle svg { width: 20px; height: 20px; }
  .sticky-bar.is-collapsed .sticky-bar__toggle { bottom: 14px; right: 14px; }
}

@media (max-width: 400px) {
  .btn--sticky-text-full { display: none; }
  .btn--sticky-text-short { display: inline; }
}
