/* -------------------------------------------------- */
/* BASIS                                              */
/* -------------------------------------------------- */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  color: #001130;
  background: none;
  min-height: 100vh;
  text-align: center;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body.home-page,
body.over-page,
body.afspraak-page {
  background-image: url("img/achtergrond.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #e9f4fc;
  min-height: 100vh;
}

body.werkwijze-page {
  background-image: url("img/achtergrond.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #e9f4fc;
  min-height: 100vh;
}

/* Zet achtergrond op container */

/* -------------------------------------------------- */
/* GENERIC                                            */
/* -------------------------------------------------- */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  user-select: none;
  max-width: 100%;
  height: auto;
}

/* -------------------------------------------------- */
/* HEADER                                             */
/* -------------------------------------------------- */
header {
  height: 75px;
  width: 100%;
  background: #001130;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-left: 20px;
}
#menu {
  display: none;
  width: 10%;
  height: 50%;
  margin-top: 10px;
  padding-left: 90px;
}
.overlay {
  display: none;
}
#bar {
  display: none;
}

/* NAV standaard horizontaal */
.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}
.header-left {
  position: relative;
  width: 170px;
  height: 100%;
  overflow: visible;
  left: -2.5vw;
}

.stripe {
  position: absolute;
  width: 250px;
  transform: rotate(-50deg);
  left: -30px;
}

.s1 {
  background: #6bbbe8;
  height: 140px;
  top: -40px;
  width: 11vw;
}
.s2 {
  background: #3281b7;
  height: 55px;
  top: 20px;
}
.s3 {
  background: #03498b;
  height: 35px;
  top: 65px;
}

.header-logo {
  height: 72px;
  margin-left: 25px;
}

nav {
  margin-left: auto;
  margin-right: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: white;
  font-size: 15px;
}

/* -------------------------------------------------- */
/* HOME PAGE ELEMENTEN                                */
/* -------------------------------------------------- */

.woordmerk {
  display: block;
  margin: 40px auto 10px auto;
  width: 330px;
  margin-top: 2vw;
  margin-bottom: -2vw;
}

h2 {
  font-size: 22px;
  margin: 5px 0 10px 0;
  font-weight: 700;
}

p {
  font-size: 16px;
  line-height: 1.5;
}

.challenge {
  font-weight: 700;
  font-size: 20px;
  margin: 10px 0;
}

.btn {
  display: inline-block;
  background: #6bbbe8;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 20px 0;
}

.home-page .btn {
  display: block;
  width: fit-content;
  margin: 10px auto 20px;
  text-align: center;
}

/* -------------------------------------------------- */
/* PORTRET                                             */
/* -------------------------------------------------- */
.portrait-box {
  position: relative;
  width: 260px;
  margin: 20px auto;
}

.portrait-box img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.portrait-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #001130;
}

/* -------------------------------------------------- */
/* MIDDEN TITEL                                        */
/* -------------------------------------------------- */
.midden-titel {
  margin-top: 40px;
}

.kanik-img {
  margin: 0 auto -10px auto;
}

/* -------------------------------------------------- */
/* ONDERSTE INFO BLOKKEN                               */
/* -------------------------------------------------- */
.onder-info {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.info-blok {
  width: 40%;
  text-align: left;
}

.info-blok h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.info-blok p {
  line-height: 1.45;
}

.berg-icon {
  width: 60px;
  margin-top: 30px;
}

/* -------------------------------------------------- */
/* BEELDMERK                                           */
/* -------------------------------------------------- */
.beeldmerk-wrapper {
  margin-top: -3vw;
}

.beeldmerk {
  width: 120px;
  opacity: 0.85;
}
/* -------------------------------------------------- */
/* WERKWIJZE PAGINA – CONTENT OVER ACHTERGROND        */
/* -------------------------------------------------- */

.werkwijze {
  position: relative;
  width: 100%;
  min-height: 980px;
  height: auto;
  padding-top: 0;
  padding-bottom: 48px;
  background-position: center top;
  text-align: center;
}

/* Titel */
.werkwijze-title {
  position: relative;
  left: auto;
  transform: none;
  top: auto;
  font-size: 36px;
  padding-top: 36px;
  margin: 0;
  font-weight: 700;
  color: #001130;
  z-index: 3; /* boven de stappen */
}

/* Afspraak knop */
.btn-afspraak {
  position: relative;
  left: auto;
  transform: none;
  top: auto;
  margin-top: 16px;
  z-index: 2; /* boven de stappen */
  display: inline-block;
  background: #6bbbe8;
  color: white;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}

/* Container voor stappen (alleen positionering) */
.timeline-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: min(760px, 92%);
  margin: 28px auto 0;
  height: auto;
}

