/* DFS Speisekarten – Gästeansicht im Stil der Linkseite */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/web/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/web/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/web/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/web/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/web/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/web/jost-latin-500-normal.woff2') format('woff2'); }

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

:root {
  --cream: #f4efe6;
  --cream-2: #ece7dd;
  --white: #ffffff;
  --dark: #1a1a16;
  --dark-2: #2e2e28;
  --gold: #c9a96e;
  --gold-soft: #e8d9bb;
  --gold-dark: #8a7040;
  --muted: #8a8070;
  --text-2: #5f5749;
  --border: #e0d9cc;
  --radius: 14px;
  --radius-sm: 10px;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.sk-body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--cream);
  color: var(--dark);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 18px calc(40px + env(safe-area-inset-bottom));
  line-height: 1.45;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; border-radius: 6px; }

.sk-wrap { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 10px; }
.sk-single .sk-wrap { max-width: 560px; }

/* ── Kopfzeile ─────────────────────────────────────────────── */
.sk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; margin-bottom: 4px; }
.sk-back, .sk-top-pdf {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em; text-decoration: none;
  color: var(--text-2); padding: 7px 12px 7px 8px; border-radius: 30px;
  background: rgba(255,255,255,.55); border: 1px solid var(--border);
  transition: border-color .18s, background .18s;
}
.sk-top-pdf { padding: 7px 12px 7px 10px; gap: 6px; }
.sk-back:hover, .sk-top-pdf:hover { border-color: var(--gold-soft); background: var(--white); }
.sk-back svg { width: 16px; height: 16px; }
.sk-top-pdf svg { width: 15px; height: 15px; color: var(--gold-dark); }

/* ── Marke (Übersicht) ─────────────────────────────────────── */
.sk-brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 0 22px; border-bottom: 1px solid var(--border); margin-bottom: 6px; animation: skUp .5s ease both; }
.sk-logo { width: 88px; height: 88px; border-radius: 22px; object-fit: contain; border: 1px solid var(--border); background: var(--white); padding: 6px; margin-bottom: 14px; }
.sk-name { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; margin-bottom: 5px; }
.sk-tagline { font-size: 12px; font-weight: 300; letter-spacing: .06em; color: var(--muted); }

/* ── Trennlinie mit Label (wie Linkseite) ───────────────────── */
.sk-divider { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; }
.sk-divider::before, .sk-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.sk-divider span { font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #9e9584; white-space: nowrap; }

.sk-lead { font-size: 13px; color: var(--text-2); text-align: center; padding: 2px 8px 4px; font-weight: 300; }

/* ── Veranstaltungsliste ───────────────────────────────────── */
.sk-events { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sk-events li { animation: skUp .5s calc(.08s + var(--i, 0) * .05s) ease both; }
.sk-event, .sk-pdf {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 15px; text-decoration: none; transition: border-color .18s, transform .12s, box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}
.sk-event:hover, .sk-pdf:hover { border-color: var(--gold-soft); box-shadow: 0 10px 24px -18px rgba(138,112,64,.7); }
.sk-event:active, .sk-pdf:active { transform: scale(.98); }
.sk-event-icon, .sk-pdf-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--dark); color: var(--gold); }
.sk-pdf-icon { background: #f5f0e6; color: var(--gold-dark); }
.sk-event-icon svg, .sk-pdf-icon svg { width: 22px; height: 22px; }
.sk-event-label, .sk-pdf-label { flex: 1; min-width: 0; }
.sk-event-title { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.15; }
.sk-event-hint, .sk-pdf-hint { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; letter-spacing: .01em; }
.sk-pdf-title { display: block; font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.sk-event-arrow { color: #ccc4b8; flex-shrink: 0; }
.sk-event-arrow svg { width: 15px; height: 15px; }

.sk-badge { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border-radius: 20px; padding: 3px 9px; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; }
.sk-badge-live { color: var(--gold-dark); background: #f5f0e6; border: 1px solid var(--gold-soft); }
.sk-badge-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: skPulse 2s infinite; }

.sk-empty { background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; color: var(--text-2); font-size: 13.5px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sk-empty strong { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--dark); }

/* ── Kopf der Speisekarte ──────────────────────────────────── */
.sk-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px 0 10px; animation: skUp .5s ease both; }
.sk-hero-img { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; margin-bottom: -44px; box-shadow: 0 18px 40px -26px rgba(26,26,22,.6); }
.sk-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.sk-hero .sk-logo { position: relative; }
.sk-hero.has-image .sk-logo { box-shadow: 0 8px 22px -10px rgba(26,26,22,.45); }
.sk-eyebrow { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; padding: 0 12px; }
.sk-title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 9.5vw, 46px); line-height: 1.02; letter-spacing: .005em; text-wrap: balance; }
.sk-meta { margin-top: 10px; font-size: 12.5px; font-weight: 400; color: var(--muted); letter-spacing: .05em; }
.sk-hero::after { content: ''; width: 46px; height: 1px; background: var(--gold); margin-top: 18px; }

