html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #f9f9f9, #eaeaea);
    color: #333;
    display: flex;
    flex-direction: column;
}

#datenschutz {
    margin-bottom: 50px; /* Fügt zusätzlichen Platz unterhalb des Datenschutz-Blocks hinzu */
}
.logo-container img {
    border-radius: 10px; /* Fügt abgerundete Ecken zum Bild im Logo-Container hinzu */
}

body {
    overflow: hidden;
}

header {
    background: linear-gradient(to right, #2c3e50, #34495e);
    color: white;
    padding: 1.5rem 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
 
    z-index: 1000;
}

.logo-container {
    margin-right: 1rem;
}

.logo-container img {
    height: 50px;
}

.header-text {
    text-align: left;
}

.header-text h1 {
    margin: 0;
    font-size: 2rem;
}

.header-text p {
    margin: 0.5rem 0 0;
    font-size: 1.2rem;
    font-style: italic;
}

nav {
    background-color: #3b5872;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    z-index: 999;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffd700;
}

main {
    flex: 1;
    overflow-y: auto;
    margin-top: 180px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

section {
    width: 100%;
    max-width: 900px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.hero img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.hero-text {
    flex: 1;
}

.hero-text h2, section h2 {
    margin-top: 0;
    font-size: 1.8rem;
}

.hero-text p, section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.course {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border-top: 1px solid #ccc;
    padding-top: 1rem;
}

.course img {
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.course-info {
    flex: 1;
}

.course-info h3 {
    margin: 0;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #ecf0f1;
    font-size: 0.9rem;
    color: #555;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}
