/* =========================================================================
   GENIUS — Formular-Hero „wie bei Vali“ + Team + Netzwerk (Vorschau 26.10.2026)
   Liegt über styles.css. Verlauf aus Tinte (#14181F) und Kupfer aus dem Logo,
   Freisteller auf exakt dem Bild-Grundton (#0E151D), damit keine Kante entsteht.
   ========================================================================= */

/* --- Kopf: am Handy zwei runde Knöpfe, ohne sichtbare Nummer ------------- */
.hdr__ico{width:44px;height:44px;border-radius:50%}
.hdr__ico--tel{background:var(--accent);border-color:var(--accent);color:#fff}
.hdr.is-scrolled .hdr__ico--tel{background:var(--accent);border-color:var(--accent);color:#fff}

/* --- Hero-Fläche ---------------------------------------------------------- */
.hf{position:relative;isolation:isolate;overflow:hidden;color:#fff;
  padding:calc(76px + clamp(1.6rem,1rem + 3vw,3.6rem)) 0 clamp(5.6rem,4rem + 5vw,8.6rem)}
.hf__bg{position:absolute;inset:0;z-index:-1;background:
  radial-gradient(46% 70% at 74% 52%,rgba(201,122,66,.30) 0%,rgba(176,90,33,.12) 38%,rgba(14,21,29,0) 72%),
  radial-gradient(34% 55% at 100% 0,rgba(201,122,66,.18) 0%,rgba(201,122,66,0) 70%),
  linear-gradient(112deg,#0B1118 0%,#0E151D 45%,#141B25 100%)}
.hf__in{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(1rem,.4rem + 2vw,2.5rem);align-items:center}
.hf__txt{min-width:0;max-width:40rem}

.hf__kick{margin:0 0 .9rem;font-family:var(--font-b);font-size:.9375rem;font-weight:500;line-height:1.5;
  color:rgba(255,255,255,.82);letter-spacing:0}
.hf__kick b{color:var(--accent-l);font-weight:600}
.hf__h{font-family:var(--font-d);font-weight:800;letter-spacing:-.025em;line-height:1;
  font-size:clamp(2rem,1.2rem + 3.3vw,3.75rem);margin:0 0 1rem;color:#fff}
.hf__h em{display:block;font-style:normal;color:var(--accent-l);margin-top:.12em}
.hf__p{margin:0 0 1.05rem;font-size:clamp(1rem,.95rem + .25vw,1.125rem);line-height:1.5;color:rgba(255,255,255,.8);max-width:31rem}
.hf__us{display:grid;gap:.45rem;margin:0 0 1.1rem;padding:0;list-style:none}
.hf__us li{display:flex;gap:.6rem;align-items:center;font-size:1rem;font-weight:500;color:#fff}
.hf__us svg{width:19px;height:19px;flex:none;color:var(--accent-l)}

.hf__google{display:flex;align-items:center;gap:.5rem;margin:0 0 1.35rem;white-space:nowrap;font-size:.9375rem;color:rgba(255,255,255,.86)}
.hf__google .gzeile__g{width:18px;height:18px;flex:none}
.hf__google b{color:#fff;font-weight:700}
.hf__sterne{display:inline-flex;gap:1px}
.hf__sterne svg{width:17px;height:17px;color:#FBBC05}
[data-platzhalter="google"] b,[data-platzhalter="google"] b + span{outline:1px dashed rgba(251,188,5,.55);outline-offset:2px}

.hf__tel{display:inline-flex;align-items:center;gap:.6rem;padding:.9rem 1.45rem;border:1.5px solid rgba(255,255,255,.42);
  border-radius:var(--r-btn);color:#fff;font-weight:700;font-size:1.0625rem;text-decoration:none;letter-spacing:.01em;
  transition:background .2s var(--e),border-color .2s var(--e)}
.hf__tel svg{width:18px;height:18px;color:var(--accent-l)}
.hf__tel:hover{background:rgba(255,255,255,.08);border-color:#fff}

.hf__vis{position:relative;min-width:0;margin-right:calc(-1 * var(--pad))}
/* Bildgrund weich in den Verlauf auslaufen lassen, sonst ist die Bildkante sichtbar */
.hf__vis img{display:block;width:100%;height:auto;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent),linear-gradient(to bottom,transparent,#000 20%);
  -webkit-mask-composite:source-in;
          mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent),linear-gradient(to bottom,transparent,#000 20%);
          mask-composite:intersect}

/* --- Bogen + Formular ------------------------------------------------------ */
.hfm{position:relative;z-index:5;margin-top:-120px}
.hfm__bogen{display:block;width:100%;height:90px;filter:drop-shadow(0 -10px 18px rgba(14,21,29,.28))}
.hfm__flaeche{background:#fff;margin-top:-1px;padding:0 0 clamp(2.4rem,1.6rem + 2.4vw,3.6rem)}
.hfm .checkform{position:relative}
.hfm .hfm__g{display:grid;grid-template-columns:270px minmax(0,1fr);gap:clamp(1.5rem,1rem + 2vw,3rem);align-items:start}
.hfm .hfm__titel{font-family:var(--font-d);font-weight:800;font-size:clamp(1.55rem,1.2rem + 1.2vw,2rem);line-height:1.08;
  letter-spacing:-.02em;padding-right:0;margin:0 0 .45rem;color:var(--ink)}
.hfm .hfm__sub{padding-right:0;margin:0 0 1rem;font-size:.9375rem;color:var(--muted)}
.hfm .prog{margin:0 0 1.15rem}
.hfm .prog__t{display:none}
.hfm .prog__b{height:6px;background:var(--line-2)}
.hfm__wa{display:inline-flex;align-items:center;gap:.45rem;font-size:.9375rem;font-weight:600;color:var(--ink);
  text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line)}
.hfm__wa svg{width:17px;height:17px;color:#1a9e4f}
.hfm__wa:hover{text-decoration-color:var(--accent)}
.hfm .step__q h4{font-family:var(--font-d);font-weight:700;font-size:1.25rem}
.hfm .trustline{text-align:left;margin-top:.9rem}
.hfm .formstate{max-width:34rem;margin-inline:auto}
/* Gespiegelte Formulare (#anfrage-karte, #modal): Kopf normal untereinander, ohne WhatsApp-Zeile */
.checkform:not(.hfm .checkform) .hfm__aside{display:contents}
.checkform:not(.hfm .checkform) .hfm__wa,.checkform:not(.hfm .checkform) .hfm__sub-2{display:none}

/* Kacheln mit eigenen Icons (gelten auch in den gespiegelten Formularen) */
.tile__img{width:44px;height:44px;object-fit:contain;flex:none}
.tiles--bild .tile{align-items:center;text-align:center;justify-content:center}
.hfm .tiles--bild{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}
.hfm .tiles--bild .tile{min-height:136px;padding:1rem .7rem;border-width:1.5px;border-radius:8px;gap:.6rem;
  font-size:1rem;font-weight:700;color:var(--ink);line-height:1.25}
.hfm .tile__img{width:64px;height:64px}
.hfm .tiles--3 .tile{min-height:96px}
.hfm .tiles--5{grid-template-columns:repeat(5,minmax(0,1fr))}
.hfm .tiles.tiles--5>.tile:last-child:nth-child(odd){grid-column:auto}

/* Netzwerk-Leiste unter dem Formular */
.netz-band{margin-top:clamp(1.8rem,1.2rem + 1.6vw,2.6rem);padding-top:1.3rem;border-top:1px solid var(--line-2);
  display:flex;align-items:center;justify-content:center;gap:clamp(1rem,.5rem + 2vw,2.4rem);flex-wrap:wrap}
.netz-band__k{margin:0;font-size:.8125rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.netz-band__t{flex-basis:100%;margin:0;text-align:center;font-size:.8125rem;color:var(--muted)}
.netz-band__l{display:flex;align-items:center;gap:clamp(1.4rem,1rem + 2vw,2.6rem)}
.netz-band__i img{display:block;height:38px;width:auto}

/* --- Team -------------------------------------------------------------------- */
.team__lead{margin-inline:auto}
.team__g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,.6rem + 1.4vw,1.75rem);max-width:58rem;margin:0 auto}
.tm{background:var(--paper);border:1px solid var(--line-2);border-radius:var(--r-lg);overflow:hidden}
.tm__bild{aspect-ratio:4/5;background:var(--paper-2);overflow:hidden}
.tm__bild img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;display:block}
.tm__txt{padding:1rem 1.1rem 1.15rem;display:grid;grid-template-columns:minmax(0,1fr);gap:.2rem;min-width:0;overflow-wrap:break-word}
.tm__txt b{font-family:var(--font-d);font-size:1.15rem;font-weight:700;color:var(--ink)}
.tm__rolle{font-size:.9375rem;color:var(--accent-d);font-weight:600}
.tm__zusatz{font-size:.875rem;color:var(--muted);line-height:1.45}
[data-platzhalter="rolle"]{background:#FFF4D6;border-radius:4px;padding:0 .3rem;width:max-content;max-width:100%}

.team__recht{margin:clamp(2.4rem,1.6rem + 2.4vw,3.6rem) auto 0;max-width:58rem;display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(1.2rem,.8rem + 2vw,2.6rem);align-items:center;
  padding:clamp(1.3rem,1rem + 1.4vw,2.2rem);border:1px solid var(--line-2);border-radius:var(--r-xl);background:var(--paper)}
.team__recht-k h3{font-family:var(--font-d);font-size:1.45rem;line-height:1.15;margin:0 0 .6rem;color:var(--ink)}
.team__recht-k p:last-child{color:var(--muted);font-size:.9375rem;line-height:1.6;margin:0}
.team__recht-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}
.tm--klein{background:#fff}
.tm--klein .tm__txt b{font-size:1.05rem}

/* --- Netzwerk ---------------------------------------------------------------- */
.netz__g{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,.6rem + 1.4vw,1.75rem);max-width:58rem;margin:0 auto}
.nk{background:#fff;border:1px solid var(--line-2);border-radius:var(--r-lg);padding:clamp(1.3rem,1rem + 1vw,1.9rem)}
.nk__logo{height:70px;display:flex;align-items:center;margin-bottom:1.1rem}
.nk__logo img{max-height:70px;max-width:220px;width:auto;height:auto}
.nk__art{margin:0 0 .3rem;font-size:.8125rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--accent)}
.nk h3{font-family:var(--font-d);font-size:1.2rem;line-height:1.25;margin:0 0 .55rem;color:var(--ink)}
.nk p:not(.nk__art){font-size:.9375rem;line-height:1.6;color:var(--muted);margin:0}
.nk__link{display:inline-flex;align-items:center;gap:.35rem;margin-top:.9rem;font-weight:600;color:var(--accent-d);text-decoration:none}
.nk__link svg{width:15px;height:15px}
.nk__link:hover{text-decoration:underline}
.netz__hinweis{max-width:44rem;margin:1.4rem auto 0;text-align:center;font-size:.8125rem;color:var(--muted)}

/* --- Schnellkontakt: PC rund unten rechts, Handy Leiste ---------------------- */
.kb{position:fixed;right:1.1rem;bottom:1.1rem;z-index:90;display:grid;gap:.7rem;pointer-events:none}
.kb__a{pointer-events:auto}
.kb__a{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;color:#fff;
  box-shadow:0 8px 22px rgba(14,21,29,.28);transition:transform .2s var(--e-spring)}
.kb__a svg{width:24px;height:24px}
.kb__a:hover{transform:translateY(-2px) scale(1.04)}
.kb__a--wa{background:#1a9e4f}
.kb__a--tel{background:var(--accent)}
.kb__t{display:none}

/* PC: Visual sitzt unten auf dem Bogen auf (hero-formular.md, Desktop-Raster) */
@media (min-width:1000px){
  .hf__vis{align-self:end;margin-bottom:-44px}
}

/* --- Tablet / Handy --------------------------------------------------------- */
@media (max-width:999.98px){
  .hf{padding-bottom:4rem}
  .hf__in{grid-template-columns:1fr;gap:0}
  .hf__vis{margin:30px calc(-1 * var(--pad)) 0}
  .hfm{margin-top:-58px}
  .hfm__bogen{height:44px}
  .hfm .hfm__g{grid-template-columns:1fr;gap:.4rem}
  .hfm .tiles--bild{grid-template-columns:1fr 1fr}
  .hfm .tiles.tiles--5>.tile:last-child:nth-child(odd){grid-column:1/-1}
}
@media (max-width:767.98px){
  .hf{padding-top:calc(64px + 1.3rem);padding-bottom:3.2rem}
  .hf__h{font-size:clamp(1.85rem,8.4vw,2.6rem)}
  .hf__p{font-size:1rem;margin-bottom:.8rem}
  .hf__us{gap:.32rem;margin-bottom:.8rem}
  .hf__us li{font-size:.9375rem}
  .hf__google{font-size:.875rem;gap:.4rem;margin-bottom:1rem}
  .hf__sterne svg{width:15px;height:15px}
  .hf__tel{width:100%;justify-content:center;padding:.8rem 1rem}
  .hf__vis{margin-top:28px}
  .hfm .hfm__titel{font-size:1.5rem}
  .hfm .tiles--bild .tile{min-height:118px;font-size:.9375rem}
  .hfm .tile__img{width:54px;height:54px}

  /* Erster Bildschirm 390 x 844: Bogen, Titel und erste Kachelreihe sichtbar.
     Wegen der Bullets wird das Visual kleiner, nicht das Formular tiefer (hero-formular.md). */
  .hdr__in{min-height:62px;height:62px}
  .hf{padding-top:calc(62px + .9rem);padding-bottom:.5rem}
  .hf__h{font-size:clamp(1.75rem,7.7vw,2.4rem)}
  .hf__h em{margin-top:.06em}
  .hf__p{margin-bottom:.7rem}
  .hf__tel{padding:.62rem 1rem}
  .hf__us{gap:.25rem}
  /* Mann + Auto am Handy volle Breite (Florian 28.10.2026: „Typ und Auto größer“) */
  .hf__vis{width:auto;margin:14px calc(-1 * var(--pad)) 0}
  .hf__vis img{-webkit-mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 12%);
    -webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 4%,#000 96%,transparent),linear-gradient(to bottom,transparent,#000 12%);mask-composite:intersect}
  .hfm .hfm__sub-2{display:none}
  .hfm{margin-top:-46px}
  .hfm .hfm__aside{display:contents}
  .hfm .hfm__titel{order:1;margin-bottom:.15rem}
  .hfm .hfm__sub{order:2;margin-bottom:.35rem;font-size:.875rem}
  .hfm .prog{order:3}
  .hfm .hfm__steps{order:4}
  .hfm .hfm__wa{order:5;margin-top:.6rem}
  .hfm .checkform:has(.step[data-step="1"].is-on) .prog{display:none}
  .hfm .step__q{margin-bottom:.5rem}
  .hfm .step__q h4{font-size:1.125rem}
  .netz-band{flex-direction:column;gap:.8rem}
  .netz-band__i img{height:32px}
  .team__g{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}
  .tm__txt{padding:.7rem .7rem .85rem}
  .tm__txt b{font-size:.95rem}
  .tm__rolle,.tm__zusatz{font-size:.78rem}
  .team__recht{grid-template-columns:1fr}
  .netz__g{grid-template-columns:1fr}

  /* Leiste unten: links Anrufen (breiter), rechts WhatsApp */
  body{padding-bottom:calc(60px + env(safe-area-inset-bottom))}
  .kb{left:0;right:0;bottom:0;grid-template-columns:1.35fr 1fr;gap:0;box-shadow:0 -6px 24px rgba(0,0,0,.25)}
  .kb__a{width:auto;height:calc(60px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);
    border-radius:0;box-shadow:none;display:flex;justify-content:center;gap:.6rem;font-weight:700;font-size:1.0625rem;text-decoration:none}
  .kb__a:hover{transform:none}
  .kb__a--tel{order:-1}
  .kb__t{display:inline}
}
@media (max-width:479.98px){
  .team__g{grid-template-columns:1fr 1fr}
  .team__g .tm:last-child{grid-column:1 / -1;display:grid;grid-template-columns:42% minmax(0,1fr);align-items:center}
  .team__g .tm:last-child .tm__txt{min-width:0}
  .team__g .tm:last-child .tm__bild{aspect-ratio:4/5}
  .team__recht-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
  .tm--klein .tm__txt b{font-size:.95rem}
}
@media (max-width:359.98px){
  .hf__google{font-size:.78rem;gap:.3rem}
  .hf__sterne svg{width:13px;height:13px}
  .hf__google .gzeile__g{width:15px;height:15px}
}
@media (prefers-reduced-motion:reduce){.kb__a{transition:none}}
