
:root {
    --bg-color: #fff;
    --text-color: #333;
    --accent-color: #0077b5;
    --nav-link-color: #adadad;
    --button-bg: #333;
    --button-text: #fff;
    --button-hover-bg: #555;
}

body.dark-mode {
    --bg-color: #1e1e1e;
    --text-color: #f5f5f5;
    --nav-link-color: #adadad;
    --button-bg: #f5f5f5;
    --button-text: #121212;
    --button-hover-bg: #ddd;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 1.5rem;
    line-height: 1.8;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding-top: 80px;
    text-align: justify;
    transition: background-color 0.4s ease, color 0.4s ease;
}

header {
    background: var(--bg-color);
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.4s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--bg-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.4s ease;
}

.logo {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--text-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--nav-link-color);
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.language,
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.4s ease;
}

.language:focus,
.theme-toggle:focus {
    outline: none;
}


.theme-toggle i {
    transition: transform 0.4s ease;
    width: 1.5em;
    text-align: center;
}

.content {
    padding: 2.5rem 2rem;
    max-width: 800px;
    margin: auto;
}

.content h2 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

p {
    font-size: 1.5rem;
    max-width: 800px;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--bg-color);
    font-size: 1.2rem;
    color: var(--text-color);
    transition: background-color 0.4s ease;
}

.footer-contact {
    display: flex;
    gap: 1.5rem;
}

.contact-label {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1rem;
    color: var(--text-color);
}

.footer-contact a {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--nav-link-color);
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-contact a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-contact a:hover::after {
    width: 100%;
}

.contact-buttons a {
    font-size: 2rem; /* Icon-Größe */
    color: var(--nav-link-color);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.contact-buttons a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    .content h2 {
        font-size: 2.5rem;
    }
    body {
        font-size: 1.2rem;
    }
}
