/* ============================================================
   Landing page (index) — page-specific styles
   ============================================================ */

/* landing page head is wider and has more breathing room */
.page-head { margin-bottom: 48px; max-width: 760px; }
.page-head h1 { margin: 0 0 18px; }

/* ============================================================
   Landing boxes  (3 horizontal cards linking to the forms)
   ============================================================ */
.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.box {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--card-shadow);
  transition: border-color .2s ease;
}
.box:hover { border-color: var(--inexogy-green); }

.box h2 {
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 12px;
}
.box p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.box-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
}
.box-cta svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   Marktpartnerinformationen  (EDIFACT / MaKo codes + downloads)
   ============================================================ */
.mako {
  margin-top: 64px;
  padding: 40px 44px 44px;
  background: var(--mako-bg);     /* subtle raised panel – distinct from page, softer than the cards */
  border: 1px solid var(--border-card);
  border-radius: 12px;
}
.mako-head { margin-bottom: 36px; max-width: 760px; }
.mako-eyebrow {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.mako-head h2 {
  font-weight: 900;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.5px;
  margin: 0;
}

.mako-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  margin-bottom: 40px;
}
.mako-code {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.mako-code-label {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.mako-code-value {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  font-variant-numeric: tabular-nums;
}

.mako-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}
.mako-group h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-card);
}
.mako-list { list-style: none; margin: 0; padding: 0; }
.mako-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
  transition: color .2s ease;
}
.mako-link + .mako-link,
.mako-list li + li .mako-link { border-top: 1px solid var(--border-card); }
.mako-link:hover { color: var(--accent); }
.mako-link svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .box-grid { grid-template-columns: 1fr; }
  .mako-downloads { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .page-head h1 { font-size: 30px; }
  .box { padding: 24px; }
  .mako { padding: 28px 22px 30px; margin-top: 48px; }
}