/* Hallmark · Fassung 2 · macrostructure: Haus zuerst (nach den Häusern in Lech am Arlberg) · tone: hell, ruhig, alpin · anchor hue: Tannengrün
 * pre-emit critique: P4 H4 E4 S4 R5 V4 */
@font-face { font-family: "Boska"; src: url("fonts/boska-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Boska"; src: url("fonts/boska-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --papier: #FBFAF7;
  --leinen: #F0EDE5;
  --linie: #DCD8CD;
  --tinte: #1C1F17;
  --tinte-sanft: #575A4E;
  --tanne: #2A3620;
  --tanne-tief: #1F2918;
  --tanne-linie: #435034;
  --hell: #EFEEE6;
  --hell-sanft: #BBBFAB;
  --bernstein: #D19A52;

  --display: "Boska", Georgia, serif;
  --text: "General Sans", "Helvetica Neue", Arial, sans-serif;

  --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 136px;
  --rand: clamp(16px, 4vw, 64px);
  --breit: 1320px;
  --fuge: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 17px/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.08; overflow-wrap: anywhere; min-width: 0; }
h2 { font-size: clamp(34px, 2.2rem + 1.4vw, 56px); margin-bottom: var(--s5); }
h3 { font-size: 24px; }
p { margin: 0 0 var(--s4); }
:focus-visible { outline: 2px solid var(--tanne); outline-offset: 3px; }
.bar :focus-visible, .fuss :focus-visible { outline-color: var(--bernstein); }

/* Muster-Leiste von lie-one */
.muster {
  background: var(--leinen);
  border-bottom: 1px solid var(--linie);
  font-size: 14px;
  line-height: 1.45;
  padding: var(--s3) var(--rand);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
  align-items: baseline;
  justify-content: space-between;
}
.muster p { margin: 0; max-width: 90ch; color: var(--tinte-sanft); }
.muster strong { font-weight: 500; color: var(--tinte); }
.muster a { font-weight: 500; white-space: nowrap; }

/* Kopf: Abschnitte links, Name in der Mitte, Reservieren rechts */
.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s5);
  padding: var(--s3) var(--rand);
}
.kopf__nav { display: flex; gap: var(--s5); font-size: 15px; }
.kopf__nav a { text-decoration: none; white-space: nowrap; }
.kopf__nav a:hover { text-decoration: underline; }
.marke {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 4px;
}
.marke span { font-family: var(--text); font-size: 12px; letter-spacing: 0.04em; color: var(--tinte-sanft); white-space: nowrap; }
.kopf__rechts { display: flex; justify-content: flex-end; align-items: center; gap: var(--s5); }
.sprache { font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 2px; }
.sprache:hover { text-decoration: underline; }

/* Knöpfe */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 var(--s5);
  background: var(--tanne);
  color: var(--hell);
  border: 1px solid var(--tanne);
  font: 500 15px/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.knopf:hover { background: var(--tanne-tief); }
.knopf:active { transform: translateY(1px); }
.knopf--leise { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.knopf--leise:hover { background: var(--leinen); }

/* Auftakt: Text links, das Haus rechts */
.auftakt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(calc(100vh - 80px), 880px);
}
.auftakt__bild { order: 2; overflow: hidden; background: var(--tanne-tief); min-height: 520px; }
.auftakt__bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: auf 1600ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes auf { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.auftakt__text {
  align-self: center;
  max-width: 620px;
  justify-self: end;
  width: 100%;
  padding: var(--s9) clamp(32px, 5vw, 88px) var(--s9) var(--rand);
}
.saison { font-size: 15px; color: var(--tinte-sanft); margin-bottom: var(--s4); }
.auftakt h1 { font-size: clamp(40px, 2.2rem + 2.4vw, 72px); margin-bottom: var(--s5); }
.auftakt__intro { font-size: 18px; max-width: 46ch; margin-bottom: var(--s6); }
.tun { display: flex; flex-wrap: wrap; gap: var(--s3); }
.tel { margin: var(--s5) 0 0; font-size: 15px; }
.auftakt .notiz { margin-top: var(--s7); }

/* Randnotizen von lie-one, klein und deutlich fremd */
.notiz {
  max-width: 520px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--tinte-sanft);
  border: 1px dashed var(--linie);
  padding: var(--s3) var(--s4);
  margin-top: var(--s6);
}
.notiz b { font-weight: 500; color: var(--tinte); display: block; margin-bottom: 2px; }

/* Stube */
.stube {
  max-width: var(--breit);
  margin: 0 auto;
  padding: var(--s10) var(--rand);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.stube__gross img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stube__text { padding-top: var(--s8); max-width: 600px; }
.stube__gastgeber { font-family: var(--display); font-size: 20px; margin-top: var(--s5); }
.stube__paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fuge); margin-top: var(--s7); }
.stube__paar img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Karte */
.karte {
  background: var(--leinen);
  padding: var(--s10) var(--rand);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
}
.karte__blatt { max-width: 640px; justify-self: end; width: 100%; }
.karte__intro { max-width: 52ch; margin-bottom: var(--s7); }
.gang { margin-bottom: var(--s7); }
.gang h3 { margin-bottom: var(--s2); }
.gang__unter { font-size: 14px; color: var(--tinte-sanft); margin-bottom: var(--s3); }
.gang dl { margin: 0; border-top: 1px solid var(--linie); }
.gericht {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--s5);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--linie);
}
.gericht dt { font-weight: 500; }
.gericht dd { margin: 0; }
.gericht .preis { font-variant-numeric: tabular-nums; }
.gericht .beschrieb { grid-column: 1; color: var(--tinte-sanft); font-size: 15px; }
.karte__fuss { font-size: 14px; color: var(--tinte-sanft); }
.karte__bilder { display: grid; gap: var(--fuge); align-content: start; max-width: 560px; }
.karte__bilder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.karte__bilder img + img { width: 72%; justify-self: end; margin-top: calc(var(--s8) * -1); border: var(--fuge) solid var(--leinen); }

