


:root {
  --color-green: #42652A;
  --color-green-dark: #34501F;
  --color-cream: #F4F0E5;
  --color-cream-deep: #EAE3D1;
  --color-paper: #FBF9F3;
  --color-anthracite: #292D23;
  --color-wood: #987A53;
  --color-wood-light: #CDB590;
  --color-text: var(--color-anthracite);
  --color-text-muted: #4A4F42;
  --color-on-dark: var(--color-cream);
  --color-on-dark-muted: #CFC9B8;
  --color-line: #D9CFB8;
  --color-missing: #B00020;
  --color-missing-bg: #FFF3CD;

  --pattern-raute:
    repeating-linear-gradient(60deg, rgba(152, 122, 83, 0.16) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(-60deg, rgba(152, 122, 83, 0.16) 0 1px, transparent 1px 28px);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.65rem, 1.4rem + 1vw, 2.3rem);
  --step-3: clamp(2.1rem, 1.6rem + 2vw, 3.2rem);
  --step-4: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.75rem;
  --space-l: 3rem;
  --space-xl: 5rem;
  --space-section: clamp(3.5rem, 2.5rem + 5vw, 7rem);

  --content-max: 1240px;
  --content-narrow: 760px;

  --radius-s: 4px;
  --radius-m: 10px;
  --shadow-soft: 0 18px 40px -24px rgba(41, 45, 35, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --tap-min: 44px;
  --quickbar-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--quickbar-height) + env(safe-area-inset-bottom, 0px));
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--color-green); text-underline-offset: 0.2em; }
a:hover { color: var(--color-green-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-s);
  text-wrap: balance;
  hyphens: manual;
  overflow-wrap: break-word;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 var(--space-s); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  margin-bottom: var(--space-xs);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-green);
}
.eyebrow--light { color: var(--color-wood-light); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--color-text-muted); }

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-s);
}
.container--narrow { max-width: var(--content-narrow); }

.section { padding-block: var(--space-section); }
.section--deep { background: var(--color-cream-deep); }
.section--dark {
  background-color: var(--color-anthracite);
  background-image: var(--pattern-raute);
  color: var(--color-on-dark);
}
.section--dark .lead,
.section--dark p { color: var(--color-on-dark-muted); }
.section--dark h2,
.section--dark h3 { color: var(--color-on-dark); }

.section-head { max-width: 46rem; margin: 0 auto var(--space-l); text-align: center; }
.section-head .ornament { max-width: 12rem; margin-inline: auto; }

.split { display: grid; gap: var(--space-l); align-items: center; }
.split__text > * + .btn-group { margin-top: var(--space-m); }

.grid-3 { display: grid; gap: var(--space-m); }

@media (min-width: 768px) {
  .container { padding-inline: var(--space-m); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .split--reverse .split__media { order: -1; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-s); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 0.7em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--primary { background: var(--color-green); color: var(--color-cream); }
.btn--primary:hover { background: var(--color-green-dark); color: var(--color-cream); }
.btn--ghost { border-color: currentColor; color: var(--color-cream); }
.btn--ghost:hover { background: var(--color-cream); border-color: var(--color-cream); color: var(--color-anthracite); }
.btn--outline { border-color: var(--color-green); color: var(--color-green); }
.btn--outline:hover { background: var(--color-green); color: var(--color-cream); }
.btn--light { background: var(--color-cream); color: var(--color-anthracite); }
.btn--light:hover { background: var(--color-paper); color: var(--color-anthracite); }

.ornament {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block: var(--space-s);
  color: var(--color-wood);
}
.ornament::before,
.ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.7; }
.ornament span { width: 0.55rem; height: 0.55rem; border: 1px solid currentColor; transform: rotate(45deg); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  font-weight: 600;
  text-decoration: none;
}
.text-link::after { content: "→"; margin-left: 0.4em; transition: transform 0.2s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  padding: var(--space-s);
  overflow: hidden;
  border-radius: var(--radius-m);
  background-color: var(--color-anthracite);
  background-image: var(--pattern-raute), linear-gradient(140deg, #46583A 0%, #2F3628 60%, #292D23 100%);
  color: var(--color-cream);
}
.section--dark .ph { border: 1px solid rgba(205, 181, 144, 0.4); }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph__label {
  max-width: 100%;
  margin: 0;
  padding: 0.4em 0.75em;
  border: 1px dashed rgba(244, 240, 229, 0.7);
  border-radius: var(--radius-s);
  background: rgba(41, 45, 35, 0.85);
  font-size: var(--step--1);
  line-height: 1.4;
  color: var(--color-cream);
}
.ph__label strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-wood-light);
}
.ph--cover {
  position: absolute;
  inset: 0;
  z-index: -1;
  aspect-ratio: auto;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: var(--space-m);
  border-radius: 0;
}
.ph--cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(41, 45, 35, 0.94) 10%, rgba(41, 45, 35, 0.45) 70%, rgba(41, 45, 35, 0.3));
}
.ph--cover .ph__label { position: relative; z-index: 1; }

