/*
 * front-page.css — v1.1 (2026-09-24, Phase 6b home revision; v1.0 2026-09-16 in
 * git history). Home hero per Konzept B v2 (input/layouts/Konzept B v2.dc.html
 * L46–L57): a rounded image block (the self-hosted LCP image) above the centred
 * intro (H1 + lead + two buttons). v1's GEO banner, hero note, growth scene and
 * the intro's fadeUpB entrance are removed. Auto-enqueued by basename AFTER
 * responsive.css (inc/enqueue.php) and only on the front page, so the plain
 * single-class rules here are home-only; the ≤768/≤480 home-hero overrides live in
 * responsive.css (§3.8b) with the `.icc-page` prefix so they still win.
 *
 * The shared hero-scene contract (.icc-hero__scene/__float/__tags, base.css
 * reduced-motion) is untouched: SEO and GEO still use it.
 *
 * Box-model (R1): the image block has no padding/border, so its 1296 px
 * max-width copies 1:1. One-off design values (radius 28, the navy image shadow)
 * carry a `/* design … *​/` note; everything else is a --icc-* token.
 */

/* ---------- Hero wrapper: v2 padding 104 24 0, no overflow clip ---------- */
.icc-hero--home {
  padding: 104px 24px 0;               /* design v2 header padding */
  overflow: visible;                   /* v2 drops overflow:hidden (keeps the image shadow) */
}

/* ---------- Image block (design L47–L49) ---------- */
.icc-hero__media {
  max-width: 1296px;                   /* design v2 image max-width (no pad/border → 1:1) */
  margin: 0 auto;
  aspect-ratio: 2560 / 1099;
  border-radius: 28px;                 /* design v2 image radius */
  overflow: hidden;
  box-shadow: 0 34px 70px -34px rgba(22, 56, 90, .45); /* design v2 image shadow (navy) */
}
.icc-hero__media picture { display: block; height: 100%; }
.icc-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

/* ---------- Intro (centred hero copy, below the image) ---------- */
.icc-hero__intro {
  max-width: 860px;
  margin: 40px auto 0;
  text-align: center;
}

/* H1 with the accent-word swash underline (var --icc-h1-home) */
.icc-hero__title {
  font-size: var(--icc-h1-home);
  font-weight: 750;
  letter-spacing: var(--icc-ls-h1);
  line-height: 1.02;
  margin: 0 0 18px;
}
.icc-hero__accent { position: relative; white-space: nowrap; }
.icc-hero__accent-word { position: relative; z-index: 1; }
.icc-hero__swash {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 12px;
  z-index: 0;
}
.icc-hero__swash path {
  stroke: var(--icc-accent);
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
  opacity: .55;
}

.icc-hero__lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 28px;
}

.icc-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/*
 * ---------- Sections 2–8 (L108–L309) ----------
 * Big tinted/gradient .icc-panel (44px radius), the variable-ratio .icc-split
 * desktop ratios (plain classes, mobile-rules.md §1) and the
 * check-row / leistungen-icon visual detail. No fixed-width boxes are copied
 * here (grid/flex/padding-driven only), so no R1 width arithmetic applies.
 */

/* ---------- 2. Leistungen (L108) ---------- */
.icc-leistungen-section { padding-top: 34px; }     /* design "34px 32px 0"; sides come from .icc-container */
.icc-panel { border-radius: var(--icc-r-panel); }
.icc-panel--leistungen { background: var(--icc-tint); padding: 78px 64px 72px; }

.icc-section-head { text-align: center; }
.icc-section-head--leistungen { max-width: 620px; margin: 0 auto 56px; }
.icc-section-head--leistungsliste { max-width: 640px; margin: 0 auto 52px; }

.icc-grid-3--leistungen { gap: 22px; }             /* design 22 vs the shared grid's 24 */
.icc-grid-3--leistungsliste { gap: 18px; }

.icc-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--icc-primary);
  text-decoration: none;
}
.icc-card__link:hover { color: var(--icc-accent); }

/* Fallback feature-card icons (design L118–L134: divs/spans, not <svg>). */
.icc-li-icon--ecom { display: flex; align-items: flex-end; gap: 4px; height: 22px; }
.icc-li-icon--ecom .icc-li-icon__bar { width: 6px; border-radius: 2px; }
.icc-li-icon__bar--1 { height: 40%; background: var(--icc-accent); }
.icc-li-icon__bar--2 { height: 68%; background: var(--icc-accent); }
.icc-li-icon__bar--3 { height: 100%; background: var(--icc-primary); }

