/* Startseite: Hero-Kurzformular. Nur Tokens; Farbwechsel (Phase 5) = nur die Werte in :root ändern. */
:root{
  --hf-bg:#ffffff;--hf-text:#102236;--hf-muted:#4b5563;--hf-line:rgba(0,0,0,.12);
  --hf-accent:#C5A572;--hf-accent-text:#0B1F33;--hf-focus:rgba(197,165,114,.45);
  --hf-radius:16px;
  --hf-scrim:rgba(11,31,51,.78);--hf-on-scrim:#F7F3EC;--hf-star:#9C7F4E;
  --ab-label:#52606d;--ab-text:#4a5563;
}
.hf{margin-top:22px;max-width:460px}
.hf.lead-card{background:var(--hf-bg);border:1px solid var(--hf-line);border-radius:var(--hf-radius);padding:18px;box-shadow:none}
.hf form{display:grid;gap:10px}
.hf .hf-row{display:grid;gap:10px;grid-template-columns:1fr 1fr}
.hf label.hf-l{display:block;font-size:.78rem;font-weight:600;color:var(--hf-text);margin:0 0 4px}
.hf input[type=text],.hf input[type=tel],.hf select{width:100%;font:inherit;font-size:16px;padding:12px 13px;border:1.5px solid var(--hf-line);border-radius:10px;background:var(--hf-bg);color:var(--hf-text)}
.hf select:required:invalid{color:#6b7280}.hf select option{color:var(--hf-text)}
.hf input:focus,.hf select:focus{outline:none;border-color:var(--hf-accent);box-shadow:0 0 0 3px var(--hf-focus)}
.hf .lead-consent{display:flex;gap:10px;align-items:flex-start;font-size:.78rem;line-height:1.45;color:var(--hf-muted)}
.hf .lead-consent input{margin-top:2px;width:16px;height:16px;flex:0 0 16px;accent-color:var(--hf-accent)}
.hf .hf-btn{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;padding:14px 20px;border:0;border-radius:999px;background:var(--hf-accent);color:var(--hf-accent-text);font:inherit;font-weight:600;cursor:pointer}
.hf .hf-btn[disabled]{opacity:.6;cursor:wait}
.hf .lead-note{margin:2px 0 0;font-size:.76rem;color:var(--hf-muted);text-align:center}
.hf-stars{margin:14px 0 0;font-size:.9rem;font-weight:600}
.hf-stars a{color:inherit;text-decoration:none}
.hf-stars span{color:var(--hf-accent)}
.hf-alt{margin:12px 0 0;font-size:.9rem}
.hf-alt a{color:inherit;text-underline-offset:4px;font-weight:500}
@media(min-width:861px){.hf{margin-top:12px}.hf.lead-card{padding:14px}.hf form{gap:8px}.hf input[type=text],.hf input[type=tel],.hf select{padding:9px 12px}.hf label.hf-l{margin-bottom:2px}.hf .hf-btn{padding:12px 20px}.hf-alt{margin-top:8px}}
@media(max-width:480px){.hf .hf-row{grid-template-columns:1fr}.hf.lead-card{padding:16px}}

/* Ratgeber-Hub: Häufige Fragen */
.rg-hfaq{padding:56px 20px}
.rg-hfaq-in{max-width:760px;margin:0 auto}
.rg-hfaq h2{margin:0 0 8px}
.rg-hfaq p{margin:0 0 20px;color:var(--hf-muted)}
.rg-hfaq ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.rg-hfaq li a{display:block;padding:16px 18px;border:1px solid var(--hf-line);border-radius:12px;background:var(--hf-bg);color:var(--hf-text);text-decoration:none;font-weight:500;line-height:1.4}
.rg-hfaq li a:hover,.rg-hfaq li a:focus-visible{border-color:var(--hf-accent);outline:none;box-shadow:0 0 0 3px var(--hf-focus)}

/* Ratgeber-Hub: Suchfeld (statisch, damit kein Layout-Sprung beim Nachladen von search.js) */
.ak-search-inline{margin:18px 0;max-width:520px}
.ak-se-label{display:block;margin:0 0 6px;font-size:.8rem;font-weight:600;color:var(--hf-text)}
.ak-search-inline .ak-se-field input[type=search]{width:100%;font:inherit;font-size:16px;padding:14px 16px;border:1.5px solid var(--hf-line);border-radius:14px;background:var(--hf-bg);color:var(--hf-text)}
.ak-search-inline .ak-se-field input[type=search]:focus{outline:none;border-color:var(--hf-accent);box-shadow:0 0 0 3px var(--hf-focus)}
.ak-search-inline .ak-se-list[hidden],.ak-search-inline .ak-se-chips[hidden]{display:none}

/* Fix-Runde: Bewertung in der Karte, Hero-Lesbarkeit, Textfeld, Ablauf-Kontrast */
.hf-stars{margin:0 0 12px!important;padding:0 0 10px!important;border-bottom:1px solid var(--hf-line)!important;background:none!important;width:auto!important;font-size:.85rem;font-weight:600;text-align:center;color:var(--hf-text)!important;border-radius:0!important;box-shadow:none!important}
.hf-stars a{display:inline-flex;align-items:center;gap:6px;background:none!important;padding:0!important;border:0!important;box-shadow:none!important;color:var(--hf-text)!important;text-decoration:none}
.hf-stars span{color:var(--hf-accent)!important}
.hf-msg{display:block}
.hf-msg textarea{width:100%;font:inherit;font-size:16px;padding:12px 13px;border:1.5px solid var(--hf-line);border-radius:10px;background:var(--hf-bg);color:var(--hf-text);resize:none;overflow-y:hidden;line-height:1.4;box-sizing:border-box;min-height:0}
.hf-msg textarea:focus{outline:none;border-color:var(--hf-accent);box-shadow:0 0 0 3px var(--hf-focus)}
.hf .lead-hint{margin:-2px 0 0;font-size:.76rem;color:var(--hf-muted)}
#ablauf .an-step-label{color:var(--ab-label)!important}
#ablauf .an-step-body p,#ablauf .mehrwert-card p,#ablauf .ablauf-neu-header .section-sub{color:var(--ab-text)!important}
@media(max-width:900px){
  html body #back-to-top{display:none!important}
  .hero-eyebrow{padding-top:16px}
}

/* ── Hero-Foto: eine Stelle zum Tauschen. Sichtbar eingebunden als <img src="IMG_0258.jpg"> in index.html (.hero-img),
   ratgeber/index.html (.rg-hub-img img), Karriere/index.html (rundes Portrait); als Vorschaubild (og:image, Schema "image") auf 47 Seiten.
   Neues Foto unter gleichem Namen ablegen (1058×1200) = alle Stellen getauscht. ── */
:root{--hero-foto:url("/IMG_0258.jpg");--hf-cream:#F7F3EC;--hf-gold-dark:#9C7F4E}
/* ── Hero mobil (<768 px): Foto unbeschnitten oben, dann Eyebrow, H1, Bewertung, Button; Formular als eigener Block ── */
.hero-m-cta{display:none}
@media(max-width:767.98px){
  html body .hero{display:flex!important;flex-direction:column!important;min-height:0!important;padding:60px 0 6px!important;overflow:visible!important;background:#fff!important}
  html body .hero-left{width:100%!important}
  html body .hero::before,html body .hero::after{content:none!important;display:none!important}
  html body .hero-right{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;order:0!important;z-index:auto!important}
  html body .hero-img-glow-wrap{position:static!important;inset:auto!important;height:auto!important;border-radius:0!important;box-shadow:none!important;animation:none!important;transform:none!important}
  html body .hero-img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1058/1200;object-fit:contain!important;object-position:center!important;border-radius:0!important}
  html body .img-cinematic-overlay{display:none!important}
  html body .hero-img-glow-wrap::before,html body .hero-img-glow-wrap::after,html body .hero-right::before,html body .hero-right::after,html body .hero-left::before,html body .hero-left::after{content:none!important;display:none!important}
  html body .hero-img{position:static!important;inset:auto!important;transform:none!important;filter:none!important;opacity:1!important}
  html body .hero-left{position:static!important;min-height:0!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;padding:14px 20px 0!important;z-index:auto!important;order:1!important}
  html body .hero-left>*{order:5}
  html body .hero-left>.hero-eyebrow{order:0}html body .hero-left>h1{order:1}html body .hero-left>.hero-m-cta{order:2}html body .hero-left>.hero-sub{order:3;margin:14px 0 0!important}html body .hero-left>.hf{order:4}
  html body .hero-eyebrow{padding-top:0!important;margin:0 0 6px!important;color:var(--hf-gold-dark)!important;font-size:9.5px!important;letter-spacing:.09em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html body .hero h1,html body .hero-headline-animate{color:var(--hf-text)!important;font-size:clamp(1.85rem,8vw,2.25rem)!important;line-height:1.1!important;margin:0 0 8px!important;text-align:left!important}
  html body .hero h1 em{color:var(--hf-gold-dark)!important}
  html body .hero-underline{display:none!important}
  html body .hero-sub{background:none!important;padding:0!important;color:var(--hf-muted)!important;font-size:.92rem!important;line-height:1.5!important;margin:0 0 12px!important;text-shadow:none!important;opacity:1!important;max-width:100%!important}
  .hero-m-cta{display:block}
  html body .hero-m-cta .hf-stars{margin:0 0 10px!important;padding:0!important;border:0!important;text-align:left!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
  .hf-start{display:flex;justify-content:center;align-items:center;min-height:52px;padding:14px 20px;border-radius:999px;background:var(--hf-accent);color:var(--hf-accent-text);font-weight:600;font-size:1.05rem;text-decoration:none}
  .hf-start:focus-visible{outline:2px solid var(--hf-text);outline-offset:3px}
  html body .hf{margin:22px 0 0!important;max-width:none!important}
  html body .hf.lead-card{background:var(--hf-cream)!important;border:1px solid var(--hf-line)!important;padding:16px!important;scroll-margin-top:72px}
  html body .hf .hf-stars{display:none!important}
  .hf.hf-collapsed .hf-more{display:none}
  html body .hf-msg textarea{min-height:calc(2.8em + 26px)!important}
  html body .hf-alt{margin:14px 0 0!important;color:var(--hf-text)!important}
  html body .hf-alt a{color:var(--hf-text)!important}
  html body .hero-kfz{background:var(--hf-bg)!important;border:1px solid var(--hf-accent)!important;color:var(--hf-text)!important}
  html body .hero-kfz b,html body .hero-kfz span{color:var(--hf-text)!important}
  html body .hero-kfz .hero-kfz-tag{background:var(--hf-accent)!important;color:var(--hf-accent-text)!important}
  /* Vorschlag: Header-Button mobil weg, "Anfrage starten" im Hero + "Kontakt" in der Leiste reichen */
  html body .nv-cta-m{display:none!important}
}

/* Startseite: Für-wen-Block (Kachel-Stil wie /fuer-wen/) */
.fw-hub{padding:72px 6%;background:#F7F3EC}
.fw-hub-inner{max-width:1100px;margin:0 auto}
.fw-hub-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:34px}
.fw-hub-grid-3{grid-template-columns:repeat(3,1fr)}
.fw-hub-card{display:flex;flex-direction:column;gap:10px;background:#fff;border:1.5px solid #E7E2D8;border-radius:20px;padding:30px 28px;text-decoration:none;transition:border-color .2s,transform .2s}
.fw-hub-card:hover{border-color:#C5A572;transform:translateY(-2px)}
.fw-hub-card h3{font-family:'Playfair Display',serif;font-size:23px;line-height:1.25;color:#102236;margin:0}
.fw-hub-card p{font-size:14.5px;line-height:1.65;color:#5b6159;margin:0}
.fw-hub-card span{margin-top:6px;color:#9C7F4E;font-weight:600;font-size:14.5px}
@media(max-width:900px){.fw-hub-grid,.fw-hub-grid-3{grid-template-columns:1fr}}
@media(max-width:520px){.fw-hub{padding:56px 20px}}
