/* Sitio: onderhoud en eigendom (homepage) en het zelfbeheerplan (eigen pagina). */

/* ---------- Homepage: onderhoud en eigendom ---------- */
.own-grid { display: grid; gap: 16px; }
.own-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(31,39,70,.92), rgba(15,20,37,.95));
}
.own-card h3 { font-size: 1.3rem; }
.own-card > p { color: var(--muted); }
.own-card .text-link { margin-top: auto; align-self: flex-start; }
.own-card--accent {
  border-color: transparent;
  background:
    linear-gradient(160deg, rgba(31,39,70,.95), rgba(15,20,37,.98)) padding-box,
    linear-gradient(135deg, rgba(255,226,178,.75), rgba(61,245,224,.25) 45%, rgba(150,196,244,.75)) border-box;
  box-shadow: 0 0 40px -12px rgba(255,224,176,.25), 0 0 50px -16px rgba(150,196,244,.3);
}
.own-tag {
  align-self: flex-start; font-size: .78rem; font-weight: 500; color: var(--accent-ink); background: var(--accent);
  padding: 4px 12px; border-radius: 999px;
}

.check-list, .dot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; color: var(--muted); }
.check-list li strong { color: var(--text); font-weight: 600; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--accent); background: rgba(61,245,224,.08);
}
.check-list li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.dot-list li { position: relative; padding-left: 20px; color: var(--muted); }
.dot-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* ---------- Zelfbeheerplan-pagina ---------- */
.subpage .page-hero {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: calc(var(--header-h) + 72px) var(--gutter) 56px;
}
.subpage main { position: relative; isolation: isolate; }
.subpage main::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 640px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 60% at 15% 0%, rgba(255,214,160,.16), transparent 70%),
    radial-gradient(45% 60% at 85% 10%, rgba(120,170,240,.18), transparent 70%);
}
.subpage .site-header { margin-bottom: calc(var(--header-h) * -1); }
.page-kicker { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); font-weight: 500; letter-spacing: -.02em; max-width: 16ch; }
.page-lead { margin-top: 20px; font-size: 1.12rem; color: var(--muted); max-width: 36rem; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.print-btn {
  font: inherit; font-weight: 500; color: var(--text); cursor: pointer; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid var(--hair, #6b7896); background: rgba(255,255,255,.04);
  transition: background .2s ease, border-color .2s ease;
}
.print-btn:hover { background: rgba(255,255,255,.09); border-color: var(--accent); }

.plan { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.plan-part { display: grid; gap: 28px; padding: 52px 0; border-top: 1px solid var(--line); }
.plan-side h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); margin-top: 12px; max-width: 18ch; }
.plan-side p { margin-top: 12px; color: var(--muted); max-width: 30rem; }
.part-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-display); font-weight: 600;
}

.split-cards, .routine { display: grid; gap: 14px; }
.mini-card {
  display: grid; gap: 12px; align-content: start; padding: 24px 22px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(22,27,46,.72);
}
.mini-card h3 { font-size: 1.12rem; }
.mini-card--muted { background: transparent; border-style: dashed; }
.mini-card--muted .dot-list li::before { background: #5A6588; }
.routine-when { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--text); }
.routine-time { margin-top: -8px; font-size: .88rem; color: var(--accent); }

.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: rule; }
.rules li {
  counter-increment: rule; position: relative; padding: 18px 20px 18px 64px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(22,27,46,.55); color: var(--muted);
}
.rules li strong { color: var(--text); font-weight: 600; }
.rules li::before {
  content: counter(rule); position: absolute; left: 20px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  background: var(--accent); color: var(--accent-ink);
}

.plan-cta { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 96px; }
.plan-cta-panel {
  padding: 40px 26px; border-radius: 22px; border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(31,39,70,.95), rgba(15,20,37,.98)) padding-box,
    linear-gradient(135deg, rgba(255,226,178,.7), rgba(61,245,224,.25) 45%, rgba(150,196,244,.7)) border-box;
}
.plan-cta-panel h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
.plan-cta-panel p { margin-top: 14px; color: var(--muted); max-width: 40rem; }

