:root {
  --navy: #0b2638;
  --blue: #123c56;
  --sand: #e8dcc8;
  --cream: #f8f5ef;
  --white: #ffffff;
  --muted: #66727c;
  --line: #e7e2d8;
  --accent: #b88746;
  --shadow: 0 22px 70px rgba(11, 38, 56, .13);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(248,245,239,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,38,56,.08);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--sand);
  font-weight: 800;
  letter-spacing: .04em;
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text small { color: var(--muted); font-size: .78rem; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-small { min-height: 40px; padding-inline: 18px; }
.btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,38,56,.88), rgba(11,38,56,.50), rgba(11,38,56,.18)),
    url('https://images.unsplash.com/photo-1562281302-809108fd533c?auto=format&fit=crop&w=1800&q=80') center/cover;
  transform: scale(1.02);
}
.hero-content { position: relative; padding: 150px 0 92px; color: var(--white); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 900;
}
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.035em; }
h1 { max-width: 820px; font-size: clamp(3rem, 7vw, 6.1rem); }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: 1.25rem; }
.lead { max-width: 720px; margin: 24px 0 32px; font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,.86); }
.actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.inline-actions { margin-top: 24px; }

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.quick-card {
  padding: 26px;
  min-height: 130px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  align-content: end;
  transition: transform .18s ease, box-shadow .18s ease;
}
.quick-card:hover { transform: translateY(-3px); box-shadow: 0 28px 80px rgba(11,38,56,.16); }
.quick-card span { font-size: 1.3rem; font-weight: 900; }
.quick-card small { color: var(--muted); }

.section { padding: 96px 0; }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading p:not(.eyebrow), .two-column p, .about-card p, .contact-grid p { color: var(--muted); }

.offer-switch { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: #eee5d7; margin-bottom: 22px; }
.offer-tab {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.offer-tab.is-active { background: var(--navy); color: var(--white); }

.erp-wrapper {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
}
.erp-frame-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.erp-frame-header p { margin: 6px 0 0; color: var(--muted); }
.erp-frame-header code { background: #f1e7d8; padding: 2px 6px; border-radius: 8px; }
.erp-frame {
  width: 100%;
  min-height: 980px;
  border: 0;
  border-radius: 20px;
  background: var(--white);
}
.text-link { font-weight: 900; color: var(--blue); white-space: nowrap; }

.split-section { padding: 96px 0; background: var(--white); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { display: grid; gap: 16px; }
.feature-list div { padding: 24px; border-radius: 18px; background: var(--cream); display: grid; gap: 6px; }
.feature-list span { color: var(--muted); }
.two-column, .about-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 56px; align-items: start; }
.callout { padding: 58px; border-radius: 30px; background: var(--navy); color: var(--white); }
.callout p { max-width: 760px; color: rgba(255,255,255,.8); }
.about-card, .contact-form, .contact-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(11,38,56,.06);
}
.about-card { padding: 30px; }
.about-card ul { margin: 20px 0 0; padding-left: 20px; }
.about-card li { margin: 8px 0; }
.contact-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 56px; }
.contact-note { margin-top: 24px; padding: 22px; display: grid; gap: 6px; }
.contact-note span { color: var(--muted); }
.contact-form { display: grid; gap: 14px; padding: 28px; }
label { display: grid; gap: 6px; font-weight: 800; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; background: #fff; }
.site-footer { padding: 44px 0; background: var(--navy); color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 44px;
  align-items: start;
  color: rgba(255, 255, 255, .82);
}
.footer-grid strong { color: var(--white); }
.footer-grid p {
  margin: 8px 0 0;
}
.footer-brand,
.footer-address,
.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-address {
  font-style: normal;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Tips card */
.tips-card {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 18px 44px rgba(11, 38, 56, .07);
}

.tips-card__label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tips-card h3 {
  margin-bottom: 8px;
}

.tips-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.tips-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.tips-list li+li {
  margin-top: 7px;
}

.brand-with-logo {
  gap: 14px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 54px;
  object-fit: contain;
}

.brand-with-logo .brand-mark {
  display: none;
}

.brand-text-subtle small {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .brand-logo img {
    height: 44px;
  }
}
.hero-wordmark {
  display: block;
  width: min(360px, 76vw);
  height: auto;
  margin: 0 0 28px;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .24));
}

.hero-brandline {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: .02em;
  text-shadow: 0 18px 38px rgba(0, 0, 0, .28);
  display: none;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-consent input {
  width: auto;
  margin-top: 0.2rem;
}


.form-status {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(11, 38, 56, .08);
}

.form-status[hidden],
.contact-form[hidden] {
  display: none;
}

.form-status__content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.form-status__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 900;
}

.form-status h3 {
  margin: 0 0 8px;
}

.form-status p {
  margin: 0;
}

.form-status.is-success {
  border-color: #b9ddc4;
  background: #f1faf4;
  color: #1e6335;
}

.form-status.is-success .form-status__icon {
  background: #d7efde;
  color: #1e6335;
}

.form-status.is-error {
  border-color: #e8baba;
  background: #fff4f4;
  color: #922f2f;
}

.form-status.is-error .form-status__icon {
  background: #f5d8d8;
  color: #922f2f;
}

.form-status .btn-outline {
  color: currentColor;
  border-color: currentColor;
}


/* Legacy/ERP fallback if the iframe is later replaced by direct include. */
.erp-aanbod table, .legacy-aanbod table, table.aanbod { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; }
.erp-aanbod td, .erp-aanbod th, .legacy-aanbod td, .legacy-aanbod th, table.aanbod td, table.aanbod th { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.erp-aanbod img, .legacy-aanbod img, table.aanbod img { max-width: 180px; height: auto; border-radius: 12px; }
.erp-aanbod a, .legacy-aanbod a, table.aanbod a { color: var(--blue); font-weight: 900; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: var(--white); }
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 78px; padding: 20px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .main-nav.is-open { display: flex; }
  .main-nav .btn { color: var(--white); }
  .quick-links, .split-grid, .two-column, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .quick-links { margin-top: 20px; }
  .hero { min-height: 620px; }
  .section { padding: 70px 0; }
  .callout { padding: 34px; }
  .erp-wrapper { padding: 16px; }
  .erp-frame-header { display: grid; align-items: start; }
  .erp-frame { min-height: 850px; }
}
