/* Zur Gogglerstubb — site stylesheet */

@font-face {
  font-family: "Vollkorn";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/vollkorn-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Vollkorn";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/vollkorn-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Vollkorn SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/vollkorn-sc-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Vollkorn SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/vollkorn-sc-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "UnifrakturMaguntia";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/unifrakturmaguntia-400-latin.woff2") format("woff2");
}

:root {
  --green-900: #132a1e;
  --green-800: #1c3a2a;
  --green-700: #2a5340;
  --cream-50: #f4ecd9;
  --cream-200: #e4d8ba;
  --cream-muted: #dcd2ba;
  --gold-400: #cfa64e;
  --gold-300: #dfbc6c;
  --gold-700: #75601f;
  --ink: #17251c;
  --ink-muted: #46554a;

  --font-text: "Vollkorn", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-caps: "Vollkorn SC", "Vollkorn", Georgia, serif;
  --font-name: "UnifrakturMaguntia", "Vollkorn", Georgia, serif;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --measure: 73.75rem;
  --section: clamp(4rem, 9vw, 7.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--green-900);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scrollbar-color: var(--gold-400) var(--green-900);
}

body {
  margin: 0;
  background: var(--green-800);
  color: var(--cream-50);
  font-family: var(--font-text);
  font-size: 1.1875rem;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-400); color: var(--ink); }

h1, h2, h3, p, figure, ul, ol, dl, dd, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--gold-400);
  touch-action: manipulation;
  transition: color 160ms ease, text-decoration-color 160ms ease, background-color 160ms ease;
}
a:active { color: var(--link-hover, var(--gold-300)); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 4px; border-radius: 2px; }
.paper { --link-hover: var(--gold-700); }
.paper :focus-visible { outline-color: var(--green-800); }
.paper a { text-decoration-color: var(--gold-700); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  --link-hover: var(--ink);
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--gold-400); color: var(--ink); padding: 0.6rem 1rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }

/* Type */

h1, h2, h3 { font-weight: 600; line-height: 1.06; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.35rem + 4.9vw, 4.75rem); }
h2 { font-size: clamp(2.125rem, 1.5rem + 2.7vw, 3.375rem); }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: 0; }
p { text-wrap: pretty; }
.gold { color: var(--gold-400); font-style: italic; font-weight: 400; }
.paper .gold { color: var(--gold-700); }
.lede { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); line-height: 1.5; color: var(--cream-muted); }
.paper .lede { color: var(--ink-muted); }

.double-rule { height: 5px; border-block: 1px solid var(--gold-400); opacity: 0.85; }
.paper .double-rule { border-color: var(--gold-700); opacity: 0.6; }

/* Buttons */

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.125rem; }
.button {
  --link-hover: var(--ink);
  display: inline-block; background: var(--gold-400); color: var(--ink);
  font-weight: 700; font-size: 1.25rem; line-height: 1.2; text-decoration: none;
  padding: 0.9rem 2rem 0.95rem; border-radius: 3px;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.button:active { background: var(--gold-300); transform: translateY(1px); }
.button--green { --link-hover: var(--cream-50); background: var(--green-800); color: var(--cream-50); }
.button--green:active { background: var(--green-700); }
.button--outline { --link-hover: var(--cream-50); background: transparent; color: var(--cream-50); border: 1px solid var(--gold-400); }
.button--outline:active { background: var(--green-700); }
.text-link { display: inline-block; padding-block: 0.55rem; font-size: 1.25rem; }

/* Masthead */

.masthead { padding-top: 1.625rem; }
.masthead .wrap { width: min(100% - 2 * var(--gutter), 81rem); }
.masthead-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; padding-bottom: 1.25rem;
}
.masthead nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 2.25rem; }
.masthead nav.nav-visit ul { justify-content: flex-end; }
.masthead nav a {
  font-family: var(--font-caps); font-size: 1.125rem; letter-spacing: 0.06em; text-decoration: none;
  padding-block: 0.4rem; border-bottom: 1px solid transparent;
}
.brand { --link-hover: var(--cream-50); display: block; text-align: center; text-decoration: none; }
.brand-name { display: block; font-family: var(--font-name); font-size: clamp(2.375rem, 1.6rem + 2.6vw, 3.125rem); line-height: 1; }
.brand-line {
  display: block; margin-top: 0.6rem; font-family: var(--font-caps); font-size: 0.9375rem; letter-spacing: 0.1em; color: var(--gold-400);
}

