/* =========================================================
   K. Bot & Zn. Medemblik
   ========================================================= */

:root {
  /* kleuren */
  --paper:        #fdf5f3;
  --paper-warm:   #fbf2ef;

  --navy:         #17285a;
  --navy-soft:    #2b3c6d;
  --rose:         #d21f4c;
  --rose-soft:    #e2758f;
  --orange:       #e5872a;
  --green:        #2d5a39;
  --green-mid:    #3f6b45;
  --blue:         #4a86c8;
  --purple:       #6a3ea0;

  --card-pink:    #fbe9eb;
  --card-sage:    #eef1ea;
  --card-blue:    #e8edf4;
  --card-peach:   #fdf0e2;

  /* maten */
  --page:         1080px;
  --gutter:       clamp(1.25rem, 4vw, 3rem);
  --radius:       18px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy-soft);
  font-family: "Poppins", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.06rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.2; }
p  { margin: 0; }
ul, dl { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

svg { display: block; }

.script {
  font-family: "Caveat", "Segoe Script", cursive;
  font-weight: 600;
  line-height: 1.25;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(1.5rem, 4vw, 3rem);
  isolation: isolate;
}

.deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.deco--blob-left {
  top: 0;
  left: 0;
  width: clamp(180px, 30vw, 340px);
  height: auto;
}

.deco--leaf {
  top: clamp(1rem, 2.5vw, 2rem);
  left: clamp(0.5rem, 2vw, 2rem);
  width: clamp(62px, 10vw, 124px);
  height: auto;
}

.deco--blob-right {
  top: 0;
  right: 0;
  width: clamp(150px, 26vw, 300px);
  height: auto;
}

.hero__inner {
  max-width: var(--page);
  margin-inline: auto;
  text-align: center;
  position: relative;
}

/* -- wordmark -- */

.wordmark {
  display: grid;
  justify-items: center;
  gap: 0;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.wordmark__name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 9.5vw, 6.2rem);
  letter-spacing: 0.01em;
  color: var(--navy);
  line-height: 1;
}

.wordmark__place {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(0.4rem, 1.5vw, 1rem);
  margin-top: clamp(-0.5rem, -1vw, -0.2rem);
}

.wordmark__place .script {
  font-size: clamp(2rem, 7vw, 4.6rem);
  font-weight: 600;
  color: var(--rose);
  line-height: 1.1;
}

/* Overgetrokken uit de flyer. Daar is het hart 65 px breed bij een woord
   van 343 px. Ons woord is 258 px, dus 65 x 258/343 = 49 px inkt. */
.wordmark__heart {
  width: clamp(31px, 4.92vw, 57px);
  height: auto;
  align-self: center;
  margin-top: clamp(0.5rem, 1.6vw, 1.4rem);
}

.wordmark__swoosh {
  width: clamp(140px, 26vw, 300px);
  height: auto;
  margin-top: clamp(-0.4rem, -0.5vw, 0rem);
}

/* -- intro -- */

.intro {
  max-width: 46rem;
  margin-inline: auto;
}

.intro__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: clamp(0.75rem, 2vw, 1.15rem);
}

.intro__lead {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 300;
  color: var(--navy-soft);
  line-height: 1.75;
}

.intro__promise {
  margin-top: clamp(1rem, 2.5vw, 1.6rem);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 300;
  color: var(--navy-soft);
  line-height: 1.85;
}

.script--accent {
  font-size: 1.42em;
  color: var(--rose);
  font-weight: 600;
}

.intro__heart {
  display: inline-block;
  vertical-align: -0.35em;
  width: 1.5em;
  height: auto;
  margin-left: 0.25em;
}

/* =========================================================
   SECTIES
   ========================================================= */

.section {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section--assortiment { padding-block: clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 3.25rem); }
.section--merken      { padding-block: 0 clamp(1.5rem, 4vw, 2.5rem); }
.section--info        { padding-block: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem); }

/* gestreepte kop: —— ONS ASSORTIMENT —— */
.ruled-heading {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
  font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}
