@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
}

:root {
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  /* Warme Sandstein- und Backstein-Welt des Alten Wasserwerks */
  --page: #efe7d9;
  --paper: #fbf5ea;
  --cream: #f4ecdd;
  --sand: #e8dcc6;
  --stone: #e2d6bf;
  --stone-2: #d6c8ad;
  --ink: #2b241b;
  --soft-ink: #5c5142;
  --muted: #8c7e69;
  --line: #ddd0b8;
  --brick: #b1573a;
  --brick-deep: #8f3f28;
  --warm: #c2733b;
  --mango: #d79f33;
  --pistachio: #7c9357;
  --berry: #b1545d;
  --chocolate: #6d5644;
  --blueberry: #5a6c7e;
  --deep: #322a20;
  --deep-2: #3f3527;
  --chair: #322a20;
  --shadow: 0 22px 50px rgba(54, 42, 24, 0.10);
  --arch: 50% 50% 14px 14px / 28% 28% 3% 3%;
  --space-section: clamp(68px, 9vw, 124px);
  --space-block: clamp(34px, 5vw, 64px);
  --measure: 66ch;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  overflow-x: clip;
}

/* Full-bleed-Farbband, das aus dem zentrierten main ausbricht */
.band {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-block: var(--space-section);
}

.band-inner {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.band-deep {
  background: var(--deep);
  color: #f2ead9;
}

.band-deep h2,
.band-deep h3 {
  color: #fbf5ea;
}

.band-deep .eyebrow {
  color: var(--mango);
}

.band-deep p,
.band-deep .interior-copy p {
  color: #ece2cf;
}

.band-sand {
  background: var(--sand);
}

.band-deep .accent-italic {
  color: var(--mango);
}

body.lightbox-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -64px;
  left: 12px;
  z-index: 30;
  border-radius: 8px;
  background: var(--chair);
  color: #fff;
  font-weight: 700;
  padding: 13px 18px;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

#sorten,
#galerie,
#familien,
#besuch {
  scroll-margin-top: 24px;
}

a {
  color: inherit;
}

p {
  margin-top: 0;
  max-width: var(--measure);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.012em;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.98;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  line-height: 1.22;
}

/* Kursive Display-Akzente für Zwischentöne */
.accent-italic,
.opening-statement em,
.image-caption h2 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 460;
  color: var(--brick);
}

.site-header,
.site-footer,
main {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-accent {
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--warm), var(--pistachio));
  opacity: 0.72;
}

.brand-wordmark {
  display: block;
  min-width: 0;
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
  line-height: 1.06;
}

.brand strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 620;
}

.brand em {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  max-width: 780px;
}

.nav a {
  border-radius: 8px;
  color: var(--soft-ink);
  font-size: 0.92rem;
  font-weight: 640;
  line-height: 1.2;
  padding: 9px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(54, 68, 77, 0.18);
  border-radius: 8px;
  background: rgba(251, 250, 247, 0.9);
  color: var(--chair);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle span + span {
  margin-top: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 72vh, 760px);
  overflow: hidden;
  align-items: end;
  border-radius: 10px;
  background-color: var(--stone);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-media,
.image-proof-media {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.hero-media img,
.image-proof-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 22, 24, 0.18), rgba(18, 22, 24, 0) 34%, rgba(18, 22, 24, 0.32) 62%, rgba(18, 22, 24, 0.78));
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  min-width: 0;
  margin: clamp(22px, 5vw, 58px);
  padding: 0;
}

.hero-panel h1 {
  color: #fff;
  text-shadow: 0 2px 26px rgba(10, 14, 16, 0.35);
}

.hero-panel .eyebrow {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 14px rgba(10, 14, 16, 0.45);
}

.hero-panel .lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 18px rgba(10, 14, 16, 0.3);
}

.hero .button-primary {
  background: var(--warm);
  box-shadow: 0 14px 32px rgba(20, 24, 26, 0.28);
}

