/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: 'Caacupe One', sans-serif;
    text-align: center;

    background: #111111;
    color: #ffffff;

    overflow-x: hidden;
}









/* =========================================
   NAVIGATION
========================================= */

.navigation {
    position: relative;

    width: 100%;
    min-height: 90px;

    padding: 28px 25px;

    display: flex;
    align-items: center;
    gap: 45px;

    z-index: 10;
}


/* Navigation Links */

.Home,
.Geschichte,
.Über-uns,
.Login-Register {
    position: static;

    color: #0f040f;

    text-decoration: none;

    font-size: clamp(15px, 1.1vw, 20px);

    transition:
        color 0.25s ease,
        transform 0.25s ease,
        text-shadow 0.25s ease;
}


.navigation >a {
    position: relative;
    isolation: isolate;
    transition: transform 0.25s ease;
}

.navigation > a::before {
    content: "";
    position: absolute;
    inset: -8px -12px;
    z-index: -1;

    background: rgba(255, 255, 255, 0.16);
    border-radius: 8px;

    opacity: 0;
    transform: scale(0.85);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.navigation > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;

    background: #0f040f;
    border-radius: 2px;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.navigation > a:hover,
.navigation > a:focus-visible {
    transform: translateY(-2px);
}

.navigation > a:hover::before,
.navigation > a:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

.navigation > a:hover::after,
.navigation > a:focus-visible::after {
    transform: scaleX(1);
}

.navigation > a:focus-visible {
    outline: 2px solid #0f040f;
    outline-offset: 10px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .navigation > a,
    .navigation > a::before,
    .navigation > a::after {
        transition: none;
    }

    .navigation > a:hover,
    .navigation > a:focus-visible {
        transform: none;
    }
}

.Login-Register {
    margin-left: auto;
}

.hero h1 {
    margin: 20px 0; font-size: clamp(38px, 6vw, 72px); color: #fff; line-height: 1.1
}

.hero h1 span {
 display: block; color: #b414ae; 
    }

    .hero-badge {
        display: inline-block;
        padding: 8px 16px;
        margin-bottom: 20px;

        border: 1px solid #b414ae;
        border-radius: 999px;
        color: #b414ae;
        font-size: 13px;
        letter-spacing: 2px;
        
    margin-top: 70px;
}

        .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;

    width: fit-content;
    max-width: 100%;
    margin: 30px auto 0;
    padding: 16px;

    background: #191319;
    border: 1px solid rgba(180, 20, 174, 0.25);
    border-radius: 16px;
}

        .primary-button {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-size: 18px;
            letter-spacing: 1px;

            padding: 14px 24px;
            border-radius: 8px;
            background: #b414ae;

            color: #000000;
            text-decoration: none;

            transition:
            transform 0.25s ease,
            background 0.25s ease,
            box-shadow 0.25s ease;
            }

            .primary-button:hover {
                transform: translateY(-4px);
                background: #d21bc9;
                box-shadow: 0 12px 35px rgba(180, 20, 174, 0.35);
                }

            .primary-button:focus-visible {
                outline: 2px solid #ee86e6;
                outline-offset: 4px;
                }

            .secondary-button {
                display: inline-block;
                padding: 14px 24px;
                border: 1px solid #666666;
                border-radius: 8px;
                letter-spacing: 1px;

                color: #ffffff;
                text-decoration: none;

                transition: 
                border-color 0.25s ease,
                background 0.25s ease;
                }

            .secondary-button:hover {
                border-color: #b414ae;
                background: rgba(180, 20, 174, 0.08);
                }


            .secondary-button:focus-visible {
                outline: 2px solid #ee86e6;
                outline-offset: 4px;
                }

            .news-section {
            position: relative;
            z-index: 2;
            width: min(900px, 90%);
            margin: 100px auto 0;
            padding-bottom: 80px;
            }

            .news-section h2 {
            color: #b414ae;
            }

            .news-section p {
            color: #a49aa3;
            line-height: 1.6;
            }

            .news-card {
    display: flex;
    flex-direction: column;

    background: #191319;
    border: 1px solid rgba(180, 20, 174, 0.25);
    border-radius: 20px;
    padding: 28px;
    text-align: left;

    transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.news-card:hover,
.news-card:focus-within {
    transform: translateY(-6px);
    border-color: #b414ae;
    box-shadow: 0 16px 40px rgba(180, 20, 174, 0.18);
}

@media (prefers-reduced-motion: reduce) {
    .news-card {
        transition: none;
    }

    .news-card:hover,
    .news-card:focus-within {
        transform: none;
    }
}
            .news-card .news-tag {
                color: #ee86e6;
                font-size: 13px;
                letter-spacing: 2px;
            }

            .news-card h3 {
                margin: 18px 0 12px;
                color: #b414ae;
                font-size: 24px;
            }

            .news-card p {
                margin: 0;
                color: #a49aa3;
                line-height: 1.7;
            }

            .news-grid {
                display: grid;
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 24px;
                margin-top: 30px;

                
}

            .news-card .text-link {
    margin-top: auto;
    padding-top: 20px;
    align-self: flex-start;

    color: #ee86e6;
    text-decoration: none;
}

            .news-card .text-link:hover {
                text-decoration: underline;
}

            .news-card .text-link:focus-visible {
            outline: 2px solid #ee86e6;
            outline-offset: 4px;
}

.feature-section {
    position: relative;
    z-index: 2;

    width: min(1100px, 90%);
    margin: 100px auto 0;
    padding-bottom: 60px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 50px;
}

.feature-visual {
    display: grid;
    place-items: center;
    min-height: 320px;
}

.feature-visual > .accelerator-orbit,
.feature-visual > .accelerator-core {
    grid-area: 1 / 1;
}

.accelerator-orbit {
    width: 80%;
    max-width: 300px;
    aspect-ratio: 1;
    position: relative;

    border: 2px solid #b414ae;
    border-radius: 50%;

    box-shadow: 0 0 25px rgba(180, 20, 174, 0.25);
    animation: accelerator-spin 8s linear infinite;
}

.accelerator-orbit.orbit-inner {
    width: 55%;
    max-width: 210px;
    border-color: #ee86e6;
    animation-direction: reverse;
}

.feature-visual:hover .accelerator-orbit {
    animation-duration: 500ms;
}

.accelerator-core {
    display: grid;
    place-items: center;

    width: 80px;
    height: 80px;
    border-radius: 50%;

    background: #b414ae;
    color: #ffffff;
    font-size: 36px;

    box-shadow: 0 0 35px rgba(180, 20, 174, 0.5);
}

.feature-points {
    margin: 24px 0 0;
    padding-left: 24px;
    color: #ffffff;
}

.feature-points li {
    padding: 10px 0 10px 8px;
    border-bottom: 1px solid rgba(180, 20, 174, 0.2);
}

.feature-points li::marker {
    color: #ee86e6;
}

.feature-step summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 4px;
    border-radius: 6px;
    list-style: none;
    cursor: pointer;
    transition: color .25s ease, background .25s ease;
}

