/*
 * Gasthof Hochsteiner – einheitliches Premium-Designsystem
 * Diese Datei wird bewusst zuletzt geladen und vereinheitlicht sämtliche
 * Bestandteile der Website, ohne die vorhandenen Inhalte oder Funktionen
 * zu verändern.
 */

:root {
  --green: #0a6f57;
  --pine: #0f4a3c;
  --deep: #173f35;
  --ink: #17372f;
  --ivory: #f8f4ec;
  --cream: #f2ebde;
  --sand: #e7dcc8;
  --sage: #94aa9c;
  --gold: #c3923f;
  --surface: #fffefa;
  --muted: #5c6c65;
  --line: rgba(23, 63, 53, 0.14);
  --line-strong: rgba(23, 63, 53, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 8px 28px rgba(18, 51, 42, 0.07);
  --shadow-md: 0 18px 50px rgba(18, 51, 42, 0.1);
  --shadow-dark: 0 24px 60px rgba(3, 22, 17, 0.2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ivory);
}

/* Wochenmenü 2.0: eine Veröffentlichung, getrennte Gerichte je Tag */
#wochenmenue .daily-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
}

#wochenmenue .daily-menu .date-line {
  grid-column: 1;
  margin: 0 0 4px;
}

#wochenmenue .daily-menu-day {
  display: grid;
  grid-template-columns: minmax(120px, .32fr) minmax(0, 1fr);
  gap: 9px 24px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fff, #fbfaf6);
  box-shadow: 0 8px 24px rgba(20, 63, 51, .05);
}

#wochenmenue .daily-menu-day > header {
  grid-row: 1 / span 4;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

#wochenmenue .daily-menu-day > header strong,
#wochenmenue .daily-menu-day > header time {
  display: block;
}

#wochenmenue .daily-menu-day > header strong {
  color: var(--green);
  font: 600 1.35rem/1.2 Georgia, serif;
}

#wochenmenue .daily-menu-day > header time {
  margin-top: 5px;
  color: var(--muted);
  font-size: .75rem;
}

#wochenmenue .daily-menu-day > div {
  grid-column: 2;
  padding: 0;
  border: 0;
}

#wochenmenue .daily-menu-day > div span {
  margin-bottom: 2px;
}

#wochenmenue .daily-menu-day > div strong {
  font-size: .97rem;
  line-height: 1.45;
}

#wochenmenue .daily-allergens {
  grid-column: 2;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
}

#wochenmenue .daily-menu > .price {
  grid-column: 1;
  grid-row: auto;
  justify-self: start;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 1.45rem;
}

@media (max-width: 700px) {
  #wochenmenue .daily-menu-day {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  #wochenmenue .daily-menu-day > header {
    grid-row: auto;
    padding: 0 0 11px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  #wochenmenue .daily-menu-day > div,
  #wochenmenue .daily-allergens {
    grid-column: 1;
  }
}

html {
  scroll-padding-top: 100px;
}

body {
  color: var(--ink);
  background: var(--ivory);
}

::selection {
  color: #fff;
  background: var(--green);
}

h1,
h2,
h3 {
  color: var(--deep);
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.15rem, 6vw, 6.25rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.45rem, 4.2vw, 4.7rem);
  line-height: 1;
}

