/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #0779e4 3px solid;
}

header h1 {
    float: left;
    margin: 0;
    padding: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px 0 20px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: #0779e4;
    font-weight: bold;
}

/* Hauptinhalt */
main {
    padding: 20px 0;
}

main h2 {
    color: #333;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

footer nav ul {
    margin-bottom: 10px;
}

footer nav li {
    display: inline;
    padding: 0 10px;
}

footer nav a {
    color: #fff;
    text-decoration: none;
}

footer nav a:hover {
    color: #0779e4;
}

footer p {
    margin: 5px 0 0 0;
    font-size: 0.9em;
}

/* Angebote auf der Startseite */
#digital-offers {
    padding-top: 20px;
    padding-bottom: 20px;
}

#digital-offers h2 {
    text-align: center;
    margin-bottom: 20px;
}

#digital-offers > p { /* Direkter P-Tag unter der Section, für die Einleitung */
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #555;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.offer-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.offer-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
    /* Temporäre Platzhalter-Bild-Stylings */
    background-color: #e0e0e0; /* Helle graue Hintergrundfarbe */
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 200px; /* Beispielbreite */
    height: 150px; /* Beispielhöhe */
    line-height: 150px; /* Vertikal zentrieren, falls Text als Platzhalter dient */
    text-align: center;
    color: #aaa;
    font-style: italic;
}

.offer-card h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.offer-card p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
    min-height: 60px; /* Sorgt für etwas gleichmäßigere Höhe der Textblöcke */
}

/* Button Stile */
.btn {
    display: inline-block;
    background: #0779e4;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: #055cb0;
    color: #fff; /* Farbe beibehalten, da es bereits weiß ist */
}

.btn-primary {
    background: #28a745; /* Ein grünerer Ton für primäre Aktionen */
    color: #fff;
}

.btn-primary:hover {
    background: #1e7e34;
}
