/* ==========================================================================
   Packora Heimarbeit — Landing sections (Hero facts, Was Sie tun,
   So rechnet es sich, So läuft es ab, Fragen)
   ========================================================================== */

.bg-white { background: var(--bg-white); }

/* ---------- Hero ---------- */
/* Single static slide: let it grow with its content instead of being absolute */
.hero-section .hero-slide.active {
  position: relative;
  min-height: 560px;
}
.lp-hero-line { display: block; }
.hero-content { max-width: 760px; animation: lpFadeUp 0.7s ease both; }
.hero-description { font-size: 1.05rem; max-width: 620px; }

.lp-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.lp-hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #E5E7EB;
  font-size: 0.85rem;
  font-weight: 600;
}
.lp-hero-facts i { color: #FCD34D; font-size: 0.85rem; }

/* ---------- Was Sie tun ---------- */
.lp-task-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.lp-task-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.lp-task-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 132, 255, 0.35);
}
.lp-task-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice-blue); }
.lp-task-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.lp-task-card:hover .lp-task-img img { transform: scale(1.06); }
.lp-task-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem 1.15rem;
}
.lp-task-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-bright));
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-blue);
}
.lp-task-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark-navy);
}

.lp-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  background: var(--ice-blue);
  border: 1px solid var(--ice-card);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1.55;
}
.lp-note i { color: var(--primary-blue); margin-top: 0.2rem; }

/* ---------- So rechnet es sich ---------- */
.lp-calc-section {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 132, 255, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 85% 100%, rgba(252, 211, 77, 0.10) 0%, transparent 55%),
    var(--deepest-navy);
  color: #fff;
  overflow: hidden;
}
.lp-calc-lead {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  background: rgba(252, 211, 77, 0.14);
  border: 1px solid rgba(252, 211, 77, 0.45);
  color: #FCD34D;
  font-weight: 800;
  font-size: 1.1rem;
}
.lp-calc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 820px;
  margin: 0 auto;
}
.lp-calc-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transition: var(--transition-smooth);
}
.lp-calc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 211, 77, 0.45);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}
.lp-calc-num { font-size: 1.05rem; font-weight: 600; color: #CBD5E1; }
.lp-calc-eq { font-size: 1rem; color: #64748B; font-weight: 700; }
.lp-calc-result {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-calc-arrow { color: #38BDF8; font-size: 1.3rem; flex-shrink: 0; }
.lp-calc-disclaimer {
  max-width: 680px;
  margin: 2rem auto 0;
  text-align: center;
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- So läuft es ab ---------- */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}
.lp-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.lp-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lp-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.lp-step-body h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.4rem;
}
.lp-step-tag {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  font-size: 0.78rem;
  font-weight: 800;
}
.lp-step-body p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.55; }

/* ---------- Fragen ---------- */
.lp-faq-container { max-width: 820px; }
.lp-faq { display: flex; flex-direction: column; gap: 0.75rem; }
.lp-faq-item {
  background: #FAFBFF;
  border: 1px solid #E3ECF8;
  border-radius: 14px;
  transition: var(--transition-fast);
}
.lp-faq-item[open] { background: #fff; border-color: rgba(0, 132, 255, 0.35); box-shadow: var(--shadow-sm); }
.lp-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-navy);
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary i { color: var(--primary-blue); transition: transform 0.25s ease; font-size: 0.85rem; }
.lp-faq-item[open] summary i { transform: rotate(180deg); }
.lp-faq-item p {
  padding: 0 1.35rem 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

@keyframes lpFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
}
@media (max-width: 991px) {
  .lp-task-grid, .lp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-section .hero-slide.active { min-height: 0; }
  .hero-container { padding-top: 2rem; padding-bottom: 2.5rem; }
  .lp-hero-facts li { font-size: 0.8rem; }
  .lp-task-grid { gap: 0.85rem; }
  .lp-task-body { flex-direction: column; align-items: flex-start; padding: 0.85rem; }
  .lp-task-body h3 { font-size: 0.9rem; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-step { flex-direction: row; align-items: flex-start; }
  .lp-calc-row { flex-direction: column; }
  .lp-calc-card { width: 100%; }
  .lp-calc-arrow { transform: rotate(90deg); }
  .lp-calc-result { font-size: 2.1rem; }
}

/* ---------- Section Partenaires & Matériaux (Milestone Showcase) ---------- */
.partner-showcase-section {
  background: #FFFFFF;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid #EEF2F6;
}

.partner-milestone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .partner-milestone-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
  }
}

.p-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(12, 35, 64, 0.12);
  background: var(--dark-navy);
}

.p-img-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}

.p-img-card:hover img {
  transform: scale(1.02);
}

.p-floating-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(12, 35, 64, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid rgba(0, 132, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.p-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 132, 255, 0.2);
  color: #00A3FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.p-badge-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #00A3FF;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.p-badge-info span {
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.3;
}

.p-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: #E0F2FE;
  color: #0284C7;
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.p-showcase-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.p-showcase-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.p-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.p-stat-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.15rem 0.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  transition: all 0.2s ease;
}

.p-stat-box:hover {
  border-color: #CBD5E1;
  background: #F1F5F9;
}

.p-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.p-stat-icon {
  font-size: 1.6rem;
  color: var(--primary-blue);
  margin-bottom: 0.35rem;
}

.p-stat-lbl {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 600;
  line-height: 1.25;
}

.partner-divider {
  border: none;
  border-top: 1px solid #EEF2F6;
  margin: 3.5rem 0 2rem;
}

.partner-brands-title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748B;
  margin-bottom: 1.5rem;
}

.partner-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.partner-logo-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-logo-card:hover {
  transform: translateY(-2px);
  border-color: #0084FF;
  box-shadow: 0 6px 16px rgba(0, 132, 255, 0.12);
}

.plc-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.plc-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.plc-text strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0C2340;
  line-height: 1.2;
  white-space: nowrap;
}

.plc-text span {
  font-size: 0.72rem;
  color: #64748B;
  line-height: 1.25;
  margin-top: 0.15rem;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .partner-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .partner-showcase-section { padding: 3rem 0; }
  .p-showcase-title { font-size: 1.7rem; }
  .p-img-card img { height: 300px; }
  .p-stats-row { gap: 0.6rem; }
  .p-stat-box { padding: 0.85rem 0.5rem; min-height: 84px; }
  .p-stat-num { font-size: 1.45rem; }
  .p-stat-icon { font-size: 1.35rem; }
  .p-stat-lbl { font-size: 0.72rem; }
}

@media (max-width: 640px) {
  .partner-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .partner-logo-card {
    padding: 0.65rem 0.7rem;
  }
  .p-floating-badge {
    bottom: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    padding: 0.75rem 0.85rem;
  }
}
