/* =============================================
   Administratie & Advieskantoor Infinity — Demo
   Built by Faro Digital
   ============================================= */

/* Google Fonts loaded via <link> in HTML — no @import here */

/* --- Design Tokens --- */
:root {
  --color-bg-dark:        #0D0D0D;
  --color-bg-mid:         #160066;
  --color-bg-light:       #F5F5F7;
  --color-bg-werkwijze:   #F4F1F7;
  --color-purple:         #7B2FBE;
  --color-purple-cta:     #8B31D1;
  --color-white:          #FFFFFF;
  --color-text-dark:      #1A1A1A;
  --color-text-muted:     #AAAAAA;
  --color-border-dark:    rgba(255,255,255,0.08);
  --color-border-light:   rgba(0,0,0,0.08);

  --font-heading: 'Nunito', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --radius-card:  12px;
  --radius-btn:   100px;

  --shadow-card:       0 2px 16px rgba(0,0,0,0.07);
  --shadow-card-hover: 0 8px 32px rgba(123,47,190,0.15);
  --transition:        0.2s ease;

  --max-width:              1140px;
  --section-padding:        96px 24px;
  --section-padding-mobile: 64px 20px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* --- Scroll Reveal — progressive enhancement only --- */
/* Hidden only when JS is active; visible by default */
body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
body.js-enabled .reveal.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-border-dark);
  transition: var(--transition);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  max-height: 72px;
  width: auto;
  transition: max-height var(--transition);
}

.nav.scrolled .nav__logo img {
  max-height: 56px;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-white);
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--color-purple-cta);
}

.nav__cta {
  display: none;
  background-color: var(--color-purple);
  color: var(--color-white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  transition: background-color var(--transition);
}

.nav__cta:hover {
  background-color: var(--color-purple-cta);
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--color-bg-dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav__overlay.open {
  display: flex;
}

.nav__overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.nav__overlay-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--color-white);
  transition: color var(--transition);
}

.nav__overlay-links a:hover {
  color: var(--color-purple-cta);
}

.nav__overlay-cta {
  background-color: var(--color-purple);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  padding: 16px 40px;
  border-radius: var(--radius-btn);
  transition: background-color var(--transition);
}

.nav__overlay-cta:hover {
  background-color: var(--color-purple-cta);
}

.nav__overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
  .nav__cta {
    display: inline-flex;
  }
  .nav__hamburger {
    display: none;
  }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  background-color: var(--color-bg-dark);
  background-image: radial-gradient(circle, rgba(123,47,190,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: var(--section-padding-mobile);
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-purple-cta);
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  color: var(--color-white);
}

.hero__sub {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 480px;
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-purple);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 0 32px;
  min-height: 52px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition);
  text-align: center;
  width: 100%;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--color-purple-cta);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 0 32px;
  min-height: 52px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-white);
  cursor: pointer;
  transition: background-color var(--transition);
  text-align: center;
  width: 100%;
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.08);
}

.hero__graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  min-width: 0;
}

.hero__photo {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
  aspect-ratio: 16/9;
  box-shadow: 0 0 0 1px rgba(123,47,190,0.4), 0 16px 48px rgba(0,0,0,0.5), 0 0 32px rgba(123,47,190,0.2);
  display: block;
}

.hero__trust {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 32px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.hero__trust-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-item__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-white);
}

.trust-item__sub {
  font-size: 12px;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .hero__trust-items {
    flex-direction: row;
    gap: 0;
    align-items: center;
  }

  .trust-separator {
    display: inline-block;
    width: 1px;
    height: 32px;
    background-color: var(--color-border-dark);
    margin: 0 24px;
  }

  .hero__buttons {
    flex-direction: row;
    width: auto;
  }

  .btn-primary,
  .btn-secondary {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 64px 24px 96px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .hero__text {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero__title {
    font-size: 46px;
  }

  .hero__graphic {
    flex: 0 0 48%;
    align-self: center;
    min-width: 0;
    overflow: hidden;
  }
}

/* =============================================
   DIENSTEN
   ============================================= */
.diensten {
  background-color: var(--color-bg-light);
  padding: var(--section-padding-mobile);
}

.diensten__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.section-header p {
  font-size: 17px;
  color: #666666;
  margin: 0 auto;
  max-width: 560px;
}

.diensten__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.dienst-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
  border-top: 3px solid transparent;
  transition: border-top-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.dienst-card:hover {
  border-top-color: var(--color-purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.dienst-card__icon {
  display: flex;
  align-items: center;
}

.dienst-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text-dark);
  margin-top: 16px;
}

.dienst-card__desc {
  font-size: 15px;
  color: #555555;
  margin-top: 8px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .diensten__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header h2 {
    font-size: 38px;
  }
}

@media (min-width: 1024px) {
  .diensten {
    padding: var(--section-padding);
  }

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

/* =============================================
   WERKWIJZE — light section
   ============================================= */
.werkwijze {
  background-color: var(--color-bg-werkwijze);
  padding: var(--section-padding-mobile);
}

.werkwijze__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.werkwijze .section-header h2 {
  color: var(--color-text-dark);
}

.werkwijze__steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-purple);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text-dark);
  margin-top: 20px;
}

