/* De Gastheer — persoonlijke assistent van het huis. Gebruikt de kleuren van site.css. */
.gh-root{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:60;display:flex;flex-direction:column;align-items:flex-end;gap:12px;pointer-events:none}
.gh-root>*{pointer-events:auto}
.gh-btn{width:68px;height:68px;border-radius:50%;border:3px solid var(--brass);background:var(--paper);padding:0;cursor:pointer;box-shadow:0 8px 24px rgba(23,23,20,.28);position:relative;transition:transform .15s ease}
.gh-btn img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.gh-btn:hover{transform:translateY(-2px) scale(1.03)}
.gh-btn::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:2px solid var(--brass);opacity:0;animation:gh-pulse 2.6s ease-out 1.2s 3}
.gh-root.open .gh-btn::after{display:none}
@keyframes gh-pulse{0%{transform:scale(.9);opacity:.8}100%{transform:scale(1.25);opacity:0}}

/* paneel */
.gh-panel{width:min(400px,calc(100vw - 32px));height:min(600px,calc(100dvh - 120px))}
.gh-box{display:flex;flex-direction:column;height:100%;background:var(--card);border:1px solid var(--rule);border-radius:16px;overflow:hidden;box-shadow:0 18px 48px rgba(23,23,20,.32)}
.gh-head{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 14px;background:var(--ink);color:var(--on-ink);border-bottom:3px solid var(--brass)}
.gh-head img{width:44px;height:44px;border-radius:50%;background:var(--paper);border:2px solid var(--brass);object-fit:cover}
.gh-head b{display:block;font-family:var(--tight);font-size:17px;letter-spacing:-.01em}
.gh-head small{display:block;font-size:12px;color:var(--on-ink-soft)}
.gh-sp{flex:1}
.gh-hbtn{width:36px;height:36px;display:inline-grid;place-items:center;border-radius:8px;border:0;background:transparent;color:var(--on-ink);cursor:pointer;text-decoration:none}
.gh-hbtn:hover{background:var(--ink3);color:var(--brass)}
.gh-hbtn svg,.gh-send svg,.gh-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gh-log{position:relative;flex:1;overflow-y:auto;padding:16px 14px 8px;display:flex;flex-direction:column;gap:14px;background:var(--paper);overscroll-behavior:contain}
.gh-msg{display:flex;gap:8px;align-items:flex-start;max-width:100%}
.gh-msg.me{justify-content:flex-end}
.gh-av{width:30px;height:30px;border-radius:50%;flex:none;background:var(--card);border:1.5px solid var(--brass);object-fit:cover}
.gh-body{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.gh-bub{background:var(--card);border:1px solid var(--rule);border-radius:4px 14px 14px 14px;padding:9px 12px;font-size:14.5px;line-height:1.5;color:var(--text);max-width:100%;overflow-wrap:anywhere}
.gh-msg.me .gh-bub{background:var(--ink);color:var(--on-ink);border-color:var(--ink);border-radius:14px 4px 14px 14px;max-width:85%}
.gh-bub b{font-weight:700}
.gh-typing .gh-bub{display:flex;gap:4px;align-items:center;padding:12px 14px}
.gh-typing i{width:7px;height:7px;border-radius:50%;background:var(--soft);animation:gh-dot 1s infinite ease-in-out}
.gh-typing i:nth-child(2){animation-delay:.15s}.gh-typing i:nth-child(3){animation-delay:.3s}
@keyframes gh-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.gh-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.gh-chip{border:1.5px solid var(--rust);background:var(--card);color:var(--rust);border-radius:999px;padding:6px 12px;font:600 13px/1.25 var(--sans);cursor:pointer;text-align:left}
.gh-chip:hover{background:var(--rust);color:#fff}
.gh-chips.old .gh-chip{border-color:var(--rule);color:var(--soft);cursor:default;background:transparent}
.gh-chips.old{display:none}
.gh-links{display:flex;flex-direction:column;gap:4px}
.gh-link{font-size:14px;font-weight:600;color:var(--rust);text-decoration:none;padding:2px 0}
.gh-link:hover{text-decoration:underline}
.gh-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gh-card{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:var(--text);background:var(--card);border:1px solid var(--rule);border-radius:10px;padding:6px}
.gh-card:hover{border-color:var(--rust)}
.gh-card img,.gh-noimg{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;background:var(--paper2)}
.gh-card b{display:block;font-size:12.5px;line-height:1.25;overflow-wrap:anywhere}
.gh-card small{display:block;font-size:12px;color:var(--soft);line-height:1.3}
.gh-form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--rule);background:var(--card)}
.gh-input{flex:1;min-width:0;min-height:44px;border:1.5px solid var(--rule);border-radius:10px;padding:8px 12px;font:15px var(--sans);background:var(--paper);color:var(--text)}
.gh-input:focus{border-color:var(--brass);outline:none}
.gh-send{width:44px;height:44px;flex:none;border-radius:10px;border:0;background:var(--rust);color:#fff;cursor:pointer;display:grid;place-items:center}
.gh-send:hover{background:var(--rust-hi)}

/* aanbod voor een rondleiding */
.gh-offer{width:min(300px,calc(100vw - 32px));background:var(--ink);color:var(--on-ink);border-radius:14px;padding:14px 14px 12px;box-shadow:0 12px 32px rgba(23,23,20,.3);position:relative;border:1px solid #000}
.gh-offer::after{content:"";position:absolute;right:26px;bottom:-8px;width:16px;height:16px;background:var(--ink);transform:rotate(45deg)}
.gh-offer p{font-size:14.5px;line-height:1.45;padding-right:22px}
.gh-offer b{color:var(--brass)}
.gh-x{position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;background:transparent;color:var(--on-ink-soft);cursor:pointer;border-radius:6px;display:grid;place-items:center}
.gh-x:hover{color:var(--on-ink)}
.gh-never{display:flex;gap:6px;align-items:center;margin-top:10px;font-size:12px;color:var(--on-ink-soft);cursor:pointer}

/* rondleiding */
.gh-spot{position:fixed;z-index:70;border-radius:10px;box-shadow:0 0 0 4px var(--brass),0 0 0 100vmax rgba(15,14,12,.62);pointer-events:none;transition:top .25s ease,left .25s ease,width .25s ease,height .25s ease}
.gh-tip{position:fixed;z-index:71;background:var(--card);color:var(--text);border-radius:14px;padding:14px;box-shadow:0 16px 40px rgba(0,0,0,.35);border-top:4px solid var(--brass)}
.gh-tiphead{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.gh-tiphead img{width:34px;height:34px;border-radius:50%;border:1.5px solid var(--brass);object-fit:cover;background:var(--paper)}
.gh-tiphead b{font-family:var(--tight);font-size:17px;flex:1}
.gh-tiphead small{color:var(--soft);font-size:12px;font-variant-numeric:tabular-nums}
.gh-tip p{font-size:14.5px;line-height:1.5}
.gh-tipbtns{display:flex;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}
.gh-tb{min-height:38px;padding:6px 14px;border-radius:8px;border:1.5px solid var(--rust);background:var(--rust);color:#fff;font:600 13px var(--sans);cursor:pointer}
.gh-tb:hover{background:var(--rust-hi)}
.gh-tb.ghost{background:transparent;color:inherit;border-color:var(--rule)}
.gh-offer .gh-tb.ghost{border-color:#4a473f}
.gh-tb.ghost:hover{border-color:currentColor}
body.gh-touring .gh-root{display:none}

/* "Vraag de gastheer" */
.gh-ask{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:4px 14px 4px 4px;border-radius:999px;border:1.5px solid var(--brass);background:transparent;color:inherit;font:600 13px var(--sans);cursor:pointer;margin-top:14px}
.gh-ask img{width:30px;height:30px;border-radius:50%;background:var(--paper);object-fit:cover}
.gh-ask:hover{background:var(--brass);color:var(--ink)}
.phead .gh-ask,.ctas .gh-ask,.links .gh-ask{margin-top:0}
.phead .wrap>.gh-ask,.phead>.gh-ask{margin-top:18px}

/* eigen pagina: gastheer.php */
.gh-page{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:40px;align-items:start}
.gh-intro img{width:200px;height:200px;border-radius:50%;border:4px solid var(--brass);background:var(--card);object-fit:cover}
.gh-intro h1{font-size:clamp(34px,4.6vw,56px);margin:18px 0 10px}
#ghPage{height:min(720px,calc(100dvh - 140px));min-height:480px}
.gh-boxfull{box-shadow:0 10px 32px rgba(23,23,20,.14)}
.gh-boxfull .gh-cards{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
.gh-boxfull .gh-bub{max-width:62ch}
.gh-noscript h2{font-size:22px;margin:26px 0 8px}.gh-noscript p{margin:0 0 10px;max-width:68ch}
.gh-tile{display:flex;align-items:center;gap:18px;text-decoration:none;color:inherit}
.gh-tile img{width:88px;height:88px;border-radius:50%;border:3px solid var(--brass);background:var(--paper);object-fit:cover;flex:none}
@media (max-width:820px){.gh-page{grid-template-columns:minmax(0,1fr);gap:20px}.gh-intro{display:flex;gap:16px;align-items:center}.gh-intro img{width:96px;height:96px}.gh-intro h1{margin:0 0 6px}}
@media (max-width:520px){
  .gh-panel{position:fixed;inset:auto 8px 92px 8px;width:auto;height:calc(100dvh - 160px)}
  .gh-btn{width:58px;height:58px}
  .gh-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media print{.gh-root,.gh-spot,.gh-tip,.gh-ask{display:none!important}}
