/* Layout adjustments using the site's original cream, sage and ochre palette. */
html { scroll-padding-top: 5.5rem; }

.gp-brand { white-space: nowrap; }
.gp-hero { padding-top: clamp(2.5rem, 4vw, 4rem); padding-bottom: clamp(4rem, 6vw, 6rem); }
.gp-hero-content { margin-bottom: 2.5rem; }
.gp-hero-content h1 { line-height: 1.1; }
.gp-hero-content > p { max-width: 47rem; margin-inline: auto; font-weight: 500; opacity: 1; }
.gp-hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.gp-primary-action, .gp-secondary-action {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.25rem; border-radius: .8rem;
  font-weight: 700; transition: transform .2s ease, background-color .2s ease;
}
.gp-primary-action { background: var(--dark-sage); color: #fff; }
.gp-primary-action:hover { background: #4e685c; transform: translateY(-2px); }
.gp-secondary-action { border: 1px solid var(--sage); color: #3f5c50; }
.gp-secondary-action:hover { background: rgba(136, 168, 152, .12); }

.gp-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  gap: 2.5rem; width: min(100%, 70rem); margin-inline: auto;
}
.gp-book { max-width: 20rem; margin-bottom: 0 !important; }
.gp-book > img { display: block; width: 100%; height: auto; }
.gp-offers { display: grid !important; grid-template-columns: 1fr !important; gap: 1rem !important; width: 100%; max-width: none !important; }
.gp-offer { padding: 1.5rem !important; border-radius: 1.5rem; }
.gp-offer > div:first-child { width: 3rem; height: 3rem; margin-bottom: .8rem; }
.gp-offer > div:first-child svg { width: 1.5rem; height: 1.5rem; }
.gp-offer > h3 { margin-bottom: .4rem; }
.gp-offer > p:first-of-type { margin-bottom: 1rem; flex-grow: 0; font-weight: 500 !important; line-height: 1.5; }
.gp-price-row { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .75rem; row-gap: .1rem; margin-bottom: 1rem !important; }
.gp-price-row span:last-child { opacity: .7; line-height: 1.35; }
.gp-offer > a { padding-block: .85rem !important; box-shadow: none; }
.gp-offer > p:last-child { margin-top: .65rem; opacity: .7; }

.gp-section { padding-block: clamp(4rem, 6vw, 6rem) !important; }
.gp-section p { font-weight: 500 !important; }
#kenmerken .text-center.mb-20, #tijdlijn .text-center.mb-24 { margin-bottom: 3rem; }
#kenmerken .grid { gap: 1.25rem; }
#kenmerken .grid > div { padding: 2rem; }
#kenmerken .grid > div > div:first-child { margin-bottom: 1.25rem; }
#kenmerken .grid h3 { margin-bottom: .5rem; }
#tijdlijn .mb-20 { margin-bottom: 3rem; }
#tijdlijn .gp-timeline { border-left: 0 !important; margin-left: 0 !important; }
#tijdlijn .gp-timeline::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: calc(1.75rem - 2px);
  width: 4px; border-radius: 4px; background: rgba(136, 168, 152, .27);
}
#tijdlijn .gp-timeline-item {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr);
  column-gap: 1.25rem; align-items: start; margin-left: 0 !important;
}
#tijdlijn .gp-timeline-icon {
  position: relative !important; left: auto !important; top: auto !important;
  grid-column: 1; grid-row: 1 / span 2; z-index: 1;
}
#tijdlijn .gp-timeline-item h3 { grid-column: 2; grid-row: 1; min-width: 0; margin-top: .15rem; line-height: 1.35; }
#tijdlijn .gp-timeline-item h3 span { white-space: nowrap; }
#tijdlijn .gp-timeline-item p { grid-column: 2; grid-row: 2; min-width: 0; }

#faq .text-center.mb-24 { margin-bottom: 2.25rem !important; }
#faq .gp-faq-list > * + * { margin-top: .8rem !important; }
#faq .gp-faq-item {
  background: var(--cream); border: 1px solid rgba(136, 168, 152, .35);
  border-radius: 1.25rem; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
#faq .gp-faq-item[open] { border-color: var(--sage); box-shadow: 0 10px 24px rgba(64, 91, 76, .08); }
#faq .gp-faq-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 1.6rem; cursor: pointer; list-style: none;
  color: #111827; font-size: 1.125rem; line-height: 1.45; font-weight: 700;
}
#faq .gp-faq-summary::-webkit-details-marker { display: none; }
#faq .gp-faq-summary:focus-visible { outline: 3px solid var(--sage); outline-offset: -3px; }
#faq .gp-faq-question { min-width: 0; flex: 1; }
#faq .gp-faq-chevron {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 2.25rem; height: 2.25rem; border-radius: .75rem;
  background: #fff; color: var(--dark-sage); transition: transform .2s ease, background-color .2s ease;
}
#faq .gp-faq-item[open] .gp-faq-chevron { transform: rotate(180deg); background: rgba(136, 168, 152, .2); }
#faq .gp-faq-answer {
  padding: 1rem 1.6rem 1.5rem; border-top: 1px solid rgba(136, 168, 152, .25);
  color: #4b5563; font-size: 1rem; line-height: 1.7; font-weight: 400;
}
.gp-social .container > div { gap: 3rem; }
.gp-social .grid { gap: 1rem; }
.gp-social .grid a { border-radius: 1.5rem; }
.gp-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.gp-hero-grid { scroll-margin-top: 6rem; }

