/* De Gouden Schaar
   Basis uit de Winkelierweb-template: alleen reset en toegankelijkheid.
   Al het andere (fonts, kleuren, layout, menu, open/gesloten-status, animaties) is per winkel uniek
   en schrijf je hieronder bij "Design". De class-afspraken met js/main.js staan in index.html. */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; line-height: 1.5; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

/* ---------- Toegankelijkheid ---------- */
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Design ---------- */
@font-face { font-family: "Josefin Sans"; src: url("/fonts/josefin-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("/fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --nacht: #0b1b5e;      /* het donkerblauw van de ruiten */
  --nacht-diep: #07123f;
  --blauw: #1746b8;      /* de band onder het logo */
  --lucht: #8fd0f2;      /* de lichtblauwe golf van de posters */
  --goud: #d9b45a;
  --goud-donker: #7a5b12;
  --kozijn: #ffffff;
  --linnen: #f5f1e8;
  --baksteen: #a5492f;
  --inkt: #0d1740;
  --sans: "Josefin Sans", "Century Gothic", "Trebuchet MS", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --tegels: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 18'%3E%3Crect width='54' height='18' fill='%23efe4cf'/%3E%3Cpath d='M9 0l9 9-9 9-9-9z' fill='%23a5492f'/%3E%3Cpath d='M27 0l9 9-9 9-9-9z' fill='%232f62b8'/%3E%3Cpath d='M45 0l9 9-9 9-9-9z' fill='%23ffffff'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { font-family: var(--sans); font-size: 1.125rem; line-height: 1.65; color: var(--inkt); background: var(--linnen); }
a { color: inherit; }
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.skip-link { background: var(--goud); color: var(--nacht-diep); font-weight: 600; border-radius: .25rem; }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }
h1 em, h2 em, .merk__naam em { font-style: italic; color: var(--goud); }
h1 { font-size: clamp(2.8rem, 6.6vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }

/* Het kniplijntje van de ruit: stippellijn met tekst */
.kniplijn { display: flex; align-items: center; gap: .9rem; font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.kniplijn::before { content: ""; flex: 0 0 3rem; border-top: 2px dashed currentColor; opacity: .75; }

/* De ruitjestegels boven de deur */
.tegelband { height: 18px; background: var(--tegels) repeat-x center / 54px 18px; }
.tegelband--breed { height: 22px; background-size: 66px 22px; border-block: 3px solid var(--kozijn); box-sizing: content-box; }

/* ---------- Knoppen ---------- */
.knop { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .95rem 1.6rem .75rem; font-weight: 600; font-size: 1rem; letter-spacing: .04em; text-decoration: none; border-radius: 1.6rem 1.6rem .3rem .3rem; border: 2px solid transparent; transition: transform .2s, background-color .2s, color .2s, border-color .2s; }
.knop:hover { transform: translateY(-2px); }
.knop--goud { background: var(--goud); color: var(--nacht-diep); }
.knop--goud:hover { background: #e8c873; }
.knop--lijn { border-color: rgba(255,255,255,.55); color: #fff; }
.knop--lijn:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.knop--blauw { background: var(--nacht); color: #fff; }
.knop--blauw:hover { background: var(--blauw); }
.knop--lijn-donker { border-color: var(--nacht); color: var(--nacht); }
.knop--lijn-donker:hover { background: var(--nacht); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--nacht-diep); color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.merk { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; }
.merk__icoon { color: var(--goud); flex: none; }
.merk__tekst { display: grid; line-height: 1; }
.merk__naam { font-family: var(--serif); font-size: 1.65rem; line-height: 1; white-space: nowrap; }
.merk__naam em { font-size: 1.25em; line-height: .8; }
.merk__sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lucht); margin-top: .3rem; white-space: nowrap; }

.nav-toggle { display: grid; place-items: center; width: 3rem; height: 3rem; background: none; border: 2px solid rgba(255,255,255,.4); border-radius: .9rem .9rem .2rem .2rem; cursor: pointer; }
.nav-toggle__streep, .nav-toggle__streep::before, .nav-toggle__streep::after { display: block; width: 1.3rem; height: 2px; background: #fff; transition: transform .25s; }
.nav-toggle__streep { position: relative; }
.nav-toggle__streep::before, .nav-toggle__streep::after { content: ""; position: absolute; left: 0; }
.nav-toggle__streep::before { top: -.42rem; }
.nav-toggle__streep::after { top: .42rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle__streep { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__streep::before { transform: translateY(.42rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__streep::after { transform: translateY(-.42rem) rotate(-45deg); }
.no-js .nav-toggle { display: none; }

.site-nav { display: flex; flex-direction: column; gap: .25rem; }
.site-nav a { text-decoration: none; font-size: 1rem; padding: .7rem 0 .5rem; }
.site-nav a:hover { color: var(--goud); }
.site-nav__bel { color: var(--goud); font-weight: 600; }
@media (max-width: 1023px) {
  .site-header__in { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; padding: .5rem 0 1.25rem; border-top: 1px dashed rgba(255,255,255,.3); }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav a { font-size: 1.15rem; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { flex-direction: row; align-items: center; gap: 1.6rem; }
  .site-nav a { font-size: .95rem; }
  .site-nav__bel { border: 2px solid var(--goud); border-radius: 1.2rem 1.2rem .25rem .25rem; padding: .6rem 1rem .4rem !important; }
  .site-nav__bel:hover { background: var(--goud); color: var(--nacht-diep) !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--nacht); }
/* de golven van de posters */
.hero::before, .hero::after { content: ""; position: absolute; left: -10%; width: 120%; border-radius: 50%; pointer-events: none; }
.hero::before { bottom: -17rem; height: 26rem; background: var(--blauw); transform: rotate(-4deg); }
.hero::after { bottom: -20rem; height: 26rem; background: var(--nacht-diep); transform: rotate(3deg); }
.hero__in { position: relative; z-index: 1; display: grid; gap: 3rem; padding-block: 2.75rem 4rem; }
.hero .kniplijn { color: var(--lucht); margin-bottom: 1.4rem; }
.hero__lead { margin-top: 1.5rem; max-width: 34rem; color: #dfe6fb; }
.hero__knoppen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.score { display: inline-flex; align-items: center; gap: .9rem; margin-top: 2.2rem; text-decoration: none; }
.score__cijfer { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--goud); }
.score__rest { display: grid; font-size: .92rem; line-height: 1.35; color: #dfe6fb; }
.score:hover .score__rest span:last-child { text-decoration: underline; }
.sterren { color: var(--goud); letter-spacing: .12em; font-size: 1rem; }
.sterren__leeg { opacity: .3; }

/* De pui: wit kozijn met boog, tegelband erboven, bordje aan de deur */
.pui { position: relative; width: min(100%, 27.5rem); margin-inline: auto; }
.pui .tegelband { height: 22px; background-size: 66px 22px; margin: 0 1.6rem; border: 4px solid var(--kozijn); border-bottom: 0; border-radius: .5rem .5rem 0 0; box-sizing: content-box; }
.pui__kozijn { background: var(--kozijn); padding: .7rem; border-radius: 2.2rem 2.2rem .3rem .3rem; box-shadow: 0 1.8rem 3.5rem -1.2rem rgba(0,0,0,.6); }
.pui__foto { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 30%; border-radius: 1.6rem 1.6rem .1rem .1rem; background: var(--nacht-diep); }
.deurbordje { position: absolute; left: -.6rem; bottom: 1.6rem; display: flex; align-items: center; gap: .6rem; max-width: calc(100% - 1rem); padding: .8rem 1.1rem .6rem; background: var(--linnen); color: var(--inkt); font-size: .95rem; font-weight: 600; line-height: 1.25; border-radius: .3rem; box-shadow: 0 .8rem 1.6rem -.5rem rgba(0,0,0,.5); transform: rotate(-3deg); outline: 2px dashed var(--goud-donker); outline-offset: -6px; }
.deurbordje__stip { flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: #9aa0b4; margin-top: -.15rem; }
.open-status[data-open="true"] .deurbordje__stip { background: #1f9d55; box-shadow: 0 0 0 0 rgba(31,157,85,.6); animation: klop 2.2s infinite; }
.open-status[data-open="false"] .deurbordje__stip { background: var(--baksteen); }
@keyframes klop { 70% { box-shadow: 0 0 0 .55rem rgba(31,157,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,85,0); } }

@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3.5rem; padding-block: 3.5rem 5rem; }
  .pui { margin-inline: auto 0; }
  .deurbordje { left: -2.2rem; }
}

/* ---------- Etalage: de drie ruiten ---------- */
.etalage { padding-block: clamp(4rem, 9vw, 7rem); }
.kop { max-width: 44rem; margin-bottom: 3rem; }
.kop .kniplijn { color: var(--goud-donker); margin-bottom: 1.1rem; }
.kop h2 em, .binnen h2 em, .bezoek h2 em { color: var(--blauw); }
.kop > p:last-child { margin-top: 1.2rem; max-width: 38rem; }

.ruiten { display: grid; gap: 1.1rem; padding: 1.1rem; background: var(--kozijn); border-radius: 2rem 2rem .4rem .4rem; box-shadow: 0 1.5rem 3rem -1.8rem rgba(11,27,94,.45); }
.ruit { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.6rem 1.5rem 2.4rem; color: #fff; background: var(--nacht); border-radius: 5rem 5rem .2rem .2rem; }
.ruit--midden { background: var(--blauw); }
.ruit__icoon { color: var(--goud); margin-bottom: 1rem; }
.ruit h3 { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 2px dashed rgba(255,255,255,.45); }
.ruit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: 1.1rem; line-height: 1.35; }
@media (min-width: 820px) {
  .ruiten { grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; }
  .ruit { border-radius: 7rem 7rem .2rem .2rem; padding-top: 3.2rem; }
}

/* ---------- Loop eens binnen ---------- */
.binnen { padding-bottom: clamp(4rem, 9vw, 7rem); }
.binnen__in { display: grid; gap: 2.5rem; align-items: center; }
.binnen__foto { background: var(--kozijn); padding: .6rem; border-radius: .3rem; box-shadow: 0 1.5rem 3rem -1.6rem rgba(11,27,94,.5); transform: rotate(-1.5deg); max-width: 30rem; }
.binnen__foto img { width: 100%; border-radius: .15rem; }
.binnen .kniplijn { color: var(--goud-donker); margin-bottom: 1.1rem; }
.binnen__tekst p:not(.kniplijn) { margin-top: 1.2rem; max-width: 36rem; }
.binnen__tekst .knop { margin-top: 1.8rem; }
@media (min-width: 900px) { .binnen__in { grid-template-columns: .85fr 1fr; gap: 4.5rem; } }

/* ---------- Reviews: kaartjes aan een stippeldraad ---------- */
.reviews { background: var(--nacht-diep); color: #fff; padding-block: clamp(4rem, 9vw, 6.5rem); }
.kop--licht .kniplijn { color: var(--lucht); }
.reviews__cijfer { color: var(--goud); font-size: 1.5em; line-height: .8; }
.reviews h2 em { color: #fff; }
.labels { display: grid; gap: 2.2rem 1.5rem; padding-top: 1.4rem; border-top: 2px dashed rgba(255,255,255,.4); }
.label { position: relative; background: var(--linnen); color: var(--inkt); padding: 2.6rem 1.6rem 1.5rem; border-radius: 1.2rem 1.2rem .3rem .3rem; outline: 2px dashed rgba(122,91,18,.6); outline-offset: -8px; }
.label::before { content: ""; position: absolute; top: .95rem; left: 50%; width: .9rem; height: .9rem; margin-left: -.45rem; border-radius: 50%; background: var(--nacht-diep); }
.label::after { content: ""; position: absolute; top: -1.4rem; left: 50%; height: 2.6rem; border-left: 2px solid var(--goud); }
.label .sterren { color: var(--goud-donker); }
.label blockquote { margin-top: .6rem; font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; }
.label figcaption { margin-top: 1.1rem; font-weight: 600; font-size: .95rem; }
.label figcaption span { display: block; font-weight: 400; font-size: .85rem; color: #4a5173; }
.label:nth-child(odd) { transform: rotate(-1.2deg); }
.label:nth-child(even) { transform: rotate(1deg); }
.reviews__meer { margin-top: 2.2rem; }
.reviews__meer a { color: var(--goud); font-weight: 600; text-underline-offset: .3em; }
@media (min-width: 820px) { .labels { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Bezoek ---------- */
.bezoek { padding-block: clamp(4rem, 9vw, 7rem); }
.bezoek__in { display: grid; gap: 3rem; align-items: start; }
.bezoek .kniplijn { color: var(--goud-donker); margin-bottom: 1.1rem; }
.bezoek address { margin-top: 1.6rem; font-size: 1.25rem; line-height: 1.5; }
.bezoek__parkeren { margin-top: 1.2rem; max-width: 34rem; padding-left: 1rem; border-left: 2px dashed var(--goud-donker); }
.bezoek__knoppen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.bezoek__social { margin-top: 1.6rem; }
.bezoek__social a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; text-underline-offset: .3em; }
.bezoek__social a:hover { color: var(--blauw); }

.tijdenbord { background: var(--nacht); color: #fff; padding: 2.6rem 1.5rem 2rem; border-radius: 5rem 5rem .3rem .3rem; border: .6rem solid var(--kozijn); box-shadow: 0 1.5rem 3rem -1.8rem rgba(11,27,94,.5); }
.tijdenbord h3 { text-align: center; color: var(--goud); }
.tijdenbord__status { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .9rem 0 1.4rem; padding-bottom: 1.4rem; font-weight: 600; line-height: 1.3; text-align: center; border-bottom: 2px dashed rgba(255,255,255,.4); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .5rem .6rem .3rem; font-weight: 400; text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-closed { color: #b9c3e8; }
.hours .is-today th, .hours .is-today td { background: var(--goud); color: var(--nacht-diep); font-weight: 600; }
.hours .is-today th { border-radius: .3rem 0 0 .3rem; }
.hours .is-today td { border-radius: 0 .3rem .3rem 0; }
@media (min-width: 900px) {
  .bezoek__in { grid-template-columns: 1.1fr .9fr; gap: 4.5rem; }
  .tijdenbord { padding-inline: 2.4rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--nacht-diep); color: #dfe6fb; padding-block: 3rem; text-align: center; }
.site-footer__in { display: grid; gap: .8rem; justify-items: center; }
.site-footer .merk__naam { font-size: 2.2rem; color: #fff; }
.site-footer a { text-underline-offset: .3em; }
.site-footer a:hover { color: var(--goud); }
.site-footer__klein { font-size: .85rem; color: #b9c3e8; }

/* ---------- 404 ---------- */
.niet-gevonden { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 1.4rem; padding: 2rem; text-align: center; background: var(--nacht); color: #fff; }
.niet-gevonden .merk__naam { font-size: 2rem; }
.niet-gevonden p { max-width: 28rem; color: #dfe6fb; }

/* ---------- Animatie: omhoog komen als een naald door de stof ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 1.6rem; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-visible { opacity: 1; translate: 0 0; }
  .js .ruit.reveal:nth-child(2), .js .label.reveal:nth-child(2) { transition-delay: .12s; }
  .js .ruit.reveal:nth-child(3), .js .label.reveal:nth-child(3) { transition-delay: .24s; }
  .hero__tekst > * { animation: inrijgen .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero__tekst > :nth-child(2) { animation-delay: .08s; }
  .hero__tekst > :nth-child(3) { animation-delay: .16s; }
  .hero__tekst > :nth-child(4) { animation-delay: .24s; }
  .hero__tekst > :nth-child(5) { animation-delay: .32s; }
  @keyframes inrijgen { from { opacity: 0; transform: translateY(1.2rem); } }
}
@media (max-width: 480px) { .kniplijn { font-size: .74rem; letter-spacing: .1em; gap: .6rem; } .kniplijn::before { flex-basis: 1.8rem; } }
.niet-gevonden .tegelband { width: min(16.875rem, 80vw); }
