/* ==========================================================================
   Eierschecke – Kuchenspezialität aus Sachsen
   Designsystem: warme Kaffeehauskultur, editorial, ruhig, handgemacht.
   ========================================================================== */

:root {
  --cream: #f6efe3;
  --cream-deep: #efe3d1;
  --paper: #fcf8f1;
  --paper-2: #f2e7d6;
  --ink: #2a1c16;
  --ink-soft: #5f4b41;
  --ink-muted: #8a7468;
  --petrol: #14534f;
  --petrol-deep: #0d3c39;
  --petrol-soft: #2b716a;
  --butter: #e7b45b;
  --butter-deep: #bd8127;
  --blush: #e8c9b9;
  --line: rgba(42, 28, 22, 0.14);
  --line-strong: rgba(42, 28, 22, 0.26);
  --line-light: rgba(252, 248, 241, 0.2);
  --shadow-sm: 0 12px 30px -18px rgba(42, 28, 22, 0.35);
  --shadow: 0 32px 70px -36px rgba(42, 28, 22, 0.42);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --max: 1240px;
  --gutter: clamp(20px, 4.5vw, 60px);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

img,
picture,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-optical-sizing: auto;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--butter-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--paper);
  font-size: 0.9rem;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(68px, 9vw, 132px) var(--gutter);
}

.section--paper {
  background: var(--paper);
}

.section--petrol {
  background: var(--petrol);
  color: var(--cream);
}

.section--petrol h2,
.section--petrol h3 {
  color: var(--cream);
}

.section--tight {
  padding-top: clamp(40px, 5vw, 70px);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__foot {
  margin-top: clamp(24px, 3vw, 38px);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: clamp(36px, 5vw, 66px);
}

.section__head > div {
  flex: 1 1 auto;
}

.section__title {
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  line-height: 0.98;
  margin-top: 0;
}
.section__intro {
  flex: 0 1 44ch;
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.lead {
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--petrol);
  border-color: var(--petrol);
}

.text-link:hover span {
  transform: translateX(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0.85rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn span {
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover span {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--petrol);
  color: var(--paper);
  box-shadow: 0 12px 26px -18px rgba(20, 83, 79, 0.8);
}

.btn--primary:hover {
  background: var(--petrol-deep);
  box-shadow: 0 18px 32px -18px rgba(20, 83, 79, 0.8);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--paper);
  border-color: var(--petrol);
  color: var(--petrol);
}

.btn--light {
  background: var(--paper);
  color: var(--petrol-deep);
}

.btn--light:hover {
  background: var(--butter);
  color: var(--ink);
}

.btn--full {
  width: 100%;
}

.btn--small {
  min-height: 42px;
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 239, 227, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(246, 239, 227, 0.97);
  border-color: var(--line);
  box-shadow: 0 12px 30px -24px rgba(42, 28, 22, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 13px var(--gutter);
}

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

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.04);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand__sub {
  margin-top: 5px;
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 7px 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--butter);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__foot {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__lines {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.nav-toggle__lines span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease),
    background 0.3s var(--ease);
}

.nav-toggle__lines span:first-child {
  top: 2px;
}

.nav-toggle__lines span:last-child {
  top: 9px;
}

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(252, 248, 241, 0.4);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines span {
  background: var(--paper);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:first-child {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:last-child {
  top: 6px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--petrol-deep);
  color: var(--cream);
  padding: clamp(52px, 7vw, 92px) var(--gutter) 26px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.9fr;
  gap: clamp(28px, 4vw, 60px);
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand__name {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.4vw, 3.1rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--paper);
}

.footer-brand p {
  max-width: 36ch;
  margin: 18px 0 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(252, 248, 241, 0.72);
}

.footer-mail {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--butter);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 180, 91, 0.45);
  padding-bottom: 3px;
}

.footer-mail:hover {
  border-color: var(--butter);
}

.footer-col h3 {
  margin: 4px 0 16px;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--butter);
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: rgba(252, 248, 241, 0.8);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--paper);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 46px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 0.74rem;
  letter-spacing: 0.01em;
  color: rgba(252, 248, 241, 0.6);
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 84px) var(--gutter) clamp(64px, 8vw, 112px);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  margin: 0.3em 0 0.22em;
  font-size: clamp(3.6rem, 7.4vw, 7.5rem);
  line-height: 0.82;
  letter-spacing: -0.055em;
}