/* Hero */

.hero { text-align: center; padding-top: clamp(2rem, 3.4vw, 2.5rem); }
.hero h1 { max-width: 17em; margin-inline: auto; }
.hero h1 .gold { white-space: nowrap; }
.hero .lede { max-width: 34em; margin: 1rem auto 0; }
.hero .actions { justify-content: center; margin-top: 1.5rem; }

.picture { position: relative; margin-top: clamp(2rem, 3.4vw, 2.25rem); }
.frame { padding: 10px; border: 1px solid var(--gold-400); }
.paper .frame { border-color: var(--gold-700); }
.frame img { width: 100%; object-fit: cover; }
.picture .frame img { aspect-ratio: 1158 / 270; object-position: 50% 33%; }

.plaque {
  position: relative; z-index: 1; width: min(100% - 2rem, 61.25rem); margin: -5.5rem auto 0;
  background: var(--cream-50); color: var(--ink);
  display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1.5rem 1.625rem;
  box-shadow: 0 1.5rem 2.5rem -1.4rem rgb(0 0 0 / 0.6);
}
.plaque > div { padding-inline: 1.5rem; font-size: 1.125rem; line-height: 1.35; }
.plaque > div + div { border-left: 1px solid var(--cream-200); }
.plaque dt { font-family: var(--font-caps); font-size: 0.9375rem; letter-spacing: 0.07em; color: var(--gold-700); margin-bottom: 0.2rem; }
.plaque dd span { display: block; }
.plaque strong { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }

/* Sections */

.section { padding-block: var(--section); }
.paper { background: var(--cream-50); color: var(--ink); }
.hero + .section { padding-top: clamp(4rem, 8vw, 6.5rem); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--wide-media { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 + * { margin-top: 1.5rem; }
.prose p { max-width: 34em; }

/* Chicken */

.chicken .frame img { aspect-ratio: 1 / 1; object-position: 50% 30%; }
.heat { margin-top: 2rem; }
.heat li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 0.8rem; border-top: 1px solid rgb(207 166 78 / 0.45); font-size: 1.375rem; font-weight: 600;
}
.heat li:last-child { border-bottom: 1px solid rgb(207 166 78 / 0.45); }
.heat-marks { display: inline-flex; gap: 0.55rem; padding-right: 0.3rem; }
.heat-marks i { width: 0.6rem; height: 0.6rem; transform: rotate(45deg); border: 1px solid var(--gold-400); }
.heat-marks i.on { background: var(--gold-400); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.25rem; margin-top: 2rem; }
.price-line strong { font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--gold-400); }
.sides { color: var(--cream-muted); }

/* Menu card */

