/* Shared layout refinements for the photo banner and touch screens. */
:root { --nav-height: 86px; }
html { scroll-padding-top: calc(var(--nav-height) + 16px); }
.nav { min-height: var(--nav-height); }
.nav-right { flex-shrink: 0; }
.nav-right > .language-switch { order: 1; }
.nav-right > .nav-cta { order: 2; }
.nav-right > .nav-menu-btn { order: 3; min-width: 44px; }
.language-switch button { min-width: 44px; min-height: 44px; }
.nav-drawer { top: var(--nav-height); max-height: calc(100dvh - var(--nav-height)); overflow-y: auto; }
.drawer-language { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--steel); font-size: 14px; }
.drawer-language .language-switch { padding: 0; border: 0; gap: 6px; }
.drawer-language.drawer-language-bottom { justify-content: flex-start; padding-top: 18px; padding-bottom: 0; border-bottom: 0; }
.drawer-language button { border: 1px solid var(--line); border-radius: 10px; }
.drawer-language-bottom button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
.drawer-language-bottom .language-flag { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 24px; line-height: 1; }
.drawer-language button[aria-pressed=true] { border-color: var(--accent); background: var(--accent-dark); text-decoration: none; }

/* One photograph; a fixed, readable message and action over it. */
.hero.hero-banner { padding-top: calc(var(--nav-height) + 24px); }
.hero-banner .hero-stage { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 660px; overflow: hidden; border-radius: 18px; background: var(--carbon); }
.hero-banner .hero-visual { position: absolute; inset: 0; z-index: -2; margin: 0; width: 100%; height: 100%; min-height: 0; border-radius: 0; }
.hero-banner .hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
.hero-banner .hero-visual::after { display: none; }
.hero-banner .hero-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,9,11,.94) 0%, rgba(7,9,11,.8) 34%, rgba(7,9,11,.18) 70%), linear-gradient(0deg, rgba(7,9,11,.6), transparent 45%); pointer-events: none; }
.hero-banner .hero-copy { width: min(100%, 650px); padding: 56px; align-self: center; }
.hero-banner h1 { font-size: clamp(60px,6.3vw,84px); line-height: .98; margin-top: 24px; overflow-wrap: normal; }
.hero-banner h1 > span, .hero-banner h1 > em { display: block; }
.hero-banner .sub { max-width: 34ch; color: #e0e3e5; font-size: 18px; line-height: 1.55; margin-top: 24px; }
.hero-banner .hero-actions { gap: 12px 24px; margin-top: 28px; }
.hero-banner .text-link { color: var(--bone); border-color: rgba(244,242,237,.5); }
.hero-banner .eyebrow { color: var(--accent-light); }

/* Keep controls centred on the card row, with room around their hit areas. */
.review-carousel { padding-inline: 25px; }
.review-controls { position: absolute; inset: 0; display: block; pointer-events: none; }
.review-controls button { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; }
.review-controls #reviews-prev { left: 0; }
.review-controls #reviews-next { right: 0; }
.review-track { align-items: stretch; }
.review-card { min-height: 0; padding: 30px; }
.review-card blockquote { margin-top: 20px; }
.review-card:focus-within { border-color: var(--accent); }
.offer-link { min-height: 44px; white-space: normal; }
.offer, .offer-detail, .about-copy, .footer-column { min-width: 0; }
.footer-column a, .footer-column span { overflow-wrap: anywhere; }

/* Form explanations live beside the relevant question, in all layouts. */
.intake-page .intake-hero { padding-top: calc(var(--nav-height) + 36px); padding-bottom: 12px; }
.intake-page .intake-hero h1 { max-width: 22ch; }
.intake-page .intake-hero.is-compact { padding-top: calc(var(--nav-height) + 28px); }
.intake-page .intake-hero.is-compact h1 { font-size: 30px; }
.intake-page .intake-hero p.sub { max-width: 50ch; }
.intake-page .progress { margin-bottom: 28px; }
.intake-page fieldset.intake-step, .intake-page fieldset.radio-group { min-inline-size: 0; }
.intake-page input, .intake-page textarea, .intake-page fieldset { scroll-margin-top: calc(var(--nav-height) + 24px); }
.package-help { border: 1px solid var(--line); border-radius: 12px; margin: -14px 0 32px; padding: 0 18px; background: var(--carbon); }
.package-help summary { padding: 14px 0; min-height: 48px; cursor: pointer; color: var(--accent-light); font-size: 15px; }
.package-help[open] { padding-bottom: 18px; }
.package-help .context-body { font-size: 15px; margin-bottom: 16px; }
.package-help .package { padding: 16px; background: var(--ink); }
.package-help .package.is-selected { border-color: var(--accent); background: var(--carbon-2); }
.package-help .package-note { font-size: 14px; }
.step-nav { align-items: stretch; }
.step-nav .btn { min-height: 54px; }
.step-nav #btn-next, .step-nav #btn-submit { margin-left: auto; min-width: 190px; }
.checkbox-field label { cursor: pointer; padding-block: 4px; }
.checkbox-field input { margin-top: 7px; width: 22px; height: 22px; }
.privacy-link { padding-block: 10px; min-height: 44px; }

@media (max-width: 1100px) {
  .nav-home .nav-right > .language-switch { display: none; }
  .hero-banner .hero-copy { padding: 40px; width: min(100%, 600px); }
  .hero-banner .hero-stage { min-height: 610px; }
  .hero-banner h1 { font-size: clamp(58px,7.2vw,76px); }
}

@media (max-width: 900px) {
  .intake-page .intake-layout { gap: 24px; }
  .intake-page .intake-side { position: static; }
  .intake-page .intake-photo { width: 100%; max-width: 320px; height: 200px; aspect-ratio: auto; margin: 0 auto; }
  #context-slot-mobile { margin-top: 28px; }
  .intake-step[data-step="2"]:not([hidden]) ~ #context-slot-mobile { display: none; }
  #context-slot-mobile .context-body { font-size: 15px; }
  #context-slot-mobile .context-points { gap: 8px; }
}

@media (max-width: 700px) {
  :root { --nav-height: 72px; }
  .wrap { padding-inline: 20px; }
  .nav { height: var(--nav-height); min-height: var(--nav-height); padding: 12px 16px; gap: 12px; }
  .nav .brand { flex: 0 0 76px; width: 76px; min-width: 0; height: 38px; }
  .nav-right { gap: 8px; }
  .nav-cta { min-height: 44px; padding: 10px 14px; font-size: 14px; }
  .nav-menu-btn { min-width: 44px; padding: 8px; font-size: 14px; }
  .nav-drawer { padding: 16px 20px 24px; }
  .nav-drawer a { font-size: 18px; min-height: 48px; }
  .nav:not(.nav-home) { height: auto; flex-wrap: wrap; }
  .nav:not(.nav-home) .nav-right { margin-left: auto; }
  .nav:not(.nav-home) .language-switch { padding-left: 0; border-left: 0; }
  .nav:not(.nav-home) .language-switch button { min-width: 44px; font-size: 12px; padding-inline: 4px; }
  .nav:not(.nav-home) .nav-cta { font-size: 13px; padding-inline: 10px; }

  .hero.hero-banner { padding-top: var(--nav-height); }
  .hero-banner > .wrap { max-width: none; padding-inline: 0; }
  .hero-banner .hero-stage { min-height: 560px; border-radius: 0; align-items: end; }
  .hero-banner .hero-visual > img { object-position: center top; }
  .hero-banner .hero-stage::before { background: linear-gradient(180deg, rgba(7,9,11,.08) 0%, rgba(7,9,11,.15) 24%, rgba(7,9,11,.82) 45%, var(--ink) 82%, var(--ink) 100%); }
  .hero-banner .hero-copy { width: 100%; padding: 170px 22px 18px; align-self: end; }
  .hero-banner .eyebrow { font-size: 10px; line-height: 1.5; letter-spacing: .06em; }
  .hero-banner h1 { font-size: clamp(44px,11.6vw,60px); line-height: 1.01; letter-spacing: -.045em; margin-top: 14px; }
  .hero-banner .sub { max-width: 38ch; margin-top: 18px; font-size: 16px; line-height: 1.5; }
  .hero-banner .hero-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 24px; }
  .hero-banner .hero-actions .btn { width: 100%; min-height: 54px; padding: 14px 20px; }
  .hero-banner .hero-actions .text-link { align-self: center; justify-content: center; min-height: 44px; font-size: 15px; padding: 8px 6px; }

  .band { padding: 52px 0; }
  .offers-section { padding-top: 28px; }
  .h2 { font-size: clamp(30px,8.5vw,38px); line-height: 1.1; }
  .section-heading { margin-bottom: 26px; }

  /* Mobile homepage: centred section introductions, left-aligned detail. */
  #main > section .section-heading { display: block; text-align: center; }
  #main > section .section-heading .h2,
  #main .process-intro > .h2,
  #main .coaching-app-copy > .h2,
  #main .about-copy > h2 { text-align: center; text-wrap: balance; }
  #main > section .section-intro,
  #main .coaching-app-intro { text-align: center; margin-inline: auto; }
  #main .review-card { text-align: center; }
  #main .final-inner { text-align: center; }
  #main .final-inner h2 { text-wrap: balance; }
  #main .final-action { width: 100%; margin-inline: auto; }
  #main .final-inner p:not(.eyebrow) { margin-inline: auto; }

  .offer { gap: 16px; padding: 26px 0; }
  .offer-heading { gap: 12px; }
  .offer-index { font-size: 12px; }
  .offer h3 { font-size: 25px; }
  .offer-detail { padding-left: 0; }
  .offer-position { font-size: 17px; }
  .offer-list { font-size: 16px; margin-top: 14px; }
  .offer-link { margin-left: 0; justify-self: stretch; justify-content: center; border: 1px solid var(--accent-line); border-radius: 10px; min-height: 48px; padding: 12px 16px; }
  .offer-primary .offer-link { background: var(--accent-dark); }
  .shop-callout { padding: 22px; margin-top: 24px; }
  .shop-callout .text-link { white-space: normal; font-size: 15px; }

  .reviews-section { padding: 52px 0; }
  .reviews-section .h2 { font-size: clamp(30px,8vw,36px); }
  .review-carousel { padding-inline: 22px; margin-top: 26px; }
  .review-controls { inset: 0; }
  .review-controls button { width: 44px; height: 44px; font-size: 22px; }
  .review-track { gap: 14px; }
  .review-card { flex: 0 0 calc(100% - 28px); padding: 22px 24px; min-height: 0; }
  .review-service { font-size: 12px; line-height: 1.5; }
  .review-card blockquote { font-size: 16px; line-height: 1.65; margin-top: 16px; overflow-wrap: anywhere; }

  .process-layout { gap: 26px; }
  .process-photo { height: 210px; margin-top: 24px; }
  .step { gap: 12px; padding: 22px 0; grid-template-columns: 26px minmax(0,1fr); }
  .step h3 { font-size: 21px; }
  .step p { font-size: 16px; }
  .app-gallery { gap: 30px; }
  .app-image, .app-screen-nutrition .app-image { aspect-ratio: auto; height: clamp(230px,65vw,300px); padding: 8px; }
  .app-screen figcaption { padding-top: 16px; }
  .app-screen h3 { font-size: 23px; }
  .app-screen p { font-size: 16px; margin-top: 8px; }
  .app-screen .eyebrow { font-size: 11px; }
  .who { gap: 24px; }
  .who-card { padding-top: 20px; }
  .who-card ul { gap: 14px; }
  .about { gap: 26px; }
  .about-portrait { width: 100%; max-width: 400px; margin-inline: auto; }
  .about-img { width: 100%; height: clamp(260px,75vw,320px); }
  .about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
  .portrait-caption { margin-top: 12px; gap: 6px; font-size: 13px; }
  .about h2 { font-size: clamp(34px,9vw,44px); overflow-wrap: anywhere; }
  .about .lead { margin-top: 20px; font-size: 16px; line-height: 1.65; }
  .about .body p { font-size: 16px; line-height: 1.65; margin-top: 16px; }
  .about .sig { margin-top: 22px; }
  .final { padding-block: 52px; }
  .final h2 { font-size: clamp(36px,10vw,48px); }
  .final-inner { gap: 24px; }
  .final-action { max-width: none; }
  .final .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-brand, .footer-contact, .footer-location { grid-column: 1 / -1; }
  .footer-grid > nav { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .footer-grid > nav h2 { grid-column: 1 / -1; }
  .footer-column h2 { margin-bottom: 8px; }
  .footer-column a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
  .footer-contact { gap: 2px; }
  .footer-location { gap: 6px; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot > .wrap:not(.foot-in):not(.foot-bottom) { margin-top: 0; }

  .intake-page .intake-hero { padding-top: calc(var(--nav-height) + 24px); }
  .intake-page .intake-hero.is-compact { padding-top: calc(var(--nav-height) + 24px); }
  .intake-page .intake-hero .eyebrow { font-size: 11px; }
  .intake-page .intake-hero h1 { font-size: clamp(30px,8vw,36px); margin-top: 12px; }
  .intake-page .intake-hero.is-compact h1 { font-size: 30px; }
  .intake-page .intake-hero p.sub { font-size: 16px; margin-top: 12px; }
  .intake-page .intake-band { padding-top: 12px; }
  .intake-page .intake-form-col { padding-top: 20px; }
  .intake-page .progress { margin-bottom: 24px; }
  .progress-label { font-size: 12px; }
  .intake-page .field { margin-bottom: 20px; }
  .intake-page .field > label, .intake-page .field > legend, .intake-page fieldset.radio-group > legend { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 16px; line-height: 1.4; color: #d9dde0; }
  .radio-option { min-height: 52px; padding: 14px; line-height: 1.45; }
  .checkbox-field label { font-size: 15px; }
  .intake-page .step-nav { gap: 10px; }
  .step-nav #btn-next, .step-nav #btn-submit { flex: 1; min-width: 0; }
  .step-nav #btn-back { flex: 0 0 auto; padding-inline: 16px; }
  .step-nav .btn { font-size: 15px; padding: 14px 16px; }
  .package-help { padding-inline: 14px; }
  .package-help .package { padding: 14px; }
  .privacy-content { padding-bottom: 24px; }
  .privacy-section { margin-bottom: 30px; }
  .privacy-content a { overflow-wrap: anywhere; }
  #bedankt, #not-found { padding-top: calc(var(--nav-height) + 40px) !important; }
}

@media (max-width: 360px) {
  .nav { padding-inline: 12px; gap: 8px; }
  .nav .brand { flex-basis: 64px; width: 64px; height: 34px; }
  .nav-right { gap: 6px; }
  .nav-home .nav-cta { padding-inline: 12px; font-size: 13px; }
  .nav:not(.nav-home) .nav-cta { font-size: 12px; padding-inline: 8px; }
  .hero-banner .hero-copy { padding: 150px 18px 22px; }
  .hero-banner h1 { font-size: 42px; }
  .hero-banner .sub { font-size: 15px; }
  .review-card { padding-inline: 22px; }
}

@media (hover: none) {
  .btn:hover { transform: none; }
  .app-screen:hover img { transform: none; }
  .btn:active, .nav-cta:active { background: var(--accent-light); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner *, .review-controls button { transition: none; }
}

/* One horizontal footer on desktop; clear groups and touch targets below it. */
.foot.foot-compact { padding: 24px 0; }
.foot.foot-compact > .wrap.footer-grid {
  margin-top: 0;
  padding-right: 96px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
}
.foot-compact .footer-brand {
  grid-column: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.foot-compact .footer-brand .fb { width: 88px; height: 44px; margin: 0; }
.foot.foot-compact .footer-muted { margin: 4px 0 0; font-size: 12px; line-height: 1.5; white-space: nowrap; }
.foot-compact .footer-grid > .footer-column,
.foot-compact .footer-contact {
  grid-column: auto;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 0;
}
.foot-compact .footer-grid > .footer-column { justify-content: center; }
.foot-compact .footer-column > a,
.foot-compact .footer-contact > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--steel);
  white-space: nowrap;
}
.foot-compact .footer-column > a:hover,
.foot-compact .footer-contact > a:hover { color: var(--accent-light); }
.foot-compact .footer-contact-icon { display: none; }
.foot-compact .footer-copyright { margin: 0; font-size: 12px; line-height: 1.5; color: var(--steel); white-space: nowrap; }
.foot-compact a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 1099px) {
  .foot.foot-compact > .wrap.footer-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; }
  .foot-compact .footer-brand { grid-area: 1 / 1; }
  .foot-compact .footer-grid > .footer-column { grid-area: 2 / 1; justify-content: flex-start; flex-wrap: wrap; gap: 0 20px; }
  .foot-compact .footer-contact { grid-area: 1 / 2; justify-content: flex-end; }
  .foot-compact .footer-copyright { grid-area: 2 / 2; justify-self: end; }
}
@media (max-width: 700px) {
  .foot.foot-compact { padding: 16px 0 40px; }
  .foot.foot-compact > .wrap.footer-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding-inline: 20px; }
  .foot-compact .footer-brand { grid-area: 1 / 1; align-items: flex-start; }
  .foot.foot-compact .footer-muted { display: none; }
  .foot-compact .footer-grid > .footer-column {
    grid-area: 2 / 1 / 3 / -1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
  }
  .foot-compact .footer-column > a { min-width: 44px; justify-content: center; }
  .foot-compact .footer-contact { grid-area: 1 / 2; flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; gap: 8px; }
  .foot-compact .footer-contact > a { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .foot-compact .footer-contact-icon { display: block; width: 20px; height: 20px; }
  .foot-compact .footer-contact-label { display: none; }
  .foot-compact .footer-copyright { grid-area: 3 / 1 / 4 / -1; justify-self: start; }
  .intake-page .single-footer { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; }
  .intake-page .single-footer a { display: inline-flex; align-items: center; min-height: 44px; margin: 0; }
}

/* Keep verified ratings aligned at the bottom of equal-height review cards. */
#reviews .review-card { display: flex; flex-direction: column; }
#reviews .review-rating { display: flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 20px; color: #ffe500; flex-shrink: 0; }
#reviews .review-rating svg { display: block; flex-shrink: 0; }
@media (max-width: 700px) {
  #reviews .review-rating { justify-content: center; padding-top: 16px; }
}

/* Compact introduction above the review slider. */
#reviews .reviews-heading { display: block; max-width: 760px; margin: 0 auto 24px; text-align: center; }
#reviews .reviews-heading .h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
#reviews .reviews-intro { max-width: 64ch; margin: 12px auto 0; font-size: 16px; line-height: 1.55; color: var(--steel); text-wrap: pretty; }
#reviews .review-carousel { margin-top: 0; }
@media (max-width: 700px) {
  #reviews .reviews-heading { margin-bottom: 20px; }
  #reviews .reviews-intro { margin-top: 10px; }
}

/* Recognition between social proof and the offer. */
#herken-je-dit { padding: 40px 0; border-top: 1px solid var(--line-soft); background: var(--carbon); }
#herken-je-dit .problem-copy { max-width: 680px; margin-inline: auto; text-align: left; }
#herken-je-dit .h2 { margin: 0; font-size: clamp(28px,3vw,38px); line-height: 1.15; letter-spacing: -.025em; text-align: left; text-wrap: balance; }
#herken-je-dit p, #herken-je-dit li { font-size: 17px; line-height: 1.5; }
#herken-je-dit .problem-lead { max-width: 60ch; margin: 14px 0 0; color: var(--steel); }
#herken-je-dit .problem-questions { list-style: none; padding: 0 0 0 16px; margin: 20px 0; border-left: 2px solid var(--accent); display: grid; gap: 5px; color: var(--bone); }
#herken-je-dit .problem-close p { margin: 0; max-width: 56ch; color: var(--bone); font-weight: 500; text-wrap: pretty; }
@media (max-width: 700px) {
  #herken-je-dit { padding: 30px 0; }
  #herken-je-dit p, #herken-je-dit li { font-size: 16px; }
  #herken-je-dit .problem-lead { margin-top: 12px; }
  #herken-je-dit .problem-questions { margin-block: 18px; padding-left: 14px; gap: 4px; }
}
