/* ===========================================================
   Binnen & Buten — Stylesheet
   Palette:
     --sand      #FBF3E2  Dünensand (background)
     --ink       #163430  Tiefsee (body text)
     --marine    #17495A  Ostseeblau (headlines, nav, footer)
     --marine-2  #0E323F  Ostseeblau dunkel
     --teal      #128C82  Bootslackgrün (secondary accent, links)
     --orange    #F2891E  Sanddornorange (CTA / highlight)
     --thatch    #9C6B3E  Reetbraun (dividers, texture)
     --cream-2   #F4E8CE  Dünensand dunkler (cards)
   Type:
     Display  -> 'Fredoka'      (rounded, playful, headlines)
     Chalk    -> 'Caveat'       (handwritten, chalkboard callouts)
     Body     -> 'Nunito Sans'  (clean body copy)
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Caveat:wght@600;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;0,6..12,800;1,6..12,600&display=swap');

:root{
  --sand:#FBF3E2;
  --cream-2:#F4E8CE;
  --ink:#163430;
  --marine:#17495A;
  --marine-2:#0E323F;
  --teal:#128C82;
  --orange:#F2891E;
  --orange-dark:#D9720E;
  --thatch:#9C6B3E;
  --white:#FFFDF8;

  --display: 'Fredoka', ui-rounded, system-ui, sans-serif;
  --chalk: 'Caveat', cursive;
  --body: 'Nunito Sans', ui-sans-serif, system-ui, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 40px -18px rgba(14,50,63,0.35);
  --shadow-card: 0 12px 28px -14px rgba(14,50,63,0.28);
  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

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

body{
  margin:0;
  font-family:var(--body);
  background:var(--sand);
  color:var(--ink);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

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

h1,h2,h3,h4{
  font-family:var(--display);
  color:var(--marine);
  margin:0 0 .5em;
  line-height:1.12;
  font-weight:600;
}
h1{ font-size:clamp(2.4rem, 5vw, 4.1rem); font-weight:700; }
h2{ font-size:clamp(1.9rem, 3.4vw, 2.7rem); }
h3{ font-size:clamp(1.3rem, 2vw, 1.6rem); }

p{ margin:0 0 1em; }
a{ color:var(--teal); }

.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 28px;
}

.eyebrow{
  font-family:var(--chalk);
  font-size:1.35rem;
  color:var(--orange-dark);
  display:inline-block;
  margin-bottom:.15em;
  transform:rotate(-2deg);
}

.lede{
  font-size:1.18rem;
  color:var(--marine-2);
  max-width:60ch;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family:var(--display);
  font-weight:600;
  font-size:1rem;
  padding:.85em 1.6em;
  border-radius:999px;
  text-decoration:none;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary{
  background:var(--orange);
  color:var(--white);
  box-shadow:0 10px 22px -8px rgba(242,137,30,.55);
}
.btn-primary:hover{ transform:translateY(-2px); background:var(--orange-dark); }
.btn-ghost{
  background:transparent;
  border-color:rgba(255,253,248,.55);
  color:var(--white);
}
.btn-ghost:hover{ background:rgba(255,253,248,.14); transform:translateY(-2px); }
.btn-outline{
  background:transparent;
  border-color:var(--marine);
  color:var(--marine);
}
.btn-outline:hover{ background:var(--marine); color:var(--white); transform:translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(23,73,90,.92);
  backdrop-filter:blur(6px);
  color:var(--white);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:.6em;
  text-decoration:none;
  font-family:var(--chalk);
  color:var(--white);
  font-size:2rem;
  line-height:1;
}
.brand .amp{ color:var(--orange); }
.brand-mark{
  width:38px; height:38px;
  flex:none;
}
.nav-links{
  display:flex; align-items:center; gap:28px;
  list-style:none; margin:0; padding:0;
  font-family:var(--display);
  font-size:.98rem;
  font-weight:500;
}
.nav-links a{
  color:var(--white);
  text-decoration:none;
  opacity:.88;
  position:relative;
  padding:4px 2px;
}
.nav-links a:hover{ opacity:1; }
.nav-links a.active{ opacity:1; }
.nav-links a.active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-6px;
  height:3px; border-radius:3px;
  background:var(--orange);
}
.nav-cta{
  background:var(--orange);
  color:var(--white) !important;
  padding:.6em 1.3em;
  border-radius:999px;
  font-weight:600;
}
.nav-toggle{
  display:none;
  background:none; border:none; color:var(--white);
  font-size:1.8rem; cursor:pointer;
}

@media (max-width: 880px){
  .nav-toggle{ display:block; }
  .nav-links{
    position:fixed; inset:64px 0 0 0;
    background:var(--marine-2);
    flex-direction:column;
    align-items:flex-start;
    padding:28px;
    gap:22px;
    font-size:1.2rem;
    transform:translateX(100%);
    transition:transform .3s ease;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-cta{ margin-top:6px; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  color:var(--white);
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(14,50,63,.55) 0%, rgba(14,50,63,.72) 55%, rgba(14,50,63,.92) 100%);
}
.hero-inner{
  position:relative;
  padding:120px 0 150px;
}
.hero-inner.small{ padding:80px 0 110px; }
.hero h1{ color:var(--white); max-width:14ch; }
.hero .lede{ color:rgba(255,253,248,.92); font-size:1.22rem; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:1.6em; }

.wave-divider{
  position:absolute; left:0; right:0; bottom:-1px; line-height:0;
}
.wave-divider svg{ width:100%; height:auto; display:block; }

/* ---------- Sections ---------- */
section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.section-alt{ background:var(--cream-2); }
.section-marine{ background:var(--marine); color:var(--white); }
.section-marine h2, .section-marine h3{ color:var(--white); }

