/*
Theme Name: Aago Vuurkracht
Theme URI: https://aago-staging.voring.nl
Author: Vøring
Description: Maatwerk-thema voor Aago Vuurkracht — avondvuur-palet, Ubuntu, agenda gevoed door aago-core.
Version: 1.0.8
Text Domain: aago
*/

:root {
  --cream: #F7F3EE;
  --sand: #D8C3A5;
  --brown: #5A463B;
  --brown-deep: #3D2E24;
  --ink: #2F2F2F;
  --terra: #C06A4A;
  --terra-glow: #E08560;
  --moss: #849053;
  --moss-soft: #A5B272;
  --fuchsia: #E30B50;
  --fuchsia-glow: #FF2C6E;

  --body: 'Ubuntu', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--brown-deep);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
::selection { background: var(--terra); color: var(--cream); }

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(192, 106, 74, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(132, 144, 83, 0.10) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' /%3E%3CfeColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 1;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

/* ===== TOP BAR + NAV (consistent met v4) ===== */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.6);
  border-bottom: 1px solid rgba(247, 243, 238, 0.08);
  background: var(--ink);
  position: relative; z-index: 10;
}
.topbar a { color: rgba(247, 243, 238, 0.7); text-decoration: none; }
.topbar a:hover { color: var(--terra-glow); }
.topbar .contact-line { display: flex; gap: 1.5rem; align-items: center; }
.topbar .contact-line .sep { opacity: 0.4; }

nav {
  position: sticky; top: 0;
  padding: 0.9rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ink);
  z-index: 100;
  border-bottom: 1px solid rgba(247, 243, 238, 0.08);
}
nav .logo {
  display: flex; align-items: center;
  text-decoration: none;
}
nav .logo img { height: 44px; width: auto; display: block; }
nav .nav-links { display: flex; gap: 2rem; align-items: center; }
nav .nav-links a {
  color: rgba(247, 243, 238, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}
nav .nav-links a:hover,
nav .nav-links a.active { color: var(--terra-glow); }
nav .cta {
  background: var(--cream);
  color: var(--brown-deep) !important;
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  font-weight: 500;
  border: 1.5px solid var(--cream);
  transition: all 0.3s ease;
}
nav .cta:hover {
  background: transparent;
  color: var(--cream) !important;
}

/* ===== AGENDA HEADER ===== */
.agenda-header {
  position: relative;
  padding: 5rem 2rem 3rem;
  text-align: center;
  z-index: 3;
}
.agenda-header .overline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-glow);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.agenda-header .overline:empty { display: none; }
.agenda-header .overline::before,
.agenda-header .overline::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--terra-glow);
}
.agenda-header h1 {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 1rem;
}
.agenda-header h1 em {
  font-style: italic;
  color: var(--terra-glow);
  font-weight: 400;
}
.agenda-header .lede {
  font-size: 1.1rem;
  color: rgba(247, 243, 238, 0.78);
  max-width: 580px;
  margin: 0 auto;
  font-weight: 300;
}

/* ===== LEGENDA ===== */
.legend {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 3;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(247, 243, 238, 0.75);
  letter-spacing: 0.02em;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.legend-item:hover { color: var(--cream); }
.legend.filtering .legend-item { opacity: 0.4; }
.legend.filtering .legend-item.active { opacity: 1; color: var(--cream); font-weight: 500; }
.legend-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-dot.cirkel    { background: var(--moss); }
.legend-dot.masterclass { background: var(--fuchsia); }
.legend-dot.webinar   { background: var(--sand); }
.legend-dot.retraite  { background: var(--brown); border: 1px solid var(--sand); }

/* ===== KALENDER WRAP ===== */
.calendar-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 6rem;
  position: relative;
  z-index: 3;
}

/* Maand-navigatie */
.month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}
.month-nav button {
  background: rgba(247, 243, 238, 0.05);
  border: 1px solid rgba(247, 243, 238, 0.12);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 400;
}
.month-nav button:hover {
  background: var(--terra);
  border-color: var(--terra);
  transform: scale(1.05);
}
.month-nav .month-title {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  letter-spacing: -0.015em;
  color: var(--cream);
}
.month-nav .month-title em {
  font-style: italic;
  color: var(--terra-glow);
  font-weight: 400;
}

