/* style.css */
:root {
    --primary: #005b96;
    --secondary: #333;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --accent: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--dark);
    background-color: var(--light);
}

header {
    background-color: var(--primary);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 20px;
}

h1 {
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
}

h2 {
    color: var(--primary);
    margin-top: 2rem;
    font-size: 1.3rem;
}

.section {
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo-image {
    height: auto;
    
    margin-right: 15px;
}

.building-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.legal-text {
    text-align: justify;
}

a {
    color: var(--light);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    background-color: var(--primary);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.footer-section h3 {
    color: var(--light);
    margin-bottom: 1rem;
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 30, 60, 0.9);
    color: white;
    padding: 15px 0;
    z-index: 1000;
    display: none;
    font-family: 'Segoe UI', sans-serif;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    line-height: 1.5;
}

.cookie-link {
    color: #4da6ff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background: #4CAF50;
    color: white;
}

.cookie-btn.reject {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.logo-text {
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* Logo-Link ohne Unterstrich */
.logo {
    text-decoration: none !important;
}

.logo:hover {
    text-decoration: none !important;
}

/* Optional: Hover-Effekt durch leichte Aufhellung ersetzen */
.logo:hover .logo-text {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.main-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.legal-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
    line-height: 1.5;
}

p, ul {
    text-align: left;
    margin-bottom: 1em;
}

.section .contact-info a[href^="mailto:"] {
    color: #005b96 !important;
    text-decoration: underline !important;
    opacity: 1 !important;
    font-weight: normal !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-image {
        margin: 0 auto 10px;
    }
    
    .footer-section {
        flex: 100%;
    }
    
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        margin-top: 10px;
    }
    
    .rotated-image {
        transform: rotate(0);
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-width: 150px;
    }
    
    .container, .main-container, .legal-section {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    h3 {
        font-size: 1.1em;
    }
}