@font-face {
  font-family: "Signika";
  src: url("/assets/fonts/Signika-Light.woff2") format("woff2"), url("/assets/fonts/Signika-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Signika";
  src: url("/assets/fonts/Signika-Regular.woff2") format("woff2"), url("/assets/fonts/Signika-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Signika";
  src: url("/assets/fonts/Signika-Medium.woff2") format("woff2"), url("/assets/fonts/Signika-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Signika";
  src: url("/assets/fonts/Signika-SemiBold.woff2") format("woff2"), url("/assets/fonts/Signika-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Signika";
  src: url("/assets/fonts/Signika-Bold.woff2") format("woff2"), url("/assets/fonts/Signika-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Huberwirt Script";
  src: url("/assets/fonts/HuberwirtScript-Regular.woff2") format("woff2"), url("/assets/fonts/HuberwirtScript-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yesteryear";
  src: url("/assets/fonts/Yesteryear-Regular.woff2") format("woff2"), url("/assets/fonts/Yesteryear-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #1d1d1b;
  --green: #1e5a1b;        /* softened from brand #045101 */
  --green-deep: #045101;
  --red: #a31825;
  --red-deep: #7f121c;
  --grey: #8a8a8a;
  --paper: #faf6ee;
  --cream: #f1e7d6;
  --wood-dark: #4a2f1c;
  --wood: #7a4f2e;
  --wood-light: #c9a173;
  --radius: 14px;
  --script: "Huberwirt Script", "Yesteryear", cursive;
  --sans: "Signika", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--black);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
.script { font-family: var(--script); font-weight: 400; }

/* ---------- Textures ---------- */
.wood {
  color: var(--paper);
  background-color: var(--wood-dark);
  background-image:
    radial-gradient(ellipse 120px 18px at 22% 38%, rgba(0,0,0,.25), transparent 70%),
    radial-gradient(ellipse 90px 14px at 78% 72%, rgba(0,0,0,.22), transparent 70%),
    repeating-linear-gradient(178deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(181deg, rgba(0,0,0,.12) 0 1px, transparent 1px 23px),
    repeating-linear-gradient(0deg, transparent 0 139px, rgba(0,0,0,.35) 139px 141px),
    linear-gradient(180deg, #553621, #3f2716);
}
/* Hero: real wood photo, darkened so the light text stays readable */
.hero.wood {
  background-color: #3a2a1c;
  background-image:
    linear-gradient(90deg, rgba(25,14,6,.78) 0%, rgba(25,14,6,.55) 45%, rgba(25,14,6,.3) 100%),
    url("/assets/textures/holz-senkrecht-1600.webp");
  background-size: cover;
  background-position: center;
}
.wood-light {
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(179deg, rgba(122,79,46,.05) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(0deg, transparent 0 179px, rgba(122,79,46,.18) 179px 181px);
}
.gingham-top { position: relative; }
.gingham-top::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 22px;
  background:
    repeating-linear-gradient(90deg, rgba(30,90,27,.55) 0 11px, transparent 11px 22px),
    repeating-linear-gradient(0deg, rgba(30,90,27,.55) 0 11px, transparent 11px 22px),
    var(--paper);
}

/* ---------- Buttons & small bits ---------- */
.btn {
  display: inline-block;
  padding: .7em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  letter-spacing: .02em;
  border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn--green { background: var(--green); color: var(--paper); }
.btn--green:hover { background: var(--green-deep); }
.btn--red { background: var(--red); color: var(--paper); }
.btn--red:hover { background: var(--red-deep); }
.btn--cream { background: var(--cream); color: var(--wood-dark); }
.btn--ghost { border-color: rgba(250,246,238,.6); color: var(--paper); }

.eyebrow {
  margin: 0 0 .2em;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wood-light);
}
.eyebrow--green { color: var(--green); }
/* room for the tall logo H of "Huberwirt Script" after a small line */
.eyebrow + :is(h1, h2, h3).script:not(.hero__title),
.eyebrow + .section__title:not(.hero__title),
.notice__label + .notice__title { margin-top: .32em; }

.link-arrow {
  display: inline-flex;
  gap: .5em;
  align-items: center;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100; /* above the hero popup and photos when scrolling */
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 14px 48px;
  background: rgba(250,246,238,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(29,29,27,.08);
}
.brand { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .2s ease, opacity .2s ease; }
.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.brand__logo { height: 66px; width: auto; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.header-actions { display: flex; gap: 12px; }
.nav a {
  position: relative;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--green); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 40px;
  /* fill the first screen exactly: header + green ticker (+ preview banner) are --chrome */
  --chrome: 188px;
  --hero-pad-y: clamp(28px, 5.5svh, 80px);
  min-height: calc(100svh - var(--chrome));
  padding: var(--hero-pad-y) 48px var(--hero-pad-y) 96px;
  overflow: hidden;
}
.hero .eyebrow { margin-bottom: 18px; }
.hero__title {
  font-size: clamp(90px, min(12vw, 19svh), 180px);
  line-height: .9;
  margin: .4em 0 24px -8px; /* room for the tall logo H */
  color: var(--paper);
  text-shadow: 0 4px 0 rgba(0,0,0,.25);
}
.hero__lead { max-width: 30ch; font-size: 21px; opacity: .9; margin: 0 0 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero collage: one composition that scales as a whole (all sizes in % of its width) */
.hero__visual {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: min(680px, calc((100svh - var(--chrome) - 2 * var(--hero-pad-y) - 16px) / .92));
  justify-self: center;
}
.hero__photos {
  position: relative;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 100 / 92;
}
.hero__photos .polaroid { padding: 2cqw 2cqw 6cqw; box-shadow: 0 3cqw 6cqw rgba(0,0,0,.4); }
.hero__photos .polaroid--a { left: 0; top: 6cqw; transform: rotate(-6deg); z-index: 1; }
.hero__photos .polaroid--a .photo { width: 60cqw; height: 40cqw; }
.hero__photos .polaroid--b { right: 2cqw; top: 0; transform: rotate(5deg); z-index: 2; }
.hero__photos .polaroid--b .photo { width: 36cqw; height: 46cqw; }
.hero__photos .polaroid--c { left: 14cqw; top: 46cqw; transform: rotate(2deg); z-index: 3; }
.hero__photos .polaroid--c .photo { width: 54cqw; height: 36cqw; }
.hero__photos .polaroid:hover { transform: rotate(0) scale(1.03); z-index: 5; }
.hero__photos .stamp {
  position: absolute;
  right: 1cqw;
  bottom: 3cqw;
  z-index: 6;
  width: 25cqw;
  height: 25cqw;
  outline-width: 1cqw;
}
.hero__photos .stamp .stamp__seit { font-size: 2.6cqw; }
.hero__photos .stamp strong { font-size: 9cqw; }
/* Important notice, taped over the hero collage */
.notice {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  width: 90cqw;
  min-height: 70cqw;
  max-height: 92cqw;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 7cqw 7cqw 6cqw;
  background: #fdfaf3;
  color: var(--black);
  border-radius: 4px;
  box-shadow: 0 24px 50px rgba(0,0,0,.45);
  transform: translate(-50%, -50%) rotate(-1.5deg);
  animation: notice-in .5s cubic-bezier(.2,.8,.3,1.2) both;
}
.notice__label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--red);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.notice__title { font-family: var(--script); font-weight: 400; font-size: clamp(40px, 9cqw, 62px); line-height: 1.05; color: var(--green); margin: 0 0 10px; }
.notice__text { font-size: clamp(16px, 3cqw, 20px); line-height: 1.55; color: #3d3d39; }
.notice__text p { margin: 0 0 10px; }
.notice__text a { color: var(--green); font-weight: 600; }
.notice__link { margin-top: 8px; }
.notice__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--grey);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.notice__close:hover { background: var(--cream); color: var(--black); }
@keyframes notice-in {
  from { opacity: 0; transform: translate(-50%, -40%) rotate(-6deg) scale(.9); }
}
@media (max-width: 760px) {
  /* own card above the photos instead of covering them */
  .notice {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    min-height: 0;
    max-height: none;
    margin: 0 4px 32px;
    transform: rotate(-1deg);
    animation: none;
  }
  .notice { padding: 28px 22px 22px; }
  .notice__title { font-size: 36px; }
  .notice__text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .notice { animation: none; } }

.polaroid {
  position: absolute;
  margin: 0;
  padding: 14px 14px 10px;
  background: #fdfaf3;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  transition: transform .35s ease;
}
.polaroid:hover { transform: rotate(0) scale(1.03); z-index: 5; }
.polaroid figcaption {
  text-align: center;
  font-size: 30px;
  color: var(--wood-dark);
  margin-top: 6px;
}

.photo {
  position: relative;
  overflow: hidden;
  background: #6e4c2c;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) sepia(.12) contrast(1.03);
}
.photo span {
  position: absolute;
  left: 12px; bottom: 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.photo--sepia {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,240,210,.45), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(60,35,15,.5), transparent 60%),
    linear-gradient(160deg, #b08a5f, #6e4c2c);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(40,20,5,.35);
  pointer-events: none;
}

.stamp {
  position: relative;
  width: 164px;
  height: 164px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  border: 3px dashed rgba(250,246,238,.6);
  outline: 6px solid var(--green);
  transform: rotate(-12deg);
  line-height: 1.05;
  animation: wobble 6s ease-in-out infinite;
}
.stamp .stamp__seit { font-size: 16px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
.stamp strong { font-family: var(--script); font-weight: 400; font-size: 60px; }
@keyframes wobble {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(-4deg) scale(1.04); }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--green);
  color: var(--paper);
  padding: 16px 0;
  border-block: 4px solid var(--green-deep);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker span { font-family: var(--script); font-size: 34px; white-space: nowrap; }
.ticker img { width: 26px; height: 26px; opacity: .8; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 96px; }
.section__title {
  font-size: 84px;
  line-height: 1;
  color: var(--green);
  margin-bottom: 20px;
}
.section__head { text-align: center; margin-bottom: 56px; }

/* Wochenmenü */
.menu-teaser {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: center;
}
.menu-teaser__intro p:not(.eyebrow) { max-width: 34ch; color: #4a4a46; margin: 0 0 28px; }

.menu-card {
  position: relative;
  overflow: hidden;
  padding: 44px 52px 36px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 0 var(--cream), 0 30px 60px -20px rgba(74,47,28,.35);
  transform: rotate(1deg);
}
.menu-card__head { text-align: center; position: relative; z-index: 1; }
.menu-card__title { position: relative; display: inline-block; }
.menu-card__title .stamp--price { position: absolute; left: calc(100% + 32px); top: 50%; margin-top: -59px; }
.menu-card__head h3 { font-size: 72px; line-height: 1; }
.menu-card__head p { margin: 0; color: var(--grey); font-size: 16px; }
.menu-card__head .menu-card__week { font-size: 18px; font-weight: 600; color: #55554f; }
.menu-card__head .menu-card__hint { margin-bottom: 16px; }
.stamp--price { width: 118px; height: 118px; outline-width: 5px; transform: rotate(8deg); animation-name: wobble-price; flex: none; }
.stamp--price .stamp__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.stamp--price strong { font-family: var(--sans); font-weight: 700; font-size: 30px; margin: 2px 0; }
.stamp--price .stamp__note { font-size: 13px; }
@keyframes wobble-price {
  0%, 100% { transform: rotate(8deg); }
  50% { transform: rotate(2deg) scale(1.04); }
}
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 14px 0 12px;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--black);
}
.divider img { width: 34px; height: 34px; }

.menu-list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.menu-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: first baseline;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(138,138,138,.45);
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list__day { display: grid; align-content: start; }
.menu-list .day {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--green);
}
.menu-list time { font-size: 16px; color: var(--grey); margin-top: 2px; }
.menu-list__dish p { margin: 0; }
.menu-list .soup { font-size: 18px; color: #55554f; }
.menu-list h4 { font-size: 26px; font-weight: 700; color: var(--black); line-height: 1.2; margin: 2px 0; }
.menu-list .sides { font-size: 18px; color: var(--grey); }
.menu-list .sides--strong { font-weight: 600; }
.menu-list__offering + .menu-list__offering { margin-top: 14px; padding-top: 14px; border-top: 1px dotted rgba(138,138,138,.45); }
.menu-list__name { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wood); margin-bottom: 2px !important; }
.menu-list__today {
  justify-self: start;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.menu-card__note {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(138,138,138,.45);
  color: var(--grey);
  font-size: 16px;
  text-align: center;
}
.menu-card__watermark {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 380px;
  opacity: .35;
}

/* Veranstaltungen */
.events { text-align: center; padding-top: 130px; }
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  text-align: left;
}
.events__grid--page { grid-template-columns: repeat(2, 1fr); max-width: 1100px; margin-inline: auto; }
.event {
  display: flex;
  gap: 22px;
  padding: 30px;
  background: #fff;
  border-radius: var(--radius);
  border: 2px solid var(--black);
  box-shadow: 8px 8px 0 var(--wood-light);
  transition: transform .25s ease, box-shadow .25s ease;
}
.event:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--green); }
.event--tilt { transform: rotate(-1.5deg); }
.event__date {
  position: relative;
  flex: none;
  width: 78px;
  height: 86px;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--green);
  color: var(--paper);
  border-radius: 10px;
  line-height: 1;
}
.event__date strong { font-size: 38px; }
.event__date span { font-size: 14px; letter-spacing: .15em; text-transform: uppercase; margin-top: 4px; }
.event__date--weekly span { margin: 0 0 4px; font-size: 12px; letter-spacing: .1em; }
.event__date--weekly strong { font-size: 34px; }
.event__more {
  position: absolute;
  top: -10px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wood-light);
  color: var(--wood-dark);
  border: 2px solid #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  transform: rotate(10deg);
}
.event__dates {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.event__dates li {
  font-size: 14px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 6px;
  border: 1.5px solid rgba(30,90,27,.35);
  color: var(--green);
}
.event__subtitle { margin: -2px 0 8px; font-weight: 600; color: var(--wood); }
.event__hint { font-weight: 400; }
.event .event__actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; }
.event__actions .link-arrow { font-size: 15px; }
.event__dates .is-next { background: var(--green); border-color: var(--green); color: var(--paper); }
.event__dates .is-past { color: var(--grey); border-color: rgba(138,138,138,.35); text-decoration: line-through; opacity: .7; }
.event h3 { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.event p { margin: 0 0 14px; font-size: 16px; color: #4a4a46; }
.event__text { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: #4a4a46; }
.event__text p, .event__text div { margin: 0; }
.event__text a { color: var(--green); font-weight: 600; }
.event__text ul, .event__text ol { margin: 4px 0; padding-left: 20px; }
.tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--wood-dark);
}

/* Über uns */
.story__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}
.story__photos { position: relative; height: 520px; }
.story__old { left: 0; top: 40px; transform: rotate(-5deg); }
.story__old .photo { width: 380px; height: 240px; }
.story__old figcaption { text-align: left; padding-left: 24px; }
.story__today { right: 20px; top: 0; transform: rotate(4deg); z-index: 2; }
.story__today .photo { width: 270px; height: 360px; }
.story__today img { object-position: center 20%; }
.story__text > p:not(.eyebrow) { max-width: 46ch; margin: 0 0 28px; }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  border-top: 2px solid var(--wood);
}
.timeline li { position: relative; padding-top: 26px; }
.timeline li::before {
  content: "";
  position: absolute;
  top: -9px; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--cream);
}
.timeline strong {
  display: block;
  font-family: var(--script);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  color: var(--wood);
}
.timeline h3 { font-size: 18px; font-weight: 700; margin: 6px 0 4px; }
.timeline p { margin: 0; font-size: 15px; line-height: 1.45; color: #4a4a46; }
.story__intro:last-child { margin-bottom: 0; }
.timeline--short {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 8px 0 32px;
  max-width: 640px;
}
.timeline--short strong { font-size: 36px; }
.timeline--short p { margin-top: 4px; }
.snap {
  position: relative;
  margin: 22px 0 0;
  padding: 8px 8px 4px;
  background: #fdfaf3;
  box-shadow: 0 10px 24px rgba(74,47,28,.28);
  transition: transform .3s ease;
}
.snap::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 64px;
  height: 20px;
  margin-left: -32px;
  background: rgba(201,161,115,.55);
  transform: rotate(-4deg);
}
.snap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.15); }
.snap figcaption { text-align: center; font-size: 18px; line-height: 1.2; color: var(--wood-dark); margin-top: 4px; }
.snap--today img { filter: none; }
.snap--left { transform: rotate(-3deg); }
.snap--right { transform: rotate(3deg); }
.snap:hover { transform: rotate(0) scale(1.05); z-index: 2; }

/* Fotoalbum (Über uns) */
.album.wood {
  background-color: #3a2a1c;
  background-image:
    linear-gradient(180deg, rgba(25,14,6,.7), rgba(25,14,6,.5) 50%, rgba(25,14,6,.7)),
    url("/assets/textures/holz-senkrecht-1600.webp");
  background-size: cover;
  background-position: center;
}
.album .section__head .eyebrow { color: var(--wood-light); }
.album__title { color: var(--paper); }
.album__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.pinned {
  position: relative;
  margin: 0;
  padding: 14px 14px 10px;
  background: #fdfaf3;
  box-shadow: 0 18px 36px rgba(0,0,0,.4);
  transition: transform .3s ease;
}
.pinned::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 96px;
  height: 26px;
  margin-left: -48px;
  background: rgba(241,231,214,.75);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transform: rotate(-4deg);
}
.pinned img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: sepia(.15); }
.pinned figcaption { text-align: center; font-size: 26px; color: var(--wood-dark); margin-top: 6px; }
.pinned--1 { transform: rotate(-3deg); }
.pinned--2 { transform: rotate(2deg) translateY(36px); }
.pinned--3 { transform: rotate(-2deg); }
.pinned:hover { transform: rotate(0) scale(1.04); z-index: 2; }

