:root {
  --bg-1: #fff6dc;
  --bg-2: #fefcf4;
  --ink-1: #1f2227;
  --ink-2: #4f5560;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(31, 34, 39, 0.13);
  --accent: #008f90;
  --radius-xl: 24px;
  --radius-md: 14px;
  --shadow: 0 22px 46px rgba(18, 28, 37, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Sora', sans-serif;
  color: var(--ink-1);
  background: radial-gradient(1200px 600px at 80% -10%, #c5f9f8 0%, transparent 55%),
    radial-gradient(800px 450px at 0% 10%, #ffe0a8 0%, transparent 65%),
    linear-gradient(170deg, var(--bg-1), var(--bg-2));
}

.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 80%, rgba(255, 77, 77, 0.2), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(27, 207, 194, 0.22), transparent 32%);
  filter: blur(10px);
}

.shell {
  position: relative;
  width: min(1580px, 94vw);
  margin: 0 auto;
  padding: 32px 0 46px;
}

.hero {
  padding: 4px 2px 20px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.language-menu {
  position: relative;
}

.theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #1f2b3b, #2f4b66);
  border-radius: 999px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font: inherit;
  color: #fff;
  box-shadow: 0 10px 20px rgba(16, 24, 38, 0.26);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(16, 24, 38, 0.35);
}

.theme-toggle:focus-visible {
  outline: 3px solid rgba(0, 109, 203, 0.5);
  outline-offset: 2px;
}

.theme-toggle-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.theme-toggle-text {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  color: #7f4f00;
}

.language-toggle {
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, #ffce38, #ff9e1a 64%, #ff7b00);
  border-radius: 999px;
  padding: 7px 11px 7px 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font: inherit;
  color: #1c2634;
  box-shadow:
    0 12px 24px rgba(140, 68, 0, 0.32),
    0 0 0 5px rgba(255, 166, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: lang-pop 1.9s ease-in-out infinite;
}

.language-toggle:focus-visible {
  outline: 3px solid rgba(0, 109, 203, 0.5);
  outline-offset: 2px;
}

.language-toggle:hover {
  transform: translateY(-1px) scale(1.015);
  box-shadow:
    0 14px 28px rgba(124, 60, 0, 0.38),
    0 0 0 7px rgba(255, 166, 0, 0.28);
}

.language-pill-label {
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #1f2c3a;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 2px 7px;
}

.language-current-icon {
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.language-toggle-text {
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.language-chevron {
  font-size: 0.78rem;
  line-height: 1;
  opacity: 0.9;
}

.language-menu.open .language-chevron {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  padding: 8px;
  display: grid;
  gap: 6px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 16px 30px rgba(19, 28, 42, 0.18),
    0 0 0 3px rgba(255, 166, 0, 0.18);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 30;
}

.language-menu.open .language-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.language-option {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: linear-gradient(180deg, #ffffff, #f2f7ff);
  border-radius: 12px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  font: inherit;
  color: #1b2736;
  cursor: pointer;
}

.language-option:hover {
  border-color: rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.language-option.active {
  border-color: #0f7fae;
  background: linear-gradient(135deg, #d7f3ff, #f3fbff);
}

.language-option-icon {
  font-size: 1rem;
  line-height: 1;
}

.language-option-label {
  font-size: 0.87rem;
  font-weight: 700;
}

.language-option-code {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #31577c;
}

.hero h1 {
  margin: 8px 0 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 12vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
}

.subtitle {
  margin: 0;
  max-width: 780px;
  color: var(--ink-2);
  font-size: clamp(0.94rem, 2.4vw, 1.1rem);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.controls {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.control-row {
  display: grid;
  gap: 9px;
}

.top-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.top-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c7077;
}

.status {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
}

.refresh-button {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #1ecfce, #0ea7b0);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.refresh-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(15, 167, 176, 0.28);
}

.magic-button {
  border: 1px solid rgba(91, 33, 182, 0.35);
  background: linear-gradient(135deg, #5b21b6, #7c3aed 52%, #db2777);
  color: #fff;
  border-radius: 999px;
  min-width: 92px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 10px 20px rgba(91, 33, 182, 0.3);
}

.magic-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(123, 58, 237, 0.35);
}

.magic-button.active {
  background: linear-gradient(135deg, #111827, #312e81 52%, #4c1d95);
  box-shadow:
    0 14px 24px rgba(45, 20, 94, 0.45),
    0 0 0 4px rgba(124, 58, 237, 0.2);
}

.refresh-button:disabled {
  opacity: 0.88;
  cursor: wait;
}

.magic-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.magic-toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-14px);
  z-index: 60;
  min-width: min(92vw, 560px);
  max-width: min(92vw, 640px);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(108, 152, 238, 0.56);
  background: linear-gradient(135deg, rgba(9, 21, 40, 0.97), rgba(20, 54, 94, 0.97));
  color: #dff0ff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
  box-shadow:
    0 18px 34px rgba(6, 17, 33, 0.5),
    0 0 0 3px rgba(89, 149, 255, 0.26),
    inset 0 1px 0 rgba(214, 233, 255, 0.26);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.magic-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.refresh-button.is-loading {
  position: relative;
  padding-right: 36px;
}

.refresh-button.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}

.search-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: var(--panel-strong);
}

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

.restaurant-filter-groups {
  display: grid;
  gap: 10px;
}

.restaurant-group {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 255, 0.8));
}

.restaurant-group-zfv {
  border-left: 5px solid #0f7fae;
}

.restaurant-group-sv {
  border-left: 5px solid #6a9f1f;
}

.restaurant-group-external {
  border-left: 5px solid #b15d1f;
}

.restaurant-group-title {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #425568;
}

.restaurant-group-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.restaurant-chip-group {
  gap: 7px;
}

.quick-filter-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.quick-chip {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f4f8fb);
  color: #202833;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.quick-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 14px rgba(19, 29, 42, 0.12);
}

.quick-chip.active {
  background: linear-gradient(135deg, #1e2329, #2e3641);
  border-color: transparent;
  color: #fff;
}

.quick-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: #fff;
  background: #4f6478;
}

.quick-label {
  font-size: 0.84rem;
  font-weight: 700;
}

.quick-count {
  border-radius: 999px;
  min-width: 34px;
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  background: rgba(13, 30, 53, 0.08);
  color: #1f3855;
}

.quick-chip.active .quick-count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.quick-chip[data-filter='vegan'] .quick-icon {
  background: #1c9c76;
}

.quick-chip[data-filter='vegetarian'] .quick-icon {
  background: #31b57b;
}

.quick-chip[data-filter='climate-low'] .quick-icon {
  background: #1ea682;
}

.quick-chip[data-filter='climate-medium'] .quick-icon {
  background: #b58516;
}

.quick-chip[data-filter='climate-high'] .quick-icon {
  background: #b5442b;
}

.filter-hint {
  margin: 0;
  font-size: 0.77rem;
  color: #607184;
}

.chip {
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 0.86rem;
  background: #fff;
  color: #28303a;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  transform: translateY(-1px);
}

.chip.active {
  background: #1f2227;
  border-color: #1f2227;
  color: #fff;
}

.jump-group {
  gap: 10px;
}

.jump-chip {
  font-weight: 800;
  padding: 8px 13px;
}

.jump-chip-zfv {
  border-color: rgba(15, 127, 174, 0.35);
  background: linear-gradient(180deg, #f2f9ff, #e7f3ff);
  color: #15486a;
}

.jump-chip-sv {
  border-color: rgba(106, 159, 31, 0.35);
  background: linear-gradient(180deg, #f7fde9, #edf9cf);
  color: #3f5f0f;
}

.jump-chip-external {
  border-color: rgba(177, 93, 31, 0.35);
  background: linear-gradient(180deg, #fff6ef, #ffeddf);
  color: #6f3b0f;
}

.jump-chip:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.jump-dock {
  position: fixed;
  right: 14px;
  bottom: 16px;
  z-index: 31;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  border: 2px solid rgba(8, 56, 90, 0.62);
  background: linear-gradient(
    135deg,
    rgba(7, 33, 56, 0.94),
    rgba(15, 78, 118, 0.94) 56%,
    rgba(133, 74, 20, 0.9)
  );
  backdrop-filter: blur(10px) saturate(1.25);
  box-shadow:
    0 18px 34px rgba(8, 25, 43, 0.44),
    0 0 0 4px rgba(30, 174, 233, 0.28),
    0 0 22px rgba(253, 175, 88, 0.24);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.jump-dock-label {
  margin: 0 2px 0 4px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0f7ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32);
}

.jump-dock .jump-chip {
  font-size: 0.78rem;
  padding: 7px 10px;
  border-width: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.jump-dock.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.results-area {
  position: relative;
  margin-top: 18px;
}

.impressum {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.impressum p {
  margin: 0;
  font-size: 0.76rem;
  color: #5f6d7c;
}

.impressum p + p {
  margin-top: 4px;
}

.loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 26px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78),
    rgba(255, 255, 255, 0.58)
  );
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.loading-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.loading-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 14px;
  box-shadow: 0 10px 20px rgba(21, 36, 56, 0.15);
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(12, 73, 122, 0.28);
  border-top-color: #0f7fae;
  animation: spin 0.7s linear infinite;
}

.loading-text {
  margin: 0;
  font-size: 0.81rem;
  font-weight: 700;
  color: #335069;
}

.restaurant-grid {
  display: grid;
  gap: 16px;
}

.restaurant-section {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(6px);
  padding: 12px;
}

.restaurant-section-zfv {
  box-shadow: inset 0 4px 0 #0f7fae;
}

.restaurant-section-sv {
  box-shadow: inset 0 4px 0 #6a9f1f;
}

.restaurant-section-external {
  box-shadow: inset 0 4px 0 #b15d1f;
}

.restaurant-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.restaurant-section-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #354a60;
}

.restaurant-section-icon {
  border-radius: 999px;
  min-width: 38px;
  padding: 3px 8px;
  text-align: center;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  background: #4d6074;
}

.restaurant-section-zfv .restaurant-section-icon {
  background: #0f7fae;
}

.restaurant-section-sv .restaurant-section-icon {
  background: #6a9f1f;
}

.restaurant-section-external .restaurant-section-icon {
  background: #b15d1f;
}

.restaurant-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.scroll-cue {
  appearance: none;
  font: inherit;
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 30;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, #13a9bc, #0f7fae 60%, #0b5d92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow:
    0 14px 30px rgba(9, 65, 106, 0.44),
    0 0 0 4px rgba(19, 169, 188, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 1;
  animation: cue-pulse 1.7s ease-in-out infinite;
}

.scroll-cue:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow:
    0 18px 34px rgba(8, 53, 88, 0.5),
    0 0 0 6px rgba(19, 169, 188, 0.25);
}

.scroll-cue.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
}

.scroll-cue-text {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}

.scroll-cue-arrows {
  display: inline-flex;
  gap: 4px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.scroll-cue-arrows span {
  display: inline-block;
  animation: cue-bounce 1.2s ease-in-out infinite;
}

.scroll-cue-arrows span:last-child {
  animation-delay: 0.12s;
}

.restaurant-card {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--accent);
  animation: lift-in 0.32s ease;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.card-title {
  margin: 0;
  font-size: 1.1rem;
}

.card-kicker {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 0.85rem;
}

.source-link {
  display: inline-flex;
  align-self: flex-start;
  text-decoration: none;
  color: #09518f;
  font-size: 0.83rem;
  border-bottom: 1px dashed currentColor;
}

.source-link:hover {
  color: #053b69;
}

.dish-link {
  display: inline-flex;
  text-decoration: none;
  color: #0a4f8f;
  font-size: 0.85rem;
  line-height: 1.4;
  border-bottom: 1px dashed currentColor;
}

.dish-link:hover {
  color: #0b67b7;
}

.day-label {
  margin: 12px 0 10px;
  font-size: 0.86rem;
  color: #4c5461;
  font-weight: 600;
}

.category {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  margin-bottom: 9px;
  background: rgba(255, 255, 255, 0.84);
}

.category-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 7px;
}

.category-name {
  margin: 0;
  font-size: 0.92rem;
}

.category-count {
  font-size: 0.78rem;
  color: #66717e;
}

.dish-list {
  display: grid;
  gap: 8px;
}

.dish {
  border-top: 1px dashed rgba(0, 0, 0, 0.14);
  padding-top: 8px;
}

.dish:first-child {
  border-top: 0;
  padding-top: 0;
}

.dish-name {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.dish-meta {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.badge-low {
  background: #dafaf1;
  color: #0b775d;
}

.badge-medium {
  background: #fff4d2;
  color: #8b6105;
}

.badge-high {
  background: #ffe1da;
  color: #b22a15;
}

.badge-info {
  background: #eef3f7;
  color: #51606e;
}

.badge-balanced {
  background: #eaf0f8;
  color: #3b526f;
}

.badge-vegan {
  background: #d9f7e8;
  color: #126f4c;
}

.badge-vegetarian {
  background: #e8f7d9;
  color: #3c6d1b;
}

.badge-price {
  background: #edf2f8;
  color: #354d68;
}

.external-notes {
  margin: 10px 0 12px;
  display: grid;
  gap: 4px;
}

.note-line {
  font-size: 0.8rem;
  color: #55606c;
}

.single-day-note {
  margin: 8px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(17, 65, 106, 0.22);
  background: rgba(214, 237, 255, 0.52);
  color: #1f4e74;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
}

.single-day-note::before {
  content: 'i';
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 900;
  color: #fff;
  background: #0f7fae;
}

.error-box {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #e4a8a8;
  border-radius: 10px;
  background: #fff1f1;
  color: #a11f1f;
  font-size: 0.82rem;
}

.empty-state {
  padding: 16px;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.empty-state p {
  margin: 0;
  color: #5d6670;
}

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

@keyframes cue-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2px);
  }
}

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

@keyframes cue-pulse {
  0%,
  100% {
    box-shadow:
      0 14px 30px rgba(9, 65, 106, 0.44),
      0 0 0 4px rgba(19, 169, 188, 0.2);
  }
  50% {
    box-shadow:
      0 18px 34px rgba(8, 53, 88, 0.52),
      0 0 0 7px rgba(19, 169, 188, 0.3);
  }
}

@keyframes lang-pop {
  0%,
  100% {
    box-shadow:
      0 12px 24px rgba(140, 68, 0, 0.32),
      0 0 0 5px rgba(255, 166, 0, 0.2);
  }
  50% {
    box-shadow:
      0 14px 28px rgba(124, 60, 0, 0.4),
      0 0 0 8px rgba(255, 166, 0, 0.3);
  }
}

html[data-theme='dark'] {
  --bg-1: #0e131b;
  --bg-2: #131a24;
  --ink-1: #e8edf5;
  --ink-2: #c1ccdb;
  --panel: rgba(21, 29, 40, 0.86);
  --panel-strong: rgba(20, 29, 41, 0.93);
  --line: rgba(198, 213, 232, 0.22);
  --shadow: 0 22px 46px rgba(3, 8, 14, 0.45);
}

html[data-theme='dark'] body {
  background: radial-gradient(1200px 600px at 80% -10%, #1b3e4f 0%, transparent 55%),
    radial-gradient(900px 450px at 0% 10%, #2b3a1e 0%, transparent 65%),
    linear-gradient(170deg, var(--bg-1), var(--bg-2));
}

html[data-theme='dark'] .aurora {
  background:
    radial-gradient(circle at 15% 80%, rgba(140, 47, 47, 0.22), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(38, 138, 130, 0.2), transparent 32%);
}

html[data-theme='dark'] .eyebrow {
  color: #f2cd7e;
}

html[data-theme='dark'] .panel,
html[data-theme='dark'] .restaurant-card,
html[data-theme='dark'] .restaurant-section,
html[data-theme='dark'] .category {
  border-color: rgba(188, 205, 228, 0.22);
}

html[data-theme='dark'] .search-input,
html[data-theme='dark'] .chip,
html[data-theme='dark'] .quick-chip,
html[data-theme='dark'] .language-option,
html[data-theme='dark'] .restaurant-group {
  border-color: rgba(188, 205, 228, 0.22);
}

html[data-theme='dark'] .search-input,
html[data-theme='dark'] .chip,
html[data-theme='dark'] .quick-chip,
html[data-theme='dark'] .language-option,
html[data-theme='dark'] .restaurant-group,
html[data-theme='dark'] .loading-card {
  background: rgba(24, 35, 48, 0.9);
  color: #e6edf8;
}

html[data-theme='dark'] .magic-button {
  border-color: rgba(181, 129, 255, 0.48);
  background: linear-gradient(135deg, #6d28d9, #9333ea 56%, #db2777);
  box-shadow: 0 10px 22px rgba(123, 58, 237, 0.4);
}

html[data-theme='dark'] .magic-button.active {
  background: linear-gradient(135deg, #0f172a, #312e81 58%, #581c87);
  box-shadow:
    0 14px 28px rgba(11, 18, 31, 0.62),
    0 0 0 4px rgba(147, 51, 234, 0.28);
}

html[data-theme='dark'] .magic-toast {
  border-color: rgba(122, 182, 255, 0.62);
  background: linear-gradient(135deg, rgba(6, 13, 25, 0.98), rgba(15, 40, 74, 0.97));
  color: #e6f2ff;
  box-shadow:
    0 20px 36px rgba(1, 6, 14, 0.72),
    0 0 0 3px rgba(92, 153, 255, 0.3),
    inset 0 1px 0 rgba(184, 216, 255, 0.22);
}

html[data-theme='dark'] .label,
html[data-theme='dark'] .filter-hint,
html[data-theme='dark'] .day-label,
html[data-theme='dark'] .note-line,
html[data-theme='dark'] .card-kicker,
html[data-theme='dark'] .restaurant-section-title,
html[data-theme='dark'] .restaurant-group-title,
html[data-theme='dark'] .category-count {
  color: #b7c4d5;
}

html[data-theme='dark'] .source-link {
  color: #8ec3ff;
}

html[data-theme='dark'] .source-link:hover {
  color: #a9d2ff;
}

html[data-theme='dark'] .category {
  background: rgba(12, 20, 30, 0.86);
}

html[data-theme='dark'] .impressum {
  border-color: rgba(188, 205, 228, 0.24);
  background: rgba(17, 27, 40, 0.74);
}

html[data-theme='dark'] .impressum p {
  color: #b6c4d6;
}

html[data-theme='dark'] .dish {
  border-top-color: rgba(178, 198, 223, 0.26);
}

html[data-theme='dark'] .card-title,
html[data-theme='dark'] .category-name,
html[data-theme='dark'] .dish-name {
  color: #eef4ff;
}

html[data-theme='dark'] .dish-link {
  color: #8ecbff;
}

html[data-theme='dark'] .dish-link:hover {
  color: #b6ddff;
}

html[data-theme='dark'] .chip {
  color: #dce7f5;
}

html[data-theme='dark'] .jump-chip-zfv {
  background: rgba(20, 66, 100, 0.45);
  border-color: rgba(91, 171, 222, 0.34);
  color: #c9e9ff;
}

html[data-theme='dark'] .jump-chip-sv {
  background: rgba(53, 86, 16, 0.46);
  border-color: rgba(169, 216, 97, 0.34);
  color: #e5f7c7;
}

html[data-theme='dark'] .jump-chip-external {
  background: rgba(104, 61, 21, 0.46);
  border-color: rgba(224, 153, 99, 0.4);
  color: #ffd9bb;
}

html[data-theme='dark'] .jump-dock {
  border-color: rgba(110, 191, 247, 0.72);
  background: linear-gradient(
    135deg,
    rgba(5, 13, 22, 0.96),
    rgba(10, 33, 54, 0.95) 58%,
    rgba(74, 44, 17, 0.92)
  );
  box-shadow:
    0 18px 36px rgba(1, 6, 13, 0.66),
    0 0 0 4px rgba(52, 161, 230, 0.3),
    0 0 24px rgba(230, 151, 84, 0.22);
}

html[data-theme='dark'] .jump-dock-label {
  color: #eef6ff;
}

html[data-theme='dark'] .jump-dock .jump-chip {
  box-shadow: inset 0 1px 0 rgba(214, 232, 255, 0.18);
}

html[data-theme='dark'] .chip.active,
html[data-theme='dark'] .quick-chip.active {
  background: linear-gradient(135deg, #e3ebf9, #d2deef);
  color: #1c2938;
}

html[data-theme='dark'] .quick-chip.active .quick-count {
  color: #1c2938;
  background: rgba(8, 24, 43, 0.14);
}

html[data-theme='dark'] .quick-count {
  background: rgba(199, 218, 245, 0.18);
  color: #d9e6f7;
}

html[data-theme='dark'] .badge-info {
  background: rgba(194, 212, 234, 0.16);
  color: #d5e0ef;
}

html[data-theme='dark'] .badge-low {
  background: rgba(38, 140, 109, 0.3);
  color: #aef4d9;
}

html[data-theme='dark'] .badge-medium {
  background: rgba(167, 125, 27, 0.34);
  color: #ffe4a3;
}

html[data-theme='dark'] .badge-high {
  background: rgba(164, 64, 48, 0.33);
  color: #ffd0c5;
}

html[data-theme='dark'] .badge-balanced {
  background: rgba(148, 176, 212, 0.27);
  color: #ddecff;
}

html[data-theme='dark'] .badge-vegan {
  background: rgba(37, 132, 89, 0.34);
  color: #aef3d0;
}

html[data-theme='dark'] .badge-vegetarian {
  background: rgba(103, 147, 49, 0.36);
  color: #d7f2aa;
}

html[data-theme='dark'] .badge-price {
  background: rgba(148, 176, 212, 0.27);
  color: #d9e9ff;
}

html[data-theme='dark'] .loading-overlay {
  background: linear-gradient(180deg, rgba(9, 13, 19, 0.72), rgba(9, 13, 19, 0.56));
}

html[data-theme='dark'] .loading-text {
  color: #cad8eb;
}

html[data-theme='dark'] .single-day-note {
  border-color: rgba(142, 181, 219, 0.36);
  background: rgba(29, 56, 84, 0.42);
  color: #b6d3ef;
}

html[data-theme='dark'] .error-box {
  background: rgba(108, 31, 31, 0.22);
  border-color: rgba(239, 146, 146, 0.35);
  color: #f6c0c0;
}

@media (max-width: 740px) {
  .shell {
    width: min(1580px, 95vw);
    padding-top: 22px;
  }

  .hero-top {
    align-items: center;
  }

  .hero-actions {
    gap: 7px;
  }

  .top-row {
    grid-template-columns: 1fr;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
  }

  .refresh-button {
    width: 100%;
  }

  .magic-button {
    width: auto;
    min-width: 92px;
    justify-self: end;
  }

  .magic-toast {
    top: 10px;
    min-width: min(94vw, 640px);
    font-size: 0.77rem;
    padding: 9px 13px;
  }

  .scroll-cue {
    bottom: 10px;
    padding: 8px 10px;
  }

  .scroll-cue-text {
    font-size: 0.74rem;
  }

  .language-pill-label {
    display: none;
  }

  .language-toggle {
    padding-right: 10px;
  }

  .language-options {
    min-width: 205px;
  }

  .theme-toggle-text {
    display: none;
  }

  .jump-dock {
    left: 50%;
    right: auto;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: min(96vw, 560px);
    justify-content: center;
    gap: 7px;
    padding: 7px;
  }

  .jump-dock.hidden {
    transform: translateX(-50%) translateY(10px);
  }

  .jump-dock-label {
    display: none;
  }

  .jump-dock .jump-chip {
    flex: 1 1 0;
    text-align: center;
  }
}
