/* Restaurant Seeblick — Demo-Website für ricooess.ch
   Palette: Nachtblau des Sees, warmes Messing, gebrochenes Weiss. */

@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-vf.woff2') format('woff2-variations');
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-vf.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #0d1b22;
  --deep: #122b34;
  --lake: #1d4a54;
  --mist: #cfdde0;
  --paper: #f6f2ea;
  --paper-dim: #ece5d8;
  --brass: #c9a227;
  --brass-soft: #e2c766;
  --ink: #16232a;
  --ink-soft: #46585f;
  --radius: 14px;
  --shadow: 0 24px 60px -30px rgba(9, 24, 30, .55);
  --wrap: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}

section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

/* ---------- Demo-Hinweis ---------- */

.demobar {
  background: var(--night);
  color: var(--mist);
  font-size: .82rem;
  letter-spacing: .02em;
  text-align: center;
  padding: .55rem 1rem;
}
.demobar strong { color: var(--brass-soft); font-weight: 600; }
.demobar a { color: #fff; text-underline-offset: 3px; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(13, 27, 34, .82);
  backdrop-filter: blur(14px);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { font-family: 'Fraunces', serif; font-size: 1.28rem; font-weight: 600; line-height: 1; }
.brand__sub { display: block; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-soft); }

.nav__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: .95rem; opacity: .85; transition: opacity .2s, color .2s; }
.nav__links a:hover { opacity: 1; color: var(--brass-soft); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  color: inherit;
  padding: .5rem .7rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s, color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn--brass { background: var(--brass); color: #17110a; }
.btn--brass:hover { background: var(--brass-soft); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--dark { background: var(--night); color: var(--paper); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(3rem, 7vw, 6rem);
  color: var(--paper);
  overflow: hidden;
  background: linear-gradient(180deg, #0b1a24 0%, #123642 55%, #1d4a54 100%);
}
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__scene svg { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { text-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.hero p { font-size: 1.15rem; color: #dfe9ea; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .9rem;
  color: #c3d5d8;
}
.hero__facts b { display: block; font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--brass-soft); }

/* ---------- Allgemeine Bausteine ---------- */

.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid rgba(22, 35, 42, .09);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: 0 12px 30px -24px rgba(13, 27, 34, .6);
}

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.band { background: var(--deep); color: var(--paper); }
.band .section-head p { color: #b9cbcf; }
.band .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: var(--paper); }

/* ---------- Geschichte ---------- */

.story { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.quote {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  line-height: 1.45;
  border-left: 3px solid var(--brass);
  padding-left: 1.2rem;
  margin: 2rem 0 0;
  color: var(--ink);
}
.quote span { display: block; font-family: 'Inter', sans-serif; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: .8rem; }

/* ---------- Karte / Menü ---------- */

/* Immer nur ein Register sichtbar — ohne Begrenzung liefe die Karte sonst über
   die ganze Seitenbreite und Gericht und Preis lägen unlesbar weit auseinander. */
.menu-list { max-width: 760px; }

.menu-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.menu-tab {
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .92rem;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.menu-tab[aria-selected="true"] { background: var(--brass); border-color: var(--brass); color: #17110a; font-weight: 600; }

.dish { display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .16); }
.dish__body { flex: 1; }
.dish__name { font-family: 'Fraunces', serif; font-size: 1.12rem; margin: 0; }
.dish__desc { margin: .25rem 0 0; font-size: .93rem; color: #a9bfc4; }
.dish__price { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--brass-soft); white-space: nowrap; }
.dish__tags { display: inline-flex; gap: .35rem; margin-left: .5rem; vertical-align: middle; }
.tag {
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(226, 199, 102, .5);
  color: var(--brass-soft);
  border-radius: 999px;
  padding: .12rem .5rem;
}

/* ---------- Reservation ---------- */

.booking {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 340px;
}
.booking__main { padding: clamp(1.6rem, 3vw, 2.6rem); }
.booking__aside { background: var(--deep); color: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem); }
.booking__aside h3 { color: #fff; }
.booking__aside dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 1.5rem 0 0; font-size: .95rem; }
.booking__aside dt { color: #9db4b9; }
.booking__aside dd { margin: 0; text-align: right; font-weight: 600; }

.steps { display: flex; gap: .4rem; margin-bottom: 2rem; }
.steps li {
  flex: 1;
  list-style: none;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: .6rem;
  border-top: 3px solid rgba(22, 35, 42, .12);
  transition: color .25s, border-color .25s;
}
.steps li[data-state="active"] { color: var(--ink); border-top-color: var(--brass); font-weight: 600; }
.steps li[data-state="done"] { border-top-color: var(--lake); color: var(--lake); }

.step { display: none; }
.step[data-active] { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice {
  border: 1px solid rgba(22, 35, 42, .18);
  background: #fff;
  border-radius: 10px;
  padding: .65rem 1rem;
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s;
}
.choice:hover { border-color: var(--lake); }
.choice[aria-pressed="true"] { background: var(--lake); border-color: var(--lake); color: #fff; font-weight: 600; }
.choice[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.cal { margin-top: 1rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.cal__head strong { font-family: 'Fraunces', serif; font-size: 1.1rem; }
.cal__nav { display: flex; gap: .4rem; }
.cal__nav button {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(22, 35, 42, .18);
  background: #fff;
  cursor: pointer;
  font: inherit;
}
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: .3rem; }
.cal__day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--paper-dim);
  font: inherit;
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cal__day:hover:not([disabled]) { background: var(--mist); }
.cal__day[disabled] { background: transparent; color: rgba(22, 35, 42, .25); cursor: not-allowed; }
.cal__day[aria-pressed="true"] { background: var(--lake); color: #fff; font-weight: 600; }
.cal__day--empty { background: transparent; border: 0; cursor: default; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .72rem .9rem;
  border: 1px solid rgba(22, 35, 42, .2);
  border-radius: 10px;
  font: inherit;
  font-size: .95rem;
  background: #fff;
  color: inherit;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--lake); outline-offset: 1px; border-color: transparent; }
.field small { display: block; color: var(--ink-soft); font-size: .8rem; margin-top: .3rem; }
.field--error input { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: .82rem; margin-top: .3rem; display: none; }
.field--error .field__error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.step__actions { display: flex; gap: .8rem; margin-top: 1.8rem; }
.hint { font-size: .88rem; color: var(--ink-soft); }

.confirm { text-align: center; padding: 1rem 0; }
.confirm__mark { width: 72px; height: 72px; margin: 0 auto 1.2rem; }
.confirm__ref {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  letter-spacing: .1em;
  background: var(--paper-dim);
  border-radius: 10px;
  padding: .5rem 1.2rem;
  margin: .5rem 0 1rem;
}

.mybookings { margin-top: 2rem; }
.mybookings ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .6rem; }
.mybookings li {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: .7rem .9rem;
  font-size: .9rem;
}
.mybookings li span { margin-right: auto; }
.mybookings button {
  background: none;
  border: 1px solid rgba(255, 255, 255, .3);
  color: inherit;
  border-radius: 8px;
  font: inherit;
  font-size: .8rem;
  padding: .25rem .6rem;
  cursor: pointer;
}

/* ---------- Öffnungszeiten & Kontakt ---------- */

.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(22, 35, 42, .1); }
.hours li[data-today] { color: var(--lake); font-weight: 600; }
.hours li[data-today]::after { content: 'heute'; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--mist); }

/* ---------- Footer ---------- */

.footer { background: var(--night); color: #a9bfc4; padding: 4rem 0 2rem; font-size: .92rem; }
.footer h4 { color: var(--paper); font-family: 'Fraunces', serif; font-size: 1.05rem; margin: 0 0 .8rem; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--brass-soft); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .84rem;
}

/* ---------- Bewegung ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 940px) {
  .booking { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--night);
    flex-direction: column;
    gap: 0;
    padding: .5rem 1.25rem 1.25rem;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .nav__links[data-open] { display: flex; }
  .nav__links a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav .btn { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .step[data-active] { animation: none; }
  .btn:hover { transform: none; }
}