/* Unser Haus heute (Über uns) */
.today__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 280px; /* every row the same height, however many photos */
  grid-auto-flow: dense;
  gap: 16px;
}
.today__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.today__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.today__item:hover img { transform: scale(1.04); }
.today__item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(250,246,238,.92);
  color: var(--wood-dark);
  font-size: 14px;
  font-weight: 600;
}
.today__item--front { grid-row: 1 / 3; }
.today__item--hall { grid-column: 2 / 4; }

/* Kontakt */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px;
  background: #fff;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--wood-light);
}
.contact-card h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.contact-card address { font-style: normal; margin-bottom: 24px; }
.contact-card .btn { margin-top: auto; }
.contact-card__links { display: grid; gap: 4px; margin: 0 0 12px; }
.contact-card__links a { font-size: 22px; font-weight: 700; text-decoration: none; }
.contact-card__links a:hover { color: var(--green); }
.contact-card__note { margin: 0; color: var(--grey); font-size: 15px; }
.hours--light { width: 100%; font-size: 16px; }
.hours--light div { border-bottom-color: rgba(138,138,138,.4); }
.hours--light dd { text-align: right; }
.hours--light .hours--closed dd { color: var(--wood); font-weight: 600; }

.contact-requests__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.request {
  padding: 44px 48px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -20px rgba(74,47,28,.35);
  scroll-margin-top: 120px;
}
.request h2 { font-size: 64px; line-height: 1; color: var(--green); margin-bottom: 12px; }
.request p:not(.eyebrow) { margin: 0 0 24px; max-width: 46ch; }
.request__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.request--booking {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}
.request--booking ~ .request { grid-column: 1 / -1; }
.request--booking .request__alt { margin: 8px 0 12px; color: var(--grey); font-size: 15px; }
.request__booking iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}

