/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7em;
    color: #666;
    background: #fff;
}

a {
    color: #2EA3F2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a8ad4;
}

h1, h2, h3, h4 {
    color: #333;
    font-weight: 700;
    line-height: 1.2em;
}

h1 { font-size: 36px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }

.container {
    width: 80%;
    max-width: 1080px;
    margin: 0 auto;
}

/* === Header === */
.site-header {
    position: relative;
    z-index: 100;
}

.top-bar {
    background: #2EA3F2;
    padding: 8px 0;
}

.top-bar .container {
    text-align: left;
}

.phone-link {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.phone-link:hover {
    color: #e0e0e0;
}

.main-nav {
    background: #333;
    padding: 15px 0;
    text-align: center;
}

.logo-link {
    display: inline-block;
}

.logo {
    height: 60px;
    width: auto;
}

/* === Hero === */
.hero {
    position: relative;
    height: 350px;
    background: #4a3728 url('assets/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-content h1 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* === Speiseplan Section === */
.speiseplan-section {
    padding: 60px 0;
    background: #fff;
}

.speiseplan-header {
    text-align: center;
    margin-bottom: 30px;
}

.speiseplan-header h2 {
    margin-bottom: 8px;
}

.update-info {
    color: #999;
    font-size: 14px;
}

.download-card {
    text-align: center;
    padding: 50px 30px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    background: #f9f9f9;
}

.download-icon {
    margin-bottom: 20px;
}

.download-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    color: #2EA3F2;
    border-color: #2EA3F2;
    background: transparent;
}

.btn-primary:hover {
    background: #2EA3F2;
    color: #fff;
}

.btn-primary:hover svg {
    stroke: #fff;
}

.btn-white {
    color: #fff;
    border-color: #fff;
    background: transparent;
    font-size: 18px;
    padding: 14px 36px;
}

.btn-white:hover {
    background: #fff;
    color: #333;
}

/* === Newsletter Section === */
.newsletter-section {
    position: relative;
    padding: 80px 0;
    background: #4a3728 url('assets/newsletter-bg.jpg') center/cover no-repeat;
    text-align: center;
}

.newsletter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    color: #fff;
    font-size: 30px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.newsletter-content p {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === Subscribe Form === */
.subscribe-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.form-row input[type="email"] {
    flex: 1;
    padding: 12px 18px;
    font-size: 16px;
    font-family: 'Open Sans', Arial, sans-serif;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-row input[type="email"]::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-row input[type="email"]:focus {
    border-color: #fff;
    background: rgba(255,255,255,0.25);
}

.btn-submit {
    white-space: nowrap;
}

.subscribe-msg {
    margin-top: 15px;
    font-size: 14px;
    min-height: 20px;
}

.subscribe-msg.success {
    color: #8eff8e;
}

.subscribe-msg.error {
    color: #ff8e8e;
}

/* === Footer === */
.site-footer {
    background: #333;
    color: #bbb;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(2);
}

.footer-content h3 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-content p {
    margin-bottom: 5px;
    font-size: 14px;
}

.footer-content a {
    color: #bbb;
}

.footer-content a:hover {
    color: #2EA3F2;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* === Responsive === */
@media (max-width: 980px) {
    .container {
        width: 90%;
    }

    .hero {
        height: 280px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .container {
        width: 92%;
    }

    .hero {
        height: 220px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .speiseplan-section {
        padding: 40px 0;
    }

    .pdf-preview embed {
        min-height: 400px;
    }

    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .newsletter-section {
        padding: 50px 0;
    }

    .newsletter-content h2 {
        font-size: 24px;
    }
}
