/* =====================================================================
   SEITENWIRKUNG — Branchen-Landingpages (Ergänzung zu styles.css)
   Nutzt dieselben Design-Tokens. Nur die Extra-Sektionen, die es auf der
   Startseite so nicht gibt: Hero-Rahmen, Foto-Galerie, Feature-Grid,
   Branchen-Cross-Links, Preis-CTA, Abschluss-CTA.
   ===================================================================== */

/* ---- Brotkrümel ---- */
.lp-crumbs {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--ink-faint);
  margin-bottom: 0.4rem;
}
.lp-crumbs a { color: var(--ink-soft); font-weight: 600; }
.lp-crumbs a:hover { color: var(--accent); }
.lp-crumbs span[aria-hidden] { color: var(--line-strong); }

/* ---- Hero-Bild: hochwertiger Rahmen + Schweber ---- */
.lp-hero { padding-top: clamp(1.5rem, 0.5rem + 3vw, 3rem); }
.lp-figure { position: relative; margin-inline: auto; max-width: 100%; }
.lp-figure__img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--paper-2);
}
/* Schweber erben .floaty aus styles.css; hier nur Feintuning fürs <figcaption> */
.lp-figure .floaty { margin: 0; }
@media (max-width: 620px) {
  .lp-figure .floaty--tl { top: -14px; left: -8px; }
  .lp-figure .floaty--br { bottom: 10px; right: -8px; }
}

/* ---- Feature-Grid (Branchen-Vorteile) ---- */
.lp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 0.5rem + 1.5vw, 1.5rem);
}
.lp-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 1rem + 1vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lp-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.lp-feature__icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 1rem;
}
.lp-feature__icon svg { width: 24px; height: 24px; }
.lp-feature h3 { font-size: 1.14rem; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.lp-feature p { font-size: 0.96rem; }

/* ---- Foto-Galerie: echte Mockups, alle im selben 4:3-Format ----
   Sechs-Spalten-Raster: zwei breite Kacheln oben (je halbe Reihe),
   drei gleich große darunter. Keine Lücken, keine Ausreißer. */
.lp-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.9rem, 0.6rem + 1vw, 1.4rem) clamp(0.7rem, 0.4rem + 1vw, 1.1rem);
}
.lp-shot {
  grid-column: span 2;
  margin: 0;
  min-width: 0;
}
.lp-shot--wide { grid-column: span 3; }
.lp-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper-3);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
@media (hover: hover) {
  .lp-shot:hover img { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
}
/* Beschriftung unter dem Bild – so bleibt das Mockup selbst unverdeckt. */
.lp-shot__cap {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.7rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--ink-soft);
}
.lp-shot__cap::before {
  content: ""; flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* Tablet: eine große Kachel oben, darunter ein sauberes 2x2-Feld. */
@media (max-width: 1060px) {
  .lp-gallery { grid-template-columns: repeat(2, 1fr); }
  .lp-shot, .lp-shot--wide { grid-column: span 1; }
  .lp-shot:first-child { grid-column: span 2; }
}
/* Handy: eine ruhige Spalte – gleiche Größe, gleiche Reihenfolge, kein Springen. */
@media (max-width: 720px) {
  .lp-gallery { grid-template-columns: 1fr; gap: 1.25rem; }
  .lp-shot, .lp-shot--wide, .lp-shot:first-child { grid-column: 1 / -1; }
  .lp-shot img { border-radius: var(--radius); }
  .lp-shot__cap { margin-top: 0.55rem; font-size: 0.88rem; }
}

/* ---- Preis-CTA unter „Alles inklusive“ (in der dunklen Sektion) ---- */
.lp-price-cta {
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.5rem;
  text-align: center;
}
.lp-price { color: rgba(246,244,239,0.82); font-size: 0.98rem; }
.lp-price strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: #fff; letter-spacing: -0.02em;
  margin-right: 0.15rem;
}

/* ---- Branchen-Cross-Links ---- */
.lp-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.7rem, 0.4rem + 1vw, 1rem);
}
.lp-branch {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lp-branch:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.lp-branch__ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  transition: background-color 0.25s var(--ease);
}
.lp-branch:hover .lp-branch__ic { background: var(--accent); }
.lp-branch__ic svg { width: 22px; height: 22px; }
.lp-branch__t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lp-branch__t strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.lp-branch__t span { font-size: 0.82rem; color: var(--ink-faint); }
.lp-branch__arrow { margin-left: auto; color: var(--ink-faint); flex: none; transition: transform 0.25s var(--ease), color 0.25s var(--ease); }
.lp-branch:hover .lp-branch__arrow { color: var(--accent); transform: translateX(3px); }

/* ---- Abschluss-CTA ---- */
.lp-final { text-align: center; }
.lp-final__cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.lp-final .btn-ghost { --btn-fg: #fff; border-color: rgba(255,255,255,0.28); }
.lp-final .btn-ghost:hover { --btn-bg: rgba(255,255,255,0.08); border-color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .lp-features, .lp-branches { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .lp-features, .lp-branches { grid-template-columns: 1fr; }
}
