/**
 * KI-Kreativsuite – Übersichtsseite im Stil des Site-Templates (NewsPulse-Tokens --np-*)
 * (C) 2026 lunde24.de – GPL-2.0-or-later
 */
.ks-home { --ks-accent: var(--np-accent, #e11d48); }
.ks-home__head { margin-bottom: var(--np-gap, 24px); border-bottom: 1px solid var(--np-border, #e3e5eb); padding-bottom: 1.25rem; }
.ks-home__head h1 { margin: .6rem 0 .4rem; font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
.ks-home__lead { margin: 0; max-width: 62ch; font-size: 1.1rem; color: var(--np-muted, #646b7a); }

.ks-home__grid {
  display: grid; gap: var(--np-gap, 24px);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-bottom: var(--np-gap, 24px);
}
.ks-tile {
  position: relative; display: flex; flex-direction: column; gap: 1rem;
  background: var(--np-surface, #fff);
  border: 1px solid var(--np-border, #e3e5eb);
  border-radius: var(--np-radius, 14px);
  box-shadow: var(--np-shadow, 0 4px 16px rgba(16, 24, 40, .06));
  padding: 1.35rem 1.35rem 1.25rem;
  color: var(--np-text, #151821) !important;
  text-decoration: none !important;
  transition: transform .3s var(--np-ease, ease), box-shadow .3s;
  overflow: hidden;
}
.ks-tile::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--ks-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--np-ease, ease);
}
.ks-tile:hover { transform: translateY(-4px); box-shadow: var(--np-shadow-lg, 0 12px 40px rgba(16, 24, 40, .14)); }
.ks-tile:hover::after { transform: scaleX(1); }
.ks-tile__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--ks-accent) 12%, var(--np-surface, #fff));
  color: var(--ks-accent);
}
.ks-tile__icon svg { width: 30px; height: 30px; }
.ks-tile__body { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; flex: 1; }
.ks-tile__kicker { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ks-accent); }
.ks-tile__title { font-family: var(--np-font-head, inherit); font-weight: 800; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.015em; }
.ks-tile__text { color: var(--np-muted, #646b7a); font-size: .92rem; flex: 1; }
.ks-tile .np-more { margin-top: .35rem; }
.ks-tile:hover .np-more .fa-arrow-right { transform: translateX(4px); }

.ks-home__notes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ks-note {
  background: var(--np-surface-2, #f0f1f5);
  border: 1px solid var(--np-border, #e3e5eb);
  border-radius: var(--np-radius-sm, 8px);
  padding: 1rem 1.15rem;
}
.ks-note strong { display: block; font-family: var(--np-font-head, inherit); font-weight: 800; margin-bottom: .3rem; }
.ks-note p { margin: 0; font-size: .9rem; color: var(--np-muted, #646b7a); }
