body {
  background: #f5f5f5;
}

.overview-header {
  padding: 50px 40px 10px 40px;
  text-align: center;
}

.overview-header h1 {
  font-size: 2rem;
  margin: 0;
  color: #2f3542;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  padding: 20px 40px 50px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.tool-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.tool-card__image {
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  padding: 24px;
}

.tool-card__image img {
  max-width: 100%;
  max-height: 100%;
}

.tool-card__title {
  padding: 14px 16px;
  font-weight: 600;
  text-align: center;
  color: #2f3542;
  border-top: 1px solid #eee;
}

/* ---------- erzeugte Übersichten (shared/js/uebersicht.js) ---------- */

.tool-card {
  position: relative;
}

.tool-card__neu {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 8px;
  background: #ffd24a;
  font-size: 0.75rem;
  font-weight: 800;
  color: #2f3542;
}

.tool-card__ort {
  margin-top: -8px;
  padding: 0 12px 12px 12px;
  font-size: 0.8rem;
  color: #888;
  text-align: center;
}

.overview-sub {
  margin: 10px 0 0 0;
  color: #666;
  font-size: 1.05rem;
}

.overview-sprung {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.overview-sprung a {
  padding: 8px 16px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  color: #2f3542;
  font-weight: 700;
  text-decoration: none;
}

.overview-sprung a span {
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 10px;
  background: #eef2f7;
  font-size: 0.85rem;
}

.overview-gruppe {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  scroll-margin-top: 10px;
}

.overview-gruppe h2 {
  margin: 0;
  padding: 0 40px;
  font-size: 1.4rem;
  color: #2f3542;
}

.overview-gruppe__text {
  margin: 6px 0 0 0;
  padding: 0 40px;
  color: #666;
}

.overview-gruppe .overview-grid {
  padding-bottom: 20px;
}

.overview-leer {
  text-align: center;
  color: #888;
}
