/* Becknd Hauptseite (becknd.com), 08.11.2026, Umbau 10.11.2026.
   Ergänzt style.css nur um Bausteine der Startseite; Tokens, Buttons, Karten,
   Dialoge, Ablauf und Accessibility-Panel kommen unverändert aus style.css. */

/* Abschnittsfolge (Hell/Dunkel-Rhythmus, 10.11.2026):
   Hero hell, Kennzahlen DUNKEL, Vorher/Nachher hell-getönt (ba.css), Demo hell, Ansatz hell-abgesetzt,
   Prinzipien DUNKEL, Lösungen hell-abgesetzt (Abschluss-Karte dunkel), Ablauf hell, Über mich hell-abgesetzt,
   Branchen hell-abgesetzt, FAQ hell, CTA-Band DUNKEL. Dunkle Sektionen: Klasse .zone-dark bzw. #kennzahlen (style.css). */
body.home .home-ansatz,
body.home #loesungen,
body.home #ueber-mich,
body.home #branchen{background:var(--bg-alt);}
body.home #ablauf,
body.home #faq{background:var(--bg);}
body.home section{padding:88px 0;}
body.home .hero{padding:96px 0 104px;}
@media (max-width:720px){
  body.home section{padding:60px 0;}
  body.home .hero{padding:72px 0 64px;}
}

/* HERO */
.home-headline{max-width:880px; font-size:clamp(calc(32px * var(--a11y-scale)),5.2vw,calc(58px * var(--a11y-scale))); letter-spacing:-0.015em; text-wrap:balance;}
.home-headline em{color:var(--petrol-text);}
.home-headline em.em-alt{color:var(--weinrot-text);}
.home-sub{max-width:660px; margin:24px auto 0; text-align:center; font-size:calc(18.5px * var(--a11y-scale)); color:var(--text-soft); line-height:1.6;}
.home-benefits{list-style:none; margin:24px auto 0; padding:0; display:flex; flex-wrap:wrap; justify-content:center; gap:10px 26px;}
.home-benefits li{display:inline-flex; align-items:center; gap:8px; font-size:calc(14.5px * var(--a11y-scale)); color:var(--text);}
.home-benefits svg{width:16px; height:16px; color:var(--petrol-text); flex-shrink:0;}
.home-branchen-hint{margin:28px auto 0; text-align:center; font-size:calc(14px * var(--a11y-scale)); color:var(--muted);}
.home-branchen-hint a{color:var(--petrol-text); font-weight:600; text-underline-offset:3px;}
/* INLINE-CTA (dezent, zentrierte Textzeile mit Textlink) */
.cta-inline{padding:6px 0 38px; text-align:center; background:var(--bg);}
.cta-inline p{font-size:calc(15.5px * var(--a11y-scale)); color:var(--text-soft); line-height:1.6; text-wrap:balance;}
.cta-inline a{color:var(--petrol-text); font-weight:600; text-underline-offset:3px;}
.cta-inline a:hover{color:var(--petrol-solid-hover);}

/* MUSTER: Kundensätze */
.home-quote-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;}
@media (max-width:900px){ .home-quote-grid{grid-template-columns:1fr;} }
.home-quote{flex-direction:column; gap:10px;}
.home-quote-text{font-family:var(--font-display); font-style:italic; font-size:calc(20px * var(--a11y-scale)) !important; color:var(--text) !important; line-height:1.35 !important;}
.home-quote-diag{font-size:calc(15px * var(--a11y-scale)) !important;}

/* ANSATZ: drei Ebenen */
.home-levels{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; position:relative; z-index:1;}
@media (max-width:900px){ .home-levels{grid-template-columns:1fr;} }
.home-level{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px; display:flex; flex-direction:column; gap:10px;}
.home-level-num{width:40px; height:40px; border-radius:50%; border:1.5px solid var(--petrol); color:var(--petrol-text); font-family:var(--font-display); font-weight:700; display:flex; align-items:center; justify-content:center;}
.home-level:nth-child(3) .home-level-num{border-color:var(--weinrot); color:var(--weinrot-text);}
.home-level-tag{font-size:calc(12px * var(--a11y-scale)); font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); margin-top:6px;}
.home-level h3{font-size:calc(20px * var(--a11y-scale));}
.home-level p{font-size:calc(15px * var(--a11y-scale)); color:var(--text-soft); line-height:1.6;}
.home-backend{margin:8px 0 0; height:90px;}
.home-backend svg{width:100%; height:100%; display:block;}
.home-trace{fill:none; stroke-width:2; stroke-dasharray:8 12;}
.home-trace.t1{stroke:rgba(64,151,168,0.75); animation:pulse-move 6s linear infinite;}
.home-trace.t2{stroke:rgba(140,53,66,0.6); animation:pulse-move-rev 7s linear infinite;}
@media (prefers-reduced-motion: reduce){ .home-trace{animation:none !important;} }
html.a11y-no-motion .home-trace{animation:none !important;}
.home-ansatz-quote{margin-top:8px; text-align:center; font-family:var(--font-display); font-style:italic; font-size:calc(21px * var(--a11y-scale)); color:var(--text);}

