:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --secondary: #e2e8f0;
    --accent: #718096;
    --text: #2d3748;
    --text-light: #4a5568;
    --bg: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
    --hover-scale: 1.01;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

a {
    text-decoration: solid;
    transition: var(--transition);
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 2rem;
    position: relative;
}

header .container {
    align-items: center;
    justify-content: center;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

header h2 {
    font-weight: 400;
    font-size: 1.5rem;
    opacity: 0.9;
}

nav {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

nav a {
    color: var(--primary);
    margin: 0 1.5em;
    font-weight: 700;
    position: relative;
    padding: 0.1rem 0;
    font-size: 1rem;
}

nav a:hover {
    text-decoration: none;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

/* Füge diese Stile zu deinem vorhandenen CSS hinzu */
nav a.active {
    color: var(--primary-light);
    font-weight: 800;
}

nav a.active::after {
    width: 100%;
    /* Unterstreichen des aktiven Links */
    height: 3px;
}

main {
    flex: 1;
    padding: 4rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}



.contact-info h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
    font-size: 1.5rem;

}

.contact-info p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-info p:first-of-type {
    font-weight: 600;
    color: var(--text);
    font-size: 1.3rem;
}

.images {
    display: flex;
    justify-content: flex-end;
    height: 100%;
}

.images img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.images img:hover {
    transform: scale(var(--hover-scale));
}

.map {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.map iframe {
    border-radius: var(--radius);
    width: 100%;
    height: 400px;
}

.map:hover {
    transform: scale(var(--hover-scale));
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    opacity: 0.8;
    font-size: 0.8rem;
}

.profile-image {
    float: right;
    max-width: 300px;
    height: 400px;
    margin: 1rem;
}

@media (max-width: 650px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .images {
        justify-content: center;
    }

    .profile-image {
        float: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
    font-size: 1.1rem;
}

.contact-label {
    font-weight: 600;
    color: var(--text);
}

.contact-value {
    color: var(--text-light);
}

.page-content {
    display: none;
    /* Verstecke alle Seiten standardmäßig */
}

.page-content.active {
    display: block;
    /* Zeige nur die aktive Seite */
}