.ph.has-photo { padding: 0; }
.ph.has-photo > picture,
.ph.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph.has-photo img { object-fit: cover; }
.ph--cover.has-photo::after {
  background: linear-gradient(to top, rgba(41, 45, 35, 0.94) 10%, rgba(41, 45, 35, 0.72) 52%, rgba(41, 45, 35, 0.47) 82%, rgba(41, 45, 35, 0.32));
}
.ph--cover.has-photo + .container .eyebrow {
  text-shadow: 0 1px 2px rgba(41, 45, 35, 0.9), 0 0 12px rgba(41, 45, 35, 0.85);
}
.ph--cover-hell.has-photo::after {
  background: linear-gradient(to top, rgba(41, 45, 35, 0.92) 12%, rgba(41, 45, 35, 0.76) 60%, rgba(41, 45, 35, 0.34) 85%, rgba(41, 45, 35, 0.1));
}

@media (min-width: 768px) and (max-width: 959px) {
  .split__media .ph--portrait { max-width: 30rem; margin-inline: auto; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 229, 0.97);
  border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-s);
  min-height: 4.5rem;
  padding-block: var(--space-xs);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  min-height: var(--tap-min);
  justify-content: center;
  color: var(--color-anthracite);
  text-decoration: none;
  line-height: 1.1;
}
.brand:hover { color: var(--color-anthracite); }
.brand__name { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: 0.02em; }
.brand__sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-green);
}
@media (min-width: 480px) {
  .brand__sub { font-size: 0.75rem; letter-spacing: 0.14em; }
}

.brand--logo { align-items: center; text-align: center; line-height: 1; }
.brand--logo .brand__mountains { display: block; width: 7.5rem; height: auto; margin-bottom: 0.15rem; }
.brand--logo .brand__name { font-size: 1.6rem; line-height: 1; letter-spacing: 0.03em; }
.brand--logo .brand__sub { margin-top: 0.2rem; font-size: 0.625rem; line-height: 1.1; letter-spacing: 0.12em; }
.brand--logo .brand__sub--second { margin-top: 0.1rem; }
@media (min-width: 1180px) {
  .brand--logo .brand__mountains { width: 8.25rem; }
  .brand--logo .brand__name { font-size: 1.8rem; }
  .brand--logo .brand__sub { font-size: 0.6875rem; letter-spacing: 0.14em; }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--space-xs);
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  padding: 0 0.9rem;
  border: 1px solid var(--color-anthracite);
  border-radius: var(--radius-s);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav { width: 100%; }
.main-nav__list { display: flex; flex-wrap: wrap; gap: 0 var(--space-s); }
.main-nav__link {
  display: flex;
  align-items: center;
  min-height: var(--tap-min);
  color: var(--color-anthracite);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.main-nav__link:hover { color: var(--color-green); }
.main-nav__link[aria-current="page"] { color: var(--color-green); border-bottom-color: var(--color-wood); }

.js .nav-toggle { display: inline-flex; }
.js .main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: var(--space-xs) var(--space-s) var(--space-m);
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}
.js .main-nav.is-open { display: block; }
.js .main-nav__list { flex-direction: column; }
.js .main-nav__link { min-height: 52px; border-bottom: 1px solid var(--color-line); font-size: var(--step-1); font-family: var(--font-display); }
.js .main-nav__link[aria-current="page"] { border-bottom-color: var(--color-line); }