.hero .button-primary:hover {
  background: #b2682f;
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lead {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 720;
  line-height: 1.2;
  min-width: 164px;
  padding: 12px 20px;
  text-decoration: none;
}

.button-primary {
  background: var(--chair);
  color: #fff;
  box-shadow: 0 14px 32px rgba(36, 42, 45, 0.14);
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.button-primary:hover {
  background: #211c15;
}

.opening-statement {
  width: min(840px, 100%);
  margin: var(--space-section) auto;
  text-align: center;
}

.opening-statement p {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.55rem);
  line-height: 1.24;
}

.opening-statement p::after {
  content: "";
  display: block;
  width: 150px;
  height: 12px;
  margin: 30px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 12'%3E%3Cpath d='M0 6c12 0 12-5 24-5s12 5 24 5 12-5 24-5 12 5 24 5 12-5 24-5 12 5 26 5' fill='none' stroke='%23b1573a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 150px 12px no-repeat;
}

.section,
.today-case,
.specials-section,
.image-proof,
.interior-section,
.visit-block,
.feature-band,
.contact-strip,
.visit-grid,
.page-hero {
  margin: var(--space-section) 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 46px);
  border-top: 1px solid #d7d9d6;
  border-bottom: 1px solid #d7d9d6;
  padding: var(--space-block) 0;
}

.principle {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-right: clamp(0px, 2vw, 22px);
}

.principle h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.42rem, 2.2vw, 1.9rem);
  max-width: 15ch;
}

.principle p,
.section-heading p,
.card p,
.contact-card p,
.opening-card p,
.feature-copy p,
.interior-copy p,
.visit-block p,
.visit-block address {
  color: var(--soft-ink);
  line-height: 1.65;
}

.gelato-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mango);
}

.gelato-dot.mango {
  background: var(--mango);
}

.gelato-dot.pistachio {
  background: var(--pistachio);
}

.gelato-dot.berry {
  background: var(--berry);
}

.gelato-dot.chocolate {
  background: var(--chocolate);
}

.gelato-dot.blueberry {
  background: var(--blueberry);
}

.today-case {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(32px, 6vw, 66px);
}

.today-case::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brick), var(--mango) 45%, var(--pistachio));
}

.vitrine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
  margin-top: clamp(24px, 4vw, 42px);
}

.vitrine-card {
  position: relative;
  min-width: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: clamp(20px, 3vw, 28px) 0 0;
}

.vitrine-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--warm);
}

.vitrine-card:nth-child(2)::before {
  background: var(--berry);
}

.vitrine-card:nth-child(3)::before {
  background: var(--pistachio);
}

.vitrine-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(199, 121, 66, 0.13);
  color: #96541f;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.2;
  padding: 6px 13px 6px 10px;
  text-transform: uppercase;
}

.vitrine-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--warm);
}

.vitrine-kicker.craft {
  background: rgba(185, 95, 100, 0.13);
  color: #99464b;
}

.vitrine-kicker.craft::before {
  background: var(--berry);
}

.vitrine-kicker.dogs {
  background: rgba(132, 152, 104, 0.16);
  color: #5b6e3f;
}

.vitrine-kicker.dogs::before {
  background: var(--pistachio);
}

.vitrine-card h3 {
  max-width: 18ch;
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.68rem);
}

.vitrine-card p {
  max-width: 38ch;
  margin-bottom: 0;
  color: var(--soft-ink);
  line-height: 1.68;
}

.specials-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  padding: clamp(34px, 6vw, 70px);
}

.section-heading {
  max-width: 56ch;
}

.flavor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.flavor-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 660;
  padding: 15px 10px 15px 0;
}

.note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.note::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  margin-right: 10px;
  background: var(--warm);
  vertical-align: middle;
}

.image-proof {
  position: relative;
  display: grid;
  min-height: clamp(500px, 58vw, 720px);
  overflow: hidden;
  align-items: end;
  border-radius: 10px;
  background-color: var(--stone);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.image-proof::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(36, 40, 43, 0.44), transparent 62%);
}