.hero__the {
  display: block;
  margin-left: 0.08em;
  font-size: 0.26em;
  font-style: italic;
  font-weight: 460;
  letter-spacing: 0.01em;
  color: var(--butter-deep);
}

.hero__word {
  display: block;
}

.hero__claim {
  max-width: 26ch;
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.25;
  color: var(--ink);
}

.hero__claim em {
  font-style: italic;
  color: var(--petrol);
}

.hero__lead {
  max-width: 46ch;
  margin-bottom: 1.9rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
  margin: 2.5rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.hero__meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__meta dt {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__meta dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero__media {
  position: relative;
  z-index: 1;
  padding: 0 16px 16px 0;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 22px -6px -8px 28px;
  border: 1px solid rgba(20, 83, 79, 0.42);
  border-radius: 280px 280px 26px 26px;
  z-index: 0;
}

.hero__image {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 280px 280px 26px 26px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero__card {
  position: absolute;
  left: -18px;
  bottom: 44px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 19px;
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 22px 46px -24px rgba(42, 28, 22, 0.5);
}

.hero__card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero__card small {
  display: block;
  margin-top: 3px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 36px;
}

.layer-stack i {
  display: block;
  height: 8px;
  border-radius: 3px;
}

.layer-stack i:nth-child(1) {
  background: var(--butter);
}

.layer-stack i:nth-child(2) {
  background: #f0dfc2;
}

.layer-stack i:nth-child(3) {
  background: #b97c46;
}

.hero__seal {
  position: absolute;
  top: 12px;
  right: -22px;
  z-index: 4;
  width: clamp(96px, 10vw, 126px);
  height: clamp(96px, 10vw, 126px);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.hero__seal svg {
  width: 100%;
  height: 100%;
  animation: seal-spin 40s linear infinite;
}

.hero__seal text {
  font-family: var(--sans);
  font-size: 9.1px;
  font-weight: 600;
  letter-spacing: 0.13em;
  fill: var(--petrol);
}

@keyframes seal-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  padding: 13px 0;
  background: var(--petrol);
  color: var(--cream);
  border-top: 1px solid var(--petrol-deep);
  border-bottom: 1px solid var(--petrol-deep);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}

.ticker__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.ticker__group span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ticker__group span::after {
  content: "✦";
  font-family: var(--sans);
  font-size: 0.66rem;
  font-style: normal;
  color: var(--butter);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: start;
}

.intro__quote blockquote {
  position: relative;
  margin: 0;
  padding-top: 0.35em;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.1vw, 3.05rem);
  font-weight: 480;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.intro__quote blockquote::before {
  content: "„";
  display: block;
  height: 0.52em;
  font-size: 2.6em;
  line-height: 1;
  color: var(--butter);
}

.intro__source {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.intro__source::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

.intro__body {
  padding-top: 0.2em;
  color: var(--ink-soft);
}

.intro__body p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--serif);
  font-size: 4.9rem;
  font-weight: 560;
  line-height: 0.76;
  color: var(--petrol);
}

.intro__body p {
  font-size: 1.03rem;
}

.signature {
  margin: 28px 0 22px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--petrol);
}

/* --------------------------------------------------------------------------
   Layer explorer
   -------------------------------------------------------------------------- */

.layers {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.layers__visual {
  position: relative;
  padding: clamp(22px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.6), transparent 34%),
    var(--paper-2);
  box-shadow: inset 0 0 0 1px rgba(42, 28, 22, 0.06);
}

.layers__visual::after {
  content: "von oben nach unten";
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.layer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 clamp(18px, 3vw, 28px);
  border: 0;
  border-radius: 13px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.layer + .layer {
  margin-top: 7px;
}

.layer--top {
  height: clamp(118px, 15vw, 158px);
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.42), transparent 40%),
    linear-gradient(135deg, #ecc069, #d2943a);
  color: var(--ink);
  border-radius: 22px 22px 12px 12px;
}

.layer--middle {
  height: clamp(82px, 10vw, 112px);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 45%),
    #f1dfc0;
  color: var(--ink);
}