.feature-step summary::-webkit-details-marker { display: none; }

.feature-step summary::after {
    content: "+";
    flex-shrink: 0;
    color: #ee86e6;
    font-size: 22px;
    line-height: 1;
    transition: transform .3s ease;
}

.feature-step summary:hover,
.feature-step[open] summary {
    color: #ee86e6;
    background: rgba(180, 20, 174, .06);
}

.feature-step summary:focus-visible {
    outline: 2px solid #ee86e6;
    outline-offset: 3px;
}

.feature-step[open] summary::after { transform: rotate(45deg); }

.step-explanation {
    margin: 8px 4px 12px;
    padding: 14px 16px;
    border-left: 2px solid #b414ae;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(120deg, rgba(180, 20, 174, .12), rgba(180, 20, 174, .02));
}

.feature-step[open] .step-explanation {
    animation: step-reveal .35s ease both;
}

@keyframes step-reveal {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .feature-step[open] .step-explanation { animation: none; }
    .feature-step summary,
    .feature-step summary::after { transition: none; }
}

@keyframes accelerator-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .accelerator-orbit {
        animation: none;
    }
}

.accelerator-orbit::before {
    content: "";
    position: absolute;

    width: 12px;
    height: 12px;

    top: -6px;
    left: calc(50% - 6px);

    background: #ee86e6;
    border-radius: 50%;
    box-shadow: 0 0 16px #ee86e6;
}

.feature-content {
    max-width: 550px;
    margin: 0 auto;
    text-align: left;
}

.feature-content h3 {
    color: #b414ae;
}

.feature-content .feature-process-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 30px 0 0;
    color: #d8c7d6;
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .5px;
}

.feature-process-title::before {
    content: "";
    flex: 0 0 24px;
    height: 2px;
    background: #b414ae;
    border-radius: 2px;
}

.feature-process-title + .feature-points {
    margin-top: 12px;
}

