body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #001f3f;
    color: #333;
}

header {
    background-color: #00274d;
    color: #fff;
    padding: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    min-height: auto;
    position: relative;
}

header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-grow: 1;
}

header .header-left {
    flex: 1;
    text-align: left;
    padding-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    padding: 20px 0 0 0;
}

header p {
    margin: 5px 0 0;
    font-size: 1.2rem;
}

header .header-nav {
    flex: 0 0 auto;
    padding: 0;
    margin-top: auto;
    align-self: flex-end;
    width: auto;
}

header .header-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    white-space: nowrap;
}

header .header-nav ul li {
    margin: 0;
    position: relative;
}

header .header-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: block;
    padding: 15px 20px;
    background-color: #003d7a;
    border: 1px solid #005a9c;
    text-align: center;
    min-width: 150px;
}

header .header-nav ul li a:hover {
    background-color: #005a9c;
    color: #cce0ff;
}

header .header-nav ul li.dropdown {
    position: relative;
}

header .header-nav ul li.dropdown > a::after {
    content: " ▼";
    font-size: 0.8rem;
}

header .header-nav ul li.dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
}

header .header-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #003d7a;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 100%;
    flex-direction: column;
    z-index: 1000;
    border: 1px solid #005a9c;
}

header .header-nav .dropdown-menu li {
    margin: 0;
}

header .header-nav .dropdown-menu li a {
    display: block;
    padding: 15px 20px;
    min-width: 150px;
    font-size: 1rem;
    border-bottom: 1px solid #005a9c;
    background-color: #003d7a;
}

header .header-nav .dropdown-menu li a:hover {
    background-color: #005a9c;
}

header .header-nav .dropdown-menu li:last-child a {
    border-bottom: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 40px 0;
}

section#about {
    background-color: #ebf3ff;
}

section#about .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
}

@media (max-width: 640px) {
    section#about .container {
        flex-direction: column;
        flex-wrap: wrap;
    }
}

section#about .text-content {
    flex: 0 1 60%;
    max-width: 60%;
    text-align: left;
}

@media (max-width: 640px) {
    section#about .text-content {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

section#about .text-content h2 {
    color: #00274d;
    font-size: 2rem;
    margin-bottom: 15px;
}

section#about .text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

section#about .text-content ol li {
    margin-bottom: 15px;
    line-height: 1;
    padding-left: 5px;
}

section#about .text-content p:first-of-type {
    color: #00274d;
}

section#about .text-content p:nth-of-type(2) {
    font-weight: bold;
    color: #00274d;
}

section#about img {
    flex: 0 1 35%;
    max-width: 30%;
    border-radius: 10px;
    align-self: flex-start;
    object-fit: cover;
}

@media (max-width: 640px) {
    section#about img {
        flex: 0 1 100%;
        max-width: 100%;
        order: -1;
    }
}

section#about ul {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

@media (max-width: 640px) {
    section#about ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

section#about ul li {
    margin: 0;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

section#contact {
    background-color: #cce0ff;
    text-align: center;
}

section#contact .contact-info {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

section#contact .contact-info p {
    margin: 0;
    font-size: 1.1rem;
}

section#contact .contact-info a {
    color: #00274d;
    text-decoration: none;
    font-weight: bold;
}

section#contact .contact-info a:hover {
    text-decoration: underline;
}

footer {
    background-color: #001f3f;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 20px auto;
    max-width: 800px;
    line-height: 1.6;
}

ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #333;
}

section#impressum {
    padding: 40px 0;
    background-color: #e6f0ff;
}

section#impressum .container {
    max-width: 600px;
    margin: 0 auto;
}

section#impressum h2 {
    font-size: 24px;
    color: #00274d;
    margin-bottom: 30px;
    border-bottom: 3px solid #003d7a;
    padding-bottom: 10px;
}

section#impressum p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333;
}

section#impressum p:last-of-type {
    margin-bottom: 0;
}

section#impressum a {
    color: #003d7a;
    text-decoration: none;
}

section#impressum a:hover {
    text-decoration: underline;
    color: #00274d;
}

/* Cookie Dialog Styles */
.cookie-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    overflow-y: auto;
}

.cookie-dialog.hidden {
    display: none;
}

.cookie-dialog-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-dialog-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    color: #00274d;
}

.cookie-dialog-content p {
    margin: 0 0 20px 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.cookie-dialog-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 120px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-accept {
    background-color: #28a745;
    color: white;
    font-weight: bold;
}

.btn-accept:hover {
    background-color: #218838;
}

.btn-reject {
    background-color: #dc3545;
    color: white;
    font-weight: bold;
}

.btn-reject:hover {
    background-color: #c82333;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 6px;
    margin-left: auto;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Responsive Styles */
@media (max-width: 900px) {
    header .header-content {
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }
    
    header .header-left {
        text-align: left;
        flex: 1;
    }

    .hamburger-menu {
        display: flex;
    }

    header .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #003d7a;
        flex-direction: column;
        align-self: auto;
        width: 100%;
        z-index: 999;
    }

    header .header-nav.active {
        display: flex;
    }
    
    header .header-nav ul {
        justify-content: flex-start;
        gap: 0;
        flex-wrap: wrap;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }
    
    header .header-nav ul li {
        width: 100%;
        margin: 0;
    }
    
    header .header-nav ul li a {
        font-size: 1rem;
        min-width: auto;
        width: 100%;
        box-sizing: border-box;
        border: none;
        border-bottom: 1px solid #005a9c;
        text-align: left;
    }

    header .header-nav ul li:last-child a {
        border-bottom: none;
    }

    header .header-nav .dropdown-menu {
        position: static;
        display: none;
        background-color: #00274d;
        border: none;
    }

    header .header-nav ul li.dropdown:hover .dropdown-menu {
        display: none;
    }

    header .header-nav ul li.dropdown.active .dropdown-menu {
        display: flex;
    }

    header .header-nav .dropdown-menu li a {
        padding-left: 40px;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #005a9c;
        background-color: #00274d;
    }

    header .header-nav .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    
    header h1 {
        font-size: 2rem;
        margin: 0;
        padding: 0;
    }
    
    header p {
        font-size: 1rem;
        margin: 5px 0 0 0;
    }
    
    .cookie-dialog {
        padding: 15px;
        align-items: flex-start;
        justify-content: center;
        padding-top: max(20px, env(safe-area-inset-top));
    }
    
    .cookie-dialog-content {
        max-width: calc(100vw - 30px);
        width: 100%;
        padding: 20px;
        border-radius: 8px;
        animation: slideInMobile 0.3s ease;
        margin-top: 10px;
    }
    
    @keyframes slideInMobile {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .cookie-dialog-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .cookie-dialog-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .cookie-dialog-buttons {
        gap: 8px;
        flex-direction: column;
    }
    
    .btn {
        padding: 14px 16px;
        font-size: 0.95rem;
        min-width: auto;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn:last-child {
        margin-bottom: 0;
    }
}

/* Blog Entries */
.blog-entry {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.blog-entry h3 {
    color: #00274d;
    margin-top: 0;
}

.blog-entry .meta {
    color: #666;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.blog-entry-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.blog-image-container {
    flex: 0 0 35%;
    max-width: 300px;
    order: 2;
    margin: 0;
}

.blog-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.entry-content {
    flex: 1;
    order: 1;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .blog-entry-body {
        display: block;
    }

    .blog-image-container {
        width: 100%;
        max-width: 100%;
        margin: 0 0 15px 0;
        order: unset;
    }
    
    .entry-content {
        order: unset;
    }
}