/* =========================================================
   SKILLS PAGE
========================================================= */

.skills-page {

    width: 100%;
    max-width: 1250px;

    margin: 0 auto;

    padding: 25px 30px 100px;

    display: flex;
    flex-direction: column;

    gap: 28px;
}


/* =========================================================
   BACK LINK
========================================================= */

.skills-page > .back-link {

    align-self: center;

    margin-bottom: 5px;

    color: rgba(255,255,255,0.65);

    text-decoration: none;

    font-size: 13px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.skills-page > .back-link:hover {

    color: #ffffff;

    transform: translateX(-2px);
}


/* =========================================================
   SKILLS HEADER
========================================================= */

.skills-header {

    width: 100%;

    padding: 38px 45px;

    text-align: center;
}


.skills-header h1 {

    margin: 0 0 14px;

    font-size: 38px;

    font-weight: 300;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: #ffffff;
}


.skills-header p {

    max-width: 720px;

    margin: 0 auto;

    color: rgba(255,255,255,0.65);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   GENERIC SKILLS CARD
========================================================= */

.skills-card {

    width: 100%;

    padding: 38px 45px;

    display: flex;

    flex-direction: column;

    gap: 18px;

    height: auto;

    min-height: 0;
}


/* =========================================================
   CARD HEADINGS
========================================================= */

.skills-card > h2 {

    margin: 0 0 4px;

    font-size: 22px;

    font-weight: 300;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #ffffff;

    text-align: center;
}


/* =========================================================
   CARD TEXT
========================================================= */

.skills-card > p {

    margin: 0;

    color: rgba(255,255,255,0.72);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   SKILLS GRID
========================================================= */

.skills-grid {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin-top: 8px;
}


/* =========================================================
   SKILL ITEM
========================================================= */

.skill-item {

    padding: 24px 22px;

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 12px;

    background: rgba(255,255,255,0.015);

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.skill-item:hover {

    border-color:
        rgba(56,189,248,0.30);

    background:
        rgba(255,255,255,0.025);

    transform: translateY(-2px);
}


/* =========================================================
   SKILL ITEM HEADINGS
========================================================= */

.skill-item h3 {

    margin: 0 0 10px;

    font-size: 15px;

    font-weight: 400;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    color: #ffffff;
}


/* =========================================================
   SKILL ITEM TEXT
========================================================= */

.skill-item p {

    margin: 0;

    color: rgba(255,255,255,0.65);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   TECHNICAL TERMS
========================================================= */

/*
   Blau ausschließlich für technische Begriffe.
*/

.tech {

    color:
        rgba(56,189,248,0.85);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 0.95em;
}


/* =========================================================
   SKILL LIST
========================================================= */

.skill-list {

    margin: 0;

    padding-left: 22px;

    color: rgba(255,255,255,0.70);

    line-height: 1.9;
}


.skill-list li {

    margin-bottom: 5px;
}


/* =========================================================
   CERTIFICATES / DOCUMENTS
========================================================= */

.certificates-grid {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin-top: 8px;
}


/* =========================================================
   CERTIFICATE ITEM
========================================================= */

.certificate-item {

    padding: 22px;

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 12px;

    background: rgba(255,255,255,0.015);

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.certificate-item:hover {

    border-color:
        rgba(56,189,248,0.30);

    background:
        rgba(255,255,255,0.025);

    transform: translateY(-2px);
}


.certificate-item h3 {

    margin: 0 0 10px;

    font-size: 15px;

    font-weight: 400;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    color: #ffffff;
}


.certificate-item p {

    margin: 0;

    color: rgba(255,255,255,0.65);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   CERTIFICATE LINK
========================================================= */

.certificate-item a {

    display: inline-block;

    margin-top: 15px;

    color: rgba(255,255,255,0.70);

    font-size: 12px;

    text-decoration: none;

    letter-spacing: 0.04em;

    transition:
        color 0.25s ease;
}


.certificate-item a:hover {

    color:
        rgba(56,189,248,0.85);
}


/* =========================================================
   PERSONAL SKILLS
========================================================= */

.personal-skills {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin-top: 8px;
}


.personal-skill {

    padding: 24px 22px;

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 12px;

    background: rgba(255,255,255,0.015);

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.personal-skill:hover {

    border-color:
        rgba(56,189,248,0.30);

    background:
        rgba(255,255,255,0.025);

    transform: translateY(-2px);
}


.personal-skill h3 {

    margin: 0 0 10px;

    font-size: 15px;

    font-weight: 400;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    color: #ffffff;
}


.personal-skill p {

    margin: 0;

    color: rgba(255,255,255,0.65);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   CERTIFICATES
========================================================= */

.certificate-grid {

    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 8px;
}


.certificate-item {

    display: block;

    width: 100%;

    padding: 0;

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 10px;

    overflow: hidden;

    background: rgba(0,0,0,0.15);

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.certificate-item:hover {

    transform: translateY(-3px);

    border-color:
        rgba(56,189,248,0.45);

    box-shadow:
        0 8px 25px rgba(0,0,0,0.25);
}


.certificate-item img {

    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}


.certificate-item:hover img {

    transform: scale(1.035);
}


.certificate-title {

    padding: 15px 18px;

    color: rgba(255,255,255,0.72);

    font-size: 13px;

    letter-spacing: 0.04em;

    text-align: center;
}


/* =========================================================
   DOCUMENT BUTTON
========================================================= */

.skills-card .document-button {

    align-self: center;

    display: inline-block;

    padding: 12px 28px;

    border: 1px solid rgba(255,255,255,0.14);

    border-radius: 10px;

    background: rgba(255,255,255,0.03);

    color: #ffffff;

    text-decoration: none;

    text-transform: uppercase;

    font-size: 12px;

    letter-spacing: 0.12em;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.skills-card .document-button:hover {

    background:
        rgba(255,255,255,0.07);

    border-color:
        rgba(56,189,248,0.45);

    box-shadow:
        0 0 18px rgba(56,189,248,0.14);

    transform:
        translateY(-2px);
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {

    .skills-page {

        padding:
            20px 20px 90px;
    }


    .skills-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .certificates-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .personal-skills {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 600px) {

    .skills-page {

        padding:
            15px 10px 70px;

        gap: 20px;
    }


    .skills-header {

        padding:
            30px 22px;
    }


    .skills-card {

        padding:
            28px 22px;

        gap: 16px;
    }


    .skills-header h1 {

        font-size: 27px;

        letter-spacing: 0.09em;
    }


    .skills-header p {

        font-size: 13px;
    }


    .skills-card > h2 {

        font-size: 18px;
    }


    .skills-card > p {

        font-size: 13px;

        line-height: 1.7;
    }


    .skills-grid {

        grid-template-columns: 1fr;
    }


    .certificates-grid {

        grid-template-columns: 1fr;
    }


    .personal-skills {

        grid-template-columns: 1fr;
    }
}