/* ==============================================
   Bootshaus Grohn — styles.css
   Mobile-first · Maritime · Static + PHP
   ============================================== */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: Georgia, 'Times New Roman', serif; color: #1a1a1a; background: #fff; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Tokens --- */
:root {
  --navy:      #13233A;
  --navy-dk:   #0c1825;
  --gold:      #b89b5e;
  --gold-lt:   #d4b96e;
  --sand:      #f5f0e8;
  --muted:     #6b6b6b;
  --white:     #ffffff;
  --r:         6px;
  --max:       1160px;
}

/* --- Utility --- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 4rem 0; }
.eyebrow {
  display: block;
  font-family: sans-serif; font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .5rem;
}
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.45rem, 4vw, 2.2rem); color: var(--navy); margin-bottom: .65rem; }
.section-head p  { max-width: 600px; margin: 0 auto; color: var(--muted); font-size: .95rem; }

/* --- Skip link --- */
.skip-link {
  position: absolute; top: -9999px; left: 1rem;
  background: var(--navy); color: #fff; padding: .5rem 1rem;
  border-radius: var(--r); z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* -----------------------------------------------
   BUTTONS
   ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.4rem; border-radius: var(--r);
  font-size: .92rem; font-weight: 600; font-family: sans-serif;
  cursor: pointer; border: none;
  transition: opacity .18s, background .18s;
  white-space: nowrap; text-decoration: none;
}
.btn:hover     { opacity: .86; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.btn-navy   { background: var(--navy);    color: #fff; }
.btn-gold   { background: var(--gold);    color: #fff; }
.btn-light  {
  background: rgba(255,255,255,.14); color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.btn-light:hover      { background: rgba(255,255,255,.24); opacity: 1; }
.btn-whatsapp         { background: #25D366; color: #fff; }
.btn-google-reserve   { background: #fff; color: #444; border: 1.5px solid #ddd; }

/* -----------------------------------------------
   HEADER / NAV
   ----------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(0,0,0,.28);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto;
  padding: .7rem 1.25rem; gap: 1rem;
}

.brand { display: flex; align-items: center; gap: .7rem; color: #fff; flex-shrink: 0; }
.brand-logo  { height: 42px; width: auto; }
.brand strong { display: block; font-size: .98rem; letter-spacing: .06em; line-height: 1.2; }
.brand small  { display: block; font-size: .7rem; opacity: .72; font-weight: 400; font-family: sans-serif; }

/* Burger */
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .45rem; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav menu — mobile first */
.nav-menu {
  display: none; flex-direction: column; gap: .2rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--navy-dk);
  padding: .75rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav-menu.open { display: flex; }
.nav-menu a {
  color: rgba(255,255,255,.82); font-family: sans-serif; font-size: .92rem;
  padding: .55rem .5rem; border-radius: 4px;
  transition: background .14s, color .14s;
}
.nav-menu a:hover { background: rgba(255,255,255,.08); color: #fff; opacity: 1; }
.nav-cta { margin-top: .4rem; align-self: flex-start; }

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex; flex-direction: row; align-items: center; gap: .2rem;
    position: static; background: none; padding: 0; border: none;
  }
  .nav-menu a { font-size: .85rem; padding: .4rem .6rem; }
  .nav-cta { margin-top: 0; }
}

/* -----------------------------------------------
   HERO
   ----------------------------------------------- */
.hero {
  position: relative;
  height: 72vh; min-height: 320px; max-height: 680px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;   /* terrace + water visible on mobile */
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,24,37,.80) 0%,
    rgba(12,24,37,.28) 55%,
    transparent 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  padding: 2rem 1.25rem 2.25rem;
  color: #fff;
  width: 100%;
}
.hero-content .eyebrow { color: rgba(255,255,255,.72); }
.hero-content h1 {
  font-size: clamp(1.75rem, 6vw, 3.1rem);
  line-height: 1.15; margin-bottom: .65rem;
}
.hero-content .lead {
  max-width: 540px; font-size: clamp(.9rem, 2vw, 1.08rem);
  opacity: .9; margin-bottom: 1.4rem; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

@media (min-width: 768px) {
  .hero { height: 80vh; }
  .hero-bg img { object-position: center 55%; }
  .hero-content { padding: 3rem 2rem; max-width: var(--max); margin: 0 auto; }
}

/* -----------------------------------------------
   FEATURE STRIP
   ----------------------------------------------- */
.feature-strip {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  padding: 2.5rem 1.25rem;
  max-width: var(--max); margin: 0 auto;
}
.feature-strip article {
  text-align: center; padding: 1.5rem 1rem;
  background: var(--sand); border-radius: var(--r);
}
.feature-strip .icon { font-size: 2rem; display: block; margin-bottom: .4rem; }
.feature-strip h2 { font-size: 1rem; color: var(--navy); margin-bottom: .3rem; }
.feature-strip p  { font-size: .88rem; color: var(--muted); }

@media (min-width: 580px) { .feature-strip { grid-template-columns: repeat(3, 1fr); } }

/* -----------------------------------------------
   GALLERY
   ----------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.gallery-grid figure {
  margin: 0; position: relative;
  overflow: hidden; border-radius: var(--r);
  background: #e0ddd8;
  /* aspect-ratio sets the height; padding-bottom is the iOS fallback */
  aspect-ratio: 4/3;
  padding-bottom: 0;   /* overridden below if aspect-ratio unsupported */
}
/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 4/3) {
  .gallery-grid figure         { padding-bottom: 75%; }      /* 4:3 */
  .gallery-grid figure.gallery-large { padding-bottom: 56.25%; } /* 16:9 */
  .gallery-grid figure.gallery-wide  { padding-bottom: 43.75%; } /* 16:7 */
}
.gallery-grid figure.gallery-large { aspect-ratio: 16/9; }
.gallery-grid figure.gallery-wide  { aspect-ratio: 16/7; }

.gallery-grid img {
  /* Absolute fill — works on every mobile browser */
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .4s ease;
}
.gallery-grid figure:hover img { transform: scale(1.03); }

/* Per-slot object-position for mobile correctness */
.gallery-slot-terrasse   img { object-position: center 65%; }   /* show water + awning */
.gallery-slot-buiten     img { object-position: center 50%; }   /* tables */
.gallery-slot-hafendet   img { object-position: center 55%; }   /* lavender + harbour */
.gallery-slot-buffet     img { object-position: center 38%; }   /* show food, not ceiling */
.gallery-slot-innen1     img { object-position: center 50%; }   /* tables + windows */
.gallery-slot-bar        img { object-position: center 42%; }   /* bar + decoration */
.gallery-slot-events     img { object-position: center 38%; }   /* buffet table */

.gallery-grid figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: #fff; font-size: .78rem; font-family: sans-serif;
  padding: .8rem .75rem .45rem; pointer-events: none;
}

/* Tablet */
@media (min-width: 580px) {
  .gallery-grid-expanded { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-expanded .gallery-large { grid-column: span 2; aspect-ratio: 21/9; }
  .gallery-grid-expanded figure { aspect-ratio: 4/3; }
}

/* Desktop */
@media (min-width: 900px) {
  .gallery-grid-expanded { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid-expanded .gallery-large { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 380px; }
  .gallery-grid-expanded .gallery-wide  { grid-column: span 2; }
  .gallery-grid-expanded figure.gallery-large { aspect-ratio: auto; }
}

/* -----------------------------------------------
   MENU NOTE
   ----------------------------------------------- */
.menu-note-bar {
  background: var(--sand);
  text-align: center;
  padding: 2rem 1.25rem;
  border-top: 1px solid #e5dece;
  border-bottom: 1px solid #e5dece;
}
.menu-note-bar p {
  max-width: 640px; margin: 0 auto;
  color: var(--muted); font-size: .93rem; line-height: 1.7;
}
.menu-note-bar a { color: var(--navy); text-decoration: underline; }

/* -----------------------------------------------
   EVENTS
   ----------------------------------------------- */
.events-section { background: var(--navy); color: #fff; }
.events-section .eyebrow { color: var(--gold-lt); }
.events-section h2 { color: #fff; }
.events-section > .container > * { color: rgba(255,255,255,.82); }

.event-hero {
  display: flex; flex-direction: column; gap: 2rem;
  margin-bottom: 2.5rem; align-items: flex-start;
}
.event-hero img {
  width: 100%; border-radius: var(--r);
  aspect-ratio: 16/9; object-fit: cover; object-position: center 38%;
  order: -1;
}
.event-hero > div { display: flex; flex-direction: column; gap: 1rem; }
.event-hero h2 { color: #fff; }
.event-hero p   { color: rgba(255,255,255,.82); }

.event-cards { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.event-cards article {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 1.4rem;
}
.event-cards h3 { font-size: .98rem; color: #fff; margin-bottom: .35rem; }
.event-cards p  { font-size: .88rem; color: rgba(255,255,255,.74); margin-bottom: .6rem; }
.event-cards a  { color: var(--gold-lt); font-size: .86rem; text-decoration: underline; font-family: sans-serif; }

@media (min-width: 600px) { .event-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .event-hero { flex-direction: row; align-items: center; gap: 3rem; }
  .event-hero img { width: 45%; flex-shrink: 0; order: 0; }
}

/* -----------------------------------------------
   RESERVATION
   ----------------------------------------------- */
.reservation-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
.reservation-grid h2 { color: var(--navy); margin-bottom: .6rem; font-size: clamp(1.3rem, 3.5vw, 1.9rem); }
.section-copy { color: var(--muted); margin-bottom: 1.25rem; font-size: .95rem; }

.info-list { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.5rem; }
.info-list div { display: flex; flex-direction: column; gap: .15rem; }
.info-list strong { color: var(--navy); font-size: .92rem; font-family: sans-serif; }
.info-list span   { color: var(--muted); font-size: .85rem; }

.quick-reserve { margin: 0 0 .5rem; }
.quick-reserve-label { font-size: .83rem; color: var(--muted); margin-bottom: .55rem; font-family: sans-serif; }
.quick-reserve-btns  { display: flex; flex-wrap: wrap; gap: .65rem; }
.quick-reserve-or    { margin-top: .9rem; font-size: .83rem; color: var(--muted); font-family: sans-serif; }

/* Form */
.reservation-form {
  background: var(--sand);
  padding: 1.75rem 1.25rem;
  border-radius: var(--r);
}
.reservation-form h3   { color: var(--navy); margin-bottom: .2rem; font-size: 1.1rem; }
.form-note             { color: var(--muted); font-size: .85rem; margin-bottom: 1.1rem; }
.form-row {
  display: grid; grid-template-columns: 1fr; gap: .9rem; margin-bottom: .9rem;
}
.reservation-form label {
  display: flex; flex-direction: column; gap: .28rem;
  font-size: .84rem; color: var(--navy); font-family: sans-serif; font-weight: 600;
}
.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 100%; padding: .58rem .7rem;
  border: 1.5px solid #ccc; border-radius: 4px;
  font-size: .93rem; background: #fff; color: #1a1a1a;
  font-family: Georgia, serif;
  transition: border-color .18s;
}
.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus { outline: none; border-color: var(--navy); }

.reservation-form fieldset { border: none; margin: .9rem 0; }
.reservation-form legend  {
  font-size: .84rem; font-weight: 700; color: var(--navy);
  margin-bottom: .55rem; font-family: sans-serif;
}
.reservation-form fieldset label {
  flex-direction: row; align-items: flex-start; gap: .5rem;
  font-weight: 400; margin-bottom: .32rem; cursor: pointer;
}
.reservation-form fieldset input[type="checkbox"] { width: auto; margin-top: 3px; flex-shrink: 0; }
.reservation-form button[type="submit"] {
  margin-top: 1.1rem; width: 100%; justify-content: center;
  padding: .85rem; font-size: 1rem;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-status { margin-top: .65rem; font-size: .88rem; font-family: sans-serif; min-height: 1.3em; }
.form-status--ok    { color: #1a7a3c; }
.form-status--error { color: #b92b2b; }

@media (min-width: 520px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .reservation-grid { grid-template-columns: 1fr 1.55fr; align-items: start; }
  .reservation-form { padding: 2.25rem 2rem; }
}

/* -----------------------------------------------
   CONTACT
   ----------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.contact-card h2 { color: var(--navy); margin-bottom: .65rem; font-size: clamp(1.3rem, 3.5vw, 1.9rem); }
.contact-card > p { color: var(--muted); margin-bottom: 1rem; }
.contact-card ul  { display: flex; flex-direction: column; gap: .55rem; }
.contact-card li  { font-size: .9rem; color: var(--muted); }
.contact-card strong { color: #1a1a1a; }
.contact-card a      { color: var(--navy); text-decoration: underline; }

.map-card a   { display: block; border-radius: var(--r); overflow: hidden; }
.map-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.map-card p   { text-align: center; margin-top: .5rem; font-size: .82rem; color: var(--muted); }

@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* -----------------------------------------------
   FOOTER
   ----------------------------------------------- */
.footer { background: var(--navy-dk); color: rgba(255,255,255,.68); padding: 3rem 0 1.75rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.75rem;
  margin-bottom: 2rem;
}
.footer-logo { height: 38px; width: auto; margin-bottom: .65rem; opacity: .55; filter: brightness(0) invert(1); }
.footer p    { font-size: .86rem; line-height: 1.7; }
.footer h3   { color: rgba(255,255,255,.88); font-size: .88rem; margin-bottom: .45rem; font-family: sans-serif; }
.footer a    { color: rgba(255,255,255,.68); text-decoration: underline; font-size: .86rem; }
.footer a:hover { color: #fff; opacity: 1; }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.1rem; text-align: center;
  font-size: .76rem; color: rgba(255,255,255,.35); font-family: sans-serif;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

/* -----------------------------------------------
   SPEISEKARTE / MENU
   ----------------------------------------------- */
.menu-section { background: var(--navy-dk); }
.menu-section .section-head h2  { color: #fff; }
.menu-section .section-head p   { color: rgba(255,255,255,.65); }
.menu-section .eyebrow          { color: var(--gold-lt); }

/* Tab list */
.menu-tabs {
  display: flex; flex-wrap: wrap; gap: .4rem;
  justify-content: center; margin-bottom: 2rem;
  role: tablist;
}
.menu-tab {
  padding: .5rem .95rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  color: rgba(255,255,255,.75);
  font-family: sans-serif; font-size: .82rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background .16s, color .16s, border-color .16s;
}
.menu-tab:hover  { background: rgba(255,255,255,.14); color: #fff; }
.menu-tab.active {
  background: var(--gold); border-color: var(--gold);
  color: #fff;
}

/* Menu card */
.menu-card {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 860px) {
  .menu-card { grid-template-columns: 1fr 320px; align-items: start; }
  .menu-image { position: sticky; top: 90px; }
}

.menu-image img {
  width: 100%; border-radius: var(--r);
  aspect-ratio: 4/3; object-fit: cover; object-position: center 40%;
}

/* Items */
.menu-items { display: flex; flex-direction: column; gap: .1rem; }

.menu-section-head {
  display: flex; align-items: center; gap: .5rem;
  color: var(--gold-lt);
  font-family: sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin: 1.5rem 0 .6rem; padding-bottom: .4rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.menu-section-head:first-child { margin-top: 0; }

.menu-item {
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.menu-item:last-child { border-bottom: none; }

.menu-item-header {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 1rem;
}
.menu-item-name  { color: #fff; font-size: .95rem; line-height: 1.35; flex: 1; }
.menu-item-price {
  color: var(--gold-lt); font-family: sans-serif;
  font-size: .92rem; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.menu-item-desc  {
  color: rgba(255,255,255,.55); font-size: .82rem;
  font-family: sans-serif; margin-top: .2rem; line-height: 1.4;
}

/* Variant rows (e.g. 0,3 l / 0,5 l) */
.menu-item-variants {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem;
}
.menu-variant {
  display: flex; gap: .35rem; align-items: center;
  font-family: sans-serif; font-size: .84rem;
}
.menu-variant-label { color: rgba(255,255,255,.55); }
.menu-variant-price { color: var(--gold-lt); font-weight: 700; }
