/* Verbesserungen für Lesbarkeit und Layout */
/* Eingefügt von Genie am 23.03.2026 */

/* Zeilenabstand für Artikeltexte erhöhen */
.art-postcontent p,
.art-postcontent li,
.art-postcontent div,
.itemFullText p,
.itemFullText li,
.itemFullText div,
.k2ItemText p,
.k2ItemText li,
.k2ItemText div {
    line-height: 1.6 !important;
}

/* Padding an den Seiten für bessere Lesbarkeit */
.art-postcontent,
.itemFullText,
.k2ItemText,
.art-content-layout-cell.art-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Optional: Mehr Abstand zwischen Absätzen */
.art-postcontent p,
.itemFullText p,
.k2ItemText p {
    margin-bottom: 1em !important;
}

/* Bilder sollen nicht zu groß sein und gut integriert wirken */
.art-postcontent img,
.itemFullText img,
.k2ItemText img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

/* --- MODERN DARK GRID FOOTER DESIGN --- */
/* Hintergrund Schwarz, Boxen nebeneinander, Kompakte Icons */

.custom-footer-container {
    background-color: #000000 !important; 
    padding: 40px 20px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
}

.custom-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exakt 3 Spalten nebeneinander */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

@media (max-width: 768px) {
    .custom-footer-grid {
        grid-template-columns: 1fr; /* Mobil untereinander */
    }
}

.footer-card {
    background: #111111; /* Sehr dunkle Boxen */
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #222;
    border-top: 4px solid #4a7c3f; /* Die grüne Akzentlinie oben */
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.footer-card:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
}

.footer-card h3 {
    color: #ffffff !important;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.footer-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-card ul li {
    margin-bottom: 10px;
}

.footer-card ul li a {
    color: #aaaaaa !important; 
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-card ul li a:hover {
    color: #4a7c3f !important;
}

.footer-card-logo img {
    max-width: 160px; /* Dezent verkleinert */
    height: auto;
    margin-bottom: 15px;
    filter: brightness(1.1);
}

.footer-card p {
    color: #888 !important;
    font-size: 0.85rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 100px); /* Feste Breite für Symmetrie */
    justify-content: center; /* Zentriert die gesamte Reihe */
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #111111;
    border-radius: 8px;
    padding: 8px; /* Etwas reduziert */
    text-align: center;
    text-decoration: none !important;
    color: inherit !important;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.service-card:hover {
    background: #1a1a1a;
    border-color: #4a7c3f;
}

.service-card img {
    width: 24px !important; /* Icons nochmals verkleinert für 1-Zeilen-Layout */
    height: 24px !important;
    margin-bottom: 6px;
    object-fit: contain;
}

.service-card span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #ccc;
    line-height: 1.2;
}

.custom-footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.8rem;
}
