/*
Theme Name: Smart Homes 24 ChildTheme
Theme URI: https://smart-homes24.de
Description: Child Theme for Smart-Homes24.de
Author: Ewald
Template: generatepress
Version: 1.0.0
*/

/* Custom CSS goes here */
/* Globale Typografie zur Verbesserung der Lesbarkeit */
body {
    font-family: 'Open Sans', Arial, sans-serif; /* Moderne, gut lesbare Schriftart */
    line-height: 1.65; /* Erhöhter Zeilenabstand */
    color: #333333; /* Dunklerer Text für besseren Kontrast */
    font-size: 16px; /* Komfortable Standard-Schriftgröße */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Eine komplementäre, kräftigere Schrift für Überschriften */
    color: #222222;
    margin-top: 1.8em; /* Ausreichend Abstand über Überschriften */
    margin-bottom: 0.7em; /* Etwas Abstand unter Überschriften */
    line-height: 1.2;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.3em; }

/* Mobile-first Typografie Anpassungen */
@media (max-width: 768px) {
    body {
        font-size: 15px; /* Etwas kleinere Schrift auf Mobilgeräten für bessere Darstellung */
    }
    h1 { font-size: 2em; }
    h2 { font-size: 1.7em; }
    h3 { font-size: 1.4em; }
    h4 { font-size: 1.1em; }
}

/* Layout und Weißraum */
.site-content {
    max-width: 1200px; /* Begrenzte Breite für bessere Lesbarkeit auf großen Bildschirmen */
    margin: 0 auto; /* Zentrierung des Hauptinhalts */
    padding: 30px 20px; /* Innenabstand für den Inhalt */
}

@media (max-width: 768px) {
    .site-content {
        padding: 20px 15px; /* Reduzierter Innenabstand auf Mobilgeräten */
    }
}

/* Call-to-Action Buttons */
.button, .cta-button, .wp-block-button__link { /* Beispiel-Selektoren, an Theme anpassen */
    display: inline-block;
    background-color: #007bff; /* Auffällige, konsistente Akzentfarbe */
    color: #ffffff; /* Heller Text für Kontrast */
    padding: 14px 28px;
    border-radius: 8px; /* Leicht abgerundete Ecken */
    text-decoration: none;
    font-weight: 700; /* Kräftigerer Text */
    letter-spacing: 0.5px; 
    transition: background-color 0.3s ease, transform 0.2s ease; /* Übergang für Hover-Effekte */
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Leichter Schatten für Tiefe */
}

.button:hover, .cta-button:hover, .wp-block-button__link:hover {
    background-color: #0056b3; /* Dunklerer Ton beim Hover */
    transform: translateY(-2px); /* Leichter "Lift"-Effekt */
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Elemente für Produktpräsentation (Beispiel: Produktkarten) */
.product-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Dezenter Schatten */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; /* Flexbox für responsives Layout der Karte */
    flex-direction: column; /* Standard: Spalte */
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12); /* Stärkerer Schatten beim Hover */
    border-color: #007bff; /* Akzentfarbe am Rand beim Hover */
}

@media (min-width: 769px) { /* Anpassen für größere Bildschirme */
    .product-card {
        flex-direction: row; /* nebeneinander */
        align-items: center;
    }
    .product-card .product-image {
        flex: 0 0 200px; /* Feste Breite für Bildbereich */
        margin-right: 25px;
    }
    .product-card .product-details {
        flex-grow: 1;
    }
}

/* Wichtige Informationen hervorheben (z.B. Pros/Cons, Key-Features) */
.highlight-box {
    background-color: #f9f9f9;
    border-left: 5px solid #007bff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}