.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Grid / Cards ---------- */
.grid{ display:grid; gap:28px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:880px){
  .grid-3{ grid-template-columns:1fr 1fr; }
  .grid-2{ grid-template-columns:1fr; }
}
@media (max-width:620px){
  .grid-3{ grid-template-columns:1fr; }
}

.card{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:30px 26px;
  box-shadow:var(--shadow-card);
}
.card .icon{
  width:52px; height:52px;
  margin-bottom:14px;
}
.card h3{ margin-bottom:.35em; }
.card p{ color:var(--marine-2); margin-bottom:0; }

.photo-card{
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  position:relative;
}
.photo-card img{ width:100%; height:100%; object-fit:cover; }

/* organic blob-crop used sparingly on feature photo */
.blob{
  border-radius:63% 37% 54% 46% / 45% 41% 59% 55%;
  overflow:hidden;
}

/* ---------- Chalkboard signature component ---------- */
.chalkboard{
  position:relative;
  background:
    radial-gradient(120% 140% at 15% 10%, rgba(255,255,255,.05), transparent 40%),
    #1B3B34;
  color:#F3EFD9;
  border-radius:var(--radius-md);
  padding:34px 32px;
  box-shadow: var(--shadow-soft), inset 0 0 0 8px #4A3421, inset 0 0 0 11px #2c2013;
  font-family:var(--chalk);
}
.chalkboard .board-label{
  font-family:var(--body);
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.72rem;
  color:var(--orange);
  margin-bottom:10px;
  display:inline-block;
}
.chalkboard h3, .chalkboard p, .chalkboard .price{
  font-family:var(--chalk);
  color:#F3EFD9;
}
.chalkboard h3{ font-size:2rem; margin-bottom:.2em; }
.chalkboard p{ font-size:1.32rem; line-height:1.35; }
.chalkboard .price{
  font-size:1.6rem;
  color:var(--orange);
  font-weight:700;
}
.chalk-nail{
  position:absolute; top:14px; width:10px; height:10px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #e7ddb8, #8a8362 70%);
  box-shadow:0 2px 4px rgba(0,0,0,.4);
}
.chalk-nail.left{ left:16px; }
.chalk-nail.right{ right:16px; }

/* ---------- Tag / pill ---------- */
.tag{
  display:inline-block;
  background:rgba(18,140,130,.12);
  color:var(--teal);
  font-family:var(--display);
  font-weight:600;
  font-size:.82rem;
  padding:.4em 1em;
  border-radius:999px;
  margin:0 8px 8px 0;
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--marine-2);
  color:rgba(255,253,248,.85);
  padding:64px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:40px;
  margin-bottom:40px;
}
@media (max-width:760px){
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
}
.footer-grid h4{
  color:var(--white);
  font-family:var(--display);
  font-size:1rem;
  letter-spacing:.03em;
  text-transform:uppercase;
  margin-bottom:.9em;
}
.footer-brand{
  font-family:var(--chalk);
  font-size:2.1rem;
  color:var(--white);
  margin-bottom:.3em;
  display:block;
}
.footer-grid a{ color:rgba(255,253,248,.85); text-decoration:none; }
.footer-grid a:hover{ color:var(--orange); }
.footer-grid ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.footer-bottom{
  border-top:1px solid rgba(255,253,248,.14);
  padding-top:22px;
  font-size:.86rem;
  color:rgba(255,253,248,.55);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}

