/* ==========================================================================
   HOA BAN - Reispapier-Editorial
   Mobile-first. Vanilla CSS, keine Frameworks.
   ========================================================================== */

/* ===== TOKENS ===== */
:root {
  /* Beige-Palette: bewusst kein Weiss. Der Seitenhintergrund ist ein
     deutliches Beige, Karten liegen nur eine Nuance heller darueber -
     so bleibt der Uebergang zu den dunkelgruenen Sektionen weich. */
  --paper: #F1E8D6;
  --paper-deep: #E9DDC6;
  --surface: #F7F0E1;
  --ink: #21302A;
  --ink-soft: #56635C;
  --jade: #2E5D4F;
  --jade-bright: #3E7A67;
  --jade-deep: #16322A;
  --bauhinia: #8C4A6E;
  --bauhinia-soft: #D9A8C4;
  --ochre: #B97F35;

  --cream: #EDE3CC;
  --cream-dim: rgba(237, 227, 204, 0.68);

  --hairline: rgba(33, 48, 42, 0.16);
  --hairline-soft: rgba(33, 48, 42, 0.09);
  --hairline-light: rgba(237, 227, 204, 0.18);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Be Vietnam Pro', 'Helvetica Neue', Arial, sans-serif;

  --size-h1: clamp(2.5rem, 5.4vw + 1.2rem, 4.6rem);
  --size-h2: clamp(1.9rem, 3vw + 1rem, 3rem);
  --size-h3: clamp(1.25rem, 1vw + 1rem, 1.55rem);

  --space-section: clamp(4.5rem, 10vw, 8rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 72rem;

  --header-h: 4.25rem;
  --radius: 2px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== RESET / BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  position: relative;
}

/* Feines Korn ueber der ganzen Seite - Reispapier-Textur */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

:focus-visible {
  outline: 2px solid var(--bauhinia);
  outline-offset: 3px;
}

::selection {
  background: var(--bauhinia-soft);
  color: var(--ink);
}

.hidden { display: none !important; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 3000;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1.2rem;
  text-decoration: none;
}
.skip-link:focus-visible { top: 0.5rem; }

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-section); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bauhinia);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.eyebrow--light { color: var(--bauhinia-soft); }

.section-title {
  font-family: var(--font-display);
  font-size: var(--size-h2);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--jade);
}
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--bauhinia-soft); }

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); max-width: 38rem; }
.section-sub { color: var(--ink-soft); }

/* Punktlinien-Leader (klassischer Speisekarten-Look) */
.leader {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 2px dotted var(--hairline);
  transform: translateY(-0.35em);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.8rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: var(--jade);
  color: var(--cream);
  border-color: var(--jade);
}
.btn--solid:hover { background: var(--jade-deep); border-color: var(--jade-deep); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(237, 227, 204, 0.4);
}
.btn--ghost:hover { border-color: var(--cream); background: rgba(237, 227, 204, 0.08); }

.btn--paper {
  background: var(--paper);
  color: var(--jade-deep);
  border-color: var(--paper);
}
.btn--paper:hover { background: var(--cream); }

.btn--line {
  background: transparent;
  color: var(--jade);
  border: none;
  border-bottom: 1px solid var(--jade);
  border-radius: 0;
  padding: 0.35rem 0.1rem;
  min-height: 2.75rem;
}
.btn--line:hover { color: var(--bauhinia); border-color: var(--bauhinia); transform: none; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-flower {
  width: 1.9rem;
  height: 1.9rem;
  transition: transform 0.5s var(--ease-out);
}
.brand-flower .petals { fill: var(--bauhinia-soft); }
.brand-flower .pistil { fill: var(--ochre); }
.brand:hover .brand-flower { transform: rotate(72deg); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
  transition: color 0.3s var(--ease-out);
}

/* Header nach Scroll: Papier-Hintergrund, dunkle Schrift */
.site-header.is-scrolled {
  background: rgba(241, 232, 214, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--hairline-soft);
}
.site-header.is-scrolled .brand-name { color: var(--ink); }
.site-header.is-scrolled .brand-flower .petals { fill: var(--bauhinia); }

/* Hamburger (mobil) */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  transition: color 0.3s var(--ease-out);
}
.site-header.is-scrolled .nav-toggle { color: var(--ink); }

