body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1a2a44, #2ecc71);
    padding: 20px 40px;
    z-index: 1000;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.fixed-nav.scrolled {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fixed-nav.scrolled .logo {
    color: #1a2a44;
}

nav .hamburger {
    display: none;
    font-size: 1.8em;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.fixed-nav.scrolled .hamburger {
    color: #1a2a44;
}

nav .nav-links {
    display: flex;
    gap: 25px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1em;
    padding: 8px 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.fixed-nav.scrolled a {
    color: #1a2a44;
}

nav a:hover {
    color: #2ecc71;
    transform: scale(1.05);
}

.fixed-nav.scrolled a:hover {
    color: #2ecc71;
}

nav a.active {
    border-bottom: 2px solid #fff;
}

.fixed-nav.scrolled a.active {
    border-bottom: 2px solid #2ecc71;
}

/* Sprachauswahl */
.lang-toggle {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
    flex-shrink: 0;
}

.lang-toggle a {
    font-size: 1.5em;
    padding: 5px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, border 0.3s ease;
}

.fixed-nav.scrolled .lang-toggle a {
    color: #1a2a44;
}

.lang-toggle a.active {
    border: 2px solid #fff;
    border-radius: 5px;
}

.fixed-nav.scrolled .lang-toggle a.active {
    border-color: #2ecc71;
}

.lang-toggle a:hover {
    transform: scale(1.1);
}

/* Full-Page Sections */
main {
    scroll-behavior: smooth;
}

.full-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    position: relative;
    overflow: visible;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/header-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
}

.light-section {
    background: #f5f7fa;
}

.dark-section {
    background: #1a2a44;
    color: #fff;
}

.section-content {
    max-width: 1200px;
    padding: 0 30px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.full-section h1 {
    font-size: 4em;
    font-weight: 700;
    color: inherit;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.full-section h2 {
    font-size: 3em;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 25px;
}

.full-section h3 {
    font-size: 1.6em;
    font-weight: 400;
    color: inherit;
    margin-bottom: 15px;
}

.full-section p {
    font-size: 1.3em;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 40px;
}

.cta {
    background: #2ecc71;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    white-space: nowrap;
}

.cta:hover {
    background: #27ae60;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Grid und Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: auto;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-section .card {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card.expanded {
    height: auto;
}

.card i {
    font-size: 2.5em;
    color: #2ecc71;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.6em;
    color: #1a2a44;
    margin-bottom: 10px;
}

.dark-section .card h3 {
    color: #fff;
}

.card p.short {
    font-size: 1.1em;
    color: #666;
    margin: 0;
    display: block;
}

.dark-section .card p.short {
    color: #ddd;
}

.card p.expanded {
    font-size: 1.1em;
    color: #666;
    margin: 0;
    display: none;
}

.dark-section .card p.expanded {
    color: #ddd;
}

.card:hover p.short,
.card.expanded p.short {
    display: none;
}

.card:hover p.expanded,
.card.expanded p.expanded {
    display: block;
}

/* Expand Hint für interaktive Karten */
.expand-hint {
    display: inline-flex;
    align-items: center;
    font-size: 1em;
    color: #2ecc71;
    margin-top: 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.dark-section .expand-hint {
    color: #2ecc71;
}

.card:hover .expand-hint {
    opacity: 1;
}

/* Bio Section */
.bio-content {
    text-align: left;
}

.bio-grid {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.bio-image {
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.bio-image:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.2em;
    margin: 20px 0;
}

.contact-info i {
    color: #2ecc71;
    margin-right: 15px;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    font-size: 1.1em;
    background: transparent;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #2ecc71;
    outline: none;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a2a44, #2ecc71);
    color: #fff;
    text-align: center;
    padding: 30px;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav .hamburger {
        display: block;
    }
    nav .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 0;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    nav .nav-links.active {
        display: flex;
    }
    nav .nav-links a {
        color: #1a2a44; /* Links immer sichtbar mit Farbe */
        font-size: 1.1em;
        padding: 10px 20px;
    }
    nav .nav-links a:hover {
        color: #2ecc71;
    }
    .fixed-nav {
        padding: 15px 20px;
    }
    .lang-toggle {
        gap: 10px;
        margin-left: 10px;
    }
    .full-section {
        padding: 80px 15px;
    }
    .full-section h1 {
        font-size: 2.5em;
    }
    .full-section h2 {
        font-size: 2em;
    }
    .full-section p {
        font-size: 1.1em;
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card {
        padding: 20px;
    }
    .card:hover {
        transform: none; /* Kein Hover-Effekt auf Mobile */
    }
    .bio-grid, .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .bio-image {
        max-width: 200px;
        margin: 0 auto 20px;
    }
    .contact-form {
        padding: 20px;
    }
}

/* Zusätzliche Anpassung für kleinere Bildschirme (z. B. iPhone) */
@media (max-width: 375px) {
    .fixed-nav {
        padding: 10px 15px;
    }
    .logo {
        font-size: 1.5em;
    }
    nav .hamburger {
        font-size: 1.5em;
    }
    nav .nav-links {
        top: 60px;
        padding: 15px 0;
    }
    nav .nav-links a {
        font-size: 1em;
        padding: 10px;
    }
    .lang-toggle a {
        font-size: 1.2em;
    }
    .full-section {
        padding: 60px 10px;
    }
    .full-section h1 {
        font-size: 2em;
    }
    .full-section h2 {
        font-size: 1.8em;
    }
    .full-section p {
        font-size: 1em;
    }
    .cta {
        padding: 10px 20px;
        font-size: 1em;
        white-space: normal;
        max-width: 100%;
    }
    .card {
        padding: 15px;
    }
    .card i {
        font-size: 2em;
    }
    .card h3 {
        font-size: 1.4em;
    }
    .card p.short {
        font-size: 1em;
    }
    .bio-image {
        max-width: 150px;
    }
    .contact-info p {
        font-size: 1em;
    }
    .contact-form input, .contact-form textarea {
        font-size: 1em;
        padding: 10px;
    }
}
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-links.active {
        display: block;
    }
    .hamburger {
        display: block;
    }
    section {
        padding: 20px;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
    .nav-links {
        display: flex;
    }
}

/* My Additions: Animations, back-to-top, contrast, focus, improved mobile */
.section-content {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.dark-section p, .dark-section h3 {
    text-shadow: 0 1px 2px rgba(0,0,0,0.5); /* Better contrast */
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: #2ecc71;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 0.8;
}

#back-to-top:hover {
    opacity: 1;
}

.focused {
    outline: 2px solid #2ecc71;
}

/* Improved mobile */
@media (max-width: 768px) {
    .full-section {
        padding: 100px 20px; /* Increased padding */
    }
    .contact-form input, .contact-form textarea {
        padding: 15px;
    }
}

/* Fix for audit CTA spacing */
#audit .cta {
    margin-top: 40px; /* Add space above the button */
    display: block; /* Ensure it's block-level for centering */
    margin-left: auto;
    margin-right: auto;
    max-width: 200px; /* Optional: Limit width for better fit */
}