/*
Theme Name: GeneratePress Child
Theme URI: https://kosten-versicherung.de
Description: Child Theme für GeneratePress – Kosten-Versicherung.de
Author: Web-A-Z.de Media
Author URI: https://web-a-z.de
Template: generatepress
Version: 1.2
*/

/* ============================================
   Themen-Boxen unter dem Slider
   4 Spalten (16 Boxen in 4 Reihen)
============================================ */
.kv-boxes {
  background: #f9f9f9;
  padding: 50px 20px;
}

.kv-boxes-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.kv-box {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  color: #111;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform .3s ease, box-shadow .3s ease;
}

.kv-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.kv-box img {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
  display: block;
}

.kv-box h3 {
  margin: 16px 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0b74de;
}

.kv-box p {
  font-size: 0.95rem;
  padding: 0 14px 18px;
  color: #444;
  line-height: 1.45;
}

/* ============================================
   Responsive Design
============================================ */

/* Tablets – 2 Spalten */
@media (max-width: 1024px) {
  .kv-boxes-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Smartphones – 1 Spalte */
@media (max-width: 640px) {
  .kv-boxes-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .kv-box {
    border-radius: 10px;
  }
  .kv-box h3 {
    font-size: 1.05rem;
  }
  .kv-box p {
    font-size: 0.9rem;
  }
}

/* ============================================
   Footer Social Icons
============================================ */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px auto;
  max-width: 1200px;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.footer-social .social-link:hover {
  transform: translateY(-2px);
  background: #f7f7f7;
  border-color: #ccc;
}

.footer-social .yt svg { fill: #ff0000; }  /* YouTube */
.footer-social .li svg { fill: #0a66c2; }  /* LinkedIn */
.footer-social .x  svg { fill: #111; }     /* X (Twitter) */

.footer-social .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
