@font-face {
    font-family: "Poiret One";
    src: url("../fonts/PoiretOne-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================
   GLOBAL
========================= */

html {
    scrollbar-gutter: stable;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    background-color: #121417;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;

    color: #ffffff;
    position: relative;

    isolation: isolate;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0.94) 0%,
            rgba(0, 0, 0, 0.9) 20%,
            rgba(0, 0, 0, 0.72) 50%,
            rgba(0, 0, 0, 0.4) 100%
        ),
        url("../Images/bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation:
    bg-fade 1s ease forwards,
    bg-zoom 1s ease-in-out forwards;
    z-index: -1;
}
@keyframes bg-zoom {
    0% {
        transform: scale(1);
    }
    
    100% {
        transform: scale(1.02);
    }
}
@keyframes bg-fade {
    from {
        filter: brightness(0.05);
    }

    to {
        filter: brightness(0.4);
    }
}

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

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    padding: 12px 25px;

    background: linear-gradient(
        to right,
        rgba(15, 23, 42, 0.35) 0%,
        rgba(15, 23, 42, 0.42) 10%,
        rgba(15, 23, 42, 0.48) 30%,
        rgba(15, 23, 42, 0.42) 50%,
        rgba(15, 23, 42, 0.35) 80%
    );

    display: flex;
    align-items: center;
    
    z-index: 10;
}