.layer--bottom {
  height: clamp(56px, 7vw, 76px);
  background: linear-gradient(135deg, #c28a52, #a96d3b);
  color: var(--paper);
  border-radius: 12px 12px 22px 22px;
}

.layer.is-active {
  transform: translateX(7px) scale(1.012);
  filter: saturate(1.06);
  box-shadow: 0 20px 34px -22px rgba(42, 28, 22, 0.55);
}

.layer__label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 560;
  line-height: 1;
}

.layer__label small {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.66;
}

.layer__hint {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

.layer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.layer-tab {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.layer-tab:hover {
  border-color: var(--petrol);
  color: var(--petrol);
}

.layer-tab[aria-selected="true"] {
  background: var(--petrol);
  border-color: var(--petrol);
  color: var(--paper);
}

.layer-panel {
  display: block;
}

.js .layer-panel {
  display: none;
}

.js .layer-panel.is-active {
  display: block;
  animation: fade-up 0.45s var(--ease) both;
}

.layer-panel__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--butter-deep);
}

.layer-panel h3 {
  margin-bottom: 0.35em;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
}

.layer-panel p {
  max-width: 52ch;
  color: var(--ink-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chips span {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-muted);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Recipe cards
   -------------------------------------------------------------------------- */

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

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

.recipe-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.recipe-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.recipe-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.recipe-card:hover .recipe-card__media img {
  transform: scale(1.055);
}

.recipe-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(252, 248, 241, 0.94);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--petrol);
  backdrop-filter: blur(6px);
}

.recipe-card__body {
  padding: 18px 4px 0;
}

.recipe-card__title {
  margin-bottom: 0.32em;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  transition: color 0.25s var(--ease);
}

.recipe-card:hover .recipe-card__title {
  color: var(--petrol);
}

.recipe-card__text {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.recipe-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.recipe-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.recipe-card__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--butter);
}

/* --------------------------------------------------------------------------
   Tour teaser
   -------------------------------------------------------------------------- */

.tour {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(480px, 58vw, 620px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--petrol-deep);
  isolation: isolate;
}

.tour > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.4s var(--ease);
}

.tour:hover > img {
  transform: scale(1.03);
}

.tour::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(13, 60, 57, 0.94) 0%,
    rgba(13, 60, 57, 0.78) 42%,
    rgba(13, 60, 57, 0.12) 100%
  );
}

.tour__content {
  width: min(580px, 100%);
  padding: clamp(30px, 5vw, 64px);
  color: var(--cream);
}

.tour__content .section__title {
  margin-bottom: 0.35em;
  color: var(--paper);
}

.tour__content > p {
  color: rgba(252, 248, 241, 0.8);
}

.tour__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 26px 0 30px;
  list-style: none;
}

.tour__list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line-light);
}

.tour__list li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.tour__list .num {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--butter);
}

.tour__list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 520;
  line-height: 1.2;
}

.tour__list small {
  display: block;
  margin-top: 2px;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(252, 248, 241, 0.58);
}

/* --------------------------------------------------------------------------
   Saxon words
   -------------------------------------------------------------------------- */

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

.word {
  position: relative;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease);
}

.word::after {
  content: "„";
  position: absolute;
  right: 12px;
  bottom: -28px;
  font-family: var(--serif);
  font-size: 8rem;
  line-height: 1;
  color: var(--butter);
  opacity: 0.22;
}

.word:hover {
  transform: translateY(-5px) rotate(-0.6deg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.word__saxon {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 540;
  line-height: 1;
  color: var(--petrol);
}

.word__german {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Gallery strip
   -------------------------------------------------------------------------- */

.gallery-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  margin: 0 -4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--butter) transparent;
}

.gallery-strip__item {
  position: relative;
  flex: 0 0 clamp(230px, 26vw, 330px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
  scroll-snap-align: start;
}

.gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-strip__item:hover img {
  transform: scale(1.05);
}

.gallery-strip__item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(13, 60, 57, 0.82));
}

/* --------------------------------------------------------------------------
   About teaser
   -------------------------------------------------------------------------- */

.about-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
}

.about-teaser__media {
  position: relative;
}

.about-teaser__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-teaser__media::after {
  content: "Mit Liebe gebacken";
  position: absolute;
  right: -14px;
  bottom: 28px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--butter);
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink);
  transform: rotate(-3deg);
  box-shadow: var(--shadow-sm);
}