/* Shown while the site is still in development (SITE_PREVIEW) */
body:has(.preview-banner) .hero { --chrome: 233px; }
.preview-banner {
  padding: 10px 24px;
  background: var(--red);
  color: var(--paper);
  font-size: 16px;
  text-align: center;
}
.btn--outline { border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--paper); }

/* Impressum & Datenschutz */
.legal { max-width: 820px; margin: 0 auto; }
.legal .section__title { margin-bottom: 36px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; color: var(--green); }
.legal p, .legal li { color: #3d3d39; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal a { color: var(--green); }
.legal__more { margin-top: 40px; }

/* Reservieren & Feiern */
.cta {
  background: var(--green);
  padding: 96px;
}
.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.cta-card {
  position: relative;
  overflow: hidden;
  padding: 48px 52px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cta-card h2 { font-size: 72px; line-height: 1; margin-bottom: 12px; }
.cta-card > p:not(.eyebrow) { margin: 0 0 24px; max-width: 42ch; }
.cta-card .btn { margin-top: auto; position: relative; z-index: 1; }

.cta-card--table {
  background: var(--paper);
  color: var(--black);
  box-shadow: 10px 10px 0 var(--green-deep);
  transform: rotate(-1deg);
}
.cta-card--table h2 { color: var(--green); }
.cta-card__phones { display: grid; gap: 2px; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-card__phones a {
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  letter-spacing: .02em;
}
.cta-card__phones a:hover { color: var(--green); }
.cta-card__icon {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 300px;
  opacity: .35;
}

.cta-card--party {
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(25,15,6,.55), rgba(25,15,6,.88)),
    url("/assets/photos/web/K6A1240-scaled.jpg") center / cover no-repeat;
  box-shadow: 10px 10px 0 var(--green-deep);
  transform: rotate(1deg);
}
.cta-card--party .eyebrow { color: var(--wood-light); }
.cta-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
}
.cta-card__tags li {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(250,246,238,.55);
}

.hours { margin: 0; display: grid; gap: 6px; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px dashed rgba(250,246,238,.35);
  padding-bottom: 6px;
}
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

/* Footer */
.site-footer {
  background: var(--black);
  color: #d6d6d0;
  font-size: 16px;
  padding: 72px 96px 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 56px;
}
.site-footer h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wood-light);
  margin-bottom: 18px;
}
.site-footer__logo { width: 220px; filter: invert(1); opacity: .9; margin-bottom: 20px; }
.site-footer__brand p { max-width: 26ch; color: var(--grey); }
.site-footer p { margin: 0 0 20px; }
.site-footer address { font-style: normal; margin-bottom: 18px; }
.site-footer strong { color: var(--paper); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.site-footer__contact { display: grid; gap: 2px; }
.site-footer__contact a { color: var(--paper); font-weight: 600; }
.site-footer .hours div { border-bottom-color: rgba(214,214,208,.18); }
.site-footer .hours dd { color: var(--paper); text-align: right; }
.site-footer .hours--closed dd { color: var(--wood-light); }
.hours--kitchen { margin-top: 18px; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(214,214,208,.15);
  font-size: 14px;
  color: var(--grey);
}
.site-footer__bottom nav { display: flex; gap: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .site-header { gap: 24px; }
  .nav { gap: 22px; }
  .nav a { font-size: 17px; }
  .header-actions .btn { font-size: 15px; padding: .6em 1.1em; }
}
@media (max-width: 1100px) {
  /* Header + mobile menu */
  .site-header { flex-wrap: wrap; padding: 10px 20px; gap: 0; }
  .brand__logo { height: 52px; }
  .nav-toggle { display: flex; }
  .nav, .header-actions { display: none; }
  .is-open .nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin: 16px 0 0;
  }
  .is-open .nav a { font-size: 20px; padding: 10px 0; border-bottom: 1px dashed rgba(138,138,138,.4); }
  .is-open .nav a::after { display: none; }
  .is-open .header-actions { display: grid; width: 100%; gap: 10px; margin: 18px 0 10px; }
  .is-open .header-actions .btn { text-align: center; font-size: 17px; padding: .8em 1em; }
  .site-header { padding: 12px 24px; gap: 20px; }
  .nav { gap: 20px; }
  .hero, .menu-teaser, .story__intro, .cta__grid, .request--booking { grid-template-columns: 1fr; }
  .timeline:not(.timeline--short) { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .hero { padding: 56px 24px; min-height: 0; }
  .section, .cta, .site-footer { padding-inline: 24px; }
  .events__grid { grid-template-columns: 1fr; }
  .contact__grid, .contact-requests__grid { grid-template-columns: 1fr; }
  .album__grid { grid-template-columns: 1fr; max-width: 520px; row-gap: 40px; }
  .pinned--2 { transform: rotate(2deg); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }

  /* Hero */
  .hero { padding: 40px 20px 56px; gap: 40px; min-height: 0; }
  .hero__title { font-size: 84px; margin-left: -4px; }
  .hero__lead { font-size: 18px; }
  .ticker span { font-size: 26px; }

  /* Sections */
  .section { padding: 64px 20px; }
  .section__title { font-size: 56px; }

  /* Menu card */
  .menu-teaser { gap: 40px; }
  .menu-card { padding: 32px 22px 26px; transform: none; }
  .menu-card__title { display: flex; align-items: center; justify-content: center; gap: 14px; }
  .menu-card__head h3 { font-size: 52px; }
  .menu-card__title .stamp--price { position: static; margin: 0; width: 88px; height: 88px; outline-width: 4px; }
  .stamp--price .stamp__label { font-size: 10px; }
  .stamp--price strong { font-size: 22px; }
  .stamp--price .stamp__note { font-size: 11px; }
  .menu-list li { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .menu-list__day { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .menu-list .day { font-size: 18px; }
  .menu-list time { margin: 0; }
  .menu-list h4 { font-size: 23px; }
  .menu-card__watermark { width: 260px; right: -70px; bottom: -70px; }

  /* Events */
  .events { padding-top: 80px; }
  .event { padding: 22px; gap: 16px; }
  .event__date { width: 64px; height: 74px; }
  .event__date strong { font-size: 30px; }

  /* Über uns */
  .story__intro { gap: 32px; }
  .story__intro > * { min-width: 0; }
  .story .section__title { font-size: 46px; }
  .polaroid figcaption { font-size: 20px; margin-top: 2px; }
  .story__photos { height: 340px; }
  .story__old { top: 20px; }
  .story__old .photo { width: 230px; height: 150px; }
  .story__old figcaption { padding-left: 10px; }
  .story__today { right: 0; }
  .story__today .photo { width: 160px; height: 220px; }
  .timeline--short { grid-template-columns: repeat(2, 1fr); column-gap: 0; row-gap: 28px; border-top: 0; }
  .timeline--short li { padding-right: 16px; }
  .timeline--short li::before { z-index: 1; }
  .timeline--short li::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--wood);
  }
  /* run the line off-screen so both rows read as one continuous line */
  .timeline--short li:nth-child(2n)::after { right: -20px; }
  .timeline--short li:nth-child(2n+3)::after { left: -20px; }
  .timeline:not(.timeline--short) { grid-template-columns: 1fr; }

  .today__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .today__item--front { grid-row: auto; grid-column: 1 / 3; }
  .today__item--hall { grid-column: 1 / 3; }

  .contact-card { padding: 28px 24px; }
  .request { padding: 32px 24px; }
  .request h2 { font-size: 52px; }
  .legal .section__title { font-size: 48px; }

  /* Reservieren & Feiern */
  .cta { padding: 56px 20px; }
  .cta__grid { gap: 32px; }
  .cta-card { padding: 32px 24px; }
  .cta-card h2 { font-size: 52px; }
  .cta-card__phones a { font-size: 26px; }

  /* Footer */
  .site-footer { padding: 56px 20px 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__bottom { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .stamp { animation: none; }
}

/* smaller wood texture on phones */
@media (max-width: 760px) {
  .hero.wood, .album.wood {
    background-image:
      linear-gradient(180deg, rgba(25,14,6,.72), rgba(25,14,6,.55)),
      url("/assets/textures/holz-senkrecht-900.webp");
  }
}