/* Rind */
.rind { max-width: var(--breit); margin: 0 auto; padding: var(--s10) var(--rand); }
.rind__kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: end; margin-bottom: var(--s7); }
.rind__kopf p { max-width: 52ch; }
.reihe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--fuge); }
.reihe img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.reihe figure { margin: 0; }
.reihe figcaption { font-size: 15px; padding-top: var(--s3); color: var(--tinte-sanft); }
.reihe figcaption b { font-weight: 500; color: var(--tinte); }

/* Bar: der einzige dunkle Abschnitt */
.bar {
  background: var(--tanne);
  color: var(--hell);
  padding: var(--s10) var(--rand);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.bar__text { max-width: 460px; justify-self: end; }
.bar__text p { color: var(--hell-sanft); }
.glaeser { margin: var(--s6) 0 0; border-top: 1px solid var(--tanne-linie); }
.glaeser div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--tanne-linie); }
.glaeser dt { font-weight: 500; }
.glaeser dt span { display: block; font-weight: 400; font-size: 15px; color: var(--hell-sanft); }
.glaeser dd { margin: 0; color: var(--bernstein); font-variant-numeric: tabular-nums; }
.bar__bilder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fuge); }
.bar__bilder img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.bar__bilder img:nth-child(2) { margin-top: var(--s8); }

/* Reservieren */
.reservieren {
  max-width: var(--breit);
  margin: 0 auto;
  padding: var(--s10) var(--rand);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.reservieren__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.reservieren__seite { max-width: 560px; padding-top: var(--s6); }
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s6); }
.feld { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.feld--breit { grid-column: 1 / -1; }
.feld input, .feld select {
  font: 400 16px/1.3 var(--text);
  color: var(--tinte);
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: 0;
  min-height: 48px;
  padding: 0 var(--s3);
  width: 100%;
}
.feld input:hover, .feld select:hover { border-color: var(--tinte-sanft); }
.feld input:focus-visible, .feld select:focus-visible { outline: 2px solid var(--tanne); outline-offset: 0; border-color: var(--tanne); }
.formular .knopf { margin-top: var(--s2); }
.bestaetigung { margin: 0; padding: var(--s3) var(--s4); background: var(--leinen); font-size: 15px; }

/* Anfahrt */
.anfahrt { border-top: 1px solid var(--linie); padding: var(--s10) var(--rand) 0; max-width: var(--breit); margin: 0 auto; }
.anfahrt__spalten { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-bottom: var(--s9); }
.anfahrt h3, .fuss h3 { font-size: 20px; margin-bottom: var(--s3); }
.adresse { font-family: var(--display); font-size: 22px; line-height: 1.3; }
.zeiten { margin: 0; }
.zeiten div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); padding: var(--s2) 0; border-bottom: 1px solid var(--linie); font-size: 15px; }
.zeiten dd { margin: 0; text-align: right; }
.anfahrt__bild img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 40%; }

/* Fuss */
.fuss { background: var(--tanne-tief); color: var(--hell); padding: var(--s9) var(--rand) var(--s8); }
.fuss .marke { justify-items: start; text-align: left; margin-bottom: var(--s7); }
.fuss .marke span { color: var(--hell-sanft); }
.fuss__spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); }
.fuss .zeiten div { border-color: var(--tanne-linie); }
.fuss__muster p { font-size: 14px; color: var(--hell-sanft); }
.fuss__muster a { color: var(--hell); font-weight: 500; }

/* Tablet */
@media (max-width: 1100px) {
  .kopf__nav { gap: var(--s4); font-size: 14px; }
  .kopf__nav a:nth-child(n+3) { display: none; }
}

/* Schmal */
@media (max-width: 900px) {
  .kopf { grid-template-columns: auto 1fr; }
  .kopf__nav { display: none; }
  .marke { justify-items: start; text-align: left; font-size: 28px; }
  .kopf .knopf { min-height: 40px; padding: 0 var(--s4); font-size: 14px; }
  .auftakt { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .auftakt__bild { order: 0; min-height: 0; aspect-ratio: 1 / 1; max-height: 60vh; }
  .auftakt__text { justify-self: start; max-width: none; padding: var(--s8) var(--rand); }
  .stube, .karte, .bar, .reservieren { grid-template-columns: minmax(0, 1fr); }
  .stube { padding-top: var(--s9); padding-bottom: var(--s9); }
  .stube__text { padding-top: 0; }
  .karte, .rind, .bar, .reservieren { padding-top: var(--s9); padding-bottom: var(--s9); }
  .karte__blatt, .bar__text { justify-self: start; }
  .karte__bilder { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .karte__bilder img + img { width: 100%; margin-top: 0; border: 0; }
  .rind__kopf { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s5); }
  .bar__bilder img:nth-child(2) { margin-top: 0; }
  .reservieren__bild { order: 2; }
  .reservieren__seite { padding-top: 0; }
  .anfahrt__spalten, .fuss__spalten { grid-template-columns: minmax(0, 1fr); }
  .anfahrt__bild img { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .marke span { display: none; }
  .kopf__rechts { gap: var(--s3); }
  .formular { grid-template-columns: minmax(0, 1fr); }
  .feld--breit { grid-column: auto; }
  .bar__bilder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar__bilder img:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .auftakt__bild img { animation: none; }
}