.about-teaser__body h2 {
  margin: 0.2em 0 0.4em;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
}

.about-teaser__body p {
  max-width: 54ch;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Simple call-to-action band
   -------------------------------------------------------------------------- */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 4vw, 50px);
  border-radius: var(--radius-lg);
  background: var(--petrol);
  color: var(--cream);
}

.cta-band h2 {
  margin-bottom: 0.25em;
  color: var(--paper);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.cta-band p {
  max-width: 52ch;
  margin-bottom: 0;
  color: rgba(252, 248, 241, 0.78);
}

/* --------------------------------------------------------------------------
   Page hero (Unterseiten)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: clamp(46px, 7vw, 96px) var(--gutter) clamp(34px, 5vw, 58px);
}

.page-hero--paper {
  background: var(--paper);
}

.page-hero--small {
  padding-bottom: clamp(10px, 2vw, 24px);
}

.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 16ch;
  margin: 0 0 0.22em;
  font-size: clamp(2.9rem, 7vw, 6.4rem);
  line-height: 0.9;
}

.page-hero__lead {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.62;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Editorial split
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
}

.split--top {
  align-items: start;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.split__media--portrait img {
  aspect-ratio: 4 / 5;
}

.split__media--arch img {
  aspect-ratio: 4 / 5;
  border-radius: 240px 240px 22px 22px;
}

.split__caption {
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.prose {
  max-width: 66ch;
  color: var(--ink-soft);
}

.prose h2 {
  margin: 1.6em 0 0.5em;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
}

.prose h3 {
  margin: 1.4em 0 0.4em;
  color: var(--ink);
  font-size: 1.4rem;
}

.prose p {
  font-size: 1.02rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em 1.1em;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.45em;
}

.prose strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Accordion, table and checklist
   -------------------------------------------------------------------------- */

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 520;
  line-height: 1.25;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--butter-deep);
  transition: transform 0.25s var(--ease);
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
}

.accordion__body {
  max-width: 68ch;
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.accordion__body p {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table th {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--paper-2);
}

.table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.checklist {
  display: grid;
  gap: 0;
}

.checklist .ingredient {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.quote-block {
  max-width: 54ch;
}

.quote-block > p:first-child {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 480;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.quote-block .intro__source {
  color: var(--butter);
}

.quote-block .intro__source::before {
  background: rgba(231, 180, 91, 0.5);
}

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 89px;
  width: 1px;
  background: var(--line);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(22px, 4vw, 46px);
  padding: 0 0 34px;
}

.timeline__year {
  padding-top: 2px;
  padding-right: 18px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--butter-deep);
  text-align: right;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 82px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--petrol);
  box-shadow: 0 0 0 1px var(--petrol);
}

.timeline__body {
  padding-left: 22px;
}

.timeline__body h3 {
  margin-bottom: 0.25em;
  font-size: 1.35rem;
}

.timeline__body p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Info cards / variants
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  display: block;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.info-card__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--butter-deep);
}

.info-card h3 {
  margin-bottom: 0.35em;
  font-size: 1.4rem;
}

.info-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Recipe page
   -------------------------------------------------------------------------- */

.recipe-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.recipe-hero h1 {
  max-width: 14ch;
}

.recipe-hero__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.recipe-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.recipe-meta li {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  line-height: 1.2;
  color: var(--ink-soft);
}

.recipe-meta strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.recipe-layout {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 5vw, 74px);
}

.recipe-sidebar {
  position: sticky;
  top: 96px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.recipe-sidebar__head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.recipe-sidebar__head h2 {
  font-size: 2rem;
}

.recipe-sidebar__head p {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.ingredient-group {
  padding: 18px 0 8px;
  border-bottom: 1px solid var(--line);
}

.ingredient-group h3 {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--petrol);
}

.ingredient {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 6px 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
  cursor: pointer;
}

.ingredient input {
  position: relative;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  border: 1.5px solid var(--ink-muted);
  border-radius: 5px;
  background: transparent;
  appearance: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.ingredient input:checked {
  background: var(--petrol);
  border-color: var(--petrol);
}

.ingredient input:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
  color: var(--paper);
}

.ingredient input:checked + span {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.recipe-sidebar .btn {
  margin-top: 22px;
}

.recipe-sidebar__note {
  margin: 14px 0 0;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--ink-muted);
  text-align: center;
}

.recipe-steps h2 {
  margin-bottom: 0.3em;
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
}

.recipe-steps__intro {
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.steps {
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(22px, 3vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}

.step__num {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
  color: var(--butter-deep);
}

.step h3 {
  margin-bottom: 0.35em;
  font-size: 1.35rem;
}

.step p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.step ul {
  margin: 0.6em 0 0 1.1em;
  color: var(--ink-soft);
}

.tip-box {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--butter);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper-2);
}

.tip-box h3 {
  margin-bottom: 0.3em;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--butter-deep);
}

