/* MULTIpass demo-formulier – docs.custommaterecreatie.eu */

/* Lettertype Inter (zelf gehost, Latijnse tekens) – gelijk aan appelhof.prebooking.net */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Basis */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: inherit; }
sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; top: -.5em; }

:root {
  --yellow: #ffc400;
  --charcoal: #252525;
  --ink: #181818;
  --muted: #5a5548;
}

html { background: #f7edca; min-height: 100%; }
body {
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, #fffffff2, #0000 31rem),
    linear-gradient(135deg, #fff9e6 0%, #f8e7a9 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

/* Schuifbalk van de pagina in huisstijl: geel op donkergrijs, zoals de kop.
   scrollbar-color: Chrome, Edge en Firefox; ::-webkit-scrollbar: Safari en
   oudere Chrome/Edge. (Telefoons tonen hun eigen, verdwijnende schuifbalk.) */
html { scrollbar-color: #ffd539 #333; }
body { scrollbar-color: auto; }   /* tekstvakken en de inhoudsopgave houden een gewone schuifbalk */
html::-webkit-scrollbar { width: 14px; height: 14px; background: #333; }
html::-webkit-scrollbar-thumb { background: #ffd539; border: 3px solid #333; border-radius: 99px; }
html::-webkit-scrollbar-thumb:hover { background: #ffe27a; }
.inhoud { scrollbar-width: thin; scrollbar-color: #e1c25a transparent; }

/* Kop */
/* Kop gelijk aan custommaterecreatie.eu: grijze balk van 100px + gele SVG-balk met vouw */
/* De kop blijft bovenaan staan; de inhoud schuift eronder door.
   --kop-hoogte (hoogte van de kop) wordt gemeten in inc/kop.php en gebruikt
   voor de inhoudsopgave en ankerlinks, zodat die niet onder de kop vallen. */
:root { --kop-hoogte: 140px; }
.brand-header { position: sticky; top: 0; z-index: 100; }
.brand-bar { background: #333; color: #ffd34d; }
.header-line { display: block; width: 100%; height: 40px; pointer-events: none; }
.header-line path { pointer-events: visiblePainted; }   /* klikken door het lege deel onder de "vouw" heen */
html { scroll-padding-top: calc(var(--kop-hoogte) + 12px); }
/* Donkere balk over de volle breedte: titel links, menu ernaast, logo rechts
   (op smallere schermen komt het menu op een tweede regel in de balk, zie
   "Hoofdmenu" verderop) */
.brand-inner {
  display: flex; align-items: center; gap: 10px 32px;
  min-height: 100px; padding-inline: clamp(14px, 2.2vw, 40px);
}
/* MULTIpass-logo: zelfde bestand, plek en maat als op docs.custommate.eu
   (139 x 20 px, 20 px van boven, 12-28 px van links). Staat los van het menu. */
.brand-inner { position: relative; }
.brand-home { position: absolute; top: 20px; left: clamp(12px, 2.6vw, 28px); line-height: 0; }
.mp-logo { display: block; width: 139px; height: 20px; }
.brand-logo { flex: none; margin-left: auto; object-fit: contain; width: 180px; height: auto; }   /* zelfde logo en maat als custommaterecreatie.eu */

/* Inhoud */
.page-shell {
  display: grid; grid-template-columns: 1fr minmax(360px, .82fr); align-items: center;
  gap: clamp(42px, 8vw, 92px);
  width: min(1120px, 100% - 40px); margin: 0 auto; padding: clamp(52px, 8vw, 96px) 0;
}
.eyebrow { letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; font-size: .78rem; font-weight: 800; }
h1 { letter-spacing: -.055em; max-width: 650px; margin: 0; font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .98; font-weight: 400; }
.lead { color: #403c33; max-width: 650px; margin: 28px 0; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.6; }
.benefits { display: grid; gap: 14px; margin: 32px 0; padding: 0; font-size: 1.05rem; font-weight: 700; }
/* Vinkje in een eigen kolom: loopt de tekst door naar een volgende regel (bv. bij
   een groot lettertype op de telefoon), dan begint die onder de eerste letter. */
.benefits li { display: grid; grid-template-columns: auto 1fr; column-gap: .6em; align-items: start; }
.benefits span {
  display: grid; place-items: center; width: 1.5em; height: 1.5em;   /* = regelhoogte, groeit mee met de tekst */
  background: var(--yellow); border-radius: 50%;
}
.contact-note { max-width: 580px; color: var(--muted); border-top: 1px solid #0000002e; padding-top: 24px; line-height: 1.6; }

/* Formulierkaart */
.form-card {
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  background: #ffffffdb; border: 1px solid #00000029; border-radius: 26px;
  min-height: 590px; padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 24px 70px #3429002e;
}
.form-card h2 { letter-spacing: -.03em; margin: 0; font-size: 2rem; font-weight: 400; }
.form-intro { color: var(--muted); margin: 8px 0 28px; font-size: .9rem; }
form { display: grid; gap: 19px; }
label { display: grid; gap: 8px; font-size: .92rem; font-weight: 700; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 50px; color: var(--ink); font: inherit; font-weight: 400;
  background: #fff; border: 1px solid #aaa28c; border-radius: 9px; outline: none; padding: 11px 14px;
  transition: border-color .18s, box-shadow .18s;
}
input:focus, select:focus, textarea:focus { border-color: #9b7100; box-shadow: 0 0 0 3px #ffc4004d; }
/* Extra informatie: groot tekstvak, alleen in de hoogte te vergroten */
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
textarea::placeholder { color: #8a8372; }
.optioneel { font-weight: 400; color: var(--muted); }
.consent {
  grid-template-columns: 20px 1fr; align-items: start; gap: 11px;
  color: #514b3f; font-size: .78rem; font-weight: 400; line-height: 1.45;
}
.consent input { accent-color: #dca900; width: 18px; height: 18px; margin: 1px 0 0; }
/* Knoppen gelijk aan de "Volgende"-knop op appelhof.prebooking.net */
.submit-button, .secondary-button {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 46px; padding: 8px;
  background: #333; color: #ffd539;
  border: 1px solid rgba(250, 250, 250, .15); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  font-family: Inter, Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px; font-weight: 600; line-height: 28px; letter-spacing: normal; text-transform: none;
  cursor: pointer;
  transition: transform .15s cubic-bezier(.22, 1, .36, 1), background-color .15s cubic-bezier(.22, 1, .36, 1),
              color .15s cubic-bezier(.22, 1, .36, 1), box-shadow .15s cubic-bezier(.22, 1, .36, 1);
}
.submit-button:hover, .secondary-button:hover { background: #ffd539; color: #1f1f1f; transform: translateY(-1px); }
.submit-button:active, .secondary-button:active { transform: scale(.97); }
.submit-button:focus-visible, .secondary-button:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px hsl(48 100% 61%); }
.secondary-button { display: inline-flex; width: auto; margin-top: 12px; padding: 8px 24px; }
@media (prefers-reduced-motion: reduce) {
  .submit-button:hover, .secondary-button:hover, .submit-button:active, .secondary-button:active { transform: none; }
}

/* Meldingen */
.error { color: #8b2017; background: #ffe0da; border-radius: 8px; margin: 0; padding: 12px; font-size: .85rem; line-height: 1.45; }
.error ul { list-style: disc; padding-left: 18px; margin-top: 4px; }
.error a { color: inherit; font-weight: 700; text-decoration: underline; }
.success { display: grid; place-content: center; justify-items: center; gap: 16px; min-height: 490px; text-align: center; }
.success-icon {
  display: grid; place-items: center; width: 72px; height: 72px;
  background: var(--yellow); border-radius: 50%; font-size: 2.5rem; font-weight: 900;
}
.success h2, .success p { margin: 0; }
.success p { max-width: 360px; color: var(--muted); line-height: 1.6; }

/* Verborgen veld tegen spam-robots */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Voet */
footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  background: var(--charcoal); color: #fff; padding: 24px 20px; font-size: .85rem;
}
footer a { color: #ffd34d; text-decoration: none; }
.footer-phone { display: inline-flex; align-items: center; gap: 7px; }
.footer-phone span { display: inline-grid; place-items: center; min-width: 16px; color: #ffd34d; font-size: 1rem; font-weight: 800; }
.mobile-icon { color: #ffd34d; flex: none; width: 16px; height: 18px; }

@media (max-width: 820px) {
  .brand-inner { min-height: 96px; }
  .page-shell { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 64px; }
  .form-card { min-height: 0; }
}
@media (max-width: 480px) {
  .page-shell { width: min(100% - 28px, 1120px); }
  .brand-logo { width: 130px; }
  .form-card { border-radius: 18px; padding: 24px 19px; }
  footer { flex-direction: column; align-items: center; gap: 9px; }
}

/* =====================================================================
   Knop naar de uitleg (formulierpagina) en de uitlegpagina /abonnement
   ===================================================================== */

.nowrap { white-space: nowrap; }   /* bv. "RASC-abonnement" niet afbreken op het streepje */

/* Logo/titel in de kop linkt naar het formulier */
.brand-home { display: block; }
.brand-home:focus-visible { outline: 2px solid #ffd539; outline-offset: 4px; border-radius: 4px; }

/* Knop "Hoe werkt het RASC-abonnement?" */
.info-link {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  max-width: 580px; margin: 0 0 28px; padding: 14px 18px;
  background: #ffffffb8; border: 1px solid #0000001f; border-radius: 16px;
  box-shadow: 0 8px 24px #3429001a;
  transition: background-color .15s, border-color .15s, transform .15s cubic-bezier(.22, 1, .36, 1);
}
.info-link:hover { background: #fff; border-color: #c99a00; transform: translateY(-1px); }
.info-link:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px hsl(48 100% 61%); }
.info-icon {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: #333; color: #ffd539; border-radius: 50%;
  font: italic 700 1.25rem/1 Georgia, "Times New Roman", serif;
}
.info-tekst { display: grid; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.info-tekst strong { color: var(--ink); font-size: 1rem; }
.info-pijl { font-size: 1.3rem; transition: transform .15s cubic-bezier(.22, 1, .36, 1); }
.info-link:hover .info-pijl { transform: translateX(3px); }

/* ---- Uitlegpagina ---- */
.uitleg { width: min(1120px, 100% - 40px); margin: 0 auto; padding: 28px 0 72px; }
.terug-link { display: inline-flex; gap: 8px; color: #514b3f; font-size: .92rem; font-weight: 700; padding: 6px 0; }
.terug-link:hover { color: var(--ink); text-decoration: underline; }

.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.uitleg-hero {
  display: grid; grid-template-columns: 1fr minmax(300px, .6fr); align-items: end;
  gap: clamp(32px, 6vw, 72px); padding: 28px 0 44px;
}
.uitleg-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.uitleg-hero .lead { margin-bottom: 0; }
.kort { background: #333; color: #fff; border-radius: 22px; padding: 26px 26px 22px; box-shadow: 0 24px 60px #34290033; }
.kort h2 { color: #ffd539; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.kort ul { display: grid; gap: 14px; }
.kort li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .95rem; line-height: 1.45; }
.kort .ico { color: #ffd539; }

.blok {
  position: relative; margin-top: 24px; padding: clamp(24px, 4.5vw, 48px);
  background: #ffffffdb; border: 1px solid #00000024; border-radius: 26px;
  box-shadow: 0 18px 50px #34290014;
}
.blok-nr {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
  background: var(--yellow); border-radius: 50%; font-weight: 800;
}
.blok h2 { letter-spacing: -.03em; margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.15; }
.blok p { line-height: 1.6; }
.blok-intro { max-width: 760px; color: #403c33; font-size: 1.08rem; margin-bottom: 28px; }

/* Schema: producten -> verbinding -> server */
.schema {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, .6fr) minmax(0, 1.1fr);
  align-items: center; margin: 8px 0 32px;
}
.schema-producten { display: grid; gap: 12px; }
.product {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: #fff; border: 1px solid #e6dcbc; border-radius: 14px;
}
.product .ico { width: 30px; height: 30px; color: #9b7100; }
.product span { display: grid; color: var(--muted); font-size: .86rem; line-height: 1.35; }
.product strong { color: var(--ink); font-size: 1rem; }
.schema-lijn { position: relative; display: grid; place-items: center; align-self: stretch; min-height: 64px; }
.schema-lijn::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 3px dashed #c99a00; }
.schema-lijn span {
  position: relative; max-width: 150px; padding: 5px 11px;
  background: #fff7dc; border: 1px solid #ecd994; border-radius: 99px;
  color: #5a4a12; font-size: .74rem; font-weight: 700; line-height: 1.3; text-align: center;
}
.schema-server { background: #333; color: #fff; border-radius: 20px; padding: 24px 26px; box-shadow: 0 18px 44px #3429002e; }
.ico-groot { width: 40px; height: 40px; color: #ffd539; }
.server-naam { color: #ffd539; font-size: 1.35rem; font-weight: 800; margin-top: 10px; }
.server-plaats { color: #cfcfcf; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.schema-server ul { display: grid; gap: 7px; margin-top: 16px; font-size: .93rem; }
.schema-server li { position: relative; padding-left: 18px; }
.schema-server li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: #ffd539; border-radius: 50%; }

.twee-kolom { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; color: #403c33; }

/* Voordelen: 3 + 2 kaarten */
.kaarten { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 22px; }
.kaarten li { grid-column: span 2; background: #fff; border: 1px solid #ece3c6; border-radius: 18px; padding: 22px; }
.kaarten li:nth-child(n+4) { grid-column: span 3; }
.kaarten .ico { width: 40px; height: 40px; padding: 8px; background: #ffd539; border-radius: 11px; color: #252525; stroke-width: 2; }
.kaarten h3 { margin: 14px 0 6px; font-size: 1.05rem; }
.kaarten p { color: var(--muted); font-size: .93rem; }

/* Wat geregeld is */
.geregeld { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.geregeld li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid #ece3c6; border-radius: 14px; font-weight: 700; line-height: 1.4; }
.geregeld .ico { width: 28px; height: 28px; color: #9b7100; }
.gedeeld {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; padding: 18px 20px;
  background: #fff4cc; border-left: 5px solid var(--yellow); border-radius: 12px; color: #403c33;
}
.gedeeld .ico { width: 28px; height: 28px; color: #9b7100; }
.sub-kop { margin: 36px 0 6px; font-size: 1.25rem; }
.uren { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; margin: 16px 0 12px; }
.uur { background: #333; color: #e6e6e6; border-radius: 18px; padding: 20px 22px; }
.blok .uur-getal { color: #ffd539; font-size: 2.6rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.uur-getal small { color: #fff; font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.uur-soort { margin-top: 8px; font-size: .93rem; }
.uur-soort strong { color: #fff; }
.voetnoot { color: var(--muted); font-size: .82rem; }

/* Facturering: tijdlijn */
.tijdlijn { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.tijdlijn li { position: relative; padding-right: 22px; }
.tijdlijn li::before { content: ""; position: absolute; left: 44px; right: 0; top: 21px; border-top: 3px solid #e8d48a; }
.tijdlijn li:last-child::before { display: none; }
.stap {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--yellow); border-radius: 50%; font-size: 1.1rem; font-weight: 800;
}
.tijdlijn h3 { margin: 14px 0 6px; font-size: 1.08rem; }
.tijdlijn p { color: var(--muted); font-size: .95rem; }

/* Condities */
.condities { border-top: 1px solid #0000001a; }
.condities > div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid #0000001a; }
.condities dt { font-weight: 800; }
.condities dd { color: #403c33; line-height: 1.6; }
.akkoord { margin-top: 22px; padding: 14px 18px; background: #f6f0dc; border-radius: 12px; color: #514b3f; font-size: .92rem; }

/* Afsluiting */
.uitleg-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 24px; padding: clamp(24px, 4vw, 40px);
  background: #333; color: #ddd; border-radius: 26px;
}
.uitleg-cta h2 { color: #ffd539; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; }
.uitleg-cta p { margin-top: 6px; }
.cta-knop { flex: none; width: auto; padding: 8px 34px; background: #ffd539; color: #1f1f1f; }
.cta-knop:hover { background: #fff; color: #1f1f1f; }

@media (max-width: 900px) {
  .uitleg-hero { grid-template-columns: 1fr; align-items: start; padding-bottom: 32px; }
  .kaarten { grid-template-columns: repeat(2, 1fr); }
  .kaarten li, .kaarten li:nth-child(n+4) { grid-column: span 1; }
  .kaarten li:last-child { grid-column: span 2; }
  .geregeld { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .schema { grid-template-columns: 1fr; }
  .schema-lijn { min-height: 76px; }
  .schema-lijn::before { left: 50%; right: auto; top: 4px; bottom: 4px; border-top: 0; border-left: 3px dashed #c99a00; }
  .twee-kolom { grid-template-columns: 1fr; gap: 14px; }
  .tijdlijn { grid-template-columns: 1fr; }
  .tijdlijn li { padding: 0 0 24px 62px; min-height: 44px; }
  .tijdlijn li:last-child { padding-bottom: 0; }
  .tijdlijn li::before { left: 21px; right: auto; top: 44px; bottom: 0; border-top: 0; border-left: 3px solid #e8d48a; }
  .tijdlijn .stap { position: absolute; left: 0; top: 0; }
  .tijdlijn h3 { margin-top: 10px; }
  .condities > div { grid-template-columns: 1fr; gap: 4px; }
  .uitleg-cta { flex-direction: column; align-items: stretch; }
  .cta-knop { width: 100%; }
}
@media (max-width: 560px) {
  .kaarten { grid-template-columns: 1fr; }
  .kaarten li:last-child { grid-column: span 1; }
  .uren { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .uitleg { width: min(100% - 28px, 1120px); padding-top: 18px; }
  .uitleg-hero h1 { font-size: 2.15rem; }   /* "Het RASC-abonnement" op één regel */
  .blok, .uitleg-cta { border-radius: 18px; }
  .blok { padding: 24px 18px; }
  .info-link { padding: 12px 14px; gap: 12px; }
}

/* =====================================================================
   Klantenportaal: menu, overzichtspagina en aanlegadvies
   ===================================================================== */

/* ---- Hoofdmenu (in de donkere balk, op elke pagina) ---- */
/* Menu op dezelfde plek als toen "MULTIpass®" nog als tekst links in de balk
   stond (tekstbreedte = 6,52 x de lettergrootte van toen, plus 32px ruimte) */
.hoofdmenu { flex: 1 1 auto; min-width: 0; margin-left: calc(clamp(1.5rem, 2.4vw, 2.1rem) * 6.52 + 32px); }
.hoofdmenu ul { display: flex; flex-wrap: wrap; gap: 4px; }
.hoofdmenu a {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 15px;
  border: 1.5px solid transparent; border-radius: 99px;
  color: #e6e6e6; font-size: .9rem; font-weight: 700; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.hoofdmenu a:hover { background: #ffffff1a; color: #fff; }
.hoofdmenu a.actief { background: #ffd539; color: #252525; }
.hoofdmenu a.menu-demo { border-color: #ffd539; color: #ffd539; }
.hoofdmenu a.menu-demo:hover, .hoofdmenu a.menu-demo.actief { background: #ffd539; color: #252525; }
.hoofdmenu a:focus-visible { outline: none; box-shadow: 0 0 0 2px #333, 0 0 0 4px #ffd539; }
.extern-teken { font-size: .85em; opacity: .7; }

/* Past het menu niet meer naast titel en logo: tweede regel in de donkere balk */
@media (max-width: 1180px) {
  .brand-inner { flex-wrap: wrap; min-height: 0; padding-block: 12px 10px; }
  .brand-logo { width: 140px; }     /* vaste kop niet te hoog */
  .header-line { height: 32px; }
  .hoofdmenu { order: 3; flex-basis: 100%; margin-left: 0; }
}

/* ---- Overzichtspagina ---- */
.klant-kaart p { color: #dddddd; font-size: .95rem; line-height: 1.55; }
.kaart-knop {
  display: inline-flex; gap: 8px; width: auto; margin-top: 18px; padding: 8px 22px;
  background: #ffd539; color: #1f1f1f;
}
.kaart-knop:hover { background: #fff; color: #1f1f1f; }
.kaart-knop .ico { width: 18px; height: 18px; }

.groep { margin-top: 44px; }
.groep-kop { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-bottom: 16px; }
.groep-kop h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; letter-spacing: -.03em; }
.groep-kop p { color: var(--muted); }

.tegels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pdf-lijst { margin-top: 16px; }
.tegel {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 26px;
  background: #ffffffdb; border: 1px solid #00000024; border-radius: 22px;
  box-shadow: 0 18px 50px #34290014;
  transition: transform .15s cubic-bezier(.22, 1, .36, 1), border-color .15s, background-color .15s;
}
.tegel:hover { background: #fff; border-color: #c99a00; transform: translateY(-2px); }
.tegel:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px hsl(48 100% 61%); }
.tegel-ico {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px;
  background: #ffd539; border-radius: 14px; color: #252525;
}
.tegel-ico .ico { width: 26px; height: 26px; stroke-width: 2; }
.tegel-label { color: #8a6a00; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tegel h3 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.01em; }
.tegel p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.tegel-actie { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-weight: 700; }
.tegel-actie .ico { width: 18px; height: 18px; transition: transform .15s; }
.tegel:hover .tegel-actie .ico { transform: translateX(3px); }

.software-kaart {
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  background: #333; color: #e6e6e6; border-radius: 22px; box-shadow: 0 24px 60px #34290033;
}
.software-hoofd { padding: clamp(24px, 3.5vw, 34px); }
.software-hoofd .tegel-label { color: #ffd539; }
.software-hoofd h3 { color: #fff; font-size: 1.6rem; margin: 4px 0 8px; }
.software-hoofd p { color: #d4d4d4; line-height: 1.55; }
.software-kennis { background: #3c3c3c; padding: clamp(22px, 3vw, 30px); }
.kennis-kop { color: #ffd539; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.software-kennis ul { display: grid; gap: 8px; margin-top: 12px; }
.software-kennis a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px; background: #ffffff0d; border-radius: 12px; transition: background-color .15s;
}
.software-kennis a:hover { background: #ffffff1f; }
.software-kennis a:focus-visible { outline: 2px solid #ffd539; outline-offset: 1px; }
.software-kennis .ico { color: #ffd539; }
.software-kennis a > span:not(.extern-teken) { display: grid; color: #cfcfcf; font-size: .85rem; line-height: 1.35; }
.software-kennis strong { color: #fff; font-size: .98rem; }

.slot-groep { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.hulp-kaart { padding: clamp(24px, 4vw, 34px); background: #ffffffdb; border: 1px solid #00000024; border-radius: 26px; }
.hulp-kaart h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 400; letter-spacing: -.02em; }
.hulp-kaart p { color: var(--muted); margin-top: 6px; }
.hulp-kaart ul { display: grid; gap: 8px; margin-top: 16px; }
.hulp-kaart a { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; }
.hulp-kaart a:hover { text-decoration: underline; }
.hulp-kaart .ico { color: #9b7100; }
.slot-groep .uitleg-cta { margin-top: 0; }

/* ---- Aanlegadvies ---- */
.hero-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.print-knop {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; cursor: pointer;
  background: #fff; border: 1px solid #00000033; border-radius: 12px; font-weight: 700;
}
.print-knop:hover { border-color: #c99a00; }
.print-knop:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px hsl(48 100% 61%); }
.print-knop .ico { width: 20px; height: 20px; }
.versie { color: var(--muted); font-size: .88rem; }
.let-op-kaart {
  padding: 22px 24px; background: #fff4cc;
  border: 1px solid #ecd994; border-left: 6px solid var(--yellow); border-radius: 18px;
}
.let-op-kaart h2, .opmerking h2 { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.let-op-kaart h2 { margin-bottom: 8px; font-size: 1.05rem; }
.let-op-kaart .ico, .opmerking .ico { color: #9b5b00; }
.let-op-kaart p { color: #403c33; font-size: .95rem; line-height: 1.55; }
.let-op-kaart a { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: underline; }

.advies-opbouw { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 28px; }
.inhoud {
  position: sticky; top: calc(var(--kop-hoogte) + 12px); max-height: calc(100vh - var(--kop-hoogte) - 28px); overflow: auto;
  padding: 18px 12px; background: #ffffffb8; border: 1px solid #0000001f; border-radius: 18px;
}
.inhoud-kop { padding: 0 8px 8px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.inhoud ol { display: grid; gap: 2px; list-style: none; }
.inhoud a {
  display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 9px;
  padding: 7px 8px; border-radius: 10px; color: #403c33; font-size: .9rem; line-height: 1.3;
}
.inhoud a span {
  display: grid; place-items: center; width: 24px; height: 24px;
  background: #f1e6bf; border-radius: 50%; color: #252525; font-size: .74rem; font-weight: 800;
}
.inhoud a:hover { background: #fff; }
.inhoud a[aria-current] { background: #333; color: #fff; }
.inhoud a[aria-current] span { background: #ffd539; }
.advies-tekst > .blok:first-child { margin-top: 0; }

.kerncijfers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 4px 0 18px; }
.kerncijfers li { padding: 20px; background: #fff; border: 1px solid #ece3c6; border-radius: 18px; }
.blok .kerncijfer { margin-bottom: 8px; color: #252525; font-size: 2.4rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.kerncijfer small { color: var(--muted); font-size: .95rem; font-weight: 700; letter-spacing: 0; }
.kerncijfers li p:last-child { color: var(--muted); font-size: .93rem; }
.kerncijfers .kerncijfer-advies { background: #333; border-color: #333; }
.kerncijfer-advies .kerncijfer { color: #ffd539; }
.kerncijfer-advies small { color: #fff; }
.kerncijfers .kerncijfer-advies p:last-child { color: #dddddd; }
.kerncijfer-advies strong { color: #fff; }
.opmerking-regel { padding-left: 14px; border-left: 3px solid #e8d48a; color: var(--muted); font-size: .93rem; }

.methodes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.methode { padding: 22px; background: #fff; border: 1px solid #ece3c6; border-radius: 18px; }
.methode h3 { margin: 16px 0 6px; font-size: 1.15rem; }
.methode p { color: #403c33; font-size: .95rem; }
.methode p + p { margin-top: 8px; }
.sub-nr { display: inline-block; min-width: 2.1em; color: #9b7100; font-weight: 800; }
.klein-kop { margin: 22px 0 8px; font-size: 1rem; }
.hulp-regel { margin-top: 18px; font-weight: 700; }

/* Schetsen (ring/ster en slagboom) */
.schets { display: block; width: 100%; height: auto; background: #fbf7ea; border-radius: 12px; }
.schets-kabel { fill: none; stroke: #9b7100; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.schets-dun { stroke-width: 2; stroke-dasharray: 5 4; }
.schets-kast, .schets-zuil-paneel, .schets-paal { fill: #333; }
.schets-zuil rect { fill: #ffc400; stroke: #333; stroke-width: 1.5; }
.schets-zuil-klein { fill: #ffe27a; stroke: #333; stroke-width: 1.5; }
.schets-tekst { fill: #5a5548; font: 700 11px Arial, Helvetica, sans-serif; }
.schets-vet { fill: #252525; font-size: 13px; }
.schets-weg { fill: #e6dfca; }
.schets-rand { stroke: #b9ae8c; stroke-width: 2; }
.schets-lus { fill: none; stroke: #c99a00; stroke-width: 2; stroke-dasharray: 6 4; }
.schets-camper rect { fill: #fff; stroke: #333; stroke-width: 2; }
.schets-camper .schets-ruit { fill: #d4dde1; stroke-width: 1.5; }
.schets-pijl, .schets-maat { fill: none; stroke: #333; stroke-linecap: round; stroke-linejoin: round; }
.schets-pijl { stroke-width: 2.5; }
.schets-maat { stroke-width: 1.5; }
.schets-arm-onder { stroke: #252525; stroke-width: 8; stroke-linecap: round; }
.schets-arm { stroke: #ffc400; stroke-width: 8; stroke-dasharray: 10 10; }
.schets-figuur { margin: 4px 0 18px; }
.schets-figuur figcaption { margin-top: 6px; color: var(--muted); font-size: .8rem; }

.vinklijst { display: grid; gap: 10px; margin-top: 10px; }
.vinklijst li { position: relative; padding-left: 32px; color: #403c33; line-height: 1.55; }
.vinklijst li::before {
  content: "✓"; position: absolute; left: 0; top: .1em;
  display: grid; place-items: center; width: 21px; height: 21px;
  background: #ffd539; border-radius: 50%; color: #252525; font-size: .72rem; font-weight: 900;
}

.wie-wat { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wie-wat > div { padding: 22px; background: #fff; border: 1px solid #ece3c6; border-radius: 18px; }
.wie-wat h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 1.1rem; }
.wie-wat .ico { color: #9b7100; }
.wie-wat p { color: var(--muted); }
.wie-wat ul { display: grid; gap: 6px; margin-top: 10px; }
.wie-wat li { position: relative; padding-left: 18px; }
.wie-wat li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: #ffc400; border-radius: 50%; }

.keuzes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0 18px; }
.keuzes li { padding: 18px; background: #fff; border: 1px solid #ece3c6; border-radius: 16px; }
.keuzes .ico { width: 36px; height: 36px; padding: 7px; background: #ffd539; border-radius: 10px; stroke-width: 2; }
.keuzes h4 { margin: 12px 0 4px; font-size: 1.05rem; }
.keuzes p { color: var(--muted); font-size: .92rem; }

.stroom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 6px; list-style: none; }
.stroom li { display: flex; align-items: center; gap: 8px; }
.stroom span { padding: 7px 14px; background: #333; color: #fff; border-radius: 99px; font-size: .88rem; font-weight: 700; }
.stroom li:not(:last-child)::after { content: "→"; color: #9b7100; font-weight: 800; }

.eis {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; padding: 16px 18px;
  background: #f6f0dc; border-radius: 12px; color: #403c33; font-size: .95rem;
}
.eis .ico, .gedeeld .ico { width: 26px; height: 26px; color: #9b7100; }

.bediening { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; }
.bediening li { padding: 16px; background: #fff; border: 1px solid #ece3c6; border-radius: 16px; }
.bediening p { margin-top: 10px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.bediening strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1rem; }
.stap-groen { background: #2e9e48; color: #fff; }
.stap-rood { background: #d23a2e; color: #fff; }

.opmerking {
  margin-top: 24px; padding: clamp(22px, 4vw, 36px); background: #fff4cc;
  border: 1px solid #ecd994; border-left: 6px solid var(--yellow); border-radius: 22px;
}
.opmerking h2 { margin-bottom: 10px; font-size: 1.3rem; }
.opmerking .ico { width: 26px; height: 26px; }
.opmerking p { color: #403c33; line-height: 1.65; }
.cta-knoppen { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-knop-licht { background: transparent; color: #fff; border-color: #ffffff66; }
.cta-knop-licht:hover { background: #fff; color: #1f1f1f; }

@media (max-width: 1000px) {
  .advies-opbouw { grid-template-columns: 1fr; gap: 0; }
  .inhoud { position: static; max-height: none; margin-bottom: 8px; }
  .inhoud ol { grid-template-columns: 1fr 1fr; column-gap: 8px; }
  .bediening { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .software-kaart, .slot-groep { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  /* Telefoon: compacte vaste kop (titel + logo, menu eronder, dunnere gele balk) */
  .brand-inner { row-gap: 4px; padding-block: 8px 4px; }
  .brand-logo { width: 112px; }
  .hoofdmenu a { padding: 6px 13px; }
  .header-line { height: 24px; }
  .hoofdmenu ul {
    flex-wrap: nowrap; overflow-x: auto; padding: 2px 56px 4px 0; scrollbar-width: none;   /* rechts ruimte: laatste knop valt niet weg in de vervaging */
    -webkit-mask-image: linear-gradient(90deg, #000 85%, #0000); mask-image: linear-gradient(90deg, #000 85%, #0000);
  }
  .hoofdmenu ul::-webkit-scrollbar { display: none; }
  .methodes, .kerncijfers, .wie-wat, .keuzes { grid-template-columns: 1fr; }
  .cta-knoppen { flex-direction: column; }
  .groep { margin-top: 36px; }
}
@media (max-width: 560px) {
  .inhoud ol, .bediening { grid-template-columns: 1fr; }
  .tegels { grid-template-columns: 1fr; }
  .tegel { padding: 22px 20px; }
  /* Slagboomschets wordt op een telefoon sterk verkleind: grotere letters */
  .schets-figuur .schets-tekst { font-size: 17px; }
  .schets-figuur .schets-vet { font-size: 19px; }
  /* Bedieningsstappen: nummer links, tekst rechts */
  .bediening li { display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 14px; padding: 14px; }
  .bediening p { margin-top: 0; }
}

/* Afdrukken: alleen de inhoud, kleuren behouden */
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hoofdmenu, .inhoud, .print-knop { display: none; }
  .brand-header { position: static; }
  .advies-opbouw { display: block; }
  .uitleg-hero { grid-template-columns: 1fr; }
  .methode, .kerncijfers li, .keuzes li, .bediening li, .schets-figuur, .wie-wat > div, .eis, .opmerking { break-inside: avoid; }
  html, body { background: #fff; }
  .header-line, footer, .terug-link, .uitleg-cta, .info-link { display: none; }
  .uitleg { width: 100%; padding: 0; }
  .blok { box-shadow: none; border-color: #ccc; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .kaarten li, .geregeld li, .uur, .tijdlijn li, .condities > div, .schema { break-inside: avoid; }
}