.ruled-heading::before,
.ruled-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rose-soft);
  opacity: 0.6;
}

/* =========================================================
   ASSORTIMENT
   ========================================================= */

.assortiment {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: clamp(0.5rem, 1.5vw, 1.25rem) clamp(0.25rem, 1vw, 0.9rem);
}

.assortiment__item {
  display: grid;
  justify-items: center;
  gap: clamp(0.5rem, 1.2vw, 0.9rem);
  text-align: center;
}

.orb {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orb-bg);
  color: var(--orb-fg);
}

/* De SVG heeft dezelfde maat als de cirkel, dus de tekening staat
   automatisch op precies dezelfde plek als in de flyer. */
.orb img {
  width: 100%;
  height: 100%;
}

.assortiment__label {
  font-size: clamp(0.72rem, 0.6rem + 0.42vw, 0.98rem);
  font-weight: 400;
  color: var(--navy-soft);
  line-height: 1.35;
}

.assortiment__label--tight {
  font-size: clamp(0.62rem, 0.5rem + 0.38vw, 0.85rem);
}

/* =========================================================
   MERKKAARTEN
   ========================================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.9rem, 2.2vw, 1.5rem);
}

.card {
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(0.85rem, 1.8vw, 1.35rem) clamp(1.5rem, 3vw, 2.1rem);
  text-align: center;
}

.card--pink  { background: var(--card-pink);  --card-accent: var(--rose); }
.card--sage  { background: var(--card-sage);  --card-accent: var(--green-mid); }
.card--blue  { background: var(--card-blue);  --card-accent: var(--blue); }
.card--peach { background: var(--card-peach); --card-accent: var(--orange); }

.card__title {
  font-size: clamp(0.9rem, 0.75rem + 0.6vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--card-accent);
  padding-bottom: clamp(0.6rem, 1.5vw, 0.9rem);
  margin: 0 auto clamp(0.9rem, 2vw, 1.35rem);
  width: min(100%, 26rem);
  border-bottom: 1px solid currentColor;
}

.brands {
  display: grid;
  row-gap: clamp(0.35rem, 1vw, 0.62rem);
  font-size: clamp(0.82rem, 0.74rem + 0.3vw, 0.98rem);
  color: var(--navy-soft);
}

/* elke <p> is één regel merken, precies zoals in het ontwerp */
.brands p {
  text-align: center;
  text-wrap: pretty;
}

.brands span { white-space: nowrap; }

.brands span:not(:last-child)::after {
  content: "•";
  color: var(--card-accent);
  margin: 0 0.3em 0 0.35em;
  font-size: 0.9em;
}

.brands__plain { display: block; }

/* laatste merk op een regel krijgt geen punt (zie script onderaan de pagina) */
.brands span.no-sep::after { content: none; }

.card__note {
  margin: clamp(0.35rem, 1vw, 0.6rem) 0;
  font-size: clamp(0.85rem, 0.78rem + 0.3vw, 1.05rem);
  color: var(--navy-soft);
}

/* =========================================================
   INFO
   ========================================================= */

.heart-divider {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.2rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.heart-divider__line {
  flex: 1;
  height: 1px;
  background: var(--rose-soft);
  opacity: 0.55;
}
.heart-divider svg { width: 26px; height: auto; flex: none; }

.info {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.info__col > * + * { margin-top: clamp(0.6rem, 1.5vw, 0.9rem); }
.info__col--center { text-align: center; }

.info__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.2vw, 0.85rem);
  font-size: clamp(0.95rem, 0.8rem + 0.55vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: clamp(0.9rem, 2vw, 1.25rem);
}

.info__title--rose   { color: var(--rose); }
.info__title--green  { color: var(--green); }
.info__title--purple { color: var(--purple); }

.info__icon {
  flex: none;
  width: clamp(30px, 4.5vw, 46px);
  height: auto;
}

/* -- openingstijden -- */

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(0.6rem, 1.6vw, 1.25rem);
  row-gap: clamp(0.45rem, 1.2vw, 0.8rem);
  font-size: clamp(0.85rem, 0.78rem + 0.3vw, 1.02rem);
}
.hours dt { color: var(--navy-soft); white-space: nowrap; }
.hours dd { margin: 0; text-align: right; color: var(--navy-soft); white-space: nowrap; }
.hours__closed { color: var(--rose); }