.title {
    font-family: "Poiret One", sans-serif;
    font-weight: 300;

    color: #ffffff;

    font-size: clamp(18px, 2vw, 36px);
    letter-spacing: 1.2em;
    text-transform: uppercase;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.title span {
    display: block;
    font-size: 14px;
    letter-spacing: 0.8em;
    margin-top: 6px;
}

/* =========================
   NAVIGATION
========================= */

.main-nav {
    text-transform: uppercase;
    margin-left: auto;
    display: flex;
    gap: 28px;
}

.main-nav a {
    position: relative;

    color: #cbd5e1;
    text-decoration: none;

    font-size: 15px;
    letter-spacing: 0.08em;

    padding-bottom: 4px;

    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0%;
    height: 1px;

    background: #ffffff;

    transition: width 0.35s ease;
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    color: #ffffff;

    text-shadow:
        0 0 4px rgba(56, 189, 248, 0.35),
        0 0 10px rgba(56, 189, 248, 0.25),
        0 0 18px rgba(56, 189, 248, 0.15);
}

.main-nav a.active::after {
    width: 100%;
}

/* =========================
   HERO
========================= */

body.landing {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section {
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 120px 20px 100px;
    
}

.hero-content {
    width: 100%;
    max-width: 850px;

    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 3rem;

    padding: 55px 40px;

    /*background: rgba(20, 24, 31, 0.2);
    backdrop-filter: blur(1px);*/
    border: 1px solid rgba(255, 255, 255, 0.25);
    
    border-radius: 22px;
    
}

.hero-left,
.hero-right {
    flex: 1;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    justify-content: flex-start;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-divider {
    width: 1px;
    min-height: 260px;

    background: linear-gradient(
        to bottom,
        rgba(56, 189, 248, 0.18),
        rgba(56, 189, 248, 0.45),
        rgba(56, 189, 248, 0.7),
        rgba(56, 189, 248, 0.45),
        rgba(56, 189, 248, 0.18)
    );

    box-shadow:
        0 0 10px rgba(56, 189, 248, 0.4),
        0 0 18px rgba(56, 189, 248, 0.2);
}

/* =========================
   IMAGE / NAME
========================= */

.profile-image {
    width: 180px;
    height: 180px;

    object-fit: cover;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8%;

    margin-bottom: 5px;

    
}

.hero-name {
    /*font-family: "Poiret One", sans-serif;*/
    font-family: "Segoe UI", Arial, sans-serif;

    font-size: clamp(12px, 3vw, 18px);
    font-weight: 100;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: white;
    text-shadow:
        0 0 4px rgba(255,255,255,0.12);

    margin-bottom: 10;
}

/* =========================
   IHK BLOCK
========================= */

.ihk-title {
    margin: 18px 0;
}

.ihk-topline {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
}

.ihk-badge {
    font-family: "Segoe UI", Arial, sans-serif;
    font-style: italic;
    font-weight: 500;

    color: #16a34a;
    font-size: 18px;
}

.ihk-main {
    font-size: 15px;
    font-weight: 200;
    letter-spacing: 0.3em;
}

.ihk-divider {
    width: 100%;
    max-width: 600px;

    height: 1px;

    margin: 6px auto 10px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.65),
        rgba(255,255,255,0.9),
        rgba(255,255,255,0.65),
        transparent
    );
}

.ihk-subtitle {
    text-align: center;
    font-weight: 80;
    font-size: 10px;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.hero-text {
    margin-top: 10px;
}

/* =========================
   HERO BRANDING
========================= */

.hero-branding {
    margin-top: 22px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 18px;

    text-align: center;
}

/* =========================
   Hauptbezeichnung
========================= */

.hero-role {
    font-size: 22px;
    font-weight: 300;

    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: #ffffff;

    text-shadow:
        0 0 10px rgba(255,255,255,0.08);
}

/* =========================
   Tech Stack
========================= */

.hero-stack {
    max-width: 440px;

    font-size: 12px;
    line-height: 1.8;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: rgba(255,255,255,0.62);
}



/* =========================
    NEWSLETTER
============================*/

.newsletter-preview {
    margin-top: 80px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 18px;
}

.newsletter-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsletter-icon {
    width: 32px;
    height: 32px;

    filter: brightness(0) invert(1);

    opacity: 0.9;
}

.newsletter-title {
    font-size: 15px;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #ffffff;
}

.newsletter-description {
    max-width: 420px;

    text-align: center;

    font-size: 15px;
    line-height: 1.7;

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

.newsletter-button {
    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: 13px;
    letter-spacing: 0.14em;

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

.newsletter-button:hover {
    

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

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

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

.newsletter-button:active {
    transform: scale(0.98);

    background: rgba(56, 189, 248, 0.18);

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

    box-shadow:
        0 0 22px rgba(56, 189, 248, 0.28),
        inset 0 0 12px rgba(56, 189, 248, 0.18);
}



/* =========================
   FOOTER
========================= */

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 12px 20px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    background: linear-gradient(
        to right,
        rgba(15, 23, 42, 0.25) 0%,
        rgba(15, 23, 42, 0.5) 50%,
        rgba(15, 23, 42, 0.25) 100%
    );
}

.footer-links {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.4);
}

.footer-right {
    justify-self: end;
    color: #ffffff;
}

/* =========================
   LEGAL
========================= */

body.legal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-wrapper {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 140px 20px 100px;
    gap: 18px;
}

.legal-content {
    max-width: 650px;
    width: 100%;

    padding: 32px;

    font-size: 13px;
    line-height: 1.6;

    text-align: center;

    background: rgba(20, 24, 31, 0.5);
    backdrop-filter: blur(2px);

    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 14px;

    color: #ffffff;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.legal-content h1 {
    margin-bottom: 18px;
}

.legal-content p {
    margin-bottom: 12px;
}

.back-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.back-link:hover {
    color: #ffffff;
}

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

@media (max-width: 768px) {

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .hero-right {
        margin-top: 20px;
    }

    .hero-divider {
        display: none;
    }

    .profile-image {
        width: 140px;
        height: 140px;
    }

    .main-nav {
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
}

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

@media (max-width: 480px) {

    body {
        background-attachment: scroll;
    }

    .top-bar {
        padding: 10px 12px;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .hero-section {
        padding: 100px 10px 80px;
    }

    .hero-content {
        padding: 20px 14px;
        border-radius: 16px;
        flex-direction: column-reverse;
    }

    .hero-divider {
        display: none;
    }

    .profile-image {
        width: 110px;
        height: 110px;
    }

    .ihk-main {
        font-size: 20px;
    }

    .ihk-subtitle {
        font-size: 12px;
        letter-spacing: 0.25em;
    }

    .bottom-bar {
        padding: 10px;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 6px;
    }

    .footer-right {
        justify-self: center;
    }
}





/* =========================
   ABOUT SECTION WRAPPER
========================= */

.about-section {
    width: 100%;
    padding: 140px 40px 120px;

    display: flex;
    justify-content: center;
}

/* =========
   MAIN CARD 
=========== */

.about-main-card {
    width: 100%;
    max-width: 1400px;

    padding: 60px 50px;

    display: flex;
    flex-direction: column;

    gap: 60px;
}

/* =========================
   INTRO
========================= */

.about-intro {
    text-align: left;
}

.about-title {
    font-size: 34px;
    font-weight: 300;
    text-align: left;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    margin-bottom: 24px;
}

.about-text {
    max-width: 900px;
    text-align: left;
    margin: 0 auto 14px auto;

    font-size: 15px;
    line-height: 1.8;

    color: rgba(255,255,255,0.75);
}

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

.about-grid {
    display: grid;

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

    gap: 28px;
}

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

.about-card {
    padding: 40px 28px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    gap: 20px;

    /*background: rgba(255,255,255,0.02);*/
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;

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

.about-card:hover {
    transform: translateY(-4px);

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

/* links inh den aboutcards ohne Linkunterstreichung*/
a.about-card {
    text-decoration: none;
    color: inherit;
}



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

.about-card h2 {
    font-size: 20px;
    font-weight: 300;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-card p {
    font-size: 13px;
    line-height: 1.7;

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



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-main-card {
        padding: 40px 20px;
    }
}


/*===============================
   LOGOS (GLOBAL COMPONENT)
=================================*/

/* =========================
   Base Logo (für ALLE Seiten)
========================= */
.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 4px;
}


.logo {
    object-fit: contain;
    width: calc(var(--logo-size) * var(--logo-scale, 1));
    height: auto;
    opacity: 0.7;
    filter: grayscale(50%);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        filter 0.25s ease;
}

.hero-logo {
    --logo-size: 60px;
    

    
}
.about-logo {
    --logo-size: 100px;
    

    
}





/* =========================
   Einzelne Logos (Asset-Tuning)
========================= */

/* ASP.NET Core */
.logo-aspnet {
    --logo-scale: 0.8;

}

/* Active Directory */
.logo-ad {
    --logo-scale: 1.5;
}

/* Azure */
.logo-azure {
    --logo-scale: 1.1;
}

/* =========================
   Hover (global korrekt)
========================= */
.logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.22));
}

/*Überarbeitung der About-Seite*/
/* =========================
   ABOUT CONTAINER
========================= */

.about-container {
    width: 100%;
    max-width: 1400px;

    display: flex;
    flex-direction: column;

    gap: 40px;
}

/* =========================
   INTRO CARD
========================= */

.about-intro-card {
    width: 100%;
    max-width: 1400px;

    padding: 50px 50px;
}

/* =========================
   ABOUT TEXT
========================= */

.about-text {
    max-width: 100%;
}

/* Klasse Glas für allg. Eigenschaft für Cards die diesen Effekt haben sollen*/
.glass {
    /*background: rgba(20, 24, 31, 0.2);*/
    backdrop-filter: blur(0.0px);
    -webkit-backdrop-filter: blur(0.0px);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;

    transition:
        backdrop-filter 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.25s ease;
}
.glass:hover {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    background: rgba(20, 24, 31, 0.32);

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

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

    
}
.glass:hover .logo {
    opacity: 1;
    filter: grayscale(0%) brightness(1.2) drop-shadow(0 0 10px rgba(56, 189, 248, 0.25));
    /*transform: scale(1.05);*/
}


/* Backlink*/
.back-link {
    align-self: center;
}


