/* Conceptontwerp Hovenierij Ostermeer, door Lunix Webdesign.
   Eigen stijl, los van de Lunix-website: zo ziet een klantwebsite eruit. */
@font-face { font-family: "Fraunces"; src: url("fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../../fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --green-900: #1F3A2B; --green-700: #2F5A3F; --green-500: #5F8463; --green-200: #D5E4C3;
  --cream: #F6F1E7; --paper: #FBF8F1; --line: #E2D9C7;
  --ochre: #E0B24C; --ochre-dark: #C99A3B;
  --ink: #1C2A22; --muted: #55635A; --on-dark: #D7E2D2;
  --serif: "Fraunces", Georgia, serif; --sans: "Manrope", system-ui, sans-serif;
  --wrap: 72rem; --gutter: clamp(1.25rem, 4vw, 2.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--green-900); }
h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
h3 { font-size: 1.375rem; }
:focus-visible { outline: 3px solid var(--ochre-dark); outline-offset: 3px; border-radius: 4px; }
.o-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.o-kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); }
.o-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.o-head p { margin-top: .75rem; color: var(--muted); }

/* Balk van Lunix */
.lunix-bar { background: #0F2340; color: #D5E0EF; font-size: .8125rem; line-height: 1.5; text-align: center; padding: .55rem var(--gutter); }
.lunix-bar a { color: #fff; font-weight: 600; text-underline-offset: 3px; }

/* Knoppen */
.o-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.5rem; border-radius: 6px; background: var(--ochre); color: var(--green-900); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--ochre); cursor: pointer; font-family: inherit; transition: background .2s, border-color .2s, transform .2s; }
.o-btn:hover { background: var(--ochre-dark); border-color: var(--ochre-dark); transform: translateY(-1px); }
.o-btn--sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .9375rem; }
.o-btn--ghost { background: transparent; border-color: var(--green-900); }
.o-btn--ghost:hover { background: var(--green-900); border-color: var(--green-900); color: var(--cream); }
.o-btn--block { width: 100%; }
.o-link { font-weight: 700; color: var(--green-900); text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--ochre-dark); padding: .7rem 0; }

/* Header */
.o-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 241, 231, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.o-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.o-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.o-logo__mark { width: 30px; height: 30px; flex: none; }
.o-logo__text { display: flex; flex-direction: column; line-height: 1; }
.o-logo__text b { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.02em; color: var(--green-900); }
.o-logo__text i { font-style: normal; font-size: .625rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--green-700); margin-top: 4px; }
.o-logo--light .o-logo__text b { color: var(--cream); } .o-logo--light .o-logo__text i { color: var(--on-dark); }
.o-logo--light .o-logo__mark path:first-child { fill: var(--ochre); } .o-logo--light .o-logo__mark path:last-child { stroke: var(--green-900); }
.o-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.o-nav a { text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--green-900); padding: .7rem 0; border-bottom: 2px solid transparent; }
.o-nav a:hover { border-color: var(--ochre-dark); }
@media (max-width: 860px) { .o-nav { display: none; } .o-header__in { justify-content: space-between; } }
@media (max-width: 480px) { .o-header .o-btn { display: none; } }

/* Hero */
.o-hero { padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); }
.o-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.o-hero h1 { margin-top: 1rem; max-width: 12ch; }
.o-lead { margin-top: 1.5rem; font-size: 1.1875rem; max-width: 30rem; color: var(--muted); }
.o-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.o-usps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9375rem; font-weight: 600; color: var(--green-900); }
.o-usps li { position: relative; padding-left: 1.35rem; }
.o-usps li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .4rem; border-left: 2px solid var(--green-700); border-bottom: 2px solid var(--green-700); transform: rotate(-45deg); }
.o-hero__plan { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(.75rem, 2vw, 1.25rem); box-shadow: 0 30px 60px -40px rgba(31, 58, 43, .45); transform: rotate(1.2deg); }
.o-hero__plan figcaption { margin-top: .75rem; font-size: .8125rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .o-hero__in { grid-template-columns: 1fr; } .o-hero__plan { transform: none; } }