/* -- adres -- */

.address {
  font-size: clamp(0.9rem, 0.82rem + 0.3vw, 1.08rem);
  line-height: 1.55;
}

.info__rule {
  border: 0;
  border-top: 1px solid var(--green);
  opacity: 0.45;
  width: min(100%, 15rem);
  margin: clamp(0.6rem, 1.5vw, 0.9rem) auto;
}

.contact-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 1.5vw, 1rem);
  font-size: clamp(0.85rem, 0.78rem + 0.3vw, 1.02rem);
  line-height: 1.55;
}

.contact-line--stack { align-items: center; }

.contact-line__icon {
  flex: none;
  width: clamp(24px, 3.4vw, 34px);
  height: auto;
  color: var(--green);
}

/* -- volg ons -- */

.follow {
  font-size: clamp(0.85rem, 0.78rem + 0.3vw, 1.02rem);
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}

.follow__break { display: block; height: 0; }

.follow__script {
  text-align: center;
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.7rem);
  color: var(--purple);
  line-height: 1.15;
}

/* -- social bar -- */

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  flex-wrap: wrap;
  margin-top: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(0.85rem, 2vw, 1.15rem) clamp(1rem, 3vw, 2rem);
  border: 1px solid rgb(210 31 76 / 0.22);
  border-radius: var(--radius);
  background: var(--paper-warm);
}

.social__item {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.5vw, 1rem);
}
.social__item:hover { text-decoration: none; }
.social__item:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.social__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(34px, 5vw, 46px);
  aspect-ratio: 1;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.social__item:hover .social__badge { transform: scale(1.06); }

.social__badge svg { width: 62%; height: auto; }

.social__badge--fb { background: #17285a; color: #fff; }
.social__badge--ig { background: #c62368; color: #fff; }

.social__text {
  display: grid;
  font-size: clamp(0.8rem, 0.74rem + 0.28vw, 0.98rem);
  line-height: 1.4;
}
.social__label { color: var(--navy-soft); font-weight: 300; }
.social__text strong { color: var(--navy); font-weight: 600; }

.social__divider {
  width: 1px;
  align-self: stretch;
  min-height: 2.2rem;
  background: rgb(210 31 76 / 0.28);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: linear-gradient(180deg, #f9d9dd 0%, #fbe6e6 100%);
  padding: clamp(0.7rem, 2vw, 1.1rem) var(--gutter);
}

.footer__line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.6rem);
  color: var(--navy);
  text-align: center;
}

.footer__sep { color: var(--rose); opacity: 0.7; }

.footer__heart { width: 1.1em; height: auto; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1060px) {
  .follow br { display: none; }
}

@media (max-width: 900px) {
  .assortiment { grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1rem; }
  .orb { max-width: 100px; }
  .info { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .info__title { justify-content: center; }
  .hours { max-width: 22rem; margin-inline: auto; }
}

@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .intro__lead br,
  .intro__promise br,
  .follow br { display: none; }
  .deco--blob-right { opacity: 0.75; }
  .social { gap: 1.25rem; }
  .social__divider { display: none; }
  .footer__sep { display: none; }
  .footer__line { gap: 0.15rem 0.6rem; }
  .footer__part { flex: 0 0 100%; }
}

@media (max-width: 460px) {
  .assortiment { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .orb { max-width: 92px; }
  .assortiment__label--tight { font-size: 0.78rem; }
  .brands li { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =========================================================
   PRINT
   ========================================================= */

@media print {
  body { background: #fff; }
  .deco, .skip-link { display: none; }
  .section { page-break-inside: avoid; }
}
