
/* ==========================================================================
   Deborah’s Paardencoaching – Geharmoniseerde stylesheet
   Datum: 2025-09-07
   Doel: één consistente visuele stijl voor alle pagina’s
   ========================================================================== */

/* == 0. Imports ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');

/* == 1. Design Tokens ====================================================== */
:root{
  /* Layout */
  --maxw: 1200px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(0,0,0,.06);
  --shadow-md: 0 8px 18px rgba(0,0,0,.10);
  --ring: 0 0 0 3px rgba(113,135,128,.25);

  /* Kleuren (één palet voor alle pagina’s) */
  --c-bg: #ffffff;
  --c-bg-alt: #ffffff;     /* zachte groentint */
  --c-card: #ffffff;
  --c-ink: #2e3532;        /* hoofdtekst */
  --c-ink-dim: #46544f;    /* subtitel, secundair */
  --c-primary: #385248;    /* koppen */
  --c-accent: #718780;     /* topbar/aanbod */
  --c-link: #3d6b5d;
  --c-link-hover: #0e0f0e;
  --c-success: #3b8c53;
  --c-table-stripe: #F4F7F6;

  /* Typografie */
  --ff-sans: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --ff-serif: 'Lora', Georgia, serif;
  --ff-alt: 'Source Sans Pro', system-ui, sans-serif;

  --fs-base: clamp(1.02rem, 1.4vw, 1.15rem);
  --fs-nav: 1.02rem;
  --fs-h1: clamp(2.3rem, 5.6vw, 3.6rem);
  --fs-h2: clamp(1.35rem, 2.2vw, 1.6rem);
  --fs-h3: clamp(1.08rem, 1.4vw, 1.22rem);
  --fs-eyebrow: clamp(0.95rem, 1.6vw, 1.1rem);
}

/* == 2. Base Reset ========================================================= */
*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
img, svg, video, canvas{ max-width: 100%; height: auto; display: block; }
:where(a, button, [role="button"], input, textarea, select):focus-visible{
  outline: 2px solid var(--c-accent); outline-offset: 2px;
}
:where(h1,h2,h3,h4,h5,h6,[id]){ scroll-margin-top: clamp(70px, 10vh, 110px); }
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media (hover: none) and (pointer: coarse){
  .btn, .main-nav a, .btn-top{ min-height: 44px; }
}

/* == 3. Document & Containers ============================================= */
body{
  color: var(--c-ink);
  background: var(--c-bg);
  font: 400 var(--fs-base)/1.65 var(--ff-sans);
}
.container{
  max-width: min(var(--maxw), 92vw);
  margin-inline: auto;
  padding-inline: 22px;
}
@media (max-width: 900px){
  .container{ padding-inline: 10px; }
}

/* Secties – uniforme spacing */
section{background: var(--c-bg); }
main section{ background: var(--c-bg); }

/* == 4. Typografie ========================================================== */
main h1, main h2, main h3, main h4{
  color: var(--c-primary);
  letter-spacing: 0.01em;
  margin: 0 0 14px 0;
}
main h1{
  font-size: var(--fs-h1);
  line-height: 1.08;
  font-weight: 300;
}
main h2{ font-size: var(--fs-h2); font-weight: 500; margin-top: 22px; }
main h3{ font-size: var(--fs-h3); font-weight: 600; color: var(--c-ink); }
main h4{ font-size: 1rem; font-weight: 600; color: var(--c-primary); }

main p, main ul, main ol{
  font-size: 1.03rem;
  margin-bottom: 14px;
  color: var(--c-ink);
}
main ul, main ol{ padding-left: 22px; }
main li{ margin-bottom: 7px; line-height: 1.65; }

/* Links – uniform */
a{ color: var(--c-link); }
a:hover, a:focus{ color: var(--c-link-hover); }
main a{ text-decoration: underline; }
main a.lees-meer{
  text-decoration: none; border-bottom: 1px solid transparent; color: var(--c-ink);
}
main a.lees-meer:hover{ border-bottom-color: var(--c-ink); }

/* Kleine util */
.muted{ color: var(--c-ink-dim); }

