/*
Theme Name: Shared Independence
Theme URI: https://sharedindependence.nl
Author: Stefan Bos
Description: Modern, professioneel WordPress-thema met fluid typografie, consistente spacing en modulaire secties.
Version: 1.2
Text Domain: shared-independence
*/
@font-face {
  font-family: "Panton Narrow Regular";
  src: url("assets/font/panton-narrow-regular.woff2") format("woff2"),
       url("assets/font/panton-narrow-regular.woff") format("woff"),
       url("assets/font/panton-narrow-regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===============================
   ROOT VARIABELEN
================================= */
:root {
  /* Typografie */
  --fs-small: clamp(0.85rem, 0.9vw, 0.95rem);
  --fs-base: clamp(1rem, 0.9vw + 0.2rem, 1.15rem);
  --fs-medium: clamp(1.2rem, 1vw + 0.4rem, 1.6rem);
  --fs-large: clamp(1.6rem, 1.4vw + 0.6rem, 2.2rem);
  --fs-xlarge: clamp(2rem, 2vw + 0.8rem, 3rem);

  /* Kleuren */
  --color-primary: #00023c;
  --color-accent: #e5bb2f;
  --color-bg-light: #f5f6f8;
  --color-text-dark: #0c114d;
  --color-text: #111;
  --color-light-gray: #f4f4f4;
  --color-white: #fff;
  /* Spacing en radius */
  --radius: 5px;
  --section-padding: clamp(25px, 3vw, 50px);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===============================
   BASISSTRUCTUUR
================================= */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Panton Narrow", "Calisto MT", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5 {
  color: var(--color-text-dark);
  font-weight: 700;
  margin-top: 0;
}

h1 { font-family: "Calisto MT", serif; font-size: var(--fs-xlarge); line-height: 1.2; }
h2 { font-family: "Calisto MT", serif; font-size: var(--fs-large); line-height: 1.3; }
h3 { font-family: "Calisto MT", serif; font-size: var(--fs-medium); line-height: 1.4; }

p, li, a { font-size: var(--fs-base); }
small { font-size: var(--fs-small); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-title {
  margin-top: 70px;
}
.page-id-36 .site-footer,
.page-id-32 .site-footer {
    margin-top: 130px;
}
/* ===============================
   KNOPPEN EN LINKS
================================= */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: "Calisto MT", serif;
}
a:hover { color: var(--color-accent); }

.btn-yellow,
.btn-cta,
.btn-report {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.8em 1.6em;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-yellow:hover,
.btn-cta:hover,
.btn-report:hover {
  background-color: #d3aa23;
  color: #fff;
}
.cta-section .btn-yellow.btn-cta {
  color:#fff;
  max-width: 400px;
  margin: 0 auto;
}
.cta-section .btn-yellow.btn-cta i{
  color:#00023c;
}
/* ===============================
   INDEPENDENCE CHECK HERO
   =============================== */

/* Hele sectie – geen flex of grid hier */
.ic-hero {
  position: relative;
  width: 100%;
  overflow: visible;
  margin-bottom: clamp(40px, 8vw, 70px);
}

/* Achtergrondafbeelding */
.ic-hero__bg {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  line-height: 0;
}

.ic-hero__bg img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 587px;
  object-position: 0% 100%;
}
/*.home .ic-hero__media .ic-hero__bg img{
  max-height: initial;
}*/

/* Container met relatieve positionering */
.ic-hero .container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
/* Afbeelding */
.ic-hero__media {
  position: relative;
  width: 100%;
  overflow: hidden;
}


/* ===============================
   FLOATING HERO CARD (donkere overlay kaart)
================================= */

.ic-hero__floating__card {
  position: absolute;
  bottom: 0;
  transform: translateY(-30%);
  background-color: var(--color-primary);
  color: #fff;
  padding: clamp(32px, 3vw, 40px);
  border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 700px;
  font-size: clamp(0.95rem, 1vw + 0.2rem, 1.15rem);
  line-height: 1.6;
}


/* Typografie in kaart */
.ic-hero__floating__card h1 {
  color: #fff;
  font-size: var(--fs-xlarge);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.ic-hero__floating__card .hero-subtitle {
  color: #fff;
  font-size: var(--fs-large);
  margin: 0.5rem 0 1.5rem;
  line-height: 1.4;
  opacity: 0.9;
}

.ic-hero__floating__card .hero-list {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}

.ic-hero__floating__card .hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: var(--fs-base);
}

.ic-hero__floating__card .hero-list li::before {
  content: "✔";
  color: #15b86a;
  font-weight: bold;
}

.ic-hero__floating__card .btn-yellow {
  font-size: var(--fs-base);
  padding: 0.9em 1.6em;
  color: var(--color-white);
  margin: 0 auto;
}

/* Overlappende kaart */
.ic-hero__card {
  position: absolute;
  left: 50%;
  bottom: 0; /* basispositie: onderkant van afbeelding */
  transform: translate(-50%, 50%);
  background: var(--color-white);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 60px);
  width: min(1200px, 90%);
  z-index: 2;
  transition: transform 0.3s ease;
}

/* Typografie */
.ic-hero__card h1 {
  color: var(--color-primary);
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  line-height: 1.25;
  margin: 0 0 0.6rem 0;
  font-weight: 700;
}
.ic-hero__subtitle {
  color: var(--color-primary);
  font-size: clamp(1.1rem, 1.3vw + .8rem, 1.8rem);
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}
.ic-hero__subtitle .accent,
.ic-hero__card h1 .accent {
  color: var(--color-accent);
  font-weight: 700;
}
.store-badges {
  display: flex;
  justify-content: left;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
  position: absolute;
  transform: translateY(-162%);

  left: 20px;
}

.store-badges img {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.store-badges img:hover {
  transform: scale(1.05);
}
/* ===============================
   WELKOM SECTION
================================= */
.welcome-section {
  background: #fff;
  padding: 0px 20px;
  position: relative;
  z-index: 2;
}
.welcome-section h2 {
  font-size: var(--fs-large);
}
.welcome-section .intro-text {
  max-width: 850px;
  color: #333;
  line-height: 1.7;
}

/* ===============================
   BACKGROUND WRAPPER / OVERFLOW BOX
================================= */
section.background-wrapper {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: visible !important;
  position: relative;
  z-index: auto;
  padding-top: 12vw;
}


.background-image {
  width: 100%;
  aspect-ratio: 16 / 6; /* bepaalt hoogte van de wrapper */
  background: center / cover no-repeat;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  position: relative;
  z-index: 1;
}


.overflow-section {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 4vw); /* schaalbare overlap */
  width: min(1280px, 90%);
  background-color: var(--color-light-gray);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: clamp(32px, 5vw, 80px) clamp(20px, 4vw, 60px);
  z-index: 2;
}

.overflow-inner {
  text-align: left;
}
.overflow-inner h2 {
  color: var(--color-text-dark);
  font-weight: 700;
  margin-bottom: 20px;
}
.overflow-inner p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ===============================
   STEPS SECTION
================================= */
.steps .step {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 24px 28px;
  margin-bottom: 20px;
}
.step span {
  font-family: "Calisto MT", serif;
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  margin-right: 10px;
  font-weight: bold;
}
.step strong {
  display: inline-block;
  font-weight: 700;
  color: var(--color-text-dark);
  background-color: var(--color-light-gray);
  padding: 10px 15px;
  border-radius: 5px;
}
.step em {
  font-style: normal;
  font-weight: 600;
  color: #555;
}
.step p {
  margin: 10px 0 0 65px;
  color: #333;
}

/* ===============================
   EXPERTS SECTION
================================= */
.experts-section {
  background-color: #fff;
  text-align: left;
  padding: var(--section-padding) 0px;
}
}
.experts-intro {
  max-width: 900px;
  margin: 0 0 60px 0;
  color: #333;
}
.experts-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-bottom: 60px;
}
.expert-card {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 30px 20px;
  width: clamp(260px, 30%, 320px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}
.expert-card img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}
.experts-quote {
  font-style: italic;
  font-size: clamp(1.5rem, 1.8vw + 0.8rem, 2.4rem);
  color: #111;
  text-align: right;
  margin: 40px 80px;
}
.experts-quote p {
  font-size: var(--fs-medium);
  font-weight: 400;

}
.experts-quote footer {
  font-style: normal;
  font-size: var(--fs-base);
  color: #222;
  text-align: left;
  max-width: 300px;
  float: right;
  margin-top: 16px;
}
.clear {
  clear: both;
}
/* ===============================
   REPORT SECTION
================================= */
.report-section {
  background-color: #fff;
  padding-bottom: var(--section-padding);
}
.report-section h2 {
  font-family: "Calisto MT", serif;
  font-weight: 700;
  color: var(--color-primary);
  font-size: clamp(1.8rem, 1.5vw + 1rem, 2.6rem);
  margin-bottom: 0.6em;
}

