/* ------------------------------------
   Tool-Übersicht (Startseite)
------------------------------------- */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* ------------------------------------
   Hero-Bereich / Einstieg Home
   Hell, schlicht, ohne Hintergrundbild
------------------------------------- */

.hero-section {
  position: relative;
  width: auto;
  margin: 0 0 28px 0;
  padding: 36px 28px;

  background: #f7f7fb;
  color: #1f2340;
  text-align: center;

  border: 1px solid rgba(31, 35, 64, 0.08);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(31, 35, 64, 0.06);

  box-sizing: border-box;
}

/* alter Bild-Overlay wird deaktiviert */
.hero-section::before {
  content: none;
}

.hero-section h1 {
  margin: 0;
  color: #1f2340;

  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 800;

  text-shadow: none;
}

.hero-section p {
  margin: 16px auto 0 auto;
  padding: 0;

  max-width: 760px;

  background: transparent;
  color: #3d4265;

  font-size: 1.05rem;
  line-height: 1.65;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .hero-section {
    padding: 30px 22px;
    margin-bottom: 24px;
    border-radius: 14px;
  }

  .hero-section p {
    font-size: 1rem;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 24px 18px;
    margin-bottom: 22px;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

.tool-card {
  position: relative;
  border: 1px solid rgba(59, 34, 163, 0.2);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* halbtransparente Überlagerung für bessere Lesbarkeit */
.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.tool-card * {
  position: relative;
  z-index: 2;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.tool-card h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #3b22a3;
}

.tool-card p {
  font-size: 0.95em;
  margin-bottom: 15px;
  color: #333;
}

.tool-card a {
  text-decoration: none;
  color: #3b22a3;
  background-color: #f4c542;
  padding: 8px 12px;
  border-radius: 25px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.tool-card a:hover {
  background-color: #d8a92f;
  color: #3b22a3;
  transform: translateY(-1px);
}

/* ------------------------------------
   Kategorieüberschriften
------------------------------------- */
main h2 {
  border-bottom: 2px solid #e6d37f;
  padding-bottom: 4px;
  margin-top: 40px;
  color: #3b22a3;
}


.pf-backlink {
  margin-top: .5rem;
  font-size: .9rem;
  opacity: .85;
}