/* Grundlegende Styles (Dein Original-Design) */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: #282c34; /* Dunkler Hintergrund, wie bei vielen Code-Editoren */
    color: #e6e6e6; /* Helle Textfarbe für Kontrast */
}

.container {
    width: 90%; /* Etwas breiterer Container */
    max-width: 1200px; /* Maximale Breite, um Lesbarkeit auf großen Bildschirmen zu gewährleisten */
    margin: 30px auto; /* Etwas Abstand oben/unten, zentriert */
    overflow: hidden;
    padding: 0 20px; /* Innenabstand für kleinere Bildschirme */
}

/* Header-Bereich (Dein Original-Design) */
header {
    background: #1e2126; /* Noch dunklerer Header-Hintergrund */
    color: #61dafb; /* Akzentfarbe für den Titel (türkis/cyan) */
    padding: 1rem 0; /* Ursprüngliches Padding, leicht reduziert */
    text-align: center; /* Standardzentrierung, wird durch Flexbox überschrieben */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Leichter Schatten */
    display: flex; /* Flexbox für die Anordnung von Logo und Text */
    align-items: center; /* Vertikale Zentrierung */
    justify-content: center; /* Horizontale Zentrierung des header-content */
    padding-left: 20px;
}

.header-content {
    display: flex; /* Auch für den Inhalt Flexbox */
    align-items: center; /* Vertikale Zentrierung von Logo und Textblock */
    width: 90%; /* Selbe Breite wie der Container */
    max-width: 1200px;
    justify-content: flex-start; /* Logo und Titel linksbündig */
    padding-left: 15px; /* Abstand vom linken Rand */
    box-sizing: border-box; /* Padding in die Breite einbeziehen */
}

.site-logo {
    height: 60px; /* Höhe des Logos anpassen */
    width: auto; /* Breite automatisch skalieren */
    margin-right: 20px; /* Abstand zwischen Logo und Text */
    border-radius: 50%; /* Optional: Macht das Logo rund, wenn es quadratisch ist */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Leichter Schatten für das Logo */
}

.logo-link { /* Falls du diesen Link-Stil hattest */
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-title h1 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-size: 2.5em; /* Etwas kleinere Überschrift, da Logo daneben */
    text-align: left; /* Überschrift linksbündig */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Schatten wie ursprünglich */
}

.site-title p {
    font-size: 1em;
    color: #f0f0f0;
    margin: 0;
    text-align: left; /* Absatz linksbündig */
}

/* Responsivität für Header */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column; /* Logo und Text untereinander auf kleinen Bildschirmen */
        align-items: center; /* Zentrierung für beide Elemente */
        padding-left: 0;
        text-align: center;
    }
    .site-logo {
        margin-right: 0; /* Kein Abstand nach rechts mehr */
        margin-bottom: 10px; /* Abstand nach unten */
        height: 50px; /* Etwas kleiner auf Mobilgeräten */
    }
    .site-title h1 {
        font-size: 2em;
        text-align: center;
    }
    .site-title p {
        text-align: center;
    }
}

/* Navigation (Dein Original-Design) */
nav {
    background: #3a3f44;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* Stärkerer Schatten für die Navigation */
    z-index: 1000; /* Stellt sicher, dass die Navigation über anderen Elementen liegt */
    position: sticky; /* Optional: Navigation beim Scrollen oben halten */
    top: 0; /* Wichtig für sticky position */
}

nav a {
    color: #e6e6e6;
    text-decoration: none;
    padding: 0.8rem 20px; /* Mehr Polsterung für Klickbereich */
    display: inline-block; /* Für Polsterung und Hover-Effekt */
    transition: background-color 0.3s ease, color 0.3s ease; /* Sanfter Übergang */
}

nav a:hover {
    background-color: #61dafb; /* Akzentfarbe beim Hover */
    color: #1e2126; /* Dunkler Text auf Akzentfarbe */
    text-decoration: none; /* Keine Unterstreichung mehr beim Hover */
}

/* Hauptinhaltsbereich (Dein Original-Design) */
.main-content {
    background: #33373d;
    padding: 40px; /* Mehr Innenabstand */
    border-radius: 10px; /* Etwas rundere Ecken */
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6); /* Noch stärkerer Schatten */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Dezenter, heller Rand */
}

.main-content p {
    margin-bottom: 1em; /* Standardabstand zwischen Absätzen */
}