/* == 5. Topbar ============================================================== */
.topbar{
  background-color: var(--c-accent);
  color: #fff;
  font-size: .95rem;
}
.topbar-inner{
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  padding: 10px 0;
}
.topbar-left span{ margin-right: 20px; display: inline-block; }
.topbar-right{ display: flex; align-items: center; gap: 14px; }
.btn-top{
  background: none; border: 1px solid #fff; color: #fff;
  padding: 6px 12px; text-decoration: none; border-radius: 6px;
}
.btn-top:hover{ background: #fff; color: var(--c-accent); }
@media (max-width: 1759.98px){ .topbar{ display: none; } }
@media (min-width: 1760px){ .topbar{ display: block; } }

/* == 6. Header & Navigatie ================================================= */
.main-header{
  position: sticky; top: 0; background: #fff; z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding-top: env(safe-area-inset-top);
}
.nav-container{
  display: flex; align-items: center; justify-content: space-between;
  height: 120px; padding: 0 20px; margin: 0 auto;
}
.logo img{ height: 90px; width: auto; display: block; }
.main-nav ul{ display: flex; list-style: none; gap: 22px; }
.main-nav a{
  display: inline-block; padding: 12px 8px; border-radius: 8px; text-decoration: none;
  color: var(--c-ink); font-size: var(--fs-nav); letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a:focus{ color: var(--c-accent); background: rgba(0,0,0,.03); }

/* Hamburger → kruisje animatie */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* Mobiel menu */
.menu-toggle{ display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 18px 16px; cursor: pointer; }
.menu-toggle span{ display: block; width: 27px; height: 3px; background: var(--c-ink); border-radius: 2px; transition: transform .2s, background-color .2s; }
@media (max-width: 900px){
  .nav-container{ height: 90px; padding: 0 10px; }
  .logo img{ height: 74px; }
  .menu-toggle{ display: flex; z-index: 120; }
  .main-nav{
    position: fixed; top: 90px; left: 0; right: 0; background: #fff;
    padding: 16px 0 22px; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .28s ease;
  }
  .main-nav ul{ flex-direction: column; align-items: center; gap: 10px; }
  .main-nav.open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.menu-open{ overflow: hidden; } /* wordt in JS gezet */
  
}

@media (max-width: 900px){
  .main-nav.open::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;              /* net onder het menu */
    height: 12px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.14), rgba(0,0,0,0));
    pointer-events: none;
  }
}



/* == 7. Hero ================================================================ */
.hero{
  position: relative; display: flex; align-items: center; justify-content: flex-start;
  background: url("img/hero.jpg") center/cover no-repeat;
  width: 100%; min-height: 48vh; max-height: 600px; overflow: hidden;
}
.hero-wave{
  position: absolute; left: 0; right: 0; bottom: -2px; line-height: 0; z-index: 1; overflow: hidden;
}
.hero-wave svg{ display: block; width: 100%; height: clamp(60px, 12vw, 100px); }
@media (max-width: 900px){
  .hero{ min-height: 40vh; max-height: none; }
}
@media (max-width: 600px){
  .hero{ min-height: auto; aspect-ratio: 16/9; }
  .hero-wave svg{ height: clamp(40px, 10vw, 72px); }
  
}

/* == 8. Intro (home) ======================================================= */
.intro{
  background: var(--c-bg-alt); color: var(--c-ink);
  padding: clamp(28px, 2vw, 47px) 0;
}
.intro-head{ display: grid; gap: 10px; }
.intro-wrap{ display: grid; justify-items: center; text-align: center; gap: 12px; }
.eyebrow{
  letter-spacing:.12em; text-transform:uppercase; font-size: var(--fs-eyebrow);
  color:#6f8b83; font-family: var(--ff-alt);
}
.intro-title{
  margin: 0; font-size: var(--fs-h1); line-height: 1.1; color: var(--c-primary); font-weight: 300;
}
.intro-subtitle{ margin: 4px 0 2px 0; color: var(--c-ink); font-size: clamp(1.12rem, 2.1vw, 1.35rem); line-height: 1.7; }
.intro-tagline{ margin: 0; color: var(--c-ink-dim); font-weight: 600; }
.intro-cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top: 6px; }