.icc-li-icon--local { position: relative; width: 24px; height: 24px; display: block; }
.icc-li-icon--local .icc-li-icon__ring {
  position: absolute;
  inset: 0;
  border: 2.5px solid var(--icc-accent);
  border-radius: 50%;
  display: block;
}
.icc-li-icon--local .icc-li-icon__dot {
  position: absolute;
  inset: 8px;
  background: var(--icc-primary);
  border-radius: 50%;
  display: block;
}

.icc-li-icon--leads { display: flex; flex-direction: column; gap: 4px; align-items: center; width: 26px; }
.icc-li-icon__bar--w100 { width: 100%; height: 4px; background: var(--icc-accent); border-radius: 2px; }
.icc-li-icon__bar--w62 { width: 62%; height: 4px; background: var(--icc-accent); border-radius: 2px; }
.icc-li-icon__bar--tall { width: 30%; height: 9px; background: var(--icc-primary); border-radius: 2px; }

/* ---------- 3. Kernleistungen (L141) ---------- */
/* Plain single-class desktop ratio (mobile-rules.md §1: never .icc-page-prefixed
   so responsive.css's `.icc-page .icc-split { grid-template-columns: 1fr; }`
   still wins ≤768). */
.icc-split--kernleistungen { grid-template-columns: 1fr 1fr; gap: 84px; }
.icc-h2--kernleistungen { margin-bottom: 20px; }
.icc-kernleistungen__lead { font-size: 16.5px; line-height: 1.7; margin: 0 0 32px; }

.icc-check-list { display: flex; flex-direction: column; gap: 10px; }
.icc-check__label { font-size: 16px; font-weight: 600; color: var(--icc-navy); }
.icc-check__note { margin-left: auto; font-size: 13px; color: var(--icc-muted); }
.icc-check__icon { color: var(--icc-primary); }

/* Staircase 0/26/52/78/52/26/0 (design L155–L184). responsive.css zeroes this
   with `.icc-page .icc-check-row { margin-left: 0 !important; }` ≤768. */
.icc-check-list .icc-check-row:nth-child(2) { margin-left: 26px; }
.icc-check-list .icc-check-row:nth-child(3) { margin-left: 52px; }
.icc-check-list .icc-check-row:nth-child(4) { margin-left: 78px; }
.icc-check-list .icc-check-row:nth-child(5) { margin-left: 52px; }
.icc-check-list .icc-check-row:nth-child(6) { margin-left: 26px; }

/* ---------- 4. Erfolg (L189, id #erfolg — the "Über Uns" anchor) ---------- */
.icc-panel--erfolg {
  background: var(--icc-panel-gradient);
  border: 1px solid var(--icc-panel-border);
  padding: 84px 72px;
}
.icc-split--erfolg { grid-template-columns: auto 1fr; gap: 84px; }
.icc-h2--erfolg { font-size: var(--icc-h2-erfolg); line-height: 1.18; margin: 0 0 18px; }
.icc-erfolg__lead { font-size: 16.5px; line-height: 1.7; margin: 0 0 28px; max-width: 560px; }
.icc-erfolg__chips { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 5. Leistungsliste (L211) ---------- */
.icc-leistungsliste-section { padding: 110px 0 96px; }
.icc-h2--leistungsliste { margin: 0; }

.icc-geo-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.icc-geo-card__head h3 {
  font-family: var(--icc-font-head);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.icc-geo-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.icc-geo-card__link:hover { color: var(--icc-cta-eyebrow); }

/* ---- Referenzen (Vadim 2026-10-26, layout A): 3 × 3 logo cards before the FAQ ---- */
.icc-referenzen-section { padding: 0 0 8px; }
.icc-section-head--referenzen { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.icc-section-head--referenzen .icc-h2 { margin-top: 14px; }
.icc-referenzen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.icc-referenz {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  padding: 20px 24px;
  background: var(--icc-white);
  border: 1px solid var(--icc-border);
  border-radius: var(--icc-r-md);
  box-shadow: var(--icc-shadow-card);
}
.icc-referenz img { display: block; width: auto; height: auto; max-width: 100%; max-height: 52px; object-fit: contain; }
.icc-referenz img[src*="deinballkleid"] { max-height: 68px; }
/* Two columns on phones: the ninth logo sits centered under the grid. */
.icc-referenz:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
@media (min-width: 600px) {
  .icc-referenzen { grid-template-columns: repeat(3, 1fr); }
  .icc-referenz:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
}
@media (min-width: 961px) {
  .icc-referenzen { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .icc-referenz { height: 130px; padding: 26px 48px; }
  .icc-referenz img { max-height: 64px; }
  .icc-referenz img[src*="deinballkleid"] { max-height: 84px; }
}