/* Elke stap */
.step {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 14px 16px;
  color: #001130;
  text-align: left;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  line-height: 1.5;
}

/* Posities zijn niet meer nodig in onder-elkaar layout */
.step1 {
  top: auto;
  left: auto;
}
.step2 {
  top: auto;
  left: auto;
}
.step3 {
  top: auto;
  right: auto;
}
.step4 {
  top: auto;
  right: auto;
}

/* ================================================== */
/* AFSPRAAK PAGINA – VOLLEDIGE STYLING                */
/* ================================================== */

/* Achtergrond: volledige breedte */

/* Titel */
.afspraak-page .titel {
  font-size: 32px;
  font-weight: 700;
  color: #001130;
  margin-top: 120px;
  margin-bottom: 30px;
  text-align: center;
}

/* Wrapper */
.form-wrapper {
  max-width: 420px;
  margin: 0 auto 80px auto;
  text-align: center;
}

/* Formulier kaart */
.form-wrapper form {
  background: #001130;
  padding: 35px 30px 30px;
  border-radius: 22px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

/* Inputs */
.form-wrapper input,
.form-wrapper textarea {
  width: 100%;
  padding: 12px 18px;
  margin-bottom: 15px;
  border-radius: 20px;
  border: none;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

.form-wrapper textarea {
  height: 120px;
  resize: none;
}

/* Knop */
.afspraak-page .btn {
  background: #6bbbe8;
  color: white;
  border-radius: 20px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
  border: none;
  display: block;
  width: min(100%, 280px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ================================================== */
/* OVER ONS PAGINA                                    */
/* ================================================== */

/* Titel */
.over-ons-title {
  margin: 60px 0 40px;
  font-size: 28px;
  font-weight: 700;
  color: #001130;
}

.over-ons-title .diamonds {
  text-align: left;
  display: flex;
  margin-left: 5vw;
  margin-bottom: -1vw;
  align-items: center;
  gap: 10px;
}

.over-ons-title .diamond {
  width: 10px;
  height: 10px;
  background: #001130;
  transform: rotate(45deg);
  margin-top: 8px;
}
.afspraak-page .over-ons-title .diamond {
  width: 10px;
  height: 10px;
  background: #001130;
  transform: rotate(45deg);
  margin-top: 1%;
}
/* Grid layout */
.over-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

/* Foto */
.over-photo {
  position: relative;
  width: 280px;
  margin: 0 auto;
}

.over-photo img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  margin-bottom: 6vw;
}

.over-photo-label {
  position: absolute;
  bottom: 7vw;
  left: 50%;
  transform: translateX(-50%);
  background: #6bbbe8;
  color: white;
  padding: 8px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

/* Tekst */
.over-tekst {
  text-align: left;
}

.over-tekst h2 {
  font-size: 22px;
  margin-bottom: 18px;
  font-weight: 700;
}

.over-tekst p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Iconen onder tekst */
.over-icons {
  margin-top: 32px;
  display: flex;
  gap: 36px;
}

.over-icons img {
  width: 38px;
  opacity: 0.85;
}

/* -------------------------------------------------- */
/* FOOTER                                             */
/* -------------------------------------------------- */
footer {
  background: #001130;
  color: white;
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 0vw; /* ✔ compact */
}
footer a,
footer a:visited,
footer a:hover,
footer a:active {
  color: white;
  text-decoration: none;
}
.footer-center,
.footer-right {
  width: 33%;
}
.footer-left {
  text-align: left;
  width: 33%;
}
.footer-center {
  text-align: center;
}
.footer-right {
  text-align: right;
}

/* -------------------------------------------------- */
/* ================================================== */
/* MOBIEL – 450px EN KLEINER                           */
/* ================================================== */
@media screen and (max-width: 450px) {
  /* ---------- ALGEMEEN ---------- */
  /* 📱 ALLE PAGINA'S (behalve werkwijze) */
  body.home-page,
  body.werkwijze-page,
  body.over-page,
  body.afspraak-page {
    background-image: url("img/Web.Achtergrond.png");
  }
  body.over-page,
  body.afspraak-page {
    background-size: 100% 109%;
  }
  body {
    overflow-x: hidden;
  }
  .test {
    display: none;
  }
  .header-logo {
    margin-left: -2vw;
  }
  /* header */
  header {
    display: flex;
    gap: 160px;
    height: 50px;
    width: 95%;
  }
  header h1 {
    font-size: 20px;
    text-decoration: none;
  }
  .knoppen {
    display: none;
  }
  .dropdown {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 50px;
    background-color: #696969;
    gap: 10px;
  }
  #bar {
    display: flex;
    align-self: center;
    padding-right: 10px;
    left: -16vw;
    position: relative;
    color: white;
  }
  .overlay {
    display: flex;
  }
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
  }
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  .overlay a:hover,
  .overlay a:focus {
    color: #f1f1f1;
  }
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
  #menu {
    display: block;
  }
  /* ---------- WERKWIJZE PAGINA ---------- */
  .werkwijze {
    min-height: 0;
    height: auto;
    padding-bottom: 28px;
  }
  .werkwijze-title {
    font-size: 22px;
    z-index: 0;
  }
  .step {
    width: 100%;
    margin-bottom: 0;
  }
  /* Timeline container */
  .timeline-container {
    width: min(92vw, 760px);
    margin-top: 20px;
  }
  .step1 {
    top: auto;
    left: auto;
  }
  .step2 {
    top: auto;
    left: auto;
  }
  .step3 {
    left: auto;
    top: auto;
  }
  .step4 {
    top: auto;
    left: auto;
  }
  /* Afwisseling wit / blauw ruitje */
  .step:nth-child(even)::before {
    background: white;
    border: 4px solid #001130;
    box-sizing: border-box;
  }

  /* Stap titels */
  .step h3 {
    margin-top: 0;
    font-size: 16px;
    font-weight: 700;
    color: #001130;
  }

  .step p {
    font-size: 14px;
    line-height: 1.6;
  }
  .kanik-img {
    margin-bottom: -13%;
  }
  .onder-info {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 19px;
    flex-direction: column;
  }
  .onder-info .info-blok {
    width: 90%;
    max-width: 100%;
    text-align: center;
  }

  .onder-info .info-blok p {
    line-height: 1.6;
    font-size: 14px;
  }
  .berg-icon {
    display: none;
  }
  .woordmerk {
    margin-top: -12vw;
    margin-bottom: -15vw;
  }
  /* ---------- BUTTON ---------- */
  .btn-afspraak {
    font-size: 16px;
    padding: 10px 24px;
    top: 7%;
    z-index: 0;
  }
  .over-ons-title {
    font-size: 18px;
    text-align: center;
    margin: 20px 0;
  }

  /* Grid wordt column */
  .over-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
  }

  /* Foto bovenaan */
  .over-photo {
    width: 80%;
    max-width: 200px;
  }

  .over-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .over-photo-label {
    text-align: center;
    margin-top: 8px;
    font-weight: 600;
  }

  /* Tekstblok onder foto */
  .over-tekst {
    width: 90%;
    text-align: center;
  }

  .over-tekst h2 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .over-tekst p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  /* Iconen onder tekst */
  .over-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }

  .over-icons img {
    width: 30px;
    height: auto;
  }
  .over-ons-title .diamonds {
    margin-left: 31vw;
    margin-bottom: 6vw;
  }
  .afspraak-page .over-ons-title .diamonds {
    margin-left: 26%;
  }
  .stripe {
    left: -14vw;
  }
  .s1 {
    top: -50px;
    width: 33vw;
  }
  /* ---------- FOOTER ---------- */
  footer {
    padding: 25px 20px;
    font-size: 13px;
  }
  #streep {
    display: none;
  }
}

