/* =========================================================
   GRUNDLAGEN
========================================================= */

:root {
    --background: oklch(0.16 0.02 285);
    --foreground: oklch(0.96 0.005 285);

    --card: oklch(0.20 0.022 285);
    --card-hover: oklch(0.23 0.025 285);

    --primary: oklch(0.66 0.24 300);
    --primary-glow: oklch(0.78 0.20 305);

    --muted-foreground: oklch(0.70 0.02 285);

    --accent: oklch(0.30 0.10 300);
    --border: oklch(0.28 0.025 285);

    --gradient-primary:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-glow)
        );

    --gradient-panel:
        linear-gradient(
            180deg,
            oklch(0.20 0.03 285),
            oklch(0.16 0.02 285)
        );

    --shadow-glow:
        0 8px 32px -8px
        color-mix(
            in oklab,
            var(--primary) 45%,
            transparent
        );

    --radius: 20px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    color: var(--foreground);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at top,
            oklch(0.24 0.08 300 / 0.35),
            transparent 40%
        ),
        radial-gradient(
            circle at 80% 30%,
            oklch(0.22 0.08 280 / 0.25),
            transparent 35%
        ),
        var(--background);

    background-attachment: fixed;
}


/* =========================================================
   ALLGEMEIN
========================================================= */

main {
    width: min(1150px, calc(100% - 40px));
    margin: 0 auto;
}

.about-section {
    margin: 110px auto;
}

.about-section-heading {
    text-align: center;
    margin-bottom: 14px;
}

.about-section-heading span {
    display: inline-block;

    font-size: 34px;
    font-weight: 800;

    background: var(--gradient-primary);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    text-shadow:
        0 0 12px oklch(0.70 0.22 300 / 0.45),
        0 0 30px oklch(0.65 0.22 300 / 0.25);
}

.about-section-description,
.about-section-subtitle {
    text-align: center;

    max-width: 780px;
    margin: 0 auto 35px;

    color: white;

    line-height: 1.7;
}


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

.about-hero {
    min-height: 90vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 80px 20px 40px;

    text-align: center;
}

.about-hero-inner {
    width: 100%;
    max-width: 900px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
}


/* LOGO */

.about-profile-image {
    display: block;

    width: 150px;
    height: 150px;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid var(--primary);

    margin: 0 auto 25px;

    box-shadow:
        0 0 20px oklch(0.65 0.24 300 / 0.7),
        0 0 60px oklch(0.65 0.24 300 / 0.35);
}


/* BADGE */

.about-profile-badge {
    display: inline-block;

    padding: 8px 18px;

    margin: 0 auto 25px;

    border: 1px solid
        color-mix(
            in oklab,
            var(--primary) 50%,
            var(--border)
        );

    border-radius: 999px;

    color: var(--primary-glow);

    background:
        color-mix(
            in oklab,
            var(--accent) 60%,
            transparent
        );

    box-shadow:
        0 0 18px
        oklch(0.65 0.24 300 / 0.20);

    font-size: 14px;
    font-weight: 600;
}


/* NAME */

.about-hero h1 {
    margin: 0;

    font-size: clamp(42px, 7vw, 78px);

    line-height: 1.05;

    font-weight: 900;
}

.about-hero h1 span {
    background: var(--gradient-primary);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    text-shadow:
        0 0 8px oklch(0.78 0.20 305 / 0.9),
        0 0 20px oklch(0.70 0.24 300 / 0.8),
        0 0 45px oklch(0.65 0.24 300 / 0.55),
        0 0 80px oklch(0.65 0.24 300 / 0.3);
}


/* HERO TEXT */

.about-introduction {
    max-width: 700px;

    margin: 30px auto 0;

    color: white;

    font-size: 19px;

    line-height: 1.8;
}


/* =========================================================
   WAS ICH LERNE
========================================================= */

.about-learning {
    text-align: center;
}

