/* Regional-Milch – gemeinsame Styles für Unterseiten */

:root {
    --primary-blue: #5ba8d4;
    --primary-dark: #1a5f7a;
    --accent-orange: #ffc89a;
    --accent-orange-hover: #f0b07a;
    --text-light: #ffffff;
    --text-dark: #2c3e50;
    --gradient: linear-gradient(to right, var(--primary-dark) 0%, var(--primary-dark) 65%, var(--accent-orange) 100%);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', 'Roboto', sans-serif;
    font-size: 1.2rem;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.7;
}

.site-banner {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0;
    padding: 0.65rem 1.25rem;
    background-color: var(--accent-orange);
    color: #10384a;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.header {
    height: 40vh;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: center/cover no-repeat;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.75;
    z-index: 1;
}

.header > * {
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 320px;
    width: 100%;
    margin-bottom: 1rem;
    animation: fadeIn 2s ease-in-out;
}

.header h1 {
    font-size: 3.5rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeIn 2s ease-in-out;
}

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

.content-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content h2 {
    color: var(--accent-orange);
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content h2:first-child {
    margin-top: 0;
}

.content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.content li {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.content li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

.content a {
    color: var(--accent-orange);
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

.content-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.image-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.content a.nav-back {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background-color: #e07a2a;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.content a.nav-back:hover {
    background-color: #c96a22;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    text-decoration: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.contact-card h3 {
    margin-top: 0;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--accent-orange);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1.1rem;
    box-sizing: border-box;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

button,
.content button {
    background-color: #e07a2a;
    color: #ffffff;
    padding: 1rem 2rem;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover,
.content button:hover {
    background-color: #c96a22;
    transform: scale(1.03);
}

footer {
    background-color: var(--primary-dark);
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    border-top: 1px solid var(--accent-orange);
}

footer a {
    color: var(--accent-orange);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        font-size: 1.1rem;
    }
    .header h1 {
        font-size: 2.25rem;
    }
    .logo {
        max-width: 220px;
    }
    .content-section {
        padding: 2rem 1rem;
    }
    .content {
        padding: 1.5rem;
    }
    .content h2 {
        font-size: 1.65rem;
    }
    .content h3 {
        font-size: 1.3rem;
    }
    .content p,
    .content li {
        font-size: 1.1rem;
    }
    .content a.nav-back {
        font-size: 1.1rem;
        padding: 0.9rem 1.5rem;
    }
}