/* Start: General Konfig Desktop */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth !important;
    font-family: 'Inter';
    /* font-family: 'Cartesian', sans-serif;*/
}

html {
    width: 100%;
    scroll-behavior: smooth !important;
}

body {
    width: 100%;
    font-family: "Roboto", sans-serif;
    background-color: #1c1c1c;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}


/* Go to Top Button */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 999;
    font-size: 24px;
    border: none;
    outline: none;
    background: #99bbc7;
    color: #fff;
    cursor: pointer;
    /* Damit er rund ist */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* macht ihn wirklich rund */
    text-align: center;
    line-height: 50px;
    /* zentriert den Pfeil vertikal */
    padding: 0;
    /* kein ungleiches Padding mehr */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);

}

#myBtn:hover {
    background-color: #181716;
}

/* End: General Config Desktop */

/* Start: General Config Mobile */
@media screen and (max-width: 800px) {

    html,
    body {
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        width: 100%;
    }

}

/* End: General Config Mobile */

/* ----------------------------------------------------------------------------------------------------------------- */

/* Start: Navigation Bar Desktop */

.nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #99bbc7;
    opacity: 1;
    position: fixed;
    z-index: 999;
    padding: 10px;
    border: solid 1px #fff;
}



/* Navigationsbar Desktop deaktivieren für Mobile da Hamburger Menü integriert wurde. */
@media screen and (max-width: 800px) {
    .nav {
        display: none;
    }
}

