* {
    margin: 0px;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	display: block;
    background-color: #ffffff;
    color: #333;
    
}

/* Standardmäßig alle Sektionen verstecken */


/* Nur die aktive Sektion anzeigen */
.tab-content.active {
    display: block;
}

/* Stil für den aktiven Link in der Sidebar */
.active-link i {
    background-color: #00a8e8 !important; /* Markiert das Icon hellblau */
    box-shadow: 0 0 10px rgba(0, 168, 232, 0.5);
}

/* Animation für weiches Einblenden */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Styling für die Überschriften im Content */
.content h2 {
    color: #1a4b69;
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #1a4b69;
    padding-bottom: 10px;
}

/* Ersetze alle vorhandenen .content Blöcke durch diesen: */
.content {
    margin-left: 500px; /* Erhöht auf 500px, damit genug Platz zur Sidebar ist */
    padding: 40px;
    display: block;    
    text-align: left;  
    min-height: 100vh;
}

.tab-content {
    display: none;
    width: 100%;
    background-color: #ffffff; /* Weißer Hintergrund verhindert Durchscheinen */
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR STYLES */
.sidebar {
    width: 380px;
    background-color: #1a4b69;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    position: fixed;
	/* ... deine anderen Styles ... */
    max-height: 100vh;   /* Darf nie höher als der Bildschirm sein */
    overflow-y: auto;    /* Erlaubt Scrollen innerhalb der Sidebar, wenn nötig */
    scrollbar-width: none; /* Versteckt den Scrollbalken in Firefox */
    /* Abstand von links */
    left: 60px; 
    /* Abstand von oben (z.B. 5%, damit sie bei 90% Höhe mittig sitzt) */
    top: 0%; 
    height: 100%;
    border-radius: 10px;
    z-index: 100; /* Sicherstellen, dass sie über dem Inhalt bleibt */
}

.sidebar::-webkit-scrollbar {
    display: none;       /* Versteckt den Scrollbalken in Chrome/Safari */
}

.profile-img {
    width: 220px;
    height: 280px;
    border: 3px solid white;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 15px;
}

.profile-section h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 300;
}

