@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 900; font-display: swap; src: url('../assets/fonts/playfair-display-latin.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../assets/fonts/karla-latin.woff2') format('woff2'); }

:root {
  --wine: #6b1f2e;
  --wine-deep: #591a22;
  --gold: #c9a24b;
  --gold-line: rgba(201, 162, 75, .55);
  --gold-text: #8c6a1a;
  --page: #faf6ee;
  --soft: #f2ebdd;
  --ink: #241612;
  --ink-soft: #5e4c40;
  --line: rgba(36, 22, 18, .1);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Karla', system-ui, sans-serif;
  --pad: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.45 var(--sans); -webkit-font-smoothing: antialiased; border-top: 6px solid var(--wine); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.dlbar { max-width: 960px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top)) var(--pad) 0; }
.dl { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 10px 18px; border-radius: 16px; background: var(--wine-deep); color: var(--page); text-decoration: none; box-shadow: 0 6px 18px rgba(89, 26, 34, .22); }
.dl:active { filter: brightness(.94); }
.dl svg { flex: none; width: 24px; height: 24px; }
.dl span { display: grid; font-weight: 700; font-size: 17px; line-height: 1.2; }
.dl small { font-weight: 500; font-size: 12.5px; opacity: .8; }

.cover { max-width: 960px; margin: 0 auto; padding: 26px var(--pad) 8px; text-align: center; }
.cover-logo img { display: block; width: 26px; height: 58px; margin: 0 auto; }
.cover-name { margin: 8px 0 0; font: 700 26px/1.1 var(--serif); color: var(--ink-soft); }
.cover-sub { margin: 4px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-text); }
.cover h1 { margin: 16px 0 0; font: 700 34px/1 var(--serif); letter-spacing: 6px; text-transform: uppercase; color: var(--wine); }
.cover h1::after { content: ''; display: block; width: 120px; height: 1px; margin: 16px auto 0; background: var(--gold); }
.cover-note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.cover-note b { color: var(--wine); }
.cover-note span { font-size: 13px; font-style: italic; }

.toc { position: sticky; top: 0; z-index: 5; display: flex; gap: 8px; max-width: 960px; margin: 10px auto 0; padding: 10px var(--pad); overflow-x: auto; background: var(--page); border-bottom: 1px solid var(--line); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.toc::-webkit-scrollbar { display: none; }
.toc a { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--gold-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--wine); text-decoration: none; white-space: nowrap; }
.toc a:active { background: var(--soft); }
.toc a.on { background: var(--wine-deep); border-color: var(--wine-deep); color: #fff; }

main { max-width: 960px; margin: 0 auto; padding: 0 var(--pad) 10px; }
.sec { padding-top: 34px; scroll-margin-top: 60px; }
.sh { padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--gold); }
.sh h2 { margin: 0; font: 500 34px/1.1 var(--serif); color: var(--wine); }
.sh p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-soft); }

.cols > * { min-width: 0; }
.g { padding-top: 18px; }
.g h3 { margin: 0 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font: 500 23px/1.2 var(--serif); color: var(--wine); }
.g h3 small { margin-left: 6px; font: italic 400 13px var(--sans); color: var(--ink-soft); }
.gn { margin: 4px 0 2px; font-size: 13.5px; font-style: italic; color: var(--ink-soft); }

.i { padding: 9px 0 4px; }
.l { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0; }
.l b { font-weight: 700; font-size: 16.5px; line-height: 1.3; color: var(--ink); }
.l span { flex: none; font-weight: 700; font-size: 16.5px; color: var(--wine); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.l span::before { content: 'CHF'; margin-right: 4px; font-size: 11px; font-weight: 700; letter-spacing: .4px; color: var(--gold-text); vertical-align: 1px; }
.i > i { display: block; margin-top: 1px; font-size: 13.5px; color: var(--ink-soft); }
.i > p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
.w { display: block; margin-top: 1px; font-size: 14px; color: var(--wine); }
.tag { display: block; margin-top: 3px; font-size: 13px; color: var(--wine); }

.wide { margin-top: 10px; }
.combo { margin: 12px 0 0; font-size: 15px; color: var(--wine); }
.pair dl { display: grid; gap: 10px; margin: 10px 0 0; }
.pair dt { font-weight: 700; }
.pair dd { margin: 2px 0 0; font-size: 14.5px; color: var(--ink-soft); }

.foot { max-width: 960px; margin: 30px auto 0; padding: 0 var(--pad) calc(30px + env(safe-area-inset-bottom)); }
.contact { padding: 20px 22px; border-radius: 16px; background: var(--soft); }
.contact h2 { margin: 0; font: 500 26px/1.15 var(--serif); color: var(--wine); }
.contact p { margin: 6px 0 0; color: var(--ink-soft); }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-weight: 700; color: var(--wine); }
.contact-links a { text-underline-offset: 3px; }
.legal { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--wine-deep); border: 1.5px solid var(--wine-deep); color: var(--page); font-weight: 700; font-size: 15px; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--wine-deep); }
.addr { margin: 0; text-align: center; font-size: 13.5px; color: var(--ink-soft); }
.addr a { color: var(--wine); text-underline-offset: 3px; }

@media (min-width: 760px) {
  .cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; align-items: start; }
  .pair dl { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .sh h2 { font-size: 42px; }
  .dl { max-width: 460px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .dlbar, .toc, .foot-links { display: none; }
  body { border-top: 0; }
}
