/* ==========================================================================
   landingpage.css — geteilte Komponenten fuer die kommerziellen
   Landingpages (Grosshandel, Geo-Standorte, Preise).
   Nutzt globale Tokens aus shared.css (--red, --stone-*, --white,
   --font-serif, --gap, --red-light). Nur NEUE Komponenten hier;
   Hero/Section/Buttons/Cards kommen aus shared.css + hub.css.
   ========================================================================== */

/* ── Hero: hero--sub-Hoehe wie /materialwelten (hero-sub.css wird auf Landingpages nicht geladen) ── */
body.page-landingpage .hero--sub { min-height: 50vh; }
@media (max-width: 640px) { body.page-landingpage .hero--sub { min-height: 45vh; } }

/* ── Trust-Strip: vier Scale-Zahlen direkt unter dem Hero ──────────────── */
.lp-trust {
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
}
.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.lp-trust-item {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 1rem;
  border-left: 1px solid var(--stone-200);
}
.lp-trust-item:first-child { border-left: none; }
.lp-trust-value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.lp-trust-label {
  font-size: 0.875rem;
  color: var(--stone-500);
  line-height: 1.45;
}

/* ── Dual-Routing-Weiche: zwei gleichwertige Auswahlkarten ─────────────── */
.lp-weiche {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.lp-weiche-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 14px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.lp-weiche-card:hover {
  box-shadow: 0 16px 48px rgba(42, 36, 30, 0.10);
  border-color: var(--stone-300);
  transform: translateY(-4px);
}
.lp-weiche-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--stone-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 1.25rem;
}
.lp-weiche-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.lp-weiche-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--stone-900);
  margin-bottom: 0.625rem;
}
.lp-weiche-card p {
  font-size: 0.9375rem;
  color: var(--stone-500);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}
.lp-weiche-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.lp-weiche-actions .btn { width: 100%; justify-content: center; }
.lp-weiche-actions .lp-tel {
  font-size: 0.875rem;
  color: var(--stone-500);
  text-align: center;
  margin-top: 0.25rem;
}
.lp-weiche-actions .lp-tel a { color: var(--red); font-weight: 500; }

/* ── Standort-Karten (Geo) ─────────────────────────────────────────────── */
.lp-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
/* Single-Standort-Seiten (Geo): eine linksbündige, begrenzte Karte statt halb-leerer 2-Spalten-Reihe */
.lp-locations--single { grid-template-columns: minmax(0, 640px); }
.lp-loc {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.lp-loc h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--stone-900);
  margin-bottom: 0.25rem;
}
.lp-loc-region {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.lp-loc address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--stone-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.lp-loc p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--stone-600);
  margin-bottom: 0.5rem;
}
.lp-loc p svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; }
.lp-loc a { color: var(--stone-700); }
.lp-loc a:hover { color: var(--red); }
.lp-loc-hours { color: var(--stone-500); font-size: 0.875rem; }
.lp-loc-area {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-100);
  font-size: 0.875rem;
  color: var(--stone-500);
  line-height: 1.55;
}

/* ── FAQ-Akkordeon (identisch zur Material-Detailseite, "aus einem Guss") ── */
.lp-faq.faq-list { max-width: 800px; display: flex; flex-direction: column; gap: 0.75rem; }
.lp-faq .faq-item { background: var(--white); border: 1px solid var(--stone-200); border-radius: 12px; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.lp-faq .faq-item[open] { border-color: var(--stone-300); box-shadow: 0 4px 20px rgba(42,36,30,0.06); }
.lp-faq .faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; user-select: none; font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 500; color: var(--stone-800); transition: background 0.2s, color 0.2s; }
.lp-faq .faq-item summary::-webkit-details-marker { display: none; }
.lp-faq .faq-item summary::marker { display: none; content: ''; }
.lp-faq .faq-item summary:hover { background: var(--stone-50); color: var(--stone-900); }
.lp-faq .faq-chevron { width: 20px; height: 20px; color: var(--stone-400); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); flex-shrink: 0; }
.lp-faq .faq-item[open] summary .faq-chevron { transform: rotate(180deg); }
.lp-faq .faq-item-body { padding: 0 1.5rem 1.5rem; border-top: 1px solid var(--stone-100); }
.lp-faq .faq-item-body p { font-size: 0.9375rem; line-height: 1.7; color: var(--stone-600); margin-top: 1rem; }
.lp-faq .faq-item-body a { color: var(--red); font-weight: 500; }
.lp-faq .faq-item-body a:hover { text-decoration: underline; }