/* Buttons */
.btn{
  display: inline-block; padding: 14px 22px; border-radius: 0;
  font-weight: 300; text-decoration: none; outline: none;
  background: transparent; border: 1px solid #000; color: #000;
  font-family: var(--ff-sans);
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover, .btn:focus{
  background: #000; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* == 9. Aanbod (home) ====================================================== */
#aanbod{
  width: 100%; background: var(--c-accent); color: #fff; padding: 32px 0 40px;
}
#aanbod .container{ max-width: none; padding: 0; margin: 0; }
#aanbod-heading{
  margin: 0 0 8px 0; padding: 8px 12px 24px; text-align: center;
  font-family: var(--ff-sans); font-weight: 300; letter-spacing: -0.01em;
  font-size: clamp(28px, 2.2vw + 14px, 44px); color: #fff;
}
.diensten-blokken{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; width: 100%; text-align: center;
}
.dienst{ position: relative; padding: clamp(24px, 3vw, 40px); }
.dienst:not(:last-child)::after{
  content: ""; position: absolute; top: 18%; bottom: 18%; right: 0; width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.35), rgba(255,255,255,0));
}
.dienst-icoon{ margin: 0 auto 16px; width: clamp(72px, 8vw, 110px); height: auto; }
.dienst h3{
  margin: 0 0 10px 0; font-weight: 300; font-size: clamp(20px, 1.1vw + 16px, 32px); line-height: 1.2; color: #fff;
}
.dienst p{
  margin: 0 auto; max-width: 46ch; font-weight: 400; font-size: clamp(15px, 0.35vw + 14px, 18px); line-height: 1.65; opacity: .98;
}
@media (max-width: 900px){
  .diensten-blokken{ grid-template-columns: 1fr; }
  .dienst:not(:last-child)::after{
    top: auto; bottom: 0; left: 10%; right: 10%; width: auto; height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.35), rgba(255,255,255,0));
  }
}

/* == 10. Tussenbeeld & Voor wie ======================================================= */
.tussenbeeld{ width: 100%; height: 350px; overflow: hidden; }
.tussenbeeld-wrapper{
  width: 100%; height: 100%;
  background-image: url('img/tussenfoto.jpg');
  background-position: center; background-size: cover; background-repeat: no-repeat;
  background-attachment: fixed; opacity: 0.85;
}
@media (max-width: 900px){ .tussenbeeld-wrapper{ background-attachment: scroll; } }

#voor-wie {
  background: var(--c-bg-alt);

}

#voor-wie .voor-wie-titel {
    font: 400 var(--fs-base)/1.65 var(--ff-sans);
    box-sizing: border-box;
    padding: 0;
    scroll-margin-top: clamp(70px, 10vh, 110px);
    color: var(--c-primary);
    letter-spacing: 0.01em;
    margin: 0 0 14px 0;
    font-size: var(--fs-h2);
    font-weight: 500;
    margin-top: 22px;
}

#voor-wie p {
  margin-bottom: 20px;
}

#voor-wie .voor-wie-lijst {
  margin: 20px 0 26px 0;
  padding-left: 24px;
  line-height: 1.7;
}

#voor-wie .voor-wie-lijst li {
  margin-bottom: 10px;
}

#voor-wie .lees-meer {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
}

/* == 11. Werkwijze ========================================================= */
.werkwijze{ background-color: var(--c-bg-alt); padding-bottom: 60px; }
.werkwijze h1{ font-size: var(--fs-h1); margin-bottom: 28px; }
.werkwijze h2{ font-size: var(--fs-h2); }
.werkwijze h3{ font-size: var(--fs-h3); color: var(--c-ink); }
.werkwijze p{ margin-bottom: 16px; }
.werkwijze ul{ margin-bottom: 22px; margin-left: 20px; }
.werkwijze li{ margin-bottom: 8px; }
.afbeelding-rechts{
  float: right; width: 38vw; max-width: 420px; margin: 8px 0 20px 32px;
  border-radius: 14px; box-shadow: 0 2px 12px rgba(60, 80, 75, 0.08);
}
.afbeelding-links{
  float: left; width: 38vw; max-width: 420px; margin: 8px 32px 20px 0;
  border-radius: 14px; box-shadow: 0 2px 12px rgba(60, 80, 75, 0.08);
}
@media (max-width: 900px){
  .afbeelding-links, .afbeelding-rechts{
    float: none; width: 100%; max-width: none; margin: 8px 0 16px 0;
  }
}

