* {
    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: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 40px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1.1em;
    opacity: 0.95;
}

.main-nav {
    background: #f8f9fa;
    padding: 15px 40px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #667eea;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.05em;
}

.nav-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.content {
    padding: 50px 40px;
}

.intro {
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #555;
    text-align: justify;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #667eea;
    font-size: 2em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 15px 0 15px 40px;
    position: relative;
    line-height: 1.7;
    color: #555;
}

ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 15px;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}

.cta h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.cta a {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .container {
        margin: 20px auto;
    }

    header {
        padding: 30px 20px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .main-nav {
        padding: 10px 20px;
        gap: 10px;
    }

    .nav-link {
        padding: 8px 15px;
        font-size: 0.95em;
    }

    .content {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.5em;
    }
}


#map {
    height: 600px;
    width: 100%;
    border-radius: 15px;
    margin-bottom: 40px;
}

/* --- Bilder & Figures strikt in der Content-Box halten --- */
.content figure {
    max-width: 100%;
    margin: 0;
}

.content figure a {
    display: block;
    max-width: 100%;
}

.content figure img {
    width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

.content figure {
    margin-bottom: 2rem;
}

/* --- Figure Captions in kleiner Schriftart erzwingen */

.content figure > figcaption.figure-caption-small {
    font-size: 0.7em !important;
    line-height: 1.3;
    color: #555;
    margin-top: 0.4rem;
}

.content figure > figcaption.figure-caption-small a {
    font-size: inherit;
}