.nav-toggle-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 1.5rem;
}
.nav-toggle-box span {
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobiles Menue: dunkles Panel unter dem Header */
.nav-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--jade-deep);
  border-top: 1px solid var(--hairline-light);
  padding: 0.75rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateY(-115%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease-out), visibility 0s linear 0.35s;
  z-index: -1;
}
.nav-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease-out);
}

.nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.4rem var(--gutter);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-light);
}
.nav-menu li:last-child .nav-link { border-bottom: none; }
.nav-link--tel {
  color: var(--bauhinia-soft);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.nav-link--tel svg { flex-shrink: 0; opacity: 0.85; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--jade-deep);
  background-image:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(140, 74, 110, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 5% 95%, rgba(46, 93, 79, 0.55) 0%, transparent 60%);
  color: var(--cream);
  padding-top: var(--header-h);
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
  width: 100%;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.hero-title {
  font-family: var(--font-display);
  margin-bottom: 1.4rem;
}

/* Der Restaurantname als grosse Wortmarke */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-size: clamp(3.4rem, 8.5vw, 6.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--cream);
}
.hero-brand-flower {
  width: 0.58em;
  height: 0.58em;
  flex-shrink: 0;
  margin-top: -0.08em;
}
.hero-brand-flower .petals { fill: var(--bauhinia-soft); }
.hero-brand-flower .pistil { fill: var(--ochre); }

.hero-tagline {
  display: block;
  margin-top: 0.85rem;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-wrap: balance;
}
.hero-tagline em {
  font-style: italic;
  color: var(--bauhinia-soft);
}
.hero-tagline .amp {
  font-style: italic;
  font-weight: 400;
  color: var(--ochre);
}

.hero-sub {
  max-width: 30rem;
  font-size: 1.02rem;
  color: var(--cream-dim);
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.9rem;
}

.hero-hours {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--cream-dim);
}
.hero-hours .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bauhinia-soft);
  flex-shrink: 0;
  align-self: center;
}


/* Bild mit versetztem Rahmen statt Schatten */
.framed {
  position: relative;
  margin: 0;
}
.framed img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}
.framed::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 1px solid var(--bauhinia-soft);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: -1;
  opacity: 0.85;
}
.framed--plum::before { border-color: var(--bauhinia); }

.framed-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  padding: 0.45rem 1rem;
  border-radius: 0 var(--radius) 0 0;
}

.hero-figure { max-width: 30rem; }

/* Bild-Collage: grosses Bild links ueber zwei Reihen,
   zwei versetzt gestapelte Bilder rechts */
.hero-images {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.hero-images .framed {
  grid-row: 1 / 3;
}
.hero-images .framed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-img--top { margin-top: 1.75rem; }

/* ===== STORY ===== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.story-figure { max-width: 26rem; }
/* Mobile-Variante des Speisekarten-Links (unter dem Bild) - nur unter 640px sichtbar */
.story-cta--mobile { display: none; }
.story-text p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.story-text strong { color: var(--ink); font-weight: 600; }
.story-copy .btn--line { margin-top: 0.4rem; }

/* ===== DIVIDER ===== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: var(--bauhinia);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.divider-flower { width: 1.4rem; height: 1.4rem; flex-shrink: 0; }

/* ===== SPEISEKARTE ===== */

/* Signature-Karte (Dorade) */
.signature {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.signature-media { overflow: hidden; }
.signature-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.signature:hover .signature-media img { transform: scale(1.04); }

.signature-body {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.signature-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.9rem;
}
.signature-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.signature-de {
  display: block;
  font-size: 0.62em;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}
.signature-desc { color: var(--ink-soft); margin-bottom: 1.5rem; max-width: 30rem; }
.signature-meta {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.dish-no {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bauhinia);
  white-space: nowrap;
}
.dish-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.25s var(--ease-out);
}

/* Dish-Grid */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.dish {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dish-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 7 / 5;
}
.dish-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.dish:hover .dish-media img { transform: scale(1.05); }
.dish:hover .dish-price { color: var(--bauhinia); }

/* Grosse Geister-Ziffer ueber dem Bild */
.dish-ghost-no {
  position: absolute;
  right: 0.6rem;
  bottom: -0.95rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--paper);
  text-shadow: 0 1px 14px rgba(22, 50, 42, 0.45);
  pointer-events: none;
}

