/* Eetcafé Flipper, demo-homepage */

@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/CabinetGrotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/Satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/Satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/Satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Zand (de gerechten zijn op zand gefotografeerd), diepzeeblauw uit het logo, koraalrood als enige accent */
:root {
  --bg: #f4ecd9;
  --bg-2: #ebdfc3;
  --surface: #fbf7ee;
  --ink: #0f2a43;
  --ink-soft: #3d5469;
  --line: rgb(15 42 67 / .14);
  --accent: #b9322b;
  --accent-ink: #fff8f0;
  --accent-hover: #9f2a24;
  --deep: #0f2a43;
  --deep-ink: #f4ecd9;
  --shadow: 0 18px 50px rgb(64 46 12 / .16);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1c2c;
    --bg-2: #10263a;
    --surface: #132c43;
    --ink: #f1e9d6;
    --ink-soft: #b7c3cf;
    --line: rgb(241 233 214 / .16);
    --accent: #ff8a7d;
    --accent-ink: #1a0e0c;
    --accent-hover: #ffa497;
    --deep: #071521;
    --deep-ink: #f1e9d6;
    --shadow: 0 18px 50px rgb(0 0 0 / .4);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 "Satoshi", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a, button, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Cabinet Grotesk", "Satoshi", sans-serif; font-weight: 800; line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.5rem; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(100% - 32px, 1240px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* Logo heeft donkerblauwe letters: in donkere modus op een zandkleurige schijf */
@media (prefers-color-scheme: dark) {
  .nav__brand img, .hero__logo, .foot__inner img { background: #f4ecd9; border-radius: 50%; padding: 4px; }
  .hero__logo { padding: 10px; }
}

/* Knoppen */
.btn { display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 1rem/1 "Satoshi", sans-serif; text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--deep-ink); color: var(--deep); }
.btn--light:hover { background: #fff; }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico--arrow, .link:hover .ico--arrow { transform: translateX(3px); }
.link .ico { transition: transform .3s var(--ease); }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-underline-offset: 4px; }
.link:hover { color: var(--accent); }

/* Navigatie */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.25rem/1 "Cabinet Grotesk", sans-serif; letter-spacing: -.01em; }
.nav__brand img { width: 52px; height: auto; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a:not(.btn) { text-decoration: none; font-weight: 500; padding: 8px 0; position: relative; }
.nav__menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }
@media (max-width: 860px) {
  .nav__toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
  .nav__toggle .ico { width: 26px; height: 26px; grid-area: 1 / 1; }
  .nav__toggle .ico--close, .nav__toggle[aria-expanded="true"] .ico--open { display: none; }
  .nav__toggle[aria-expanded="true"] .ico--close { display: block; }
  .nav__menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform-origin: top; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .3s var(--ease), visibility .2s; }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__menu a:not(.btn) { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__call { margin-top: 16px; justify-content: center; }
}

