/* Borra Techniek en Advies - Stylesheet */

/* Kleuren uit logo */
:root {
  --blauw: #123A5C;
  --grijs: #4A5A66;
  --lichtgrijs: #f5f7f8;
  --wit: #ffffff;
}

/* Reset en basis */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--grijs);
  background-color: var(--wit);
}

/* Typografie */
h1, h2, h3 {
  color: var(--blauw);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

p {
  margin: 0 0 0.75rem 0;
}

a {
  color: var(--blauw);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  background-color: var(--wit);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo {
  max-width: 200px;
  height: auto;
}

.header .cta-button {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Secties algemeen */
section {
  padding: 2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Introductie sectie */
.introductie {
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.introductie p {
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 1.25rem auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--blauw);
  color: var(--wit);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background-color: #0e2e4a;
  text-decoration: none;
}

/* Diensten sectie */
.diensten {
  background-color: var(--lichtgrijs);
  max-width: 100%;
  padding: 2rem;
}

.diensten h2 {
  text-align: center;
}

.diensten-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.dienst {
  background-color: var(--wit);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  border-left: 3px solid var(--blauw);
}

.dienst-icoon {
  width: 32px;
  height: 32px;
  color: var(--blauw);
  margin-bottom: 0.5rem;
}

.dienst h3 {
  margin-top: 0;
}

.dienst p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Werkwijze sectie */
.werkwijze {
  text-align: center;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.stappen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.stap {
  text-align: center;
}

.stap-nummer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--blauw);
  color: var(--wit);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stap h3 {
  margin-top: 0;
}

.stap p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.werkwijze-noot {
  background-color: var(--lichtgrijs);
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* Waarom sectie */
.waarom {
  background-color: var(--lichtgrijs);
  max-width: 100%;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.waarom h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.waarom-lijst {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
}

.waarom-lijst li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.waarom-icoon {
  width: 20px;
  height: 20px;
  color: var(--blauw);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Werkgebied sectie */
.werkgebied {
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.werkgebied p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Contact sectie */
.contact {
  background-color: var(--blauw);
  color: var(--wit);
  text-align: center;
  max-width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

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

.contact > p:first-of-type {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}

.contact a {
  color: var(--wit);
  text-decoration: underline;
}

.contact a:hover {
  text-decoration: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 750px;
  margin: 0 auto 1.25rem auto;
  text-align: left;
}

.contact-formulier {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-groep {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.form-groep label {
  font-size: 0.85rem;
}

.form-groep input,
.form-groep textarea {
  padding: 0.6rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-groep textarea {
  resize: vertical;
  min-height: 70px;
}

.form-groep input:focus,
.form-groep textarea:focus {
  outline: 2px solid var(--lichtgrijs);
}

.form-foutmelding {
  background-color: #d32f2f;
  color: var(--wit);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.form-hint {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: normal;
}

.form-veldfout {
  color: #ff8a80;
  font-size: 0.8rem;
  min-height: 1rem;
}

.form-button {
  background-color: var(--wit);
  color: var(--blauw);
  border: none;
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.form-button:hover {
  background-color: var(--lichtgrijs);
}

.contact-gegevens {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-gegevens p {
  margin-bottom: 0.4rem;
}

.contact-slogan {
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 0;
  text-align: center;
}

/* Footer */
.footer {
  padding: 1rem 2rem;
  text-align: center;
  border-top: 1px solid var(--lichtgrijs);
  font-size: 0.85rem;
}

.footer p {
  margin: 0;
}

/* Responsive aanpassingen */
@media (max-width: 700px) {
  .diensten-grid {
    grid-template-columns: 1fr;
  }

  .stappen {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .waarom-lijst {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  section {
    padding: 1.5rem 1.25rem;
  }

  .header {
    padding: 0.75rem 1.25rem;
  }

  .logo {
    max-width: 200px;
  }

  .introductie {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .cta-button {
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-gegevens {
    text-align: center;
  }
}