.dish-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dish-name {
  font-family: var(--font-display);
  font-size: var(--size-h3);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.dish-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--hairline);
  border-radius: 2rem;
  padding: 0.15rem 0.6rem;
  vertical-align: 0.35em;
  margin-left: 0.3rem;
}
.dish-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
  flex: 1;
}
.dish-row {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.dish-note {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--hairline-soft);
}
.dish-note--hot { color: var(--ochre); }
.dish-note--hot::before { content: "● "; font-style: normal; font-size: 0.6em; vertical-align: 0.25em; }

.menu-veg-note {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 44rem;
}

/* PDF-Card */
.menu-pdf {
  margin-top: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--jade);
  border-left: 4px solid var(--jade);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.menu-pdf-text h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.menu-pdf-text p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== MITTAGSKARTE ===== */
.lunch {
  background-color: var(--jade-deep);
  background-image:
    radial-gradient(ellipse 50% 70% at 95% 90%, rgba(140, 74, 110, 0.18) 0%, transparent 60%);
  color: var(--cream);
  padding-block: var(--space-section);
}
.lunch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.lunch-text {
  color: var(--cream-dim);
  max-width: 30rem;
  margin-bottom: 2rem;
}

.lunch-samples {
  border-top: 1px solid var(--hairline-light);
}
.lunch-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--hairline-light);
}
.lunch-row dt {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}
.lunch-row dt span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--cream-dim);
  margin-top: 0.15rem;
}
.lunch-row dd {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bauhinia-soft);
  white-space: nowrap;
}

/* ===== KONTAKT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.info-block { margin-bottom: 2.1rem; }
.info-block:last-child { margin-bottom: 0; }
.info-block h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bauhinia);
  margin-bottom: 0.8rem;
}
.info-block p { color: var(--ink-soft); }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  text-align: left;
  font-weight: 400;
  vertical-align: top;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 0.97rem;
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }
.hours th { color: var(--ink); font-weight: 500; padding-right: 1.5rem; white-space: nowrap; }
.hours td { color: var(--ink-soft); }
.hours-closed th, .hours-closed td { color: var(--ink-soft); font-style: italic; }

.contact-link {
  display: inline-block;
  min-height: 44px;
  line-height: 2.4;
  color: var(--jade);
  font-weight: 500;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 0.25s, text-decoration-color 0.25s;
}
.contact-link:hover { color: var(--bauhinia); text-decoration: underline; text-decoration-color: currentColor; }

.contact-map {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 330px;
  background: var(--surface);
}
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-consent-inner {
  text-align: center;
  max-width: 22rem;
  padding: 2rem 1.5rem;
}
.map-consent-inner p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.map-consent-inner a { color: var(--jade); }
.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: none;
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--jade-deep);
  color: var(--cream-dim);
  padding-top: clamp(3.5rem, 7vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--hairline-light);
}
.brand--footer .brand-name { color: var(--cream); }
.footer-tagline { font-size: 0.9rem; margin-top: 0.8rem; }

.footer h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 227, 204, 0.45);
  margin-bottom: 0.9rem;
}
.footer-nav ul, .footer-legal ul { display: flex; flex-direction: column; gap: 0.15rem; }
.footer-nav a, .footer-legal a, .footer-contact a {
  display: inline-block;
  font-size: 0.92rem;
  color: var(--cream-dim);
  text-decoration: none;
  min-height: 36px;
  line-height: 36px;
  transition: color 0.25s;
}
.footer-nav a:hover, .footer-legal a:hover, .footer-contact a:hover { color: var(--cream); }
.footer-contact p { font-size: 0.92rem; margin-bottom: 0.9rem; }

.impressum {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--hairline-light);
}
.impressum h4 {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 227, 204, 0.45);
  margin-bottom: 0.8rem;
}
.impressum p {
  font-size: 0.84rem;
  line-height: 1.9;
  color: rgba(237, 227, 204, 0.55);
}
.impressum a { color: rgba(237, 227, 204, 0.7); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.4rem 0 calc(1.4rem + env(safe-area-inset-bottom));
  font-size: 0.8rem;
  color: rgba(237, 227, 204, 0.4);
}
.footer-flower-note { font-style: italic; }

/* ===== ANIMATIONEN =====
   Nur aktiv, wenn JS laeuft (html.js) bzw. keine reduzierte Bewegung
   gewuenscht ist. Ohne JS bleibt alles sichtbar. */
