:root {
  --paper: #F7F6F0;
  --white: #FFFFFF;
  --ink: #2A2722;
  --accent: #B5531F;
  --display: 'Cormorant Garamond', Georgia, serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
em { font-style: italic; }

/* Header */
.site-header { max-width: 1280px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.site-header--home { flex-direction: column; justify-content: center; padding-top: 40px; }
.logo { text-decoration: none; display: flex; align-items: center; gap: 18px; }
.site-header--home .logo { flex-direction: column; gap: 14px; }
.logo__feeling { display: block; height: 58px; width: auto; }
.site-header--home .logo__feeling { height: 84px; }
.logo__sep { width: 1px; align-self: stretch; background: var(--ink); opacity: .35; }
.site-header--home .logo__sep { display: none; }
.logo__name { font-family: var(--display); font-style: italic; font-size: 34px; line-height: 1; }
.site-header--home .logo__name { font-size: 44px; }
.logo__text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-header--home .logo__text { align-items: center; gap: 6px; }
.logo__tag { font-family: var(--sans); font-weight: 600; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
@media (max-width: 480px) { .logo__tag { font-size: 9px; letter-spacing: .14em; } }
.main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.main-nav a { text-decoration: none; padding: 12px 0; }
.main-nav a[aria-current] { font-weight: 600; }
.main-nav__shop { color: var(--accent) !important; font-weight: 600; }

/* Shared type */
.degree { font-family: var(--display); font-size: 30px; margin-bottom: 16px; }
.page-title { margin: 0 0 24px; font-family: var(--display); font-weight: 300; font-size: clamp(48px, 7vw, 88px); line-height: .95; letter-spacing: -.01em; }
.lead-quote { margin: 0 0 40px; font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; }
.label { margin: 0 0 14px; font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; }
.label--mixed span { font-weight: 300; }
.prose p { margin: 0 0 1.1em; }
.small { font-family: var(--sans); font-weight: 300; font-size: 15px; }
.rulelist { font-family: var(--sans); font-weight: 300; font-size: 14px; max-width: 360px; }
.rulelist ul, ul.rulelist { list-style: none; margin: 0; padding: 0; }
.rulelist li { padding: 8px 0; border-bottom: 1px solid var(--ink); }
.rulelist li:last-child { border-bottom: 0; }
.rulelist__title { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
ul.rulelist--ingredients { font-size: 15px; margin-bottom: 56px; }
.rulelist--ingredients strong { font-weight: 600; }
.rulelist--ingredients .rulelist__group { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-top: 24px; border-bottom-width: 2px; }
.rulelist--ingredients .rulelist__group:first-child { padding-top: 0; }

/* Cover (home) */
.cover { max-width: 1040px; margin: 0 auto; padding: 48px 24px 72px; text-align: center; }
.cover__title { position: relative; z-index: 1; margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(72px, 12vw, 128px); line-height: .85; letter-spacing: -.02em; }
.cover__title em { display: block; }
.cover__sub { display: block; margin: 28px 0 32px; font-family: var(--sans); font-size: 13px; font-weight: 400; line-height: 1.4; letter-spacing: .28em; text-transform: uppercase; }
.cover__image { position: relative; z-index: 1; width: 100%; max-width: 860px; margin: -0.5em auto 0; aspect-ratio: 16 / 10; object-fit: cover; }
.cover__issue { margin-top: 48px; font-family: var(--sans); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; }
.cover__cats { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; font-family: var(--sans); font-size: 13px; }
.cover__cats a { text-decoration: none; padding: 10px 8px; }
.cover__cats a + a::before { content: '.'; margin-right: 12px; }

/* Chapter opener */
.chapter { background: var(--white); display: flex; flex-wrap: wrap; }
.chapter__media { flex: 1 1 520px; min-width: 0; position: relative; min-height: 640px; }
.chapter__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter__box { position: absolute; left: 0; bottom: 0; width: min(440px, 100%); background: var(--accent); color: var(--white); padding: 48px 44px 52px; }
.chapter__box h2 { margin: 0 0 24px; font-family: var(--display); font-weight: 300; font-size: 50px; line-height: 1.02; }
.chapter__box p { margin: 0; font-size: 18px; }
.chapter__text { flex: 1 1 480px; min-width: 0; padding: 72px clamp(24px, 6vw, 88px) 80px; }

/* Card grid */
.grid-section { max-width: 1200px; margin: 0 auto; padding: 88px 24px 112px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 72px 56px; align-items: start; }
@media (min-width: 960px) { .grid > .card:nth-child(3n+2) { margin-top: 96px; } }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.card img, .card__noimage { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #E8E4D9; }
.card__title { margin-top: 14px; font-family: var(--display); font-size: 32px; line-height: 1.05; }
.card__text { font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.55; }
.card__cat { font-family: var(--display); font-size: 22px; }
.more { margin: 72px 0 0; text-align: center; font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.more a { display: inline-block; padding: 12px 0; border-bottom: 1px solid var(--accent); color: var(--accent); text-decoration: none; font-weight: 600; }

/* Recipe list */
.list-head { max-width: 1200px; margin: 0 auto; padding: 56px 24px 0; }
.list-head__lead { max-width: 40em; }
.filters { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 28px; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.filters a { text-decoration: none; padding: 12px 0; }
.filters a[aria-current] { font-weight: 600; border-bottom: 1px solid var(--ink); }
.list-head + .grid-section { padding-top: 56px; }

/* Recipe */
.spread { display: flex; flex-wrap: wrap; background: var(--white); }
.spread__media { flex: 1 1 520px; min-width: 0; position: relative; min-height: 560px; }
.spread__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spread__text { flex: 1 1 520px; min-width: 0; padding: 64px clamp(24px, 6vw, 96px) 72px; }
.crumbs { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 40px; }
.crumbs a { text-decoration: none; }
.recipe-title { margin: 0 0 20px; font-family: var(--display); font-weight: 300; font-size: clamp(48px, 6vw, 76px); line-height: .98; letter-spacing: -.01em; hyphens: auto; }
.recipe-facts span { white-space: nowrap; }
.recipe-facts { margin: 20px 0 0; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.recipe-sub { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.recipe-body { max-width: 1200px; margin: 0 auto; padding: 88px 24px 96px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.recipe-body__side { flex: 1 1 300px; min-width: 0; max-width: 380px; }
.recipe-body__main { flex: 2 1 480px; min-width: 0; }
.steps { list-style: none; margin: 0 0 48px; padding: 0; display: flex; flex-direction: column; gap: 18px; font-weight: 600; }
.steps li { display: flex; gap: 18px; align-items: baseline; }
.steps__n { flex: 0 0 40px; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; }
.tipbox { background: var(--accent); color: var(--white); padding: 40px 44px; }
.tipbox p { margin: 0; }
.tipbox a, .tipbox a:hover { color: var(--white); }
.tipbox a:hover { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tipbox__title { margin: 0 0 14px !important; font-family: var(--display); font-weight: 300; font-size: 36px; line-height: 1.1; }
.shop-link { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid var(--accent); color: var(--accent); text-decoration: none; }
.related { background: var(--white); padding: 88px max(24px, calc((100% - 1152px) / 2)) 104px; }
.related__title { margin: 0 0 48px; font-family: var(--display); font-weight: 300; font-size: 52px; line-height: 1; }

/* Text page */
.textpage { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }

/* Shop */
.shop-teaser { margin: 40px 0 0; }
.rulelist--shop { margin-bottom: 40px; }
.rulelist--shop a { text-decoration: none; display: block; }
.rulelist--shop a::after { content: ' →'; color: var(--accent); }
.prose a { color: var(--accent); }

/* Kupferstiche: Datei als Maske, Farbe über background-color */
.engraving { display: block; background-color: var(--ink); opacity: .82; -webkit-mask: var(--engraving) center / contain no-repeat; mask: var(--engraving) center / contain no-repeat; pointer-events: none; }
.cover, .list-head, .textpage, .chapter__text { position: relative; }
.engraving--cover-left, .engraving--cover-right { position: absolute; z-index: 0; top: 110px; }
.engraving--cover-left { width: 230px; left: -120px; transform: rotate(-12deg); }
.engraving--cover-right { width: 110px; right: -40px; top: 60px; transform: rotate(8deg); }
.engraving--chapter { width: 170px; margin: 48px 0 0 auto; }
.engraving--listhead { position: absolute; right: 24px; top: 24px; width: 200px; }
.engraving--spread { width: 190px; margin: 48px 0 0 auto; }
.engraving--page { width: 150px; margin: 0 0 24px; }
.tipbox { position: relative; overflow: hidden; }
.tipbox > :not(.engraving) { position: relative; }
.engraving--tip { position: absolute; right: -36px; bottom: -40px; width: 200px; background-color: var(--white); opacity: .28; }
@media (min-width: 1240px) {
  .engraving--page { position: absolute; left: calc(100% + 24px); top: 72px; width: 210px; margin: 0; }
}
@media (max-width: 1180px) {
  .engraving--cover-left { left: -40px; width: 170px; }
  .engraving--cover-right { right: 0; width: 80px; }
}
@media (max-width: 860px) {
  .engraving--cover-left, .engraving--cover-right { display: none; }
  .engraving--listhead { position: static; width: 130px; margin: 0 0 16px auto; }
}

/* Cookie-Banner */
.consent { position: fixed; z-index: 50; left: 24px; bottom: 24px; width: min(440px, calc(100% - 48px)); background: var(--white); color: var(--ink); border-top: 4px solid var(--accent); box-shadow: 0 8px 32px rgba(42, 39, 34, .18); padding: 28px 30px 26px; }
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 10px; font-family: var(--display); font-weight: 300; font-size: 30px; line-height: 1.1; }
.consent__text { margin: 0 0 20px; font-family: var(--sans); font-weight: 300; font-size: 14px; line-height: 1.55; }
.consent__text a { color: var(--accent); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.consent__btn { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); cursor: pointer; }
.consent__btn--primary { background: var(--accent); color: var(--white); border: 0; padding: 12px 20px; }
.consent__btn:hover { color: var(--accent); }
.consent__btn--primary:hover { color: var(--white); background: #9a4518; }
.consent__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Footer */
.site-footer { max-width: 1152px; margin: 0 auto; border-top: 1px solid var(--ink); padding: 28px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-family: var(--sans); font-weight: 300; font-size: 13px; letter-spacing: .06em; }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.site-footer__brand img { display: block; height: 30px; width: auto; }
.site-footer__links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
@media (max-width: 1200px) { .site-footer { margin: 0 24px; } }
@media (max-width: 640px) { .chapter__media, .spread__media { min-height: 420px; } .chapter__box { position: relative; margin-top: 300px; } }

/* Barrierefreiheit */
.skip-link { position: absolute; z-index: 60; left: 16px; top: -100px; background: var(--ink); color: var(--white); padding: 12px 18px; font-family: var(--sans); font-size: 13px; letter-spacing: .06em; }
.skip-link:focus { top: 16px; color: var(--white); }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
main:focus { outline: none; }
.site-footer__btn { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.site-footer__btn:hover { color: var(--accent); }

/* Tabellen im Fließtext (z. B. Cookie-Übersicht in der Datenschutzerklärung) */
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-family: var(--sans); font-size: 14px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(42, 39, 34, .25); }
.prose th { font-weight: 600; border-bottom-color: var(--ink); }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }

/* Teilen */
.share { margin: 48px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.share__title { margin: 0; font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.share__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; padding: 0; }
.share__btn:hover { color: var(--white); background: var(--accent); border-color: var(--accent); }
.share__status { margin: 0; flex-basis: 100%; min-height: 1.4em; font-family: var(--sans); font-weight: 300; font-size: 13px; }
