/* ==================================================
   CONTENT LAYOUT
================================================== */
.content-area {
  margin-top: var(--header-height);
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  flex: 1;
  padding: 4rem;
  line-height: 1.5;
}
/* ==================================================
   TYPOGRAPHY
================================================== */
.product-box {
  margin-bottom: 1.5rem;
}
.content-area h1,
.content-area h2,
.product-content h1,
.product-content h2,
.main-content h1,
.main-content h2 {
  margin-bottom: 0.75em;
}
.content-area h3,
.product-content h3,
.main-content h3 {
  color: var(--hero-color-button);
  margin-bottom: 0.5em;
}
.content-area p,
.product-content p,
.main-content p {
  margin-bottom: 0.75em;
}
.content-area ul,
.product-content ul,
.main-content ul {
  padding-left: 1.5em;
  list-style-position: outside;
}
.content-area li,
.product-content li,
.main-content li {
  margin: 0.5em 0;
}
/* ==================================================
   SECTIONS
================================================== */
.section {
  padding-top: 2.5rem;
}
.hero-section {
  background: var(--hero-color-header);
  border-radius: 5px;
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.308);
}
.content-box {
  border-radius: 5px;
  padding: 1.5rem;
  margin-top: 1rem;
}

/* ==================================================
   CARD BASE
================================================== */
.product-card,
.info-card,
.benefit-item,
.stat-card,
.comparison-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-card,
.benefit-item,
.stat-card,
.comparison-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.info-card:hover,
.benefit-item:hover,
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
/* ==================================================
   PRODUCT GRID
================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.product-card {
  padding: 1.5rem;
}
/* ==================================================
   STATS
================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  border-top: 4px solid val(--hero-color);
  text-align: center;
  padding: 2rem;
}
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--hero-color);
}
.stat-label {
  display: block;
  margin-top: 0.5rem;
}

/* ==================================================
   BENEFITS
================================================== */
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.benefit-item {
  flex: 1 1 220px;
  min-width: 0;
  overflow-wrap: break-word;
  border-left: 6px solid var(--col-green);
  padding: 1rem;
}
/* ==================================================
   INFO-CADR
================================================== */
.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.info-card {
  flex: 1 1 300px;
  min-width: 0;
  border-top: 4px solid var(--hero-color);
  padding: 1rem;
}
/* ==================================================
   FEATURE TAGS
================================================== */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.feature-tags span {
  background: #eef4f9;
  color: var(--hero-color);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
/* ==================================================
   COMPARISON
================================================== */
.comparison-grid {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.comparison-card {
  flex: 1;
  min-width: 280px;
  padding: 2rem;
}
.before {
  border-top: 4px solid var(--col-red);
}
.after {
  border-top: 4px solid var(--col-green);
}
.comparison-arrow {
  font-size: 3rem;
  font-weight: bold;
  color: var(--hero-color);
}
/* ==================================================
   PROCESS BULK FLOW
================================================== */
.offer-process,
.workflow,
.bulk-flow,
.process-flow {
  display: flex;
  /* justify-content: center; */
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}
.offer-step,
.workflow-step,
.bulk-node,
.process-node {
  flex: 1 1 240px;
  /* max-width: 260px; */
  /* min-height: 100px; */

  display: flex;
  flex-direction: column;

  background: white;
  border-top: 4px solid var(--hero-color);
  border-radius: 14px;

  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.final {
  border-color: var(--col-green);
}
.bulk-node-number {
  width: 2.5rem;
  height: 2.5rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--hero-color);
  color: white;

  font-size: 1.2rem;
  font-weight: 700;

  margin: 0 auto 1rem auto;
}
.offer-step:hover,
.workflow-step:hover,
.bulk-node:hover,
.process-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.offer-step h3,
.workflow-step h3,
.bulk-node h3,
.process-node h3 {
  margin-top: 0;
}
.offer-arrow,
.workflow-arrow,
.bulk-arrow,
.process-arrow {
  width: 40px;
  height: 3px;
  background: #cfd8dc;
  position: relative;
  align-self: center;
}
.offer-arrow::after,
.workflow-arrow::after,
.bulk-arrow::after,
.process-arrow::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -5px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #cfd8dc;
}
/* ==================================================
   ABRECHNGUNEN BEISPIEL
================================================== */
.abrech-example {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.abrech-input,
.abrech-result {
  flex: 1;
  min-width: 320px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.abrech-input h3,
.abrech-result h3 {
  margin-bottom: 1rem;
  color: var(--hero-color);
}
.abrech-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ececec;
}
.abrech-arrow {
  font-size: 2rem;
  font-weight: bold;
  color: var(--hero-color);
}
.abrech-billitem {
  background: #f7fafc;
  border-left: 5px solid var(--col-green);
  padding: 1rem;
  border-radius: 8px;
}
.billitem-description {
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.billitem-meta {
  color: #666;
  margin-top: 0.25rem;
}
.billitem-price {
  margin-top: 1rem;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--col-green);
}
/* ==================================================
   HIGHLIGHTS
================================================== */
.hero-highlight {
  background: var(--hero-color-highlight);
  border-left: 5px solid var(--hero-color);
  border-right: 5px solid var(--hero-color);
  padding: 1.2rem;
  margin: 2rem 0;
  border-radius: 8px;
}

/* ==================================================
   CTA BUTTONS
================================================== */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 1.5rem;
  text-decoration: none;
  border-radius: 10px;
  min-width: 20rem;
  font-weight: 400;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.85;
  transform: translateX(3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}
.btn-primary {
  background: var(--hero-color-button);
  color: white;
  border: 2px solid var(--hero-color-button);
}
.btn-secondary {
  background: white;
  color: var(--hero-color);
  border: 2px solid var(--hero-color-button);
}
/* ==================================================
   FAQ
================================================== */
details {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--hero-color);
}
details p {
  margin-top: 1rem;
}
/* ==================================================
   CONTACT
================================================== */
.contact-box {
  text-align: center;
  background: linear-gradient(180deg, #f8fafc, #eef4f9);
  border-radius: 16px;
}
/* ==================================================
   RESPONSIVE TABLET
================================================== */
@media (max-width: 1050px) {
  .content-area,
  .product-content,
  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 2rem;
  }
  .comparison-grid {
    flex-direction: column;
    gap: 0.5rem;
  }

  .comparison-arrow {
    transform: rotate(90deg);
  }
  .offer-step,
  .workflow-step,
  .bulk-node,
  .process-node {
    flex: none;
    min-height: auto;
    min-width: 50%;
    padding: 0.5rem;
    align-self: center;
  }
  .bulk-node-number {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.9rem;
  }
  .offer-process,
  .workflow,
  .bulk-flow,
  .process-flow {
    flex-direction: column;
  }
  .offer-arrow,
  .workflow-arrow,
  .bulk-arrow,
  .process-arrow {
    width: 3px;
    height: 30px;
  }
  .offer-arrow::after,
  .workflow-arrow::after,
  .bulk-arrow::after,
  .process-arrow::after {
    content: "";
    position: absolute;

    left: 50%;
    margin-left: -6px;

    right: auto;
    top: auto;
    bottom: -10px;

    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #cfd8dc;
    border-bottom: 0;
  }
  .abrech-example {
    flex-direction: column;
  }
  .abrech-arrow {
    transform: rotate(90deg);
  }

  .billitem-price {
    font-size: 0.9rem;
  }
  .feature-tags span {
    padding: 0.3rem 0.6rem;
    font-size: 10px;
  }

  .benefits,
  .benefits-grid {
    flex-direction: column;
    gap: 0.5rem;
  }
  .benefit-item {
    flex: none;
    width: 100%;
    box-sizing: border-box;
    min-height: auto;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
  }
  .btn-primary,
  .btn-secondary {
    min-width: 0;
  }
  .stat-card {
    padding: 0.5rem;
  }
  .stat-number {
    font-size: 1.5rem;
  }
}
/* ==================================================
   RESPONSIVE MOBILE
================================================== */
@media (max-width: 600px) {
  .content-area,
  .product-content,
  .main-content {
    padding: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  .stat-number {
    font-size: 1.2rem;
  }
  .feature-tags span {
    padding: 0.22rem 0.5rem;
    font-size: 8.5px;
  }
}
