
/* ==========================================================================
   1. GLOBALER RESET & SCROLLBAR-EINSTELLUNGEN
   Entfernt Standardabstände und fixiert das Layout der Scrollbar.
   ========================================================================== */
   
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}
.fett{
	font-weight: bold;
}


html {
    scrollbar-width: auto;
    scrollbar-color: #148D8D #0E2C40;
    scrollbar-gutter: stable; 
    overflow-y: scroll;
}

/* ==========================================================================
   2. BROWSER-SPEZIFISCHE SCROLLBAR (WEBKIT)
   Individuelle Gestaltung des Scroll-Balkens für Chrome, Edge und Safari.
   ========================================================================== */

::-webkit-scrollbar {
    width: 16px; 
    display: block !important; 
}


::-webkit-scrollbar-track {
    background: #0E2C40; 
    border-radius: 0; 
}


::-webkit-scrollbar-thumb {
    background-color: #148D8D; 
    border-radius: 10px;
    border: 3px solid #0E2C40;
}

/* ==========================================================================
   3. HAUPTLAYOUT-KONFIGURATION (GRID)
   Definiert das zweispaltige Raster und die allgemeine Typografie.
   ========================================================================== */ 

body {
    display: grid;
    font-family: "Geist", sans-serif;
    background-color: #fbfbfb;
    color: rgb(255, 255, 255);
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr auto min-content;
    gap: 1rem;
    font-size: 17px; 
    line-height: 1.9; 
    max-width: 1600px;  
    margin: 0 auto;
    
}

/* ==========================================================================
   4. TYPOGRAFIE & FARBAKZENTE
   Farbschema für Überschriften und Hervorhebungen im Text.
   ========================================================================== */

h2, h3 {
    color: #C1E1A7;
    margin-bottom: 10px;
}

.Highlight {
    color: #EFBC75;
    font-weight: bold;
}

/* ==========================================================================
   5. KOPFZEILE & NAVIGATION (HEADER)
   Bereich für den Titel und das Navigationsmenü mit Hintergrundbild.
   ========================================================================== */
   
.Title {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    background: #0E2C40; 
    color: #148D8D;
    text-align: center;
    padding: 20px;
}

nav {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2px;
    background-image: url("foto.png");
    background-size: 53%;
    background-position: 65% center;
    background-repeat: no-repeat;
    background-color: #fbfbfb;
    
}

/* ==========================================================================
   6. INTERAKTIVE NAVIGATIONSELEMENTE
   Gestaltung der Navigationsliste und der Button-Hover-Effekte.
   ========================================================================== */


nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2em;
    padding: 10px;
}

.myButton a {
    display: inline-block;
    padding: 10px 18px;
    background: #0E2C40;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.2s;
}

.myButton a:hover {
    background: #3b82f6;
    transform: scale(1.05);
}

/* ==========================================================================
   7. COUNTDOWN & TIMER STYLING
   Formatierung der Zeitanzeige mit fixen Ziffernbreiten gegen Textspringen.
   ========================================================================== */


#countdown-container {
  
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin: 10px 0;
}

#timer {
    font-family: 'Geist', sans-serif;
    font-size: 1.2rem;
    color: rgb(215, 215, 215);
    font-weight: bold;
}

#timer span {
    color: whitesmoke;
    font-variant-numeric: tabular-nums; 
    padding: 0.2vh;
}

/* ==========================================================================
   8. HAUPT-SCROLL-BEREICHE (LAYOUT & SOFTSKILLS)
   Konfiguration der scrollbaren Textbereiche und der Softskills-Visualisierung.
   ========================================================================== */


.Layout {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    margin: -2.1vh -2.2vh -1vh 0vh;
    max-height: 90.5vh;
    overflow-y: scroll !important;
    padding: 1.5rem;

    background: #0E2C40;
    
}

.softskills {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    position: relative;
    background: #fbfbfb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: 0%;
    margin-top: -2.4%;
    
    min-height: 80vh;
    max-height: 90vh;
   
}


/* ==========================================================================
   9. LEBENSLAUF BEREICH (CURRICULUM VITAE)
   Besonderheit: Scrollbar auf der linken Seite durch RTL-Direction-Trick.
   ========================================================================== */