/* ── Dreifach-CTA-Reihe (Beratung / Termin / Verarbeiter) ──────────────── */
.lp-tri-cta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.lp-tri-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.lp-tri-card:hover {
  box-shadow: 0 12px 40px rgba(42, 36, 30, 0.08);
  border-color: var(--stone-300);
  transform: translateY(-3px);
}
.lp-tri-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--stone-100); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.lp-tri-card h3 { font-family: var(--font-serif); font-size: 1.1875rem; color: var(--stone-900); margin-bottom: 0.5rem; }
.lp-tri-card p { font-size: 0.875rem; color: var(--stone-500); line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }

/* ── Mobiler Sticky-Footer-CTA (Dual-Pfad) ─────────────────────────────── */
.lp-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  background: var(--white);
  border-top: 1px solid var(--stone-200);
  box-shadow: 0 -4px 24px rgba(42, 36, 30, 0.08);
  padding: 0.625rem;
  gap: 0.5rem;
}
.lp-sticky-cta .btn { flex: 1; justify-content: center; font-size: 0.875rem; }

/* ── Prosa-Block (Fliesstext-Sektionen) ────────────────────────────────── */
.lp-prose { max-width: 44em; }
.lp-prose p { font-size: 1rem; color: var(--stone-600); line-height: 1.75; margin-bottom: 1rem; }
.lp-prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.lp-prose ul li { font-size: 1rem; color: var(--stone-600); line-height: 1.7; margin-bottom: 0.4rem; }
.lp-prose ul li::marker { color: var(--red); }
/* In-column Section-Header: Flair (.section-label) + Titel stehen als <p>/<h2> in der Textspalte eines lp-split.
   .lp-prose p wuerde .section-label sonst grau + auf 1rem ueberschreiben - hier wieder auf die Label-Spec setzen. */
.lp-prose .section-label { font-size: 0.75rem; line-height: 1.6; color: var(--red); margin-bottom: 0.75rem; }

/* ── Prosa + Bild (zweispaltig, balanciert) ────────────────────────────── */
.lp-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.lp-split-media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--stone-100);
}
.lp-split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-split .lp-prose { max-width: none; }
/* Standort-Split: Bild rechts fuellt die volle Hoehe der Adress-Spalte (cover) statt fixer 4/3-Box.
   Nur Desktop - im gestapelten Mobile-Layout behaelt das Bild seine 16/9-Box (sonst kollabiert es). */
#standort .lp-split { align-items: stretch; }
@media (min-width: 769px) { #standort .lp-split-media { aspect-ratio: auto; } }

/* ── Anwendungs-Grid (Icon-Kacheln) ────────────────────────────────────── */
.lp-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.lp-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.75rem 1rem;
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.lp-app-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(42, 36, 30, 0.08);
  border-color: var(--stone-300);
}
.lp-app-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--stone-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  transition: background 0.3s;
}
.lp-app-item:hover .lp-app-icon { background: rgba(180, 28, 28, 0.08); }
.lp-app-icon svg { width: 24px; height: 24px; }
.lp-app-label {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--stone-900);
  line-height: 1.25;
}

