/* Eet & zo — Anne Leferink diëtist
   Eén gedeelde stylesheet voor alle pagina's. */

:root {
  --oranje: #DE8703;
  --oranje-licht: #F29400;
  --oranje-rood: #D7500A;
  --grijs-tekst: #7F7F7F;
  --grijs-vlak: #EEEEEE;
  --zwart: #000000;
  --wit: #FFFFFF;
  --breedte: 1100px;
  --header-hoogte: 100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wit);
  color: var(--zwart);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--oranje); text-decoration: none; }
a:hover { color: var(--zwart); }

h1, h2, h3, h4 { font-weight: 500; text-transform: uppercase; line-height: 1.2; margin: 0 0 .6em; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--breedte);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / navigatie ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--wit);
  height: var(--header-hoogte);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { width: 133px; height: 80px; }

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0 60px;
}

.nav a {
  display: block;
  color: var(--zwart);
  font-size: 17px;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav a:hover { color: var(--oranje); }
.nav a[aria-current="page"] { color: var(--oranje); border-bottom-color: var(--oranje); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: var(--zwart);
  transition: transform .2s, opacity .2s;
}

/* ---------- Knoppen ---------- */

.btn {
  display: inline-block;
  min-width: 175px;
  padding: 6px 30px;
  background: var(--oranje);
  color: var(--wit);
  text-align: center;
  text-transform: uppercase;
  font-size: 17px;
  line-height: 29px;
  border-radius: 30px 0 30px 0;
  transition: background .2s;
}
.btn:hover { background: var(--zwart); color: var(--wit); }
.btn--groot { font-size: 29px; line-height: 49px; min-width: 175px; }

/* ---------- Home: hero ---------- */

.hero {
  /* Foto staat vast bij het scrollen; de rest van de pagina schuift eroverheen */
  background: #F1E6E0 url("../images/hero.jpg") no-repeat;
  background-size: auto 500px;
  background-position: right 0 top var(--header-hoogte);
  background-attachment: fixed;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero h1 {
  color: var(--oranje-rood);
  font-size: 42px;
  line-height: 50px;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero .intro {
  color: #736357;
  font-size: 17px;
  margin: 0 0 40px 70px;
}

/* ---------- Home: dieetadvies kan helpen bij ---------- */

.helpen {
  position: relative;
  padding: 80px 0 40px;
  overflow-x: clip; /* kaarten mogen wegschuiven zonder horizontale scrollbalk */
}

.kaart[data-schuif] { will-change: transform; }
.helpen::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 340px;
  background: var(--oranje-licht);
  z-index: -1;
}

.helpen h2 {
  color: var(--wit);
  text-align: center;
  font-size: 38px;
  margin-bottom: 50px;
}

.kaarten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.kaart { text-align: center; }

.kaart .foto {
  aspect-ratio: 265 / 210;
  border: 10px solid var(--wit);
  border-radius: 50px 0 50px 0;
  background: var(--wit) no-repeat center;
  background-size: cover;
  margin-bottom: 18px;
}

.kaart h3 {
  color: var(--oranje);
  font-size: 20px;
  margin-bottom: 14px;
}

.kaart p {
  color: var(--grijs-tekst);
  min-height: 120px;
}

/* ---------- Home: formulier + info ---------- */

.kennismaking {
  padding: 60px 0;
}
.kennismaking .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.formulier-blok {
  background: var(--grijs-vlak);
  padding: 30px 36px 50px;
}
.formulier-blok h2 { font-size: 24px; line-height: 41px; }
.formulier-blok > p { color: var(--grijs-tekst); font-size: 14px; line-height: 24px; }

.contactformulier input,
.contactformulier textarea {
  display: block;
  width: 100%;
  border: 0;
  background: var(--wit);
  padding: 12px;
  margin-bottom: 20px;
  font: inherit;
  font-size: 15px;
  color: #444;
}
.contactformulier textarea { height: 80px; resize: vertical; }
.contactformulier input::placeholder,
.contactformulier textarea::placeholder { color: #999; }

.contactformulier button {
  width: 100%;
  border: 0;
  background: var(--oranje);
  color: var(--wit);
  font: inherit;
  font-size: 17px;
  text-transform: uppercase;
  padding: 10px;
  cursor: pointer;
}
.contactformulier button:hover { background: var(--zwart); }
.form-status { font-size: 14px; font-style: italic; color: #777; margin-top: 12px; min-height: 1.4em; }

.info-blok h2 { font-size: 24px; line-height: 41px; margin-bottom: 8px; }
.info-blok h2 a { color: var(--zwart); }
.info-blok p { color: var(--grijs-tekst); margin-bottom: 36px; }
.info-blok p a { color: var(--grijs-tekst); }
.info-blok p a:hover { color: var(--oranje); }
.amp { color: var(--oranje); }

/* ---------- Partners ---------- */

.partners {
  padding: 50px 0 70px;
}
.partners .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.partners img { height: 80px; width: auto; }
.partners img.klein { height: 62px; }

/* ---------- Banner (oranje sinaasappel) ---------- */

.banner {
  position: relative;
  padding: 18px 20px;
  text-align: center;
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/orange-wallpaper.jpg") no-repeat center bottom;
  background-size: cover;
  opacity: .5;
  z-index: -1;
}
.banner p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 24px;
  line-height: 29px;
  text-transform: uppercase;
}

/* ---------- Subpagina's ---------- */

.pagina-titel {
  position: relative;
  padding: 30px 0;
  overflow: hidden;
}
.pagina-titel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/orange-wallpaper.jpg") no-repeat center;
  background-size: cover;
  z-index: -1;
}
.pagina-titel h1 {
  color: var(--wit);
  font-size: 38px;
  margin: 0;
  padding-left: 300px;
}

.inhoud {
  padding: 50px 0 70px;
}
.inhoud .container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
}

.zijkant img {
  border-radius: 50px 0 50px 0;
  margin-bottom: 30px;
}

/* Rijen: elke afbeelding begint op de hoogte van het kopje ernaast */
.inhoud--rijen .container { row-gap: 50px; }
.inhoud--rijen .tekst > h2:first-child { margin-top: 0; }
.zijkant img.logo-beeld { border-radius: 0; }

.tekst { max-width: 640px; color: #555; font-size: 16px; }
.tekst h2 {
  color: var(--oranje);
  font-size: 20px;
  margin-top: 50px;
  scroll-margin-top: calc(var(--header-hoogte) + 20px);
}
.tekst h2:first-child { margin-top: 0; }
.tekst h3 {
  color: var(--zwart);
  font-size: 16px;
  text-transform: none;
  font-weight: 700;
  margin: 1.6em 0 .3em;
}
.tekst ul { padding-left: 1.4em; margin: 0 0 1em; }
.tekst li { margin-bottom: .2em; }
.tekst .accent { color: var(--oranje); }
.tekst .notitie { color: var(--oranje); font-size: 13px; line-height: 1.6; }
.tekst .notitie strong { font-weight: 400; }
.tekst .download { text-transform: uppercase; }
.tekst .adres { margin-bottom: 1.4em; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 30px 0 10px;
  font-size: 16px;
  line-height: 1.5;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 30px;
}
.site-footer p { margin: 0; }
.site-footer .kop { text-transform: uppercase; }
.site-footer a { color: var(--grijs-tekst); }
.site-footer a:hover { color: var(--oranje); }
.site-footer .logo img { width: 133px; height: 80px; margin-bottom: 14px; }
.site-footer .locaties { text-transform: uppercase; padding-left: 10px; }

.realisatie {
  padding: 30px 0 12px;
  font-size: 14px;
  text-transform: uppercase;
}
.realisatie a { color: #999; }

/* ---------- Tablet ---------- */

@media (max-width: 1000px) {
  .nav ul { gap: 0 28px; }
  .kaarten { gap: 24px; }
  .pagina-titel h1 { padding-left: 0; }
}

/* ---------- Mobiel ---------- */

@media (max-width: 800px) {
  :root { --header-hoogte: 80px; }
  body { font-size: 16px; }
  .logo img { width: 100px; height: 60px; }

  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: var(--header-hoogte);
    left: 0; right: 0;
    background: var(--wit);
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 20px 20px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #eee; }
  .nav a[aria-current="page"] { border-bottom-color: #eee; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .hero { display: block; min-height: 0; background-size: auto 240px; background-position: 88% top; background-attachment: scroll; padding: 260px 0 40px; }
  .hero h1 { font-size: 30px; line-height: 36px; max-width: none; margin-bottom: 16px; }
  .hero .intro { margin: 0 0 24px; }

  .helpen h2 { font-size: 28px; }
  .helpen::before { height: 200px; }
  .kaarten { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .kaart p { min-height: 0; }

  .kennismaking .container { grid-template-columns: 1fr; gap: 40px; }
  .formulier-blok { padding: 24px; }

  .partners .container { justify-content: center; }
  .partners img { height: 60px; }

  .pagina-titel h1 { font-size: 30px; }
  .inhoud .container { grid-template-columns: 1fr; gap: 0; }
  .zijkant--leeg { display: none; }
  .inhoud--rijen .tekst + .zijkant { margin-top: 40px; }
  .zijkant { display: flex; gap: 16px; }
  .zijkant img { max-width: 48%; margin-bottom: 30px; }

  .site-footer .container { grid-template-columns: 1fr; gap: 24px; }
}
