html {
    scroll-behavior: smooth;
}

/* Grundlegende Einstellungen für die ganze Seite */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Der Container hält den Inhalt mittig */
.container {
    width: 80%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}

/* Kopfbereich (Header) */
header {
    background: #333;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #0077b5 3px solid;
    text-align: center;
}

header h1 {
    padding-top: 10px;
    margin: 0;
    text-transform: uppercase;
}

/* Profil-Sektion */
.profile-section {
    background: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

/* Fähigkeiten (Skills) Liste */
.skills {
    list-style: none;
    padding: 0;
}

.skills li {
    background: #0077b5;
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    margin: 5px;
    border-radius: 5px;
}

/* Fußzeile */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    font-size: 0.8em;
    color: #666;
}

/* Profilbild Styling */
.profile-img {
    width: 150px;       /* Breite */
    height: 150px;      /* Höhe (gleich wie Breite für Kreis) */
    object-fit: cover;  /* Verhindert Verzerren des Bildes */
    border-radius: 50%; /* Macht das Bild kreisrund */
    border: 5px solid #fff; /* Weißer Rahmen drumherum */
    margin-bottom: 15px; /* Etwas Abstand zum Namen */
}

/* Button Styling */
.social-links {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    background: #0077b5;    /* Gleiches Blau wie die Linien */
    color: #fff;            /* Weiße Schrift */
    padding: 10px 20px;     /* Innenabstand macht den Button "fett" */
    text-decoration: none;  /* Unterstreichung vom Link entfernen */
    border-radius: 5px;     /* Leicht abgerundete Ecken */
    margin: 8px 5px;     /* Abstand zwischen den Buttons */
    transition: background 0.3s, all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Sanfter Effekt beim Drüberfahren */
}

/* Hover-Effekt (Wenn die Maus drüberfährt) */
.btn:hover {
    background: #005582;
    transform: translateY(-2px); /* Schwebt leicht hoch */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15); /* Dunkleres Blau beim Hover */
}

.btn:active {
    transform: translateY(1px); /* Geht wieder runter */
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}


/* Animation für die Profil-Sektionen */
.profile-section {
    /* ... deine alten Werte bleiben ... */
    transition: transform 0.3s, box-shadow 0.3s; /* Weicher Übergang */
}

/* Wenn die Maus drüber ist: */
.profile-section:hover {
    transform: translateY(-5px); /* Bewegt die Box 5px nach oben */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Schatten wird stärker */
}

.btn-cv {
    display: inline-block;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn-cv:hover {
    transform: translateY(-5px); /* Bewegt den Button 5px nach oben */
    background: #005582; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.container-werdegang {
    text-align: left;
    padding: 0 20px;
}

.container-werdegang ul {
    list-style-type: disc;
    margin-left: 20px;
}

.werdegang-item1 {
    margin-bottom: 15px;
    border-left: 3px solid #0779e4;
    padding-left: 10px;
}

.werdegang-item2 {
    margin-bottom: 15px;
    border-left: 3px solid #ccc;
    padding-left: 10px;
}

.werdegang-expl {
    font-size: 0.9em;
    margin-top: 5px;
}

.i-und-d  {
    font-size: 0.9em;
    margin-top: 10px;
}

.d-und-i {
    color: #666; 
    text-decoration: none; 
    margin: 0 10px;
}

/* --- SKILL KARTEN DESIGN --- */

/* Der Container für das Raster */
.skills-grid {
    display: flex;
    flex-wrap: wrap; /* Erlaubt Umbruch auf nächste Zeile */
    justify-content: center; /* Zentriert die Karten */
    gap: 20px; /* Abstand zwischen den Karten */
    margin-top: 20px;
}

/* Die einzelne Karte */
.skill-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    width: 200px; /* Feste Breite pro Karte */
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover-Effekt: Karte schwebt hoch */
.skill-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #0779e4; /* Blauer Rand beim Drüberfahren */
}