/* Twee diensten */
.o-split__in { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.o-service { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: flex-start; }
.o-service h2 { margin-top: .6rem; }
.o-service > p:not(.o-kicker) { margin-top: 1rem; color: var(--muted); }
.o-service ul { margin: 1.5rem 0 2rem; display: grid; gap: .5rem; font-weight: 600; font-size: 1rem; }
.o-service li { position: relative; padding-left: 1.4rem; }
.o-service li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre-dark); }
.o-service .o-btn { margin-top: auto; }
.o-service--dark { background: var(--green-900); border-color: var(--green-900); color: var(--on-dark); }
.o-service--dark h2 { color: var(--cream); } .o-service--dark .o-kicker { color: var(--ochre); }
.o-service--dark > p:not(.o-kicker) { color: var(--on-dark); } .o-service--dark ul { color: var(--cream); }
@media (max-width: 860px) { .o-split__in { grid-template-columns: 1fr; } }

/* Abonnementen */
.o-plans { padding: clamp(4rem, 8vw, 7rem) 0; }
.o-plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.o-plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 2rem 1.75rem; }
.o-plan--pick { border: 2px solid var(--green-700); }
.o-plan__tag { position: absolute; top: -.8rem; left: 1.5rem; background: var(--green-700); color: var(--cream); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .7rem; border-radius: 4px; }
.o-price { margin-top: .5rem; color: var(--muted); font-size: .9375rem; }
.o-price b { font-family: var(--serif); font-weight: 600; font-size: 2.25rem; color: var(--green-900); letter-spacing: -0.02em; margin-right: .25rem; }
.o-plan ul { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; font-size: .9875rem; }
@media (max-width: 860px) { .o-plans__grid { grid-template-columns: 1fr; } }

/* Projecten */
.o-projects { background: var(--paper); border-block: 1px solid var(--line); padding: clamp(4rem, 8vw, 7rem) 0; }
.o-projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; }
.o-project .plan { border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.o-project > div { padding-top: 1.1rem; }
.o-project h3 { margin-top: .4rem; }
.o-project div p:last-child { margin-top: .5rem; color: var(--muted); font-size: .9875rem; }
@media (max-width: 860px) { .o-projects__grid { grid-template-columns: 1fr; max-width: 30rem; } }

/* Werkwijze */
.o-steps { padding: clamp(4rem, 8vw, 7rem) 0; }
.o-steps ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; counter-reset: stap; }
.o-steps li { counter-increment: stap; border-top: 2px solid var(--green-900); padding-top: 1.1rem; }
.o-steps li::before { content: "0" counter(stap); font-family: var(--serif); font-size: 1.125rem; color: var(--green-700); }
.o-steps h3 { margin-top: .35rem; }
.o-steps p { margin-top: .5rem; color: var(--muted); font-size: .9875rem; }
@media (max-width: 860px) { .o-steps ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .o-steps ol { grid-template-columns: 1fr; } }

