/* ═══════════════════════════════════════════
   Self-hosted Noto Sans (DSGVO-konform)
   ═══════════════════════════════════════════ */
@font-face{
  font-family:'Noto Sans';font-style:normal;font-weight:400 800;font-stretch:100%;font-display:swap;
  src:url(fonts/noto-sans-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:'Noto Sans';font-style:normal;font-weight:400 800;font-stretch:100%;font-display:swap;
  src:url(fonts/noto-sans-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ═══════════════════════════════════════════
   Roger Landing Page (BoD-branded)
   Same design system as BoD Terminbuchungsseite
   Min body text: 16px / Optimized for 42–60 age group
   WCAG 2.1 AA compliant
   ═══════════════════════════════════════════ */

:root{
  --primary:#052E26;
  --cta:#0DCCA9;
  --cta-hover:#0ab492;
  --cta-btn:#F1615A;
  --cta-btn-hover:#e04e47;
  --bg-white:#FFFFFF;
  --bg-light:#F9FAFA;
  --bg-mint:#F5FFFD;
  --bg-dark:#052E26;
  --border:#ECEFEF;
  --text-muted:#4d6e68;
  --error:#d32f2f;
  --error-bg:#fef2f2;
  --radius:16px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{overflow-x:hidden;-webkit-font-smoothing:antialiased;scroll-behavior:smooth}
body{
  font-family:'Noto Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:16px;line-height:1.75;color:var(--primary);background:var(--bg-light);
  overflow-x:hidden;max-width:100vw;margin:0;padding:0;
}
img,svg,video,iframe{max-width:100%;height:auto}
a{color:var(--cta);text-decoration:none;transition:color .2s}
a:hover{color:var(--cta-hover)}
strong{color:var(--primary)}

/* ─── Layout ─── */
.w{max-width:900px;margin:0 auto;padding:0 1.5rem;width:100%}
.w-wide{max-width:1180px;margin:0 auto;padding:0 2.5rem;width:100%}
.w-narrow{max-width:780px}

/* ─── Header ─── */
.hdr{padding:.75rem 0;background:var(--bg-white);border-bottom:1px solid var(--border)}
.hdr .w-wide{display:flex;align-items:center;justify-content:center}
.hdr svg{height:22px;width:auto}

/* ─── Typography ─── */
h1{
  font-size:clamp(1.625rem,3.2vw,2.75rem);font-weight:700;line-height:1.2;
  margin-bottom:1rem;color:var(--primary);
}
h2{font-size:1.4rem;font-weight:700;line-height:1.35;margin-bottom:.75rem;color:var(--primary)}

/* ─── Buttons ─── */
.btn-solid{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:1rem 2rem;background:var(--cta-btn);color:#fff;
  font-weight:700;font-size:1.05rem;text-decoration:none;
  border:none;border-radius:12px;transition:all .2s;cursor:pointer;
  min-height:48px;
}
.btn-solid:hover{background:var(--cta-btn-hover);color:#fff;transform:translateY(-1px);box-shadow:0 6px 20px rgba(241,97,90,.3)}
.btn-solid:focus-visible{outline:2px solid var(--cta-btn);outline-offset:2px}

/* ═══════════════════════════════════════════
   STEP INDICATOR
   ═══════════════════════════════════════════ */

.steps-sec{background:var(--bg-white);padding:1.5rem 0}
.steps{
  display:flex;align-items:flex-start;justify-content:center;
  max-width:320px;margin:0 auto;position:relative;
}
.step{
  display:flex;flex-direction:column;align-items:center;gap:.4rem;
  position:relative;z-index:1;flex:1;
}
.step-num{
  display:flex;align-items:center;justify-content:center;
  width:32px;height:32px;border-radius:50%;
  font-size:.85rem;font-weight:700;
  background:var(--bg-light);border:2px solid var(--border);color:var(--text-muted);
  transition:all .3s;
}
.step-label{
  font-size:.8rem;font-weight:600;color:var(--text-muted);
  text-align:center;white-space:nowrap;transition:color .3s;
}
.step-active .step-num{background:var(--cta);border-color:var(--cta);color:#fff}
.step-active .step-label{color:var(--primary)}
.step-done .step-num{background:var(--primary);border-color:var(--primary);color:#fff}
.step-done .step-label{color:var(--primary)}

.step-connector{
  flex:1;display:flex;align-items:center;padding-top:14px;
}
.step-connector-line{
  width:100%;height:2px;background:var(--border);transition:background .3s;
}
.step-connector-done .step-connector-line{background:var(--primary)}

/* ─── Hero ─── */
.hero{padding:2rem 0 3rem;background:var(--bg-white)}
.hero .w{display:flex;flex-direction:column;align-items:center;text-align:center}
.hero h1{max-width:620px}
.hero-intro{
  font-size:1.05rem;line-height:1.7;color:var(--primary);
  margin-bottom:1rem;max-width:580px;
}
.hero-sub{font-size:1rem;line-height:1.7;color:var(--text-muted);margin-bottom:.5rem;max-width:520px}
.hero-sub strong{color:var(--primary)}
.inline-avatar{
  width:24px;height:24px;border-radius:50%;object-fit:cover;
  vertical-align:middle;margin:0 .1rem;border:1.5px solid var(--border);
}
.hero-meta{font-size:.9rem;color:var(--text-muted);margin-bottom:1.5rem;max-width:520px}

/* ─── Roger-Bullets (value list above form) ─── */
.hero-bullets{
  list-style:none;padding:0;margin:0 0 1.75rem;
  display:flex;flex-direction:column;gap:.9rem;
  max-width:560px;width:100%;text-align:left;
}
.hero-bullets li{
  display:flex;align-items:flex-start;gap:.85rem;
  line-height:1.5;
}
.hero-bullets li svg{
  flex:0 0 auto;color:var(--cta);margin-top:.15rem;
}
.hero-bullets li strong{
  display:block;color:var(--primary);font-weight:700;margin-bottom:.1rem;line-height:1.35;
}
.hero-bullets li span{
  display:block;color:var(--text-muted);font-size:.95rem;line-height:1.5;
}

/* ─── Roger-Stats (below form) ─── */
.hero-stats{
  list-style:none;padding:0;margin:2rem 0 0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;
  max-width:560px;width:100%;
}
.hero-stats li{
  display:flex;flex-direction:column;align-items:center;gap:.1rem;
  text-align:center;padding:1rem .5rem;
  background:var(--bg-mint);border-radius:12px;
}
.hero-stats li strong{
  font-size:clamp(1.25rem,3vw,1.65rem);font-weight:800;color:var(--primary);line-height:1.1;
}
.hero-stats li span{
  font-size:.8rem;color:var(--text-muted);line-height:1.35;
}

/* ═══════════════════════════════════════════
   FORM CARD (wrapper for HubSpot embed)
   ═══════════════════════════════════════════ */

.form-card{
  background:var(--bg-white);border:1px solid var(--border);border-radius:var(--radius);
  padding:2rem;width:100%;max-width:560px;text-align:left;
  box-shadow:0 2px 12px rgba(5,46,38,.04);
}
.form-card-title{
  font-size:1.25rem;font-weight:700;color:var(--primary);
  margin:0 0 1.25rem;line-height:1.3;text-align:center;
}

/* Loader placeholder while HubSpot form boots */
.form-loading{
  display:flex;align-items:center;justify-content:center;gap:.6rem;
  min-height:240px;color:var(--text-muted);font-size:.95rem;
}
.form-loading svg{animation:spin 1s linear infinite}
@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

/* ═══════════════════════════════════════════
   HUBSPOT FORM OVERRIDES
   Match look & feel of BoD native form
   ═══════════════════════════════════════════ */

.hbspt-form .hs-form,
.hbspt-form form{font-family:inherit;color:var(--primary)}

.hbspt-form fieldset{max-width:none!important;border:none;padding:0;margin:0}
.hbspt-form fieldset.form-columns-1 .hs-form-field,
.hbspt-form fieldset.form-columns-2 .hs-form-field{
  width:100%!important;float:none!important;padding:0!important;
}
.hbspt-form fieldset.form-columns-2{
  display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem;
}
.hbspt-form fieldset.form-columns-2 .hs-form-field{margin-bottom:0}
.hbspt-form .input{margin-right:0!important}

.hbspt-form .hs-form-field{margin-bottom:1rem}
.hbspt-form .hs-form-field > label{
  display:block;font-size:1rem;font-weight:600;color:var(--primary);
  margin-bottom:.4rem;line-height:1.4;
}
.hbspt-form .hs-form-field > label .hs-form-required{
  color:var(--cta-btn);font-weight:700;margin-left:.15rem;
}
.hbspt-form .hs-field-desc{
  display:block;font-size:.875rem;color:var(--text-muted);
  margin-top:.35rem;margin-bottom:.25rem;line-height:1.4;
}

.hbspt-form .hs-input,
.hbspt-form input[type="text"],
.hbspt-form input[type="email"],
.hbspt-form input[type="tel"],
.hbspt-form input[type="url"],
.hbspt-form input[type="number"],
.hbspt-form input[type="password"],
.hbspt-form input[type="search"],
.hbspt-form textarea,
.hbspt-form select{
  width:100%!important;max-width:100%!important;
  padding:.75rem 1rem!important;font-size:1rem!important;
  font-family:inherit!important;color:var(--primary)!important;
  background:var(--bg-light)!important;
  border:1.5px solid var(--border)!important;border-radius:10px!important;
  transition:border-color .2s,box-shadow .2s;
  -webkit-appearance:none;-moz-appearance:none;appearance:none;
  min-height:48px;line-height:1.4!important;box-shadow:none;
}
.hbspt-form .hs-input::placeholder,
.hbspt-form input::placeholder,
.hbspt-form textarea::placeholder{color:#8fa8a1;opacity:1}
.hbspt-form .hs-input:focus,
.hbspt-form input:focus,
.hbspt-form textarea:focus,
.hbspt-form select:focus{
  outline:none!important;border-color:var(--cta)!important;
  box-shadow:0 0 0 3px rgba(13,204,169,.2)!important;
}
.hbspt-form textarea,
.hbspt-form textarea.hs-input{min-height:120px!important;resize:vertical}

.hbspt-form select,
.hbspt-form select.hs-input{
  cursor:pointer;
  background-color:var(--bg-light)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234d6e68' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:right 1rem center!important;
  padding-right:2.5rem!important;
}

/* Wrapper around the input that HubSpot adds */
.hbspt-form .input{margin:0!important;padding:0!important}

/* Checkbox & Radio */
.hbspt-form .inputs-list{list-style:none;margin:0;padding:0}
.hbspt-form .inputs-list li{margin-bottom:.4rem}
.hbspt-form .inputs-list label{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.95rem;font-weight:500;color:var(--primary);cursor:pointer;
}
.hbspt-form .inputs-list input[type="checkbox"],
.hbspt-form .inputs-list input[type="radio"]{
  width:18px;height:18px;accent-color:var(--cta);margin:0;
}
.hbspt-form .hs-form-booleancheckbox label,
.hbspt-form .hs-form-booleancheckbox-display{
  font-size:.9rem;line-height:1.5;color:var(--text-muted);
}
.hbspt-form .hs-form-booleancheckbox-display > span{margin-left:.5rem}
.hbspt-form .hs-richtext,
.hbspt-form .hs-richtext p{
  font-size:.875rem;color:var(--text-muted);line-height:1.5;margin:.5rem 0;
}
.hbspt-form .legal-consent-container{
  margin-top:1rem;font-size:.85rem;color:var(--text-muted);line-height:1.5;
}
.hbspt-form .legal-consent-container a{color:var(--cta)}

/* Error states */
.hbspt-form .hs-input.invalid,
.hbspt-form .hs-input.error,
.hbspt-form input.invalid{
  border-color:var(--error)!important;background:var(--error-bg)!important;
}
.hbspt-form .hs-error-msgs,
.hbspt-form .hs-error-msg{
  list-style:none;margin:.35rem 0 0;padding:0;
  font-size:.85rem;color:var(--error);line-height:1.4;
}
.hbspt-form .hs_error_rollup{display:none}

/* Submit button */
.hbspt-form .hs-submit{margin-top:1rem}
.hbspt-form .hs-submit .actions{margin:0;padding:0}
.hbspt-form input[type="submit"],
.hbspt-form .hs-button{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  width:100%!important;
  padding:1rem 2rem!important;background:var(--cta-btn)!important;color:#fff!important;
  font-family:inherit!important;font-weight:700!important;font-size:1.05rem!important;
  text-decoration:none;border:none!important;border-radius:12px!important;
  transition:all .2s;cursor:pointer;min-height:48px!important;line-height:1.2!important;
  -webkit-appearance:none;appearance:none;
}
.hbspt-form input[type="submit"]:hover,
.hbspt-form .hs-button:hover{
  background:var(--cta-btn-hover)!important;
  transform:translateY(-1px);box-shadow:0 6px 20px rgba(241,97,90,.3);
}
.hbspt-form input[type="submit"]:focus-visible,
.hbspt-form .hs-button:focus-visible{
  outline:2px solid var(--cta-btn);outline-offset:2px;
}
.hbspt-form input[type="submit"]:disabled,
.hbspt-form .hs-button:disabled{opacity:.7;cursor:wait;transform:none;box-shadow:none}

/* Hide hidden fields wrapper spacing */
.hbspt-form .hs-form-field.hs-hidden,
.hbspt-form .hs-fieldtype-hidden{display:none!important}

/* ─── Danke Section ─── */
.danke-sec{
  padding:4rem 0;background:var(--bg-white);
  min-height:calc(100vh - 200px);display:flex;align-items:center;
}
.danke-sec .w{display:flex;justify-content:center}
.danke-card{
  text-align:center;max-width:520px;
  background:var(--bg-white);border:1px solid var(--border);border-radius:var(--radius);
  padding:3rem 2.5rem;
}
.danke-icon{margin-bottom:1.5rem}
.danke-card h1{font-size:2rem;margin-bottom:1rem}
.danke-text{font-size:1.1rem;line-height:1.7;color:var(--primary);margin-bottom:.75rem}
.danke-sub{font-size:1rem;color:var(--text-muted)}

/* ─── Footer ─── */
.ftr{background:var(--bg-light);border-top:1px solid var(--border);padding:1.25rem 0;text-align:center}
.ftr-inner{display:flex;justify-content:center}
.ftr-links{display:flex;justify-content:center;gap:2rem}
.ftr-links a{color:var(--text-muted);font-size:.875rem;text-decoration:none;transition:color .2s}
.ftr-links a:hover{color:var(--primary)}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media(max-width:768px){
  .w{padding:0 1.25rem}
  .w-wide{padding:0 1.25rem}
  .hero{padding:1rem 0 2rem}
  h1{font-size:1.55rem}
  .form-card{padding:1.25rem}
  .btn-solid{width:100%}
  .steps-sec{padding:1.25rem 0}
  .steps{max-width:260px}
  .step-num{width:28px;height:28px;font-size:.8rem}
  .step-label{font-size:.75rem}
  .step-connector{padding-top:12px}
  .danke-card{padding:2rem 1.5rem}
  .hbspt-form fieldset.form-columns-2{grid-template-columns:1fr}
}
@media(max-width:380px){
  h1{font-size:1.4rem}
  .step-label{font-size:.7rem}
  .step-num{width:26px;height:26px;font-size:.75rem}
}
