:root {
    --primary: #1a5c9e;
    --accent: #d4af37;
    --dark: #222222;
    --text: #333333;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Open Sans', system-ui, Arial, sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: #fff;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: white;
    font-size: 0.95rem;
    padding: 12px 0;
    text-align: center;
}

/* Header */
header {
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo img {
    height: 48px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 8px 0;
}

nav a {
    color: var(--primary);
    font-weight: 500;
    padding: 6px 10px;
    white-space: nowrap;
}

nav a:hover { color: var(--accent); }

/* Titel über dem Bild */
.page-title {
    background: white;
    padding: 50px 20px 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-title h1 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.page-title p {
    font-size: 1.3rem;
    color: #555;
}

/* Hero Bild */
.hero-image {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main { padding: 60px 0; }

h2 {
    color: var(--primary);
    margin: 50px 0 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.two-columns img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.quote {
    font-style: italic;
    font-size: 1.18rem;
    background: #f9f7f0;
    padding: 40px 35px;
    border-left: 8px solid var(--accent);
    margin: 30px 0;
}

/* Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
th, td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.calendar-legend {
    margin-top: 40px;
    padding: 25px;
    background: #f9f7f0;
    border-left: 6px solid var(--accent);
    font-size: 0.97rem;
    line-height: 1.7;
}

/* Karte */
.map-container {
    position: relative;
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.map-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--dark);
    color: #bbb;
    padding: 40px 0 25px;
    text-align: center;
    font-size: 0.95rem;
}
footer a { color: #ccc; }
footer a:hover { color: var(--accent); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .header-content {
        min-height: 110px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    nav ul {
        gap: 12px;
        justify-content: center;
        width: 100%;
        padding-top: 10px;
    }
    
    nav a {
        padding: 6px 12px;
        font-size: 0.95rem;
    }
    
    .page-title h1 { font-size: 2.1rem; }
    .page-title p { font-size: 1.1rem; }
    
    .two-columns { grid-template-columns: 1fr; }
}
/* ==================== NAVIGATION + DROPDOWN MENÜ – Finale Version ==================== */
nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    align-items: center;        /* Alle Items exakt auf gleicher Höhe */
    padding: 0;
    margin: 0;
    height: 100%;
}

nav li {
    display: flex;
    align-items: center;
    height: 100%;
}

nav a {
    padding: 12px 0;
    color: var(--primary);
    font-weight: 500;
    white-space: nowrap;
}

/* Speziell für das Links-Menü */
nav .has-submenu {
    position: relative;
}

nav .has-submenu > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    cursor: pointer;
    height: 100%;
}

nav .has-submenu::after {
    content: " ▼";
    font-size: 0.78rem;
    transition: transform 0.3s;
}

nav .has-submenu.open::after {
    transform: rotate(180deg);
}

/* Submenü direkt unter "Links" */
nav .submenu {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    min-width: 280px;
    border-radius: 6px;
    z-index: 300;
    padding: 10px 0;
    border: 1px solid #ddd;
}

nav .has-submenu.open .submenu {
    display: block;
}

nav .submenu a {
    display: block;
    padding: 12px 20px;
    color: var(--primary);
    white-space: nowrap;
}

nav .submenu a:hover {
    background: #f0f7ff;
    color: var(--accent);
}

/* Mobile */
@media (max-width: 768px) {
    nav ul { gap: 14px; justify-content: center; }
    nav .submenu {
        position: static;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 8px;
        width: 100%;
    }
}
.ics-button {
    background: #1a5c9e;        /* dein Dunkelblau */
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
