/* =========================
   FEDV HOME (Startseite)
   - nutzt Tokens/Buttons aus fedv-core.css
   - Kacheln: CTA mittig
   - Problem/Solution: „designed“, saubere Typo, Cards, Bullet-Icon
   - Media (Bild): standardmäßig AUS (kann rechts zugeschaltet werden)
========================= */

.fedv-home, .fedv-home *{ box-sizing:border-box; }

/* =========================
   FSE-Wrapper Fix (Home)
   - verhindert asymmetrische Paddings, die Fullbleed killen
========================= */
body.home .wp-site-blocks,
body.home .wp-site-blocks > main,
body.home #wp--skip-link--target{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.home .wp-site-blocks > main{ padding-top:0 !important; }
body.home .wp-site-blocks > main > *:first-child{ margin-top:0 !important; }

/* =========================
   HERO (nur wenn du es hier steuern willst)
   - setzt Background über CSS var: --fedv-hero-image
   - Fullbleed über .fedv-fullbleed (core)
========================= */
.fedv-home .fedv-hero{
  /* WICHTIG: Image wird per CSS-Var gesetzt (kein <img> im Vordergrund nötig) */
  --fedv-hero-image: url("https://fuhr-edv.de/wp-content/uploads/2025/12/Maschinensicherheit.png");

  /* Home Tuning */
  --fedv-hero-top-pad: clamp(78px, 6vw, 118px);
  --fedv-hero-bottom-pad: clamp(46px, 4vw, 78px);
  --fedv-hero-stop-b: 32%;
  --fedv-hero-stop-c: 52%;
  --fedv-hero-stop-d: 66%;
  --fedv-hero-stop-e: 78%;
  --fedv-hero-ambient-opacity: .48;
  --fedv-hero-topfade: 34px;

  box-shadow: 0 18px 46px rgba(15,23,42,.12);
}

/* Falls du NOCH ein <img class="fedv-hero-bg"> drin hast: immer wegblenden */
.fedv-home .fedv-hero .fedv-hero-bg{ display:none !important; }

/* Layering absichern */
.fedv-home .fedv-hero::before{ z-index:0; }
.fedv-home .fedv-hero::after{ z-index:1; }
.fedv-home .fedv-hero-inner,
.fedv-home .fedv-hero__content{ position:relative; z-index:2; }

/* Typo im Hero (deine Klassen) */
.fedv-home .fedv-kicker{
  margin:0 0 10px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.78rem;
  font-weight:750;
  color:#0b1220;
  opacity:.92;
}
.fedv-home .fedv-hero-title{
  margin:0 0 12px;
  max-width:980px;
  font-size:clamp(2.0rem, 3.6vw, 2.85rem);
  line-height:1.12;
  font-weight:850;
  letter-spacing:-.2px;
  color:#0b1220;
}
.fedv-home .fedv-hero-lead{
  margin:0 0 18px;
  max-width:840px;
  font-size:1.02rem;
  line-height:1.6;
  color:#0b1220;
}
.fedv-home .fedv-points{
  margin:0 0 18px;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
  max-width:760px;
}
.fedv-home .fedv-points li{
  margin:0;
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:.98rem;
  line-height:1.45;
  color:#0b1220;
}
.fedv-home .fedv-points li::before{
  content:"✔";
  color:#32F0C0;
  margin-top:1px;
  flex:0 0 auto;
}
.fedv-home .fedv-actions{
  margin:0 0 12px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.fedv-home .fedv-meta{
  margin:0;
  max-width:560px;
  font-size:.82rem;
  line-height:1.55;
  color:#0b1220;
  opacity:.88;
}

/* Mobile Hero */
@media (max-width: 768px){
  .fedv-home .fedv-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .fedv-home .fedv-actions .fedv-btn{
    width:100%;
    justify-content:center;
  }
  .fedv-home .fedv-hero{
    --fedv-hero-bg-x: 62%;
  }
}

/* =========================
   FEDV HOME – Legacy Look (wie Screenshot)
   - Kacheln clean + zentriert + CTA mittig
   - Problem/Solution: center heading + left list + right image
========================= */

.fedv-home, .fedv-home *{ box-sizing:border-box; }

/* Sections */
.fedv-home .fedv-section{
  padding: clamp(44px, 4.6vw, 70px) 0;
}
.fedv-home .fedv-wrap{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   3 KACHELN (clean, centered)
========================= */
.fedv-home .fedv-grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 56px);
  align-items:start;
}