.tip-box p,
.tip-box li {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.tip-box ul {
  margin: 0 0 0 1.1em;
}

.tip-box li {
  margin-bottom: 0.4em;
}

.recipe-source {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.recipe-source a {
  color: var(--petrol);
}

.recipe-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.recipe-next span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.recipe-next a {
  font-family: var(--serif);
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--petrol);
}

/* --------------------------------------------------------------------------
   Filter chips
   -------------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
}

.filter-bar__label {
  margin-right: 6px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.filter {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.filter:hover {
  border-color: var(--petrol);
  color: var(--petrol);
}

.filter.is-active {
  background: var(--petrol);
  border-color: var(--petrol);
  color: var(--paper);
}

.recipe-card.is-hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   Tour page
   -------------------------------------------------------------------------- */

.route {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
}

.route::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 30px;
  left: 27px;
  width: 1px;
  background: var(--line);
}

.station {
  position: relative;
  padding: 0 0 clamp(30px, 4vw, 48px) clamp(64px, 8vw, 96px);
}

.station__dot {
  position: absolute;
  top: 0;
  left: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--petrol);
  font-family: var(--serif);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--paper);
}

.station__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.station__card--text {
  grid-template-columns: 1fr;
}

.station__card h2 {
  margin: 0 0 0.35em;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.station__card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.station__address {
  margin: 14px 0 18px;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.6;
  color: var(--ink-muted);
}

.station__address strong {
  color: var(--ink);
}

.station__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.station__media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.station__link {
  font-size: 0.82rem;
}

.tour-note {
  max-width: 760px;
  margin: 36px auto 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--paper-2);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Language page
   -------------------------------------------------------------------------- */

.vocab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.vocab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}

.vocab dt {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 540;
  line-height: 1.15;
  color: var(--petrol);
}

.vocab dd {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--ink-muted);
  text-align: right;
}

.phrase-box {
  margin-top: 38px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--petrol);
  color: var(--cream);
}