/* Bild in Navbar */
.logo {
    padding-left: 5%;
    height: 100%;
    display: flex;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Links zu den Sections */
.links {
    display: flex;
    width: 70%;
    padding-right: 5%;
    height: 100%;
    justify-content: flex-end;
}

.links a {
    color: #fff;
    text-decoration: none;
    align-items: center;
    float: left;
    display: block;
    padding: 0px 16px;
    font-size: 14pt;

    border: 8px solid;
    border-image: repeating-linear-gradient(135deg, #fff 0 10px, #99bbc7 0 20px, #fff 0 30px) 8;
    -webkit-mask:
        conic-gradient(from 180deg at top 8px right 8px, #0000 90deg, #000 0) var(--_i, 200%) 0 /200% var(--_i, 8px) border-box no-repeat,
        conic-gradient(at bottom 8px left 8px, #0000 90deg, #000 0) 0 var(--_i, 200%)/var(--_i, 8px) 200% border-box no-repeat,
        linear-gradient(#000 0 0) padding-box no-repeat;
    transition: .3s, -webkit-mask-position .3s .3s;
}

.links a.active {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    opacity: 1;
    color: #181716;
}

.links a:hover {
    box-shadow: inset 150px 0 0 0 #fff;
    color: #157dfe;
    --_i: 100%;
    transition: .3s, -webkit-mask-size .3s .3s;
}

/* Ende: Navigation Bar Desktop */


/* Start: Navigation Bar Mobile */

/* Burger deaktivieren für Mobile */
#burger_background {
    display: none;
}

.menu-wrap {
    display: none;
}

/* Mobile Navbar Burger */
@media screen and (max-width: 800px) {

    /* Ganzer Container */
    #burger_background {
        display: block;
        background: #99bbc7;
        width: 100%;
        height: 60px;
        position: fixed;
        /* Sticky */
        top: 0;
        left: 0;
        z-index: 99997;
        /* Sticky */
        border-bottom: 1px solid #ffffff;
    }

    .menu-wrap {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99997;
        width: 0%;
        height: 100%;
    }

    /* Hamburger Div */
    .hamburger {
        cursor: pointer;
        position: fixed;
        top: 10px;
        left: 15px;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 99998;
        /* Hamburger vor dem Background */
    }

    /* Hamburger Symbol selbst (three Stripes) */
    .hamburger div,
    .hamburger div::before,
    .hamburger div::after {
        content: '';
        display: block;
        background: #000;
        height: 2px;
        width: 100%;
        border-radius: 10px;
        transition: all 0.3s linear;
    }

    .hamburger div::before {
        transform: translateY(-8px);
    }

    .hamburger div::after {
        transform: translateY(8px);
    }

    /* Hitbox des Hamburgers */
    .toggler {
        position: absolute;
        top: 0;
        left: 10px;
        z-index: 99999;
        cursor: pointer;
        width: 50px;
        height: 50px;
        opacity: 0;
    }

    .toggler:checked + .hamburger > div {
        transform: rotate(135deg);
    }

    .toggler:checked + .hamburger > div::before {
        transform: rotate(90deg);
        opacity: 0;
    }

    .toggler:checked + .hamburger > div::after {
        transform: rotate(90deg);
    }

    /* Inhaltsspalte die bei Burgerklick geöffnet wird */
    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 40%;
        /* Breite der Spalte */
        height: 100%;
        background: #99bbc7;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .menu > div {
        padding: 50px 20px;
        width: 100%;
        height: 100%;
        overflow-y: auto;
    }

    .menu ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .menu ul li {
        padding: 10px;
    }

    /* Links der Navbar */
    .menu ul li a {
        color: #fff;
        font-size: 14pt;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .menu ul li a:hover {
        color: #555;
    }

    .toggler:checked ~ .menu {
        transform: translateX(0);
    }

    button.button-main {
        border: none;
        transition: box-shadow 0.3s ease-in-out;
    }

    button.button-main:hover {
        box-shadow: 0 0 8px 8px rgba(255, 255, 255, 0.6);
        transition: box-shadow 0.3s ease-in-out;
    }

    /* Logo in der Navbar */
    .logo-container-mobile {
        max-width: 80%;
        margin-left: 15%;
        margin-top: 2.5%;
    }

    .logo-container-mobile img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* ----------------------------------------------------------------------------------------------------------------- */

#home {
    display: flex;
    flex-direction: row;
    float: left;
    width: 100%;
    padding: 7.5% 5% 0 5%;
    color: #fff;
}

.about {
    flex: 1;
    order: 1;
    max-width: 50%;

}

.about_title {
    font-size: 60pt;
}

.about_subtitle {
    font-size: 30pt;
    color: #157dfe;
}

.about p {
    font-size: 14pt;
    padding: 10px 0 10px 0;
}

/* ===== BUTTONS ===== */
.skill-buttons {
  margin-bottom: 40px;
}

.skill-buttons button {
  margin: 5px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: #64748b;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.skill-buttons button:hover,
.skill-buttons button.active {
  background: #157dfe;
  transform: scale(1.05);
}

/* ===== SKILLBAR-BEREICH ===== */
#skillbar-section {
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.skill {
  margin-bottom: 25px;
}

.skill-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.bar-container {
  width: 100%;
  height: 25px;
  background: #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #157dfe, #00bfff);
  transition: width 1.5s ease-in-out;
}

.bar-percent {
  float: right;
  font-size: 13px;
  color: #fff;
  margin-top: 5px;
}


#dreiD {
    flex: 1;
    order: 2;
    max-width: 50%;
}


@media screen and (max-width: 800px) {
    #home {
        flex-direction: column;
        padding: 80px 5% 0 5%;
    }

    .about {
        max-width: 100%;
    }

    .about_title {
        font-size: 30pt;
    }

    .about_subtitle {
        font-size: 20pt;
    }

    #dreiD {
        max-width: 100%;
    }



}


/* ----------------------------------------------------------------------------------------------------------------- */

#karriere {
    display: flex;
    flex-direction: column;
    float: left;
    width: 100%;
    color: #fff;
        background-color: #99bbc7;
    padding: 2.5% 5%;
    flex-wrap: wrap;
}

.karriere_header {
    width: 100%;
    padding: 0 0 2.5% 0;

}

.karriere_header h1 {
    font-size: 30pt;
}

.karriere_header h2 {
    font-size: 16pt;
}


.worksteps_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    /* Abstand zwischen den Boxen */
    width: 100%;
}

.workstep {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    flex: 1;
    background: #ffffff;
    /* weißer Hintergrund */
    border-radius: 12px;
    padding: 2em 1.5em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workstep:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


.work_image {
    width: 60px;
    height: 60px;
    border-radius: 15px;
}

.work_image img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
}


.work_title {
    max-width: 80%;
    padding: 0 0 0 10px;
    text-align: left;
    color: #000;
}

.work_title span {
    font-size: 18pt;
}

.work_description {
    width: 100%;
}

/* Fließtext */
.work_description p {
    color: #000;
    font-size: 12pt;
    line-height: 1.5;
    width: 100%;
}

.work_description span {
    color: #64748b;
    font-size: 12pt;
    line-height: 1.5;
    width: 100%;
}

.work_description ul {
    width: 100%;
    color: #64748b;
    font-size: 12pt;
    padding: 20px 20px;
    list-style-type: square;
}

.work_description li {
    padding: 5px 0;
}