.Lebenslauf {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
    height: 93vh;
    overflow-y: scroll !important;
    background: #0E2C40;
    padding: 20px;
    margin-left: 0%;
    margin-top: -1.5%;
    min-width: 100%;
    min-height: 101%;
    direction: rtl;
    color:#cecece
}
.Lebenslauf b{
  color:#148D8D;
}
.Lebenslauf ul {
    margin-left: 2.5rem;
    list-style-type: square; 
    color: #148D8D;          
	
}

.Lebenslauf li {
    color: white;            
    padding-left: 30px;
}

/* ==========================================================================
   10. SCROLL-INDIKATOR (ANIMIERTER PFEIL)
   Visueller Hinweis auf weiteren Inhalt mit einer Bounce-Animation.
   ========================================================================== */


.scroll-pfeil {
    position: sticky; 
    bottom: 15px;     
    left: 50%;
    transform: translateX(-50%);
    
    width: fit-content;
    margin: 0 auto;
    z-index: 100;
   
    color:  #adde85;
    font-size: 40px;
    font-weight: bold;
    pointer-events: none;
    transition: opacity 0.3s ease;
    animation: pfeilAnimation 2s infinite;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
}

@keyframes pfeilAnimation {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================================================
   11. VISUELLE SOFTSKILLS (INTERAKTIV)
   Positionierung der Skill-Tags und Hover-Animationen der Zentral-Kugel.
   ========================================================================== */


.center-ball {
    width: 180px; height: 180px; border-radius: 50%;
    background-color: #f2f2f2;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    z-index: 2;
}
.center-ball span { font-size: 38px; font-weight: 900; color: #111; line-height: 1; }
.center-ball:hover {
    transform: scale(1.5) rotate(2deg);
    transition: transform 0.4s ease-in-out;
}   
.tag {
    position: absolute; font-weight: 700; font-size: 18px;
    padding: 12px 16px; border-radius: 10px;
    box-shadow: 0 20px 35px rgba(0,0,0,.15);
}
.tag:hover {
    transform: scale(1.1) rotate(2deg);
    transition: transform 0.2s ease-in-out;
    z-index: 10; 
}
.tag.dark { background:#0E2C40; color:#fff; }
.tag.teal { background:#148D8D; color:#0E2C40; }
.tag.green { background:#2FBF9A; color:#0E2C40; }
.tag.blue { background:#148D8D; color:#0E2C40; }
.tag.navy { background:#0E2C40; color:#fff; }
.tag.blue2 { background:#0E2C40; color:#fff; }
.tag.paper { background: #f5f5f5; color: #111; }


.t1{ top: 70px; left: 80px; transform: rotate(-6deg); }
.t2{ top: 80px; right: 90px; transform: rotate(5deg); }
.t3{ bottom: 100px; right: 90px; transform: rotate(15deg); }
.t4{ top: 120px; left: 120px; }
.t5{ top: 350px; left: 60px; }
.t6{ top: 150px; right: 250px; }
.t7{ top: 300px; right: 40px; }
.t8{ bottom: 80px; left: 30%; }


/* ==========================================================================
   12. REFERENZEN & ARBEITSZEUGNISSE
   Karten-Design für Arbeitszeugnisse mit einem Papier-ähnlichen Farbverlauf.
   ========================================================================== */


.arbeitszeugnissen { 
    display: grid;
    gap: 1.5rem;
    padding: 1rem;
    margin-top:-0.6%;
    
  }
.referenz {
    background: linear-gradient(to left, #fff8b0, #fdfade);
    padding: 1.2rem;
    border-radius: 10px;
    color: #0E2C40; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    margin-top: -1%;
    
    
    
}
.referenz .firma { 
    font-weight: bold;
    text-align: right;
    margin-top: 0.4rem; }
.arbeitszeugnissen h2 {
  color: #148D8D;
}

/* ==========================================================================
   13. RECRUITER-BEREICH & FOOTER
   Handlungsaufforderung (Call to Action) und Abschluss der Seite.
   ========================================================================== */
.recruiter-gate {
    text-align: center;
    padding: 20vh 20vh;
    background: #148D8D;
    margin-top: 0vh;
    margin-right: -5vh;
}

.highlight-btn {
    background-color: #0E2C40 ;
    color: white !important;
    font-weight: bold;
    padding: 2vh 3vh;
    display: inline-block;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: 0.2s;
    margin-top: 10%;
}
.highlight-btn:hover {
    background: #3b82f6;
    transform: scale(1.05);
}


footer {
    padding: 70px 20px;
    text-align: center;
    background: #74787b;
   
}

.footer-img {
    width: 15vh;
    height: 20vh;
    border-color: #f2f2f2;
    margin-bottom: 1vh;
}

.social-links a {
    color: white !important;
    text-decoration: none !important; 
    display: inline-block;
    width: 100%;
    height: 100%;
}


.social-links {
    background-color: #0E2C40;
    font-weight: bold;
    padding: 1vh 2vh;
    display: inline-block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: 0.2s;
    margin: 10px 10px 0 10px
}
.social-links:hover {
    background: #3b82f6;
    transform: scale(1.05);
}

.legal-footer {
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 30px;
}

/* ==========================================================================
   14. TEXT-STABILITÄT & BACK-TO-TOP BUTTON
   Sicherung gegen Text-Überlauf und Fixierung der Navigationshilfe.
   ========================================================================== */


.Layout > *, 
.Lebenslauf > * {
    max-width: 100%; 
    box-sizing: border-box; 
    overflow-wrap: break-word; 
    word-wrap: break-word;
    direction: ltr;
    text-align: left;
    
}

.Layout p, .Layout h2, .Layout h3, .Layout ul {
    width: auto;
    margin-right: 0;
    margin-left: 0;
    margin: 0;             
    padding-bottom: 1em;  
    display: flow-root;
    list-style: none;
    padding-left: 2%;
}
.Layout h3{
	padding-top: 1em;
	
}

.Lebenslauf p, .Lebenslauf h2, .Lebenslauf h3, .Lebenslauf ul {
    width: auto;
    margin-right: 0;
    margin-left: 0;
    margin: 0;             
    padding-bottom: 1rem;
    padding-left: 3%;
    display: flow-root;
    margin-bottom: 3%;
    
}

.nach-oben-btn {
    position: fixed;
    bottom: 20px;       
    left: 2%;         
    background: #0E2C40;
    color: white;
    padding: 10px 25px; 
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    z-index: 9999;    
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 2px solid #148D8D; 
}


.nach-oben-btn:hover {
    background: #3b82f6; 
    transform: scale(1.05); 
}


.nach-oben-btn span {
    font-size: 20px;
}

/* ==========================================================================
   15. RESPONSIVE DESIGN (MEDIA QUERIES)
   Anpassungen für mobile Geräte: Wechsel zum einspaltigen Layout.
   ========================================================================== */


@media screen and (max-width: 768px) {
    body { 
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto; 
        display: block; 
    }
    
    
    nav, .Layout, .softskills, .Lebenslauf, footer, .Container-Zeugnisse { 
        width: 100%;
        display: block; 
        margin-bottom: 20px;
    }
    .Layout, .Lebenslauf, .arbeitszeugnissen, footer {
        grid-column: 1; 
        position: relative; 
        width: 100%;
        height: auto; 
        max-height: none; 
        overflow-y: visible; 
    }   
    .Title h1 {
        
        font-size: 1.4rem; 
        line-height: 1.2;
        word-wrap: break-word;
    }

    
    .Layout { 
        height: auto; 
        overflow: visible; 
        margin-left: 0;
        padding: 30px 20px; 
    }

    .Layout p {
        font-size: 17px; 
        line-height: 1.9; 
    }
    
    
    h2, h3 {
        margin-top: 25px;
        margin-bottom: 15px;
        padding-top: 30px;
    }

    
    .softskills {
        height: auto; 
        min-height: 300px; 
        padding: 20px 10px;
        display: flex;
        flex-direction: column; 
        align-items: center;
        justify-content: flex-start;
        overflow: visible;
        background-color: #cecece;
        
    }

    
    .tag {
        position: relative !important; 
        top: auto !important; 
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 8px 0; 
        transform: none !important; 
        width: 80%; 
        text-align: center;
        font-size: 16px;
        display: inline-block;
    }

    
    .center-ball { 
        width: 100px; 
        height: 100px; 
        margin-bottom: 20px;
        position: relative;
    }
    
    .center-ball span { font-size: 20px; }
    .footer
    {
        position: relative;
    }
    
    .Lebenslauf { 
        height: auto; 
        overflow: visible; 
        margin-left: 0;
        padding: 20px;
    }

    nav { 
        min-height: 325px; 
        background-size: cover;
        background-position: center 5vh; 
        
    }
    #kontakt, .recruiter-gate, .Layout {
        display: flex;
        flex-direction: column; 
        align-items: center;    
        text-align: center;      
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    
    .footer-img {
        margin: 0 auto 15px auto;
    }

}