/* Global Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    hyphens: auto; /* Add hyphenation globally */
    word-break: break-word; /* Prevent overflow of very long words */
}

header, footer {
    text-align: center;
    padding: 20px 0;
}

header nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style-type: none;
    padding: 0;
}

header nav ul li a {
    text-decoration: none;
    color: #009900;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #007700;
}

/* Hero Section */
#hero-format {
    text-align: center;
    margin-bottom: 20px;
}

#hero-format img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Limiting height so "Angebot" section is visible */
    object-fit: cover;
    border-radius: 10px;
}

/* "Angebot" Section */
#angebot {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: center;
}

#angebot ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
}

#angebot ul li {
    background: #fff;
    border: 1px solid #009900;
    padding: 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px; /* Fixed height for uniformity */
    box-sizing: border-box;
}

/* General Content Spacing */
h2, h3 {
    margin-top: 40px;
    text-align: center;
    color: #009900;
}

/* Card Container Styles */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    border: 2px solid #009900;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Circle Price Tag Styling */
.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #009900;
    color: #fff;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px auto;
    padding: 10px;
    text-align: center;
}

/* Responsive Typography and Buttons */
.card p, .card ul, .card dl {
    text-align: center;
    margin: 10px 0;
}

.card a {
    text-decoration: none;
    color: #fff;
    background-color: #009900;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.card a:hover {
    background-color: #007700;
}

/* Definition List Styling */
dl {
    margin: 10px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

dl dt {
    font-weight: bold;
    color: #009900;
    margin-bottom: 5px;
}

dl dd {
    margin: 0 0 10px 0;
}

/* Bullet Points Replacement */
.card ul {
    list-style: none;
    padding: 0;
}

.card ul li::before {
    content: '\2022';
    color: #009900;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Footer Styling */
footer {
    border-top: 2px solid #009900;
    padding-top: 20px;
    margin-top: 40px;
    color: #666;
}

/* Responsive Spacing */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    .card {
        padding: 15px;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    #hero-format img {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .circle {
        width: 100px;
        height: 100px;
        font-size: 1.1em;
    }
}