.main-content ul {
    list-style-position: inside; /* Sorgt dafür, dass Aufzählungszeichen im Textfluss sind */
    padding-left: 0; /* Entfernt den Standard-Padding, da list-style-position inside ist */
    margin-left: 0; /* Entfernt den Standard-Margin */
}

.main-content ul li {
    margin-bottom: 10px; /* Mehr Abstand zwischen Listenpunkten */
}

.main-content h2 {
    font-family: 'Montserrat', sans-serif; /* Montserrat für Hauptüberschriften im Inhalt */
    color: #61dafb;
    border-bottom: 2px solid #61dafb;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 2.2em;
}

.main-content h3 {
    font-family: 'Montserrat', sans-serif; /* Montserrat für Unterüberschriften im Inhalt */
    color: #4CAF50;
    margin-top: 35px; /* Mehr Abstand oben */
    border-bottom: 1px dashed #4CAF50;
    padding-bottom: 5px;
    font-size: 1.6em;
}

.main-content ul {
    list-style-type: disc; /* Standard Aufzählungszeichen */
    margin-left: 20px;
    color: #ccc; /* Etwas helleres Grau für Listenpunkte */
}

.main-content ul li {
    margin-bottom: 8px;
}

.main-content strong {
    color: #FFD700; /* Goldene Farbe für starke Betonungen */
}

.main-content a {
    color: #61dafb; /* Akzentfarbe für Links im Inhalt */
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-content a:hover {
    color: #4CAF50; /* Grün beim Hover */
    text-decoration: underline;
}

/* Spezifische Lernfeld-Abschnitte */
.lernfeld-section {
    margin-top: 50px; /* Noch mehr Abstand */
    padding-top: 30px; /* Mehr Padding */
    border-top: 1px dashed rgba(255, 255, 255, 0.15); /* Gestrichelte, deutlichere Trennlinie */
}

hr {
    border: 0;
    height: 2px; /* Etwas dicker */
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(97, 218, 251, 0.3), rgba(0, 0, 0, 0)); /* Akzentfarbe für die Trennlinie */
    margin: 50px 0; /* Mehr Abstand um die Trennlinie */
}

.lernfeld-section h4 {
    font-family: 'Montserrat', sans-serif; /* Montserrat für Lernfeld-Titel */
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 1.4em;
}

/* Kontaktseite spezifische Styles */
.contact-info p {
    margin-bottom: 15px;
}

.contact-info strong {
    color: #61dafb;
}

form {
    margin-top: 30px;
    padding: 25px;
    background-color: #2c3038; /* Etwas hellerer Hintergrund für das Formular */
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3); /* Dezenter innerer Schatten */
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #f0f0f0;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: calc(100% - 20px); /* Anpassen für 10px Padding links/rechts */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #3e444b; /* Dunklerer Hintergrund für Eingabefelder */
    color: #e6e6e6; /* Helle Schrift in den Feldern */
    outline: none; /* Keine blaue Umrandung beim Fokus */
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
    border-color: #61dafb; /* Akzentfarbe beim Fokus */
    box-shadow: 0 0 5px rgba(97, 218, 251, 0.5); /* Dezenter Schatten beim Fokus */
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