@media (min-width: 1240px) {
  .site-header__inner { flex-wrap: nowrap; }
  .js .nav-toggle { display: none; }
  .main-nav,
  .js .main-nav {
    display: block;
    position: static;
    width: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .main-nav__list,
  .js .main-nav__list { flex-direction: row; gap: 1.25rem; }
  .main-nav__link,
  .js .main-nav__link { min-height: 4.5rem; font-family: var(--font-body); font-size: 0.975rem; border-bottom: 2px solid transparent; }
  .js .main-nav__link[aria-current="page"] { border-bottom-color: var(--color-wood); }
}

.quickbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--color-anthracite);
  border-top: 2px solid var(--color-wood);
}
.quickbar__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.quickbar__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: var(--quickbar-height);
  color: var(--color-cream);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}
.quickbar__link:hover { color: var(--color-wood-light); }
.quickbar__link svg { width: 22px; height: 22px; }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .quickbar { display: none; }
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  color: var(--color-on-dark);
  background: var(--color-anthracite);
}
.hero { min-height: min(88svh, 860px); }
.page-hero { min-height: min(62svh, 560px); }
.hero__content,
.page-hero__content { padding-block: 7rem var(--space-l); }
.hero__title { font-size: var(--step-4); max-width: 14ch; margin-bottom: var(--space-m); }
.hero__lead,
.page-hero__lead {
  max-width: 38rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--color-on-dark-muted);
}
.hero .btn-group,
.page-hero .btn-group { margin-top: var(--space-m); }
.page-hero h1 { max-width: 18ch; }

.page-hero--plain {
  min-height: 0;
  background-color: var(--color-cream-deep);
  background-image: var(--pattern-raute);
  color: var(--color-text);
}
.page-hero--plain .page-hero__content { padding-block: var(--space-xl) var(--space-l); }
.page-hero--plain .page-hero__lead { color: var(--color-text-muted); }
.page-hero--dark {
  background-color: var(--color-anthracite);
  background-image: var(--pattern-raute);
  color: var(--color-on-dark);
}
.page-hero--dark h1 { color: var(--color-on-dark); }
.page-hero--dark .page-hero__lead { color: var(--color-on-dark-muted); }
.page-hero--plain h1 { hyphens: auto; }

.badge-247 {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-s);
  padding: 0.35em 0.9em;
  border: 1px solid var(--color-wood-light);
  border-radius: var(--radius-s);
  color: var(--color-on-dark);
  font-weight: 600;
}
.badge-247 span { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--color-wood-light); }

.facts { background: var(--color-paper); border-bottom: 1px solid var(--color-line); }
.facts__grid { display: grid; }
.fact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-m) 0;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
}
.fact:last-child { border-bottom: 0; }
.fact:hover .fact__value { color: var(--color-green); }
.fact__label { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-green); }
.fact__value { font-family: var(--font-display); font-size: var(--step-1); }
@media (min-width: 768px) {
  .facts__grid { grid-template-columns: repeat(3, 1fr); }
  .fact { padding: var(--space-m); border-bottom: 0; border-left: 1px solid var(--color-line); }
  .fact:first-child { border-left: 0; padding-left: 0; }
}

.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.area-card .ph { border-radius: 0; }
.area-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-m); }
.area-card__body p { color: var(--color-text-muted); }
.area-card__title a { color: var(--color-anthracite); text-decoration: none; }
.area-card__title a::after { content: ""; position: absolute; inset: 0; }
.area-card__more { margin-top: auto; padding-top: var(--space-s); font-weight: 600; color: var(--color-green); }
.area-card__more::after { content: " →"; }
@media (min-width: 768px) and (max-width: 959px) {
  .grid-3:has(> .area-card) { grid-template-columns: 1fr; }
  .area-card { flex-direction: row; }
  .area-card .ph { flex: 0 0 45%; }
  .area-card__body { justify-content: center; }
}

.tile {
  padding: var(--space-m);
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
}
.tile .ph { margin: calc(var(--space-m) * -1) calc(var(--space-m) * -1) var(--space-m); border-radius: var(--radius-m) var(--radius-m) 0 0; }
.section--dark .tile { background: rgba(244, 240, 229, 0.05); border-color: rgba(205, 181, 144, 0.35); }
@media (min-width: 768px) {
  .grid-3--sortiment { grid-template-columns: repeat(3, 1fr); }
}

