/* waasup.nl, voorbeeldsite bakkerij: eigen ontwerp, los van de stijl van Waasup. Dit is een van de drie startontwerpen. */
@font-face { font-family: "Caprasimo"; src: url(fonts/caprasimo-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/albert-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/albert-sans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url(fonts/albert-sans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --crust: #A9471A;
  --crust-dark: #7C3010;
  --rye: #2C1A10;
  --rye-soft: #5A4032;
  --flour: #F7EEDF;
  --flour-deep: #EFDFC6;
  --butter: #F4C24D;
  --paper: #FFFBF3;
  --gutter: clamp(18px, 4vw, 64px);
  --display: "Caprasimo", Georgia, serif;
  --body: "Albert Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--flour); color: var(--rye); font: 400 18px/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rye); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sample-strip { padding: 7px var(--gutter); background: var(--rye); color: var(--flour); font-size: 13.5px; text-align: center; }

.sample-strip__link { color: inherit; font-weight: 700; text-underline-offset: 3px; }

.nuu-banner { background: var(--crust); color: #fff; font-size: 16px; font-weight: 500; }
.nuu-banner__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; max-width: 1200px; margin: 0 auto; padding: 10px 20px; text-align: center; }
.nuu-banner__label { padding: 3px 8px; border-radius: 4px; background: var(--butter); color: var(--rye); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px var(--gutter); }
.header__nav { display: flex; gap: 26px; font-weight: 500; }
.header__link { text-decoration: none; }
.header__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.header__logo { font: 400 40px/1 var(--display); color: var(--crust-dark); text-decoration: none; }
.header__status { justify-self: end; display: flex; align-items: center; gap: 9px; font-weight: 700; }
.header__dot { width: 11px; height: 11px; border-radius: 50%; background: #2E7D4F; }
.header__dot.is-closed { background: var(--crust); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 64px); align-items: end; min-height: 660px; padding: clamp(40px, 6vw, 80px) var(--gutter); background: var(--rye); color: var(--paper); isolation: isolate; }
.hero__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36, 18, 8, .86) 0%, rgba(36, 18, 8, .6) 48%, rgba(36, 18, 8, .1) 100%); }
.hero__title { max-width: 11em; font: 400 clamp(46px, 7vw, 104px)/.98 var(--display); }
.hero__lead { max-width: 28em; margin-top: 22px; font-size: 21px; }
.hero__button { display: inline-block; margin-top: 28px; padding: 15px 26px; border-radius: 10px; background: var(--butter); color: var(--rye); font-size: 18px; font-weight: 700; text-decoration: none; }
.hero__button:hover { background: #F8D272; }
.hero :focus-visible { outline-color: var(--butter); }

.ticket { padding: 24px 24px 20px; background: var(--paper); color: var(--rye); box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .6); transform: rotate(1.2deg); }
.ticket__title { font: 400 28px/1.1 var(--display); color: var(--crust-dark); }
.ticket__text { margin-top: 4px; color: var(--rye-soft); font-size: 15.5px; }
.ticket__list { margin-top: 14px; border-top: 2px dashed var(--flour-deep); }
.ticket__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 2px dashed var(--flour-deep); font-weight: 500; }
.ticket__time { font-weight: 700; font-variant-numeric: tabular-nums; }

.shelf { padding: clamp(56px, 8vw, 112px) var(--gutter); }
.shelf__inner { max-width: 1240px; margin: 0 auto; }
.shelf__title { max-width: 13em; font: 400 clamp(36px, 4.6vw, 68px)/1.04 var(--display); color: var(--crust-dark); }
.shelf__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(32px, 4vw, 56px); }
.loaf { display: flex; flex-direction: column; }
.loaf--big { grid-column: span 7; }
.loaf--tall { grid-column: span 5; }
.loaf__photo { width: 100%; height: 420px; object-fit: cover; border-radius: 6px; }
.loaf__line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 12px; }
.loaf__name { font: 400 26px/1.15 var(--display); }
.loaf__price { font-size: 20px; font-weight: 700; }
.loaf__text { color: var(--rye-soft); font-size: 16.5px; }

.bread-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); margin-top: clamp(28px, 4vw, 48px); border-top: 2px solid var(--crust-dark); }
.bread-list__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid #DCC8A8; }
.bread-list__name { font: 400 23px/1.2 var(--display); }
.bread-list__price { font-size: 19px; font-weight: 700; }

.week { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--butter); }
.week__content { padding: clamp(40px, 7vw, 104px) var(--gutter); }
.week__title { font: 400 clamp(38px, 5vw, 76px)/1 var(--display); }
.week__text { max-width: 27em; margin-top: 20px; font-size: 20px; }
.week__price { margin-top: 18px; font-size: 22px; font-weight: 700; }
.week__photo { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

.cake { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gutter); }
.cake__title { font: 400 clamp(36px, 4.4vw, 64px)/1.04 var(--display); color: var(--crust-dark); }
.cake__text { max-width: 30em; margin-top: 18px; }
.cake__button { display: inline-block; margin-top: 24px; padding: 14px 24px; border-radius: 10px; background: var(--crust); color: #fff; font-weight: 700; text-decoration: none; }
.cake__button:hover { background: var(--crust-dark); }

.visit { background: var(--rye); color: var(--flour); }
.visit__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter); }
.visit__title { font: 400 clamp(36px, 4.4vw, 64px)/1.04 var(--display); color: var(--butter); }
.visit__text { max-width: 26em; margin-top: 18px; }
.visit__phone { display: inline-block; margin-top: 16px; font-size: 24px; font-weight: 700; }
.visit :focus-visible { outline-color: var(--butter); }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(247, 238, 223, .24); }
.hours__row.is-today { color: var(--butter); font-weight: 700; }

.footer { padding: 18px var(--gutter); background: var(--rye); border-top: 1px solid rgba(247, 238, 223, .24); color: var(--flour); font-size: 14.5px; text-align: center; }

@media (max-width: 900px) {
  .header { grid-template-columns: 1fr auto; }
  .header__nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 120px; }
  .hero::before { background: linear-gradient(180deg, rgba(36, 18, 8, .35) 0%, rgba(36, 18, 8, .85) 60%); }
  .ticket { transform: none; }
  .loaf--big, .loaf--tall { grid-column: 1 / -1; }
  .loaf__photo { height: 280px; }
  .bread-list { grid-template-columns: 1fr; }
  .week, .cake, .visit__inner { grid-template-columns: 1fr; }
  .week__photo { min-height: 280px; }
}