.phrase-box h2 {
  margin-bottom: 0.5em;
  color: var(--paper);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.dialogue {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.dialogue p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
}

.dialogue strong {
  color: var(--butter);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 520;
}

.dialogue small {
  display: block;
  margin-top: 1px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: rgba(252, 248, 241, 0.55);
}

.quiz {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.quiz h2 {
  margin-bottom: 0.3em;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.quiz__question {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.quiz__question:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.quiz__question p {
  margin-bottom: 10px;
  font-weight: 600;
}

.quiz__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quiz__option {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.82rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.quiz__option:hover {
  border-color: var(--petrol);
}

.quiz__option.is-correct {
  background: #dcecdf;
  border-color: #3f7a4b;
  color: #245030;
}

.quiz__option.is-wrong {
  background: #f5ded6;
  border-color: #a4513b;
  color: #7b2f1d;
}

.quiz__feedback {
  min-height: 1.4em;
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.gallery-item a {
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 36px 16px 13px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(13, 60, 57, 0.8));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .gallery-item figcaption {
    opacity: 1;
    transform: none;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 54px);
  background: rgba(13, 38, 36, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1100px, 100%);
}

.lightbox__image {
  max-height: 78vh;
  max-width: 100%;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(252, 248, 241, 0.8);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(252, 248, 241, 0.35);
  border-radius: 50%;
  background: rgba(252, 248, 241, 0.08);
  color: var(--paper);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(252, 248, 241, 0.2);
}

.lightbox__close {
  top: 22px;
  right: 22px;
}

.lightbox__nav--prev {
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   Legal / text pages
   -------------------------------------------------------------------------- */

.legal {
  max-width: 780px;
  margin: 0 auto;
  color: var(--ink-soft);
}

.legal h2 {
  margin: 2.2em 0 0.5em;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.legal h2:first-child {
  margin-top: 0;
}

.legal h3 {
  margin: 1.6em 0 0.4em;
  font-size: 1.15rem;
}

.legal p,
.legal li {
  font-size: 0.96rem;
  line-height: 1.7;
}

.legal ul {
  margin: 0 0 1.2em 1.1em;
}

.legal li {
  margin-bottom: 0.35em;
}

.legal address {
  font-style: normal;
}

.legal a {
  color: var(--petrol);
}

.legal-page .section {
  padding-top: clamp(28px, 4vw, 48px);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.notfound {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  padding: clamp(50px, 8vw, 100px) var(--gutter);
  text-align: center;
}

.notfound__inner {
  max-width: 620px;
}

.notfound__code {
  display: block;
  font-family: var(--serif);
  font-size: clamp(6rem, 18vw, 13rem);
  font-style: italic;
  line-height: 0.8;
  color: var(--butter);
}

.notfound h1 {
  margin: 0.2em 0 0.4em;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

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

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal--delay-1 {
  transition-delay: 0.08s;
}

.js .reveal--delay-2 {
  transition-delay: 0.16s;
}

.js .reveal--delay-3 {
  transition-delay: 0.24s;
}

/* --------------------------------------------------------------------------
   Responsive – large tablet
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .nav__list {
    gap: 15px;
  }

  .nav__link {
    font-size: 0.78rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  }

  .hero__title {
    font-size: clamp(3.3rem, 7vw, 6.2rem);
  }

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

  .footer-inner {
    grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr;
  }
}

/* --------------------------------------------------------------------------
   Responsive – tablet / mobile navigation
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 110px var(--gutter) 40px;
    background: var(--petrol-deep);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease),
      transform 0.35s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
  }

  .nav__link {
    padding: 8px 0;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 5.8vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--paper);
  }

  .nav__link::after {
    display: none;
  }

  .nav__link[aria-current="page"] {
    color: var(--butter);
  }

  .nav__foot {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line-light);
  }

  .nav__foot a {
    font-size: 0.85rem;
    color: var(--butter);
    text-decoration: none;
  }

  .nav__foot p {
    margin: 8px 0 0;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(252, 248, 241, 0.5);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-top: 38px;
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__title {
    font-size: clamp(3.6rem, 12vw, 6.8rem);
  }

  .hero__media {
    width: min(560px, 92%);
    margin: 0 auto;
  }

  .hero__seal {
    right: -10px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .intro__quote {
    max-width: 760px;
  }

  .layers {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .layers__visual {
    max-width: 620px;
  }

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

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

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-teaser__media {
    max-width: 520px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split__media {
    max-width: 640px;
  }

  .split--reverse .split__media {
    order: 2;
  }

  .recipe-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .recipe-hero__media {
    max-width: 680px;
  }

  .recipe-layout {
    grid-template-columns: 1fr;
  }

  .recipe-sidebar {
    position: static;
  }

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

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

  .gallery-grid {
    columns: 2;
  }

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

  .station__media {
    max-height: 260px;
  }

  .station__media img {
    height: 260px;
  }

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

  .footer-col:last-child {
    grid-column: 2 / 4;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* --------------------------------------------------------------------------
   Responsive – small tablet / phone
   -------------------------------------------------------------------------- */

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  .header-inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand__name {
    font-size: 1.28rem;
  }

  .brand__sub {
    font-size: 0.47rem;
    letter-spacing: 0.14em;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 58px;
  }

  .hero__title {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .hero__claim {
    font-size: 1.2rem;
  }

  .hero__media {
    width: min(430px, 94%);
    padding-right: 10px;
    padding-bottom: 10px;
  }

  .hero__image {
    aspect-ratio: 1 / 1.08;
    border-radius: 220px 220px 22px 22px;
  }

  .hero__media::before {
    inset: 16px -4px -4px 20px;
    border-radius: 220px 220px 22px 22px;
  }

  .hero__card {
    left: -6px;
    bottom: 22px;
    padding: 12px 14px;
  }

  .hero__card strong {
    font-size: 0.9rem;
  }

  .hero__seal {
    top: 4px;
    right: -6px;
    width: 88px;
    height: 88px;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section__intro {
    max-width: 100%;
    flex-basis: auto;
  }

  .recipe-grid,
  .recipe-grid--four {
    grid-template-columns: 1fr;
  }

  .recipe-card__media {
    aspect-ratio: 16 / 10;
  }

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

  .word {
    min-height: 118px;
  }

  .tour {
    min-height: 540px;
  }

  .tour::after {
    background: linear-gradient(
      180deg,
      rgba(13, 60, 57, 0.35) 0%,
      rgba(13, 60, 57, 0.78) 48%,
      rgba(13, 60, 57, 0.96) 100%
    );
  }

  .tour__content {
    padding: 28px 24px;
  }

  .about-teaser__media::after {
    right: 10px;
    bottom: 14px;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

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

  .timeline::before,
  .timeline__item::before {
    display: none;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-bottom: 28px;
  }

  .timeline__year {
    text-align: left;
  }

  .timeline__body {
    padding-left: 0;
  }

  .station {
    padding-left: 48px;
  }

  .route::before {
    left: 18px;
  }

  .station__dot {
    left: 0;
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }

  .station__card {
    padding: 20px;
  }

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

  .vocab {
    padding: 13px 15px;
  }

  .gallery-grid {
    columns: 1;
  }

  .gallery-item figcaption {
    opacity: 1;
    transform: none;
  }

  .recipe-hero h1 {
    max-width: 100%;
  }

  .recipe-meta li {
    padding: 8px 12px;
    font-size: 0.7rem;
  }

  .recipe-sidebar {
    padding: 20px;
  }

  .step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .step__num {
    font-size: 1.5rem;
  }

  .recipe-next {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cta-band {
    padding: 26px 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox__nav--prev {
    left: calc(50% - 54px);
  }

  .lightbox__nav--next {
    right: calc(50% - 54px);
  }

  .lightbox__image {
    max-height: 68vh;
  }
}

@media (max-width: 420px) {
  .hero__actions .btn {
    width: 100%;
  }

  .hero__meta {
    gap: 18px;
  }

  .hero__meta dd {
    font-size: 1.05rem;
  }

  .layer {
    padding: 0 15px;
  }

  .layer__label {
    font-size: 1.05rem;
  }

  .layer__hint {
    display: none;
  }

  .layer-tabs {
    gap: 6px;
  }

  .layer-tab {
    padding: 7px 11px;
    font-size: 0.7rem;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@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 .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__seal svg,
  .ticker__track {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  @page {
    margin: 16mm;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 10.5pt;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .page-hero__actions,
  .recipe-sidebar .btn,
  .recipe-sidebar__note,
  .recipe-next,
  .filter-bar,
  .lightbox {
    display: none !important;
  }

  .page-hero {
    padding: 0 0 8mm;
  }

  .page-hero h1 {
    font-size: 28pt;
    line-height: 1.05;
  }

  .page-hero__lead {
    font-size: 11pt;
  }

  .section {
    padding: 0;
  }

  .section__inner {
    max-width: none;
  }

  .recipe-hero {
    display: block;
  }

  .recipe-hero__media {
    display: none;
  }

  .recipe-meta {
    margin: 4mm 0;
  }

  .recipe-meta li {
    border-color: #999;
    font-size: 8.5pt;
  }

  .recipe-layout {
    display: block;
  }

  .recipe-sidebar {
    position: static;
    margin-bottom: 6mm;
    padding: 0 0 4mm;
    border: 0;
    border-bottom: 1px solid #999;
    border-radius: 0;
    box-shadow: none;
  }

  .recipe-sidebar__head h2 {
    font-size: 16pt;
  }

  .ingredient-group {
    padding: 2mm 0;
  }

  .ingredient {
    padding: 1mm 0;
    font-size: 9.5pt;
  }

  .ingredient input {
    border-color: #333;
  }

  .recipe-steps h2 {
    font-size: 16pt;
  }

  .step {
    grid-template-columns: 9mm 1fr;
    gap: 3mm;
    padding: 3mm 0;
    break-inside: avoid;
  }

  .step__num {
    font-size: 13pt;
  }

  .step h3 {
    font-size: 11pt;
  }

  .tip-box {
    padding: 3mm 4mm;
    background: #f4f4f4;
    border-left: 2pt solid #999;
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
