/* Landing Page – Hub-Kacheln */

.page-home article.content.prose {
  max-width: 100%;
}

.page-home article.content.prose > section + section {
  margin-top: 2.5rem;
}

/* Hero */
.hub-hero {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  text-align: center;
}

.hub-hero__figure {
  margin: 0 auto;
  max-width: 14rem;
}

.hub-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(27, 67, 50, 0.22);
  border: 4px solid var(--color-surface);
}

.hub-hero__text { max-width: 36rem; margin: 0 auto; }

.hub-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 0.35em;
  line-height: 1.15;
}

.hub-hero__subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.hub-hero__lead {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.68;
  margin: 0;
}

@media (min-width: 720px) {
  .hub-hero {
    grid-template-columns: min(14rem, 32%) 1fr;
    text-align: left;
    gap: 2.5rem;
  }

  .hub-hero__figure { margin: 0; }
}

/* Intro */
.hub-intro h2::after {
  content: "";
  display: block;
  height: 1px;
  margin: 0.9rem 0 0;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.22), transparent);
}

/* Kacheln */
.hub-cards__lead {
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

.hub-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1.1rem;
}

.hub-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  min-height: 100%;
}

.hub-card:hover,
.hub-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(27, 67, 50, 0.14);
  border-color: rgba(var(--accent-rgb), 0.35);
  text-decoration: none;
}

.hub-card--soon {
  opacity: 0.72;
  cursor: default;
  background: rgba(255, 255, 255, 0.65);
  border-style: dashed;
}

.hub-card--soon:hover {
  transform: none;
  box-shadow: var(--shadow-card);
  border-color: var(--color-border);
}

.hub-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.45rem;
}

.hub-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.55rem;
  line-height: 1.25;
}

.hub-card__text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.hub-card__cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent-hover);
}

.hub-card__cta--muted {
  color: var(--color-muted);
  font-weight: 600;
}

.hub-card:hover .hub-card__cta,
.hub-card:focus-visible .hub-card__cta {
  text-decoration: underline;
}