/* == 12. Tarieven (tabellen) ============================================== */
.tarief-tabel-wrapper{
  overflow-x: auto; background: var(--c-bg-alt); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); margin: 20px 0; padding: 0; -webkit-overflow-scrolling: touch;
}
.tarief-tabel{
  width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0;
  font-size: 1.02rem; background: #ffffff; border-radius: var(--radius); overflow: hidden;
}
.tarief-tabel th, .tarief-tabel td{ padding: 14px 18px; text-align: left; }
.tarief-tabel th{
  background: var(--c-bg-alt); color: var(--c-ink); font-weight: 600; font-size: 1.07em;
}
.tarief-tabel tr:nth-child(even) td{ background: var(--c-table-stripe); }
.tarief-tabel td strong{ color: var(--c-success); font-weight: 700; }

/* Alleen de bovenste rij in de tabel */
.tarief-tabel thead th {
  background: var(--c-accent);
  color: #fff; /* witte tekst zodat het contrasteert */
}

.tarief-tabel tbody tr:nth-child(even) td:first-child { background: var(--c-table-stripe); }
.tarief-tabel tbody tr:nth-child(odd)  td:first-child { background: #fff; }


@media (max-width: 800px){
  .tarief-tabel{ font-size: .98rem; min-width: 530px; }
}
@media (min-width: 700px){
  /* alleen plakken aan de linkerkant; géén vaste achtergrond op de header */
  .tarief-tabel th:first-child,
  .tarief-tabel td:first-child{
    position: sticky;
    left: 0;
  }

  /* body-cellen in kolom 1 blijven wit */
  .tarief-tabel tbody td:first-child{
    background: #fff;
  }
}

/* == 13. Contact =========================================================== */
#contact.contact-groen{ background: var(--c-bg-alt); padding: 40px 0 70px; }
#contact .contact-columns{
  max-width: min(var(--maxw), 92vw); margin-inline: auto; padding-inline: 22px;
  width: 100%; display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: clamp(18px, 3vw, 32px);
  align-items: start;
}
@media (max-width: 900px){ #contact .contact-columns{ padding-inline: 10px; } }
@media (max-width: 980px){ #contact .contact-columns{ grid-template-columns: 1fr; } }

#contact .contact-rechts{
  order: 1; background: var(--c-accent); color: #fff; border-radius: 10px; box-shadow: var(--shadow-md);
  padding: 28px 26px 24px; min-height: 520px;
}
#contact .contact-rechts h3{
  color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; margin: 10px 0 12px;
}
#contact .contact-rechts p{ color: rgba(255,255,255,.9); margin: 0 0 14px 0; }
#contact .contact-rechts a{ color: #fff; text-decoration: none; border-bottom: 1px solid transparent; }
#contact .contact-rechts a:hover{ border-bottom-color: rgba(255,255,255,.7); }

#contact .contact-links{
  order: 2; background: #fff; border-radius: 10px; box-shadow: var(--shadow-md); padding: 28px 28px 26px;
}
#contact .contact-links h1{
  margin: 0 0 16px; font-weight: 800; letter-spacing: .01em; color: #222;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
}
#contact .contact-intro{ margin: 0 0 18px; color: #5a6470; font-size: 1rem; }

#contact .contact-form-groen{ margin-top: 6px; }
#contact .contact-form-groen label{
  font-weight: 600; font-size: .96rem; color: #2b3138; margin: 10px 0 6px;
}
#contact .contact-form-groen input,
#contact .contact-form-groen textarea{
  appearance: none; width: 100%; background: #f6f7f9; border: 1px solid #e6e8ee; border-radius: 6px;
  font-size: 1rem; padding: 12px 14px; color: #1f2328; box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