.image-caption {
  position: relative;
  z-index: 1;
  width: min(540px, calc(100% - 40px));
  margin: clamp(20px, 5vw, 54px);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(24px, 4vw, 40px);
}

.image-caption .button {
  margin-top: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--warm);
}

.text-link.dark::after {
  background: var(--pistachio);
}

.band-deep .text-link {
  color: #fbf5ea;
}

.band-deep .text-link::after {
  background: var(--mango);
}

.photo-gallery {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-block) 0;
}

.gallery-heading {
  margin-bottom: clamp(24px, 4vw, 42px);
}

.gallery-slider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.gallery-frame {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--arch);
  background: var(--stone);
  box-shadow: var(--shadow);
  touch-action: pan-y;
}

.gallery-photo-button {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  padding: 0;
}

.gallery-photo {
  display: block;
  width: 100%;
  height: clamp(360px, 52vw, 650px);
  object-fit: cover;
  transition: opacity 260ms ease;
}

.gallery-arrow,
.gallery-lightbox-nav,
.gallery-lightbox-close {
  border: 1px solid rgba(251, 250, 247, 0.44);
  border-radius: 8px;
  background: rgba(36, 42, 45, 0.72);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
}

.gallery-arrow {
  position: absolute;
  bottom: 18px;
  min-height: 48px;
  padding: 10px 13px;
}

.gallery-arrow-prev {
  left: 18px;
}

.gallery-arrow-next {
  right: 18px;
}

.gallery-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 10px;
  background: var(--paper);
  padding: clamp(24px, 3vw, 34px);
}

.gallery-count {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-side h3 {
  margin-bottom: 12px;
  font-size: clamp(1.42rem, 2vw, 1.82rem);
}

.gallery-side p {
  color: var(--soft-ink);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(20px, 3vw, 30px);
}

.gallery-thumb {
  min-width: 0;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 4px;
}

.gallery-thumb[aria-current="true"] {
  border-color: rgba(54, 68, 77, 0.34);
  background: rgba(235, 233, 227, 0.66);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.gallery-lightbox {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 36px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(36, 42, 45, 0.76);
  cursor: zoom-out;
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, 100%);
  max-height: min(88vh, 900px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  touch-action: pan-y;
}

.gallery-lightbox-figure {
  overflow: hidden;
  margin: 0;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.gallery-lightbox-figure img {
  display: block;
  width: 100%;
  max-height: min(70vh, 720px);
  object-fit: contain;
  background: var(--chair);
}

.gallery-lightbox-figure figcaption {
  padding: clamp(18px, 3vw, 28px);
}

.gallery-lightbox-figure h3 {
  margin-bottom: 8px;
}

.gallery-lightbox-figure p {
  margin-bottom: 0;
  color: var(--soft-ink);
}

.gallery-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 48px;
  padding: 10px 13px;
}

.gallery-lightbox-nav {
  min-width: 82px;
  min-height: 48px;
  padding: 12px 14px;
}

.interior-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.78fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

/* Familien-Block sitzt im dunklen Band: vertikalen Abstand entfernen,
   horizontal zentrieren. Höhere Spezifität als die generische
   .interior-section { margin: … 0 }-Regel, damit margin-inline:auto greift. */
.band .band-inner {
  margin-block: 0;
  margin-inline: auto;
}

.interior-image,
.feature-image,
.page-hero-image,
.gallery-item {
  display: block;
  position: relative;
  min-height: clamp(360px, 36vw, 470px);
  overflow: hidden;
  border-radius: 10px;
  background-color: var(--stone);
  box-shadow: 0 18px 48px rgba(54, 42, 24, 0.16);
}

/* Rundbogen-Rahmen als Anspielung auf die Gebäudebögen */
.interior-image {
  border-radius: var(--arch);
  min-height: clamp(380px, 42vw, 540px);
}

.interior-image img,
.feature-image img,
.page-hero-image img,
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.interior-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 40px) clamp(8px, 2vw, 22px);
}

