.sgc-front-form{--sgc-wine:#742e38;--sgc-border:#d9dee5;max-width:850px;padding:clamp(18px,3.5vw,36px);margin:24px auto;background:#fff;color:#272b30;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 10px 32px rgba(27,37,51,.07);font:inherit}
.sgc-front-form h3{font-size:clamp(1.4rem,2.5vw,1.85rem);color:#4c1e2b;margin:0 0 10px}
.sgc-front-form p{margin:0 0 24px;color:#525c69}
.sgc-front-form .sgc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.sgc-front-form label{display:block;font-weight:600;font-size:.94em;line-height:1.45;min-width:0}
.sgc-front-form label input:not([type="checkbox"]),.sgc-front-form label select,.sgc-front-form label textarea{display:block;width:100%;box-sizing:border-box;margin:7px 0 0;border:1px solid #aeb8c4;border-radius:7px;padding:12px 13px;min-height:45px;box-shadow:none;background:#fff;color:#24272b;font:inherit;font-weight:400}
.sgc-front-form input:focus,.sgc-front-form select:focus,.sgc-front-form textarea:focus{outline:2px solid #b58c52;outline-offset:2px}
.sgc-front-form fieldset{margin:24px 0;border:1px solid var(--sgc-border);border-radius:9px;padding:14px 16px}
.sgc-front-form legend{font-weight:700;padding:0 8px;color:#4c1e2b}
.sgc-front-form .sgc-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sgc-front-form .sgc-checkbox-grid label,.sgc-front-form .sgc-consent{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:.92em}
.sgc-front-form input[type="checkbox"]{accent-color:var(--sgc-wine);margin-top:4px;flex:0 0 auto}
.sgc-front-form>.sgc-consent{margin:20px 0 15px}
.sgc-front-form>label textarea{min-height:110px}
.sgc-front-form button[type="submit"]{background:var(--sgc-wine);color:#fff;border:0;border-radius:8px;min-height:48px;padding:12px 22px;font:inherit;font-weight:700;cursor:pointer;margin:0 0 12px}
.sgc-front-form button[type="submit"]:hover,.sgc-front-form button[type="submit"]:focus-visible{background:#53202a}
.sgc-front-form small{display:block;color:#586371;font-size:.87em}
.sgc-honeypot{position:absolute!important;left:-99999px!important;visibility:hidden!important}
.sgc-success,.sgc-error{padding:15px 20px;border-radius:8px;margin:16px 0;font-weight:600}
.sgc-success{background:#e8f7ed;color:#126337;border:1px solid #c4ebd0}
.sgc-error{background:#fff0f0;color:#933030;border:1px solid #f0baba}
@media(max-width:660px){.sgc-front-form .sgc-grid,.sgc-front-form .sgc-checkbox-grid{grid-template-columns:1fr}.sgc-front-form{padding:18px}}
/* Address auto-complete. The fields remain writable when PDOK is unavailable. */
.sgc-front-form .sgc-address-group{grid-column:1/-1;margin:4px 0 0;border:1px solid var(--sgc-border);border-radius:9px;padding:14px 16px;background:#fbfbfc;min-width:0}
.sgc-front-form .sgc-address-group legend{font-weight:700;padding:0 8px;color:#4c1e2b}
.sgc-front-form .sgc-address-inputs{display:grid;grid-template-columns:1.2fr .8fr .9fr;gap:14px;margin:0 0 14px}
.sgc-front-form .sgc-address-output{display:grid;grid-template-columns:1.5fr 1fr;gap:14px}
.sgc-front-form .sgc-address-status{font-size:.9em;margin-top:11px;min-height:0}
.sgc-front-form .sgc-address-status[data-state="success"]{color:#176b45}
.sgc-front-form .sgc-address-status[data-state="error"]{color:#9e3b29}
.sgc-front-form .sgc-address-status[data-state="loading"]{color:#525c69}
.sgc-front-form .sgc-address-group small{margin-top:9px}
@media(max-width:660px){.sgc-front-form .sgc-address-inputs{grid-template-columns:1fr 1fr}.sgc-front-form .sgc-address-inputs label:first-child{grid-column:1/-1}.sgc-front-form .sgc-address-output{grid-template-columns:1fr}}

/* First and second date preferences always use the same configured time blocks. */
.sgc-front-form .sgc-time-group{grid-column:1/-1;min-width:0;margin:4px 0;background:#fbfbfc}
.sgc-front-form .sgc-time-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sgc-front-form .sgc-time-group small{margin-top:10px}
.sgc-front-form .sgc-muted{opacity:.55}
.sgc-front-form .sgc-time-group select:disabled{background:#f0f2f5;cursor:not-allowed}
@media(max-width:660px){.sgc-front-form .sgc-time-inputs{grid-template-columns:1fr}}

/* Standalone CRM privacy notice, deliberately compatible with the active theme. */
.sgc-privacy-policy { max-width: 850px; margin: 0 auto; line-height: 1.75; }
.sgc-privacy-policy h2 { margin: 0 0 1rem; }
.sgc-privacy-policy h3 { margin: 1.6rem 0 .4rem; font-size: 1.15em; }
.sgc-privacy-policy p { margin: 0 0 1rem; }
.sgc-privacy-policy a { text-underline-offset: 3px; }

.sgc-front-form .sgc-availability-hint{border-left:3px solid #3b775d;background:#f1f8f4;padding:11px 13px;font-size:13px}

/* Mobile-first progressive form: accessibility and iPhone Safari. */
.sgc-front-form,.sgc-front-form *{box-sizing:border-box;min-width:0}
.sgc-front-form{width:100%;max-width:850px;overflow-wrap:anywhere;-webkit-text-size-adjust:100%}
.sgc-front-form .sgc-step{width:100%;min-width:0}
.sgc-front-form .sgc-step[hidden],.sgc-front-form [hidden]{display:none!important}
.sgc-front-form .sgc-step h4{font-size:clamp(1.14rem,4vw,1.35rem);margin:12px 0 6px;color:#4c1e2b;line-height:1.35}
.sgc-front-form p.sgc-step-intro{margin:0 0 20px;color:#485564}
.sgc-front-form .sgc-grid>fieldset,.sgc-front-form .sgc-grid>.sgc-time-group{grid-column:1/-1}
.sgc-front-form label input:not([type="checkbox"]),.sgc-front-form label select,.sgc-front-form label textarea{
  max-width:100%;min-width:0;min-height:48px;font-size:16px!important;line-height:1.35;
  border-radius:9px;touch-action:manipulation;
}
.sgc-front-form label input[type="date"],.sgc-front-form label input[type="time"]{
  width:100%;min-width:0;max-width:100%;-webkit-min-logical-width:0;
}
.sgc-front-form label input[type="checkbox"]{width:22px;height:22px;min-width:22px;min-height:22px}
.sgc-front-form .sgc-checkbox-grid label{min-height:44px;align-items:center}
.sgc-front-form .sgc-consent{padding:12px 0;line-height:1.5}
.sgc-front-form .sgc-consent a{color:#642b38;text-decoration:underline;text-underline-offset:3px}
.sgc-front-form button{touch-action:manipulation;font-size:16px!important}
.sgc-front-form .sgc-progress-top{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:14px;margin-bottom:9px}
.sgc-front-form .sgc-progress-top span{color:#586371}
.sgc-front-form .sgc-progress-track{width:100%;height:7px;border-radius:20px;background:#e9e5e8;overflow:hidden}
.sgc-front-form .sgc-progress-bar{display:block;height:100%;width:33.333%;background:#742e38;transition:width .18s ease}
.sgc-front-form .sgc-mobile-progress{margin:18px 0 22px}
.sgc-front-form .sgc-step-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}
.sgc-front-form .sgc-step-navigation button{border:1px solid #742e38;border-radius:9px;padding:12px 20px;min-height:52px;background:#fff;color:#742e38;font-weight:700;cursor:pointer}
.sgc-front-form .sgc-step-navigation .sgc-nav-next{margin-left:auto;background:#742e38;color:#fff;flex:1}
.sgc-front-form .sgc-step-navigation button:focus-visible{outline:3px solid #b58c52;outline-offset:3px}
.sgc-front-form button[type="submit"]{min-height:52px;padding:14px 18px;width:100%}
.sgc-front-form .sgc-time-group{width:100%;max-width:100%}
@media(max-width:660px){
  .sgc-front-form{margin:12px auto;padding:clamp(12px,4vw,20px);border-radius:12px}
  .sgc-front-form .sgc-grid,.sgc-front-form .sgc-time-inputs,.sgc-front-form .sgc-address-output{grid-template-columns:minmax(0,1fr);gap:14px}
  .sgc-front-form .sgc-address-inputs{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
  .sgc-front-form .sgc-address-inputs label:first-child{grid-column:1/-1}
  .sgc-front-form fieldset{padding:12px;margin:14px 0}
  .sgc-front-form .sgc-checkbox-grid{grid-template-columns:1fr}
  .sgc-front-form .sgc-step-navigation{position:sticky;bottom:0;padding:10px 0 max(10px,env(safe-area-inset-bottom));background:#fff;z-index:2;border-top:1px solid #e5e7eb}
}
@media(prefers-reduced-motion:reduce){.sgc-front-form .sgc-progress-bar{transition:none}}