.report-section p {
  font-family: "Panton Narrow", sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}


.btn-yellow.btn-report {
  font-family: "Panton Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  text-transform: none;
  padding: 1rem 2rem;
  display: inline-flex;
  color: #fff;
  align-items: center;
  gap: 10px;
}

.btn-yellow.btn-report i {
  font-size: 1.1rem;
}

/* Zorg dat badge en tekst beter uitgelijnd staan */
.report-content {
  display: flex;
  align-items: center;           /* verticaal centreren */
  justify-content: space-between; /* links/rechts verdeling */
  flex-wrap: nowrap;             /* geen stapelen op brede schermen */
  gap: clamp(20px, 4vw, 80px);
}
.report-text {
  flex: 1;                       /* neemt de beschikbare linker ruimte */
  text-align: left;
}

.report-badge {
  flex-shrink: 0;                /* badge blijft vaste breedte */
  display: flex;
  justify-content: flex-end;     /* rechts uitlijnen binnen container */
}

.report-badge img {
  width: clamp(200px, 18vw, 244px);
  height: auto;
  display: block;
}

.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0a66c2;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  font-size: 30px;
  transition: background 0.3s ease;
}
.linkedin-icon:hover { background-color: #084a91; }

/* ===============================
   BENEFITS SECTION
================================= */
.benefits-section {
  background-color: var(--color-primary);
  color: #fff;
  padding: var(--section-padding) 20px;
  text-align: left;
}
.benefits-section h2 { font-size: var(--fs-large); color:#fff; margin-bottom: 0.2rem}
.benefits-subtitle {
  font-size: var(--fs-medium);
  margin: 0.5rem 0 1.5rem;
  opacity: 0.9;
}
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefits-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
}
.benefits-list li::before {
  content: "✔";
  color: #15b86a;
  position: absolute;
  left: 0;
}

/* ===============================
   DIVIDER IMAGE
================================= */
.divider-image {
  background-size: cover;
  background-position: center;
  height: 280px;
  width: 100%;
}

/* ===============================
   CTA SECTION
================================= */
.cta-section {
  background-color: #fff;
  text-align: center;
  padding: var(--section-padding) 20px;
}
.cta-section h1 {
  font-size: clamp(1.4rem, 1.2vw + 1rem, 2.2rem);
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: clamp(1.5rem, 2vw, 2.5rem);
}



/* ===============================
   MEDIA QUERIES
================================= */
/* ===============================
   MEDIA QUERIES – RESPONSIVE LAYOUT
================================= */

/* === DESKTOP (≥1200px) === */
@media (max-width: 1400px) {


  .ic-hero__floating__card {
    max-width: 760px;
    transform: translateY(-90px);
  }

  .ic-hero__floating__card h1 {
    font-size: var(--fs-large);
  }

  .ic-hero__floating__card .hero-subtitle {
    font-size: var(--fs-medium);
  }
  .store-badges {
    left:13%;
  }
}
@media (max-width: 1200px) {
  .ic-hero__floating__card {
    margin: 0 auto;
    max-width: 70%;
    width: 70%;
    text-align: center;
    padding: 36px 26px;
  }
  .ic-hero__floating__card .hero-list {
    margin:20px auto;
    max-width: 310px;
  }

  .home .ic-hero__bg img {
      min-height: 580px;
  }
}

/* === TABLETS (max-width: 900px) === */
@media (max-width: 900px) {
  /* Hero */

  .home .ic-hero__bg img {
        min-height: 580px;
  }
  /* Achtergrondaanpassing */
  .ic-hero__bg img {
    object-fit: cover;
    height: 100%;
    min-height: 380px;
  }

  /* Hero container spacing */
  .ic-hero {
    margin-bottom: 100px;
  }

  /* Hero floating card centreren */
  .ic-hero__floating__card {
    position: absolute;
    left: 50%;
    bottom: 75px;
    max-width: 80%;
    width: 80%;
    transform: translateX(-50%);
    text-align: center;
    background-color: var(--color-primary);
    padding: 36px 26px;
  }

  .ic-hero__floating__card h1 {
    font-size: 1.8rem;
  }
  .ic-hero__floating__card .hero-list li {
    text-align: left;
  }
  .ic-hero__floating__card .hero-subtitle {
    font-size: 1.1rem;
  }

  /* Store badges */


  .store-badges img {
    height: 44px;
    width: auto;
  }

  /* Hero bottom card */
  .ic-hero__card {
    transform: translate(-50%, 30%);
  }

  .ic-hero__subtitle {
    font-size: 1.05rem;
  }

  /* Secties */
  .benefits-section,
  .cta-section,
  .welcome-section,
  .report-section,
  .overflow-section .overflow-inner,
  .experts-section{
    text-align: center;
    padding: 60px 20px;
  }
  .overflow-section .overflow-inner .step {
    text-align: left;
  }
  .benefits-list {
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
  }

  .step p {
    margin:10px 0px;
  }

  .report-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .report-badge {
    justify-content: center;
    margin-top: 20px;
  }

  .report-badge img {
    width: 220px;
  }

  .welcome-section {
    padding: 0px 20px 100px 20px;
  }

.experts-quote footer {
  font-style: normal;
  font-size: var(--fs-base);
  color: #222;
  text-align: left;
  max-width: 300px;
  /* float: right;  <-- VERWIJDER DIT */
  margin-top: 16px;
  margin-left: auto; /* Zorgt dat hij rechts komt te staan in een flexbox of block */
  display: block; 
}

/* Voeg dit toe aan de quote zelf voor betere controle */
.experts-quote {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Lijn alles binnen de quote rechts uit */
  font-style: italic;
  font-size: clamp(1.5rem, 1.8vw + 0.8rem, 2.4rem);
  color: #111;
  margin: 40px 80px;
}
  .step {
    padding: 22px 18px;
  }

 
}

/* === MOBIEL (max-width: 600px) === */
@media (max-width: 600px) {
  :root {
    --fs-small: 0.8rem;
    --fs-base: 0.95rem;
    --fs-medium: 1.2rem;
    --fs-large: 1.8rem;
    --fs-xlarge: 2.2rem;
    --section-padding: 45px;
  }

  body {
    line-height: 1.55;
  }

  h1 {
    font-size: var(--fs-xlarge) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.6rem;
  }

  h2 {
    font-size: var(--fs-large) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem;
  }

  h3 {
    font-size: var(--fs-medium)  !important;
    line-height: 1.35  !important;
  }
  .ic-hero__card h1 {
    font-size: 1.8rem !important;
  }
  /* Hero */
  .ic-hero {
    margin-bottom: 60px;
  }



  .ic-hero__floating__card h1 {
    font-size: var(--fs-large) !important;
    margin-bottom: 0.4rem;
  }

  .ic-hero__floating__card .hero-subtitle {
    font-size: var(--fs-base);
    margin-bottom: 1.2rem;
  }

  .ic-hero__floating__card .btn-yellow {
    padding: 0.8em 1.4em;
    font-size: var(--fs-base);
  }

  /* Store badges */
  .store-badges {

  }

  .store-badges img {
    height: 38px;
    width: auto;
  }

  /* Hero overlap card */
  .ic-hero__card {
    transform: translate(-50%, 20%);
    padding: 22px 16px;
  }



  .ic-hero__subtitle {
    font-size: 1rem;
  }
  /* Secties */
  .benefits-section,
  .cta-section,
  .report-section {
    padding: 45px 16px;
    text-align: center;
  }

  .welcome-section h2,
  .benefits-section h2 {
    margin-bottom: 0.4rem;
  }

  .welcome-section .intro-text {
    font-size: var(--fs-base);
    line-height: 1.6;
  }

  /* Benefits */
  .benefits-list {
    text-align: left;
    margin: 0 auto;
    max-width: 340px;
  }

  .benefits-list li {
    margin-bottom: 10px;
    line-height: 1.5;
  }

  /* Experts */
  .expert-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 24px;
    padding: 22px 16px;
  }

  .experts-quote {
    margin: 30px auto;
    font-size: 1.1rem;
    text-align: center;
  }

  .experts-quote footer {
    float: none;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 12px;
  }

  /* Report */
  .report-content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .report-text {
    text-align: center;
    font-size: var(--fs-base);
  }

  .report-badge img {
    width: 180px;
  }

  .btn-yellow.btn-report {
    font-size: 0.95rem;
    padding: 0.9em 1.4em;
  }

  /* Steps */

  .steps .step {
    padding: 18px 16px;
  }
  .step span {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .step strong {
    font-size: 0.9rem;
    padding: 8px 12px;
    max-width: 174px;
  }

  /* Footer */
  .site-footer .container {
    padding: 40px 16px;
  }
}