/* LÖSUNGEN: branchenneutrale Bausteine. Die Karten sind bewusst NICHT klickbar
   (kein Hover-Anheben, kein Pfeil, kein Zeiger); klickbar ist nur die Abschluss-Karte. */
.home-solutions{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px;}
@media (max-width:1000px){ .home-solutions{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:640px){ .home-solutions{grid-template-columns:1fr;} }
body.home .home-solution,
body.home .home-solution:hover{transform:none; box-shadow:none; cursor:default; border-color:var(--line); border-top:3px solid var(--petrol); gap:14px; padding:28px 26px;}
body.home .home-solution.tone-weinrot,
body.home .home-solution.tone-weinrot:hover{border-top-color:var(--weinrot);}
body.home .home-solution.tone-neutral,
body.home .home-solution.tone-neutral:hover{border-top-color:var(--text-soft);}
.home-solution h3{font-size:calc(22px * var(--a11y-scale));}
.home-solution-tag{align-self:flex-start; font-size:calc(11.5px * var(--a11y-scale)); font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--petrol-text);}
.home-solution.tone-weinrot .home-solution-tag{color:var(--weinrot-text);}
.home-solution.tone-neutral .home-solution-tag{color:var(--muted);}
.home-solution li{align-items:baseline;}
.home-solution li::before{content:""; flex-shrink:0; width:6px; height:6px; border-radius:50%; background:var(--petrol); transform:translateY(-2px);}
.home-solution.tone-weinrot li::before{background:var(--weinrot);}
.home-solution.tone-neutral li::before{background:var(--text-soft);}
.home-solution-closing{border:2px dashed var(--line-strong); border-radius:var(--radius); background:var(--bg-deep-petrol); padding:28px 26px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:12px;}
.home-solution-closing h3{font-size:calc(22px * var(--a11y-scale));}
.home-solution-closing p{font-size:calc(15.5px * var(--a11y-scale)); color:var(--text-soft); line-height:1.6;}
.home-solution-closing .btn{margin-top:6px;}