/* ===== KALENDER GRID ===== */
.calendar {
  background: rgba(247, 243, 238, 0.04);
  border: 1px solid rgba(247, 243, 238, 0.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

/* Weekdag-headers */
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(247, 243, 238, 0.08);
}
.weekday {
  padding: 1rem 0.5rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.5);
  font-weight: 500;
}

/* Dagen-grid */
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(110px, auto);
}
.day {
  border-right: 1px solid rgba(247, 243, 238, 0.06);
  border-bottom: 1px solid rgba(247, 243, 238, 0.06);
  padding: 0.7rem 0.6rem;
  position: relative;
  cursor: default;
  transition: background 0.3s ease;
  min-height: 110px;
  display: flex;
  flex-direction: column;
}
.day:nth-child(7n) { border-right: none; }
.day.other-month {
  background: rgba(0, 0, 0, 0.1);
}
.day.other-month .day-num {
  opacity: 0.25;
}
.day.past {
  opacity: 0.45;
}
.day.today .day-num {
  background: var(--terra);
  color: var(--cream);
  font-weight: 600;
}
.day.has-events {
  cursor: default;
}
.day.has-events:hover {
  background: rgba(247, 243, 238, 0.04);
}
.day-num {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(247, 243, 238, 0.85);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 0.3rem;
}

