/* BigOrder – korrigierte CSS-Datei
   Primärfarbe: #51D908
*/

:root {
  --primary: #51D908;
  --primary-tint: #f2fce9;
  --text: #666666;
  --heading: #333333;
  --surface: #f7f7f7;
  --border: #e4e4e4;
  --ph-bg: #ececec;
  --ph-text: #999999;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 60px 0;
}

.section.gray {
  background: var(--surface);
}

p + p {
  margin-top: 12px;
}

.rule {
  width: 56px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 0 20px;
}

.center .rule {
  margin-left: auto;
  margin-right: auto;
}

.center {
  text-align: center;
}

.section-intro {
  max-width: 780px;
  margin: 0 auto 36px;
}

.container p a:not(.btn) {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn {
  display: inline-block;
  background: #666666;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 6px;
  text-decoration: none;
}

.btn:hover {
  background: #555555;
}

.btn:focus-visible {
  outline: 3px solid var(--heading);
  outline-offset: 2px;
}

main a:not(.btn) {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.wide {
  grid-template-columns: 1.15fr 1fr;
}

.columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 56px;
}

.columns-2 h3 {
  padding-left: 14px;
  border-left: 3px solid var(--primary);
}

.stakeholders {
  margin-top: 44px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 18px;
}

.stakeholder-grid h4 {
  font-size: 14px;
  color: var(--heading);
  margin-bottom: 4px;
}

.cta-mid {
  text-align: center;
  margin-top: 44px;
}

.list-check {
  list-style: none;
}

.list-check li {
  position: relative;
  padding: 5px 0 5px 26px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--primary);
  font-weight: 700;
}

.list-check strong {
  color: var(--heading);
}

.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 56px;
}

.dl-grid > div {
  padding: 10px 0 10px 14px;
  border-left: 3px solid var(--primary);
}

.dl-grid dt {
  font-weight: 700;
  color: var(--heading);
}

.dl-grid dd {
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.step::before {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(50% + 34px);
  width: calc(100% - 68px);
  height: 2px;
  background: var(--border);
}

.step:last-child::before {
  display: none;
}

.step-no {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 15px;
}

.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  font-size: 15px;
  margin: 0;
  display: inline;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq .answer {
  padding: 0 20px 16px;
}

.cta-final {
  background: var(--primary-tint);
  border: 1px solid #d8f3c2;
  border-radius: 8px;
  padding: 48px;
}

.cta-final .btn {
  margin-top: 22px;
}

.cta-final .ph {
  min-height: 240px;
  background: #ffffff;
}

/* Tablet */
@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }

  .step::before {
    display: none;
  }

  .stakeholder-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Smartphone */
@media (max-width: 768px) {
  h1 {
    font-size: 26px;
  }

  .section {
    padding: 44px 0;
  }

  .split,
  .split.wide,
  .columns-2,
  .dl-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .split,
  .split.wide {
    gap: 28px;
  }

  .split.imgfirst .ph {
    order: 2;
  }

  .ph {
    min-height: 200px;
  }

  .cta-final {
    padding: 28px 20px;
  }

  /* Bilder auf Smartphones automatisch an die verfügbare Breite anpassen */
  img {
    max-width: 100%;
    height: auto;
  }
}