/* Contact */
.o-contact { background: var(--green-900); color: var(--on-dark); padding: clamp(4rem, 8vw, 7rem) 0; }
.o-contact__in { display: grid; grid-template-columns: 1fr minmax(0, 26rem); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.o-contact h2 { color: var(--cream); }
.o-contact h2 + p { margin-top: 1rem; max-width: 30rem; }
.o-contact dl { margin-top: 2rem; display: grid; gap: 1.1rem; }
.o-contact dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }
.o-contact dd { color: var(--cream); font-weight: 600; }
.o-form { background: var(--paper); color: var(--ink); border-radius: 10px; padding: clamp(1.5rem, 4vw, 2.25rem); display: grid; gap: .4rem; }
.o-form label { font-weight: 700; font-size: .9375rem; margin-top: .6rem; }
.o-form label:first-child { margin-top: 0; }
.o-form input, .o-form select { width: 100%; min-height: 48px; padding: .6rem .8rem; border: 1px solid #B9B3A4; border-radius: 6px; background: #fff; font: inherit; color: var(--ink); }
.o-form .o-btn { margin-top: 1.1rem; }
.o-form__note { font-size: .8125rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.o-form__note.is-on { color: var(--green-700); font-weight: 700; }
@media (max-width: 860px) { .o-contact__in { grid-template-columns: 1fr; } }

/* Footer */
.o-footer { background: #17291F; color: var(--on-dark); padding: 2.5rem 0; font-size: .875rem; }
.o-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 3rem; }
.o-footer p { max-width: 34rem; }
.o-footer a { color: var(--cream); }

/* Mobiel: bellen en afspraak altijd in beeld */
.o-sticky { display: none; }
@media (max-width: 700px) {
  .o-sticky { position: sticky; bottom: 0; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(246, 241, 231, .96); border-top: 1px solid var(--line); }
  .o-sticky .o-btn { min-height: 46px; padding: .5rem .75rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .o-btn { transition: none; } .o-btn:hover { transform: none; } }

/* ---------- Losse pagina's ---------- */
.o-nav a[aria-current="page"] { border-color: var(--ochre-dark); }
.o-toggle { display: none; }
@media (max-width: 860px) {
  .o-header__in { position: relative; gap: .75rem; }
  .o-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; margin-left: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font: inherit; font-weight: 700; color: var(--green-900); cursor: pointer; }
  .o-header .o-nav { position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%; flex-direction: column; gap: 0; margin: 0; padding: .5rem var(--gutter) 1rem; background: var(--cream); border-bottom: 1px solid var(--line); }
  .o-header .o-nav.is-open { display: flex; }
  .o-header .o-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
}
.o-hero__plan--flat { transform: none; }
.o-pagehead { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.o-pagehead h1 { margin-top: .9rem; max-width: 18ch; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.o-pagehead .o-lead { margin-top: 1.25rem; }
.o-band { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.o-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.o-list { display: grid; gap: .9rem; margin-top: 1.5rem; }
.o-list li { padding-left: 1.4rem; position: relative; color: var(--muted); }
.o-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre-dark); }
.o-list b { color: var(--green-900); }
.o-note { margin-top: 1.75rem; padding: 1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; font-size: .9875rem; }
@media (max-width: 860px) { .o-two { grid-template-columns: 1fr; } }
.o-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.o-cal-wrap { overflow-x: auto; max-width: 100%; position: relative; }
.o-cal { width: 100%; min-width: 40rem; border-collapse: separate; border-spacing: 4px; font-size: .875rem; }
.o-cal th { font-weight: 700; color: var(--green-900); text-align: left; padding-right: .75rem; }
.o-cal thead th { text-align: center; font-weight: 600; color: var(--muted); }
.o-cal td { height: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.o-cal td.on { background: var(--green-500); border-color: var(--green-500); }
.o-cal thead td { background: none; border: 0; }
.o-cta { background: var(--green-900); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.o-cta__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.o-cta h2 { color: var(--cream); max-width: 20ch; }

/* ---------- Versie 2 ---------- */
.o-seasonal svg { transition: filter .6s ease; }
.o-seasonal.is-lente svg { filter: saturate(1.15) hue-rotate(10deg) brightness(1.03); }
.o-seasonal.is-herfst svg { filter: sepia(.28) saturate(1.3) hue-rotate(-20deg); }
.o-seasonal.is-winter svg { filter: saturate(.18) brightness(1.1) contrast(.95); }
.o-seasonal figcaption { min-height: 3.2em; }
.o-cap2 { display: block; opacity: .75; }
.o-seasons { display: flex; justify-content: center; gap: .35rem; margin-top: .9rem; flex-wrap: wrap; }
.o-seasons button { font: inherit; font-size: .875rem; font-weight: 700; min-height: 40px; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); color: var(--green-900); cursor: pointer; transition: background .2s, color .2s; }
.o-seasons button[aria-pressed="true"] { background: var(--green-900); border-color: var(--green-900); color: var(--cream); }
.o-seasons button:focus-visible { outline: 3px solid var(--ochre-dark); outline-offset: 2px; }

.o-service--photo { padding-top: 0; overflow: hidden; }
.o-service__img { margin: 0 calc(-1 * clamp(1.75rem, 4vw, 3rem)) clamp(1.5rem, 3vw, 2rem); width: calc(100% + 2 * clamp(1.75rem, 4vw, 3rem)); aspect-ratio: 16 / 9; overflow: hidden; }
.o-service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.o-service--photo:hover .o-service__img img { transform: scale(1.04); }

.o-calc { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.o-calc__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.o-calc__form { background: var(--paper); padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: .5rem; align-content: start; }
.o-calc__form h2 { margin: .5rem 0 1.25rem; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.o-calc__plans { border: 0; padding: 0; margin: 0 0 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.o-calc__plans legend { font-weight: 700; margin-bottom: .6rem; padding: 0; }
.o-calc__plans label { position: relative; }
.o-calc__plans input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.o-calc__plans span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; background: var(--cream); }
.o-calc__plans input:checked + span { background: var(--green-700); border-color: var(--green-700); color: var(--cream); }
.o-calc__plans input:focus-visible + span { outline: 3px solid var(--ochre-dark); outline-offset: 2px; }
.o-calc__lbl { font-weight: 700; margin-top: .75rem; display: flex; justify-content: space-between; }
.o-calc__lbl output { font-family: var(--serif); font-size: 1.25rem; color: var(--green-700); }
.o-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; margin: .6rem 0; background: linear-gradient(to right, var(--green-700) var(--p, 30%), var(--line) var(--p, 30%)); }
.o-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ochre); border: 3px solid var(--green-900); cursor: grab; }
.o-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ochre); border: 3px solid var(--green-900); cursor: grab; }
.o-range:focus-visible { outline: 3px solid var(--ochre-dark); outline-offset: 6px; }
.o-calc__hint { font-size: .875rem; color: var(--muted); margin-top: .5rem; }
.o-calc__out { background: var(--green-900); color: var(--on-dark); padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: 1rem; align-content: center; }
.o-calc__plan { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); }
.o-calc__price b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; color: var(--cream); letter-spacing: -0.03em; }
.o-calc__year, .o-calc__small { font-size: .875rem; }
@media (max-width: 860px) { .o-calc__in { grid-template-columns: 1fr; } }