.gp-subnav .container { gap: .75rem; }
.gp-subnav .container > a:first-child { min-width: 0; }
.gp-subnav .gp-brand { font-size: clamp(.9rem, 2vw, 1.25rem); }
.gp-subnav .container > div:last-child { flex-shrink: 0; }
.gp-policy-main { padding-block: clamp(2.5rem, 5vw, 5rem); }
.gp-policy-card { padding: clamp(1.5rem, 4vw, 2.5rem); }
.gp-preview-section { margin-bottom: clamp(3rem, 6vw, 5rem); }
.gp-preview-section .space-y-12 > * + * { margin-top: clamp(1.5rem, 3vw, 3rem); }
.gp-contact-header { padding-top: clamp(7rem, 10vw, 10rem); padding-bottom: 2rem; }
.gp-contact-card { gap: clamp(2rem, 5vw, 3rem); }
.gp-contact-card > div { min-width: 0; }
.gp-contact-card a { overflow-wrap: anywhere; }
#choiceModal button svg { color: #fff !important; }

#choiceModal { padding: 1rem; }
#choiceModal > div.relative { max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
#choiceModal > div.relative > div:first-child { position: sticky; top: 0; z-index: 1; }

@media (min-width: 900px) {
  .gp-hero-grid { grid-template-columns: minmax(18rem, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4.5rem); }
  .gp-book { max-width: 22rem; }
}

@media (max-width: 767px) {
  .gp-hero { padding-inline: 1rem; padding-top: 2.5rem; }
  .gp-hero-content { margin-bottom: 2.25rem; }
  .gp-hero-content h1 { font-size: clamp(2.15rem, 8vw, 3.2rem); }
  .gp-hero-content > p { font-size: 1rem; line-height: 1.55; }
  .gp-hero-content .flex.flex-wrap { gap: .55rem 1rem; margin-bottom: 1.4rem; }
  .gp-hero-actions { max-width: 23rem; margin-inline: auto; }
  .gp-hero-actions a { flex: 1 1 100%; }
  .gp-book { max-width: min(72vw, 17rem); }
  .gp-book > div.absolute.-bottom-6 { display: none; }
  .gp-offer { padding: 1.25rem !important; }
  .gp-price-row { display: block; }
  .gp-price-row span { display: block; }
  #kenmerken .grid > div { padding: 1.5rem; }
  #tijdlijn .gp-timeline-item { grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: .8rem; }
  #tijdlijn .gp-timeline::before { left: calc(1.375rem - 2px); }
  #tijdlijn .gp-timeline-icon { width: 2.75rem !important; height: 2.75rem !important; border-width: 3px; border-radius: .85rem; }
  #tijdlijn .gp-timeline-icon svg { width: 1.2rem; height: 1.2rem; }
  #tijdlijn .gp-timeline-item h3 { font-size: 1.2rem; }
  #tijdlijn .gp-timeline-item p { font-size: 1rem; line-height: 1.6; }
  #faq .gp-faq-summary { padding: 1.1rem 1.2rem; font-size: 1rem; }
  #faq .gp-faq-answer { padding: .9rem 1.2rem 1.2rem; font-size: .95rem; }
  .gp-social .grid { gap: .5rem; }
  .gp-social .grid a { border-radius: .9rem; }
  .gp-social .container > div { gap: 2rem; }
  .gp-footer-links { gap: 1rem; }
  .gp-contact-card { padding: 1.5rem; }
  .gp-contact-card .flex.items-center.gap-4 > div:last-child { min-width: 0; }
  .gp-formula-page > div.absolute:first-child { width: 16rem !important; right: 0 !important; margin-right: 0 !important; }
  .gp-formula-page > div.absolute:nth-child(2) { width: 18rem !important; left: 0 !important; margin-left: 0 !important; }
  .gp-formula-preview > div.absolute { display: none; }
  .gp-formula-cover { width: min(16rem, calc(100vw - 4rem)) !important; height: 25rem !important; }
  #choiceModal > div.relative > div:first-child { padding: 1.25rem; }
  #choiceModal > div.relative > div:nth-child(2) { padding: 1rem; gap: .75rem; }
  #choiceModal > div.relative > div:nth-child(2) > div { padding: 1rem; }
  body:has(#cookieBanner:not([hidden])) #mobileStickyBtn,
  body:has(#choiceModal:not(.hidden)) #mobileStickyBtn { display: none; }
  #cookieBanner { padding: .75rem; }
  #cookieBanner .bg-white { padding: 1rem; gap: 1rem; }
}

@media (max-width: 420px) {
  #navbar .gp-brand { font-size: .9rem; }
  #navbar .container { padding-inline: 1rem; }
  .gp-subnav .gp-brand { display: none; }
  .gp-subnav .container { padding-inline: 1rem; }
  .gp-subnav .container > a:first-child img { width: 2.5rem; height: 2.5rem; }
  .gp-subnav button { padding-inline: .8rem; font-size: .85rem; }
  .gp-policy-card h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); overflow-wrap: anywhere; }
  .gp-footer-links { grid-template-columns: 1fr; text-align: center; }
  #choiceModal > div.relative > div:first-child { text-align: left; padding-right: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gp-book > img { animation: none; }
  .gp-primary-action, .gp-secondary-action { transition: none; }
  #faq .gp-faq-item, #faq .gp-faq-chevron { transition: none; }
}