@media (min-width: 720px) {
  .split-cards { grid-template-columns: 1fr 1fr; }
  .routine { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-cta-panel { padding: 56px 56px; }
}
@media (min-width: 960px) {
  .own-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .own-card { padding: 34px 30px; }
  .plan-part { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding: 72px 0; align-items: start; }
  .plan-side { position: sticky; top: 110px; }
  .subpage .page-hero { padding-top: calc(var(--header-h) + 110px); padding-bottom: 80px; }
}

/* Printen: het plan als nette checklist op papier */
@media print {
  .site-header, .site-footer, .page-actions, .plan-cta, .skip { display: none !important; }
  body, .subpage main { background: #fff !important; color: #111 !important; }
  .subpage main::before { display: none; }
  .page-hero h1, .plan-side h2, .mini-card h3, .routine-when, .check-list li strong, .rules li strong { color: #111 !important; }
  .page-lead, .plan-side p, .check-list li, .dot-list li, .rules li, .page-kicker { color: #333 !important; }
  .mini-card, .rules li { background: #fff !important; border-color: #bbb !important; break-inside: avoid; }
  .plan-part { border-color: #ccc; break-inside: avoid; padding: 24px 0; }
  .plan-side { position: static; }
  .part-num, .routine-time { color: #111 !important; border-color: #111 !important; }
  .rules li::before { background: #111 !important; color: #fff !important; }
  .check-list li::before { border-color: #111 !important; background: #fff !important; }
  .check-list li::after { border-color: #111 !important; }
  [data-split] .wi, [data-fade], [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Woordmerk: Sitio groot, webdesign klein, dik en iets vager */
.wordmark .wm-text { display: inline-flex; align-items: baseline; gap: .5em; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.wordmark .wm-name { font-family: "Sora", sans-serif; font-size: 1.5rem; font-variation-settings: 'wght' 560; letter-spacing: .05em; text-transform: uppercase; line-height: 1; }
.wordmark .wm-sub { font-family: "Sora", sans-serif; font-size: .64rem; font-variation-settings: 'wght' 720; letter-spacing: .2em; text-transform: uppercase; opacity: .5; line-height: 1; }
.footer-brand { display: flex; align-items: baseline; gap: .55em; flex-wrap: wrap; }
.footer-brand .wm-name { font-size: 1.9rem; letter-spacing: .03em; }
.footer-brand .wm-sub { font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .5; }
@media (max-width: 380px) {
  .wordmark .wm-name { font-size: 1.3rem; }
  .wordmark .wm-sub { font-size: .58rem; letter-spacing: .16em; }
}

/* ---------- Footer, strak ---------- */
.site-footer { border-top: 1px solid rgba(160,180,230,.14); }
.site-footer .footer-inner { display: block; padding: 64px var(--gutter) 26px; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 28px; }
.footer-about { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; max-width: 24rem; }
.footer-tag { font-size: .95rem; line-height: 1.6; }
.site-footer .footer-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(61,245,224,.4); color: var(--text); font-size: .9rem; font-weight: 500;
  transition: background .2s ease, border-color .2s ease;
}
.site-footer .footer-cta:hover { background: rgba(61,245,224,.1); border-color: var(--accent); color: var(--text); }
.footer-cta svg { width: 14px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s ease; }
.footer-cta:hover svg { transform: translateX(3px); }
.footer-h { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.site-footer .footer-col ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-footer .footer-col a, .site-footer .footer-col span { display: inline-block; padding: 5px 0; font-size: .93rem; line-height: 1.5; color: var(--muted); }
.site-footer .footer-col a {
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 3px) / 0 1px no-repeat;
  transition: color .2s ease, background-size .3s ease;
}
.site-footer .footer-col a:hover { color: var(--text); background-size: 100% 1px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-top: 52px; padding-top: 22px;
  border-top: 1px solid rgba(160,180,230,.12); font-size: .84rem;
}
.footer-note { opacity: .7; }
.site-footer .footer-up { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--muted); }
.site-footer .footer-up:hover { color: var(--accent); }
.footer-up svg { width: 10px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
  .footer-about { grid-column: auto; }
}
.footer-brand .wm-name { text-transform: uppercase; letter-spacing: .05em; font-size: 1.7rem; }