.o-photoband .lx-photo img { aspect-ratio: 21 / 8; }
.o-photoband .lx-photo figcaption { padding-top: .6rem; }
.o-photoband--two { padding: clamp(2rem, 5vw, 4rem) 0; }
.o-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.o-two .lx-photo img { aspect-ratio: 4 / 3; border-radius: 10px; }
.o-wide img { aspect-ratio: 21 / 9; border-radius: 10px; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (max-width: 760px) { .o-two { grid-template-columns: 1fr; } .o-photoband .lx-photo img { aspect-ratio: 4 / 3; } }
.o-form textarea { width: 100%; font: inherit; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; resize: vertical; }
.o-opt { font-weight: 400; color: var(--muted); }
.lx-footlegal { color: var(--on-dark); }

/* ---------- Gedeeld: overgangen, juridische pagina's ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.lx-legal { max-width: 46rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.lx-legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.lx-legal h2:first-of-type { margin-top: 0; }
.lx-legal p, .lx-legal ul, .lx-legal ol { margin-top: .8rem; color: var(--muted); }
.lx-legal ul { list-style: disc; padding-left: 1.2rem; } .lx-legal ol { list-style: decimal; padding-left: 1.2rem; }
.lx-legal li + li { margin-top: .3rem; }
.lx-legal a { color: inherit; text-underline-offset: 3px; }
.lx-note { background: #FFF6D6; color: #3A3220; border-left: 4px solid #E0B24C; padding: 1rem 1.25rem; font-size: .9375rem; margin: 0 0 2rem; }
.lx-footlegal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: 1.5rem; font-size: .875rem; }
.lx-footlegal a { color: inherit; }
.lx-photo { margin: 0; overflow: hidden; }
.lx-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-photo figcaption { font-size: .8125rem; color: var(--muted); margin-top: .5rem; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lx-rise { animation: lx-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes lx-rise { from { opacity: 0; transform: translateY(28px); } }
  }
}
