/* HengelApp — gedeelde stijlen */

:root {
  --deep-water-blue: #1E3A5F;
  --active-blue: #2563EB;
  --dawn-orange: #F97316;
  --reed-green: #22C55E;
  --morning-mist: #F8FAFC;
  --soft-grey: #E2E8F0;
  --stone: #64748B;
  --charcoal: #1E293B;
  --white: #FFFFFF;

  --container: 1100px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.05), 0 10px 20px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--morning-mist);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--soft-grey);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
}

.brand__mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.brand__text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand__text-orange {
  color: var(--dawn-orange);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--stone);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--charcoal);
}

@media (max-width: 600px) {
  .site-header__inner {
    padding: 14px 16px;
  }
  .nav {
    gap: 18px;
  }
  .nav a {
    font-size: 14px;
  }
  .brand__text {
    font-size: 19px;
  }
  .brand__mark {
    width: 38px;
    height: 38px;
  }
}

/* Container */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.05), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(249, 115, 22, 0.04), transparent 50%),
    var(--morning-mist);
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--active-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--deep-water-blue);
  max-width: 720px;
}

.hero__lead {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--stone);
  max-width: 580px;
  margin: 0 0 36px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button--primary {
  background: var(--active-blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.button--primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button--ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--soft-grey);
}

.button--ghost:hover {
  background: var(--white);
  border-color: var(--stone);
}

.hero__note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--stone);
}

.hero__note span {
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--reed-green);
  margin-right: 8px;
  vertical-align: middle;
}

/* Sections */

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--white);
  border-top: 1px solid var(--soft-grey);
  border-bottom: 1px solid var(--soft-grey);
}

.section__header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--active-blue);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--deep-water-blue);
  margin: 0 0 16px;
  font-weight: 700;
}

.section__lead {
  font-size: 18px;
  color: var(--stone);
  margin: 0;
}

/* Feature grid */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--soft-grey);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.2);
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--active-blue);
}

.feature--orange .feature__icon {
  background: rgba(249, 115, 22, 0.1);
  color: var(--dawn-orange);
}

.feature--green .feature__icon {
  background: rgba(34, 197, 94, 0.1);
  color: var(--reed-green);
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--stone);
  margin: 0;
}

/* Privacy block on home */

.privacy-block {
  background: var(--deep-water-blue);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 720px) {
  .privacy-block {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 24px;
  }
}

.privacy-block h2 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.privacy-block p {
  color: rgba(248, 250, 252, 0.8);
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
}

.privacy-block .button--primary {
  background: var(--dawn-orange);
}

.privacy-block .button--primary:hover {
  background: #ea580c;
}

.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: rgba(248, 250, 252, 0.92);
}

.privacy-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  background: rgba(249, 115, 22, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F97316' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

/* Document pages (privacy, voorwaarden, support) */

.doc {
  padding: 64px 0 96px;
}

.doc__header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--soft-grey);
}

.doc__header h1 {
  font-size: clamp(30px, 4vw, 42px);
  color: var(--deep-water-blue);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.doc__meta {
  font-size: 14px;
  color: var(--stone);
  margin: 0;
}

.doc__content {
  max-width: 760px;
}

.doc__content h2 {
  font-size: 22px;
  color: var(--deep-water-blue);
  margin: 48px 0 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.doc__content h2:first-child {
  margin-top: 0;
}

.doc__content h3 {
  font-size: 17px;
  color: var(--charcoal);
  margin: 28px 0 10px;
  font-weight: 600;
}

.doc__content p,
.doc__content ul,
.doc__content ol {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 16px;
}

.doc__content ul,
.doc__content ol {
  padding-left: 22px;
}

.doc__content li {
  margin-bottom: 8px;
}

.doc__content strong {
  color: var(--charcoal);
  font-weight: 600;
}

.doc__content a {
  color: var(--active-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  transition: border-color 0.15s ease;
}

.doc__content a:hover {
  border-bottom-color: var(--active-blue);
}

.callout {
  background: var(--white);
  border-left: 3px solid var(--active-blue);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.callout p {
  margin: 0;
  font-size: 15px;
}

/* FAQ */

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

.faq details {
  background: var(--white);
  border: 1px solid var(--soft-grey);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq details[open] {
  border-color: rgba(37, 99, 235, 0.3);
}

.faq summary {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--stone);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  color: var(--active-blue);
}

.faq__answer {
  padding: 0 22px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--stone);
}

.faq__answer p {
  margin: 0 0 10px;
}

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

/* Contact card */

.contact-card {
  background: var(--white);
  border: 1px solid var(--soft-grey);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .contact-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 18px;
  }
}

.contact-card h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stone);
  margin: 0 0 6px;
  font-weight: 600;
}

.contact-card p {
  margin: 0;
  font-size: 16px;
  color: var(--charcoal);
}

.contact-card a {
  color: var(--active-blue);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--soft-grey);
  padding: 48px 0 32px;
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.site-footer__brand p {
  font-size: 14px;
  color: var(--stone);
  margin: 12px 0 0;
  max-width: 320px;
  line-height: 1.55;
}

.site-footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin: 0 0 14px;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer a {
  color: var(--stone);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--charcoal);
}

.site-footer__bottom {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 24px 20px 0;
  border-top: 1px solid var(--soft-grey);
  font-size: 13px;
  color: var(--stone);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Layout helpers */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
