@charset "UTF-8";
/* Sezioni home page (frame Figma "home-d") */
/* Regole .hero/.hero-image/.hero-word* condivise con le pagine interne sono in css/hero.css */
.hero-side-buttons {
  position: absolute;
  right: 0;
  top: 345px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.hero-side-buttons .btn-expand {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary-100);
  border-radius: 8px 0 0 8px;
  padding: 15px 24px;
  overflow: hidden;
  cursor: pointer;
}

.hero-side-buttons .btn-expand-label {
  display: inline-block;
  max-width: 0;
  margin-right: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-cta);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-accent-700);
  transition: max-width 0.35s ease, opacity 0.2s ease, margin-right 0.35s ease;
}

.hero-side-buttons .btn-expand:hover .btn-expand-label,
.hero-side-buttons .btn-expand:focus-visible .btn-expand-label {
  max-width: 220px;
  margin-right: 8px;
  opacity: 1;
  transition: max-width 0.35s ease, opacity 0.3s ease 0.05s, margin-right 0.35s ease;
}

.hero-side-buttons .btn-expand-icon {
  display: flex;
  flex-shrink: 0;
}

.intro-famiglia {
  background: var(--color-bg-default-light);
}

.intro-famiglia .content-1037 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.intro-famiglia .intro-lead {
  max-width: 918px;
  text-align: center;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: var(--text-h3-size);
  line-height: 125%;
}

.intro-famiglia .split,
.wellness-section .split {
  display: flex;
  align-items: center;
  gap: 77px;
}

.intro-famiglia .split-image {
  width: 440px;
  height: 440px;
  flex-shrink: 0;
}

.intro-famiglia .split-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 520px;
}

.split-text .btn {
  align-self: flex-start;
}

.intro-famiglia .split-text p.body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  color: var(--color-text-secondary-dark);
}

/* Zimmer & Ferienwohnungen */
.zimmer-section {
  background: var(--color-bg-default);
}

.zimmer-section .content-1037 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.zimmer-section .title-block {
  max-width: 918px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zimmer-section .title-block p.lead {
  font-family: var(--font-body);
  color: var(--color-text-secondary-dark);
}

.zimmer-cards {
  display: flex;
  gap: 48px;
  align-items: flex-end;
  width: 100%;
}

/* Larghezze proporzionali (rapporto Figma 624:440) così le due card stanno sempre
   nei 1037px del contenuto, indipendentemente dallo schermo. */
.zimmer-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 624 1 0;
  min-width: 0;
}

.zimmer-card.app {
  flex: 440 1 0;
}

.zimmer-card .zimmer-card-image {
  width: 100%;
  aspect-ratio: 624/513;
}

.zimmer-card.app .zimmer-card-image {
  aspect-ratio: 1/1;
}

.zimmer-card .card-footer {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
}

.zimmer-card .card-footer .text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* .card-footer è una riga flex con questo come unico figlio: senza flex:1 si
     restringe al contenuto invece di riempire la card (il bottone full-width dentro
     resterebbe stretto al box, non alla card). */
  flex: 1;
}

.zimmer-card .card-footer .text p.subtitle {
  font-family: var(--font-body);
  color: var(--color-text-secondary-dark);
}

.card-footer .text .btn {
  align-self: flex-start;
}

.booking-bar {
  display: flex;
  gap: 48px;
  align-items: flex-end;
  justify-content: center;
}

.booking-bar .field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.booking-bar .field .eyebrow {
  color: var(--color-text-secondary-dark);
}

.booking-bar .field strong {
  font-family: var(--font-display);
  font-weight: var(--font-weight-display);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line);
  color: var(--color-text-primary-dark);
}

/* Ristorante */
.ristorante-section {
  position: relative;
  color: var(--color-text-primary-light);
  padding: 72px 24px 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ristorante-section .bg-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.ristorante-section .bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Foto che "si ingrandisce" leggermente quando la sezione entra nello schermo, e si
   rimpicciolisce di nuovo se si esce scorrendo (in entrambe le direzioni). */
.ristorante-section .bg-photo.is-visible img {
  transform: scale(1.08);
}

/* Overlay scuro come nel riferimento Figma (jagerhof.net/food), per far leggere il
   testo chiaro sopra la foto. */
.ristorante-section .bg-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 22, 14, 0.25) 0%, rgba(22, 17, 11, 0.55) 55%, rgba(18, 14, 9, 0.7) 100%);
  pointer-events: none;
}

.ristorante-section .text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 650px;
}

.ristorante-section p.body {
  color: var(--color-text-secondary-light);
}

/* Wellness */
.wellness-section {
  background: var(--color-bg-default-light);
}

.wellness-section .split-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 520px;
}

.wellness-section .split-text p.body {
  color: var(--color-text-secondary-dark);
}

.wellness-section .split-image {
  width: 440px;
  height: 440px;
}

/* Aktivurlaub: 2 colonne come in Figma — sinistra: testo + Ski & Winter + Christkindlmarkt;
   destra (staccata più in basso): Bike & E-Bike in cima, poi Wandern e ActiveCard. */
.aktiv-section {
  background: var(--color-bg-default);
}

.aktiv-section .aktiv-body {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  width: 100%;
}

.aktiv-section .aktiv-body > .aktiv-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.aktiv-section .aktiv-body > .aktiv-col.offset {
  padding-top: 72px;
}

.aktiv-section .aktiv-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 12px;
}

.aktiv-section .aktiv-header p.lead {
  color: var(--color-text-secondary-dark);
}

