/* Globale Stile */
* { box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header */
.top-banner {
    background-color: #b30000; /* Dunkelrot */
    color: white;
    padding: 20px 50px;
    border-bottom: 4px solid #333;
}
.logo { font-size: 24px; font-weight: bold; letter-spacing: 1px; }
.highlight { color: #f4f4f4; font-weight: 300; }

/* Layout */
.main-layout {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Sidebar Links */
.sidebar {
    width: 220px;
    background-color: #333;
    color: white;
    padding: 30px 0;
}
.sidebar ul { list-style: none; padding: 0; }
.sidebar a {
    display: block;
    color: #ccc;
    padding: 15px 25px;
    text-decoration: none;
    transition: 0.3s;
    border-left: 4px solid transparent;
}
.sidebar a:hover, .sidebar a.active {
    background-color: #444;
    color: white;
    border-left: 4px solid #b30000;
}

/* Hauptteil */
.content { flex: 1; padding: 40px; }
.hero-image {
    background: #ddd;
    height: 350px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-placeholder { color: #888; font-style: italic; }

.gallery-preview {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}
.thumb {
    flex: 1;
    height: 120px;
    background: #eee;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info Sidebar Rechts */
.info-sidebar {
    width: 180px;
    padding: 20px;
    background: #f9f9f9;
    border-left: 1px solid #ddd;
}
.info-card {
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.9em;
}
.red-bg { background: #b30000; color: white; }
.gray-bg { background: #333; color: white; }
.contact-box { border: 2px solid #b30000; }

/* Popup */
.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999;
}
.popup-box {
    background: white;
    width: 400px;
    border: 3px solid #b30000;
    padding: 0;
    text-align: center;
}
.popup-header {
    background: #b30000;
    color: white;
    padding: 10px;
    font-weight: bold;
}
.popup-box p { padding: 20px; }
.btn-close {
    background: #333; color: white; border: none;
    padding: 10px 30px; cursor: pointer; margin-bottom: 20px;
}
.btn-close:hover { background: #b30000; }