#contact .contact-form-groen input::placeholder,
#contact .contact-form-groen textarea::placeholder{ color:#98a1ae; }
#contact .contact-form-groen input:focus,
#contact .contact-form-groen textarea:focus{
  outline: none; border-color: #9aa5b1; background: #fff; box-shadow: var(--ring);
}
#contact .contact-form-groen textarea{ min-height: 140px; resize: vertical; }

#contact .contact-form-groen button{
  cursor: pointer; display: inline-block; padding: 14px 22px; border-radius: 0; font-weight: 300;
  background: transparent; border: 1px solid #000; color: #000; margin-top: 20px;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
#contact .contact-form-groen button:hover{
  background: #000; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

#contact .form-msg {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 500;
}
#contact .form-msg.success { color: var(--c-success); }
#contact .form-msg.error   { color: #b3261e; }

/* == 14. Footer ============================================================ */
.site-footer{
  --bg: var(--c-accent); --fg: #FFFFFF; --fg-dim: #E4E4E4; --accent: rgba(255,255,255,.18);
  background: var(--bg); color: var(--fg); padding-block: 56px 28px;
}
.footer-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list{ list-style: none; display: grid; gap: 24px; }
.contact-list li{ display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; }
.icon{
  inline-size: 44px; block-size: 44px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center;
}
.icon svg{ inline-size: 20px; block-size: 20px; fill: var(--fg); opacity: .9; }
.contact-text .meta{ display: block; font-size: .95rem; color: var(--fg-dim); line-height: 1.25; margin: 0; }
.contact-text .value{
  display: block; font: 300 1.3rem/1.35 var(--ff-sans); letter-spacing: .005em; margin: 0; overflow-wrap: anywhere;
}
.contact-link{
  font: 300 1.3rem/1.35 var(--ff-sans); color: var(--fg); text-decoration: none;
  transition: border-color .18s ease, opacity .18s ease; overflow-wrap: anywhere;
}
.contact-link:hover, .contact-link:focus-visible{ border-bottom-color: var(--fg); opacity: .92; outline: none; }
.about-title{ margin: 0 0 6px 0; font: 300 1.8rem/1.2 var(--ff-sans); letter-spacing: .01em; color: var(--fg); }
.about-text{ margin: 0; color: var(--fg); opacity: .95; max-width: 60ch; font: 400 1.02rem/1.7 var(--ff-sans); }
.footer-divider{ height: 1px; border: 0; margin: 36px 0 18px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.footer-bottom{ text-align: center; color: var(--fg-dim); font-size: .98rem; }
@media (max-width: 768px){ .footer-grid{ grid-template-columns: 1fr; gap: 32px; } }

/* == 15. Back-to-top ======================================================= */
.back-to-top{
  position: fixed; bottom: 30px; right: 30px; background-color: var(--c-bg-alt); color: var(--c-ink);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  text-decoration: none; border-radius: 50%; font-size: 22px;
  box-shadow: var(--shadow-sm); transition: opacity .3s ease, transform .3s ease;
  opacity: 0; visibility: hidden; z-index: 1000;
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background-color: #b8c7c2; transform: translateY(-4px); }

/* == 16. Responsiveness (globaal) ========================================== */
@media (max-width: 900px){
  body, html, section, .container{ font-size: 16px; }
  main h1{ font-size: clamp(2rem, 9vw, 2.4rem); }
  main h2{ font-size: clamp(1.22rem, 4.6vw, 1.35rem); }
  main h3{ font-size: clamp(1.04rem, 4vw, 1.16rem); }
}

/* == 17. Hulputils ========================================================= */
.flow > * + *{ margin-top: var(--flow, 1rem); }
.card{
  background: var(--c-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(16px, 2vw, 24px);
}
.shadow-md{ box-shadow: var(--shadow-md); }
.round{ border-radius: var(--radius); }
.round-lg{ border-radius: var(--radius-lg); }

/* == Einde ================================================================= */