/* PRINZIPIEN */
.home-principles{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px;}
@media (max-width:1000px){ .home-principles{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:600px){ .home-principles{grid-template-columns:1fr;} }
.home-principles .trust-card h3{font-size:calc(19px * var(--a11y-scale)); line-height:1.25; margin-bottom:12px;}
.home-principles .trust-card p{font-size:calc(17px * var(--a11y-scale)); line-height:1.6; color:var(--text-soft);}

/* ÜBER MICH */
.home-about{display:grid; grid-template-columns:minmax(0,0.75fr) minmax(0,1.5fr); gap:56px; align-items:start;}
@media (max-width:860px){ .home-about{grid-template-columns:1fr; gap:32px;} }
.home-about-photo svg{width:100%; max-width:320px; height:auto; display:block; border-radius:16px; background:var(--surface);}
/* 17.11.2026: freigestelltes Foto ohne Kasten (kein Hintergrund, keine Rundung) */
.home-about-photo img{width:100%; max-width:340px; height:auto; display:block;}
.home-about-caption{margin-top:12px; font-size:calc(13.5px * var(--a11y-scale)); color:var(--muted);}
.home-about-body{display:flex; flex-direction:column; gap:18px;}
.home-about-intro{font-size:calc(17.5px * var(--a11y-scale)); color:var(--text-soft); line-height:1.65;}
.home-about-intro strong{color:var(--text);}
.home-about-points{display:flex; flex-direction:column; gap:16px; margin-top:4px;}
.home-about-point{border-left:3px solid var(--petrol); padding:2px 0 2px 16px;}
.home-about-point.tone-weinrot{border-left-color:var(--weinrot);}
.home-about-point h3{font-size:calc(18px * var(--a11y-scale));}
.home-about-point p{margin-top:4px; font-size:calc(15.5px * var(--a11y-scale)); color:var(--text-soft); line-height:1.6;}
.home-about-closing{border-top:1px solid var(--line); padding-top:18px; font-family:var(--font-display); font-style:italic; font-size:calc(19px * var(--a11y-scale)); color:var(--text);}

/* BRANCHEN-MODUL: Desktop 4 Kacheln, Tablet 2x2, Handy Swipe-Karussell */
.home-branchen-list{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;}
@media (max-width:1000px){ .home-branchen-list{grid-template-columns:repeat(2,minmax(0,1fr));} }
.home-branchen-list > li{display:flex; min-width:0;}
.home-bcard{
  display:flex; flex-direction:column; gap:10px; width:100%; text-decoration:none; color:var(--text);
  background:var(--surface); border:1px solid var(--line-strong); border-top:3px solid var(--petrol);
  border-radius:16px; padding:22px 22px 20px;
  transition:transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease;
}
.home-bcard.tone-weinrot{border-top-color:var(--weinrot);}
.home-bcard.tone-neutral{border-top-color:var(--text-soft);}
.home-bcard.is-other{border:2px dashed var(--line-strong); background:var(--bg-deep-petrol);}
.home-bcard:hover{transform:translateY(-4px); box-shadow:var(--shadow-sm);}
.home-bcard:focus-visible{outline:2px solid var(--petrol); outline-offset:3px;}
.home-bcard-title{font-family:var(--font-display); font-size:calc(21px * var(--a11y-scale)); font-weight:600; line-height:1.2; min-width:0; hyphens:auto; -webkit-hyphens:auto; overflow-wrap:anywhere;}
.home-bcard-text{min-width:0; hyphens:auto; -webkit-hyphens:auto; overflow-wrap:break-word; font-size:calc(14.5px * var(--a11y-scale)); color:var(--text-soft); line-height:1.5;}
.home-bcard-link{margin-top:auto; padding-top:6px; font-size:calc(14.5px * var(--a11y-scale)); font-weight:600; color:var(--petrol-text);}
.home-bcard.tone-weinrot .home-bcard-link{color:var(--weinrot-text);}
.home-bcard.tone-neutral .home-bcard-link{color:var(--text);}
.home-bcard:hover .home-bcard-link{text-decoration:underline; text-underline-offset:3px;}
@media (prefers-reduced-motion: reduce){ .home-bcard:hover{transform:none;} .home-bcard{transition:box-shadow .15s ease, border-color .15s ease;} }
html.a11y-no-motion .home-bcard:hover{transform:none;}
.home-branchen-dots{display:none;}
@media (max-width:759px){
  .home-branchen-list{
    display:flex; gap:14px; overflow-x:auto; overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory; scroll-padding-left:24px; -webkit-overflow-scrolling:touch; scrollbar-width:none;
    margin:0 -24px; padding:6px 24px 14px;
  }
  .home-branchen-list::-webkit-scrollbar{display:none;}
  .home-branchen-list > li{flex:0 0 80%; scroll-snap-align:start;}
  /* Während des automatischen Weiterlaufs darf Scroll-Snap nicht dazwischenfunken */
  .home-branchen-list.is-auto{scroll-snap-type:none;}
  .home-branchen-dots{display:flex; justify-content:center; gap:8px; margin-top:6px;}
  .home-branchen-dots span{width:8px; height:8px; border-radius:50%; background:var(--line-strong); transition:background .2s ease, transform .2s ease;}
  .home-branchen-dots span.is-active{background:var(--petrol); transform:scale(1.25);}
}

/* CTA */
.home-cta-links{margin-top:26px; font-size:calc(16px * var(--a11y-scale)); color:#CBD5DA !important;}
.home-cta-links a{color:#fff; text-underline-offset:3px; margin:0 4px;}

/* Sprungziele unterhalb des sticky Headers (z. B. Hero-Link auf #branchen) */
body.home section[id]{scroll-margin-top:84px;}
/* Tippflächen mobil mind. 44 px (Footer-Links, Links im CTA-Band) */
@media (max-width:759px){
  body.home .footer-links a, body.home .footer-links button{display:inline-flex; align-items:center; min-height:44px;}
  .home-cta-links a{display:inline-flex; align-items:center; min-height:44px;}
}

/* ===== Dunkel-Akzente Hauptseite (10.11.2026) ===== */
body.home #kennzahlen{padding:64px 0;}
@media (max-width:720px){ body.home #kennzahlen{padding:48px 0;} }
/* Abschluss-Karte "Ihr Thema ist nicht dabei?": nur die Karte dunkel, Sektion bleibt hell */
.home-solution-closing{
  --text:#F8FAFC; --text-soft:#CBD5DA; --line-strong:rgba(248,250,252,0.4); --petrol-text:#6BB6C5;
  background:#0E171B; color:var(--text);
}
.home-solution-closing h3{color:var(--text);}
.home-solution-closing p{font-size:calc(17px * var(--a11y-scale)); line-height:1.6; color:var(--text-soft);}
html:not(.a11y-contrast) .home-solution-closing .btn-primary{background:#F8FAFC; color:#17586A; box-shadow:none;}
.home-solution-closing :focus-visible{outline-color:#F8FAFC;}

/* Hero-Foto Startseite: Desktop (>= 1000px) Text links, Foto rechts; Groesse/Position siehe style.css (.hero-photo-dock) */
@media (min-width:1000px){
  body.home .hero-eyebrow-row{justify-content:flex-start;}
  body.home .home-headline, body.home .home-sub, body.home .home-branchen-hint{text-align:left; margin-left:0; margin-right:0;}
  body.home .home-benefits, body.home .home-hero-cta{justify-content:flex-start; margin-left:0;}
}

/* Hero mobil (< 1000px, Stand 17.11.2026): Foto ganz (Arm sichtbar, keine Maske) rechts neben Haken-Liste und Button.
   Der Button liegt per z-index ueber dem Arm (gewollter 3D-Effekt); Haken-Liste und Gesicht ueberlappen sich nie.
   Desktop (>= 1000px): Wrapper .home-hero-lower ist display:contents, zweites Foto ausgeblendet. */
.home-hero-lower{display:contents;}
.home-hero-face{display:none;}
@media (max-width:999px){
  body.home .hero-eyebrow-row{justify-content:flex-start;}
  body.home .home-headline, body.home .home-sub, body.home .home-branchen-hint{text-align:left; margin-left:0; margin-right:0;}
  body.home .home-hero-lower{
    --hf-w:clamp(150px, 54vw, 290px); --hf-in:.1;
    display:grid; grid-template-columns:minmax(0,1fr) calc(var(--hf-w) * (1 - var(--hf-in))); column-gap:0; align-items:start;
    max-width:660px; margin-top:24px;
  }
  body.home .home-benefits{grid-column:1; grid-row:1; margin:0; flex-direction:column; flex-wrap:nowrap; align-items:flex-start; justify-content:flex-start; gap:10px; position:relative; z-index:2;}
  body.home .home-benefits li{align-items:flex-start; line-height:1.5;}
  body.home .home-benefits svg{margin-top:0.2em;}
  body.home .home-hero-cta{grid-column:1 / -1; grid-row:2; justify-self:start; justify-content:flex-start; margin:22px 0 0; position:relative; z-index:2;}
  body.home .home-hero-cta .btn{min-height:48px;}
  body.home .home-hero-face{display:block; grid-column:2; grid-row:1 / span 2; align-self:end; pointer-events:none; position:relative; z-index:1;}
  body.home .home-hero-face img{display:block; width:var(--hf-w); max-width:none; height:auto; aspect-ratio:440 / 460; margin-left:calc(-1 * var(--hf-w) * var(--hf-in));}
}

/* Hero-Foto Startseite 2026-11-17b: Kopf auf Hoehe der Eyebrow (Desktop); mobil Foto 16px weiter rechts und 24px tiefer als der Button (endet knapp ueber dem Branchen-Hinweis), neues Seitenverhaeltnis 1137x1597 */
body.home .hero{--hp-top:96px;}
@media (max-width:999px){
  body.home .home-hero-lower{--hf-w:clamp(150px, 54vw, 240px);}
  body.home .home-hero-face{left:16px; margin-bottom:-24px;}
  body.home .home-hero-face img{aspect-ratio:1137 / 1597;}
}
