/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Container für die gesamte Seite */
.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Haupt-Content-Wrapper */
.content-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    min-height: 400px;
    width: 100%;
    max-width: 800px;
}

/* Logo-Sektion */
.logo-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
}

.logo {
    max-width: 400px;
    max-height: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Kontakt-Sektion */
.contact-section {
    padding: 1rem;
}

.contact-section h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
}

address {
    font-style: normal;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.contact-item strong {
    color: #2c3e50;
    font-size: 1.1rem;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover,
.contact-item a:focus {
    color: #2980b9;
    text-decoration: underline;
}

/* Focus-Styles für Accessibility */
.logo:focus,
.contact-item a:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .logo-section {
        order: -1;
        align-items: center;
    }
    
    .logo {
        max-width: 250px;
        max-height: 250px;
    }
    
    .contact-section h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.5rem;
    }
    
    .content-wrapper {
        padding: 1rem;
        min-height: auto;
    }
    
    .logo {
        max-width: 200px;
        max-height: 200px;
    }
    
    .contact-section h1 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
}

/* Print-Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .content-wrapper {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .logo:hover,
    .contact-item a:hover {
        transform: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    body {
        background-color: white;
        color: black;
    }
    
    .content-wrapper {
        border: 2px solid black;
        box-shadow: none;
    }
    
    .contact-section h1 {
        border-bottom-color: black;
    }
    
    .contact-item a {
        color: blue;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .logo,
    .contact-item a {
        transition: none;
    }
    
    .logo:hover {
        transform: none;
    }
}