@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100vh;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #3c7d41 url('images/Hintergrund_Website.png') no-repeat center center fixed;
    background-size: cover;
    color: #222;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

/* Header */
.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 4px solid #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.header-date-badge {
    font-size: 1.1rem;
    font-weight: 900;
    color: #111;
    background: #f0f7f1;
    border: 2px solid #4a8f4f;
    padding: 6px 14px;
    border-radius: 999px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Main Content Area */
.main-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Main Card */
.hero-card {
    background: rgba(255, 255, 255, 0.97);
    border: 4px solid #000000;
    border-radius: 28px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25), 8px 8px 0px rgba(0, 0, 0, 0.9);
    width: 100%;
    max-width: 580px;
    padding: 48px 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    max-width: 220px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #111;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: #555;
    max-width: 420px;
    line-height: 1.5;
}

/* Big Action Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 440px;
    padding: 20px 28px;
    background: #4a8f4f;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 3.5px solid #000000;
    border-radius: 16px;
    box-shadow: 0 6px 0px #000000;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 8px;
}

.cta-button .arrow-icon {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 1.5rem;
}

.cta-button:hover {
    background: #3d7a42;
    transform: translateY(-3px);
    box-shadow: 0 9px 0px #000000;
}

.cta-button:hover .arrow-icon {
    transform: translateX(5px);
}

.cta-button:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0px #000000;
}

/* Secondary Page Layout (Impressum, Datenschutz, Contact) */
.content-card {
    background: rgba(255, 255, 255, 0.98);
    border: 3px solid #000000;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 720px;
    padding: 36px 32px;
    text-align: left;
}

.content-card h1, .content-card h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: #111;
}

.content-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 20px 0 8px 0;
    color: #222;
}

.content-card p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #333;
    margin-bottom: 14px;
}

.content-card a {
    color: #4a8f4f;
    font-weight: 700;
    text-decoration: underline;
}

.content-card a:hover {
    color: #3d7a42;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #111;
    text-decoration: none !important;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border: 2px solid #000;
    border-radius: 8px;
    background: #f4f4f4;
    transition: all 0.2s;
}

.back-link:hover {
    background: #4a8f4f;
    color: #fff !important;
    border-color: #000;
}

/* Footer */
.site-footer {
    width: 100%;
    background: #ffffff;
    border-top: 4px solid #000000;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.footer-link {
    color: #222;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #4a8f4f;
}

.footer-divider {
    color: #ccc;
    font-weight: 300;
}

.footer-copyright {
    font-size: 0.85rem;
    font-weight: 700;
    color: #777;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .site-header {
        padding: 10px 16px;
    }
    .header-logo {
        height: 42px;
    }
    .header-date-badge {
        font-size: 0.85rem;
        padding: 4px 10px;
    }
    .hero-card {
        padding: 32px 20px;
        border-radius: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 5px 5px 0px rgba(0, 0, 0, 0.9);
    }
    .hero-title {
        font-size: 1.4rem;
    }
    .cta-button {
        font-size: 1.15rem;
        padding: 16px 20px;
    }
    .footer-nav {
        gap: 10px;
        font-size: 0.85rem;
    }
}