/* ---------- Misc shared ---------- */
.hours-table{ width:100%; border-collapse:collapse; }
.hours-table td{ padding:6px 0; border-bottom:1px dashed rgba(255,253,248,.2); }
.hours-table td:last-child{ text-align:right; font-weight:700; }

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

.page-hero-bg{ background-size:cover; background-position:center; }

/* ---------- Menu list ---------- */
.menu-section{ margin-bottom:56px; }
.menu-section-head{
  display:flex; align-items:baseline; gap:16px;
  margin-bottom:8px;
}
.menu-section-head h3{ margin-bottom:0; white-space:nowrap; }
.menu-section-head .rule{
  flex:1; height:0; border-top:3px dotted var(--thatch); opacity:.55;
  transform:translateY(-6px);
}
.menu-section-note{ color:var(--marine-2); opacity:.8; font-size:.95rem; margin:-2px 0 20px; }

.menu-list{ display:flex; flex-direction:column; gap:22px; }
.menu-item{ display:flex; gap:18px; justify-content:space-between; align-items:baseline; }
.menu-item-text{ flex:1; }
.menu-item-text .name{
  font-family:var(--display); font-weight:600; color:var(--marine);
  font-size:1.08rem; margin-bottom:2px; display:block;
}
.menu-item-text .desc{ color:var(--marine-2); font-size:.96rem; margin:0; }
.menu-item .price{
  font-family:var(--display); font-weight:600; color:var(--orange-dark);
  white-space:nowrap; font-size:1.05rem;
}

.menu-tabs-nav{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom:44px;
}
.menu-tabs-nav a{
  font-family:var(--display); font-weight:600; font-size:.9rem;
  color:var(--marine); text-decoration:none;
  background:var(--white); border:2px solid var(--cream-2);
  padding:.5em 1.1em; border-radius:999px;
}
.menu-tabs-nav a:hover{ border-color:var(--orange); color:var(--orange-dark); }

.drink-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px 28px; }
@media (max-width:620px){ .drink-grid{ grid-template-columns:1fr; } }
.drink-row{ display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px dashed rgba(22,52,48,.15); }
.drink-row .dname{ color:var(--ink); }
.drink-row .dprice{ font-weight:700; color:var(--orange-dark); white-space:nowrap; }

.allergen-note{
  font-size:.85rem; color:var(--marine-2); opacity:.8;
  border-top:1px solid rgba(22,52,48,.12); padding-top:18px; margin-top:8px;
}

.partner-strip{
  display:flex; flex-wrap:wrap; gap:10px 10px;
  margin-top:18px;
}

/* ---------- Gallery ---------- */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  grid-auto-rows:190px;
  gap:16px;
}
.gallery-grid .g-item{ grid-column:span 2; grid-row:span 1; }
.gallery-grid .g-tall{ grid-row:span 2; }
.gallery-grid .g-wide{ grid-column:span 4; }
@media (max-width:880px){
  .gallery-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:160px; }
  .gallery-grid .g-wide{ grid-column:span 2; }
}
@media (max-width:520px){
  .gallery-grid{ grid-template-columns:1fr; grid-auto-rows:220px; }
  .gallery-grid .g-item{ grid-column:span 1; }
  .gallery-grid .g-wide{ grid-column:span 1; }
}
.gallery-grid button{
  all:unset; cursor:zoom-in; display:block; width:100%; height:100%;
  border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-card);
  position:relative;
}
.gallery-grid img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.gallery-grid button:hover img{ transform:scale(1.06); }

.lightbox{
  position:fixed; inset:0; z-index:1000;
  background:rgba(14,50,63,.92);
  display:none; align-items:center; justify-content:center;
  padding:40px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width:min(1100px,92vw); max-height:86vh; border-radius:14px; box-shadow:0 30px 60px rgba(0,0,0,.5); }
.lightbox-close{
  position:absolute; top:22px; right:28px;
  background:rgba(255,253,248,.15); color:#fff; border:none;
  width:44px; height:44px; border-radius:50%; font-size:1.4rem; cursor:pointer;
}
.lightbox-close:hover{ background:rgba(255,253,248,.28); }

.breadcrumb-eyebrow{
  font-family:var(--chalk); font-size:1.5rem; color:var(--orange);
  transform:rotate(-1.5deg); display:inline-block;
}
