/* Reset und Grundlagen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato';
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    color: #333;
    background-color: #fafafa;
}

h1, h2, h3, h4 {
    font-family: 'Vollkorn';
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

a[target="_blank"]::after {
    content: "↗";
    font-size: 0.8em;
    vertical-align: super;
}

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

/* Navigation */
.navbar {
    background: #2c3e50;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.active {
    color: #3498db;
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3498db;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5.75px, 6.75px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5.75px, -6.75px);
}

/* Hero Section */
.hero {
    margin-top: 60px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    padding: 0 40px;
}

.hero h1 {
    font-size: 5em;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero p {
    font-size: 1.3em;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-image {
    position: relative;
    height: 400px;
    margin-right: 40px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.image-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Hauptinhalt */
main {
    padding: 60px 0;
}

main a {
    color: #3498db;
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}

.intro {
    text-align: center;
    margin-bottom: 80px;
}

.intro h2 {
    color: #2c3e50;
    font-size: 2.5em;
    margin: 30px 0px;
    font-weight: 400;
}

.intro p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #555;
}

/* Theme Cards Grid */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.theme-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.theme-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.theme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.theme-card:hover .theme-image img {
    transform: scale(1.05);
}

.theme-image .image-placeholder {
    display: none;
    background: #f0f0f0;
    border: none;
    border-radius: 0;
    color: #999;
    font-size: 0.9em;
}

.theme-content {
    padding: 25px;
}

.theme-content h3 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 15px;
}

.theme-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.theme-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.theme-link:hover {
    color: #2980b9;
}

/* Lessons Section */
.lessons {
    background: #f9f3d7;
    padding: 50px;
    margin-bottom: 80px;
    border-radius: 8px 12px 12px 8px;
    border-left: 8px solid #f9cf0c;
}

.lessons h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
}

.lessons ul {
    list-style: none;
    padding-left: 0;
}

.lessons li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.lessons li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f9cf0c;
    font-weight: bold;
}

/* Contact Section */
.contact {
    text-align: center;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact h2 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 20px;
    font-weight: 400;
}

.contact > p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-box {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px 12px 12px 8px;
    border-left: 8px solid #3498db;
    max-width: 500px;
    margin: 0 auto 40px;
}

.contact-box h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.contact-email {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.contact-email strong {
    color: #3498db;
}

.contact-note {
    color: #666;
    font-size: 0.95em;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-tagline {
    margin-top: 10px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Listen */
.checklist {
    background: #f9f3d7;
    padding: 40px;
    margin-bottom: 20px;
    border-radius: 8px 12px 12px 8px;
    border-left: 8px solid #f9cf0c;
}

.checklist ul {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.checklist ul > li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f9cf0c;
    font-weight: bold;
}

/* Seiten-spezifische Styles */
.page-header {
    margin-top: 60px;
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: 400;
}

.page-header p {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.page-content h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2.2em;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.page-content h3 {
    color: #2c3e50;
    margin: 30px 0 15px 0;
    font-size: 1.3em;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.page-content ol {
    padding-left: 25px;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #555;
}

/* Infoboxen */
.infobox-formal {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px 12px 12px 8px;
    border-left: 8px solid #3498db;
    margin: 25px 0;
}

.infobox-informal {
    background: #f9f3d7;
    padding: 25px;
    border-radius: 8px 12px 12px 8px;
    border-left: 8px solid #f9cf0c;
    margin: 30px 0;
}
.infobox-informal h3 {
    margin-top: 0;
}
.infobox-informal p {
    margin-bottom: 0;
}

/* Responsive Bilder in Inhalten */
.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.image-caption {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 0;
}

.content-image.small,
.content-image.medium {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-image.small > * {
    max-width: 400px;
    width: 100%;
}

.content-image.medium > * {
    max-width: 600px;
    width: 100%;
}
/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #2c3e50;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid #34495e;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero-image {
        margin: 40px 20px 0;
        height: 400px;
    }

    .themes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lessons-grid {
        grid-template-columns: 1fr;
    }

    .lessons, .checklist, .contact, .page-content {
        padding: 30px 20px;
    }

    .intro h2 {
        font-size: 2.2em;
    }

    .page-header h1 {
        font-size: 3em;
    }
}