/* Event-pillen in dag-cel */
.day-events {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.event-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  line-height: 1.2;
  color: var(--cream);
  background: rgba(247, 243, 238, 0.08);
  border-left: 3px solid var(--terra);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.event-pill:hover {
  background: rgba(247, 243, 238, 0.2);
  transform: translateX(2px);
}
.event-pill.type-cirkel    { border-left-color: var(--moss); }
.event-pill.type-workshop  { border-left-color: var(--terra); }
.event-pill.type-masterclass { border-left-color: var(--fuchsia); }
.event-pill.type-webinar   { border-left-color: var(--sand); }
.event-pill.type-retraite  { border-left-color: var(--brown); background: rgba(90, 70, 59, 0.3); }
.event-pill.type-retraite:hover { background: rgba(90, 70, 59, 0.5); }
/* Multi-day event "continuation" — afgevlakte rand */
.event-pill.multi-start { border-radius: 4px 0 0 4px; margin-right: -7px; padding-right: 12px; }
.event-pill.multi-middle { border-radius: 0; margin-left: -7px; margin-right: -7px; padding-left: 12px; padding-right: 12px; border-left: none; border-top: 3px solid var(--terra); }
.event-pill.multi-middle.type-cirkel    { border-top-color: var(--moss); }
.event-pill.multi-middle.type-workshop  { border-top-color: var(--terra); }
.event-pill.multi-middle.type-masterclass { border-top-color: var(--fuchsia); }
.event-pill.multi-middle.type-webinar   { border-top-color: var(--sand); }
.event-pill.multi-middle.type-retraite  { border-top-color: var(--brown); }
.event-pill.multi-end { border-radius: 0 4px 4px 0; margin-left: -7px; padding-left: 12px; border-left: none; border-top: 3px solid var(--terra); }
.event-pill.multi-end.type-cirkel    { border-top-color: var(--moss); }
.event-pill.multi-end.type-workshop  { border-top-color: var(--terra); }
.event-pill.multi-end.type-masterclass { border-top-color: var(--fuchsia); }
.event-pill.multi-end.type-webinar   { border-top-color: var(--sand); }
.event-pill.multi-end.type-retraite  { border-top-color: var(--brown); }

/* ===== TOOLTIP (hover op desktop, niet getoond op mobile) ===== */
.tooltip {
  position: fixed;
  background: var(--ink);
  border: 1px solid rgba(247, 243, 238, 0.18);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  min-width: 200px;
  max-width: 280px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-size: 0.85rem;
}
.tooltip.visible { opacity: 1; }
.tooltip .tt-meta {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 243, 238, 0.55);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.tooltip .tt-meta .type-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tooltip .tt-meta .type-dot.cirkel    { background: var(--moss); }
.tooltip .tt-meta .type-dot.workshop  { background: var(--terra); }
.tooltip .tt-meta .type-dot.masterclass { background: var(--fuchsia); }
.tooltip .tt-meta .type-dot.webinar   { background: var(--sand); }
.tooltip .tt-meta .type-dot.retraite  { background: var(--brown); border: 1px solid var(--sand); }
.tooltip .tt-title {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.3rem;
}
.tooltip .tt-tag {
  font-size: 0.82rem;
  color: rgba(247, 243, 238, 0.7);
  font-style: italic;
  line-height: 1.35;
}

/* ===== EMPTY STATE ===== */
.empty-month {
  padding: 3rem 2rem;
  text-align: center;
  color: rgba(247, 243, 238, 0.5);
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .topbar { flex-direction: column; align-items: stretch; gap: 0.3rem; padding: 0.5rem 1.1rem; font-size: 0.64rem; letter-spacing: 0.05em; }
  .topbar .contact-line { align-self: flex-start; justify-content: flex-start; gap: 0.5rem; flex-wrap: nowrap; white-space: nowrap; }
  .topbar .contact-line .sep { display: inline; opacity: 0.4; }
  .topbar > div:last-child:not(.contact-line) { align-self: flex-end; justify-content: flex-end; text-align: right; }
  .topbar .loc-extra { display: none; }
  nav { padding: 0.8rem 1.2rem; }
  nav .logo img { height: 32px; }
  nav .nav-links { display: none !important; }
  nav .cta { font-size: 0.82rem; padding: 0.5rem 1rem; }

  .agenda-header { padding: 3rem 1.2rem 2rem; }
  .legend { padding: 0 1.2rem 1.5rem; gap: 1rem; }
  .legend-item { font-size: 0.75rem; }

  .calendar-wrap { padding: 0 0.6rem 4rem; }
  .month-nav { margin-bottom: 1rem; padding: 0; }
  .month-nav button { width: 40px; height: 40px; font-size: 1rem; }
  .month-nav .month-title { font-size: 1.3rem; }

  .weekday { padding: 0.6rem 0.2rem; font-size: 0.65rem; letter-spacing: 0.05em; }
  .days { grid-auto-rows: minmax(80px, auto); }
  .day { padding: 0.4rem 0.3rem; min-height: 80px; }
  .day-num { font-size: 0.82rem; width: 22px; height: 22px; margin-bottom: 0.2rem; }
  .day-events { gap: 4px; }
  .event-pill {
    font-size: 0;  /* tekst onzichtbaar — alleen kleur-blokjes */
    padding: 0;
    height: 8px;
    border-radius: 3px;
    border-left: none;
    background: rgba(247, 243, 238, 0.15);
    /* Tap-target groter via padding-trick */
    position: relative;
  }
  .event-pill::before {
    /* onzichtbare extra tap-area boven en onder de pill */
    content: '';
    position: absolute;
    top: -3px; bottom: -3px;
    left: 0; right: 0;
  }
  .event-pill:hover { transform: none; }
  .event-pill:active { opacity: 0.7; }
  .event-pill.type-cirkel    { background: var(--moss); }
  .event-pill.type-workshop  { background: var(--terra); }
  .event-pill.type-masterclass { background: var(--fuchsia); }
  .event-pill.type-webinar   { background: var(--sand); }
  .event-pill.type-retraite  { background: var(--brown); border: 1px solid var(--sand); }
  .event-pill.type-retraite:hover { background: var(--brown); }
  .event-pill.multi-start,
  .event-pill.multi-middle,
  .event-pill.multi-end {
    border-radius: 0;
    margin-left: -3px; margin-right: -3px;
    padding-left: 6px; padding-right: 6px;
    border-top: none;
  }
  .event-pill.multi-start { margin-left: 0; border-radius: 3px 0 0 3px; }
  .event-pill.multi-end { margin-right: 0; border-radius: 0 3px 3px 0; }

  /* Tooltip uitschakelen op mobile — pills zijn direct klikbaar */
  .tooltip { display: none; }
}

/* ===== HAMBURGER + MOBIEL MENU (globaal) ===== */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px; position: relative; z-index: 1200; padding: 0;
}
.nav-toggle span {
  display: block; position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: transform .3s ease, opacity .25s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: linear-gradient(160deg, var(--brown-deep) 0%, var(--ink) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.7rem; opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  color: var(--cream); text-decoration: none; font-size: 1.5rem; font-weight: 300;
  letter-spacing: .01em; transition: color .2s ease;
}
.mobile-menu a:hover { color: var(--terra-glow); }
.mobile-menu a.cta {
  margin-top: 1rem; background: var(--terra); color: var(--cream);
  padding: .9rem 2.2rem; border-radius: 100px; font-size: 1.1rem; font-weight: 500;
}

.mobile-close {
  position: absolute; top: 1.5rem; right: 1.6rem;
  background: none; border: 0; cursor: pointer;
  color: var(--cream); display: flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.2rem; transition: color .2s ease;
}
.mobile-close .label {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 400;
}
.mobile-close svg { display: block; }
.mobile-close:hover { color: var(--terra-glow); }

body.menu-open { overflow: hidden; }

@media (max-width: 800px) {
  nav .nav-links { display: none !important; }
  .nav-toggle { display: block; }
}

/* ===== WP block-groepen met lichte achtergrond: donkere tekst ===== */
.wp-block-group.has-background {
  color: var(--ink);
  border-radius: 8px;
}
.wp-block-group.has-background p,
.wp-block-group.has-background li,
.wp-block-group.has-background code {
  color: var(--ink);
}
.wp-block-group.has-background code {
  background: rgba(0,0,0,0.06);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
}

/* ===== FOOTER (globaal — geldt op alle pagina's) ===== */
footer {
  background: var(--ink);
  color: rgba(247, 243, 238, 0.7);
  padding: 3.5rem 2rem 2rem;
  position: relative;
  z-index: 3;
}
footer .logo img { height: 36px; margin-bottom: 1rem; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(247, 243, 238, 0.5);
  max-width: 280px;
}
.footer-col h4 {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.footer-col ul { list-style: none; }
.footer-col a, .footer-col li {
  color: rgba(247, 243, 238, 0.55);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 2;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--terra-glow); }
.footer-legal { display: flex; gap: 0.5rem; align-items: center; }
.footer-legal a { color: inherit; text-decoration: none; opacity: 0.85; }
.footer-legal a:hover { color: var(--terra-glow); opacity: 1; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 243, 238, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(247, 243, 238, 0.4);
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 800px) {
  footer { padding: 2.5rem 1.2rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; font-size: 0.72rem; }
}
@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===== STANDAARD PAGINA (page.php) ===== */
.page-default {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  position: relative;
  z-index: 3;
}
.page-default-head h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.page-default-body { color: rgba(247, 243, 238, 0.82); line-height: 1.75; }
.page-default-body h2 { color: var(--cream); font-weight: 500; font-size: 1.7rem; margin: 2.4rem 0 1rem; }
.page-default-body h3 { color: var(--sand); font-weight: 500; font-size: 1.25rem; margin: 1.8rem 0 0.8rem; }
.page-default-body p { margin-bottom: 1.3rem; }
.page-default-body a { color: var(--terra-glow); }
.page-default-body ul, .page-default-body ol { margin: 0 0 1.3rem 1.3rem; }
.page-default-body li { margin-bottom: 0.5rem; }
.page-default-body li::marker { color: var(--terra); }
.page-default-body img { max-width: 100%; height: auto; border-radius: 6px; }
.page-default-body blockquote {
  margin: 2rem 0; padding-left: 1.4rem; border-left: 3px solid var(--terra);
  font-style: italic; color: var(--cream); font-size: 1.2rem;
}

/* ===== WordPress-menu in de nav: bullets weg + CTA-knop automatisch ===== */
/* WP rendert <ul class="nav-links"><li><a>; verberg de lijstbolletjes */
nav .nav-links,
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav .nav-links li { margin: 0; padding: 0; list-style: none; }
nav .nav-links li::marker,
.mobile-menu li::marker { content: ""; }
.mobile-menu ul { display: contents; } /* laat de <li>'s de bestaande mobile-menu flow volgen */
.mobile-menu li { list-style: none; }

/* "Plan gesprek" (link naar #contact) automatisch als knop — desktop */
nav .nav-links a[href*="#contact"] {
  background: var(--cream);
  color: var(--brown-deep) !important;
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  font-weight: 500;
  border: 1.5px solid var(--cream);
  transition: all 0.3s ease;
}
nav .nav-links a[href*="#contact"]:hover {
  background: transparent;
  color: var(--cream) !important;
}

/* "Plan gesprek" als knop — mobiel menu */
.mobile-menu a[href*="#contact"] {
  margin-top: 1rem;
  background: var(--terra);
  color: var(--cream);
  padding: .9rem 2.2rem;
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: 500;
}

/* ===== Topbar tagline morph (globaal, alle paginas) ===== */
.topbar .tagline-morph {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.topbar .tagline-morph .dot-mini {
  width: 6px; height: 6px;
  background: var(--terra);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(224, 133, 96, 0.8);
  animation: ember 2.5s ease-in-out infinite;
}
@keyframes ember {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
.morph-word {
  display: inline-block;
  position: relative;
  color: var(--terra-glow);
  font-weight: 500;
  min-width: 90px;
}
.morph-word span {
  display: inline-block;
  position: absolute;
  left: 0;
  opacity: 0;
  animation: morphIn 9s infinite;
}
.morph-word span.sizer {
  position: relative;
  visibility: hidden;
  animation: none;
}
.morph-word span:nth-child(2) { animation-delay: 0s; }
.morph-word span:nth-child(3) { animation-delay: 3s; }
.morph-word span:nth-child(4) { animation-delay: 6s; }
@keyframes morphIn {
  0%, 2% { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  7%, 30% { opacity: 1; transform: translateY(0); filter: blur(0); }
  33%, 100% { opacity: 0; transform: translateY(-8px); filter: blur(4px); }
}


/* ===== Nieuwsbrief-blok (gedeeld, gekoppeld aan ActiveCampaign) ===== */
.newsletter { padding: 5rem 2rem; background: linear-gradient(180deg, var(--brown) 0%, var(--brown-deep) 100%); position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; background: radial-gradient(ellipse at bottom, rgba(132, 144, 83, 0.25) 0%, transparent 60%); }
.newsletter-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.newsletter .overline { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--moss-soft); display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; font-weight: 500; }
.newsletter .overline::before, .newsletter .overline::after { content: ''; width: 28px; height: 1px; background: var(--moss-soft); }
.newsletter h2 { font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; color: var(--cream); margin-bottom: 1rem; letter-spacing: -0.02em; }
.newsletter h2 em { font-style: italic; color: var(--terra-glow); font-weight: 400; }
.newsletter p { font-size: 1rem; line-height: 1.65; color: rgba(247, 243, 238, 0.78); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 520px; margin: 0 auto; justify-content: center; }
.newsletter-form input { flex: 1 1 200px; min-width: 0; background: rgba(247, 243, 238, 0.08); border: 1px solid rgba(247, 243, 238, 0.18); color: var(--cream); padding: 0.9rem 1.2rem; border-radius: 100px; font-size: 0.95rem; font-family: var(--body); outline: none; transition: all 0.3s ease; }
.newsletter-form input::placeholder { color: rgba(247, 243, 238, 0.45); }
.newsletter-form input:focus { border-color: var(--terra-glow); background: rgba(247, 243, 238, 0.12); }
.newsletter-form button { flex: 1 1 100%; background: #e30b50; color: var(--cream); border: none; padding: 0.9rem 1.6rem; border-radius: 100px; font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; font-family: var(--body); }
.newsletter-form button:hover { background: #c50a45; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(227, 11, 80, 0.4); }
.newsletter-thanks { max-width: 520px; margin: 1.5rem auto 0; color: var(--cream); font-size: 1.05rem; line-height: 1.6; }
@media (max-width: 800px) { .newsletter { padding: 4rem 1.2rem; } .newsletter h2 { font-size: 1.7rem; } .newsletter-form { flex-direction: column; } }