.aktiv-section .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-text-primary-dark);
  border-radius: 48px;
  padding: 10px 24px;
  font-family: var(--font-cta);
  font-weight: 500;
  align-self: flex-start;
}

.aktiv-section .badge-icon {
  width: 20px;
  height: 20px;
}

.shop-card {
  width: 100%;
}

.shop-card .shop-card-image {
  width: 100%;
  aspect-ratio: 1/1;
}

.shop-card .shop-card-body {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shop-card .shop-card-body p.subtitle {
  color: var(--color-text-secondary-dark);
}

.shop-card .shop-card-body .btn {
  align-self: flex-start;
}

/* Angebote: intro fissa + slider (prima card intera, la successiva accennata a bordo,
   con frecce funzionanti che scorrono con animazione). */
.angebote-section {
  background: var(--color-bg-default-light);
}

/* Unica sezione senza il tetto di 1037px: usa tutta la larghezza disponibile (come nel
   Figma originale) così, allargando la finestra, si vedono più card affiancate invece
   di restare sempre bloccati sulla stessa porzione di slide. */
.angebote-section .angebote-body {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.angebote-section .angebote-intro {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.angebote-section .angebote-intro p.lead {
  color: var(--color-text-secondary-dark);
}

.angebote-section .angebote-nav {
  display: flex;
  gap: 8px;
}

.icon-btn {
  border: 1px solid var(--color-text-primary-dark);
  border-radius: 32px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.angebote-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.angebote-viewport::-webkit-scrollbar {
  display: none;
}

.angebote-track {
  display: flex;
  gap: 32px;
}

.angebote-track .shop-card {
  flex: 0 0 460px;
  width: 460px;
}

/* Sterzing & Umgebung */
.sterzing-section {
  background: var(--color-primary-500);
  padding-top: 80px;
}

.sterzing-section .text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 24px 48px;
  text-align: center;
}

.sterzing-section .text p.body {
  color: var(--color-text-secondary-dark);
  max-width: 650px;
}

.sterzing-section .full-image {
  width: 100%;
  height: 588px;
}

/* Prenota CTA */
.prenota-section {
  background: var(--color-bg-default-dark);
}

.prenota-section .prenota-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.prenota-section p.body {
  max-width: 650px;
  color: var(--color-text-primary-dark);
}

.prenota-section .actions {
  display: flex;
  gap: 24px;
}

/* Ritagli: object-fit:cover (niente deformazioni) con il punto di inquadratura scelto
   per riprodurre l'intento del crop Figma su ogni foto, senza stirarla. */
.hero-image img {
  object-position: center 38%;
}

.crop-familie img {
  object-position: center 22%;
}

.crop-zimmer img {
  object-position: center 55%;
}

.crop-ferienwohnungen img {
  object-position: center 45%;
}

.crop-restaurant img {
  object-position: center 42%;
}

.crop-wellness img {
  object-position: 68% center;
}

.crop-aktiv-ski img {
  object-position: center 72%;
}

.crop-aktiv-christkindl img {
  object-position: center 62%;
}

.crop-aktiv-bike img {
  object-position: center 68%;
}

.crop-aktiv-wandern img {
  object-position: 62% 68%;
}

.crop-aktiv-activecard img {
  object-position: center 32%;
}

.crop-angebot-winter img {
  object-position: center 62%;
}

.crop-angebot-summer img {
  object-position: 55% center;
}

.crop-sterzing img {
  object-position: 35% center;
}

@media (max-width: 960px) {
  /* .hero-inner/.hero-title sono gestiti in hero.scss (condiviso con le pagine interne).
     .hero-side-buttons resta come su desktop (colonna, ancorato a destra) anche su mobile. */
  /* Con l'aspect-ratio più verticale del mobile, il crop verticale (38%) da solo non
     basta: sposta anche il fuoco orizzontale verso destra dell'immagine. */
  .hero-image img {
    object-position: right 38%;
  }
  .intro-famiglia .split,
  .wellness-section .split,
  .angebote-section .angebote-body {
    flex-direction: column;
    gap: 32px;
  }
  .angebote-section .angebote-intro {
    flex-basis: auto;
  }
  .zimmer-cards,
  .aktiv-section .aktiv-body,
  .booking-bar {
    flex-direction: column;
    align-items: center;
  }
  .aktiv-section .aktiv-body > .aktiv-col.offset {
    padding-top: 0;
  }
  /* Senza larghezza esplicita la card si restringe al contenuto (align-items:center
     del genitore): niente si allinea davvero a "piena larghezza" senza questo. */
  .zimmer-card,
  .zimmer-card.app {
    width: 100%;
  }
  .zimmer-card .zimmer-card-image,
  .zimmer-card.app .zimmer-card-image,
  .intro-famiglia .split-image,
  .wellness-section .split-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
  .angebote-track .shop-card {
    flex: 0 0 85%;
    width: 85%;
  }
  .sterzing-section .full-image {
    height: 360px;
  }
  .intro-famiglia .intro-lead {
    font-size: 28px;
    line-height: 1.2;
  }
  /* Con i bottoni a piena larghezza (vedi layout.scss), Buchen+Anfragen affiancati
     andrebbero fuori dal contenitore: si impilano invece di stare in riga. */
  .prenota-section .actions {
    flex-direction: column;
    width: 100%;
  }
  /* Margini laterali Figma mobile: 16px, non i 24px usati come default nelle altre pagine. */
  .ristorante-section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .sterzing-section .text {
    padding-left: 16px;
    padding-right: 16px;
  }
}