.timeline {
  --marker: 2.5rem;
  --marker-gap: 0.75rem;
  --timeline-line: rgba(205, 181, 144, 0.4);
  display: grid;
  gap: var(--space-l);
  max-width: 34rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.timeline__step { position: relative; padding-left: calc(var(--marker) + var(--space-m)); }
.timeline__step h3 { margin: 0.35rem 0 var(--space-xs); }
.timeline__step p { margin: 0; }
.timeline__marker {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: var(--marker);
  height: var(--marker);
  border: 1px solid var(--color-wood);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-anthracite);
}
.timeline__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--marker) + var(--marker-gap));
  bottom: calc(var(--space-l) * -1 + var(--marker-gap));
  left: calc(var(--marker) / 2);
  width: 1px;
  background: var(--color-line);
}
.section--dark .timeline__marker { border-color: var(--color-wood-light); color: var(--color-wood-light); }
.section--dark .timeline__step:not(:last-child)::after { background: var(--timeline-line); }

@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .timeline__step { padding: calc(var(--marker) + var(--space-s)) var(--space-xs) 0; text-align: center; }
  .timeline__marker { left: 50%; transform: translateX(-50%); }
  .timeline__step:not(:last-child)::after {
    top: calc(var(--marker) / 2);
    bottom: auto;
    left: calc(50% + var(--marker) / 2 + var(--marker-gap));
    width: calc(100% + var(--space-l) - var(--marker) - 2 * var(--marker-gap));
    height: 1px;
  }
}

.history {
  --dot: 0.9rem;
  --dot-top: calc(var(--step-3) / 2 - var(--dot) / 2);
  --history-line: rgba(205, 181, 144, 0.45);
  display: grid;
  gap: var(--space-l);
  max-width: 40rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.history__item { position: relative; padding-left: calc(var(--dot) + var(--space-m)); }
.history__item::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: var(--dot-top);
  left: 0;
  width: var(--dot);
  height: var(--dot);
  border: 2px solid var(--color-wood-light);
  border-radius: 50%;
  background: var(--color-anthracite);
}
.history__item::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: calc(var(--space-l) * -1);
  left: calc(var(--dot) / 2 - 0.5px);
  width: 1px;
  background: var(--history-line);
}
.history__item:first-child::after { top: var(--dot-top); }
.history__item:last-child::after { bottom: auto; height: var(--dot-top); }

.history .history__year {
  margin: 0 0 var(--space-xs);
  font-size: var(--step-3);
  line-height: 1;
  font-variant-numeric: lining-nums;
  letter-spacing: 0.01em;
  color: var(--color-wood-light);
}
.history__item p { margin: 0; }

.history__item--today { --dot-top: calc(var(--space-m) + var(--step-3) / 2 - var(--dot) / 2); }
.history__item--today::before { background: var(--color-wood-light); }
.history__panel {
  padding: var(--space-m);
  border: 1px solid var(--history-line);
  border-radius: var(--radius-m);
  background: rgba(244, 240, 229, 0.06);
}
.history .history__item--today .history__year { color: var(--color-on-dark); }
.history__now {
  margin-left: 0.35em;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  color: var(--color-wood-light);
}
.section--dark .history__title {
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--color-on-dark);
}

@media (min-width: 960px) {
  .history {
    --dot-top: 0px;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.45fr);
    gap: var(--space-m);
    max-width: none;
  }
  .history__item--today .history__year { white-space: nowrap; }
  .history__item,
  .history__item--today { --dot-top: 0px; padding: calc(var(--dot) + var(--space-m)) 0 0; }
  .history__item::after {
    top: calc(var(--dot) / 2 - 0.5px);
    bottom: auto;
    left: 0;
    right: calc(var(--space-m) * -1);
    width: auto;
    height: 1px;
  }
  .history__item:first-child::after { top: calc(var(--dot) / 2 - 0.5px); left: calc(var(--dot) / 2); }
  .history__item:last-child::after { display: none; }
  .history__panel { margin-top: calc(var(--space-m) * -1); padding: var(--space-m) var(--space-m) var(--space-m); }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xs);
}
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--color-cream);
}
.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.03); }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-s); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery__item:hover img { transform: none; }
}

.section-logo { width: 218px; height: auto; margin-bottom: var(--space-m); }
@media (min-width: 960px) { .section-logo { width: 282px; } }
.section-logo--bauernladen { width: 224px; }
@media (min-width: 960px) { .section-logo--bauernladen { width: 290px; } }

