/* Berggasthof Almstern – Stylesheet */
@import url('fonts.css');
html { scroll-behavior: smooth; }
body { margin: 0; background: #f6f1e7; color: #1c211d; font-family: "Hanken Grotesk", "Helvetica Neue", Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #9c4520; } a:hover { color: #7a3515; }
* { box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
.serif { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-weight: 400; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.eyebrow { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
section[id] { scroll-margin-top: 76px; }
[hidden] { display: none !important; }
.page { width: 100%; min-height: 100vh; overflow-x: clip; background: #f6f1e7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inp[aria-invalid="true"] { border-color: #a32d1c; }
.done h3:focus { outline: none; }
.err-box { grid-column: 1 / -1; margin-top: -12px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; margin-bottom: -76px; height: 76px; background: rgba(20, 28, 23, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.hdr-in { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; color: #f6f1e7; text-decoration: none; }
.logo:hover { color: #ffffff; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(246,241,231,0.86); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: #ffffff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-copper { background: #b5562a; color: #ffffff; }
.btn-copper:hover { background: #9c4520; color: #ffffff; }
.btn-ghost { background: rgba(246,241,231,0.14); color: #f6f1e7; border: 1px solid rgba(246,241,231,0.4); }
.btn-ghost:hover { background: rgba(246,241,231,0.24); color: #ffffff; }
.btn-dark { background: #1f2b24; color: #f6f1e7; }
.btn-dark:hover { background: #2c3b31; color: #ffffff; }

/* Hero */
.hero { position: relative; height: clamp(660px, 100vh, 980px); overflow: hidden; color: #f6f1e7; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.04); animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.04); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,16,0.62) 0%, rgba(14,20,16,0.28) 50%, rgba(14,20,16,0) 80%), linear-gradient(180deg, rgba(14,20,16,0.55) 0%, rgba(14,20,16,0.12) 34%, rgba(14,20,16,0.25) 60%, rgba(14,20,16,0.86) 100%); }
.hero .eyebrow, .hero h1, .hero-lead { text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 56px; }
.hero h1 { margin: 18px 0 0; font-size: clamp(56px, 8.4vw, 124px); line-height: 0.92; letter-spacing: -0.01em; max-width: 980px; text-wrap: balance; }
.hero-lead { margin: 26px 0 0; max-width: 560px; font-size: 19px; line-height: 1.55; color: rgba(246,241,231,0.92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(246,241,231,0.28); }
.fact b { display: block; font-size: 15px; font-weight: 600; color: #ffffff; }
.fact span { display: block; margin-top: 4px; font-size: 14px; color: rgba(246,241,231,0.78); }
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .45s; } .d4 { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
}

/* Sections */
.sec { padding: 128px 0; }
.sec-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.sec-head h2 { margin: 0; font-size: clamp(44px, 5.4vw, 76px); line-height: 0.98; letter-spacing: -0.01em; text-wrap: balance; }
.sec-head p { margin: 0; font-size: 18px; line-height: 1.65; color: #4d534b; }

.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; align-items: start; margin-top: 72px; }
.story-text p { margin: 0 0 22px; font-size: 18px; line-height: 1.75; color: #3a4038; }
.story-text p:first-child::first-letter { font-family: "Instrument Serif", Georgia, serif; float: left; font-size: 86px; line-height: 0.8; padding: 8px 12px 0 0; color: #b5562a; }
.story-imgs { position: relative; }
.story-imgs .big { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.hosts { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 36px; }
.hosts img { width: 190px; height: 236px; object-fit: cover; object-position: 50% 30%; border-radius: 6px; }
.quote { margin: 0; font-size: 30px; line-height: 1.18; color: #1c211d; }
.quote-by { margin-top: 14px; font-size: 14px; color: #5b6158; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 96px; border-top: 1px solid #d9cfbd; }
.pillar { padding: 32px 32px 0 0; display: flex; flex-direction: column; gap: 10px; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid #d9cfbd; }
.pillar h3 { margin: 0; font-size: 30px; line-height: 1.1; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.65; color: #4d534b; }

.rooms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 96px; }
.room { position: relative; border-radius: 6px; overflow: hidden; min-height: 560px; color: #f6f1e7; }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.room:hover img { transform: scale(1.04); }
.room-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,16,0) 40%, rgba(14,20,16,0.84) 100%); }
.room-txt { position: absolute; left: 32px; right: 32px; bottom: 30px; display: flex; flex-direction: column; gap: 8px; }
.room-txt h3 { margin: 0; font-size: 40px; line-height: 1; }
.room-txt p { margin: 0; font-size: 16px; line-height: 1.55; color: rgba(246,241,231,0.9); max-width: 440px; }

/* Menu */
.menu-sec { background: #1f2b24; color: #f6f1e7; }
.menu-sec .sec-head p { color: rgba(246,241,231,0.78); }
.dish-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.dish { display: flex; flex-direction: column; gap: 14px; }
.dish img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.dish b { font-size: 17px; font-weight: 600; }
.dish span { font-size: 14px; color: rgba(246,241,231,0.7); margin-top: -8px; }
.tabs { display: inline-flex; gap: 6px; padding: 6px; margin-top: 88px; border-radius: 999px; background: rgba(246,241,231,0.08); border: 1px solid rgba(246,241,231,0.14); }
.tab { min-height: 46px; padding: 0 26px; border-radius: 999px; border: 0; background: transparent; color: rgba(246,241,231,0.8); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.tab:hover { color: #ffffff; }
.tab.on { background: #f6f1e7; color: #1f2b24; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 80px; row-gap: 56px; margin-top: 48px; }
.mcat h3 { margin: 0 0 6px; font-size: 36px; line-height: 1.1; color: #f1c9a5; }
.mcat .note { margin: 0 0 18px; font-size: 14px; color: rgba(246,241,231,0.62); }
.mitem { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 16px 0; border-bottom: 1px dashed rgba(246,241,231,0.18); }
.mitem .n { font-size: 17px; font-weight: 600; }
.mitem .p { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; color: #f6f1e7; }
.mitem .d { grid-column: 1 / 2; font-size: 14.5px; line-height: 1.5; color: rgba(246,241,231,0.68); }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; vertical-align: 2px; background: rgba(241,201,165,0.16); color: #f1c9a5; }
.menu-foot { margin-top: 56px; font-size: 14px; color: rgba(246,241,231,0.6); }
.drinks-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 48px; }
.drinks-banner img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.drinks-banner p { margin: 0; font-size: 26px; line-height: 1.3; color: #f6f1e7; }

/* Kids */
.kids { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px; margin-top: 72px; }
.kids img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.kids .k1 { aspect-ratio: 3 / 2; }
.kids .k2 { aspect-ratio: auto; min-height: 100%; }
.kid-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; margin-top: 64px; }
.kid-item { display: flex; flex-direction: column; gap: 12px; }
.kid-item svg { color: #b5562a; }
.kid-item h3 { margin: 0; font-size: 19px; font-weight: 600; }
.kid-item p { margin: 0; font-size: 16px; line-height: 1.6; color: #4d534b; }

/* View gallery */
.view-sec { background: #ece4d4; }
.gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 16px; margin-top: 72px; }
.gi { position: relative; margin: 0; border-radius: 6px; overflow: hidden; }
.gi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.gi:hover img { transform: scale(1.05); }
.gi figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(180deg, rgba(14,20,16,0), rgba(14,20,16,0.78)); color: #f6f1e7; font-size: 15px; font-weight: 500; }
.gi figcaption em { display: block; font-family: "Instrument Serif", Georgia, serif; font-style: normal; font-size: 28px; line-height: 1.1; margin-bottom: 4px; }
.g1 { grid-column: span 7; grid-row: span 3; }
.g2 { grid-column: span 5; grid-row: span 4; }
.g3 { grid-column: span 7; grid-row: span 3; }
.g4 { grid-column: span 5; grid-row: span 2; }

/* Reservation */
.res-sec { background: #f6f1e7; }
.res { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.res-info { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 28px; }
.hours { display: flex; flex-direction: column; border-top: 1px solid #d9cfbd; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #d9cfbd; font-size: 16px; }
.hours div span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.call { display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: #4d534b; line-height: 1.55; }
.call a { font-size: 24px; font-weight: 600; text-decoration: none; color: #1c211d; }
.call a:hover { color: #9c4520; }
.form-card { background: #ffffff; border-radius: 10px; padding: 44px; box-shadow: 0 30px 80px -40px rgba(31,43,36,0.45); border: 1px solid #e6dcc9; }
.form-card h3 { margin: 0; font-size: 38px; line-height: 1.05; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.lbl { font-size: 14px; font-weight: 600; color: #2b312c; }
.inp { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 8px; border: 1px solid #cfc4b1; background: #fbf8f2; color: #1c211d; font-family: inherit; font-size: 16px; }
.inp:focus { outline: 2px solid #b5562a; outline-offset: 1px; border-color: #b5562a; background: #ffffff; }
textarea.inp { min-height: 96px; resize: vertical; }
.err { font-size: 13.5px; color: #a32d1c; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #cfc4b1; background: #fbf8f2; color: #2b312c; font-family: inherit; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.chip:hover { border-color: #1f2b24; }
.chip.on { background: #1f2b24; border-color: #1f2b24; color: #f6f1e7; }
.chip-group { display: flex; flex-direction: column; gap: 8px; }
.chip-sub { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #6a6f66; font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 0; border: 1px solid #cfc4b1; border-radius: 8px; background: #fbf8f2; width: fit-content; }
.stepper button { width: 50px; height: 50px; border: 0; background: transparent; font-size: 22px; color: #1f2b24; cursor: pointer; font-family: inherit; }
.stepper button:hover { background: #efe7d8; }
.stepper output { min-width: 110px; text-align: center; font-size: 16px; font-weight: 600; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15.5px; color: #2b312c; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: #b5562a; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid #eee5d5; }
.submit-row small { font-size: 13.5px; color: #5b6158; max-width: 340px; line-height: 1.5; }
.done { display: flex; flex-direction: column; gap: 18px; padding: 12px 0; }
.done-badge { width: 64px; height: 64px; border-radius: 50%; background: #e7efe1; color: #3f6b3a; display: flex; align-items: center; justify-content: center; }
.done dl { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px 20px; margin: 10px 0 0; padding: 24px; background: #f6f1e7; border-radius: 8px; font-size: 16px; }
.done dt { color: #5b6158; }
.done dd { margin: 0; font-weight: 600; }

/* Directions */
.dir { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; margin-top: 72px; align-items: start; }
.map { background: #ece4d4; border-radius: 10px; overflow: hidden; border: 1px solid #ddd2bf; }
.map svg { display: block; width: 100%; height: auto; }
.addr { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: #1f2b24; color: #f6f1e7; font-size: 15px; }
.addr b { display: block; font-size: 17px; }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid #d9cfbd; }
.step:first-child { padding-top: 0; }
.step-ic { width: 56px; height: 56px; border-radius: 50%; background: #1f2b24; color: #f1c9a5; display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
.step p { margin: 0; font-size: 16px; line-height: 1.7; color: #4d534b; }
.step p + p { margin-top: 8px; }

/* CTA + footer */
.cta { position: relative; overflow: hidden; color: #f6f1e7; min-height: 560px; display: flex; align-items: center; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; background: rgba(12,18,24,0.5); }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.cta h2 { margin: 0; font-size: clamp(48px, 6vw, 92px); line-height: 0.95; max-width: 900px; text-wrap: balance; }
.cta p { margin: 0; font-size: 19px; color: rgba(246,241,231,0.88); max-width: 520px; line-height: 1.55; }
.foot { background: #141c17; color: rgba(246,241,231,0.78); padding: 80px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.foot h4 { margin: 0 0 16px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #f1c9a5; font-weight: 600; }
.foot p { margin: 0; line-height: 1.8; }
.foot a { color: #f6f1e7; text-decoration: none; }
.foot a:hover { color: #f1c9a5; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(246,241,231,0.12); font-size: 13.5px; color: rgba(246,241,231,0.55); }

/* Responsive */
@media (max-width: 1080px) {
  .nav .nl { display: none; }
  .story, .res, .dir, .drinks-banner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .res-info { position: static; }
  .card-grid { column-gap: 48px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hdr, .hdr-in { height: 64px; }
  .hdr { margin-bottom: -64px; }
  .logo-sub { display: none; }
  .nav .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
  section[id] { scroll-margin-top: 64px; }
  .hero { height: clamp(640px, 100svh, 860px); }
  .hero-in { padding-bottom: 32px; }
  .hero-img { object-position: 72% 40%; }
  .hero-shade { background: linear-gradient(180deg, rgba(14,20,16,0.62) 0%, rgba(14,20,16,0.5) 45%, rgba(14,20,16,0.92) 100%); }
  .hero-lead { font-size: 17px; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; padding-top: 18px; }
  .fact span { display: inline; margin: 0 0 0 6px; }
  .fact b { display: inline; }
  .sec { padding: 84px 0; }
  .sec-head p { font-size: 17px; }
  .story { margin-top: 44px; }
  .story-text p { font-size: 17px; }
  .hosts { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
  .hosts img { width: 120px; height: 150px; }
  .quote { font-size: 23px; }
  .pillars { grid-template-columns: minmax(0, 1fr); margin-top: 64px; }
  .pillar, .pillar + .pillar { padding: 26px 0; border-left: 0; border-bottom: 1px solid #d9cfbd; }
  .rooms { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .room { min-height: 440px; }
  .room-txt { left: 22px; right: 22px; bottom: 22px; }
  .dish-row { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-top: 44px; }
  .dish { scroll-snap-align: start; }
  .tabs { margin-top: 56px; display: flex; width: 100%; }
  .tab { flex: 1; padding: 0 12px; }
  .card-grid { grid-template-columns: minmax(0, 1fr); row-gap: 44px; margin-top: 36px; }
  .mcat h3 { font-size: 32px; }
  .drinks-banner p { font-size: 21px; }
  .kids { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .kids .k2 { aspect-ratio: 4 / 5; min-height: 0; }
  .kid-list { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 44px; }
  .gal { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; margin-top: 44px; }
  .g1, .g2, .g3, .g4 { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .g2 { aspect-ratio: 4 / 5; }
  .form-card { padding: 26px 20px; }
  .form-card h3 { font-size: 32px; }
  .fgrid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .done dl { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 18px; }
  .done dd { margin-bottom: 10px; }
  .dir { margin-top: 44px; }
  .addr { flex-direction: column; align-items: flex-start; }
  .cta { min-height: 480px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img, .rise, .reveal { animation: none; }
}
  