.step__desc {
  font-size: 15px;
  color: #555555;
  margin-top: 8px;
  line-height: 1.65;
  max-width: 300px;
}

@media (min-width: 1024px) {
  .werkwijze {
    padding: var(--section-padding);
  }

  .werkwijze__steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .step {
    flex: 1;
    align-items: flex-start;
    padding: 0 32px;
    position: relative;
  }

  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -50%;
    width: 100%;
    border-top: 1px dashed rgba(123,47,190,0.3);
    pointer-events: none;
  }

  .step:first-child {
    padding-left: 0;
  }

  .step:last-child {
    padding-right: 0;
  }
}

/* =============================================
   OVER ONS
   ============================================= */
.over-ons {
  background-color: var(--color-bg-light);
  padding: var(--section-padding-mobile);
}

.over-ons__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.over-ons__text {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.over-ons__photo {
  order: 2;
  display: flex;
  justify-content: center;
}

.over-ons__photo img {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-card);
  border-left: 4px solid var(--color-purple);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.over-ons__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.over-ons__para {
  font-size: 16px;
  color: #444444;
  line-height: 1.7;
}

.over-ons__highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(123,47,190,0.07);
  border-left: 3px solid var(--color-purple);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-dark);
  line-height: 1.5;
}

.over-ons__highlight svg {
  flex-shrink: 0;
}

.over-ons__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.over-ons__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-dark);
}

.over-ons__bullets svg {
  flex-shrink: 0;
}

.over-ons__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: text-decoration var(--transition);
}

.over-ons__link:hover {
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .over-ons {
    padding: var(--section-padding);
  }

  .over-ons__inner {
    flex-direction: row;
    align-items: center;
  }

  .over-ons__photo {
    order: 1;
    flex: 0 0 380px;
  }

  .over-ons__text {
    order: 2;
    flex: 1;
  }

  .over-ons__heading {
    font-size: 38px;
  }
}

/* =============================================
   CTA SECTIE
   ============================================= */
.tarieven {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-bg-mid) 100%);
  padding: var(--section-padding-mobile);
  text-align: center;
}

.tarieven__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.tarieven__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-white);
  line-height: 1.2;
}

.tarieven__para {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  color: var(--color-purple);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 0 32px;
  min-height: 52px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.btn-white:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .tarieven {
    padding: var(--section-padding);
  }

  .tarieven__heading {
    font-size: 38px;
  }
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background-color: var(--color-bg-dark);
  padding: var(--section-padding-mobile);
}

.contact__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-white);
  line-height: 1.2;
}

.contact__intro {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-white);
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-input,
.form-textarea {
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #888888;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(123,47,190,0.25);
}

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

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-purple);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  min-height: 52px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background-color var(--transition);
}

.btn-submit:hover {
  background-color: var(--color-purple-cta);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  display: none;
  background-color: #1A4D2E;
  color: var(--color-white);
  border-radius: 8px;
  padding: 16px;
  font-size: 15px;
  line-height: 1.5;
}

.form-success.show {
  display: block;
}

@media (min-width: 1024px) {
  .contact {
    padding: var(--section-padding);
  }

  .contact__inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .contact__info {
    flex: 0 0 40%;
  }

  .contact__form-wrap {
    flex: 1;
  }

  .contact__heading {
    font-size: 38px;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background-color: var(--color-bg-dark);
  border-top: 1px solid var(--color-border-dark);
  padding: 64px 24px 0;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__logo {
  height: 72px;
  width: auto;
}

.footer__col-brand p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul a {
  font-size: 14px;
  color: var(--color-white);
  transition: color var(--transition);
}

.footer__col ul a:hover {
  color: var(--color-purple-cta);
}

.footer__col-contact p {
  font-size: 14px;
  color: var(--color-white);
  line-height: 1.7;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  margin-top: 48px;
  text-align: center;
}

.footer__bottom p {
  font-size: 12px;
  color: #666666;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    gap: 64px;
  }

  .footer__col-brand {
    flex: 1.5;
  }

  .footer__col {
    flex: 1;
  }
}