.contact-value { font-family: var(--font-display); font-size: var(--step-1); }
.contact-list { margin: 0; }
.contact-list__group + .contact-list__group { margin-top: var(--space-s); }
.contact-list dt { font-size: 1rem; line-height: 1.4; color: var(--color-text-muted); }
.contact-list dd { margin: 0.15rem 0 0; line-height: 1.35; }

.lunch-week { font-family: var(--font-display); font-size: var(--step-1); color: var(--color-anthracite); }
.lunch-note {
  display: inline-block;
  margin-top: var(--space-s);
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-green);
}
.page-hero--dark .lunch-week { color: var(--color-on-dark); }
.page-hero--dark .lunch-note { border-color: rgba(205, 181, 144, 0.45); color: var(--color-wood-light); }
.lunch { padding-top: var(--space-l); }
.lunch__grid { display: grid; gap: var(--space-l); }
.lunch__location { min-width: 0; }
.lunch__head { padding-bottom: var(--space-s); margin-bottom: var(--space-m); border-bottom: 2px solid var(--color-green); }
.lunch__head .eyebrow { margin-bottom: 0.15rem; }
.lunch__name { margin: 0 0 var(--space-xs); font-size: var(--step-3); line-height: 1.1; }
.lunch__address { margin: 0; color: var(--color-text-muted); }
.lunch__sample { margin: var(--space-xs) 0 0; }
.lunch__days { display: grid; gap: var(--space-s); margin: 0; padding: 0; list-style: none; }
.lunch-day {
  padding: var(--space-s);
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
}
.lunch-day__date {
  margin: 0 0 0.3rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green);
}
.lunch-day__main { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-s); }
.lunch-day__dish { flex: 1 1 auto; min-width: 0; margin: 0; font-size: var(--step-1); line-height: 1.3; }
.lunch-day__price { margin: 0; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; white-space: nowrap; }
.lunch-day__desc { margin: 0.35rem 0 0; color: var(--color-text-muted); }
.lunch-day__item + .lunch-day__item { margin-top: var(--space-xs); padding-top: var(--space-xs); border-top: 1px solid var(--color-line); }
.lunch__empty {
  margin: 0;
  padding: var(--space-m);
  background: var(--color-paper);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-m);
  color: var(--color-text-muted);
}
@media (min-width: 768px) {
  .lunch__grid { grid-template-columns: 1fr 1fr; gap: var(--space-l) var(--space-xl); }
}
@media (min-width: 960px) {
  .lunch-day { padding: var(--space-s) var(--space-m); }
}
@media (min-width: 768px) and (max-width: 959px) {
  .lunch__grid { gap: var(--space-l) var(--space-m); }
}

.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; margin-bottom: var(--space-xs); }
.hours th,
.hours td { padding: 0.65rem 0; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.hours th { font-weight: 600; padding-right: var(--space-s); }
.hours-grid { display: grid; gap: var(--space-l); }
@media (min-width: 960px) { .hours-grid { grid-template-columns: 1fr 1fr; } }

.band {
  background-color: var(--color-green);
  background-image: var(--pattern-raute);
  color: var(--color-cream);
  padding-block: var(--space-xl);
}
.band__inner { display: grid; gap: var(--space-m); align-items: center; }
.band h2 { color: var(--color-cream); margin-bottom: var(--space-xs); }
.band p { color: var(--color-cream); }
@media (min-width: 960px) { .band__inner { grid-template-columns: 1.4fr 1fr; } .band .btn-group { justify-content: flex-end; } }

.map-embed {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  background-color: var(--color-paper);
  background-image: var(--pattern-raute);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 960px) { .map-embed { aspect-ratio: 16 / 11; } }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; }
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  max-width: 26rem;
  padding: var(--space-m) var(--space-s);
  text-align: center;
}
.map-consent__pin { width: 2.5rem; height: 2.5rem; color: var(--color-green); }
.map-consent__title { margin: 0; font-family: var(--font-display); font-size: var(--step-1); }
.map-consent__address { margin: 0; color: var(--color-text-muted); }
.map-consent__button { margin-top: var(--space-xs); }
.map-consent__note { margin: var(--space-xs) 0 0; font-size: var(--step--1); color: var(--color-text-muted); }
.no-js .map-consent__button { display: none; }