.card-head { text-align: center; }
.card-head .double-rule { width: 7.5rem; margin: 1.5rem auto 0; }
.card-head .lede { max-width: 32em; margin: 1.25rem auto 0; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2.5rem, 7vw, 6rem); margin-top: clamp(2.75rem, 5vw, 4rem); align-items: start; }
.menu-column > * + * { margin-top: 3rem; }
.menu-group h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--gold-700); }
.menu-group h3 small { font-family: var(--font-caps); font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.07em; color: var(--gold-700); white-space: nowrap; }
.menu { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.menu th, .menu td { padding: 0.42rem 0; vertical-align: baseline; font-weight: 400; text-align: left; }
.menu thead th { font-family: var(--font-caps); font-size: 0.9375rem; letter-spacing: 0.07em; color: var(--gold-700); text-align: right; padding-bottom: 0; }
.menu thead th + th { padding-left: 0.9rem; white-space: nowrap; }
.menu td { width: 1%; padding-left: 0.6rem; text-align: right; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; white-space: nowrap; }
.menu td + td { padding-left: 0.9rem; }
.lead::after { order: 1; }
.lead .open-price { order: 2; color: var(--ink-muted); }
.lead { display: flex; align-items: baseline; gap: 0.6rem; }
.lead::after { content: ""; flex: 1; min-width: 1rem; border-bottom: 1px dotted rgb(23 37 28 / 0.5); transform: translateY(-0.28em); }
.lead small { font-size: 0.9375rem; color: var(--ink-muted); }
.menu-note { margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: center; color: var(--ink-muted); }
.menu-note p { max-width: 38em; margin-inline: auto; }
.menu-note p + p { margin-top: 0.6rem; }

.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.25rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.plates .frame img { aspect-ratio: 4 / 5; }
.plates figcaption { margin-top: 0.75rem; text-align: center; font-family: var(--font-caps); letter-spacing: 0.07em; font-size: 1rem; color: var(--gold-700); }

/* House */

.house figure.frame img { aspect-ratio: 4 / 3; }
.crest { display: flex; align-items: center; gap: 1.25rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid rgb(207 166 78 / 0.45); }
.crest .frame { flex: none; padding: 5px; }
.crest img { width: 5.25rem; }
.crest p { font-size: 1.0625rem; color: var(--cream-muted); max-width: 22em; }

/* Visit */

.visit-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin-top: 1.75rem; font-size: 1.25rem; }
.hours th, .hours td { padding: 0.7rem 0; border-bottom: 1px solid var(--cream-200); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
.hours tr.closed td { color: var(--ink-muted); font-style: italic; }
.hours tr.today th, .hours tr.today td { font-weight: 700; border-bottom-color: var(--gold-700); }
.hours tr.today th::after { content: " · heute"; font-family: var(--font-caps); font-weight: 400; letter-spacing: 0.07em; font-size: 0.9375rem; color: var(--gold-700); }
.state { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 600; }
.address { font-style: normal; font-size: 1.5rem; line-height: 1.35; margin-top: 1.75rem; }
.address strong { display: block; font-weight: 700; }
.visit-grid .actions { margin-top: 1.75rem; }
.visit-grid p { max-width: 30em; }
.visit-grid .prose > p { color: var(--ink-muted); }

/* Contact */

.contact { text-align: center; }
.contact .lede { max-width: 32em; margin: 1.25rem auto 0; }
.contact-list { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); margin-top: 2.75rem; }
.contact-list dt { font-family: var(--font-caps); letter-spacing: 0.07em; font-size: 0.9375rem; color: var(--gold-400); }
.contact-list dd a { font-size: 1.375rem; font-weight: 600; }

.review {
  display: flex; align-items: center; justify-content: center; gap: 2rem; max-width: 38rem; margin: 3.5rem auto 0;
  padding-top: 3rem; border-top: 1px solid rgb(207 166 78 / 0.45); text-align: left;
}
.review .frame { flex: none; }
.review img { width: 8.75rem; }
.review p { margin-top: 0.5rem; color: var(--cream-muted); }
.review .button { margin-top: 1.25rem; }

/* Footer */

.site-footer { background: var(--green-900); padding-block: 3.5rem 3rem; text-align: center; font-size: 1.0625rem; color: var(--cream-muted); }
.site-footer .brand-name { font-size: 2.25rem; color: var(--cream-50); }
.site-footer p { margin-top: 0.9rem; }
.site-footer .facts span { display: inline-block; }
.site-footer .legal { display: flex; justify-content: center; gap: 2rem; margin-top: 1.5rem; font-family: var(--font-caps); letter-spacing: 0.07em; }

/* Mobile action bar */

.quick { display: none; }

/* Legal pages */

.legal-page { padding-block: clamp(3rem, 7vw, 5rem) var(--section); }
.legal-page .wrap { max-width: 44rem; }
.legal-page h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); }
.legal-page h2 { font-size: 1.625rem; margin-top: 2.5rem; letter-spacing: 0; line-height: 1.2; }
.legal-page p, .legal-page ul, .legal-page address { margin-top: 1rem; font-style: normal; max-width: 38em; }
.legal-page ul { list-style: disc; padding-left: 1.25rem; }
.todo { background: var(--cream-50); color: var(--ink); padding: 0.1em 0.35em; border: 1px dashed var(--gold-400); font-style: normal; }
.back { display: inline-block; margin-top: 2.5rem; }

/* Pointer: hover only where the pointer can hover, larger targets for a finger */

@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--link-hover, var(--gold-300)); }
  .button:hover { background: var(--gold-300); }
  .button--green:hover { background: var(--green-700); }
  .button--outline:hover { background: var(--green-700); }
  .masthead nav a:hover { border-bottom-color: var(--gold-400); }
}
@media (pointer: coarse) {
  .contact-list dd a, .back { display: inline-block; padding-block: 0.4rem; }
  .site-footer .legal { margin-top: 0.9rem; }
  .site-footer .legal a { padding-block: 0.6rem; }
}

/* Entrance: one authored moment on the hero picture */

