/* Abdijpagina's: gedeelde bouwstenen van kmo.html, masterclass.html, kantoor.html, monks.html,
   scan en toetreden. Gebruik met body.abdij-eigen. Pagina-eigen regels blijven inline in de pagina. */
:root {
  --nacht: #15100a; --creme: #ede6dc; --creme-zacht: rgba(237, 230, 220, .74);
  --goud: #e9c07a; --inkt: #1c1917; --inkt-zacht: #4a433c; --koper: #8a5522;
  --perkament: #f8f0e5; --perkament-2: #f1e7d8;
  --lijn: rgba(28, 25, 23, .14); --lijn-licht: rgba(237, 230, 220, .18);
  --rand: clamp(20px, 5.2vw, 96px); --breed: 1240px;
  --kop: "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--nacht); color: var(--inkt); font-family: var(--kop); font-size: 19px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--goud); outline-offset: 3px; }
.perkament :focus-visible, .perkament-2 :focus-visible { outline-color: var(--koper); }
h1, h2, h3 { font-family: var(--kop); font-weight: 600; letter-spacing: -.015em; }

.perkament, .perkament-2 { background: var(--perkament) url("licht-venster.webp?v=2") no-repeat right top / min(58vw, 900px) auto; color: var(--inkt); }
.perkament-2 { background-color: var(--perkament-2); }
.nacht { background: var(--nacht); color: var(--creme); }

.deel { --merk: #8a5f1c; --punt: #b98a35; padding: clamp(36px, 4.5vw, 64px) var(--rand) clamp(72px, 9vw, 128px); }
.nacht { --merk: var(--goud); --punt: var(--goud); }
.binnen { max-width: var(--breed); margin-inline: auto; }
.intro { max-width: 900px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.intro > p { max-width: 38em; margin-top: 18px; font-size: 20px; line-height: 1.5; color: var(--inkt-zacht); }
.nacht .intro > p { color: var(--creme-zacht); }
.intro > p.kop-merk {
  display: flex; align-items: center; gap: 18px; max-width: none; margin: 0 0 12px;
  font-size: 17px; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--merk);
}
.kop-merk::before { content: ""; flex: none; width: 48px; height: 2px; background: currentColor; }
.deel h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.02em; }
.nacht h2 { color: #f7efe2; }
.deel h2 span { color: var(--punt); }

.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px;
  border: 1px solid var(--goud); border-radius: 8px; background: var(--goud); color: var(--inkt); cursor: pointer;
  font-family: var(--kop); font-size: 18px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background .2s ease, border-color .2s ease;
}
.knop:hover { background: #f3d39b; border-color: #f3d39b; }
.knop.lijn { background: transparent; border-color: rgba(237, 230, 220, .75); color: var(--creme); }
.knop.lijn:hover { background: rgba(237, 230, 220, .12); border-color: var(--creme); }
.perkament .knop.lijn, .perkament-2 .knop.lijn { border-color: var(--inkt); color: var(--inkt); }
.perkament .knop.lijn:hover, .perkament-2 .knop.lijn:hover { background: var(--inkt); color: var(--creme); }

/* POORT */
.poort { position: relative; isolation: isolate; padding: clamp(36px, 5vw, 68px) var(--rand) clamp(64px, 8vw, 112px); background: var(--nacht); color: var(--creme); }
.poort::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12, 9, 5, .86), rgba(12, 9, 5, .42) 62%, rgba(12, 9, 5, .2)), url("hero-hall.jpg") center 60% / cover no-repeat;
}
.aanloop { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; font-size: 17px; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--goud); }
.aanloop::before { content: ""; flex: none; width: 48px; height: 2px; background: currentColor; }
.poort h1 { max-width: 12em; font-size: clamp(46px, 6vw, 92px); line-height: 1.03; letter-spacing: -.02em; color: #f7efe2; }
.poort h1 span { color: var(--goud); }
.poort-lead { max-width: 30em; margin-top: 24px; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.4; color: #f1e8da; }
.poort-knoppen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* EXPERTISE */
.domeinen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.domein, .functie { padding: 26px 24px 28px; background: rgba(255, 251, 245, .78); border: 1px solid var(--lijn); border-radius: 12px; }
.domein svg, .functie svg { display: block; width: 32px; height: 32px; margin-bottom: 16px; color: #a9772a; }
.domein h3, .functie h3 { font-size: 21px; line-height: 1.2; }
.domein p, .functie p { margin-top: 8px; font-size: 17px; line-height: 1.45; color: var(--inkt-zacht); }

/* AANPAK */
.tweeluik { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.luik { padding: clamp(26px, 3vw, 44px); background: rgba(255, 250, 240, .04); border: 1px solid rgba(233, 192, 122, .28); border-radius: 12px; }
.luik .voor { font-style: italic; color: var(--goud); }
.luik h3 { margin-top: 4px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; color: #f7efe2; }
.luik > p:not(.voor) { margin-top: 14px; color: var(--creme-zacht); }
.luik ul { margin-top: 20px; }
.luik li { padding: 11px 0; border-top: 1px solid var(--lijn-licht); font-size: 18px; line-height: 1.4; }

/* TRAJECT */
.stappen { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.stappen::before { content: ""; position: absolute; top: 25px; left: 26px; right: 12%; height: 1px; background: #c9a56b; }
.stap { position: relative; }
.stap .nummer {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border: 1px solid #b98a35; border-radius: 50%; background: var(--perkament-2); color: var(--koper); font-size: 20px; font-weight: 600;
}
.stap h3 { font-size: 22px; line-height: 1.2; }
.stap p { margin-top: 8px; font-size: 17px; line-height: 1.5; color: var(--inkt-zacht); }

/* PORTAAL */
.functies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.portaal-knop { margin-top: 32px; }

/* BEELD */
.beeld { padding: 0; background: var(--nacht); }
.beeld-rij { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.beeld-rij figure { overflow: hidden; }
.beeld-rij img { width: 100%; height: clamp(220px, 26vw, 420px); object-fit: cover; }

/* INTAKE */
#intake { background: var(--nacht) url("intake/achtergrond.jpg?v=1") left center / cover no-repeat; }
.intake-deel { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 64px); align-items: start; max-width: 1560px; }
.intake-deel .intro { margin-bottom: 0; padding-left: clamp(0px, 3vw, 64px); }
.intake-deel .intro > p:not(.kop-merk) { max-width: 21em; margin-top: 22px; font-size: 22px; line-height: 1.45; }
.intake-adres { display: grid; gap: 14px; margin-top: 30px; font-style: normal; font-size: 19px; line-height: 1.4; color: #f7efe2; }
.intake-adres a { display: inline-flex; align-items: flex-start; gap: 14px; justify-self: start; text-decoration: none; }
.intake-adres a:hover span { color: var(--goud); }
.intake-adres svg { flex: none; width: 24px; height: 24px; margin-top: 1px; color: var(--goud); }
.intake { padding: clamp(22px, 3vw, 54px); background: rgba(16, 13, 10, .82); border: 1px solid rgba(237, 230, 220, .16); border-radius: 14px; }
.intake label { display: block; margin-bottom: 20px; }
.veld { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 18px; font-weight: 600; color: #f7efe2; }
.veld svg { flex: none; width: 24px; height: 24px; color: #efbd63; }
.intake input, .intake textarea {
  display: block; width: 100%; padding: 15px 18px; border: 1px solid rgba(237, 230, 220, .32); border-radius: 8px;
  background: rgba(255, 250, 240, .06); color: var(--creme); font-family: var(--kop); font-size: 17px; line-height: 1.4;
}
.intake textarea { min-height: 142px; resize: vertical; }
.intake ::placeholder { color: rgba(237, 230, 220, .5); opacity: 1; }
.intake input:focus, .intake textarea:focus { outline: 2px solid var(--goud); outline-offset: 0; border-color: var(--goud); }
.intake-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.met-teller { position: relative; }
.teller { position: absolute; right: 26px; bottom: 10px; font-size: 14px; color: rgba(237, 230, 220, .6); pointer-events: none; }
.intake button { gap: 16px; margin-top: 4px; padding: 16px 26px; border: 0; background: linear-gradient(180deg, #f3cf8c, #e3ac55); }
.intake button:hover { background: #f3d39b; }
.intake button svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .domeinen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stappen { grid-template-columns: 1fr; gap: 0; }
  .stappen::before { top: 26px; bottom: 26px; left: 26px; right: auto; width: 1px; height: auto; }
  .stap { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 20px; padding-bottom: 28px; }
  .stap:last-child { padding-bottom: 0; }
  .stap .nummer { grid-row: span 2; margin-bottom: 0; }
  .stap h3 { padding-top: 11px; }
}
@media (max-width: 900px) {
  .deel { padding-block: clamp(44px, 8vw, 64px); }
  .tweeluik, .functies, .intake-deel { grid-template-columns: minmax(0, 1fr); }
  .aanloop, .intro > p.kop-merk { font-size: 14px; }
  .poort::before { background: linear-gradient(180deg, rgba(12, 9, 5, .72), rgba(12, 9, 5, .66)), url("hero-hall.jpg") center 60% / cover no-repeat; }
  .beeld-rij img { height: clamp(150px, 26vw, 240px); }
  #intake { background-image: linear-gradient(rgba(12, 9, 5, .74), rgba(12, 9, 5, .74)), url("intake/achtergrond.jpg?v=1"); }
}
@media (max-width: 620px) {
  .intake-rij { grid-template-columns: minmax(0, 1fr); }
  .poort-knoppen .knop { flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .domeinen { grid-template-columns: minmax(0, 1fr); }
}