.site-footer {
  background-color: var(--color-anthracite);
  background-image: var(--pattern-raute);
  color: var(--color-on-dark-muted);
  border-top: 4px solid var(--color-wood);
}
.site-footer a { color: var(--color-on-dark); }
.site-footer a:hover { color: var(--color-wood-light); }
.site-footer__grid { display: grid; gap: var(--space-l); padding-block: var(--space-xl) var(--space-l); }
.site-footer__brand .brand__name { color: var(--color-on-dark); }
.site-footer__brand .brand__sub { color: var(--color-wood-light); }
.site-footer h2 {
  margin-bottom: var(--space-s);
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-wood-light);
}
.footer-list li a { display: inline-flex; align-items: center; min-height: var(--tap-min); text-decoration: none; }
.footer-list li a:hover { text-decoration: underline; }
.site-footer .footer-areas { margin-bottom: var(--space-s); line-height: 1.75; }
.footer-contact__name { color: var(--color-on-dark); font-weight: 600; }
.site-footer a[href^="mailto:"],
.site-footer a[href^="tel:"],
.contact-value a[href^="mailto:"],
a[href^="tel:"] { white-space: nowrap; }
.footer-social { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: var(--tap-min); }
.footer-social svg { width: 20px; height: 20px; flex: none; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-m);
  align-items: center;
  padding-block: var(--space-m);
  border-top: 1px solid rgba(205, 181, 144, 0.3);
  font-size: var(--step--1);
}
.site-footer__bottom a { display: inline-flex; align-items: center; min-height: var(--tap-min); }
.site-footer__credit {
  margin-block: 0;
  padding-bottom: var(--space-s);
  font-size: var(--step--1);
  color: var(--color-on-dark-muted);
}
.site-footer__credit a { display: inline-flex; align-items: center; min-height: var(--tap-min); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.legal h2 { font-size: var(--step-1); margin-top: var(--space-l); }
.legal h2:first-of-type { margin-top: 0; }
.legal-credit {
  margin-top: var(--space-xl);
  padding-top: var(--space-l);
  border-top: 1px solid var(--color-wood);
}
.legal .legal-credit h2 { margin-top: 0; }
.legal-draft {
  margin-bottom: var(--space-l);
  padding: var(--space-m);
  border: 3px dashed var(--color-missing);
  border-radius: var(--radius-m);
  background: var(--color-missing-bg);
  color: var(--color-anthracite);
}
.legal-draft strong { color: var(--color-missing); }

.page-list { margin-bottom: var(--space-l); }
.page-list a { display: inline-flex; align-items: center; min-height: var(--tap-min); }

:focus-visible { outline: 3px solid var(--color-wood); outline-offset: 3px; }
.band :focus-visible,
.section--dark :focus-visible,
.hero :focus-visible,
.page-hero:not(.page-hero--plain) :focus-visible,
.site-footer :focus-visible,
.quickbar :focus-visible { outline-color: var(--color-cream); }

.skip-link {
  position: absolute;
  left: var(--space-s);
  top: -100px;
  z-index: 100;
  min-height: var(--tap-min);
  padding: 0.6rem var(--space-s);
  background: var(--color-anthracite);
  color: var(--color-cream);
}
.skip-link:focus { top: var(--space-s); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.missing {
  color: var(--color-missing);
  background: var(--color-missing-bg);
  font-family: var(--font-body);
  font-size: 0.9em;
  font-weight: 700;
  padding: 0 0.3em;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.dev-banner {
  padding: 0.4rem var(--space-s);
  background: var(--color-missing-bg);
  color: var(--color-anthracite);
  font-size: var(--step--1);
  text-align: center;
  border-bottom: 1px solid #E8D48A;
}
.dev-note {
  margin-top: var(--space-m);
  padding: var(--space-s) var(--space-m);
  border: 2px dashed var(--color-missing);
  border-radius: var(--radius-m);
  background: var(--color-missing-bg);
  color: var(--color-anthracite);
  font-size: var(--step--1);
}
.dev-note strong { color: var(--color-missing); }
.section--dark .dev-note p { color: var(--color-anthracite); }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .area-card:hover { transform: none; }
}