.about-learning .about-section-description {
    color: white !important;

    font-size: 19px !important;

    line-height: 1.7;

    max-width: 780px;
}


/* SPRACHEN */

.about-skill-list {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 12px;

    max-width: 750px;

    margin: 0 auto;
}

.about-skill-item {
    padding: 8px 18px;

    border-radius: 999px;

    border: 1px solid var(--border);

    background:
        color-mix(
            in oklab,
            var(--card) 90%,
            transparent
        );

    color: var(--foreground);

    font-size: 14px;

    font-weight: 600;

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

.about-skill-item:hover {
    transform: translateY(-3px);

    border-color: var(--primary);

    box-shadow:
        0 0 18px
        oklch(0.65 0.24 300 / 0.35);
}


/* =========================================================
   ÜBER MICH
========================================================= */

.about-me {
    text-align: center;
}


/* "Was ich mache und warum" */

.about-me .about-section-subtitle {
    color: white !important;

    opacity: 1;

    font-size: 20px !important;

    line-height: 1.6;

    margin-top: 0;

    margin-bottom: 40px;
}


/* KARTEN */

.about-card-grid {
    display: grid;

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

    gap: 24px;
}

.about-info-card {
    padding: 32px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--gradient-panel);

    box-shadow:
        0 10px 35px
        oklch(0.08 0.02 285 / 0.25);

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

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

    border-color: var(--primary);

    box-shadow:
        var(--shadow-glow);
}

.about-card-number {
    font-size: 38px;

    margin-bottom: 15px;

    filter:
        drop-shadow(
            0 0 12px
            oklch(0.70 0.24 300 / 0.6)
        );
}

.about-info-card h3 {
    margin: 0 0 12px;

    font-size: 22px;
}

.about-info-card p {
    margin: 0;

    color: var(--muted-foreground);

    line-height: 1.7;
}


/* =========================================================
   FOX_LIVE / SERVERS / MODS
========================================================= */

.about-project-box {
    width: 100%;

    padding: 45px;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    background: var(--gradient-panel);

    box-shadow:
        0 15px 50px
        oklch(0.08 0.02 285 / 0.3);

    text-align: center;
}

.about-project-heading {
    margin: 0 0 15px;

    font-size: 38px;

    font-weight: 900;

    background: var(--gradient-primary);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    text-shadow:
        0 0 10px oklch(0.70 0.24 300 / 0.6),
        0 0 30px oklch(0.65 0.24 300 / 0.3);
}

.about-project-label {
    max-width: 700px;

    margin: 0 auto 40px;

    color: var(--muted-foreground);

    line-height: 1.7;
}

.about-project-list {
    display: grid;

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

    gap: 20px;
}