form button {
    background-color: #61dafb; /* Akzentfarbe für den Button */
    color: #1e2126; /* Dunkler Text auf Akzentfarbe */
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

form button:hover {
    background-color: #4CAF50; /* Grün beim Hover */
    transform: translateY(-2px); /* Leichter "Pop"-Effekt */
}

/* Footer-Bereich (Dein Original-Design) */
footer {
    text-align: center;
    padding: 25px;
    background: #1e2126; /* Dunklerer Footer */
    color: #aaa; /* Helleres Grau */
    margin-top: 40px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    font-size: 0.9em;
}

/* Responsivität */
@media (max-width: 768px) {
    nav a {
        display: block; /* Links untereinander auf kleineren Bildschirmen */
        margin-bottom: 5px;
    }
    .container {
        width: 95%; /* Etwas mehr Breite auf kleinen Bildschirmen */
    }
    header h1 {
        font-size: 2em;
    }
}

/* Custom Icons für Listen */
.icon-list {
    list-style: none; /* Entfernt die Standard-Aufzählungszeichen */
    padding-left: 0;
    margin-left: 0;
}

.icon-list li {
    display: flex; /* Für Ausrichtung von Icon und Text */
    align-items: center; /* Vertikale Zentrierung */
    margin-bottom: 12px; /* Mehr Abstand */
}

.icon-list li i {
    margin-right: 15px; /* Abstand zwischen Icon und Text */
    font-size: 1.2em; /* Größe des Icons */
    width: 25px; /* Feste Breite, um Textausrichtung zu gewährleisten */
    text-align: center;
}

/* Farben für die Icons */
.icon-color-green {
    color: #4CAF50; /* Grün */
}

.icon-color-yellow {
    color: #FFD700; /* Gold */
}

.icon-color-blue {
    color: #61dafb; /* Türkis/Cyan */
}

/* Linktree Section Styles */
.linktree-section {
    display: grid; /* Verwendet CSS Grid für ein flexibles Layout */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 280px Mindestbreite, passt sich an */
    gap: 20px; /* Abstand zwischen den Links */
    margin-top: 30px;
    padding: 20px;
    background-color: #2c3038; /* Etwas hellerer Hintergrund als main-content */
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.linktree-item {
    display: flex; /* Flexbox für Icon und Text innerhalb des Links */
    align-items: center; /* Vertikale Zentrierung */
    background-color: #3e444b; /* Hintergrundfarbe für jeden Link-Block */
    color: #e6e6e6; /* Textfarbe */
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Dezenter Schatten */
}

.linktree-item i {
    margin-right: 15px; /* Abstand zwischen Icon und Text */
    font-size: 1.4em; /* Größeres Icon */
    color: #61dafb; /* Akzentfarbe für Icons */
}

.linktree-item:hover {
    background-color: #4CAF50; /* Grüne Akzentfarbe beim Hover */
    color: #1e2126; /* Dunklerer Text beim Hover */
    transform: translateY(-3px); /* Leichter Schwebeeffekt */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); /* Stärkerer Schatten beim Hover */
}

/* Responsivität für Linktree */
@media (max-width: 600px) {
    .linktree-section {
        grid-template-columns: 1fr; /* Eine Spalte auf sehr kleinen Bildschirmen */
    }
    .linktree-item {
        font-size: 1em;
        padding: 12px 15px;
    }
    .linktree-item i {
        font-size: 1.2em;
    }
}

/* Styles für das Profilbild und Kontaktdaten auf der Kontaktseite */
.profile-display {
    display: flex; /* Nutzt Flexbox, um Bild und Infos nebeneinander zu legen */
    align-items: center; /* Vertikal zentriert das Bild und die Texte */
    gap: 30px; /* Abstand zwischen Bild und Textblock */
    margin-bottom: 40px; /* Abstand nach unten zum Formular */
    padding: 20px;
    background-color: #2c3038; /* Hintergrundfarbe wie Formular */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4); /* Leichter Schatten */
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-image img {
    width: 150px; /* Breite des Bildes anpassen */
    height: 150px; /* Höhe gleich Breite für ein Quadrat */
    border-radius: 50%; /* Macht das Bild rund */
    object-fit: cover; /* Stellt sicher, dass das Bild den Kreis ausfüllt ohne Verzerrung */
    border: 3px solid #61dafb; /* Akzentfarbe als Rahmen */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Schatten um das runde Bild */
}

.contact-info {
    flex-grow: 1; /* Lässt die Kontaktinformationen den restlichen Platz einnehmen */
}

.contact-info p {
    margin-bottom: 10px; /* Etwas weniger Abstand zwischen den Zeilen */
    font-size: 1.1em;
}

.contact-info strong {
    color: #4CAF50; /* Grüne Farbe für die Labels (Name, E-Mail etc.) */
}

/* Responsivität für das Profilbild */
@media (max-width: 768px) {
    .profile-display {
        flex-direction: column; /* Bild und Infos untereinander auf kleinen Bildschirmen */
        text-align: center;
        gap: 20px; /* Abstand zwischen Bild und Textblock */
    }
    .profile-image {
        margin-bottom: 0; /* Kein zusätzlicher Margin-Bottom */
    }
    .profile-image img {
        width: 120px; /* Etwas kleiner auf Mobilgeräten */
        height: 120px;
    }
}
/* Styling für den Welcome-Bereich mit Icon */
.welcome-section-header {
    display: flex;          /* Nutzt Flexbox für flexible Anordnung */
    align-items: center;    /* Vertikale Zentrierung von Text und Bild */
    justify-content: center; /* Horizontale Zentrierung der Gruppe */
    margin-bottom: 20px;    /* Abstand zum Text darunter */
}

.welcome-section-header h2 {
    /* Behält die meisten bestehenden h2-Styles bei, aber passt Ränder an */
    border-bottom: none; /* Entfernt den Unterstrich hier, da er stören könnte */
    padding-bottom: 0;
    margin-bottom: 0;    /* Entfernt Standard-Margin */
    margin-right: 15px;  /* Abstand zwischen Titel und Icon */
    text-align: left;    /* Falls h2 sonst zentriert ist, hier linksbündig */
    white-space: nowrap; /* Verhindert, dass die Überschrift umbricht, wenn das Icon daneben ist */
}

.welcome-icon {
    width: 150px;  /* Größe des Icons anpassen (Beispielwert) */
    height: auto; /* Höhe proportional zur Breite */
    vertical-align: middle; /* Für bessere vertikale Ausrichtung mit Text */
    border-radius: 50%; /* Macht das Bild rund */
    object-fit: cover;
}

/* Responsivität für das Icon */
@media (max-width: 768px) {
    .welcome-section-header {
        flex-direction: column; /* Icon und Text untereinander auf kleinen Bildschirmen */
        text-align: center;
    }
    .welcome-section-header h2 {
        margin-right: 0;       /* Kein rechter Rand mehr */
        margin-bottom: 10px;   /* Abstand nach unten zum Icon */
        font-size: 2em;        /* Etwas kleiner auf Mobilgeräten */
        text-align: center;
    }
    .welcome-icon {
        width: 110px; /* Kleiner auf Mobilgeräten */
        border-radius: 50%; /* Auch hier für die responsive Größe rund machen */
        object-fit: cover;
    }
}

/* Konfigurator-spezifische Stile (Angepasst an dein dunkles Theme) */
.konfigurator-section {
    background-color: #2c3038; /* Dunkler als Main-Content, wie dein Formular-Hintergrund */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Dezenter heller Rand */
    border-radius: 10px; /* Passend zu main-content */
    padding: 30px; /* Mehr Innenabstand */
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4); /* Ähnlicher Schatten wie andere Sektionen */
}

.konfigurator-section h3 {
    color: #61dafb; /* Türkis/Cyan Akzentfarbe für Überschriften */
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2em; /* Etwas größer */
    border-bottom: 2px solid #61dafb; /* Unterstrich passend zur Hauptüberschrift */
    padding-bottom: 10px;
}

.konfigurator-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #f0f0f0; /* Heller Text für Labels */
    font-size: 1.1em;
}