.fedv-home .fedv-card{
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;

  text-align: center;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 12px;
}

.fedv-home .fedv-card-icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: transparent;
  border: 0;
  color: #0b1220;

  font-size: 22px;
  line-height: 1;
}

.fedv-home .fedv-card h2{
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--fedv-brand);
}

.fedv-home .fedv-card p{
  margin: 0;
  max-width: 46ch;
  color: #1f2937;
  line-height: 1.7;
  font-size: .96rem;
}

.fedv-home .fedv-card a{
  color: var(--fedv-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fedv-home .fedv-card a:hover{
  color: var(--fedv-brand2);
}

/* CTA mittig wie früher */
.fedv-home .fedv-card-actions{
  margin-top: 6px;
  width: 100%;
  display:flex;
  justify-content:center;
}

/* Button-Look wie im Screenshot (blaues Pill, eher „kompakt“) */
.fedv-home .fedv-card-actions .fedv-btn{
  border-radius: 999px;
  padding: 12px 26px;
  font-size: .92rem;
  font-weight: 800;
  min-width: 170px;
  justify-content:center;
}

.fedv-home .fedv-card-actions .fedv-btn--primary{
  background: #0a33ff;
  color: #fff;
  border: 0;
  box-shadow: 0 10px 18px rgba(10,51,255,.26);
}
.fedv-home .fedv-card-actions .fedv-btn--primary:hover{
  background:#0622b8;
  box-shadow: 0 14px 26px rgba(10,51,255,.30);
  transform: translateY(-1px);
}

/* =========================
   PROBLEM / SOLUTION (wie früher)
========================= */
.fedv-home .fedv-section--alt{
  background: transparent;
}

/* Center header */
.fedv-home .fedv-center{
  text-align:center;
  max-width: 980px;
  margin: 0 auto 26px;
}

.fedv-home .fedv-ps-title{
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1.25;
  font-weight: 900;
  color: var(--fedv-brand);
}

.fedv-home .fedv-ps-title a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fedv-home .fedv-ps-sub{
  margin: 0;
  color: #1f2937;
  font-size: .95rem;
  line-height: 1.75;
}

/* Split: left list + right image */
.fedv-home .fedv-split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items:start;
}

/* Left list: super clean */
.fedv-home .fedv-list{
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.fedv-home .fedv-item{
  display:flex;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.fedv-home .fedv-bullet{
  width: 18px;
  height: 18px;
  border-radius: 999px;

  display:flex;
  align-items:center;
  justify-content:center;

  border: 1px solid rgba(15,23,42,.22);
  background: #fff;
  color: rgba(15,23,42,.55);

  flex: 0 0 auto;

  /* wir „entschärfen“ das ✔ optisch */
  font-size: 11px;
  line-height: 1;
  transform: translateY(2px);
  opacity: .65;
}

.fedv-home .fedv-item h3{
  margin: 0 0 4px;
  font-size: 1.0rem;
  font-weight: 900;
  color: var(--fedv-brand);
}

.fedv-home .fedv-item p{
  margin: 0;
  font-size: .92rem;
  line-height: 1.65;
  color: #1f2937;
  max-width: 60ch;
}

/* Right image like screenshot */
.fedv-home .fedv-media{
  display:none;
}

.fedv-home .fedv-split.has-media .fedv-media{
  display:block;
  border-radius: 0;
  overflow:hidden;
  border: 0;
  box-shadow: none;

  width: min(520px, 100%);
  justify-self: start;
}

.fedv-home .fedv-split.has-media .fedv-media img{
  width: 100%;
  height: auto;
  display:block;
  object-fit: cover;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px){
  .fedv-home .fedv-grid-3{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fedv-home .fedv-split{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fedv-home .fedv-split.has-media .fedv-media{
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 600px){
  .fedv-home .fedv-wrap{ padding: 0 16px; }
  .fedv-home .fedv-card p{ max-width: 100%; }
}


