/* ==========================================================
   VAN GROENINGEN IT - GEDEELDE STYLESHEET

   Algemene vormgeving is gebaseerd op de Projecten-pagina.
   Pagina-specifieke regels staan onderaan per pagina.
   ========================================================== */

/* ===== BASIS ===== */

:root {
  --green: #6fb100;
  --green-dark: #4f7f13;
  --blue: #163047;
  --blue-light: #286ca2;
  --text: #102b40;
  --muted: #506173;
  --line: #d8e2dc;
  --soft: #f6faf7;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 43, 64, 0.08);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 18px;
  line-height: 1.65;
}

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

a {
  color: var(--blue-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-dark);
}

.inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

section {
  padding: 72px 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--blue);
  line-height: 1.15;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 64px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 4vw, 40px);
}

h3 {
  margin-bottom: 9px;
  font-size: 19px;
}

p {
  margin: 0 0 20px;
}

p:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}

.button:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--blue);
}

.button-secondary:hover {
  background: var(--blue-light);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px 0;
}

.logo-wrap {
  text-align: center;
}

.logo {
  display: inline-block;
  width: min(560px, 100%);
}

.tagline {
  margin: 8px 0 18px;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.main-nav a {
  display: inline-block;
  padding: 10px 18px 14px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 4px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green-dark);
}

.main-nav a.nav-contact:hover,
.main-nav a.nav-contact.active {
  background: var(--green);
  color: var(--white);
}

.text-inner {
  max-width: 790px;
}

.contact h2 {
  color: var(--white);
}

.contact-inner {
  max-width: 760px;
  margin: 0 auto;
}

