/* Landingpage — Portal */

.page--landing {
  gap: 34px;
  /* Hier deckt kaum Pergament den Marmor ab — der Text braucht mehr Grund. */
  background-image:
    linear-gradient(rgba(16, 11, 5, 0.8), rgba(16, 11, 5, 0.72)),
    url('../img/background.jpg');
}

.masthead--landing h1 { font-size: clamp(28px, 6vw, 52px); }

.masthead--landing .lede {
  max-width: 46ch;
  margin: 18px auto 0;
  font-family: var(--serif);
  font-size: clamp(15px, 2vw, 19px);
  font-style: italic;
  letter-spacing: 0;
  color: #e2d3b2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

.section { width: min(1080px, 100%); }

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(13px, 1.8vw, 16px);
  letter-spacing: 0.3em;
  color: var(--gold);
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.section-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(203, 171, 110, 0.55), rgba(203, 171, 110, 0));
}

.section-head .section-de {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-dim);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.card {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(120, 88, 40, 0.5);
  border-radius: 4px;
  background: linear-gradient(180deg, var(--parchment-top), var(--parchment-bottom));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), var(--frame-inset);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.6), var(--frame-inset);
}

.card:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

.card-emblem {
  flex: 0 0 auto;
  width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 18px;
  border-right: 1px solid var(--rule-faint);
}

.card-emblem svg { width: 100%; height: auto; display: block; }

.card-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.card-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 21px);
  letter-spacing: 0.13em;
  color: var(--ink);
}

.card-de {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--brass);
}

.card-desc {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-faint);
}

/* Noch nicht gebaute Einträge: sichtbar, aber ohne Versprechen. */
.card--soon {
  background: linear-gradient(180deg, rgba(244, 232, 206, 0.62), rgba(232, 216, 183, 0.55));
  border-style: dashed;
  box-shadow: none;
  cursor: default;
}

.card--soon:hover { transform: none; box-shadow: none; }
.card--soon .card-name { color: rgba(61, 42, 17, 0.72); }
.card--soon .card-de { color: rgba(138, 90, 27, 0.8); }
.card--soon .card-desc { color: rgba(61, 42, 17, 0.68); }
.card--soon .card-emblem { opacity: 0.55; }

@media (max-width: 520px) {
  .card { flex-direction: column; gap: 12px; padding: 18px; }
  .card-emblem {
    width: 56px;
    padding-right: 0;
    padding-bottom: 12px;
    border-right: none;
    border-bottom: 1px solid var(--rule-faint);
  }
  .cards { grid-template-columns: 1fr; }
}
