/* Lokale Fonts */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/roboto-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/roboto-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Roboto';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('fonts/roboto-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/titillium-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/titillium-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/titillium-700.woff2') format('woff2');
}

:root {
    --primary-blue: #3291d3; /* Angepasst an das Logo-Blau */
    --primary-dark: #333333;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

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

body {
    font-family: 'Titillium Web', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

header {
    padding: 2rem 1rem;
    text-align: center;
    background-color: var(--white);
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Hintergrundfarben passend zu den Bildrändern von start.jpg */
    background-color: #dcdfe2;
}

.hero-img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.95);
    position: relative;
    z-index: 1;
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25%; /* Breiterer Fade-Bereich */
    z-index: 2;
    pointer-events: none;
}

.hero::before {
    left: 0;
    background: linear-gradient(to right, #d3d9df 0%, #d3d9df 20%, rgba(211, 217, 223, 0) 100%);
}

.hero::after {
    right: 0;
    background: linear-gradient(to left, #e1e4e7 0%, #e1e4e7 20%, rgba(225, 228, 231, 0) 100%);
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.main-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--primary-blue);
    text-transform: uppercase;
}

.copy-text {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: justify;
}

.copy-text p {
    margin-bottom: 1.5rem;
}

.contact-section {
    padding: 3rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-blue);
}

.contact-title {
    margin-bottom: 2rem;
    font-weight: 400;
    color: var(--primary-blue);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.contact-info, .contact-details {
    flex: 1;
    min-width: 280px;
}

.address-box {
    font-style: normal;
}

.contact-links {
    list-style: none;
}

.contact-links li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.contact-links li:not(:has(a)) {
    font-weight: bold;
}

.contact-links a:hover {
    color: var(--primary-blue);
}

footer {
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px solid #eee;
}

.footer-bottom {
    max-width: 900px;
    margin: 0 auto;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.copyright {
    /* Keine spezifischen Grid-Regeln mehr nötig */
}

/* Impressum Styling */
.imprint-details {
    /* Das Details-Element ist nun Teil der top-row oder umschließt sie */
}

.imprint-content {
    width: 100%;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    padding: 2rem 0 1rem;
    text-align: left;
    border-top: 1px solid #eee;
}

.imprint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.imprint-column {
    /* Keine spezifischen Breitenregeln nötig */
}

.imprint-details summary {
    cursor: pointer;
    list-style: none;
    transition: color 0.3s;
    display: block; /* Erlaubt die volle Breite für die top-row */
}

.imprint-link {
    font-weight: bold;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.imprint-link:hover {
    color: var(--primary-blue);
}

.imprint-link::before {
    content: '▶ ';
    font-size: 0.7rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.imprint-details[open] .imprint-link::before {
    content: '▼ ';
}

/* Standard-Pfeil für Chrome/Safari ausblenden */
.imprint-details summary::-webkit-details-marker {
    display: none;
}

.imprint-content h3 {
    font-size: 1rem;
    color: var(--primary-blue);
    margin: 1.5rem 0 0.5rem;
    font-weight: 400;
}

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

.imprint-content p {
    margin-bottom: 1rem;
}

.imprint-contact {
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 300px;
    }
    .main-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .contact-section {
        padding: 1.5rem;
    }
    .footer-top-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .imprint-details {
        text-align: center;
    }
    .imprint-grid {
        display: block;
    }
    .imprint-column {
        margin-bottom: 2rem;
    }
}