.konfigurator-section select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444; /* Dunklerer Rand */
    border-radius: 8px; /* Etwas rundere Ecken */
    font-size: 1em;
    background-color: #3e444b; /* Dunklerer Hintergrund für Dropdowns */
    color: #e6e6e6; /* Helle Schrift in den Feldern */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Angepasster Pfeil für dunklen Hintergrund, dies kann je nach Browser variieren */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2361dafb%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-6.5%200-12.3%203.2-16.1%208.1-3.9%204.9-4.7%2011.6-2.6%2017.6l139%20223.9c1.7%202.9%204.2%205.2%207.1%206.7%202.9%201.5%206.2%202.3%209.4%202.3s6.5-.8%209.4-2.3c2.9-1.5%205.4-3.8%207.1-6.7l139-223.9c2.1-6-.7-12.7-4.6-17.6z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px; /* Etwas größerer Pfeil */
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.konfigurator-section select:focus {
    border-color: #4CAF50; /* Grün beim Fokus */
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25); /* Grüner Schatten beim Fokus */
}

.selected-component-details {
    background-color: #3e444b; /* Dunklerer Hintergrund für Details */
    border-left: 5px solid #4CAF50; /* Grüne Akzentlinie */
    padding: 20px;
    margin-top: 25px;
    border-radius: 8px;
    color: #e6e6e6; /* Helle Schriftfarbe */
    box-shadow: inset 0 0 8px rgba(0,0,0,0.3);
}

.selected-component-details h4 {
    color: #FFD700; /* Goldene Farbe für "Ausgewählt" */
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
    font-family: 'Montserrat', sans-serif;
}

.selected-component-details p {
    margin: 5px 0;
    color: #ccc; /* Etwas helleres Grau für Details */
}
