/* =========================================================
   AllergieSupport — gedeelde stijlen
   Kleuren en typografie afkomstig uit de Figma-export
   - Sage achtergrond: #B8C6B7
   - Navy:             #002559
   - Oranje:           #FF4F2D
   - Footer-separator: #D9D9D9
   ========================================================= */

/* ---------- Vertigo font-family met 5 weights ---------- */
@font-face {
  font-family: "Vertigo";
  src: url("fonts/Vertigo-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vertigo";
  src: url("fonts/Vertigo-Book.ttf") format("truetype");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vertigo";
  src: url("fonts/Vertigo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vertigo";
  src: url("fonts/Vertigo-DemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vertigo";
  src: url("fonts/Vertigo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sage: #B8C6B7;
  --navy: #002559;
  --orange: #FF4F2D;
  --orange-hover: #e8421f;
  --white: #ffffff;
  --separator: #D9D9D9;
  --text-muted: #5a6c70;

  --font: "Vertigo", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--sage);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
}

img { max-width: 100%; }

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

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}

/* =========================================================
   HOMEPAGE — HERO
   ========================================================= */
.hero {
  position: relative;
  flex: 1;
  background-color: var(--sage);
  padding: 120px 255px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bubbles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  display: block;
  mix-blend-mode: soft-light;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 362px;
  background: linear-gradient(
    to bottom,
    var(--sage) 30.288%,
    rgba(184, 198, 183, 0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1410px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.header-block {
  display: flex;
  flex-direction: column;
  gap: 43px;
  padding-top: 16px;
}

.logo-bar {
  display: flex;
  align-items: center;
  gap: 17.5px;
  flex-wrap: wrap;
  text-decoration: none;
}

.logo-allergie img {
  display: block;
  height: 52.7px;
  width: auto;
}

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

.logo-arrow img {
  width: 42.5px;
  height: 42.5px;
  display: block;
}

.logo-cc img {
  display: block;
  height: 80.2px;
  width: auto;
}

.hero h1 {
  font-size: 82px;
  line-height: 98.4px;
  color: var(--white);
  font-weight: 300;
  letter-spacing: -0.005em;
}

.hero h1 .accent {
  font-weight: 400;
}

.content-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 604px;
}

.lead-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 1216px;
}

.lead {
  font-size: 40px;
  line-height: 52px;
  font-weight: 400;
  color: var(--white);
}

.lead-secondary {
  font-size: 28px;
  line-height: 33px;
  font-weight: 400;
  color: var(--navy);
}

.info-card {
  background: var(--white);
  color: var(--navy);
  padding: 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 604px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.info-card-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-card h2 {
  font-size: 16px;
  line-height: 30px;
  font-weight: 600;
  color: var(--navy);
}

.info-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-card li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  line-height: 32px;
  font-weight: 350;
  color: var(--navy);
}

.info-card li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.closing {
  font-size: 20px;
  line-height: 30px;
  font-weight: 350;
  color: var(--white);
  max-width: 1020px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  padding: 16px 16px 16px 20px;
  font-weight: 400;
  font-size: 18px;
  line-height: normal;
  border-radius: 10px;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.cta:hover, .cta:focus { background: var(--orange-hover); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-arrow img { width: 24px; height: 24px; display: block; }

/* =========================================================
   SUBPAGINA — HEADER
   Kleinere sage-band met logobalk en paginatitel
   ========================================================= */
.page-header {
  background-color: var(--sage);
  padding: 48px 255px 40px;
  position: relative;
  overflow: hidden;
}

.page-header .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1410px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page-header h1 {
  font-size: 56px;
  line-height: 1.1;
  color: var(--white);
  font-weight: 300;
  letter-spacing: -0.005em;
}

.page-header h1 .accent {
  font-weight: 400;
}

/* =========================================================
   SUBPAGINA — CONTENT
   ========================================================= */
.page-content {
  background: var(--white);
  flex: 1;
  padding: 64px 255px 96px;
  color: var(--navy);
}

.page-content .container {
  max-width: 820px;
  margin: 0 auto;
}

.page-content article {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-content h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--navy);
  margin-top: 24px;
}

.page-content h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--navy);
  margin-top: 16px;
}

.page-content p {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 350;
  color: var(--navy);
}

.page-content strong {
  font-weight: 600;
}

.page-content em {
  font-style: italic;
}

.page-content a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content a:hover {
  color: var(--orange-hover);
}

.page-content ul,
.page-content ol {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-content li {
  position: relative;
  padding-left: 24px;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 350;
  color: var(--navy);
}

.page-content ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.page-content ol {
  counter-reset: ordered;
}

.page-content ol > li {
  counter-increment: ordered;
}

.page-content ol > li::before {
  content: counter(ordered) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 600;
}

/* Geneste lijsten (bv. opsommingen onder e-mail/SMS doelen) */
.page-content li ul {
  margin-top: 8px;
}

.page-content .meta {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 16px;
}

.page-content .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  margin-top: 32px;
  padding: 12px 20px;
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  align-self: flex-start;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-content .back-link:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

/* =========================================================
   FOOTER (gedeeld)
   ========================================================= */
.footer {
  background: var(--navy);
  color: var(--white);
  min-height: 100px;
  padding: 20px 255px;
  display: flex;
  align-items: center;
}

.footer-inner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.alk-logo img {
  display: block;
  height: 60px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
  color: var(--white);
}

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

.footer-links a:hover { text-decoration: underline; }

.footer-links .sep {
  display: inline-block;
  width: 1px;
  height: 13px;
  background: var(--separator);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1440px) {
  .hero { padding: 80px 80px; }
  .page-header { padding: 40px 80px 32px; }
  .page-content { padding: 56px 80px 80px; }
  .footer { padding: 20px 80px; }
}

@media (max-width: 1024px) {
  .hero { padding: 60px 40px; }
  .page-header { padding: 32px 40px 28px; }
  .page-content { padding: 48px 40px 64px; }
  .footer { padding: 24px 40px; min-height: auto; }

  .hero h1 { font-size: 64px; line-height: 1.1; }
  .lead { font-size: 32px; line-height: 1.25; }
  .lead-secondary { font-size: 24px; line-height: 1.25; }

  .page-header h1 { font-size: 44px; }
  .page-content h2 { font-size: 24px; }
  .page-content h3 { font-size: 18px; }
}

@media (max-width: 768px) {
  .hero { padding: 40px 20px 56px; }
  .page-header { padding: 28px 20px 24px; }
  .page-content { padding: 40px 20px 56px; }
  .footer { padding: 24px 20px; }

  .hero h1 { font-size: 40px; line-height: 1.1; }
  .lead { font-size: 22px; line-height: 1.3; }
  .lead-secondary { font-size: 17px; line-height: 1.3; }
  .closing { font-size: 16px; line-height: 1.5; }
  .info-card { padding: 24px; }

  .header-block { gap: 24px; padding-top: 8px; }
  .hero .container { gap: 24px; }

  .page-header h1 { font-size: 32px; }
  .page-header .container { gap: 24px; }
  .page-content h2 { font-size: 22px; margin-top: 16px; }
  .page-content h3 { font-size: 17px; }
  .page-content p,
  .page-content li { font-size: 16px; line-height: 1.6; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-links {
    font-size: 13px;
    line-height: 1.5;
    gap: 6px 8px;
  }
  .footer-links .sep { height: 11px; }
  .alk-logo img { height: 44px; }

  .logo-bar { gap: 12px; }
  .logo-allergie img { height: 36px; }
  .logo-arrow img { width: 26px; height: 26px; }
  .logo-cc img { height: 52px; }

  .cta {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px 14px 20px;
  }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .lead { font-size: 20px; }
  .page-header h1 { font-size: 28px; }
}