@media screen and (max-width: 800px) {
    .worksteps_container {
        flex-direction: column;
        /* stapelt alle untereinander */
        gap: 20px;
        /* Abstand bleibt */
    }

    .workstep {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
}

/* ----------------------------------------------------------------------------------------------------------------- */

#ausbildung {
    display: block;
    width: 100%;
    color: #fff;
    padding: 2.5% 5%;
    box-sizing: border-box;
    float: left;
}

.ausbildung_header {
    width: 100%;
    padding: 0 0 2.5% 0;
    text-align: center;
}

.ausbildung_header h1 {
    font-size: 30pt;
}

.ausbildung_header h2 {
    font-size: 16pt;
}

/* --- Container für alle Steps --- */
.ausbildung_steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    align-items: stretch;
    /* Abstand zwischen den Boxen */
}

/* --- Einzelner Step --- */
.ausbildung_step {
    flex: 1 1 calc(33.333% - 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: flex-start;
}

/* --- Zeit-Kreis --- */
.ausbildung_time {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.circle {
    width: 120px;
    height: 120px;
    background-color: #99bbc7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    text-align: center;
}

/* Linie nach unten */
.circle::after {
    content: "";
    position: absolute;
    bottom: -48px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 80px;
    background-color: #99bbc7;
}

/* --- Weiße Box unten --- */
.ausbildung_content {
    background-color: white;
    color: #1c1c1c;
    border: 3px solid #99bbc7;
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    height: 100%
}

.ausbildung_title {
    max-width: 100%;
    padding: 0 0 10px 0;
    text-align: left;
    color: #000;
}

.ausbildung_title span {
    font-size: 18pt;
}

.ausbildung_description {
    width: 100%;
}

/* Fließtext */
.ausbildung_description p {
    color: #000;
    font-size: 12pt;
    line-height: 1.5;
    width: 100%;
}

.ausbildung_description span {
    color: #64748b;
    font-size: 12pt;
    line-height: 1.5;
    width: 100%;
}


/* --- Responsive Verhalten --- */
@media (max-width: 900px) {
    .ausbildung_step {
        flex: 1 1 calc(50% - 2rem);
    }
}

@media (max-width: 600px) {
    .ausbildung_step {
        flex: 1 1 100%;
    }
}


/* ----------------------------------------------------------------------------------------------------------------- */

#zertifikate {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: #fff;
    padding: 2.5% 5%;
    background-color: #99bbc7;
}

.zertifikate_header {
    width: 100%;
    padding-bottom: 2.5%;
    text-align: left;
}

.zertifikate_header h1 {
    font-size: 30pt;
}

.zertifikate_header h2 {
    font-size: 16pt;
}

.zertifikat_container {
    display: flex;
    flex-wrap: wrap;              /* mehrere Zeilen zulassen */
    justify-content: center;      /* zentriert die Zertifikate */
    gap: 60px;                    /* Abstand zwischen Zertifikaten */
    padding: 0 0 20px 0;
}

/* Einzelnes Zertifikat */
.zertifikat {
    flex: 1 1 calc(33.333% - 40px); /* 3 pro Reihe mit etwas Abstand */
    display: flex;                   /* für Bild + Titel nebeneinander */
    align-items: center;             /* vertikal zentriert */
    justify-content: center;         /* horizontal zentriert */
    background-color: white;
    color: #1c1c1c;
    border-radius: 10px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 100%;               /* gleiche Höhe erzwingen */
    box-sizing: border-box;
}

/* Bildbereich (20 %) */
.zertifikat_image {
    flex: 0 0 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zertifikat_image img {
    max-width: 100%;
    height: auto;
}

/* Titelbereich (80 %) */
.zertifikat_title {
    flex: 0 0 90%;
    display: flex;
    align-items: center;
    color: #000;
}

.zertifikat_title span {
    font-size: 16pt;
    padding-left: 20px;
}



@media (max-width: 900px) {
    .zertifikat {
        flex: 1 1 calc(50% - 40px); /* 2 pro Reihe */
    }
}

@media (max-width: 800px) {
    
    .zertifikat_container {
    gap: 20px;                    /* Abstand zwischen Zertifikaten */
}
    
    .zertifikat {
        flex: 1 1 100%; /* 1 pro Reihe */
    }
    
}


/* ----------------------------------------------------------------------------------------------------------------- */


#footer {
    width: 100%;
    display: block;
    float: left;
    padding: 10px 0 10px 0;
    text-align: center;
    background-color: #99bbc7;
    color: #fff;
}

#footer a {
    color: #157dfe;
}
