@font-face {
    font-family: 'Akaya Telivigala';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('webfonts/akaya-telivigala-v28-latin-regular.woff2') format('woff2'),
         url('webfonts/akaya-telivigala-v28-latin-regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial Round, sans-serif;
    font-size: 1.375rem;
    line-height: 1.6;
    color: #2C4A6E;
    background-color: #fff;
}

/* Hamburger button (hidden on desktop) */
.hamburger-btn {
    display: none;
}

/* Navigation Bar */
nav {
    background-color: #3B5D8C;
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 180px;
    z-index: 100;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    max-width: 180px;
    margin: 0;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    transition: background-color 0.3s ease;
    font-weight: 500;
    font-size: 0.85em;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

nav a.active {
    background-color: rgba(255, 255, 255, 0.4);
    border-bottom: 3px solid white;
}

/* Content Container */
body {
    margin-left: 180px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 { 
    font-size: 3em;
    margin-bottom: 10px;
    text-align: center;
    margin-top: 20px;
}

h2 { 
    font-size: 2.2em;
    margin-bottom: 20px;
    border-bottom: 2px solid #2C4A6E;
    padding-bottom: 10px;
    margin-top: 40px;
}

h3 { 
    font-size: 2em;
    margin-top: 30px;
    margin-bottom: 15px;
}

h4 { 
    font-size: 1.6em;
    margin-top: 20px;
    margin-bottom: 10px;
}

p { 
    margin-bottom: 15px;
}

.highlight-text {
    font-weight: bold;
    font-style: italic;
    text-align: center;
    margin: 30px 0;
    font-size: 1.2em;
}

.mehr-erfahren-btn {
    color: #2C4A6E;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
    font-size: 1.1em;
}

.mehr-erfahren-btn:hover {
    color: #1E3654;
}

.ausklapp-content {
    display: none;
    border-left: 3px solid #2C4A6E;
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #2C4A6E;
    padding-bottom: 10px;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
}

ul { 
    margin-bottom: 20px;
    margin-left: 20px;
}

li { 
    margin-bottom: 8px;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Tablet und kleinere Screens (max 768px) */
@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 200;
        background-color: #3B5D8C;
        color: white;
        font-family: 'Akaya Telivigala', cursive;
        padding: 12px 15px;
        font-size: 1.5em;
        cursor: pointer;
        line-height: 1;
        border: none;
        text-align: left;
        width: 100%;
    }

    nav {
        position: fixed;
        top: 48px;
        left: 0;
        right: 0;
        width: 100% !important;
        height: auto !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 150;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    nav.open {
        max-height: 100vh;
        overflow-y: auto;
    }

    nav ul {
        flex-direction: column;
        max-width: 100%;
    }

    nav a {
        padding: 12px 15px;
        font-size: 0.9em;
    }

    body {
        margin-left: 0;
        margin-top: 48px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.4em;
    }

    h4 {
        font-size: 1.2em;
    }

    .highlight-text {
        font-size: 1em;
    }
}

/* Mobile Phones (max 480px) */
@media (max-width: 480px) {
    body {
        font-size: 1.2rem !important;
        margin-top: 48px;
    }

    .container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 1.5em;
        margin-top: 10px;
    }

    h2 {
        font-size: 1.3em;
        margin-top: 20px;
    }

    h3 {
        font-size: 1.1em;
    }

    h4 {
        font-size: 1em;
    }

    .highlight-text {
        font-size: 0.9em;
        margin: 20px 0;
    }

    ul {
        margin-left: 15px;
    }

    li {
        margin-bottom: 6px;
    }

    .responsive-img {
        margin: 15px 0;
    }
}

.badge-img {
    float: right;
    max-width: 150px;
    margin: 0 0 20px 20px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