.visit-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-block) 0;
}

address {
  font-style: normal;
}

.visit-block a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.hours-panel {
  border-radius: 10px;
  background: var(--paper);
  padding: clamp(22px, 3vw, 30px);
}

.hours-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.hours-list dt {
  color: var(--muted);
  font-weight: 650;
}

.hours-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
  text-align: right;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  margin-top: 64px;
  padding: clamp(34px, 5vw, 54px) 0 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 58px);
}

.footer-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
}

.site-footer address,
.site-footer p {
  margin: 0 0 10px;
  line-height: 1.6;
}

.footer-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--ink);
  font-weight: 680;
  text-decoration: none;
}

.site-footer a:hover {
  color: #96541f;
}

.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-copyright {
  margin: clamp(26px, 4vw, 40px) 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
  padding-top: 20px;
}

.site-footer .footer-copyright {
  margin-bottom: 0;
}

.contact-card a[href^="tel"],
.opening-card a[href^="tel"] {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

/* Subpages */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
}

.page-hero.simple,
.page-hero:not(.simple) > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  background: rgba(251, 245, 234, 0.95);
  box-shadow: var(--shadow);
  padding: clamp(34px, 6vw, 62px);
}

.page-hero.simple {
  display: block;
}

.page-hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 4.6rem);
  max-width: 13ch;
}

.card-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card,
.contact-card,
.opening-card {
  border-top: 1px solid var(--line);
  background: transparent;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 0 30px;
}

.card.large {
  min-height: 0;
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(214, 164, 58, 0.15);
  color: #8a6716;
  font-size: 0.78rem;
  font-weight: 740;
  padding: 6px 13px 6px 10px;
  text-transform: uppercase;
}

.card h2,
.contact-card h2,
.opening-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
}

.card p:last-child,
.contact-card p:last-child,
.opening-card p:last-child {
  margin-bottom: 0;
}

.card-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mango);
}

.card:nth-child(3n + 2) .card-kicker {
  background: rgba(185, 95, 100, 0.13);
  color: #99464b;
}

.card:nth-child(3n + 2) .card-kicker::before {
  background: var(--berry);
}

.card:nth-child(3n) .card-kicker {
  background: rgba(132, 152, 104, 0.16);
  color: #5b6e3f;
}

.card:nth-child(3n) .card-kicker::before {
  background: var(--pistachio);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
}

.feature-band.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.feature-band.reverse .feature-image {
  order: 2;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  background: var(--paper);
  padding: clamp(30px, 5vw, 54px);
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 10px;
  background: rgba(251, 245, 234, 0.95);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 48px);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
}

.gallery-item picture {
  display: block;
  height: 100%;
  min-height: inherit;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(36, 40, 43, 0.48), transparent);
}

.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: #fff;
  font-weight: 720;
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 4vw, 54px);
}

.narrow {
  max-width: 820px;
}

@media (max-width: 899px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    justify-content: flex-start;
    max-width: 100%;
  }

  .nav a {
    white-space: normal;
  }

  .js-enabled .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
  }

  .js-enabled .brand {
    order: 2;
  }

  .js-enabled .menu-toggle {
    display: inline-flex;
    flex: 0 0 48px;
    order: 1;
    margin-left: 0;
  }

  .js-enabled .nav {
    display: none;
    order: 3;
    width: 100%;
    max-width: none;
    border: 1px solid rgba(54, 68, 77, 0.16);
    border-radius: 10px;
    background: var(--chair);
    box-shadow: 0 16px 42px rgba(36, 42, 45, 0.12);
    flex-direction: column;
    gap: 2px;
    padding: 8px;
  }

  .js-enabled .nav.is-open {
    display: flex;
  }

  .js-enabled .nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: rgba(255, 255, 255, 0.82);
    padding: 11px 14px;
    white-space: normal;
  }

  .js-enabled .nav a:hover,
  .js-enabled .nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
  }
}