/* Das Icon oben in der Karte */
.icon-box {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* Farben für die Icons (optional, sieht aber toll aus) */
.python-color { color: #3776AB; }
.html-color   { color: #E34F26; }
.php-color    { color: #777BB4; }
.server-color { color: #333; }

/* Die Überschrift in der Karte */
.skill-card h3 {
    margin: 10px 0 5px 0;
    font-size: 1.2em;
}

/* Das "Label" (z.B. Grundlagen) */
.skill-level {
    display: inline-block;
    background: #e0e0e0;
    color: #555;
    font-size: 0.8em;
    padding: 3px 8px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Der Beschreibungstext */
.skill-card p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

.discord-color { color: #5865F2; }
.linux-color { color: #FCC624; }

.award-note {
    font-size: 0.9em; 
    color: #666; 
    margin-top: 10px; 
    font-style: italic;
}

/* --- PROJEKT KARTEN DESIGN --- */

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: #fff;
    border-left: 5px solid #0779e4; /* Blauer Akzent-Strich links */
    border-radius: 5px;
    padding: 20px;
    width: 300px; /* Breiter als Skill-Karten */
    text-align: left; /* Text linksbündig liest sich bei Fließtext besser */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative; /* Für Positionierung */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.project-icon {
    font-size: 2em;
    color: #333;
    float: right; /* Icon nach rechts oben schieben */
    opacity: 0.2; /* Leicht transparent, damit es dezent wirkt */
}

.project-card h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
}

/* Kleine Tags wie "Python & Tkinter" */
.project-tag {
    background: #eee;
    color: #555;
    font-size: 0.75em;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

.project-card p {
    font-size: 0.95em;
    line-height: 1.5;
    color: #666;
    margin-top: 15px;
}

/* Kleiner Button im Projekt (optional) */
.btn-small {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85em;
    text-decoration: none;
    color: #0779e4;
    font-weight: bold;
}

.btn-small:hover {
    text-decoration: underline;
}

/* --- FEATURED PROJECT (Das Highlight) --- */
.project-featured {
    background: #fff;       /* Jetzt Weiß, wie der Rest */
    border: 1px solid #eee; /* Ganz feiner grauer Rahmen */
    border-left: 5px solid #fcc624; /* Nur noch der linke Strich ist gold */
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Leichter Schatten */
    transition: transform 0.2s;
}

/* Das Icon bleibt gold, aber etwas transparenter */
.featured-icon {
    font-size: 3em;
    color: #fcc624;
    min-width: 60px;
    text-align: center;
    opacity: 0.9;
}

/* Der Tag bleibt, passt aber jetzt besser zum weißen Hintergrund */
.tag-social {
    background: #fff3cd; /* Ganz helles Gelb für den Tag */
    color: #856404;
    font-size: 0.75em;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Auszeichnung: Dezent ohne Strich oben */
.award-badge {
    margin-top: 15px;
    display: inline-block;
    color: #bfa15f; /* Dunkleres, edles Gold/Braun */
    font-weight: 600; /* Nicht ganz so fett */
    font-size: 0.9em;
    /* border-top entfernt */
}

.featured-icon {
    font-size: 3em;
    color: #fcc624;
    min-width: 60px;
    text-align: center;
}

.featured-content h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
}

/* Der "Tag" für das Soziale */
.tag-social {
    background: #ffeeba;
    color: #856404;
    font-size: 0.75em;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}


/* --- GRID FÜR CODING PROJEKTE --- */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid #0779e4; /* Blauer Akzent für Code */
    border-radius: 5px;
    padding: 15px;
    flex: 1 1 250px; /* Wachsen, Schrumpfen, Basisbreite 250px */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-card h4 {
    margin: 5px 0 10px 0;
    font-size: 1.1em;
}

.fd:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.project-icon {
    float: right;
    font-size: 1.5em;
    opacity: 0.8;
}

.icon-python { color: #0779e4; }

.btn-text {
    display: block;
    margin-top: 10px;
    color: #0779e4;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}




.knowledge-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    border-top: 1px solid #eee; /* Trennlinie zu den Karten oben */
    padding-top: 30px;
}

.knowledge-box {
    flex: 1;
    min-width: 280px;
}

.knowledge-box h3 {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Tools Design (Badges) --- */
.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-badge {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #555;
    padding: 8px 15px;
    border-radius: 20px; /* Pillen-Form */
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: default;
}

.tool-badge:hover {
    background: #fff;
    border-color: #0779e4;
    color: #0779e4;
    transform: translateY(-2px);
}


/* --- Sprachen Design (Punkte) --- */
.lang-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    background: #fdfdfd;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.lang-label {
    font-weight: bold;
    color: #333;
    width: 80px;
}

.lang-dots {
    color: #0779e4;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.lang-text {
    font-size: 0.85rem;
    color: #777;
    text-align: right;
    width: 120px;
}


/* Handy-Optimierung: Auf kleinen Screens das Highlight untereinander stapeln */
@media (max-width: 600px) {
    .project-featured {
        flex-direction: column;
        text-align: center;
        transition: transform 0.2s;
    }
    .featured-icon {
        width: 100%;
        margin-bottom: 10px;
    }
}

.about-text p {
    line-height: 1.6; /* Macht den Text luftiger */
    margin-bottom: 15px; /* Abstand zwischen den Absätzen */
    color: #333; /* Dunkelgrau liest sich oft angenehmer als Schwarz */
  }
  