h3 {
  line-height: 1.15;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

em {
  color: var(--green);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section {
  padding: clamp(82px, 7vw, 118px) 6vw;
}

.site-header {
  height: 92px;
  gap: clamp(15px, 1.9vw, 30px);
  padding: 10px 4vw;
  border-bottom: 1px solid rgba(23, 63, 53, 0.1);
  background: rgba(255, 254, 250, 0.94);
  box-shadow: 0 8px 30px rgba(18, 51, 42, 0.05);
  backdrop-filter: blur(18px);
}

.logo img {
  width: 156px;
  height: 70px;
}

nav {
  gap: clamp(15px, 2vw, 32px);
}

nav a {
  position: relative;
  padding: 13px 0;
  border: 0;
  color: #294d43;
  font-size: 0.86rem;
  font-weight: 650;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

nav a:hover,
nav a:focus,
nav a.active {
  color: var(--green);
  border: 0;
}

nav a:hover::after,
nav a:focus::after,
nav a.active::after {
  transform: scaleX(1);
}

.language-switcher {
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switcher a {
  min-width: 34px;
  padding: 7px 8px;
  border-radius: 999px;
}

.language-switcher a.active {
  background: var(--green);
}

.button,
.weekly-share-button,
.menu-filters button,
.gallery-filters button {
  border-radius: var(--radius-sm);
  font-weight: 760;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button.solid,
.weekly-share-button {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 9px 22px rgba(10, 111, 87, 0.18);
}

.button.solid:hover,
.weekly-share-button:hover {
  background: var(--pine);
  box-shadow: 0 13px 28px rgba(10, 74, 60, 0.22);
  transform: translateY(-2px);
}

.button.outline {
  border-color: var(--line-strong);
  background: rgba(255, 254, 250, 0.86);
}

.button.outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: #fff;
}

.hero {
  min-height: min(780px, calc(100vh - 60px));
  background-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(248, 244, 236, 0.98) 0%, rgba(248, 244, 236, 0.9) 34%, rgba(248, 244, 236, 0.16) 70%),
    linear-gradient(0deg, rgba(15, 74, 60, 0.05), rgba(15, 74, 60, 0.05));
}

.hero-content {
  width: min(690px, 90%);
  margin-left: 6vw;
  padding: 76px 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 570px;
  color: #35564d;
  font-size: 1.08rem;
}

.hero-booking-card {
  width: min(100%, 585px);
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(10, 111, 87, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 250, 0.91);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.hero-booking-card > div:first-child strong {
  color: var(--deep);
  font-size: 1.42rem;
}

.special-feature {
  gap: clamp(25px, 3vw, 48px);
  padding: 42px 6vw;
  background: linear-gradient(115deg, #103f34, #173f35 60%, #255848);
}

.special-feature .button.solid,
.experience-cta .button.solid,
.camper .button.solid,
.special-detail .button.solid {
  color: var(--deep);
  border-color: #f4e9d4;
  background: #f4e9d4;
  box-shadow: none;
}

.special-feature .button.solid:hover,
.experience-cta .button.solid:hover,
.camper .button.solid:hover,
.special-detail .button.solid:hover {
  background: #fff;
}

.portal {
  background: var(--ivory);
}

.portal > h2 {
  margin-bottom: 50px;
}

.portal-grid,
.home-offers,
.room-list,
.gasthof-details,
.experience,
.celebration-paths {
  gap: 18px;
  background: transparent;
}

.portal-grid > a,
.home-offers > div,
.room-list article,
.gasthof-details article,
.experience article,
.celebration-paths article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.portal-grid > a,
.home-offers > div {
  padding: clamp(34px, 3vw, 48px);
}

.portal-grid > a {
  border-right: 1px solid var(--line);
}

.portal-grid > a:hover {
  border-color: rgba(10, 111, 87, 0.28);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.portal-grid > a > svg,
.home-offers > div > svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 50%;
  color: var(--green);
  background: #e8f0eb;
}

.portal-grid h3 {
  margin-top: 25px;
}

.home-offers {
  padding-top: 0;
  background: var(--ivory);
}

.home-offers > div {
  display: flex;
  flex-direction: column;
}

.home-offers > div > p:not(.eyebrow) {
  flex: 1;
}

.home-offers h2 {
  margin: 16px 0;
}

.menu-section {
  background: var(--surface);
}

.menu-photo img {
  filter: saturate(0.92) contrast(1.02);
}

.menu-content {
  align-self: center;
}

.day-tabs {
  gap: 5px;
  border: 0;
}

.day-tabs button {
  border: 1px solid transparent;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.day-tabs button.active {
  border-color: rgba(10, 111, 87, 0.14);
  border-bottom: 3px solid var(--green);
  background: #eaf2ed;
}

.daily-menu > div {
  border-color: var(--line);
}

.weekly-share-panel {
  border-color: rgba(10, 111, 87, 0.16);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eaf3ee, #fffefa 72%);
  box-shadow: var(--shadow-sm);
}

.cuisine {
  background: var(--ivory);
}

.cuisine.section .cuisine-cards article {
  border-color: var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.cuisine.section .cuisine-cards article > span {
  color: var(--green);
  background: #e8f0eb;
}

.cuisine.section .cuisine-grill-note {
  border: 1px solid rgba(195, 146, 63, 0.26);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: #f2e9d9;
}

.rooms {
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  background: linear-gradient(135deg, #ebe1cf, #f4eee3);
}

.rooms.no-room-photo {
  display: block;
}

.rooms.no-room-photo .room-intro {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.rooms.no-room-photo .room-intro > p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
}

.rooms.no-room-photo .room-intro > ul {
  display: flex;
  justify-content: center;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.rooms.no-room-photo .room-intro > .button,
.rooms.no-room-photo .guest-directory-cta {
  margin-inline: auto;
}

.room-intro {
  padding: clamp(76px, 7vw, 110px) 6vw;
}

.room-list {
  padding-top: clamp(70px, 6vw, 98px);
  padding-bottom: clamp(70px, 6vw, 98px);
  background: #f5f1e9;
}

.room-list article {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.room-list article > p {
  flex: 1;
}

.room-list article > b {
  margin-top: 20px;
}

.room-list article > button {
  width: fit-content;
  margin-top: 2px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(10, 111, 87, 0.32);
}

.room-price-details {
  background: var(--ivory);
}

.room-price-grid {
  border-color: var(--line);
  border-top-color: var(--green);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.room-price-item {
  border-color: var(--line);
}

.stay-details,
.amenities,
.faq,
.reviews,
.event-inquiry,
.itineraries {
  background: #edf2ee;
}

.stay-grid,
.amenity-list,
.itinerary-grid {
  gap: 14px;
  background: transparent;
}

.stay-grid article,
.amenity-list span,
.itinerary-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.guest-directory-cta {
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(12, 77, 59, 0.18);
}

.page-heading {
  padding: clamp(90px, 8vw, 130px) 6vw clamp(65px, 6vw, 92px);
  background:
    radial-gradient(circle at 82% 12%, rgba(148, 170, 156, 0.22), transparent 34%),
    linear-gradient(135deg, #ebe1cf, #f5f0e7);
}

.page-heading p:not(.eyebrow) {
  color: #4c625b;
}

.page-hero::before {
  background: linear-gradient(90deg, rgba(248, 244, 236, 0.98), rgba(248, 244, 236, 0.86) 44%, rgba(248, 244, 236, 0.08));
}

.reviews {
  gap: clamp(42px, 6vw, 92px);
}

.rating-summary a,
.review-grid article {
  border-color: var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.review-grid {
  gap: 16px;
}

.review-grid article {
  min-height: 265px;
}

.review-grid blockquote {
  color: #294b42;
}

.gallery-teaser {
  background: var(--surface);
}

.gallery-teaser-grid {
  gap: 14px;
}

.gallery-teaser-grid img,
.gallery figure {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.home-events {
  background: linear-gradient(135deg, #e9dfce, #f2ebdf);
}

.home-event-list {
  gap: 14px;
}

.home-event-list article,
.event-card-grid article {
  border-color: var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.event-card-grid {
  gap: 18px;
}

.event-card-grid img {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.gallery-section,
.current-events {
  background: var(--ivory);
}

.gallery-filters button,
.menu-filters button {
  border-color: var(--line);
  background: var(--surface);
}

.gallery-filters button.active,
.menu-filters button.active {
  border-color: var(--green);
  background: var(--green);
}

.gallery-note {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #edf2ee;
}

.experience {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experience article {
  padding: clamp(34px, 3vw, 48px);
}

.destination-facts strong {
  background: #e6f0ea;
}

.destination-audiences small {
  border-color: var(--line);
  border-radius: 999px;
  background: #fff;
}

.explore-directory,
.experience-cta,
.camper,
.special-detail {
  color: #fff;
  background:
    radial-gradient(circle at 85% 5%, rgba(148, 170, 156, 0.16), transparent 32%),
    #173f35;
}

.explore-ribbon {
  border-radius: var(--radius-sm);
  background: var(--green);
  box-shadow: var(--shadow-dark);
}

.itinerary-grid article {
  padding: 36px 40px;
}

.faq details {
  margin-bottom: 10px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 254, 250, 0.82);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  color: var(--deep);
}

.events {
  background: linear-gradient(135deg, #e9dfce, #f3ede2);
}

.event-types,
.camper aside,
.event-ticket {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.camper aside {
  color: var(--deep);
}

.camper-price {
  border-radius: var(--radius-sm);
}

.camps {
  background:
    radial-gradient(circle at 10% 0%, rgba(148, 170, 156, 0.14), transparent 30%),
    #333d46;
}

.camp-grid {
  gap: 14px;
  background: transparent;
}

.camp-grid article,
.camp-package {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.contact-page {
  background: var(--surface);
}

.hours {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #e9dfce, #f4eee3);
}

.legal-page section {
  border-color: var(--line);
}

.legal-status,
.allergen-note,
.menu-photo-note {
  border-radius: var(--radius-sm);
}

footer {
  padding: 72px 6vw;
  background:
    radial-gradient(circle at 8% 0%, rgba(148, 170, 156, 0.14), transparent 30%),
    #123a30;
}

footer img {
  border-radius: var(--radius-sm);
}

.legal {
  padding: 18px 6vw;
  background: #0b2c25;
}

.modal {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-dark);
}

input,
select,
textarea {
  border-color: var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(10, 111, 87, 0.12);
}

@media (min-width: 1800px) {
  .section,
  .page-heading,
  .special-feature,
  footer,
  .legal {
    padding-right: max(6vw, calc((100vw - 1640px) / 2));
    padding-left: max(6vw, calc((100vw - 1640px) / 2));
  }

  .hero-content {
    margin-left: max(6vw, calc((100vw - 1640px) / 2));
  }
}

@media (max-width: 1180px) {
  .site-header {
    padding-inline: 3vw;
  }

  nav {
    gap: 17px;
  }

  nav a {
    font-size: 0.8rem;
  }

  .room-list article {
    padding: 28px;
  }
}

@media (max-width: 1000px) {
  .site-header nav {
    top: 92px;
    gap: 4px;
    padding: 22px 6vw 30px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 254, 250, 0.98);
  }

  .site-header nav a {
    width: fit-content;
    padding: 10px 0;
    font-size: 0.94rem;
  }

  .rooms {
    grid-template-columns: 1fr;
  }

  .portal-grid,
  .experience,
  .celebration-paths,
  .gasthof-details {
    gap: 14px;
  }

  .portal-grid > a,
  .experience article {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 82px;
  }

  .site-header {
    height: 80px;
    padding-inline: 18px;
  }

  .logo img {
    width: 126px;
    height: 60px;
  }

  .site-header nav {
    top: 80px;
    padding-inline: 24px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2.35rem, 11.5vw, 3.45rem);
  }

  .section {
    padding: 72px 22px;
  }

  .page-heading {
    padding: 82px 22px 58px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(248, 244, 236, 0.99), rgba(248, 244, 236, 0.88) 57%, rgba(248, 244, 236, 0.12));
  }

  .hero-content {
    padding: 180px 22px 48px;
  }

  .hero-booking-card {
    padding: 17px;
    border-radius: var(--radius-md);
  }

  .portal-grid,
  .home-offers,
  .room-list,
  .gasthof-details,
  .experience,
  .celebration-paths {
    gap: 12px;
  }

  .portal-grid > a,
  .home-offers > div,
  .experience article,
  .celebration-paths article,
  .gasthof-details article {
    padding: 30px 24px;
  }

  .room-intro {
    padding: 68px 22px;
  }

  .rooms.no-room-photo .room-intro > ul {
    display: grid;
    justify-content: stretch;
    gap: 2px;
    text-align: left;
  }

  .room-list {
    padding: 50px 22px;
  }

  .room-list article {
    min-height: 0;
    padding: 28px 24px;
    border: 1px solid var(--line);
  }

  .room-list article:last-child {
    border: 1px solid var(--line);
  }

  .room-number {
    top: 28px;
    right: 24px;
  }

  .stay-grid,
  .amenity-list,
  .itinerary-grid {
    gap: 10px;
  }

  .review-grid,
  .home-event-list,
  .event-card-grid,
  .camp-grid {
    gap: 12px;
  }

  .review-grid article {
    min-height: 0;
    padding: 25px;
  }

  .gallery-teaser-grid {
    gap: 10px;
  }

  .faq details {
    padding: 19px 18px;
  }

  .faq summary {
    padding-right: 18px;
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .hours,
  .camper aside {
    padding: 28px 22px;
  }

  footer {
    padding: 58px 22px;
  }

  .legal {
    padding-inline: 22px;
  }

  .mobile-actions {
    min-height: 68px;
    background: rgba(11, 44, 37, 0.96);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
  }

  .mobile-actions a,
  .mobile-actions button {
    border-color: rgba(255, 255, 255, 0.12);
    font-size: 0.68rem;
  }

  .mobile-actions .primary-action {
    background: var(--green);
  }

  .modal {
    border-radius: var(--radius-md);
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 11px;
  }

  .logo img {
    width: 106px;
  }

  .language-switcher a {
    min-width: 26px;
    padding-inline: 5px;
  }
}