/* Hero */
.hero { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(28px, 6vw, 72px) clamp(56px, 8vw, 104px); min-height: calc(100dvh - 72px); }
.eyebrow { font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero__title { font-size: clamp(2.4rem, 4.7vw, 4.2rem); line-height: .98; letter-spacing: -.03em; }
.hero__title .line { display: block; }
.hero__title .line + .line { color: var(--ink-soft); }
.hero__sub { margin-top: 22px; font-size: 1.2rem; max-width: 34ch; color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__media { position: relative; margin: 0; }
.hero__frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero__logo { position: absolute; width: clamp(110px, 13vw, 170px); left: clamp(-56px, -4vw, -20px); bottom: clamp(-40px, -3vw, -20px); filter: drop-shadow(0 10px 18px rgb(15 42 67 / .25)); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; }
  .hero__media { order: -1; }
  .hero__frame { aspect-ratio: 4 / 3; }
  .hero__logo { left: auto; right: 10px; top: 10px; bottom: auto; width: 88px; }
  .hero__sub { font-size: 1.1rem; }
}

/* Cafetaria en eetcafé */
.duo { display: grid; grid-template-columns: 4fr 7fr; gap: 20px; padding-bottom: clamp(64px, 9vw, 120px); }
.duo__card { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.duo__card--snack { background: var(--accent); color: var(--accent-ink); }
.duo__card--snack .duo__img { background: #fff; display: grid; place-items: center; padding-top: 16px; }
.duo__card--snack .duo__img img { max-height: 340px; width: auto; transition: transform .6s var(--ease); }
.duo__card--snack:hover .duo__img img { transform: rotate(-4deg) translateY(-6px); }
.duo__card--diner { background: var(--deep); color: var(--deep-ink); }
.duo__card--diner .duo__img { aspect-ratio: 16 / 9; overflow: hidden; }
.duo__card--diner .duo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.duo__card--diner:hover .duo__img img { transform: scale(1.04); }
.duo__txt { padding: 28px 30px 32px; display: grid; gap: 10px; margin-top: auto; }
.duo__kicker { font-weight: 700; opacity: .85; }
.duo__txt h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.duo__txt p:last-child { max-width: 46ch; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* Gerechtenstrook */
.pan { background: var(--bg-2); padding-block: clamp(56px, 8vw, 96px); overflow: hidden; }
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) { .pan { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding-top: 104px; } }
.pan__head { margin-bottom: 36px; }
.pan__track { display: flex; align-items: flex-end; gap: 22px; padding-inline: max(16px, calc((100vw - 1240px) / 2)); width: max-content; }
.dish { margin: 0; flex: none; }
.dish img { border-radius: var(--radius); object-fit: cover; box-shadow: 0 10px 30px rgb(64 46 12 / .14); }
.dish--wide img { width: clamp(280px, 34vw, 480px); aspect-ratio: 3 / 2; }
.dish--tall img { width: clamp(200px, 19vw, 280px); aspect-ratio: 2 / 3; }
.dish figcaption { margin-top: 12px; font-weight: 700; font-size: 1.05rem; }
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .pan__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
  .dish { scroll-snap-align: start; }
  .dish--wide img { width: 78vw; max-width: 420px; }
  .dish--tall img { width: 52vw; max-width: 260px; }
}

/* De kaart */
.menu { padding-block: clamp(64px, 9vw, 120px); }
.menu__head { display: grid; gap: 14px; margin-bottom: 28px; }
.menu__head p { color: var(--ink-soft); max-width: 52ch; font-size: 1.1rem; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: transparent; color: var(--ink); font: 700 .98rem/1 "Satoshi", sans-serif; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.tabs button:hover { border-color: var(--ink); }
.tabs button:active { transform: scale(.97); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.panel { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.panel__grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.panel__grid:has(.group--wide) { grid-template-columns: 2fr 1.1fr; }
.panel__grid:not(:has(.group + .group)):not(:has(.group--wide)) { grid-template-columns: 1fr 1.1fr; }
.group h3 { font-size: 1.35rem; margin-bottom: 10px; }
.group h3:not(:first-child) { margin-top: 28px; }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.group li { padding: 7px 0; }
.group li span { display: block; font-size: .92rem; color: var(--ink-soft); }
.group ul.cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.note { color: var(--ink-soft); margin-bottom: 8px; }
.group ul + .note { margin-top: 14px; }
.panel__img { margin: 0; }
.panel__img img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) {
  .panel__grid, .panel__grid:has(.group--wide), .panel__grid:not(:has(.group + .group)):not(:has(.group--wide)) { grid-template-columns: 1fr; }
  .panel__img { order: -1; }
}
@media (max-width: 420px) { .group ul.cols { grid-template-columns: 1fr; } }

/* Over ons */
.about { position: relative; padding-bottom: clamp(64px, 9vw, 120px); }
.about__media { height: clamp(360px, 70vh, 680px); overflow: hidden; }
.about__media img { width: 100%; height: 118%; object-fit: cover; }
.about__card { margin-top: clamp(-200px, -16vw, -80px); position: relative; }
.about__inner { background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 4.5vw, 56px); max-width: 680px; margin-left: auto; box-shadow: var(--shadow); display: grid; gap: 16px; }
.about__inner h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.about__inner p { color: var(--ink-soft); font-size: 1.1rem; }

/* Route */
.route { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-bottom: clamp(64px, 9vw, 120px); }
.route__copy { display: grid; gap: 20px; }
.route__copy > p { color: var(--ink-soft); font-size: 1.15rem; max-width: 46ch; }
address { font-style: normal; font-size: 1.15rem; line-height: 1.55; }
.route__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.route__places { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.route__places li { font: 800 clamp(2rem, 4.4vw, 3.6rem)/1.05 "Cabinet Grotesk", sans-serif; letter-spacing: -.025em; }
.route__places li:nth-child(2) { padding-left: 8%; color: var(--accent); }
.route__places li:nth-child(3) { padding-left: 16%; }
@media (max-width: 860px) { .route { grid-template-columns: 1fr; } }

/* Catering */
.catering { background: var(--deep); color: var(--deep-ink); padding-block: clamp(64px, 9vw, 112px); }
.catering__inner { display: grid; gap: 20px; justify-items: start; }
.catering h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
.catering p { max-width: 50ch; font-size: 1.15rem; opacity: .9; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(64px, 9vw, 120px); }
.contact__info { display: grid; gap: 18px; align-content: start; }
.contact__info > p { color: var(--ink-soft); font-size: 1.1rem; max-width: 40ch; }
.contact__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; font-size: 1.1rem; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list .ico { color: var(--accent); width: 22px; height: 22px; }
.contact__list a { text-underline-offset: 4px; }
.form { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 2px solid color-mix(in srgb, var(--ink) 45%, transparent); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; transition: border-color .2s; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--accent); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--accent); }
.err { color: var(--accent); font-size: .95rem; font-weight: 500; min-height: 0; }
.err:empty { display: none; }
.form .btn { justify-self: start; }
.form__done { background: var(--bg-2); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 500; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px; }
.foot__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: center; }
.foot__inner img { width: 72px; }
.foot__inner p { line-height: 1.55; }
.foot a { text-underline-offset: 4px; }
.foot__copy { grid-column: 1 / -1; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 600px) { .foot__inner { grid-template-columns: 1fr; } }

/* Beweging alleen als die gewenst is */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