/* ================================================== */
/* EXTRA RESPONSIVE VERBETERINGEN                     */
/* ================================================== */

/* Kleine laptops en small desktops */
@media screen and (max-width: 1200px) {
  main {
    max-width: 1000px;
    padding: 0 18px;
  }

  nav {
    margin-right: 24px;
    gap: 12px;
  }

  nav a {
    font-size: 14px;
  }

  .over-grid {
    gap: 48px;
    grid-template-columns: 280px 1fr;
  }
  .s1 {
    top: -56px;
    width: 17vw;
  }
}

/* Tablet en grote telefoons */
@media screen and (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  header {
    height: 64px;
    padding-left: 12px;
  }

  .header-left {
    width: 120px;
    left: -10px;
  }

  .stripe {
    left: -10vw;
  }

  .s1 {
    width: 12vw;
    top: -80px;
  }

  .header-logo {
    height: 56px;
    margin-left: 8px;
  }

  .test {
    display: none;
  }

  #bar {
    display: block;
    color: #fff;
    margin-left: auto;
    margin-right: 14px;
    line-height: 1;
  }

  .overlay {
    display: block;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    overflow-x: hidden;
    transition: 0.35s;
  }

  .overlay-content {
    position: relative;
    top: 22%;
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  .overlay a {
    padding: 10px;
    text-decoration: none;
    font-size: 30px;
    color: #f1f1f1;
    display: block;
  }

  .overlay .closebtn {
    position: absolute;
    top: 10px;
    right: 24px;
    font-size: 54px;
  }

  .woordmerk {
    width: min(72vw, 330px);
    margin-top: 16px;
    margin-bottom: 0;
  }

  h2 {
    font-size: clamp(20px, 3.5vw, 22px);
  }

  p,
  .challenge {
    padding-left: 8px;
    padding-right: 8px;
  }

  .onder-info {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
  }

  .info-blok {
    width: min(680px, 92%);
    text-align: center;
  }

  .berg-icon {
    display: none;
  }

  .beeldmerk-wrapper {
    margin-top: 10px;
  }

  .over-ons-title {
    margin: 28px 0 20px;
    font-size: 24px;
  }

  .over-ons-title .diamonds {
    margin-left: 0;
    justify-content: center;
    margin-bottom: 0;
  }

  .over-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 56px;
  }

  .over-photo {
    width: min(72vw, 320px);
  }

  .over-photo img {
    margin-bottom: 0;
  }

  .over-photo-label {
    bottom: 14px;
  }

  .over-tekst {
    width: min(760px, 92%);
    text-align: center;
  }

  .over-icons {
    justify-content: center;
    gap: 16px;
  }

  .werkwijze {
    min-height: 980px;
    height: auto;
    padding-top: 0;
    padding-bottom: 48px;
    background-position: center top;
  }

  .werkwijze-title {
    position: relative;
    left: auto;
    transform: none;
    top: auto;
    font-size: 30px;
    padding-top: 36px;
    margin: 0;
  }

  .btn-afspraak {
    position: relative;
    left: auto;
    transform: none;
    top: auto;
    margin-top: 16px;
  }

  .timeline-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(760px, 92%);
    margin: 28px auto 0;
    height: auto;
  }

  .step,
  .step1,
  .step2,
  .step3,
  .step4 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 14px 16px;
  }

  .step h3 {
    margin-top: 0;
  }

  .form-wrapper {
    width: min(520px, 92%);
    margin-bottom: 56px;
  }

  .afspraak-page .titel,
  .afspraak-page .over-ons-title {
    margin-top: 32px;
    margin-bottom: 20px;
    font-size: clamp(24px, 5.5vw, 32px);
  }

  footer {
    flex-direction: column;
    gap: 10px;
    padding: 20px 16px;
    font-size: 13px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    text-align: center;
  }
}
@media screen and (max-width: 750px) {
  .s1 {
    width: 32vw;
    top: -66px;
  }
}
/* Kleine telefoons */
@media screen and (max-width: 480px) {
  .header-logo {
    height: 50px;
  }
  .stripe {
    left: -16vw;
  }
  .woordmerk {
    width: min(82vw, 320px);
    margin-top: 10px;
  }

  .btn {
    width: min(92vw, 320px);
    padding: 12px 18px;
    font-size: 17px;
  }

  .portrait-box {
    width: min(84vw, 300px);
  }

  .portrait-box img {
    width: 100%;
    height: auto;
    aspect-ratio: 13 / 16;
  }

  .kanik-img {
    width: min(92vw, 420px);
    margin-bottom: 0;
  }

  .werkwijze-title {
    font-size: 24px;
  }

  .btn-afspraak {
    font-size: 16px;
    padding: 11px 22px;
  }

  .step h3 {
    font-size: 18px;
  }

  .step p {
    font-size: 14px;
    line-height: 1.55;
  }

  .form-wrapper form {
    padding: 24px 18px 20px;
    border-radius: 16px;
  }
}

/* ================================================== */
/* STABILITEIT OVERRIDES                              */
/* ================================================== */

main {
  width: min(1100px, 100% - 32px);
}

nav {
  flex-wrap: wrap;
}

footer {
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-left,
.footer-center,
.footer-right {
  min-width: 220px;
  flex: 1;
}

@media screen and (max-width: 900px) {
  #bar {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    left: auto;
    padding-right: 0;
    margin: 0;
    display: block;
  }

  header {
    padding-right: 52px;
  }
}

@media screen and (max-width: 450px) {
  header {
    width: 100%;
    gap: 0;
    padding-left: 8px;
    padding-right: 52px;
  }

  #bar {
    right: 10px;
    left: auto;
    margin: 0;
    padding-right: 0;
  }

  .woordmerk {
    margin-top: 8px;
    margin-bottom: 0;
  }

  .kanik-img {
    margin-bottom: 0;
  }

  .over-ons-title .diamonds,
  .afspraak-page .over-ons-title .diamonds {
    margin-left: 0;
    margin-bottom: 0;
    justify-content: center;
  }
}
