@import url("fonts/fonts.css");

/* ------------------------------------------------------------------ Basis */
:root {
  --ink: #16130f;
  --ink-2: #1f1a14;
  --ink-3: #2a231a;
  --line-dark: #352d22;
  --gold: #c9a227;
  --gold-soft: #e3c765;

  --cream: #f6f1e6;
  --paper: #fdfbf6;
  --text: #221d17;
  --muted: #6e6355;
  --line: #e3dac9;

  --accent: #b4472e;

  --wrap: 1180px;
  --gut: clamp(18px, 4vw, 44px);
  --r: 10px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 clamp(16px, 0.4vw + 15px, 17px) / 1.72 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 760px; margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--gold); color: var(--ink); padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 0; }

/* ----------------------------------------------------------- Typographie */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.14; margin: 0 0 0.5em; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -0.005em; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.05rem, 0.5vw + 1rem, 1.2rem); line-height: 1.68; color: color-mix(in srgb, var(--text) 84%, transparent); }

.kicker {
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.1rem;
}
.kicker--gold { color: var(--gold); }

.rule { width: 46px; height: 2px; background: var(--accent); border: 0; margin: 0 0 1.4rem; }

/* ------------------------------------------------------------- Kopfzeile */
.topbar { background: var(--ink); color: #ece5d8; border-bottom: 1px solid var(--line-dark); }
.topbar__in { display: flex; align-items: center; gap: 22px; min-height: 68px; }

.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; margin-right: auto; }
.brand__name { font: 600 0.82rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; }
.brand__claim { font: 400 0.7rem/1 var(--sans); letter-spacing: 0.04em; color: #9c9076; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  padding: 9px 13px; border-radius: 6px; text-decoration: none;
  font: 500 0.88rem/1 var(--sans); color: #d6cdbb;
}
.nav a:hover { background: var(--ink-3); color: #fff; }
.nav a[aria-current="page"] { color: var(--gold); }

.navtoggle { display: none; }

@media (max-width: 860px) {
  .topbar__in { flex-wrap: wrap; min-height: 60px; padding-block: 10px; }
  .navtoggle {
    display: block; background: none; border: 1px solid var(--line-dark); color: #ece5d8;
    border-radius: 6px; padding: 8px 12px; font: 500 0.85rem/1 var(--sans); cursor: pointer;
  }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
}

/* ------------------------------------------------------------------ Hero */
.hero { background: var(--ink); color: #ece5d8; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 460px at 62% 30%, rgba(201, 162, 39, 0.13), transparent 68%);
  pointer-events: none;
}
.hero__in { position: relative; padding-block: clamp(38px, 6vw, 70px) clamp(10px, 2vw, 20px); }
.hero h1 { color: #f4eee1; max-width: 16ch; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--gold); }
.hero .lead { color: #b9ae97; max-width: 52ch; }
.hero__grid { display: grid; gap: clamp(20px, 3vw, 40px); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); } }

.hero--page { padding-block: clamp(30px, 4vw, 52px) clamp(26px, 4vw, 44px); }
.hero--page h1 { max-width: 22ch; }

/* ------------------------------------------------------------------ Karte */
.map { width: 100%; height: auto; display: block; }
.map__sphere { fill: #1b1610; stroke: var(--line-dark); stroke-width: 0.6; }
.map__c { fill: #2a231a; stroke: #16130f; stroke-width: 0.4; transition: fill 0.16s ease; }
.map__c--soon { fill: #4a3f2d; }
.map__c--live { fill: var(--gold); cursor: pointer; }
.map__c--live:hover, .map__c--live:focus { fill: var(--gold-soft); }
.map__legend { display: flex; flex-wrap: wrap; gap: 16px 26px; margin-top: 10px; font: 400 0.8rem/1 var(--sans); color: #9c9076; }
.map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.map__legend i { width: 11px; height: 11px; border-radius: 2px; display: inline-block; }

.maptip {
  position: absolute; z-index: 5; pointer-events: none; opacity: 0;
  transform: translate(-50%, -140%); transition: opacity 0.12s ease;
  background: #f4eee1; color: var(--ink); padding: 6px 11px; border-radius: 5px;
  font: 500 0.82rem/1.3 var(--sans); white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.maptip.is-on { opacity: 1; }

/* Inhalt links breit, Randspalte rechts schmal. Nicht hero__grid nehmen:
   das ist fuer die Startseite gebaut und hat die breite Spalte rechts. */
.cols { display: grid; gap: clamp(24px, 3.5vw, 52px); align-items: start; }
@media (min-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr) 300px; } }
.cols__aside { position: sticky; top: 22px; }

/* --------------------------------------------------------------- Flächen */
.band { padding-block: clamp(40px, 6vw, 76px); }
.band--cream { background: var(--cream); }
.band--dark { background: var(--ink); color: #ece5d8; }
.band--dark h2 { color: #f4eee1; }
.band--dark .lead { color: #b9ae97; }
.band--tight { padding-block: clamp(28px, 4vw, 46px); }

.band__head { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; justify-content: space-between; margin-bottom: clamp(20px, 3vw, 32px); }
.band__head h2 { margin: 0; }
.band__head a { font: 500 0.9rem/1 var(--sans); white-space: nowrap; }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; text-decoration: none;
  font: 600 0.87rem/1 var(--sans); letter-spacing: 0.02em;
  background: var(--gold); color: #1a1509; border: 1px solid transparent;
  transition: transform 0.14s ease, background 0.14s ease;
}
.btn:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 30%, transparent); }
.btn--ghost:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn--ink { background: var(--ink); color: #f4eee1; }
.btn--ink:hover { background: var(--ink-3); }
.btn[aria-disabled="true"] { background: transparent; border: 1px dashed var(--line); color: var(--muted); cursor: default; transform: none; }

.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }

/* --------------------------------------------------------- Bücher-Raster */
.books { display: grid; gap: clamp(18px, 2.4vw, 30px); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.books--wide { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); }
/* Auf dem Handy zwei Cover nebeneinander. Eine Spalte macht aus dem
   Katalog eine endlose Rolle. */
@media (max-width: 560px) {
  .books, .books--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .dishes { columns: 1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.book { text-decoration: none; display: block; }
.book__cover {
  position: relative; border-radius: 4px; overflow: hidden;
  background: #d9d0be; aspect-ratio: 1 / 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14), 0 14px 30px -14px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.book__cover img { width: 100%; height: 100%; object-fit: cover; }
.book:hover .book__cover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18), 0 22px 40px -16px rgba(0, 0, 0, 0.5); }
.book__flag { position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; }
.book__body { padding-top: 11px; }
.book__land { font: 600 1.02rem/1.25 var(--serif); display: block; }
.book__meta { font: 400 0.8rem/1.45 var(--sans); color: var(--muted); display: block; margin-top: 2px; }
.band--dark .book__meta { color: #9c9076; }
.band--dark .book__land { color: #f0e9da; }

.book--soon .book__cover::after {
  content: "Erscheint bald"; position: absolute; inset: auto 0 0 0;
  background: color-mix(in srgb, var(--ink) 82%, transparent); color: #f0e9da;
  font: 600 0.68rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 0; text-align: center;
}

.ghost {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; border: 1px dashed var(--line); border-radius: 4px;
  color: var(--muted); text-align: center; padding: 14px; gap: 6px;
  font: 400 0.82rem/1.5 var(--sans);
}
.band--dark .ghost { border-color: var(--line-dark); color: #7e7361; }
.ghost b { font: 600 0.95rem/1.3 var(--serif); color: inherit; }

/* ------------------------------------------------------------- Regionen */
.regions { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.region {
  display: block; text-decoration: none; padding: 24px 24px 22px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.region:hover { border-color: var(--accent); transform: translateY(-2px); }
.region h3 { margin-bottom: 0.3em; }
.region p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.region__n { font: 500 0.78rem/1 var(--sans); color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-top: 12px; }

/* ---------------------------------------------------------------- Filter */
.filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: clamp(22px, 3vw, 32px); }
.filter__in {
  flex: 1 1 210px; min-width: 0; padding: 11px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--text);
  font: 400 0.92rem/1 var(--sans);
}
.filter__in::placeholder { color: var(--muted); }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text); cursor: pointer;
  font: 500 0.85rem/1 var(--sans);
}
.chip[aria-pressed="true"] { background: var(--ink); color: #f4eee1; border-color: var(--ink); }
.filter__none { color: var(--muted); font-style: italic; }

/* ------------------------------------------------------------- Buchseite */
.bookhead { display: grid; gap: clamp(22px, 4vw, 48px); align-items: start; }
/* Quadrat traegt weniger Hoehe als das Hochformat. Damit das Cover neben
   der Ueberschrift nicht verloren wirkt, bekommt die Spalte mehr Breite. */
@media (min-width: 820px) { .bookhead { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); } }
.bookhead__cover { border-radius: 4px; overflow: hidden; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), 0 30px 60px -24px rgba(0, 0, 0, 0.7); }
.bookhead h1 { margin-bottom: 0.25em; }
.bookhead__sub { font: 300 clamp(1.05rem, 1.4vw, 1.25rem)/1.5 var(--serif); color: #b9ae97; margin-bottom: 1.1em; }
.bookhead__by { font: 400 0.9rem/1 var(--sans); color: #9c9076; letter-spacing: 0.04em; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { background: var(--paper); padding: 18px 16px; }
.facts dt { font: 500 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.facts dd { margin: 0; font: 600 1.28rem/1.15 var(--serif); }
.facts dd small { display: block; font: 400 0.78rem/1.4 var(--sans); color: var(--muted); margin-top: 3px; }

.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.chapters > li { border-bottom: 1px solid var(--line); }
.chapters details > summary {
  display: flex; gap: 14px; align-items: baseline; justify-content: space-between;
  padding: 16px 2px; cursor: pointer; list-style: none;
}
.chapters details > summary::-webkit-details-marker { display: none; }
.chapters summary b { font: 600 1.05rem/1.35 var(--serif); }
.chapters summary span { font: 400 0.82rem/1 var(--sans); color: var(--muted); white-space: nowrap; }
.chapters summary::after { content: "+"; font: 300 1.3rem/1 var(--sans); color: var(--muted); }
.chapters details[open] summary::after { content: "\2212"; }
.chapters__body { padding: 0 2px 20px; }
.chapters__body p { color: var(--muted); font-size: 0.94rem; max-width: 68ch; }
.dishes { columns: 2 210px; column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.dishes li { break-inside: avoid; padding: 4px 0; font-size: 0.9rem; }
.dishes i { font-style: normal; color: var(--muted); }

/* ---------------------------------------------------------------- Rezept */
.recipe { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); padding: clamp(22px, 3vw, 38px); }
.recipe__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 0.82rem/1 var(--sans); color: var(--muted); margin-bottom: 1.6em; letter-spacing: 0.03em; }
.recipe__cols { display: grid; gap: clamp(20px, 3vw, 38px); }
@media (min-width: 760px) { .recipe__cols { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.recipe h3 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--sans); color: var(--muted); margin-bottom: 1em; }
.ing { list-style: none; margin: 0; padding: 0; }
.ing li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.steps { margin: 0; padding: 0 0 0 1.35em; }
.steps li { padding: 0 0 0.9em; }
.tipbox { margin-top: 1.6em; padding: 18px 20px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 5%, transparent); border-radius: 0 6px 6px 0; }
.tipbox b { display: block; font: 600 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.tipbox p { margin: 0; font-size: 0.93rem; }

/* ----------------------------------------------------------------- Prosa */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; font-size: 1.16rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }

.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; background: var(--cream); margin-bottom: 2.4em; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 0.35em; font-size: 0.93rem; }

.callout { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 30px); background: var(--cream); }
.callout--dark { background: var(--ink-2); border-color: var(--line-dark); color: #d9d0bd; }

.menus { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.menus li { padding: 13px 16px; background: var(--cream); border-radius: 7px; font-size: 0.9rem; }
.band--dark .menus li { background: var(--ink-2); }

.crumbs { font: 400 0.82rem/1 var(--sans); color: #9c9076; margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.band--cream .crumbs, .band--light .crumbs { color: var(--muted); }

/* ---------------------------------------------------------------- Fußzeile */
.foot { background: var(--ink); color: #9c9076; padding-block: clamp(34px, 5vw, 56px); font-size: 0.88rem; }
.foot a { color: #d6cdbb; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.foot h4 { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: #6e6355; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot__legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 0.8rem; line-height: 1.7; color: #6e6355; }

/* ----------------------------------------------------------------- Sonstiges */
.hidden { display: none !important; }
.center { text-align: center; }
.mt0 { margin-top: 0; }
