/* Aemstelhorst – onepager. Huisstijl uit het logo. */
:root {
  --blauw: #1D1B58;
  --blauw-2: #2C2A78;
  --goud: #E4A100;
  --goud-donker: #C68B00;
  --zand: #EACA92;
  --zand-licht: #FBF6EC;
  --tekst: #2B2B3A;
  --grijs: #6B6B7B;
  --rand: #E7E3DA;
  --wit: #fff;
  --radius: 18px;
  --schaduw: 0 10px 30px rgba(29, 27, 88, .08);
  --kop-hoogte: 150px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kop-hoogte) + 12px); }
body { margin: 0; font: 17px/1.65 'Lato', system-ui, sans-serif; color: var(--tekst); background: var(--wit); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blauw-2); }
h1, h2, h3 { font-family: 'Work Sans', system-ui, sans-serif; color: var(--blauw); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 1000; background: #fff; padding: 8px 12px; }

/* ---------- knoppen */
.knop {
  display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.6em; border-radius: 999px; border: 2px solid var(--goud);
  background: var(--goud); color: var(--blauw); font: 600 1rem/1 'Work Sans', sans-serif; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(228, 161, 0, .28); transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.knop svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.knop:hover { transform: translateY(-2px); background: var(--goud-donker); border-color: var(--goud-donker); box-shadow: 0 10px 24px rgba(228, 161, 0, .35); }
.knop:hover svg { transform: translateX(3px); }
.knop:focus-visible, .portaal:focus-visible, .menu a:focus-visible { outline: 3px solid var(--blauw-2); outline-offset: 3px; }
.knop-rand { background: transparent; border-color: var(--blauw); color: var(--blauw); box-shadow: none; }
.knop-rand:hover { background: var(--blauw); border-color: var(--blauw); color: #fff; box-shadow: 0 8px 20px rgba(29, 27, 88, .2); }
.knop-licht { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); color: #fff; box-shadow: none; backdrop-filter: blur(4px); }
.knop-licht:hover { background: #fff; border-color: #fff; color: var(--blauw); }
.knop-klein { padding: .6em 1.15em; font-size: .9rem; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.knoppen.midden { justify-content: center; }

/* ---------- kop en menu */
.kop { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.kop.gescrold { border-color: var(--rand); box-shadow: 0 4px 20px rgba(29, 27, 88, .06); }
.kop-binnen { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: var(--kop-hoogte); display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 124px; width: auto; }
.menu { display: flex; align-items: center; gap: 6px; }
.menu a:not(.knop) { color: var(--blauw); text-decoration: none; font: 600 .98rem 'Work Sans', sans-serif; padding: .5em .8em; border-radius: 999px; transition: background .15s; }
.menu a:not(.knop):hover, .menu a.actief { background: var(--zand-licht); }
.menu .knop { margin-left: 8px; }
.menu-knop { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-knop span { display: block; height: 2px; background: var(--blauw); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- secties */
.binnen { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.binnen.smal { max-width: 820px; }
.sectie { padding: clamp(64px, 9vw, 120px) 0; }
.sectie-zand { background: var(--zand-licht); }
.sectie-donker { background: linear-gradient(135deg, var(--blauw) 0%, var(--blauw-2) 100%); color: #E9E8F5; }
.sectie-donker h2 { color: #fff; }
.sectie-kop { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sectie-kop .intro { color: var(--grijs); font-size: 1.08rem; }
.sectie-donker .sectie-kop .intro { color: #CFCDEA; }
.label { display: inline-block; font: 700 .78rem/1 'Work Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--goud-donker); background: rgba(228, 161, 0, .12); padding: .55em 1em; border-radius: 999px; margin-bottom: 1em; }
.label-licht { color: var(--zand); background: rgba(234, 202, 146, .16); }
.twee { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.twee.midden { align-items: center; }
.foto { border-radius: var(--radius); box-shadow: var(--schaduw); width: 100%; object-fit: cover; }

/* ---------- hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: #fff;
  background: linear-gradient(100deg, rgba(29, 27, 88, .94) 0%, rgba(29, 27, 88, .78) 45%, rgba(29, 27, 88, .25) 100%), var(--achtergrond) center/cover no-repeat; }
.hero-binnen { max-width: 1240px; width: 100%; margin: 0 auto; padding: 80px 24px; }
.hero h1 { color: #fff; max-width: 14em; }
.hero-tekst { max-width: 36em; font-size: 1.12rem; color: #E6E5F3; }

/* ---------- intro (eerste blok: tekst links, foto in de ring rechts) */
.intro { overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); }
.intro-binnen { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 18px; margin: 0 0 1.2em; font: 600 1.15rem/1 'Work Sans', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #6B6B6B; }
.kicker::after { content: ''; width: 64px; height: 3px; border-radius: 2px; background: currentColor; opacity: .75; }
.intro h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: .55em; }
.kicker-onder { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 1.05rem; }
.kicker-onder::after { width: 56px; }
.video-sectie { padding-top: clamp(24px, 4vw, 48px); }
.video-sectie h2 { font-weight: 600; font-size: clamp(2rem, 3.8vw, 3rem); }
.intro-alinea { font-size: 1.08rem; color: #3A3A48; max-width: 34em; letter-spacing: .01em; }
.intro-beeld { margin-right: calc(-1 * max(24px, (100vw - 1240px) / 2 + 24px)); }
.intro-beeld img { width: 100%; height: auto; }

/* ---------- kaarten */
.kaart { background: #fff; border-radius: var(--radius); box-shadow: var(--schaduw); overflow: hidden; border: 1px solid var(--rand); }
.kaart-inhoud { padding: 28px 30px 32px; }
.dienst > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* uitklappers */
.uitklap { margin-top: 1.2em; border-top: 1px solid var(--rand); }
.uitklap details { border-bottom: 1px solid var(--rand); }
.uitklap summary { list-style: none; cursor: pointer; padding: 1em 2.2em 1em 0; position: relative; font: 600 1.02rem/1.4 'Work Sans', sans-serif; color: var(--blauw); }
.uitklap summary::-webkit-details-marker { display: none; }
.uitklap summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--goud-donker); border-bottom: 2px solid var(--goud-donker); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.uitklap details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.uitklap-tekst { padding: 0 0 1.2em; color: var(--tekst); }

/* video en kaart (laden pas na klik: geen cookies vooraf) */
.video, .kaart-plek { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw); background: var(--blauw); }
.kaart-plek { aspect-ratio: 4 / 3; }
.video iframe, .kaart-plek iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-start, .kaart-start { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(rgba(29, 27, 88, .45), rgba(29, 27, 88, .65)), var(--achtergrond) center/cover; color: #fff; }
.video-start { background: linear-gradient(rgba(29, 27, 88, .05), rgba(29, 27, 88, .35)), var(--achtergrond) center/cover; }
.video-start .video-melding { position: absolute; bottom: 14px; background: rgba(29, 27, 88, .7); padding: 6px 12px; border-radius: 999px; }
.play { width: 84px; height: 84px; border-radius: 50%; background: var(--goud); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s; }
.play svg { width: 34px; fill: var(--blauw); margin-left: 4px; }
.video-start:hover .play { transform: scale(1.08); }
.video-melding { font-size: .85rem; opacity: .85; }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.lid { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rand); transition: transform .2s, box-shadow .2s; }
.lid:hover { transform: translateY(-4px); box-shadow: var(--schaduw); }
.lid img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.lid-info { padding: 18px 20px 22px; }
.lid-info h3 { margin-bottom: .2em; }
.lid-info p { color: var(--grijs); font-size: .95rem; min-height: 1.5em; }
.vacature { background: var(--blauw); border-color: var(--blauw); color: #E9E8F5; display: flex; align-items: center; }
.vacature h3 { color: #fff; }
.vacature .lid-info p { color: #CFCDEA; }

/* nieuws */
.nieuws { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.bericht { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.bericht:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(29, 27, 88, .12); }
.bericht img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.bericht time, .pagina time { font-size: .85rem; color: var(--goud-donker); font-weight: 700; letter-spacing: .03em; }
.bericht h3 { margin: .35em 0 .8em; font-size: 1.12rem; }
.lees { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; color: var(--blauw-2); font-weight: 700; }
.lees svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.4; }
.bericht.verborgen { display: none; }
.info { display: grid; grid-template-columns: 320px 1fr; margin-top: 56px; }
.info > img { width: 100%; height: 100%; object-fit: cover; }
.themas { margin-top: 1em; padding: 1em 1.2em; background: var(--zand-licht); border-radius: 12px; }

/* inloggen */
.portalen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.portaal { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 26px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--rand); border-left: 4px solid var(--goud); color: var(--blauw); text-decoration: none; box-shadow: var(--schaduw);
  font: 600 1.12rem 'Work Sans', sans-serif; transition: background .2s, transform .2s, border-color .2s, box-shadow .2s, color .2s; }
.portaal svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--goud-donker); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s, stroke .2s; }
.portaal:hover { background: var(--blauw); border-color: var(--blauw); border-left-color: var(--goud); color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(29, 27, 88, .18); }
.portaal:hover svg { stroke: var(--zand); transform: translate(3px, -3px); }

/* contact */
.contact-blokken { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.contact-blok { background: var(--zand-licht); border-radius: 14px; padding: 20px 22px; font-size: .95rem; }
.contact-blok h3 { font-size: 1rem; }

/* losse pagina's en berichten */
.pagina { padding: clamp(48px, 7vw, 96px) 0; }
.pagina h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: .3em; }
.pagina .foto { margin: 28px 0; }
.artikel { font-size: 1.06rem; }
.artikel h3, .artikel h4 { margin-top: 1.6em; }
.terug { color: var(--grijs); text-decoration: none; font-weight: 700; }
.terug:hover { color: var(--blauw); }

/* footer */
.voet { background: var(--blauw); color: #CFCDEA; padding: clamp(56px, 7vw, 88px) 24px 24px; font-size: 1rem; }
.voet a { color: #fff; text-decoration: none; }
.voet a:hover { color: var(--zand); }
.voet-cta { scroll-margin-top: calc(var(--kop-hoogte) + 24px); max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 128px 1fr; gap: 48px; align-items: center; padding-bottom: clamp(56px, 7vw, 96px); }
.voet-cta-foto { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 2px solid var(--zand); }
.voet-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 1em; font: 600 .8rem/1 'Work Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--zand); }
.voet-kicker::before { content: ""; width: 28px; height: 2px; background: var(--goud); }
.voet-cta h2 { max-width: 780px; margin: 0 0 .5em; color: #fff; font: 400 clamp(1.8rem, 3.6vw, 3rem)/1.15 Georgia, 'Times New Roman', serif; }
.voet-cta-tekst { max-width: 720px; margin: 0; color: #DCDAF0; }
.voet-knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.voet-knop { display: inline-flex; align-items: center; gap: .6em; padding: .8em 1.5em; border: 2px solid var(--zand); border-radius: 3px; background: var(--zand); color: var(--blauw) !important; font: 600 1rem/1 'Work Sans', sans-serif; transition: background .18s, color .18s, border-color .18s; }
.voet-knop:hover { background: #fff; border-color: #fff; }
.voet-knop-rand { background: transparent; border-color: #fff; color: #fff !important; }
.voet-knop-rand:hover { background: #fff; color: var(--blauw) !important; }
.voet-knop svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.voet-binnen { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.15fr 1.15fr; gap: 40px; }
.voet h3 { margin: 0 0 1.4em; font: 700 .8rem/1 'Work Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--zand); }
.voet h3:not(:first-child) { margin-top: 2.2em; }
.voet-merk img { height: 48px; width: auto; margin-bottom: 22px; }
.voet-merk p { margin: 0 0 1.4em; color: #DCDAF0; }
.voet-klein { font-size: .88rem; line-height: 1.6; color: #CFCDEA; }
.voet-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.voet-vet a { font-weight: 700; }
.voet-links .uit { width: .75em; height: .75em; margin-left: .25em; vertical-align: -.02em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.voet-binnen .voet-klein { margin-top: 1.8em; }
.copy { max-width: 1240px; margin: 56px auto 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
@media (max-width: 960px) { .voet-binnen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .voet-cta { grid-template-columns: 1fr; gap: 24px; }
  .voet-cta-foto { width: 96px; height: 96px; }
  .voet-binnen { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- mobiel */
@media (max-width: 960px) {
  :root { --kop-hoogte: 104px; }
  .logo img { height: 80px; max-width: calc(100vw - 110px); object-fit: contain; }
  .twee, .info, .contact-blokken, .intro-binnen { grid-template-columns: 1fr; }
  .intro-beeld { margin-right: -24px; max-width: 640px; justify-self: end; }
  .info > img { max-height: 260px; }
  .menu-knop { display: block; }
  .menu { position: fixed; inset: var(--kop-hoogte) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 24px 24px;
    background: #fff; border-bottom: 1px solid var(--rand); box-shadow: 0 16px 30px rgba(29, 27, 88, .1); transform: translateY(-120%); transition: transform .25s ease; }
  .menu.open { transform: none; }
  .menu a:not(.knop) { padding: .8em 1em; }
  .menu .knop { margin: 8px 0 0; justify-content: center; }
  .menu-knop[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-knop[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-knop[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