.about-project-item {
    padding: 25px;

    border-radius: 16px;

    border: 1px solid var(--border);

    background:
        color-mix(
            in oklab,
            var(--card) 85%,
            transparent
        );

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

.about-project-item:hover {
    transform: translateY(-5px);

    border-color: var(--primary);

    box-shadow:
        0 0 25px
        oklch(0.65 0.24 300 / 0.25);
}

.about-project-item h3 {
    margin: 0 0 10px;

    font-size: 21px;
}

.about-project-item p {
    margin: 0;

    color: var(--muted-foreground);

    line-height: 1.65;
}


/* =========================================================
   PROJEKT-TYP / ROLLE
========================================================= */

.about-project-type {
    display: block;

    margin-bottom: 8px;

    color: var(--primary-glow);

    font-size: 14px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    text-shadow:
        0 0 12px
        oklch(0.70 0.24 300 / 0.6);
}


/* =========================================================
   FOX APP – AUFKLAPPBARES INFOFENSTER
========================================================= */

.fox-app-details {
    margin-top: 20px;
}

.fox-app-details summary {
    display: inline-block;

    cursor: pointer;

    padding: 8px 16px;

    border-radius: 999px;

    border: 1px solid var(--border);

    background:
        color-mix(
            in oklab,
            var(--accent) 55%,
            transparent
        );

    color: var(--primary-glow);

    font-size: 13px;

    font-weight: 700;

    list-style: none;

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

.fox-app-details summary::-webkit-details-marker {
    display: none;
}

.fox-app-details summary:hover {
    background:
        color-mix(
            in oklab,
            var(--accent) 85%,
            transparent
        );

    box-shadow:
        0 0 18px
        oklch(0.65 0.24 300 / 0.3);
}


/* DAS FENSTER */

.fox-app-info {
    width: min(650px, 100%);

    margin: 22px auto 0;

    padding: 28px;

    border-radius: 18px;

    border: 1px solid var(--primary);

    background:
        linear-gradient(
            180deg,
            oklch(0.24 0.04 285),
            oklch(0.18 0.025 285)
        );

    box-shadow:
        0 0 25px
        oklch(0.65 0.24 300 / 0.22);

    text-align: center;

    animation:
        foxAppOpen 0.25s ease;
}

.fox-app-info h3 {
    margin: 0 0 15px;

    font-size: 24px;

    color: var(--primary-glow);

    text-shadow:
        0 0 15px
        oklch(0.70 0.24 300 / 0.5);
}

.fox-app-info p {
    margin: 0 0 14px;

    color: var(--muted-foreground);

    line-height: 1.7;
}

.fox-app-info p:last-child {
    margin-bottom: 0;
}

@keyframes foxAppOpen {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   VISION
========================================================= */

.about-vision-box {
    padding: 70px 40px;

    text-align: center;

    border-radius: var(--radius);

    border:
        1px solid
        color-mix(
            in oklab,
            var(--primary) 40%,
            var(--border)
        );

    background:
        radial-gradient(
            circle at center,
            oklch(0.28 0.10 300 / 0.35),
            transparent 65%
        ),
        var(--gradient-panel);

    box-shadow:
        0 0 45px
        oklch(0.65 0.24 300 / 0.12);
}


/* "Ich will nicht 100 Apps." */

.about-vision-small-title {
    margin: 0 0 10px;

    color: white !important;

    font-size: 20px;

    font-weight: 600;
}


/* GANZER SATZ WEISS */

.about-vision-main-title {
    margin: 0 0 30px;

    color: white;

    font-size: clamp(42px, 7vw, 72px);

    font-weight: 900;
}


/* NUR "SYSTEM" NEON */

.about-vision-main-title span {
    background: var(--gradient-primary);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    text-shadow:
        0 0 8px oklch(0.78 0.20 305 / 1),
        0 0 18px oklch(0.70 0.24 300 / 0.9),
        0 0 40px oklch(0.65 0.24 300 / 0.75),
        0 0 75px oklch(0.65 0.24 300 / 0.45);
}


.about-vision-box > p:last-child {
    max-width: 750px;

    margin: 0 auto;

    color: var(--muted-foreground);

    line-height: 1.8;

    font-size: 17px;
}


/* =========================================================
   ZUKUNFT
========================================================= */

.about-future-box {
    text-align: center;

    padding: 50px 35px;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    background: var(--gradient-panel);
}

.about-future-box > h2 {
    margin: 0 0 15px;

    font-size: 34px;

    background: var(--gradient-primary);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.about-future-box > p {
    max-width: 700px;

    margin: 0 auto 40px;

    color: var(--muted-foreground);

    line-height: 1.7;
}

.about-future-box .about-project-list {
    text-align: center;

    justify-content: center;
}


/* =========================================================
   MODS – NUR 2 KACHELN ZENTRIERT
========================================================= */

.about-section:has(.about-project-heading + .about-project-label) {
    /* Kein globales Layout verändern */
}

.about-project-list[style*="repeat(2"] {
    justify-content: center !important;
}


/* =========================================================
   KONTAKTE – FESTER BUTTON
========================================================= */

.about-contact-navigation {
    position: fixed;

    left: 22px;
    bottom: 22px;

    z-index: 9999;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 12px 18px;

    border-radius: 999px;

    border: 1px solid var(--primary);

    background:
        color-mix(
            in oklab,
            var(--card) 92%,
            transparent
        );

    color: var(--foreground);

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 0 15px
        oklch(0.65 0.24 300 / 0.35),

        0 8px 25px
        oklch(0.05 0.01 285 / 0.45);

    backdrop-filter: blur(12px);

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

.about-contact-navigation:hover {
    transform: translateY(-3px);

    background:
        color-mix(
            in oklab,
            var(--accent) 85%,
            transparent
        );

    box-shadow:
        0 0 20px
        oklch(0.70 0.24 300 / 0.65),

        0 0 45px
        oklch(0.65 0.24 300 / 0.3);
}


/* =========================================================
   KONTAKT-BEREICH
========================================================= */

.about-contact-section {
    scroll-margin-top: 40px;

    padding-bottom: 100px;
}

.about-contact-box {
    max-width: 850px;

    margin: 0 auto;

    padding: 50px 35px;

    text-align: center;

    border-radius: var(--radius);

    border: 1px solid var(--border);

    background: var(--gradient-panel);

    box-shadow:
        0 15px 50px
        oklch(0.08 0.02 285 / 0.3);
}

.about-contact-box h2 {
    margin: 0 0 12px;

    font-size: 38px;

    background: var(--gradient-primary);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    text-shadow:
        0 0 15px
        oklch(0.65 0.24 300 / 0.5);
}

.about-contact-box > p {
    margin: 0 auto 35px;

    color: var(--muted-foreground);
}

.about-contact-list {
    display: grid;

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

    gap: 15px;
}

.about-contact-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    padding: 20px;

    border-radius: 15px;

    border: 1px solid var(--border);

    background:
        color-mix(
            in oklab,
            var(--card) 90%,
            transparent
        );

    color: var(--foreground);

    text-decoration: none;

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

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

    border-color: var(--primary);

    box-shadow:
        0 0 20px
        oklch(0.65 0.24 300 / 0.3);
}

.about-contact-item span {
    color: var(--muted-foreground);

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}

.about-contact-item strong {
    color: var(--primary-glow);

    text-shadow:
        0 0 10px
        oklch(0.70 0.24 300 / 0.5);
}


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

footer {
    padding: 30px 20px 45px;

    text-align: center;

    color: var(--muted-foreground);

    font-size: 13px;
}


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

@media (max-width: 850px) {

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

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

    /* Auch die per HTML gesetzten 2er-Gitter */
    .about-project-list[style*="repeat(2"] {
        grid-template-columns: 1fr !important;
        justify-content: center !important;
    }

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

    .about-project-box {
        padding: 35px 22px;
    }

    .about-vision-box {
        padding: 55px 25px;
    }
}


@media (max-width: 600px) {

    main {
        width: min(100% - 24px, 1150px);
    }

    .about-section {
        margin: 80px auto;
    }

    .about-hero {
        min-height: 80vh;

        padding-top: 60px;
    }

    .about-profile-image {
        width: 125px;
        height: 125px;
    }

    .about-hero h1 {
        font-size: 42px;
    }

    .about-introduction {
        font-size: 17px;
    }

    .about-section-heading span {
        font-size: 29px;
    }

    .about-learning .about-section-description {
        font-size: 17px !important;
    }

    .about-me .about-section-subtitle {
        font-size: 18px !important;
    }

    .about-project-heading {
        font-size: 31px;
    }

    .about-project-label {
        font-size: 15px;
    }

    .about-vision-main-title {
        font-size: 42px;
    }

    .about-vision-small-title {
        font-size: 18px;
    }

    .about-contact-navigation {
        left: 14px;
        bottom: 14px;

        padding: 10px 15px;
    }

    .about-contact-box {
        padding: 40px 20px;
    }

    .fox-app-info {
        padding: 22px 18px;
    }
}