.eyebrow {
    color: #ee86e6;
    font-size: 12px;
    letter-spacing: 2px;
}

.feature-content h2 {
    margin: 16px 0;
    color: #b414ae;
    font-size: 32px;
    overflow-wrap: anywhere;
}

.feature-content p {
    margin: 0;
    color: #a49aa3;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .feature-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.quantum-screen {
    max-width: 600px;
    margin: 40px auto 0;
    overflow: hidden;
    background: #191319;
    border: 1px solid rgba(180, 20, 174, 0.35);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(180, 20, 174, 0.2);
    color: #a49aa3;
    font-size: 12px;
    letter-spacing: 1px;
}

.screen-status {
    color: #ee86e6;
}

.qubit-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(18px, 4vw, 40px);
    padding: 48px 20px 24px;
    background: radial-gradient(ellipse at center, rgba(180, 20, 174, .13), transparent 70%);
}

.qubit {
    position: relative;
    width: clamp(58px, 12vw, 90px);
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid rgba(238, 134, 230, .5);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #63245f, #201020 75%);
    color: #f6ddf3;
    font: inherit;
    font-size: clamp(18px, 3vw, 26px);
    cursor: pointer;
    box-shadow: inset 0 0 18px rgba(180, 20, 174, .2), 0 0 18px rgba(180, 20, 174, .12);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.qubit::before {
    content: '';
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(238, 134, 230, .2);
    border-radius: 50%;
    pointer-events: none;
}

.qubit:hover, .qubit[aria-pressed="true"] {
    border-color: #ee86e6;
    box-shadow: inset 0 0 24px rgba(180, 20, 174, .45), 0 0 28px rgba(180, 20, 174, .4);
}

.qubit:focus-visible { outline: 2px solid #f6ddf3; outline-offset: 10px; }
.qubit-hint { margin: 0; padding: 0 20px 24px; color: #a49aa3; font-size: 14px; }
.qubit-info {
    margin: 0 20px 24px;
    padding: 20px;
    min-height: 170px;
    text-align: left;
    border: 1px solid rgba(180, 20, 174, .2);
    border-radius: 12px;
    background: rgba(180, 20, 174, .05);
}
.qubit-info h3 { margin: 0 0 10px; color: #ee86e6; font-size: 20px; }
.qubit-info p { margin: 0; color: #bdb1bc; line-height: 1.7; }
@media (prefers-reduced-motion: reduce) {
    .qubit { transition: none; }
}

.computer-section {
    position: relative;
    z-index: 2;

    width: min(1100px, 90%);
    margin: 100px auto 0;
    padding-bottom: 60px;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.section-heading h2 {
    margin: 16px 0;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.2;
}

.section-heading h2 span {
    display: block;
    color: #b414ae;
}

.section-heading p {
    max-width: 550px;
    margin: 0 auto;
    color: #a49aa3;
    line-height: 1.7;
}

.entanglement-visual {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 50px auto 0;
    padding: 24px;
    background: radial-gradient(ellipse at center, rgba(180, 20, 174, .09), transparent 70%);
}

.entangled-particle {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: clamp(64px, 12vw, 100px);
    aspect-ratio: 1;
    border: 1px solid #ee86e6;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #63245f, #201020);
    color: #f6ddf3;
    font-size: 28px;
    box-shadow: 0 0 25px rgba(180, 20, 174, .35);
    animation: entanglement-pulse 3.6s ease-in-out infinite;
}

.entangled-particle::before {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(238, 134, 230, .2);
    border-radius: 50%;
    pointer-events: none;
}

.energy-line {
    height: 2px;
    background: linear-gradient(90deg, #b414ae, #f6ddf3, #b414ae);
    box-shadow: 0 0 12px rgba(238, 134, 230, .6);
}

.entanglement-caption {
    margin: 12px auto 0;
    color: #a49aa3;
    font-size: 13px;
    line-height: 1.6;
}

@keyframes entanglement-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(180, 20, 174, .35);
    }
    50% {
        transform: scale(1.045);
        box-shadow: 0 0 38px rgba(180, 20, 174, .6);
    }
}

@media (prefers-reduced-motion: reduce) {
    .entangled-particle { animation: none; }
}

.cta-section {
    position: relative;
    z-index: 2;
    width: min(900px, 90%);
    margin: 100px auto 60px;
    padding: 50px 24px;
    border: 1px solid rgba(180, 20, 174, 0.25);
    border-radius: 24px;
    background: radial-gradient(
        ellipse at top,
        rgba(180, 20, 174, 0.18),
        #191319 75%
    );
}

.cta-section h2 {
    margin: 16px 0;
    color: #ffffff;
    font-size: clamp(26px, 4vw, 38px);
}

.cta-section p {
    max-width: 550px;
    margin: 0 auto 28px;
    color: #a49aa3;
    line-height: 1.7;
}

.entanglement-section {
    position: relative;
    z-index: 2;

    width: min(1100px, 90%);
    margin: 100px auto 0;
    padding-bottom: 60px;
}

.history-footer { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 28px 5%; border-top: 1px solid #40213d; color: #a99da7; font-size: 14px; }
.history-footer a { color: #ee86e6; text-decoration: none; }


/* =========================================
   ATOM LOGO
========================================= */

.Atom {
    position: absolute;

    width: 32px;
    height: 32px;

    left: 50%;
    top: 5px;

    transform: translateX(-50%);

    z-index: 20;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.navigation .Atom {
    top: 12px;
    transform-origin: center;
    animation: atom-rotate 12s linear infinite;
    transition: filter 0.3s ease;
}

@keyframes atom-rotate {
    from {
        transform: translateX(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

.navigation .Atom:hover {
    filter: drop-shadow(0 0 5px rgba(255, 210, 255, 0.65));
}

@media (prefers-reduced-motion: reduce) {
    .navigation .Atom {
        animation: none;
        transition: none;
    }
}



/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    z-index: 2;

    width: min(900px, 90%);

    

    margin: clamp(50px, 7vw, 110px) auto 0;
}


/* Hauptüberschrift */

h1 {
    margin: 0;

    color: #b414ae;

    font-size: clamp(
        30px,
        3vw,
        52px
    );

    line-height: 1.2;

    text-shadow:
        0 0 20px rgba(180, 20, 174, 0.35);

    animation: fadeUp 0.8s ease both;

    
}


/* Untertitel */

.hero > p {
    margin: 20px auto 0;

    max-width: 650px;

    color: #666666;

    font-size: clamp(
        15px,
        1.1vw,
        19px
    );

    line-height: 1.6;

    animation:
        fadeUp 0.9s ease 0.1s both;
}


/* =========================================
   HAUPTINHALT
========================================= */

.content {
    position: relative;

    z-index: 2;

    width: min(1550px, 92%);

    margin: clamp(100px, 11vw, 190px) auto 0;

    display: grid;

    grid-template-columns:
        minmax(250px, 1fr)
        minmax(400px, 1.25fr)
        minmax(250px, 1fr);

    align-items: center;

    gap: clamp(
        25px,
        4vw,
        90px
    );
}


/* =========================================
   TEXT BOXEN
========================================= */

.box {
    width: 100%;

    padding: 30px;

    border-radius: 20px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* schöner Hover auf Desktop */

.box:hover {

    transform: translateY(-8px);

    background:
        linear-gradient(
            145deg,
            rgba(151, 17, 145, 0.08),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}


/* Überschriften */

.box h2 {

    margin: 0 0 25px;

    color: #b414ae;

    font-size: clamp(
        21px,
        1.5vw,
        30px
    );

    line-height: 1.25;

    letter-spacing: 1px;

    text-shadow:
        0 0 15px rgba(180, 20, 174, 0.3);
}


/* Text */

.box p {

    margin: 0 auto;

    max-width: 430px;

    color: #626262;

    font-size: clamp(
        15px,
        0.95vw,
        18px
    );

    line-height: 1.8;

    letter-spacing: 0.2px;
}


/* =========================================
   MITTLERE GRAFIK
========================================= */

.quantum-animation {
    display: block;

    width: min(100%, 560px);
    height: auto;

    overflow: visible;

    filter:
        drop-shadow(
            0 0 18px
            rgba(180, 20, 174, 0.12)
        );

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


.quantum-animation:hover {

    transform: scale(1.025);

    filter:
        drop-shadow(
            0 0 28px
            rgba(180, 20, 174, 0.25)
        );
}


/* =========================================
   KONTAKT BUTTON
========================================= */

.ContactButton {

    position: relative;

    z-index: 5;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: clamp(
        50px,
        6vw,
        90px
    );

    margin-bottom: 60px;

    padding: 14px 24px;

    background:
        linear-gradient(
            135deg,
            #b414ae,
            #85107e
        );

    color: #130b13;

    text-decoration: none;

    border-radius: 8px;

    font-size: 16px;

    box-shadow:
        0 8px 25px rgba(
            151,
            17,
            145,
            0.25
        );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.ContactButton:hover {

    background:
        linear-gradient(
            135deg,
            #d21bc9,
            #971191
        );

    color: white;

    transform: translateY(-4px);

    box-shadow:
        0 12px 35px rgba(
            151,
            17,
            145,
            0.45
        );
}


.ContactButton:active {
    transform: translateY(-1px);
}


/* Button Icon */

.ContactButtonIcon {

    width: 16px;
    height: 16px;

    display: block;

    transition:
        transform 0.25s ease;
}


.ContactButton:hover
.ContactButtonIcon {

    transform: translateX(4px);

    filter:
        brightness(0)
        invert(1);
}


/* =========================================
   ANIMATIONEN
========================================= */

@keyframes fadeUp {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================
   KLEINER DESKTOP
   ~1200px
========================================= */

@media (max-width: 1200px) {

    

    .navigation {
        gap: 30px;
    }

    .social-icons {
        right: 120px;
    }

    .content {

        width: 94%;

        grid-template-columns:
            minmax(220px, 1fr)
            minmax(320px, 1.1fr)
            minmax(220px, 1fr);

        gap: 25px;
    }

    .box {
        padding: 20px;
    }

    .box p {
        line-height: 1.7;
    }
}


/* =========================================
   TABLET
   ~900px
========================================= */

@media (max-width: 900px) {

    


    /* Navigation */

    .navigation {

        padding:
            25px
            20px;

        gap: 20px;

        flex-wrap: wrap;
    }


    .social-icons {

        right: 25px;
        top: 35px;
    }


    /* Hero */

    .hero {

        
    
    margin-top: 90px;
}


    h1 {

        font-size: clamp(
            30px,
            5vw,
            42px
        );
    
    
}


    /* Content */

    .content {

        width: min(
            700px,
            90%
        );

        margin-top: 120px;

        grid-template-columns: 1fr;

        gap: 50px;
    }


    .box {

        padding: 25px 20px;
    }


    .box p {

        max-width: 650px;

        font-size: 17px;
    }


    /* Grafik */

    .emc-container {

        order: 2;
    }

    .quantum-animation {

        width: min(500px, 90%);
    }

    .box:first-child {
        order: 1;
    }

    .box:last-child {
        order: 3;
    }


    .ContactButton {

        margin-top: 50px;
    }
}


/* =========================================
   HANDY
   ~600px
========================================= */

@media (max-width: 600px) {

    body {
        min-width: 0;
        overflow-x: hidden;
    }


    

    


    /* =====================================
       NAVIGATION
    ===================================== */

    .navigation {

        position: relative;

        width: 100%;

        /*
         * vorher: 170px
         * jetzt deutlich kompakter
         */
        min-height: 125px;

        /*
         * Navigation weiter nach oben
         */
        padding:
            38px
            20px
            10px;

        display: grid;

        grid-template-columns: 1fr 1fr;

        align-items: center;
        justify-items: center;

        column-gap: 15px;
        row-gap: 10px;

        z-index: 10;
    }


    .Home,
    .Geschichte,
    .Über-uns,
    .Login-Register {

        position: static;

        margin: 0;

        font-size: 15px;

        white-space: nowrap;

        color: #0f040f;

        z-index: 11;
    }


    /* =====================================
       ATOM OBEN
    ===================================== */

    .Atom {

        position: absolute;

        width: 27px;
        height: 27px;

        top: 10px;
        left: 50%;

        transform: translateX(-50%);

        z-index: 20;
    }


    /* =====================================
       YOUTUBE
    ===================================== */

    .social-icons {

        position: absolute;

        top: 12px;
        right: 18px;

        margin: 0;

        z-index: 20;
    }


    .social-icons img {

        width: 27px;
        height: 27px;
    }


    /* =====================================
       HERO
    ===================================== */

    


    h1 {

        

        padding: 0 10px;

        font-size: 29px;

        line-height: 1.25;
    
    margin-top: 140px;
}


    .hero > p {

        margin:
            18px
            auto
            0;

        padding: 0 10px;

        font-size: 16px;

        line-height: 1.6;
    }


    /* =====================================
       CONTENT
    ===================================== */

    .content {

        position: relative;

        width: 92%;

        margin:
            95px
            auto
            0;

        display: grid;

        grid-template-columns: 1fr;

        gap: 45px;

        padding: 0;

        z-index: 2;
    }


    /* =====================================
       BOXEN
    ===================================== */

    .box {

        width: 100%;

        padding:
            20px
            5px;

        margin: 0;

        border-radius: 15px;
    }


    .box:hover {

        transform: none;

        background: transparent;

        box-shadow: none;
    }


    .box h2 {

        margin:
            0
            0
            20px;

        font-size: 23px;

        line-height: 1.3;
    }


    .box p {

        width: 100%;

        max-width: 100%;

        margin: 0;

        padding: 0 5px;

        font-size: 16px;

        line-height: 1.75;
    }


    /* =====================================
       EMC
    ===================================== */

    .emc-container {

        width: 100%;

        margin: 10px 0;
    }


    .quantum-animation {

        width: 100%;

        max-width: 430px;
    }



    /* =====================================
       BUTTON
    ===================================== */

    .ContactButton {

        display: inline-flex;

        align-items: center;
        justify-content: center;

        margin:
            40px
            auto
            50px;

        padding:
            13px
            20px;

        font-size: 15px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================
   SEHR KLEINE HANDYS
   ~380px
========================================= */

@media (max-width: 380px) {

    

    


    /* =====================================
       NAVIGATION
    ===================================== */

    .navigation {

        position: relative;

        width: 100%;

        /*
         * NICHT 260px.
         * Die Navigation soll kompakt bleiben.
         */
        min-height: 175px;

        padding:
            45px
            25px
            15px;

        display: grid;

        /*
         * Zwei saubere Spalten
         */
        grid-template-columns: 1fr 1fr;

        /*
         * Wichtig:
         * Keine künstlich große Grid-Zeile!
         */
        grid-template-rows: auto auto;

        align-items: center;
        justify-items: center;

        column-gap: 15px;
        row-gap: 18px;

        z-index: 10;
    }


    .Home,
    .Geschichte,
    .Über-uns,
    .Login-Register {

        position: static;

        margin: 0;

        font-size: 14px;

        white-space: nowrap;

        color: #0f040f;
    }


    /* =====================================
       ATOM
    ===================================== */

    .Atom {

        position: absolute;

        width: 27px;
        height: 27px;

        top: 8px;
        left: 50%;

        transform: translateX(-50%);

        z-index: 20;
    }


    /* =====================================
       YOUTUBE
    ===================================== */

    .social-icons {

        position: absolute;

        top: 10px;
        right: 15px;

        margin: 0;

        z-index: 20;
    }


    .social-icons img {

        width: 25px;
        height: 25px;
    }


    /* =====================================
       HERO
    ===================================== */

    .hero {

        width: 92%;

        
    
    margin: 75px auto 0;
}


    h1 {

        margin: 0;

        

        padding: 0 5px;

        font-size: 26px;

        line-height: 1.25;
    
    margin-top: 15px;
}


    .hero > p {

        margin-top: 18px;

        padding: 0 5px;

        font-size: 15px;

        line-height: 1.6;
    }


    /* =====================================
       CONTENT
    ===================================== */

    .content {

        width: 92%;

        margin:
            75px
            auto
            0;

        display: grid;

        grid-template-columns: 1fr;

        gap: 40px;

        padding: 0;
    }


    /* =====================================
       TEXT
    ===================================== */

    .box {

        width: 100%;

        padding:
            20px
            5px;

        margin: 0;
    }


    .box h2 {

        margin-bottom: 18px;

        font-size: 21px;

        line-height: 1.3;
    }


    .box p {

        width: 100%;

        max-width: 100%;

        padding: 0;

        font-size: 15px;

        line-height: 1.7;
    }


    /* =====================================
       EMC
    ===================================== */

    .quantum-animation {

        width: 105%;

        max-width: 360px;
    }


    /* =====================================
       BUTTON
    ===================================== */

    .ContactButton {

        margin:
            35px
            auto
            40px;

        padding:
            13px
            20px;

        font-size: 15px;
    }
}

/* Der längere Geschichtslink bleibt auch mobil innerhalb der Navigation. */
.navigation > .Geschichte { white-space: normal; text-align: center; }
@media (max-width: 600px) { .navigation > .Geschichte { max-width: 100%; font-size: 14px; line-height: 1.25; } }


/* Gleicher Hero-Abstand auf Home, Geschichte und Über uns. */
:root { --hero-top-space: clamp(50px, 7vw, 110px); }
.hero, .history-hero { margin-top: var(--hero-top-space); }
@media (max-width: 900px) {
    :root { --hero-top-space: 90px; }
}
@media (max-width: 600px) {
    :root { --hero-top-space: 75px; }
}
@media (max-width: 380px) {
    :root { --hero-top-space: 55px; }
}