@media (prefers-reduced-motion: no-preference) {

  /* --- Hero-Entrance beim Laden der Seite --- */
  @keyframes rise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes hero-img-in {
    from { opacity: 0; clip-path: inset(0 0 100% 0); transform: scale(1.05); }
    to   { opacity: 1; clip-path: inset(0 0 0% 0); transform: none; }
  }
  @keyframes frame-in {
    from { opacity: 0; }
    to   { opacity: 0.85; }
  }
  @keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 168, 196, 0.45); }
    50%      { box-shadow: 0 0 0 5px rgba(217, 168, 196, 0); }
  }

  .hero-intro > *,
  .hero-rest > * { animation: rise 0.85s var(--ease-out) backwards; }
  .hero-intro > *:nth-child(1) { animation-delay: 0.10s; }
  .hero-intro > *:nth-child(2) { animation-delay: 0.20s; }
  .hero-rest > *:nth-child(1) { animation-delay: 0.55s; }
  .hero-rest > *:nth-child(2) { animation-delay: 0.65s; }
  .hero-rest > *:nth-child(3) { animation-delay: 0.75s; }

  .hero-figure .framed img { animation: hero-img-in 1.1s var(--ease-out) 0.3s backwards; }
  .hero-figure .framed::before { animation: frame-in 0.9s var(--ease-out) 1.1s backwards; }
  .hero-figure .framed-caption { animation: rise 0.7s var(--ease-out) 0.95s backwards; }
  .hero-img--top { animation: rise 0.85s var(--ease-out) 0.5s backwards; }
  .hero-img--bottom { animation: rise 0.85s var(--ease-out) 0.62s backwards; }
  .hero-hours .dot { animation: dot-pulse 2.6s ease-in-out 1.6s infinite; }

  /* --- Scroll-Reveal --- */
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
  }
  html.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* Bilder innerhalb von Reveal-Bloecken setzen sich beim Erscheinen
     sanft aus einer leichten Vergroesserung ab (scale-Property kollidiert
     nicht mit den transform-basierten Hover-Effekten) */
  html.js [data-reveal] .dish-media img,
  html.js [data-reveal] .signature-media img,
  html.js [data-reveal] .framed img {
    scale: 1.08;
    /* transform bleibt in der Liste, damit der Hover-Zoom weich bleibt */
    transition: scale 1.4s var(--ease-out), transform 0.6s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s), 0s;
  }
  html.js [data-reveal].is-visible .dish-media img,
  html.js [data-reveal].is-visible .signature-media img,
  html.js [data-reveal].is-visible .framed img {
    scale: 1;
  }

  /* Trenner: Bluete dreht sich ein, Linien wachsen von der Mitte nach aussen */
  html.js .divider[data-reveal] { transform: none; }
  html.js .divider[data-reveal] .divider-flower {
    opacity: 0;
    transform: rotate(-110deg) scale(0.5);
    transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  }
  html.js .divider[data-reveal]::before,
  html.js .divider[data-reveal]::after {
    transform: scaleX(0);
    transition: transform 1.1s var(--ease-out) 0.15s;
  }
  html.js .divider[data-reveal]::before { transform-origin: right center; }
  html.js .divider[data-reveal]::after { transform-origin: left center; }
  html.js .divider[data-reveal].is-visible .divider-flower {
    opacity: 1;
    transform: none;
  }
  html.js .divider[data-reveal].is-visible::before,
  html.js .divider[data-reveal].is-visible::after {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   BREAKPOINTS (mobile-first)
   ========================================================================== */

/* ===== ab 640px ===== */
@media (min-width: 640px) {
  .menu-pdf {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .signature {
    grid-template-columns: 1.15fr 1fr;
  }
  .signature-media img { min-height: 100%; }
}

/* ===== ab 900px: Desktop-Navigation + zweispaltige Layouts ===== */
@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .nav-menu {
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    transform: none;
    opacity: 1;
    visibility: visible;
    z-index: auto;
    transition: none;
  }
  .nav-link {
    min-height: 44px;
    padding: 0.2rem 0.9rem;
    font-size: 0.92rem;
    border-bottom: none;
    position: relative;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.45rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
  }
  .nav-link:hover::after { transform: scaleX(1); }
  /* Telefonnummer: kein Kasten, sondern Icon + feine Trennlinie zur Nav */
  .nav-cta {
    margin-left: 1.1rem;
    padding-left: 1.4rem;
    border-left: 1px solid var(--hairline-light);
  }
  .nav-link--tel { padding-inline: 0.2rem; }
  .nav-link--tel::after { display: none; }
  .nav-link--tel:hover { color: var(--cream); }
  .site-header.is-scrolled .nav-cta { border-left-color: var(--hairline); }
  .site-header.is-scrolled .nav-link--tel { color: var(--jade); }
  .site-header.is-scrolled .nav-link--tel:hover { color: var(--bauhinia); }

  /* Header-Schrift im gescrollten Zustand */
  .site-header.is-scrolled .nav-link { color: var(--ink); }
  .nav-link { color: var(--cream); }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "intro figure"
      "rest figure";
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: clamp(3rem, 6vw, 5.5rem);
    row-gap: 0;
  }
  .hero-intro { grid-area: intro; align-self: end; }
  .hero-rest { grid-area: rest; align-self: start; }
  .hero-figure { grid-area: figure; justify-self: end; width: 100%; max-width: 34rem; }

  .story-grid { grid-template-columns: 0.85fr 1.15fr; }
  .story-figure { justify-self: start; }

  .lunch-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 0.8fr 1.2fr; }
  .contact-map { min-height: 430px; }
  .map-iframe { min-height: 430px; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
}