.divider {
    width: 80%;
    margin: 20px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* NAVIGATION ICONS */
.nav-links {
    list-style: none;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Zwei Spalten wie im Bild */
    gap: 20px;
    padding: 10px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.nav-links li a i {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    font-size: 2.1rem;
    margin-bottom: 8px;
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links li a:hover {
    transform: scale(1.05);
}

.main-title {
    font-size: 5rem;
    color: #1a4b69;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 1. Nur für die HOME Seite */
.main-subtitle {
    font-size: 2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto; /* Zentriert die Box innerhalb des Home-Bereichs */
    text-align: center;
    line-height: 1.3;
    display: block; /* Sicherstellen, dass es kein Flex-Item ist */
}

/* 2. Nur für die ÜBER MICH Seite */
.about-subtitle {
    font-size: 1.4rem;
    color: #1a4b69;
    margin: 10px 0;
    font-weight: 500;
    text-align: left; /* Hier soll es wahrscheinlich linksbündig sein */
}

/* Header Styling */
.experience-header {
    width: 100%;
    text-align: right;
    margin-bottom: 50px;
}

.experience-header h2 {
    display: inline-block;
    color: #1a4b69;
    font-size: 2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    border-bottom: 3px solid #1a4b69;
    padding-bottom: 5px;
}

/* Timeline Container */
.timeline{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    text-align: left;
	background: rgba(26, 75, 105, 0.03); /* Der dezente blaue Hintergrund */
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(26, 75, 105, 0.05); /* Optional: ein hauchdünner Rahmen */
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}


/* Da die Zertifikate-Spalten schon einen eigenen Hintergrund haben, 
   verhindern wir hier eine doppelte Einfärbung */
#zertifikate .timeline {
    background: transparent;
    border: none;
    padding: 10px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

/* Linke Seite: Datum & Firma */
.timeline-info {
    flex: 0 0 180px;
    text-align: right;
    padding-right: 5px;
}

.timeline-info .date {
    font-weight: bold;
    color: #555;
}

.timeline-info .company {
    font-size: 0.85rem;
    color: #777;
}

/* Die blaue Linie und Icons */
.timeline-marker {
    flex: 0 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.icon-circle {
    width: 30px;
    height: 30px;
    background-color: #5dade2; /* Hellblau */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.8rem;
    z-index: 2;
}

/* Die durchgehende Linie */
.timeline-item:not(:last-child) .timeline-marker::after {
    content: '';
    position: absolute;
    top: 30px;
    bottom: -40px;
    width: 3px;
    background-color: #5dade2;
    z-index: 1;
}

/* Rechte Seite: Inhalt */
.timeline-content {
    flex: 1;
    padding-left: 20px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.timeline-content li {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Spezielles Design für Zertifikate ohne Datums-Spalte */
.timeline.simple .timeline-info {
    display: none; /* Blendet die linke Spalte aus */
}

.timeline.simple .timeline-marker {
    flex: 0 0 40px; /* Schmalerer Bereich für die Linie */
}

.company-sub {
    font-size: 0.9rem;
    color: #5dade2; /* Gleiches Blau wie die Icons */
    font-weight: 600;
    margin-top: -10px;
    margin-bottom: 5px;
}

/* Optional: Damit die Zertifikate nicht zu weit rechts kleben */
.timeline.simple {
    max-width: 800px; 
    margin-left: 250px; /* Kleiner Abstand zur Sidebar */
}

/* Container für die zwei Spalten */
.certificate-grid {
    display: flex;
    gap: 40px; /* Abstand zwischen den Spalten */
    width: 100%;
    max-width: 1100px;
    margin-top: 20px;
	/* ZENTRIERUNG: Oben/Unten bleibt (z.B. 20px), Links/Rechts wird automatisch berechnet */
    margin-left: auto;
    margin-right: auto;
}

/* Einzelne Spalte */
.cert-column {
    flex: 1; /* Beide Spalten sind gleich breit */
    background: rgba(26, 75, 105, 0.03); /* Ganz zarter blauer Hintergrund */
    padding: 20px;
    border-radius: 10px;
}

.cert-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #486f87;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

.cert-btn:hover {
    background: #084298;
}

/* Titel über den Spalten */
.column-title {
    font-size: 1.4rem;
    color: #1a4b69;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #5dade2;
    padding-bottom: 10px;
}

/* Anpassung der Timeline für die Spalten */
.cert-column .timeline.simple {
    margin-left: 0;
}

/* Mobile Ansicht: Spalten untereinander statt nebeneinander */
@media (max-width: 1000px) {
    .certificate-grid {
        flex-direction: column;
    }
}

/* Das Modal (Hintergrund) */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.9); /* Schwarzer transparenter Hintergrund */
    overflow: auto;
}

/* Container für das Bild */
.modal-content-container {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px; /* Begrenzung für A4 Hochformat */
    padding: 40px 0;
}

/* Das Bild selbst */
.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    height: auto;
    border: 5px solid white;
    border-radius: 5px;
}

.modal-content {
    max-height: 90vh; /* Das Bild wird nie höher als 90% des Bildschirms */
    width: auto;      /* Breite passt sich proportional an */
    margin: auto;
}

/* Schließen-Button */
.close-modal {
    position: fixed;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover {
    color: #5dade2;
}

/* Bildunterschrift */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 1.2rem;
}

.contact-container {
    text-align: center;
    width: 100%;
}
.contact-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.contact-card {
    background: #f4f4f4;
    padding: 30px;
    border-radius: 15px;
    width: 400px;
    text-decoration: none;
    color: #1a4b69;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border-bottom: 4px solid #5dade2;
}
.contact-card:hover {
    transform: translateY(-10px);
    background: #1a4b69;
    color: white;
}
.contact-card i {
    font-size: 2.5rem;
}

/* --- Über mich / Skills --- */
.about-container { 
background: rgba(26, 75, 105, 0.03); /* Der dezente blaue Hintergrund */
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(26, 75, 105, 0.05); /* Optional: ein hauchdünner Rahmen */
    width: 100%;
    max-width: 1000px;
    margin: 0 auto; 
}
.about-text { 
    margin: 25px 0; 
    line-height: 1.8; 
	text-align: justify;
    hyphens: auto; /* Sorgt für automatische Silbentrennung, damit keine großen Lücken entstehen */
    color: #444; 
    font-size: 1.1rem; 
}
.skills-tags { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 20px; 
}
.skills-tags span {
    background: #1a4b69;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Modernes "Über mich" Layout --- */

.about-modern-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Abstand zwischen den drei Hauptblöcken */
    padding: 20px;
}

/* 1. Hero Bereich (Bild & Intro) */
.about-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(26, 75, 105, 0.08); /* Sanfter Schatten */
    border: 1px solid rgba(26, 75, 105, 0.05);
}

.about-image-wrapper {
    position: relative;
    flex: 0 0 200px; /* Feste Breite für das Bild-Feld */
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-profile-img {
    
    height: 380px;
    border-radius: 5%; /* Rundes Bild */
    object-fit: cover; /* Verhindert Verzerrung */
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.image-decor {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5dade2 0%, #1a4b69 100%); /* Blau-Verlauf */
    z-index: 1;
    opacity: 0.2;
}

.about-intro {
    flex: 1; /* Nimmt den restlichen Platz ein */
}

.about-greeting {
    font-size: 2.2rem;
    color: #1a4b69;
    margin-bottom: 10px;
}

/* 2. Highlights Bereich (Drei Spalten) */
.about-highlights {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.highlight-item {
    flex: 1;
    background: rgba(26, 75, 105, 0.03); /* Der dezente Hintergrund */
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(26, 75, 105, 0.1);
    border-bottom: 3px solid #5dade2; /* Highlight-Farbe beim Hover */
}

.highlight-item i {
    font-size: 2.5rem;
    color: #5dade2;
    margin-bottom: 15px;
}

.highlight-item h4 {
    font-size: 1.2rem;
    color: #1a4b69;
    margin-bottom: 8px;
}

.highlight-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* 3. Tech-Stack Bereich (Zentriert) */
.about-tech-stack {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.about-tech-stack h4 {
    color: #1a4b69;
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid #5dade2;
    display: inline-block;
    padding-bottom: 8px;
}

/* Bestehende .skills-tags CSS-Regeln werden hier automatisch angewendet */


/* Responsive Anpassungen (Mobile) */
@media (max-width: 800px) {
    .about-hero {
        flex-direction: column; /* Bild über dem Text */
        text-align: center;
        padding: 20px;
    }
    
    .about-highlights {
        flex-direction: column; /* Highlights untereinander */
        gap: 15px;
    }
}

/* --- Erweitertes Intro-Styling --- */

/* Neu */
#home.active {
    display: flex; 
}

#home {
    height: 80%; 
    top: 5%;
    display: none; /* Standardmäßig verstecken! */
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: visible; /* Oder die Zeile ganz löschen */
    background-color: rgba(26, 75, 105, 0.03);
    border-radius: 8px;
}

/* Die animierten Balken auf der linken Seite */
#home::before {
    content: "";
    width: 15vw; 
    height: 100%; /* Bezieht sich jetzt auf die 90% von #home */
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: 8% 60%; /* Linien etwas kürzer für edlere Optik */
    background-image:
        linear-gradient(#1a4b69, #1a4b69),
        linear-gradient(#5dade2, #5dade2),
        linear-gradient(#1a4b69, #1a4b69),
        linear-gradient(#5dade2, #5dade2),
        linear-gradient(#1a4b69, #1a4b69),
        linear-gradient(#5dade2, #5dade2),
        linear-gradient(#1a4b69, #1a4b69);
    
    /* Zentrierte Startposition der Linien */
    background-position: 7% 20%, 21% 80%, 35% 20%, 49% 80%, 63% 20%, 77% 80%, 91% 20%;
    animation: showBarsBig 3s ease-in-out forwards;
}

/* Animation der Balken (von oben/unten einschießen) */
@keyframes showBarsBig {
    0% { opacity: 0; background-position: 7% -400%, 21% 500%, 35% -400%, 49% 500%, 63% -400%, 77% 500%, 91% -400%; }
    100% { opacity: 1; background-position: 7% 15%, 21% 85%, 35% 15%, 49% 85%, 63% 15%, 77% 85%, 91% 15%; }
}

/* Der Textbereich */
.intro-text-box {
    margin-left: 18vw; /* Abstand von den Balken innerhalb des Home-Bereichs */
    opacity: 0;
    transform: translateX(-30px);
    animation: showTextSlide 1.5s ease-out forwards;
    animation-delay: 2.5s;
}

@keyframes showTextSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.main-title {
    font-size: 4.5rem; /* Etwas kleiner, damit es in den 90% Rahmen passt */
    color: #1a4b69;
}

.main-subtitle {
    font-size: 1.8rem;
    color: #5dade2;
    margin-top: 10px;
}

/* Responsive Design für Smartphones (max 768px) */
@media (max-width: 768px) {
    
    /* 1. Layout-Struktur */
    .container { 
        flex-direction: column; 
    }

    .sidebar { 
        position: relative; 
        width: 100%; 
        height: auto; 
        left: 0;          /* WICHTIG: Die 60px von links entfernen */
        top: 0; 
        border-radius: 0; /* Optional: sieht auf Handy oft cleaner aus ohne Rundung oben */
        padding: 30px 15px;
    }

    .content { 
        margin-left: 0;   /* WICHTIG: Die 500px Platz für Sidebar entfernen */
        padding: 20px;    /* Etwas weniger Padding für mehr Platz */
    }

    /* 2. Timeline (Berufserfahrung/Studium) */
    .timeline-item { 
        flex-direction: column; 
    }

    .timeline-info { 
        flex: 0 0 auto; 
        text-align: left; /* Auf Handy liest es sich linksbündig besser */
        margin-bottom: 5px; 
    }

    .timeline-marker { 
        display: none; 
    }

    .timeline-content {
        padding-left: 0; /* Platz der entfernten Linie nutzen */
    }

    /* 3. Texte anpassen */
    .main-title { 
        font-size: 2.5rem; /* Noch etwas kleiner, damit der Name nicht bricht */
    }

    .main-subtitle {
        font-size: 1.2rem;
    }

    /* 4. Intro-Balken (Home-Seite) */
    .intro-text-box {
        margin-left: 0; /* Die 18vw Verschiebung auf Handy aufheben */
        text-align: center;
    }
    
    #home::before {
        display: none; /* Die animierten Balken nehmen auf dem Handy zu viel Platz weg */
    }
    
    /* 5. Kontakt-Karten */
    .contact-card {
        width: 100%; /* Karten untereinander und volle Breite */
    }
}t-size: 3rem; }
}