/* =========================
   Globales Box-Sizing
========================= */
*, *::before, *::after {
    box-sizing: border-box;
}

/* =========================
   Body
========================= */
body {
    font-family: "Georgia", serif;
    background: #3498db;
    color: #333;
    margin: 0;
    padding: 0;
    font-size: 18px;
    min-height: 100vh;
}

/* =========================
   Header & Branding
========================= */
header {
    background-color: #3498db;
    padding: 0;
    color: #ffffff;
}

.container-header {
    background-color: #3498db;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
    margin-right: auto;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px auto;
    transition: 0.4s;
}

.header-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.header-buttons li {
    display: inline-block;
    margin: 5px 10px;
}

.header-branding {
    background-color: #3498db;
    padding: 10px;
}

.header-branding > div {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    flex-wrap: wrap;
}

.logo-large {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    order: 1;
}

.header-branding h1 {
    color: white;
    margin: 0;
    font-size: 2em;
    text-align: center;
    flex: 1;
    order: 2;
}

.logo-small {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.logo-wrapper {
    background-color: white;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper .logo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .logo-large { display: none; }
    .logo-small { display: inline-block; }
}

@media (min-width: 769px) {
    .logo-small { display: none; }
    .logo-large { display: inline-block; }
}
.content-image {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}


/* =========================
   Navigation
========================= */
.nav-bar {
    background-color: transparent;
    width: 100%;
    padding: 5px 0;
}

.nav-bar .container-header {
    background-color: #000000;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 0 0 10px 10px;
    padding: 5px 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;
}

nav ul li {
    margin: 1px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 4px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* =========================
   Card
========================= */
.card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 900px;
    margin: 40px auto;
    width: 100%;
}

.card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: 20px 0;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #3498db, #4CAF50);
}

.card h1, .card h2, .card h3 {
    color: #3498db;
    font-size: 1.2em;
    margin-bottom: 15px;
    text-align: center;
    hyphens: auto;
    word-break: break-word;
}

.card p {
    hyphens: auto;
    word-break: break-word;
    font-size: 1em;
}

.card ul {
    list-style-type: none;
    padding: 0;
}

.card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.card ul li::before {
    content: '✓';
    color: #4CAF50;
    position: absolute;
    left: 0;
}

/* =========================
   Footer
========================= */
footer {
    background: transparent;
    color: #ffffff;
    padding: 20px 0;
    margin-top: 40px;
}

.container-footer {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-section h3 {
    color: #000000;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 20px;
    text-align: center;
    padding-top: 10px;
    background-color: transparent;
}

.footer-bottom .container-footer {
    background-color: #000000;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
    padding: 10px 20px;
}

/* =========================
   Image Grid für Buttons
========================= */
.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.clickable-card {
    flex: 1 1 calc(20% - 20px); /* Bis zu 5 Karten pro Zeile */
    max-width: 200px;
    box-sizing: border-box;
}

.card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.card-image:hover {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .clickable-card {
        flex: 1 1 calc(50% - 20px);
        max-width: 48%;
    }
}

@media (max-width: 600px) {
    .clickable-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