/* ===== ab 1200px: mehr Luft ===== */
@media (min-width: 1200px) {
  .dish-ghost-no { font-size: 5.2rem; }
}

/* ===== Mobile-Layout (unter 640px) =====
   Kompakt und scanbar: kleinere Typo, weniger Bildflaeche,
   Gerichte als horizontale Listenzeilen statt grosser Karten. */
@media (max-width: 639px) {

  /* --- Grundmasse --- */
  .section { padding-block: 3.25rem; }
  .section-head { margin-bottom: 1.9rem; }
  .section-title { font-size: 1.55rem; margin-bottom: 0.9rem; }
  .section-sub { font-size: 0.92rem; }
  .eyebrow { font-size: 0.64rem; letter-spacing: 0.17em; margin-bottom: 0.9rem; }
  .eyebrow::before { width: 1.4rem; }

  /* --- Hero --- */
  .hero-grid { padding-top: 1.5rem; gap: 1.9rem; }

  /* Eyebrow entfaellt auf Mobile: direkt unter dem Header-Logo wirkte
     die umbrechende Zeile gequetscht und doppelt (Ort steht in der Subline,
     Kueche in der Tagline) */
  .hero .eyebrow { display: none; }

  .hero-brand { font-size: clamp(2.5rem, 13vw, 3rem); gap: 0.3em; }

  .hero-tagline {
    margin-top: 0.7rem;
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .hero-title { margin-bottom: 1rem; }

  .hero-sub {
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 3.1rem;
  }

  /* Oeffnungszeiten auf zwei ruhige Zeilen statt umbrechendem Einzeiler */
  .hero-hours { font-size: 0.8rem; align-items: flex-start; }
  .hero-hours .dot { align-self: flex-start; margin-top: 0.42em; }
  .hero-hours-sep { display: none; }
  .hero-hours-closed { display: block; opacity: 0.75; margin-top: 0.1rem; }

  /* Hero-Collage: kompakter, Versatz kleiner, Rahmen dezenter */
  .hero-images { gap: 9px; }
  .hero-img--top { margin-top: 1rem; }
  .hero-figure .framed::before { display: none; }
  .hero-figure .framed-caption { font-size: 0.74rem; padding: 0.3rem 0.7rem; }

  /* Story-Bild flach beschneiden */
  .story-figure .framed img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  .framed::before { transform: translate(10px, 10px); }

  /* --- Story --- */
  .story-grid { gap: 2.25rem; }
  /* Bild unter den Text: erst lesen, warum die Bluete den Namen gibt,
     dann die Region sehen. Der Speisekarten-Link wandert mit unters Bild. */
  .story-figure { order: 2; }
  .story-cta--desktop { display: none; }
  .story-cta--mobile { display: inline-flex; margin-top: 1.4rem; }
  .story-text p { font-size: 0.93rem; line-height: 1.65; margin-bottom: 0.9rem; }

  /* --- Speisekarte: Gerichte als kompakte Zeilen --- */
  .dish {
    flex-direction: row;
    align-items: stretch;
  }
  .dish-media {
    width: 6.75rem;
    min-height: 100%;
    aspect-ratio: auto;
    flex-shrink: 0;
  }
  .dish-ghost-no { display: none; }
  .dish-body { padding: 0.85rem 0.95rem 0.95rem; }
  .dish-name { font-size: 1.05rem; margin-bottom: 0.3rem; }
  .dish-tag { display: none; }
  .dish-desc { font-size: 0.82rem; line-height: 1.5; margin-bottom: 0.6rem; }
  .dish-row { gap: 0.5rem; }
  .dish-no { font-size: 0.68rem; }
  .dish-price { font-size: 1.02rem; }
  .dish-note { font-size: 0.72rem; margin-top: 0.4rem; padding-top: 0.4rem; }
  .dish-grid { gap: 0.85rem; }

  /* Signature-Karte kompakter */
  .signature { margin-bottom: 1.5rem; }
  .signature-media img { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .signature-body { padding: 1.15rem 1.15rem 1.3rem; }
  .signature-label { font-size: 0.64rem; margin-bottom: 0.6rem; }
  .signature-name { font-size: 1.25rem; margin-bottom: 0.5rem; }
  .signature-desc { font-size: 0.88rem; margin-bottom: 0.9rem; }

  .menu-veg-note { font-size: 0.82rem; margin-top: 1.4rem; }
  .menu-pdf { margin-top: 1.5rem; padding: 1.25rem; gap: 1rem; }
  .menu-pdf-text h3 { font-size: 1.15rem; }
  .menu-pdf-text p { font-size: 0.85rem; }
  .menu-pdf .btn { width: 100%; }

  /* --- Mittagskarte --- */
  .lunch { padding-block: 3.25rem; }
  .lunch-grid { gap: 1.9rem; }
  .lunch-text { font-size: 0.93rem; margin-bottom: 1.4rem; }
  .lunch .btn { width: 100%; }
  .lunch-row { padding: 0.75rem 0; gap: 0.9rem; }
  .lunch-row dt { font-size: 0.95rem; }
  .lunch-row dt span { font-size: 0.78rem; }
  .lunch-row dd { font-size: 0.95rem; }

  /* --- Kontakt --- */
  .contact-grid { gap: 2.25rem; }
  .info-block { margin-bottom: 1.6rem; }
  .info-block h3 { font-size: 0.64rem; margin-bottom: 0.55rem; }
  .info-block p { font-size: 0.93rem; }
  .hours th, .hours td { font-size: 0.88rem; padding: 0.55rem 0; }
  .contact-map { min-height: 280px; }
  .map-iframe { min-height: 280px; }

  /* --- Footer --- */
  .footer { padding-top: 2.75rem; }
  .footer-grid { gap: 1.6rem; padding-bottom: 2rem; }
  .footer-tagline { font-size: 0.84rem; margin-top: 0.5rem; }
  .footer h4 { margin-bottom: 0.5rem; }
  .footer-nav a, .footer-legal a, .footer-contact a { min-height: 32px; line-height: 32px; font-size: 0.88rem; }
  .footer-contact p { font-size: 0.88rem; margin-bottom: 0.6rem; }
  .impressum { padding: 1.6rem 0; }
  .impressum p { font-size: 0.78rem; line-height: 1.75; }
}
