/* Nepwebsite "Fysiotherapie De Linde" — alleen als decor voor de demo. */
:root {
  --ink: #1d2a26;
  --muted: #5d6b66;
  --line: #e3e8e5;
  --bg: #fbfaf7;
  --card: #ffffff;
  --brand: #2f6f5e;
  --brand-soft: #e6f0ec;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; }

/* Demobalk bovenaan (hoort niet bij de klantwebsite) */
.demobar {
  background: #14181c;
  color: #e8ecef;
  font-size: 13px;
  padding: 8px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.demobar strong { color: #fff; }
.demobar nav { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.demobar a {
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #39414a;
}
.demobar a[aria-current="page"] { background: #fff; color: #14181c; border-color: #fff; }

/* Klantwebsite */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
header.site {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo span.mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--brand);
  display: inline-grid; place-items: center; color: #fff; font-size: 15px;
}
header.site nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
header.site nav a { text-decoration: none; }
@media (max-width: 720px) { header.site nav { display: none; } }

.hero { padding: 64px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: 18px; margin: 0 0 24px; max-width: 520px; }
.hero .photo {
  aspect-ratio: 4 / 3; border-radius: 18px;
  background:
    radial-gradient(circle at 30% 30%, #cfe3da 0, transparent 55%),
    radial-gradient(circle at 75% 70%, #f1dcc4 0, transparent 50%),
    #e9efe9;
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); font-size: 14px;
}
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 40px 0 24px; } }
.hero-side { min-width: 0; }

/* Demo-tools (alleen op de demo, niet in de widget) */
.demobar .seg { display: inline-flex; border: 1px solid #39414a; border-radius: 999px; overflow: hidden; }
.demobar .seg a { border: 0; border-radius: 0; }
.demobar button.tool {
  font: inherit; color: inherit; background: transparent; cursor: pointer;
  padding: 4px 10px; border-radius: 999px; border: 1px solid #39414a;
}
.demobar button.tool[aria-expanded="true"] { background: #fff; color: #14181c; }
.design-panel {
  position: fixed; top: 48px; left: 16px; z-index: 2147483001;
  width: 300px; max-height: calc(100dvh - 64px); overflow-y: auto;
  background: #14181c; color: #e8ecef; border: 1px solid #2c333b; border-radius: 14px;
  padding: 14px; font-size: 13px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.design-panel h4 { margin: 12px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #9aa4ad; }
.design-panel h4:first-child { margin-top: 0; }
.design-panel .presets { display: flex; flex-wrap: wrap; gap: 6px; }
.design-panel .presets button, .design-panel .actions button {
  font: inherit; cursor: pointer; color: #e8ecef; background: #1f252b; border: 1px solid #39414a; border-radius: 8px; padding: 5px 9px;
}
.design-panel .presets button:hover, .design-panel .actions button:hover { background: #2a3139; }
.design-panel label { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 0; }
.design-panel select {
  font: inherit; color: #e8ecef; background: #1f252b; border: 1px solid #39414a; border-radius: 6px; padding: 3px 6px; max-width: 150px;
}
.design-panel input[type="color"] { width: 38px; height: 24px; border: 1px solid #39414a; border-radius: 6px; padding: 0; background: none; cursor: pointer; }
.design-panel .actions { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .design-panel { left: 8px; right: 8px; width: auto; } }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 20px; border-radius: 10px; background: var(--brand); color: #fff;
}
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); margin-left: 8px; }

section.block { padding: 40px 0; }
section.block h2 { font-size: 26px; margin: 0 0 20px; letter-spacing: -0.01em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }
.card .step {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; margin-bottom: 8px;
}
.card.price .amount { font-size: 30px; font-weight: 700; color: var(--ink); margin: 6px 0 8px; letter-spacing: -0.02em; }
.card.price .amount small { font-size: 14px; font-weight: 500; color: var(--muted); }
.card.price.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.fine { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--muted); }
.card.cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px; }
.card.cta h2 { margin: 0 0 4px; font-size: 22px; }
.card.cta p { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
table.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
table.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
table.hours td:last-child { text-align: right; color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 120px; color: var(--muted); font-size: 14px; }

/* Uitlegkaart op de demopagina's */
.note {
  background: var(--brand-soft); border: 1px solid #cfe1d9; border-radius: 12px;
  padding: 14px 16px; font-size: 14px; color: #24453b; margin-top: 24px;
}
.note code { background: #fff; padding: 1px 5px; border-radius: 5px; font-size: 13px; }

/* Demo-formulier (onderdeel van de nepwebsite) */
.demo-card { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .demo-card { grid-template-columns: 1fr; } }
.demo-form { display: flex; flex-direction: column; gap: 12px; }
.demo-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .demo-form .row2 { grid-template-columns: 1fr; } }
.demo-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.demo-form input:not([type=radio]):not([type=checkbox]), .demo-form select, .demo-form textarea {
  font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.demo-form .dagdeel { border: 0; padding: 0; margin: 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.demo-form .dagdeel legend { font-weight: 600; float: left; margin-right: 8px; }
.demo-form .dagdeel label, .demo-form label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.demo-form .btn { align-self: flex-start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.demo-form .form-msg { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
