

@font-face { font-family: "Manrope"; src: url("/templates/haven-tegelwerk/assets/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/templates/haven-tegelwerk/assets/Manrope-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/templates/haven-tegelwerk/assets/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --blue: #2134f5;
  --grey: #565656;
  --line: #b2b2b2;
  --line-soft: #d9d9d9;
  --on-black: #262626;
  --w200: #fafafa;
  --w300: #f6f6f6;
  --shadow-xs: 0 1px 2px 0 #1018280d;
  --shadow-md: 0 4px 8px -2px #1018281a;

  --h1: 4rem; --h1-lh: 4.625rem;
  --h2: 3.5rem; --h2-lh: 4.125rem;
  --h3: 2.5rem; --h3-lh: 3.125rem;
  --h4: 2rem; --h4-lh: 2.5rem;
  --h5: 1.5rem; --h5-lh: 2rem;
  --tm: 1.125rem; --tm-lh: 1.625rem;
  --tl: 1.25rem; --tl-lh: 1.75rem;
  --disp: 12rem; --disp-lh: 120%;
  --sec: 7.5rem; --sec-b: 7.5rem;
  --gutter: 1.5rem;

  --ease: cubic-bezier(.25, .1, .25, 1);
  --out-quad: cubic-bezier(.25, .46, .45, .94);
  --out-cubic: cubic-bezier(.215, .61, .355, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
p, h1, h2, h3, h4, h5, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.nav :focus-visible, .hero :focus-visible, .props :focus-visible, .agents :focus-visible, .process :focus-visible, .cta :focus-visible, .footer :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1.25rem; border-radius: 4px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* typografie */
.h1 { font-size: var(--h1); line-height: var(--h1-lh); font-weight: 600; }
.h2 { font-size: var(--h2); line-height: var(--h2-lh); font-weight: 600; }
.h3 { font-size: var(--h3); line-height: var(--h3-lh); font-weight: 600; }
.h4 { font-size: var(--h4); line-height: var(--h4-lh); font-weight: 600; }
.h5 { font-size: var(--h5); line-height: var(--h5-lh); font-weight: 500; }
.t-regular { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.t-medium { font-size: var(--tm); line-height: var(--tm-lh); font-weight: 500; }
.t-large { font-size: var(--tl); line-height: var(--tl-lh); font-weight: 500; }
.t-white { color: var(--white); }
.t-black { color: var(--black); }
.t-grey { color: var(--grey); }
.t-brand { color: var(--blue); }

/* opbouw */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap > * , .pad > * { width: 100%; max-width: 1140px; margin-left: auto; margin-right: auto; }
.pad { padding-top: var(--sec); padding-bottom: var(--sec-b); }
.divider { width: 100%; height: 1px; margin: 0 auto; background: var(--line); }
.divider--dark { background: var(--on-black); }
.divider--light { background: var(--line-soft); }

.head { display: flex; justify-content: space-between; align-items: flex-end; }
.head__left { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.head__right { max-width: 385px; }

/* plaatsvervangend beeld */
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #00000080; font-size: .875rem; line-height: 1.3; text-align: center; padding: 1rem; }
.ph--sky { background: #a9bccb; }
.ph--sand { background: #d9cfc1; }
.ph--stone { background: #c9ccd1; }
.ph--clay { background: #c8a995; }
.ph--sage { background: #b9c2b0; }

/* topbalk */
.topbar {
  position: relative; z-index: 5;
  padding: .4rem 1rem; background: #05060b; color: #ffffffb3;
  font-size: .75rem; line-height: 1.1rem; text-align: center;
}
.topbar p { display: inline; }
.topbar a { margin-left: .75rem; color: #fff; }

/* knoppen */
.btn { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .75rem; padding: .75rem 1.25rem; border-radius: .25rem; text-decoration: none; flex: none; }
.btn__text { display: block; height: var(--tm-lh); overflow: hidden; font-size: var(--tm); line-height: var(--tm-lh); font-weight: 500; color: #fff; text-shadow: 0 30px 0 #fff; white-space: nowrap; }
.btn__text .ch { display: inline-block; white-space: pre; }
.btn__arrow { display: flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.btn__arrow svg { width: 15px; height: 15px; }
.btn--primary { background: var(--blue); }
.btn--outline { border: 1px solid #fff; }
.btn--outline .btn__text { height: 22px; line-height: var(--tm); letter-spacing: -.32px; padding-top: 2px; }

/* hero */
.hero { position: relative; z-index: 2; overflow: hidden; }
.hero-bg { position: absolute; top: -38px; left: 0; width: 100%; height: 110%; display: flex; align-items: center; }
.hero-bg__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
/* Alleen donker waar tekst staat (links en onder); de foto zelf blijft zichtbaar. */
.hero-bg__shade { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(5,6,11,.82) 0%, rgba(5,6,11,.55) 34%, rgba(5,6,11,.08) 62%, rgba(5,6,11,0) 100%), linear-gradient(180deg, rgba(5,6,11,.45) 0%, rgba(5,6,11,0) 22%, rgba(5,6,11,0) 62%, rgba(5,6,11,.9) 100%); }
@media (max-width: 767px) {
  .hero-bg__img { object-position: 72% 50%; }
  .hero-bg__shade { background-image: linear-gradient(180deg, rgba(5,6,11,.5) 0%, rgba(5,6,11,.35) 30%, rgba(5,6,11,.72) 55%, rgba(5,6,11,.94) 100%); }
}

.nav { position: relative; z-index: 3; width: 100%; padding: 1.5rem 1.875rem 0; background: transparent; }
.nav__inner { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; max-width: 71.5rem; margin: 0 auto; }
.nav__brand { display: flex; align-items: center; gap: .25rem; height: 36px; color: #fff; text-decoration: none; }
.nav__mark { width: 34px; height: 31px; }
.nav__word { font-size: .75rem; line-height: .875rem; font-weight: 500; letter-spacing: 0; text-transform: uppercase; }
.nav__menu { display: flex; gap: 5.375rem; }
.nav__col { display: flex; flex-direction: column; align-items: flex-start; gap: .375rem; }
.nav__link { display: block; color: #fff; font-size: 1rem; line-height: 1.5rem; letter-spacing: -.08px; text-decoration: none; white-space: nowrap; }
.nav__link:hover { text-decoration: underline; }
.drop { position: relative; z-index: 4; }
.drop__toggle { display: flex; align-items: center; gap: .375rem; color: #fff; font-size: 1rem; line-height: 1.5rem; letter-spacing: -.08px; }
.drop__icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.drop.is-open .drop__icon { transform: rotate(-180deg); transition-duration: .45s; }
.drop__list { position: absolute; top: 24px; left: -45px; display: flex; flex-direction: column; gap: .375rem; padding: 1.25rem; border-radius: 4px; background: #00000047; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drop__list[hidden] { display: none; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; }
.nav__call { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #fff; border-radius: 100%; color: #fff; transition: border-color .3s, background-color .3s; }
.nav__call svg { width: 20px; height: 20px; }
.nav__call:hover { border-color: #000; background: #000; }
.nav__burger { display: none; }

.hero__section { position: relative; padding-bottom: 4rem; overflow: hidden; }
.hero__inner { display: flex; flex-direction: column; gap: 2.5rem; }
.hero__display-wrap { position: relative; z-index: 0; display: flex; justify-content: center; align-items: center; margin: 42px auto 0; }
.hero__display {
  font-size: var(--disp); line-height: var(--disp-lh); font-weight: 600; white-space: nowrap;
  background-image: linear-gradient(#ffffff52, #55555508 72%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero__bottom { display: flex; flex-direction: column; gap: 4rem; }
.hero__intro { display: flex; flex-direction: column; gap: 2rem; max-width: 473px; }
.hero__title { color: #fff; text-transform: uppercase; }
.hero__buttons { display: flex; align-items: center; gap: 1rem; }
.hero__row { display: flex; justify-content: space-between; align-items: center; }
.hero__lead { width: 28%; }
.hero__scroll { position: relative; display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; }
.hero__scroll-ring { width: 88px; height: 88px; fill: #fff; font-size: 11.5px; letter-spacing: .02em; animation: ring-sway 1.6s infinite; }
.hero__scroll-arrow { position: absolute; bottom: 9px; left: 40px; width: 8px; height: 34px; animation: arrow-bob 1.6s infinite; }
@keyframes ring-sway {
  0% { transform: rotate(-3deg); animation-timing-function: var(--out-quad); }
  50% { transform: rotate(7deg); animation-timing-function: var(--out-quad); }
  100% { transform: rotate(-3deg); }
}
@keyframes arrow-bob {
  0% { transform: translateY(0); animation-timing-function: var(--out-quad); }
  50% { transform: translateY(8px); animation-timing-function: var(--out-quad); }
  100% { transform: translateY(0); }
}
.hero__proof { display: flex; align-items: center; gap: .75rem; }
.hero__faces { display: flex; align-items: center; }
.hero__face { display: block; border: 1px solid #fff; border-radius: 100px; overflow: hidden; width: 42px; height: 42px; }
.hero__face img { width: 40px; height: 40px; object-fit: cover; display: block; }
.hero__face:nth-child(2) { margin-left: -14px; }
.hero__face:nth-child(3) { margin-left: -12px; }
.hero__face:nth-child(4) { margin-left: -18px; }

/* over ons */
.about { background: #fff; overflow: hidden; }
.about__inner { display: flex; flex-direction: column; gap: 4rem; }
.about__top { display: flex; align-items: flex-start; gap: 200px; }
.about__top > .t-regular { flex: none; width: 100px; }
.about__lines { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.about__line { position: relative; width: 100%; overflow: hidden; }
.about__line > .h3 { display: block; }
.about__fill { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 var(--clip, 0%) 0 0); }
.about__fill .h3 { display: block; color: #000; }
.about__mid { display: flex; gap: 3rem; }
.about__img { width: 100%; max-width: 428px; height: 306px; border-radius: .25rem; overflow: hidden; flex: none; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; flex: 1; }
.stat-card { display: flex; flex-direction: column; gap: 6.25rem; padding: 1.5rem; border-radius: .25rem; background: var(--w200); }
.stat-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.stat-card__left { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }

.roll { display: flex; align-items: flex-start; height: 57px; overflow: hidden; }
.roll__col { display: flex; flex-direction: column; align-items: center; }
.roll__col > .h2 { display: block; }

.ticker { position: relative; display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 1135px; margin: 0 auto; overflow: hidden; }
.ticker__row { display: flex; gap: 1rem; align-items: center; }
.ticker__row--top { justify-content: flex-end; }
.ticker__row--bottom { justify-content: center; }
.ticker__list { display: flex; gap: 1rem; flex: none; align-items: center; animation: ticker-right 30s linear infinite; }
.ticker__list--left { animation-name: ticker-left; }
.ticker__item { display: flex; align-items: center; gap: .5rem; padding: 1rem 1.25rem; border-radius: .25rem; background: var(--w200); white-space: nowrap; }
.ticker__item svg { width: 20px; height: 20px; color: #2b2b2b; flex: none; }
@keyframes ticker-right { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes ticker-left { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.ticker__fade { position: absolute; top: 0; height: 100%; width: 10%; mix-blend-mode: lighten; pointer-events: none; }
.ticker__fade--l { left: -25px; background-image: linear-gradient(90deg, #fff 33%, #ffffff52); }
.ticker__fade--r { right: 0; background-image: linear-gradient(297deg, #fff 30%, #ffffff47 62%); }

/* video */
.video { position: relative; overflow: hidden; background: #05060b; }
.video__link { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; cursor: pointer; }
.video__img { display: block; width: 100%; aspect-ratio: 1440 / 558; object-fit: cover; }
.video__shade { position: absolute; inset: 0; background-image: linear-gradient(0deg, #05060b, #05060b80); }
.video__icon { position: absolute; z-index: 1; width: 64px; height: 64px; top: calc(50% - 32px); left: calc(50% - 32px); will-change: transform; }

/* woningen */
.props { background: #000; overflow: hidden; }
.props__inner { display: flex; flex-direction: column; gap: 4rem; }
.props__list { display: flex; flex-direction: column; gap: 4rem; }
.prop { display: flex; flex-direction: column; gap: 3rem; text-decoration: none; color: #fff; }
.prop__top { display: flex; justify-content: space-between; align-items: center; }
.prop__arrow { width: 19px; height: 19px; color: #fff; transition: transform .45s var(--ease); }
.prop__body { display: flex; gap: 3rem; }
.prop__imgs { display: flex; gap: 1rem; align-items: stretch; }
.prop__long, .prop__small { height: 304px; border-radius: .25rem; overflow: hidden; flex: none; }
.prop__long { width: 33.8125rem; }
.prop__small { width: 15.6875rem; }
.prop__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.prop__info { display: flex; flex-direction: column; justify-content: space-between; width: 284px; }
.prop__meta { display: flex; flex-direction: column; gap: 1.5rem; }
.prop__loc { display: flex; align-items: center; gap: .25rem; }
.prop__loc svg, .chip svg { width: 16px; height: 16px; flex: none; }
.prop__chips { display: flex; align-items: center; gap: .875rem; }
.chip { display: inline-flex; align-items: center; gap: .25rem; padding: .375rem 1rem; border: 1px solid #fff; border-radius: .25rem; font-size: 1rem; line-height: 1.5rem; color: #fff; }
.prop__line { width: 100%; height: 1px; margin-top: 16px; background: #ffffff26; }
.prop__hover-line { width: 0; height: 1px; background: var(--line); transition: width .8s var(--out-cubic); }
@media (min-width: 992px) and (hover: hover) {
  .prop:hover .prop__arrow, .prop:focus-visible .prop__arrow { transform: rotate(45deg); }
  .prop:hover .prop__img, .prop:focus-visible .prop__img { transform: scale(1.15); }
  .prop:hover .prop__hover-line, .prop:focus-visible .prop__hover-line { width: 100%; }
}

/* projecten */
.projects { position: relative; background: #fff; overflow: hidden; }
.projects__bgword { position: absolute; left: 50%; top: 76%; transform: translate(-50%, -50%); margin: 0; font-size: 13.5rem; line-height: 1; font-weight: 500; letter-spacing: -.02em; color: #f6f6f6; white-space: nowrap; pointer-events: none; }
.projects__inner { position: relative; display: flex; flex-direction: column; gap: 4rem; }
.projects__row { display: flex; gap: 1rem; align-items: stretch; overflow: hidden; }
.pcard-wrap--1 { margin-top: 3rem; }
.pcard-wrap--3 { margin-top: 2.5rem; }
.pcard-wrap--4 { margin-top: 5.625rem; }
.pcard { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; }
.pcard__label { display: flex; justify-content: flex-end; }
.pcard__img { position: relative; display: flex; justify-content: center; align-items: center; width: 273px; aspect-ratio: 273 / 305; border-radius: .25rem; overflow: hidden; }
.pcard__img img, .pcard__img .ph { width: 100%; height: 100%; object-fit: cover; }
.pcard__arrow { position: absolute; top: calc(50% - 35px); left: calc(50% - 35px); width: 4.375rem; height: 4.375rem; will-change: transform; pointer-events: none; }
.pcard__dot { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; border-radius: 100%; background: var(--blue); color: #fff; }
.pcard__dot svg { width: 18px; height: 18px; }
@media (min-width: 480px) {
  .pcard__label { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .pcard__dot { transform: scale(0); transition: transform .5s var(--ease); }
  .pcard:hover .pcard__label, .pcard:focus-visible .pcard__label { opacity: 1; transform: none; }
  .pcard:hover .pcard__dot, .pcard:focus-visible .pcard__dot { transform: scale(1); transition-duration: .45s; }
}
.pcard__bottom { display: flex; justify-content: space-between; align-items: center; }

/* makelaars */
.agents { background: #000; overflow: hidden; }
.agents__inner { display: flex; flex-direction: column; gap: 4rem; }
.agents__tabs { display: flex; flex-direction: row-reverse; }
.agents__menu { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-left: 135px; flex: none; }
.agents__thumb { display: block; width: 124px; height: 146px; border-radius: .25rem; overflow: hidden; opacity: .6; transition: opacity .3s var(--ease); }
.agents__thumb.is-current { opacity: 1; }
.agents__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.agents__panes { position: relative; width: 100%; }
.agents__pane[hidden] { display: none; }
.agent { display: flex; justify-content: flex-end; align-items: flex-end; gap: 136px; }
.agent__left { display: flex; flex-direction: column; gap: .75rem; }
.agent__head { display: flex; flex-direction: column; gap: .5rem; width: 310px; }
.agent__social { display: flex; align-items: center; gap: .25rem; white-space: nowrap; color: #fff; }
.agent__social a, .agent__social > span { font-size: .875rem; line-height: 150%; font-weight: 500; text-transform: uppercase; color: #fff; text-decoration: none; }
.agent__social a { display: inline-block; height: 21px; overflow: hidden; text-shadow: 0 23px 0 #fff; }
.agent__social > span { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.agent__img { display: block; width: 100%; max-width: 403px; aspect-ratio: 403 / 450; border-radius: .25rem; overflow: hidden; }
.agent__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.agent__img:hover img { transform: scale(1.1); }
.agents__mobile { display: none; }

/* ervaringen */
.testi { background: #fff; overflow: hidden; }
.testi__inner { display: flex; flex-direction: column; gap: 4rem; }
.testi__card { display: flex; gap: 1rem; }
.testi__img { width: 100%; max-width: 336px; min-height: 356px; border-radius: .25rem; overflow: hidden; }
.testi__img img { display: block; width: 100%; height: 100%; aspect-ratio: 336 / 356; object-fit: cover; }
.testi__content { display: flex; flex-direction: column; justify-content: space-between; max-width: 499px; padding: 1.5rem; border-radius: .25rem; background: var(--w200); box-shadow: var(--shadow-xs); overflow: hidden; }
.testi__bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.testi__author { display: flex; align-items: center; gap: .75rem; }
.testi__avatar { display: block; width: 3.75rem; height: 3.75rem; border-radius: 100%; overflow: hidden; }
.testi__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi__who { display: flex; flex-direction: column; gap: .25rem; }
.testi__quote { width: 54px; height: 46px; color: #e6e6e6; }
.testi__num { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; width: 100%; max-width: 273px; padding: 1.5rem; border-radius: .25rem; background: var(--w200); }
.testi__num-bottom { display: flex; flex-direction: column; gap: .5rem; }

/* werkwijze */
.process { padding-bottom: 4.375rem; background-color: #05060b; background-image: linear-gradient(0deg, #05060b, #05060b80), linear-gradient(#21405bdb, #21405bdb), url("/templates/haven-tegelwerk/assets/img/haven3-procesbg.webp"); background-position: 0 0, 0 0, 50% 0; background-repeat: repeat, repeat, no-repeat; background-size: auto, auto, 100% auto; overflow: hidden; }
.process__inner { display: flex; flex-direction: column; align-items: center; gap: 4rem; }
.process__head { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.process__wrap { position: relative; width: 463px; max-width: 100%; }
.process__stack { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - 55px); border-radius: 1rem; }
.process__stack--1 { background: #eef0f3; transform: translate(22px, 10px) rotate(1.6deg) scaleY(.97); }
.process__stack--2 { background: #c3c8cf; opacity: .9; transform: translate(44px, 22px) rotate(3.4deg) scaleY(.93); }
.process__mask { position: relative; z-index: 1; display: grid; width: 100%; max-width: 463px; border-radius: 1rem; overflow: hidden; }
.process__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.process__slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.pcard2 { display: flex; flex-direction: column; gap: 3rem; height: 100%; padding: 2.5rem 1.25rem 1.25rem; border-radius: 1rem; background: #fff; box-shadow: var(--shadow-md); }
.pcard2__top { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; margin: 0 1.25rem; }
.pcard2__step { padding: .25rem .75rem; border-radius: .25rem; background: var(--blue); }
.pcard2__text { display: flex; flex-direction: column; gap: 1rem; }
.pcard2__img { margin-top: auto; border-radius: .5rem; overflow: hidden; }
.pcard2__img img { display: block; width: 100%; aspect-ratio: 423 / 280; object-fit: cover; }
.process__arrow { position: absolute; z-index: 3; top: calc(100% - 20px); display: flex; justify-content: center; align-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid #fff; border-radius: 100%; color: #fff; }
.process__arrow svg { width: 9px; height: 17px; }
.process__arrow--prev { left: 0; }
.process__arrow--next { right: 0; }
.process__line { position: relative; display: flex; align-items: center; width: 298px; height: 4px; margin: 51px auto 0; border-radius: .25rem; background: #fff; }
.process__progress { width: 25%; height: 4px; border-radius: .25rem; background: var(--blue); transition: width .5s linear; }
.process__knob { position: absolute; top: 0; left: 86%; width: 6%; aspect-ratio: 1; margin-top: -7px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); transform: translateX(-1050%); transition: transform .5s linear; }

/* waarom wij */
.why { background: #fff; overflow: hidden; }
.why__inner { display: flex; justify-content: flex-start; align-items: flex-start; gap: 4rem; }
.why__left { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; width: 100%; max-width: 338px; flex: none; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; flex: 1; }
.why__card { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 4.375rem; padding: 2rem; border-radius: .25rem; background: var(--w300); box-shadow: var(--shadow-xs); }
.why__icon { width: 42px; height: 42px; color: #111; }
.why__text { display: flex; flex-direction: column; gap: 1rem; }

/* blog */
.blogs { background: var(--w300); overflow: hidden; }
.blogs__inner { display: flex; flex-direction: column; gap: 4rem; }
.blogs__cards { display: flex; flex-direction: column; gap: 1rem; }
.bigpost { display: flex; gap: 3rem; padding: 1.5rem; border-radius: .25rem; background: #fff; box-shadow: var(--shadow-xs); text-decoration: none; }
.bigpost__img { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; max-width: 540px; border-radius: .25rem; overflow: hidden; flex: none; }
.bigpost__img .zoom-img { display: block; width: 100%; aspect-ratio: 540 / 416; object-fit: cover; }
.bigpost__body { display: flex; flex-direction: column; justify-content: space-between; }
.bigpost__top { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.5rem; }
.bigpost__date { padding: 3px 1rem; border-radius: .25rem; background: var(--w200); box-shadow: var(--shadow-xs); }
.bigpost__text { display: flex; flex-direction: column; gap: 1rem; }
.bigpost__author { display: flex; align-items: center; gap: .75rem; }
.bigpost__avatar { display: block; width: 3.75rem; height: 3.75rem; border-radius: 100%; overflow: hidden; }
.bigpost__avatar img { width: 100%; height: 100%; object-fit: cover; }
.bigpost__who { display: flex; flex-direction: column; gap: .25rem; }
.blogs__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.post { position: relative; display: flex; flex-direction: column; gap: 1.5rem; max-width: 369px; padding: 1.5rem; border-radius: .25rem; background: #fff; box-shadow: var(--shadow-xs); text-decoration: none; overflow: hidden; }
.post__img { position: relative; display: flex; justify-content: center; align-items: center; border-radius: .25rem; overflow: hidden; }
.post__img .zoom-img { display: block; width: 100%; aspect-ratio: 321 / 252; object-fit: cover; }
.post__img .ph.zoom-img { display: flex; }
.post__text { display: flex; flex-direction: column; gap: .25rem; }
.zoom-arrow { position: absolute; z-index: 1; display: flex; justify-content: center; align-items: center; width: 5rem; height: 5rem; border-radius: 100%; background: #0003; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); color: #fff; }
.zoom-arrow svg { width: 20px; height: 20px; }
@media (min-width: 992px) {
  .zoom-img { transform: scale(1.12); transition: transform .5s var(--ease); }
  .zoom-arrow { transform: scale(0); transition: transform .5s var(--ease); }
  [data-zoom]:hover .zoom-img, [data-zoom]:focus-visible .zoom-img { transform: scale(1); }
  [data-zoom]:hover .zoom-arrow, [data-zoom]:focus-visible .zoom-arrow { transform: scale(1); }
}

/* faq */
.faq { overflow: hidden; background: #fff; }
.faq__inner { display: flex; align-items: stretch; gap: 3rem; }
.faq__left { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3rem; max-width: 462px; flex: none; }
.faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.faq__img { border-radius: .25rem; overflow: hidden; }
.faq__img img { display: block; width: 100%; aspect-ratio: 462 / 253; object-fit: cover; }
.faq__divider { width: 1px; background: var(--line-soft); flex: none; }
.faq__right { display: flex; flex-direction: column; justify-content: center; gap: 2rem; flex: 1; }
.faq__list { display: flex; flex-direction: column; gap: 1.75rem; }
.faq__item { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-soft); }
.faq__q { font: inherit; }
.faq__q button { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; padding-bottom: 2px; text-align: left; color: #000; }
.faq__icon { position: relative; display: flex; justify-content: center; align-items: center; width: 2rem; height: 2rem; border: 1px solid #000; border-radius: 100%; flex: none; }
.faq__icon i { position: absolute; width: 10px; height: 1.5px; background: #000; }
.faq__icon i + i { transform: rotate(90deg); transition: transform .5s var(--ease); }
.faq__item.is-open .faq__icon i + i { transform: rotate(0deg) scaleY(0); }
.faq__a { overflow: hidden; height: 0; }
.faq__item:not(.is-open) .faq__a { visibility: hidden; transition: visibility 0s linear .5s; }
.faq__a p { width: 90%; padding-top: .5rem; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-duration: .55s; }
.faq__item.is-open .faq__a { height: auto; }

/* contact */
.cta { background-color: #05060b; background-image: linear-gradient(0deg, #05060b9e, #05060b66), url("/templates/haven-tegelwerk/assets/img/haven2-c-avond.webp"); background-position: 0 0, 50% 0; background-repeat: repeat, no-repeat; background-size: auto, cover; overflow: hidden; }
.cta__inner { display: flex; flex-direction: column; gap: 256px; }
.cta__top { display: flex; justify-content: space-between; align-items: flex-start; }
.cta__intro { max-width: 385px; }
.cta__bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.cta__title { max-width: 352px; }

/* footer */
.footer { padding-top: var(--sec); padding-bottom: 1.5rem; background: #000; overflow: hidden; }
.footer__inner { display: flex; flex-direction: column; gap: 4rem; }
.footer__top { display: grid; grid-template-columns: 1fr .75fr; gap: 114px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6.25rem; }
.footer__col { display: flex; flex-direction: column; gap: 1rem; }
.footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.footer__link { color: var(--line); font-size: 1rem; line-height: 1.5rem; text-decoration: none; transition: all .4s; }
.footer__link:hover { text-decoration: underline; }
.footer__link.is-current { color: #fff; }
.footer__form-wrap { display: flex; flex-direction: column; gap: 1.625rem; width: 100%; max-width: 27rem; }
.footer__form { display: flex; flex-direction: column; gap: 1.25rem; }
.footer__field { position: relative; display: block; }
.footer__field svg { position: absolute; left: 17px; top: 20px; width: 16px; height: 16px; color: #fff; }
.footer__input { width: 100%; min-height: 3.5rem; padding: 1rem 1rem 1rem 2.75rem; border: 1px solid #ffffff26; border-radius: .25rem; background: transparent; color: #fff; font: inherit; font-size: .875rem; line-height: 1.25rem; }
.footer__input::placeholder { color: #ffffff99; }
.footer__submit { display: flex; justify-content: center; align-items: center; gap: .6rem; width: 100%; padding: 1rem; border-radius: .25rem; background: var(--blue); color: #fff; font-size: var(--tm); line-height: var(--tm-lh); font-weight: 500; transition: background-color .2s; }
.footer__submit svg { width: 15px; height: 15px; }
.footer__submit:hover { background: var(--grey); }
.footer__msg { padding: 1.25rem; background: var(--blue); color: #fff; text-align: center; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 7.5rem; width: 100%; padding: 4rem 0; border-top: 1px solid var(--on-black); border-bottom: 1px solid var(--on-black); }
.footer__img { width: 100%; max-width: 580px; aspect-ratio: 555 / 267; border-radius: .25rem; overflow: hidden; }
.footer__brand-wrap { flex: none; width: 465px; container-type: inline-size; }
.footer__brand { color: #fff; font-size: min(9.0625rem, 15.5cqw); line-height: .97; font-weight: 600; letter-spacing: -.01em; }
.footer__social { display: flex; justify-content: space-between; align-items: center; }
.footer__socials { display: flex; align-items: center; gap: 1rem; }
.footer__socials a { display: inline-block; height: 29px; padding: 2.5px; overflow: hidden; color: #fff; text-decoration: none; text-shadow: 0 23px 0 #fff; }
.footer__socials a:hover { text-decoration: underline; }

/* video-dialoog */
.lightbox { width: min(90vw, 880px); padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: #000000e6; }
.lightbox__box { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .75rem; aspect-ratio: 16 / 9; padding: 2rem; border-radius: .5rem; background: #111827; text-align: center; }
.lightbox__close { position: absolute; top: .5rem; right: .75rem; width: 2.5rem; height: 2.5rem; color: #fff; font-size: 2rem; line-height: 1; }

/* animatie-beginstaat: alleen met beweging en JS */
@media (prefers-reduced-motion: no-preference) {
  .js [data-from*="o:0"] { opacity: 0; }
  .js .nav[data-nav] { opacity: 0; }
}

/* ===== 991 px ===== */
@media screen and (max-width: 991px) {
  :root { --sec: 5rem; --sec-b: 5rem; --disp: 7.9rem; --disp-lh: 6.9rem; }
  .nav { z-index: 3; transition: background-color .45s var(--ease) .2s; }
  .nav.is-open { background: #000; transition-delay: 0s; transition-duration: .3s; }
  .nav__inner { position: static; }
  .nav__right { display: none; }
  .nav__burger { display: block; padding: 0; width: 22px; height: 36px; position: relative; }
  .nav__line { position: absolute; left: 0; width: 22px; height: 1.5px; background: #fff; transition: transform .5s var(--ease); }
  .nav__line--1 { top: 11.25px; }
  .nav__line--2 { top: 17.25px; transition-delay: .2s; }
  .nav__line--3 { top: 23.25px; }
  .nav.is-open .nav__line--1 { transform: translateY(5px) rotate(45deg); transition-delay: .2s; }
  .nav.is-open .nav__line--2 { transform: scale(0); transition-delay: 0s; }
  .nav.is-open .nav__line--3 { transform: translateY(-6px) rotate(-45deg); transition-delay: .2s; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 2;
    display: block; padding: 1.25rem 1.875rem; background: #000;
    clip-path: inset(0 0 100% 0); visibility: hidden; transform: translateY(-100%);
    transition: clip-path .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
  }
  .nav.is-open .nav__menu { clip-path: inset(0 0 0 0); visibility: visible; transform: none; transition: clip-path .4s var(--ease), transform .4s var(--ease), visibility 0s; }
  .nav__col { gap: .625rem; margin-bottom: .625rem; }
  .drop__list { position: static; margin-top: .5rem; background: #ffffff14; }

  .hero__intro { max-width: 540px; }
  .hero__lead { width: 35%; }

  .about__top { flex-direction: column; gap: 10px; }
  .about__fill { clip-path: none; }
  .about__mid { flex-direction: column; gap: 2rem; }
  .about__img { max-width: none; }
  .ticker { max-width: 720px; }

  .props__list { gap: 2.75rem; }
  .prop { gap: 1.875rem; }
  .prop__long { width: 28rem; }
  .prop__body { flex-direction: column; }
  .prop__info { width: auto; gap: 2rem; }

  .projects__inner { gap: 3.125rem; }
  .head { flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1.25rem; }
  .head__right { max-width: none; }
  .projects__row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 1.25rem; }
  .pcard-wrap--1, .pcard-wrap--3, .pcard-wrap--4 { margin-top: 0; }
  .pcard__img { width: auto; }
  .pcard__arrow { width: 3.75rem; height: 3.75rem; top: calc(50% - 30px); left: calc(50% - 30px); }

  .head--dark { flex-direction: row; align-items: flex-end; }
  .agents__tabs { flex-direction: column; }
  .agents__menu { flex-direction: row; justify-content: center; margin: 0 0 2.5rem; }
  .agents__thumb { width: 161px; height: 178px; }
  .agent__img { flex: 1 1 auto; min-width: 0; }

  .testi__inner { gap: 3.75rem; }
  .testi__card { flex-wrap: wrap; }
  .testi__img { max-width: none; min-height: 0; }
  .testi__content { max-width: none; gap: 1.875rem; }
  .testi__num-bottom { gap: 1.25rem; }

  .process__inner { gap: 2.75rem; }

  .why__inner { flex-direction: column; gap: 3.125rem; }
  .why__left { max-width: none; }

  .blogs__inner { gap: 2.75rem; }
  .bigpost { flex-direction: column; }
  .bigpost__img { max-width: none; }
  .bigpost__img .zoom-img { aspect-ratio: 672 / 517; }
  .bigpost__body { gap: 1.875rem; }
  .blogs__grid { grid-template-columns: 1fr 1fr; }
  .post { height: 100%; padding: 1.25rem; max-width: none; }
  .post__img .zoom-img { aspect-ratio: 312 / 245; }

  .faq__inner { flex-direction: column; gap: 1.5rem; }
  .faq__left { max-width: none; gap: 2.5rem; }
  .faq__img { width: 100%; }
  .faq__divider { display: none; }

  .footer__top { display: flex; flex-direction: column-reverse; gap: 50px; }
  .footer__form-wrap { max-width: none; }
  .footer__form { width: 400px; }
  .footer__grid { gap: 2.5rem; }
  .footer__bottom { padding: 2.875rem 0; gap: 1.875rem; }
  .footer__brand-wrap { width: 308px; }
  .footer__brand { font-size: min(6rem, 15.5cqw); }
}

/* ===== 767 px ===== */
@media screen and (max-width: 767px) {
  :root { --sec: 4rem; --sec-b: 4rem; --h1: 3.7rem; --h1-lh: 4.2rem; --h2: 2.9rem; --h2-lh: 3.5rem; --disp: 5.7rem; --disp-lh: 6.1rem; }
  .nav { padding: 1.25rem 1.5rem 0; }
  .nav__menu { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero__section { padding-bottom: 3.125rem; }
  .hero__row { flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1.25rem; }
  .hero__lead { width: 100%; }

  .about__inner { gap: 2rem; }
  .about__cards { display: flex; flex-direction: column; }
  .stat-card { gap: 3rem; }
  .ticker { max-width: 520px; }

  .props__inner { gap: 2rem; }
  .head--dark { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .prop__long { width: 22rem; }
  .prop__body { gap: 1.5rem; }

  .projects__inner { gap: 2rem; }
  .projects__row { display: flex; flex-direction: column; }

  .agent { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 30px; }
  .agent__left { width: 100%; }
  .agent__img { max-width: none; width: 100%; }

  .testi__inner { gap: 3.125rem; }
  .testi__content, .testi__num { padding: 1.25rem; }

  .process__inner { gap: 2rem; }
  .pcard2 { gap: 1.875rem; }
  .pcard2__top { margin: 0 .625rem; gap: 1rem; }
  .pcard2__text { gap: .875rem; }
  .process__stack { display: none; }

  .why__inner { gap: 2rem; }
  .why__grid { display: flex; flex-direction: column; }
  .why__card { padding: 1.5rem 1.25rem; gap: 2rem; }

  .blogs__inner { gap: 2rem; }
  .bigpost { padding-left: 1.25rem; padding-right: 1.25rem; }
  .blogs__grid { grid-template-columns: 1fr; }

  .faq__left { gap: 1.25rem; }

  .footer__inner { gap: 2rem; }
  .footer__social { flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1.25rem; }
  .footer__bottom { flex-direction: column; padding: 1.75rem 0; }
  .footer__brand-wrap { width: 100%; }
  .footer__brand { font-size: min(15vw, 15.5cqw); line-height: 100%; }
}

/* ===== 479 px ===== */
@media screen and (max-width: 479px) {
  :root {
    --sec: 3.75rem; --sec-b: 4rem; --gutter: 1rem;
    --h1: 2.6rem; --h1-lh: 3.1rem; --h2: 1.9rem; --h2-lh: 1.8rem; --h3: 1.5rem; --h3-lh: 1.9rem;
    --h4: 1.2rem; --h4-lh: 1.6rem; --h5: 1.1rem; --h5-lh: 1.6rem;
    --tm: 1rem; --tm-lh: 1.4rem; --tl: 1rem; --tl-lh: 1.3rem; --disp: 15vw; --disp-lh: 100%;
  }
  .nav { padding: 1.25rem 1rem .75rem; }
  .nav__inner { align-items: center; }
  .nav__menu { padding-left: 1rem; padding-right: 1rem; }
  .nav__col { gap: .5rem; margin-bottom: .5rem; }
  .btn--primary { padding: .625rem 1.125rem; }
  .hero__buttons { flex-direction: column; justify-content: center; align-items: flex-start; }

  .about__mid { gap: 1.5rem; }
  .stat-card { padding: 1rem; gap: 2rem; }
  .roll { height: 37px; }
  .ticker { max-width: 91vw; }
  .ticker__item { padding: .875rem .75rem; }

  .video__img { height: 70vw; aspect-ratio: auto; }

  .props__inner { gap: 1.5rem; }
  .head__left { gap: .75rem; }
  .prop { gap: 1rem; }
  .prop__imgs { flex-direction: row; }
  .prop__long { width: 100%; max-width: 15rem; height: 190px; flex: 1 1 auto; }
  .prop__small { width: 40%; height: 190px; flex: 1 1 auto; }

  .projects__inner { gap: 1.5rem; }
  .head { gap: 1rem; }
  .projects__row { gap: 2rem; }
  .pcard__bottom { flex-direction: column-reverse; justify-content: space-between; align-items: flex-start; gap: .75rem; }
  .pcard__arrow { display: none; }

  .agents__inner { gap: 2.5rem; }
  .head--dark { gap: 1.25rem; }
  .agents .head__left { gap: .875rem; }
  .agents__tabs { display: none; }
  .agents__mobile { display: flex; flex-direction: column; gap: 1.5rem; }
  .agent__head { width: auto; }
  .agent__social { flex-wrap: wrap; white-space: normal; }

  .testi__inner { gap: 1.5rem; }
  .testi__img img { object-position: 50% 0; }
  .testi__content { padding: 1rem; }
  .testi__bottom { flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 2rem; }
  .testi__quote { display: none; }
  .testi__num { max-width: none; padding: 1rem; }
  .testi__num-bottom { gap: 1rem; }

  .process__inner { gap: 1.5rem; }
  .process__head { text-align: center; }
  .process__wrap { width: 93vw; max-width: none; }
  .process__mask { max-width: 93vw; }
  .pcard2 { padding: 1rem; gap: 1.125rem; }
  .pcard2__text { gap: .75rem; }
  .process__arrow { top: calc(100% + 23px); }
  .process__arrow--prev { left: calc((100% - 111px) / 2); }
  .process__arrow--next { right: auto; left: calc(50px + (100% - 90px) / 2); }
  .process__line { display: none; }

  .why__card { padding: 1.25rem 1rem; gap: 1.25rem; }
  .why__text { gap: .75rem; }

  .blogs__inner { gap: 1.5rem; }
  .bigpost { padding: 1.25rem 1rem; gap: 1.125rem; }
  .bigpost__top { gap: .75rem; }
  .post { padding-left: 1rem; padding-right: 1rem; }
  .post .post__title { font-size: 1.2rem; line-height: 1.9rem; }
  .zoom-arrow { display: none; }

  .faq__inner, .faq__left { gap: 1.125rem; }
  .faq__head { gap: .75rem; }
  .faq__icon { display: none; }
  .faq__item { padding-bottom: 1rem; }
  .faq__a p { width: auto; padding-top: .875rem; }

  .cta__inner { gap: 50px; }
  .cta__top { flex-direction: column; gap: 1.25rem; }
  .cta__bottom { flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1.75rem; }

  .footer__inner { gap: 1.125rem; }
  .footer__top { gap: 31px; }
  .footer__form { width: auto; }
  .footer__submit { padding: .875rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__social { gap: .75rem; }
  .footer__socials { gap: .625rem; flex-wrap: wrap; }
  .footer__bottom { gap: 1rem; }
}

/* ===== minder beweging ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .about__fill { clip-path: none !important; }
}

/* Nagemeten correcties, 23 oktober 2026. Eigen tekst en eigen beelden blijven behouden. */
.about__top { gap: 0; justify-content: space-between; }
.about__top > .t-regular { width: auto; }
.about__lines { flex: none; width: 835.469px; max-width: 100%; }
.agent__social a span { font: inherit; }
.faq__q { min-height: 32px; }
.faq__q button { padding-bottom: 0; }
.faq__item.is-open { min-height: 114.594px; }
.footer__brand { font-size: 145px; line-height: 140px; letter-spacing: normal; transform: scaleX(.5); transform-origin:left center; width:200%; }
.footer__brand span { display:block; }
.nav__menu:focus { outline:none; }
.process__mask { touch-action:pan-y; }
@media(max-width:991px) {
 .about__top { gap:10px; }
 .about__lines { width:100%; }
 .faq__divider { display:block; height:0; }
 .faq__head { max-width:462px; }
 .footer__brand { font-size:96px; line-height:96px; }
}
@media(max-width:479px) {
 .faq__head { max-width:270px; }
 .faq__item.is-open { min-height:145px; }
 .footer__brand { font-size:15vw; line-height:100%; white-space:nowrap; }
 .footer__brand span { display:inline; }
}
html:not(.js) .faq__a {height:auto;visibility:visible;}
html:not(.js) .faq__a p {opacity:1;transform:none;}

.eigen-merk{display:block;width:190px;height:auto;max-width:100%}.nav__brand{max-width:55%}.footer__brand{font-size:clamp(60px,16vw,280px)}

/* Het langere afbouwwoordmerk blijft binnen dezelfde footercompositie. */
@media (min-width: 480px) {
  .footer__brand span:last-child { font-size: .65em; }
}

/* Lay-outronde 29-10-2026 */
/* Afgebakend blok; layout-2026-10-29.py vervangt dit blok bij een nieuwe run. */

/* ---------- Regel 4 en 5: één ritme en één tekstschaal ----------
   Sectieruimte 96 / 64 / 48 px. Kopmaten iets rustiger; regelhoogte lopende tekst >= 1,5. */
:root {
  --sec: 96px; --sec-b: 96px; --kop: 32px;
  --h2: 3rem; --h2-lh: 3.625rem; --h3: 2.25rem; --h3-lh: 2.875rem; --h4: 1.75rem; --h4-lh: 2.25rem;
  --tm-lh: 1.75rem; --tl-lh: 1.875rem; --disp: 9rem; --disp-lh: 110%;
}
@media (max-width: 991px) {
  :root { --sec: 64px; --sec-b: 64px; --kop: 28px; --h2: 2.5rem; --h2-lh: 3.125rem; --h3: 2rem; --h3-lh: 2.625rem; --h4: 1.5rem; --h4-lh: 2rem; --disp: 7.9rem; --disp-lh: 110%; }
}
@media (max-width: 767px) {
  :root { --sec: 48px; --sec-b: 48px; --kop: 24px; --h2: 2.25rem; --h2-lh: 2.75rem; --disp: 5.7rem; }
}
@media (max-width: 479px) {
  :root { --h2: 1.875rem; --h2-lh: 2.375rem; --h3: 1.5rem; --h3-lh: 2rem; --h4: 1.25rem; --h4-lh: 1.75rem; --tm-lh: 1.5rem; --tl-lh: 1.5rem; --disp: 15vw; --disp-lh: 100%; }
}
.roll { height: var(--h2-lh); }
.roll__col > .h2 { line-height: var(--h2-lh); }

/* Vaste afstanden binnen een sectie: kop - lijn - inhoud. */
.about__inner, .props__inner, .projects__inner, .agents__inner, .testi__inner, .blogs__inner { gap: var(--kop); }
.process__inner { gap: 32px; }
.why__inner { gap: 48px; }
.head__left { gap: 12px; }
.process { padding-bottom: 0; }

/* Plaatsvervangende kaders om foto's: geen gekleurde rand meer, de foto vult het vlak. */
.ph { padding: 0; }

/* ---------- Regel 7: logo ---------- */
@media (max-width: 767px) { .nav__brand .eigen-merk { width: auto; height: 22px; } }

/* ---------- Regel 2: beweging alleen transform/opacity, kort ---------- */
.js [data-from*="o:0"] { opacity: 1; }
.hero__scroll-ring, .hero__scroll-arrow { animation-iteration-count: 2; }
.hero__scroll-ring { font-size: 12px; }
.skip-link { top: 1rem; transform: translateY(-5rem); transition: transform .2s; }
.skip-link:focus { transform: none; }
.prop__hover-line { width: 100%; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--out-cubic); }
@media (min-width: 992px) and (hover: hover) {
  .prop:hover .prop__hover-line, .prop:focus-visible .prop__hover-line { width: 100%; transform: scaleX(1); }
}
.footer__link { transition: none; }
@media (max-width: 991px) {
  .nav__menu { clip-path: none; transform: translateY(-8px); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s linear .3s; }
  .nav.is-open .nav__menu { clip-path: none; transform: none; opacity: 1; transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s; }
}

/* ---------- Hero: iets compacter, foto en laag uit de fotoronde blijven ---------- */
.hero__display-wrap { margin-top: 24px; }
.hero__inner { gap: 24px; }
.hero__bottom { gap: 40px; }

/* ---------- Over ons: statisch (geen scroll-gestuurde vulling), compacter ---------- */
.about__fill { clip-path: none !important; }
.about__line > .h3.t-grey { color: var(--black); }
.about__mid { gap: 24px; }
.about__img { height: 216px; }
.stat-card { gap: 24px; justify-content: space-between; }
/* Trefwoorden: geen eindeloze looprij meer; één statische set per rij. */
.ticker__list { animation: none; flex: 0 1 auto; flex-wrap: wrap; justify-content: center; }
.ticker__list[aria-hidden="true"], .ticker__fade { display: none; }
.ticker { gap: 12px; }
.ticker__row, .ticker__row--top, .ticker__row--bottom { justify-content: center; }
.ticker__item { padding: .75rem 1.125rem; }

/* ---------- Beeldband: geen leeg donker vlak meer ----------
   Lagere band; alleen een zachte donkere vlek achter de afspeelknop, de foto blijft zichtbaar. */
.video__img { aspect-ratio: 4 / 1; max-height: 336px; object-position: 50% 35%; }
.video__shade { background-image: radial-gradient(circle at 50% 50%, rgba(5,6,11,.45) 0, rgba(5,6,11,0) 160px), linear-gradient(rgba(5,6,11,.12), rgba(5,6,11,.12)); }

/* ---------- Tegelwerk in beeld: drie studies naast elkaar ---------- */
.props__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prop { gap: 16px; }
.prop__top { gap: 12px; }
.prop__top .h4 { font-size: 1.5rem; line-height: 2rem; }
.prop__body { flex-direction: column; gap: 16px; }
.prop__imgs { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.prop__long, .prop__small { width: auto; max-width: none; height: 190px; flex: none; }
.prop__info { width: auto; gap: 16px; justify-content: flex-start; }
.prop__meta { gap: 12px; }
.prop__chips { flex-wrap: wrap; gap: 8px; }
.prop__line { margin-top: auto; }

/* ---------- Voorbeeldprojecten: vier kaarten in één rij, geen achtergrondwoord onder de kaarten ---------- */
.projects__bgword { display: none; }
.projects__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; overflow: visible; }
.pcard-wrap--1, .pcard-wrap--3, .pcard-wrap--4 { margin-top: 0; }
.pcard { gap: 12px; }
.pcard__img { width: auto; aspect-ratio: 5 / 4; }
.pcard__label { opacity: 1; transform: none; }
.pcard__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 4px; }

/* ---------- Aandachtspunten (herstel 1): geen lege helft meer ----------
   Tekst in een eigen paneel naast het beeld; paneel, beeld en keuzebeelden even hoog. */
.agents__tabs { align-items: stretch; }
.agents__menu { gap: 12px; margin-left: 24px; justify-content: space-between; }
.agents__thumb { width: 112px; height: 92px; }
.agents__panes, .agents__pane, .agents__tabs .agent { height: 100%; }
.agents__tabs .agent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: stretch; }
.agents__tabs .agent__left { justify-content: space-between; gap: 24px; padding: 32px; border: 1px solid var(--on-black); border-radius: .25rem; background: #0d0e12; }
.agents__tabs .agent__head { width: auto; gap: 12px; }
.agents__tabs .agent__social { flex-wrap: wrap; white-space: normal; }
.agents__tabs .agent__img { width: 100%; max-width: none; height: 100%; min-height: 300px; aspect-ratio: auto; }
.agents__tabs .agent__img { position: relative; }
.agents__tabs .agent__img img { position: absolute; inset: 0; }

/* ---------- Eerste verkenning: beeld volgt de kaarthoogte ----------
   Herstel 1: de telkaart is een smalle balk onder de notitie in plaats van een half leeg vlak. */
.testi__card { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; }
.testi__img { grid-row: 1 / span 2; min-height: 0; max-width: none; }
.testi__img img { height: 100%; aspect-ratio: auto; }
.testi__content { max-width: none; gap: 24px; }
.testi__num { max-width: none; padding: 16px 24px; }
.testi__num-bottom { flex-direction: row; align-items: center; gap: 16px; }

/* ---------- Werkwijze: alle vier stappen zichtbaar in een raster (geen schuifregelaar) ---------- */
.process__stack, .process__arrow, .process__line, .process [data-slider-status] { display: none; }
.process__wrap { width: 100%; max-width: 1140px; align-self: stretch; }
.process__mask { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: none; overflow: visible; border-radius: 0; touch-action: auto; }
.process__slide, .process__slide.is-active { grid-area: auto; opacity: 1; visibility: visible; transition: none; }
.pcard2 { gap: 20px; padding: 24px 16px 16px; }
.pcard2__top { margin: 0 8px; gap: 16px; }
.pcard2__text { gap: 8px; }
.pcard2 .h4 { font-size: 1.375rem; line-height: 1.875rem; }
.pcard2__img img { aspect-ratio: 16 / 10; }

/* ---------- Waarom wij: compacte kaarten ---------- */
.why__card { gap: 24px; padding: 24px; }
.why__text { gap: 8px; }

/* ---------- Blog: hoofdartikel naast drie compacte artikelen ---------- */
.bigpost { gap: 32px; }
.bigpost__img { max-width: 500px; }
.bigpost__img .zoom-img { aspect-ratio: 2 / 1; }
.bigpost__body { gap: 24px; }
.blogs__grid { gap: 16px; }
.post { flex-direction: row; align-items: flex-start; gap: 16px; padding: 16px; max-width: none; }
.post__img { flex: 0 0 112px; width: 112px; }
.post__img .zoom-img { aspect-ratio: 1 / 1; }
.post__text { gap: 4px; }
.post .zoom-arrow { width: 3rem; height: 3rem; }

/* ---------- Contact: geen hoge lege ruimte in de fotoband; laag alleen waar tekst staat ---------- */
.cta { background-image: linear-gradient(180deg, rgba(5,6,11,.72) 0%, rgba(5,6,11,.3) 50%, rgba(5,6,11,.78) 100%), url("/templates/haven-tegelwerk/assets/img/haven2-c-avond.webp"); }
.cta__inner { gap: 64px; }

/* ---------- Footer: compacter ---------- */
.footer__inner { gap: 40px; }
.footer__top { gap: 64px; }
.footer__bottom { padding: 32px 0; gap: 48px; }
.footer__img { max-width: 480px; }
/* Herstel 2: geen geplet woordmerk (Manrope met scaleX(.5)) meer. Het echte vector-logo staat op
   ware verhoudingen en groter; het dubbele tekstwoordmerk (aria-hidden) vervalt. */
.footer__brand { display: none; }
.footer__brand-wrap { display: flex; align-items: center; justify-content: flex-start; }
.footer__logo { display: block; width: 100%; max-width: 420px; height: auto; }

/* ===== iPad (768-991 px) ===== */
@media (max-width: 991px) {
  /* Over ons: tekst als lopende alinea, beeld naast de twee kaarten. */
  .about__lines { display: block; }
  .about__line { display: inline; position: static; overflow: visible; }
  .about__line > .h3 { display: inline; }
  .about__line > .h3::after { content: " "; }
  .about__fill { display: none; }
  .about__mid { flex-direction: row; gap: 16px; }
  .about__img { flex: 1 1 50%; max-width: none; height: auto; min-height: 240px; }
  .about__cards { flex: 1 1 50%; display: flex; flex-direction: column; gap: 16px; }

  .video__img { aspect-ratio: 2.6 / 1; }

  /* Trefwoorden (herstel 1): gewone omloop in plaats van een strook met afgesneden woorden. */
  .ticker { max-width: none; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .ticker__row, .ticker__list { display: contents; }

  .prop__top .h4 { font-size: 1.25rem; line-height: 1.75rem; }
  .prop__long, .prop__small { height: 150px; }

  .projects__inner { gap: var(--kop); }
  .projects__row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .pcard__img { width: auto; }
  .pcard__bottom .t-large { font-size: 1rem; line-height: 1.5rem; }

  .head--dark { flex-direction: row; align-items: flex-end; }
  .agents__menu { margin: 0 0 24px; gap: 12px; justify-content: center; }
  .agents__thumb { width: 120px; height: 96px; }
  .agents__panes, .agents__pane, .agents__tabs .agent { height: auto; }
  .agents__tabs .agent { gap: 16px; }
  .agents__tabs .agent__left { padding: 24px; }
  .agents__tabs .agent__img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }

  .testi__card { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; }
  .testi__img { grid-row: auto; max-width: none; }
  .testi__content { max-width: none; gap: 24px; }
  .testi__num { grid-column: 1 / -1; max-width: none; padding: 16px 20px; }
  .testi__num-bottom { flex-direction: row; align-items: center; gap: 16px; }

  /* Werkwijze: veegbare rij. */
  .process__inner { gap: 32px; }
  .process__mask { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; width: auto; max-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter); }
  .process__slide { flex: 0 0 min(340px, 82%); scroll-snap-align: start; }

  .why__inner { gap: 32px; }
  .why__card { gap: 20px; padding: 20px; }

  .blogs__inner { gap: var(--kop); }
  .bigpost { flex-direction: row; gap: 24px; padding: 20px; }
  .bigpost__img { flex: 0 0 46%; max-width: none; }
  .bigpost__img .zoom-img { aspect-ratio: 4 / 3; }
  .bigpost__body { gap: 20px; }
  .blogs__grid { grid-template-columns: 1fr; gap: 12px; }
  .post { height: auto; padding: 16px; }
  .post__img .zoom-img { aspect-ratio: 1 / 1; }

  .faq__inner { flex-direction: row; gap: 32px; }
  .faq__left { flex: 0 0 300px; max-width: 300px; justify-content: flex-start; gap: 24px; }
  .faq__img img { aspect-ratio: 4 / 3; }
  .faq__divider { display: block; height: auto; width: 1px; }
  .faq__head { max-width: none; }

  .cta__inner { gap: 64px; }

  .footer__top { gap: 40px; }
  .footer__bottom { padding: 28px 0; gap: 32px; }
  .footer__logo { max-width: 300px; }
}

/* ===== Mobiel (tot 767 px): lange stapels als rustig raster of veegbare rij ===== */
@media (max-width: 767px) {
  .hero__inner { gap: 16px; }
  .head--dark { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__bottom { gap: 32px; }

  .about__mid { flex-direction: column; }
  .about__img { flex: none; height: 220px; min-height: 0; }
  .about__cards { flex-direction: column; gap: 12px; }
  .stat-card { padding: 16px; gap: 12px; }
  .ticker__item { padding: .5rem .75rem; gap: 6px; font-size: 15px; line-height: 1.5rem; }
  .ticker__item svg { width: 18px; height: 18px; }

  .video__img { height: auto; aspect-ratio: 16 / 9; }

  /* Tegelwerk in beeld: veegbare rij. */
  .props__list { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter); }
  .prop { flex: 0 0 86%; scroll-snap-align: start; }
  .prop__imgs { flex-direction: row; }
  .prop__long, .prop__small { width: auto; max-width: none; height: 170px; flex: none; }

  /* Voorbeeldprojecten: raster van twee bij twee. */
  .projects__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .pcard__label { justify-content: flex-start; }
  .pcard__bottom { gap: 2px; }

  /* Aandachtspunten: veegbare rij met de drie onderwerpen (geen tabbladen op mobiel). */
  .agents__inner { gap: var(--kop); }
  .agents__tabs { display: none; }
  .agents__mobile { display: flex; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter); }
  .agents__mobile .agent { flex: 0 0 84%; scroll-snap-align: start; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 16px; }
  .agents__mobile .agent__img { aspect-ratio: 4 / 3; max-width: none; }
  .agents__mobile .agent__head { width: auto; }
  .agent__social { flex-wrap: wrap; white-space: normal; }

  .testi__card { display: flex; flex-direction: column; gap: 12px; }
  .testi__img img { aspect-ratio: 16 / 10; height: auto; object-position: 50% 30%; }
  .testi__content { padding: 16px; gap: 20px; }
  .testi__bottom { flex-direction: row; align-items: flex-end; gap: 12px; }
  .testi__num { padding: 16px; }

  .process__slide { flex-basis: 84%; }
  .pcard2 { padding: 16px; gap: 16px; }
  .pcard2__top { margin: 0; }

  .why__inner { gap: 24px; }
  .why__grid { display: flex; flex-direction: column; gap: 12px; }
  .why__card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 16px; }
  .why__icon { width: 32px; height: 32px; flex: none; }

  .bigpost { flex-direction: column; gap: 16px; padding: 16px; }
  .bigpost__img { flex: none; }
  .bigpost__img .zoom-img { aspect-ratio: 16 / 10; }
  .bigpost__top { gap: 12px; }
  .post { gap: 12px; padding: 12px; }
  .post__img { flex-basis: 96px; width: 96px; }
  .post .post__title { font-size: 1.0625rem; line-height: 1.5rem; }

  .faq__inner { flex-direction: column; gap: 24px; }
  .faq__left { flex: none; max-width: none; gap: 20px; }
  .faq__img img { aspect-ratio: 16 / 9; }
  .faq__divider { display: none; }

  .cta__inner { gap: 40px; }

  .footer__inner { gap: 28px; }
  .footer__top { gap: 32px; }
  .footer__grid { gap: 24px 16px; }
  .footer__col { gap: 12px; }
  .footer__links { gap: 8px; }
  .footer__bottom { padding: 24px 0; gap: 20px; }
  .footer__img { max-width: none; aspect-ratio: 16 / 7; }
  .footer__logo { max-width: 260px; }
}

/* ===== Regel 2: zonder beweging alles direct zichtbaar en stil ===== */
@media (prefers-reduced-motion: reduce) {
  .js [data-from], .js .nav[data-nav] { opacity: 1 !important; transform: none !important; }
  .nav__menu, .nav.is-open .nav__menu { transition: none; }
}

/* Audit 2026-10-30: prevent the preceding rolling digit's glyph ink from bleeding into the settled cell. */
.roll__col > .h2 { height:var(--h2-lh); flex:none; overflow:hidden; }


/* Materiaal blijft herkenbaar bij interactie; ingetogen projectzoom. */
.hero__title,.h2 { text-wrap:balance; }
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .prop:is(:hover,:focus-visible) .prop__img { transform:scale(1.04); }
}

/* Reviewherstel: reduced motion behoudt ook bij hover/focus de ongeschaalde foto. */
@media(prefers-reduced-motion:reduce) {
 .prop:is(:hover,:focus-visible) .prop__img { transform:none; }
}

/* Mobiele kwaliteitsronde: materiaalbeeld als rustige entree, vragen als leesbare rijen. */
@media(max-width:767px){
 .hero__display-wrap { display:none; }
 .hero__inner { padding-top:36px;gap:0; }
 .hero__bottom { gap:28px; }
 .hero__title { font-size:clamp(36px,10.5vw,46px);line-height:1.08;letter-spacing:-1.4px;max-width:12ch; }
 .hero__intro { gap:28px; }
 .hero__buttons { gap:12px; }
 .hero__row { gap:28px; }
 .hero__lead { max-width:32ch;line-height:1.55; }
 .hero__scroll { display:none; }
 .hero__proof { padding-top:20px;border-top:1px solid #ffffff50;width:100%; }
 .hero__section { padding-bottom:32px; }
 .faq__q button { min-height:60px;padding:14px 0;gap:20px; }
 .faq__q .h5 { font-size:18px;line-height:1.4; }
 .faq__icon { flex-shrink:0; }
 .faq__a p { font-size:16px;line-height:1.6;padding-bottom:18px; }
 .faq__item.is-open { min-height:0; }
 .process__mask { touch-action:auto; }
 .faq__q button:active { color:var(--brand,#2524ff); }
 .concept-bar a,.demo-bar a { white-space:nowrap; }
}

@media(max-width:767px){.topbar{display:flex;flex-wrap:wrap;gap:4px 12px;justify-content:center;text-align:center;padding:8px 16px}.topbar p{flex-basis:100%;line-height:1.4}.topbar a{white-space:nowrap}}