.sk-notice { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--text-2); background: #fbf7ef; border: 1px solid var(--gold-soft); border-radius: var(--radius-sm); padding: 10px 12px; }
.sk-notice svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--gold-dark); margin-top: 1px; }

/* ── Allergenfilter ────────────────────────────────────────── */
.sk-filter { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.sk-filter-toggle {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  background: var(--dark); color: #f0ece4; border: 1px solid var(--dark-2); border-radius: var(--radius);
  padding: 12px 14px; transition: opacity .2s;
}
.sk-filter-toggle:active { opacity: .85; }
.sk-filter-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(201,169,110,.15); border: 1px solid rgba(201,169,110,.3); color: var(--gold); flex-shrink: 0; }
.sk-filter-icon svg { width: 19px; height: 19px; }
.sk-filter-text { flex: 1; min-width: 0; }
.sk-filter-title { display: block; font-size: 13px; font-weight: 500; letter-spacing: .03em; }
.sk-filter-sub { display: block; font-size: 11px; color: #a39a8b; margin-top: 2px; }
.sk-filter-count { font-size: 10px; font-weight: 500; background: rgba(201,169,110,.14); color: var(--gold); border: 1px solid rgba(201,169,110,.32); padding: 3px 9px; border-radius: 20px; letter-spacing: .06em; flex-shrink: 0; }
.sk-filter-toggle[aria-expanded="true"] { border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; }

.sk-filter-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 12px; animation: skUp .25s ease both; }
.sk-filter-panel[hidden] { display: none; }
.sk-filter-intro { font-size: 13px; color: var(--text-2); }
.sk-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sk-chip {
  cursor: pointer; font-size: 13px; font-weight: 400; letter-spacing: .01em;
  border: 1px solid var(--border); background: #fbf9f5; color: var(--dark);
  border-radius: 30px; padding: 8px 14px; min-height: 38px; transition: background .15s, border-color .15s, color .15s;
}
.sk-chip:hover { border-color: var(--gold-soft); }
.sk-chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #f5efe2; }
.sk-chip[aria-pressed="true"]::before { content: '✕'; font-size: 10px; margin-right: 7px; color: var(--gold); }
.sk-filter-foot { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.sk-filter-reset { align-self: flex-start; cursor: pointer; background: none; border: none; font-size: 12px; font-weight: 500; color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; padding: 2px 0; }
.sk-filter-status { font-size: 12.5px; color: var(--text-2); text-align: center; min-height: 0; }
.sk-filter-status:empty { display: none; }
.sk-filter-status strong { color: var(--dark); font-weight: 500; }

/* ── Gang-Navigation ───────────────────────────────────────── */
.sk-coursenav { position: sticky; top: 0; z-index: 5; margin: 2px -18px 0; padding: 8px 18px; background: rgba(244,239,230,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.sk-coursenav.is-stuck { border-bottom-color: var(--border); }
.sk-coursenav-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sk-coursenav-inner::-webkit-scrollbar { display: none; }
.sk-coursenav a { flex-shrink: 0; text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .03em; color: var(--text-2); border: 1px solid var(--border); background: rgba(255,255,255,.6); border-radius: 30px; padding: 6px 12px; white-space: nowrap; transition: all .15s; }
.sk-coursenav a.is-active { background: var(--dark); color: #f5efe2; border-color: var(--dark); }

/* ── Gänge & Gerichte ──────────────────────────────────────── */
.sk-course { margin-top: 18px; animation: skUp .5s calc(.1s + var(--i, 0) * .06s) ease both; }
.sk-course-title { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 27px; line-height: 1.1; text-align: center; color: var(--dark); }
.sk-course-title::before, .sk-course-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.sk-course-title::after { background: linear-gradient(270deg, transparent, var(--gold-soft)); }
.sk-course-title span { max-width: 80%; }
.sk-course-note { text-align: center; font-size: 12px; letter-spacing: .05em; color: var(--muted); margin: -6px 0 12px; }

.sk-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sk-dish { padding: 16px 18px 15px; border-top: 1px solid #efe9de; transition: opacity .25s, background .25s; }
.sk-dish:first-child { border-top: 0; }
.sk-dish-head { display: flex; align-items: baseline; gap: 12px; }
.sk-dish-name { flex: 1; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.18; letter-spacing: .003em; }
.sk-dish-price { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--gold-dark); white-space: nowrap; }
.sk-dish-desc { margin-top: 5px; font-size: 14px; font-weight: 300; color: var(--text-2); line-height: 1.5; }
.sk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.sk-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; letter-spacing: .03em; border-radius: 20px; padding: 3px 9px 3px 7px; }
.sk-tag svg { width: 13px; height: 13px; }
.sk-tag-vegetarisch, .sk-tag-vegan { background: #eef3e7; color: #4a6b33; }
.sk-tag-scharf { background: #fbece7; color: #a8442a; }
.sk-tag-empfehlung { background: #f7f0e1; color: var(--gold-dark); }
.sk-dish-allergens { margin-top: 9px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.sk-dish-allergens .sk-lbl { font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #a89d89; margin-right: 4px; }
.sk-dish-allergens .sk-note { margin-left: 2px; }
.sk-dish-allergens .sk-add { display: block; font-style: italic; }
.sk-dish-warn { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: #9a3b22; background: #fbefe9; border-radius: 20px; padding: 3px 10px; }
.sk-dish-warn[hidden] { display: none; }

.sk-dish.is-excluded { background: #faf8f4; }
.sk-dish.is-excluded .sk-dish-head, .sk-dish.is-excluded .sk-dish-desc, .sk-dish.is-excluded .sk-tags, .sk-dish.is-excluded .sk-dish-allergens { opacity: .38; }
.sk-dish.is-excluded .sk-dish-name { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgba(26,26,22,.45); }

/* ── Fuß ───────────────────────────────────────────────────── */
.sk-footer { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.sk-footer-note { font-size: 13px; color: var(--text-2); padding: 0 10px; }
.sk-footer .sk-pdf { text-align: left; }
.sk-legend { font-size: 11px; color: var(--muted); line-height: 1.55; }
.sk-legend strong { font-weight: 500; color: var(--text-2); }
.sk-footer-brand { font-size: 10px; letter-spacing: .08em; color: #b3aa99; margin-top: 4px; }
.sk-footer-brand a { text-decoration: none; }

/* ── Animationen ───────────────────────────────────────────── */
@keyframes skUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes skPulse { 0% { box-shadow: 0 0 0 0 rgba(201,169,110,.6); } 70% { box-shadow: 0 0 0 6px rgba(201,169,110,0); } 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (min-width: 600px) {
  body.sk-body { padding-top: 44px; }
  .sk-coursenav { margin: 2px 0 0; padding: 8px 0; }
  .sk-dish { padding: 18px 22px 17px; }
}

@media print {
  body.sk-body { background: #fff; padding: 0; }
  .sk-top, .sk-filter, .sk-coursenav, .sk-pdf, .sk-hero-img { display: none !important; }
  .sk-card { border: 0; }
  .sk-dish { break-inside: avoid; }
}