@media (prefers-reduced-motion: no-preference) {
  .picture .frame img { animation: unveil 700ms var(--ease-out) both; }
  .plaque { animation: rise 700ms var(--ease-out) both; }
  @keyframes unveil { from { clip-path: inset(0 14% 0 14%); } to { clip-path: inset(0 0 0 0); } }
  @keyframes rise { from { transform: translateY(1.5rem); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* Responsive */

@media (max-width: 68rem) {
  br.wide { display: none; }
  .masthead-inner { grid-template-columns: 1fr; justify-items: center; gap: 1.125rem; padding-bottom: 1.25rem; }
  .brand { order: -1; }
  .masthead nav ul, .masthead nav.nav-visit ul { justify-content: center; gap: 0.25rem 1.75rem; }
  .masthead nav a { font-size: 1.0625rem; }
  .contact-list { grid-template-columns: repeat(2, auto); }
}

@media (max-width: 52rem) {
  body { font-size: 1.125rem; }
  .split, .split--wide-media, .visit-grid, .menu-grid { grid-template-columns: 1fr; }
  .menu-grid { gap: 3rem; }
  .chicken .frame img { aspect-ratio: 4 / 3; object-position: 50% 58%; }
  .frame { padding: 7px; }
  .hero .wrap { display: flex; flex-direction: column; }
  .hero .actions { margin-top: 1.25rem; }
  .hero .lede { order: 1; margin-top: 1.75rem; }
  .picture { margin-top: 1.5rem; }
  .picture .frame img { aspect-ratio: 3 / 2; object-position: 62% 40%; }
  .plaque { grid-template-columns: 1fr; width: min(100% - 2rem, 26rem); margin-top: -3rem; padding-block: 0.25rem; text-align: center; }
  .plaque > div { padding: 0.7rem 1rem; }
  .plaque > div + div { border-left: 0; border-top: 1px solid var(--cream-200); }
  .plaque strong { font-size: 1.375rem; }
  .plaque dd span { text-wrap: balance; }
  .house .split > :first-child { order: 2; }
  .review { display: block; text-align: center; }
  .review .frame { display: none; }
  .plates { grid-template-columns: 1fr 1fr; }
  .plates figure:last-child { display: none; }

  .quick {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem;
    position: fixed; inset: auto 0 0 0; z-index: 10;
    padding: 0.625rem max(0.75rem, env(safe-area-inset-left)) calc(0.625rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-right));
    background: var(--green-900); border-top: 1px solid var(--gold-400);
    transition: transform 240ms var(--ease-out), visibility 240ms;
  }
  .quick.is-hidden { transform: translateY(100%); visibility: hidden; }
  .quick a { text-align: center; text-decoration: none; font-weight: 700; font-size: 1.125rem; padding: 0.75rem 0.5rem; border-radius: 3px; }
  .quick a:first-child { --link-hover: var(--ink); background: var(--gold-400); color: var(--ink); }
  .quick a:last-child { --link-hover: var(--cream-50); border: 1px solid var(--gold-400); color: var(--cream-50); }
  body:has(.quick) .site-footer { padding-bottom: calc(3rem + 4.75rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 40rem) {
  .masthead { padding-top: 1rem; }
  .masthead nav, .masthead-inner > span:empty { display: none; }
  .masthead-inner { padding-bottom: 0.875rem; }
  .brand-line { margin-top: 0.5rem; line-height: 1.2; }
  .hero { padding-top: 1.5rem; }
  .hero h1 { font-size: clamp(1.75rem, 0.1125rem + 8vw, 3.3rem); }
  .plaque { width: 100%; margin-top: 0.625rem; box-shadow: none; animation: none; }
  .plaque > div + div { display: none; }
  .site-footer .facts span { display: block; }
  .site-footer .facts .sep { display: none; }
}

@media (max-width: 30rem) {
  .plaque > div { padding-inline: 0.5rem; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-list dd a { font-size: 1.25rem; overflow-wrap: anywhere; }
  .hero .actions { gap: 0.5rem 1.25rem; }
  .button { padding-inline: 1.5rem; }
  .lead small.long { display: block; width: 0; white-space: nowrap; }
  .hours { font-size: 1.125rem; }
}

@media (max-width: 24rem) {
  .hero .actions { gap: 0.5rem 1rem; }
  .hero .button, .hero .text-link { font-size: 1.125rem; }
  .hero .button { padding-inline: 1.25rem; }
}

@media print {
  body { background: #fff; color: #000; padding: 0; }
  .quick, .actions, .picture, .plates, .masthead nav, .review { display: none; }
}