@media (max-width: 980px) {

  .principles,
  .specials-section,
  .vitrine-grid,
  .interior-section,
  .visit-block,
  .gallery-slider,
  .page-hero,
  .feature-band,
  .feature-band.reverse,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .principle h2 {
    max-width: none;
  }

  .gallery-side {
    justify-content: flex-start;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-band.reverse .feature-image {
    order: 0;
  }

  .card-grid.four,
  .card-grid.three,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 22px, 1240px);
  }

  .brand {
    align-items: flex-start;
  }

  html:not(.js-enabled) .nav a {
    padding: 8px 9px;
  }

  html:not(.js-enabled) .nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 6px;
  }

  .hero {
    min-height: auto;
    border-radius: 10px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(18, 22, 24, 0.14), rgba(18, 22, 24, 0.04) 30%, rgba(18, 22, 24, 0.42) 58%, rgba(18, 22, 24, 0.86));
  }

  .hero-panel {
    width: calc(100% - 32px);
    margin: clamp(150px, 44vw, 220px) 16px 20px;
    padding: 0;
  }

  h1 {
    font-size: clamp(2rem, 8.4vw, 2.35rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.58rem, 7.3vw, 2.08rem);
  }

  .lead {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .opening-statement {
    margin: 38px auto;
    text-align: left;
  }

  .opening-statement p {
    font-size: clamp(1.28rem, 6.3vw, 1.82rem);
  }

  .opening-statement p::after {
    margin-top: 20px;
    margin-left: 0;
  }

  .today-case,
  .specials-section,
  .interior-copy,
  .visit-block,
  .gallery-side,
  .page-hero:not(.simple) > div:first-child,
  .page-hero.simple,
  .contact-strip,
  .hours-panel {
    padding: 22px;
  }

  .specials-section,
  .today-case,
  .interior-section,
  .visit-block,
  .photo-gallery,
  .page-hero,
  .feature-band,
  .contact-strip,
  .visit-grid,
  .section {
    margin: 48px 0;
  }

  .today-case .section-heading h2 {
    font-size: clamp(1.5rem, 6.6vw, 1.9rem);
    line-height: 1.14;
  }

  .vitrine-grid {
    gap: 18px;
    margin-top: 22px;
  }

  .flavor-list,
  .card-grid.four,
  .card-grid.three,
  .gallery,
  .gallery.two {
    grid-template-columns: 1fr;
  }

  .vitrine-card {
    padding-top: 16px;
  }

  .vitrine-kicker {
    margin-bottom: 12px;
  }

  .vitrine-card h3 {
    max-width: none;
    margin-bottom: 10px;
    font-size: 1.18rem;
  }

  .vitrine-card p {
    max-width: none;
    line-height: 1.58;
  }

  .note {
    margin-top: 16px;
  }

  .image-proof,
  .interior-image,
  .feature-image,
  .page-hero-image,
  .gallery-item {
    min-height: 280px;
    border-radius: 10px;
  }

  .image-caption {
    width: calc(100% - 24px);
    margin: 12px;
    padding: 22px;
  }

  .gallery-slider {
    gap: 14px;
  }

  .gallery-photo {
    height: clamp(260px, 68vw, 360px);
  }

  .gallery-arrow {
    bottom: 12px;
    padding: 9px 11px;
  }

  .gallery-arrow-prev {
    left: 12px;
  }

  .gallery-arrow-next {
    right: 12px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-lightbox {
    padding: 10px;
  }

  .gallery-lightbox-panel {
    max-height: calc(100vh - 20px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-lightbox-figure {
    grid-column: 1 / -1;
  }

  .gallery-lightbox-figure img {
    max-height: 62vh;
  }

  .gallery-lightbox-nav {
    min-width: 0;
  }

  .hours-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .hours-list dd {
    text-align: left;
  }

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

@media (max-width: 380px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 18px, 1240px);
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand em {
    font-size: 0.82rem;
  }

  .button {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery-photo {
    transition: none;
  }
}