.contact p {
  color: #e4ebef;
  font-size: 20px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.main-nav .quick-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.main-nav .quick-contact a {
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav .quick-contact a:hover {
  color: var(--green-dark);
  border: 0;
}

.main-nav .quick-contact .quick-separator {
  color: var(--line);
}

.footer-contact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-contact a {
  color: var(--muted);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--green-dark);
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}



@media (max-width: 600px) {


    .header-inner {
        padding: 14px 14px 0;
    }

    .logo {
        width: min(500px, 92%);
    }


    /*
     * Vier menu-items op één regel.
     * Contactgegevens komen daar compact onder.
     */
    .main-nav {
        display: grid;
        grid-template-columns: repeat(4, max-content);
        justify-content: center;
        gap: 0 8px;
        padding-top: 4px;
        padding-bottom: 4px;
        overflow: visible;
    }

    .main-nav > a {
        padding: 8px 5px 9px;
        font-size: 15px;
        white-space: nowrap;
    }

    /*
     * Direct contact op tweede, compacte regel.
     */
    .main-nav .quick-contact {
        grid-column: 1 / -1;
        justify-self: center;
        order: initial;

        margin: 2px 0 0;
        padding: 5px 0 6px;

        border-left: 0;
        border-right: 0;

        gap: 9px;
    }

    .main-nav .quick-contact a {
        font-size: 13px;
    }
  }


/* ==========================================================
   PAGE: HOME
   ========================================================== */

.hero {
  padding: 52px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 68px;
  align-items: center;
}

.hero-intro {
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.6;
}

.hero-intro strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-photo {
  overflow: hidden;
  border-radius: 24px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.principles {
  padding: 0 0 76px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.principle {
  padding: 30px 32px;
}

.principle + .principle {
  border-left: 1px solid var(--line);
}

.principle h3 {
  color: var(--green-dark);
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.story-section {
  border-top: 1px solid var(--line);
}

.story-section.alt {
  background: var(--soft);
}

.story-section h2 {
  margin-bottom: 30px;
}

.story-copy {
  font-size: 19px;
}

.story-copy p {
  margin-bottom: 22px;
}

.question {
  margin: 36px 0;
  padding-left: 24px;
  border-left: 4px solid var(--green);
  color: var(--blue);
  font-size: clamp(28px,3vw,36px);
  font-weight: 600;
  line-height: 1.35;
  font-style: italic;
}

.question-main {
  background: var(--blue);
  color: var(--white);
}

.question-main h2 {
  color: var(--white);
}

.question-main .question {
  border-left-color: var(--green);
  color: #d8efb4;
}

.question-main .story-copy {
  color: #edf2f5;
}

.approach {
  background: var(--white);
}

.quote-line {
  margin: 0 0 30px;
  color: var(--blue);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
  font-weight: 700;
}

.quote-line span {
  color: var(--green-dark);
}

.more-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
}

.projects {
  background: var(--soft);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 38px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.project-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
}

.about-photo {
  overflow: hidden;
  border-radius: 24px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reviews {
  background: var(--soft);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.review-stars {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 20px;
  letter-spacing: 2px;
}

.review-card blockquote {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.65;
  font-style: italic;
}

.review-author {
  color: var(--blue);
  font-weight: 700;
}

.review-source {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}


.statement {
  margin: 34px 0;
  padding-left: 20px;
  border-left: 4px solid var(--green);
  color: var(--blue);
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 24px 22px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

}

@media (max-width: 600px) {


    h1 {
        font-size: 42px;
        line-height: 1.05;
        margin-bottom: 22px;
        margin-top: -30px;

    }
        .hero-actions {
font-size:15px;
        }

.principles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
.project-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
     .about-content {
        order: 1;
    }

    .about-photo {
        order: 2;
    }
}


/* ==========================================================
   PAGE: PROJECTEN
   ========================================================== */

.intro {
  padding: 68px 0 54px;
}

.intro-copy {
  max-width: 790px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.65;
}

.projects {
  padding-top: 20px;
}

.project {
  margin-bottom: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.project:last-child {
  margin-bottom: 0;
}

.project-header {
  padding: 30px 34px 24px;
  border-bottom: 1px solid var(--line);
}

.project-header h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
}

.project-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.project-part {
  padding: 30px 34px 34px;
}

.project-part + .project-part {
  border-left: 1px solid var(--line);
}

.project-part h3 {
  color: var(--green-dark);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.project-part p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.project-part.result {
  background: var(--soft);
}

.project-part.result p {
  color: var(--text);
}


/* ==========================================================
   PAGE: OVER MIJ
   ========================================================== */

.about-hero {
    padding: 72px 0 68px;
}

.about-hero h1 {
    margin-bottom: 42px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
    gap: 68px;
    align-items: start;
}

.about-intro {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.about-intro strong {
  color: var(--text);
}

.about-photo {
  overflow: hidden;
  border-radius: 24px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.content-section {
  border-top: 1px solid var(--line);
}

.content-section.alt {
  background: var(--soft);
}

.content-copy {
  font-size: 19px;
}

.content-copy p {
  margin-bottom: 22px;
}

.statement {
  margin: 34px 0;
  padding-left: 22px;
  border-left: 4px solid var(--green);
  color: var(--blue);
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.35;
  font-style: italic;
}

@media (max-width: 900px) {

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-photo {
        max-width: 620px;
    }

}

/* ==========================================================
   CONTACTPAGINA
   ========================================================== */

.contact-page {
    padding: 68px 0 80px;
}

.contact-intro {
    max-width: 760px;
    margin-bottom: 42px;
}

.contact-intro p {
    color: var(--muted);
    font-size: 20px;
}

.contact-direct {
    margin-top: 12px;
    font-size: 16px !important;
}

.contact-direct a {
    font-weight: 700;
}


/* ===== TWEE KOLOMMEN ===== */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 28px;
    align-items: start;
}


/* ===== PANELEN ===== */

.contact-panel {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-panel h2 {
    margin-bottom: 24px;
}

.call-panel {
    background: var(--soft);
}

.panel-intro {
    margin-top: -10px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 16px;
}


/* ===== FORMULIER ===== */

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    gap: 7px;
}

.form-row label {
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
}

.optional {
    color: var(--muted);
    font-weight: 400;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 15px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: var(--white);
    color: var(--text);

    font: inherit;
    font-size: 17px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    outline: 2px solid rgba(111, 177, 0, .18);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .button {
    justify-self: start;
}


/* ===== DATUM + TIJD ===== */

.call-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}


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

@media (max-width: 900px) {

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .call-panel {
        max-width: 620px;
    }

}


@media (max-width: 600px) {

    .contact-page {
        padding-top: 54px;
    }

    .contact-intro {
        margin-bottom: 32px;
    }

    .contact-intro p {
        font-size: 18px;
    }

    .contact-panel {
        padding: 24px 22px;
    }

    .call-time-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .button {
        width: 100%;
        text-align: center;
    }

}