/* ── Callout (umrandete Akzent-Box) ────────────────────────────────────── */
.lp-callout {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: 14px;
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}
.lp-callout-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(180, 28, 28, 0.08);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.lp-callout h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--stone-900);
  margin-bottom: 0.75rem;
}
.lp-callout p {
  font-size: 1rem;
  color: var(--stone-500);
  line-height: 1.7;
  max-width: 40em;
}
.lp-callout-actions { display: flex; flex-direction: column; gap: 0.625rem; flex-shrink: 0; }

/* ── Material-Cluster (Geo-Seiten Sortiment) ───────────────────────────── */
.lp-cluster-list { display: grid; gap: 1.5rem; }
.lp-cluster { padding-left: 1.25rem; border-left: 3px solid var(--red); }
.lp-cluster h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--stone-900);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.lp-cluster p { color: var(--stone-600); line-height: 1.65; max-width: 70ch; }
.lp-cluster a { color: var(--red); }
.lp-cluster a:hover { text-decoration: underline; }

/* ── Check-Liste (B2B-Leistungen) ──────────────────────────────────────── */
.lp-check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.6rem; }
.lp-check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--stone-700);
  line-height: 1.5;
}
.lp-check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em;
  width: 1.1rem; height: 1.1rem;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── Preis-Orientierungs-Tabelle (/preise) ─────────────────────────────── */
.lp-price-table-wrap { max-width: 760px; }
.lp-price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  overflow: hidden;
}
.lp-price-table th,
.lp-price-table td {
  text-align: left;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--stone-100);
  vertical-align: baseline;
}
.lp-price-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-500);
  background: var(--stone-50);
}
.lp-price-table tbody tr:last-child td { border-bottom: none; }
.lp-price-table tbody tr:hover { background: var(--stone-50); }
.lp-price-table td a { color: var(--stone-900); font-weight: 600; }
.lp-price-table td a:hover { color: var(--red); }
.lp-price { color: var(--red); font-weight: 700; white-space: nowrap; }
.lp-price-note { color: var(--stone-500); font-size: 0.875rem; display: block; margin-top: 0.15rem; }
.lp-price-disclaimer {
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--stone-500);
}

/* ── Vollständige Card-Grids (Spaltenzahl teilt Item-Zahl, nie verwaiste Reihe) ── */
.lp-grid-3, .lp-grid-4 { display: grid; gap: var(--gap); }
.lp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* 6 Items -> 3+3 */
.lp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* 8 Items -> 4+4 */
@media (max-width: 1024px) { .lp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* 8 -> 2x4 */
@media (max-width: 900px)  { .lp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* 6 -> 2x3 */
@media (max-width: 560px)  { .lp-grid-3, .lp-grid-4 { grid-template-columns: 1fr; } }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-trust-item:nth-child(3) { border-left: none; }
  .lp-trust-item:nth-child(2) { border-left: 1px solid var(--stone-200); }
  .lp-tri-cta { grid-template-columns: 1fr; }
  .lp-app-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-split { grid-template-columns: 1fr; }
  .lp-split-media { aspect-ratio: 16 / 9; order: -1; }
  .lp-callout { grid-template-columns: 1fr; text-align: left; }
  .lp-callout-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .lp-weiche { grid-template-columns: 1fr; }
  .lp-locations { grid-template-columns: 1fr; }
  .lp-sticky-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: 4.5rem; }
  /* Hero-Text-Lesbarkeit auf Mobil: gleichmaessiger, kraeftiger Scrim,
     unabhaengig vom Bild-Crop (sonst liegt der Desc ueber hellen Platten). */
  body.page-landingpage .hero--sub .hero-bg::after {
    background: linear-gradient(180deg, rgba(26,22,19,0.58) 0%, rgba(26,22,19,0.72) 60%, rgba(26,22,19,0.82) 100%);
  }
}
@media (max-width: 480px) {
  .lp-app-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .lp-trust-grid { grid-template-columns: 1fr 1fr; }
}
