
:root {
    --bg-color: #071518;
    --header-bg: #1e1e1e;
    --card-bg: #1e1e1ed5;
    --button-bg: #3b3b3b;
    --text-color: #e0e0e0;
    --accent: #20c9c1; /* Meergrün */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, Arial, sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    width: 100%;
}

header {
    background-color: var(--header-bg);
    text-align: center;
    padding: 1px 5px;
    width: 100%;
    border-bottom: 2px solid var(--accent);
    position: fixed;
    z-index: 100;
    top: 0;
    box-shadow: 0px 8px 16px 0px #00000093;
    animation: none;
}

main {
    width: 95%;
    max-width: 1280px;
    padding: 16px;
    margin: auto;
    position: absolute;
    inset: 0;
    top: 128px;
}

h1, h2 {
    color: var(--accent);
    text-shadow: 16px 16px 32px 0px #00000093;
}

.card 
{
    position: relative;
    background: var(--card-bg);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 16px 16px 32px 0px #00000093;
    margin-bottom: 32px;
    border-left: 4px solid var(--accent);
    transition: 250ms;
}

.card:hover
{
    box-shadow: 16px 16px 48px 0px #000000;
}

.button
{
    display: block;
    background: var(--button-bg);
    padding: 12px;
    border-radius: 16px;
    box-shadow: 12px 12px 32px 0px #00000093;
    border-left: 4px solid var(--accent);
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: 250ms;
}

.inline
{
    display: inline;
    padding: 6px;
    padding-left: 48px;
    padding-right: 48px;
    width: 128px;
    height: 16px;
    margin-left: 8px;
    margin-right: 8px;
}

.button > * {
    max-width: 100%;
    height: 34px;
}

.noPadding
{
    padding: 2px;
}

.clickable
{
    color: white;
    transition: 250ms;
}

.clickable:visited
{
   color: white;
}

.clickable:hover
{
    color: var(--accent);
    box-shadow: 0px 0px 16px 0px var(--accent);
}

.paypal
{
    background: #FEC43A;
}

.multi
{
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 4px;
}

.multi *
{
    flex-grow: 1;
    flex-basis: 0;
}

.multi a
{
    display: block;
}

footer {
    background-color: var(--card-bg);
    padding: 10px;
    font-size: 14px;
    color: var(--text-color);
    text-align: center;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-top: 2px solid var(--accent);
    box-shadow: 0px -8px 16px 0px #00000093;
    position: sticky;
    bottom: 0;

    background-image: url(tl.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 32px;
    border-top-left-radius: 0;
}

#links { 
    float: left; 
    width: 256px; 
    padding-left: 32px; 
}

#rechts { 
    float: right; 
    width: 256px; 
    margin-right: 32px; 
}

#untenrechts{ 
    position: absolute;
    bottom: 0;
    right: 0; 
}

#qr-code{
    float: right; 
    width: auto; 
    margin: 4px;
    padding: 0px;
}

.autofitImg {
    width: 23%;
    z-index: 1;
}

/*Paralx Scroll Background*/
@keyframes parallax {
    to {
        transform: translateY(calc(var(--parallax-speed) * 10px ));
    }
}

.parallax 
{
    width: 100vw;
    min-height: 75vh;
    display: grid;
    grid-template-areas: "stack";
}

.parallax > img {
    grid-area: stack;
    animation: parallax linear;
    animation-timeline: scroll(root);

    position: absolute;
    top: 0;
    left: 0;

    min-height: 100%;
    min-width: 100%;
}

.parallax-bg {
    
    --parallax-speed: 88;
}

.parallax-dust {
    --parallax-speed: 60;
}

.parallax-dust2 {
    --parallax-speed: 50;
}

/*Matrix Background*/
@keyframes matrix-fall {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

@keyframes matrix-scroll {
    from { transform: translateY(0); }
    to { transform: translateY(200%); }
}

.matrixCode {
    position: absolute;
    top: -100%;
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    white-space: pre;
    animation: matrix-scroll 10s linear infinite;
    font-family: monospace;
    color: #20c9c081;
}

.matrix {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 20px,
      rgba(32, 201, 193, 0.2) 21px
    );
    animation: matrix-fall 5s linear infinite;
}


/*card animation zoom in and out*/
@media ( prefers-reduced-motion: no-preference ) {
    
    @keyframes appear {
        25%, 75% {
            opacity: 1;
            scale: 1;
        }
    }
    
    .card {
        opacity: 0;
        scale: 0.8;
        animation: appear linear;
        animation-timeline: view();
    }
}

/*button animation horizontal scroll*/
@media ( prefers-reduced-motion: no-preference ) {

    @keyframes scrollLeft {
        to {
            left: -300px;
        }
    }
    @keyframes scrollRight {
        to {
            right: -300px;
        }
    }

    .sideScroll {
        position: relative;
        height: 64px;
        mask-image: linear-gradient( 
            to right,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0)  
        );
    }

    .sideScrollRight {
        position: relative;
        height: 64px;
        mask-image: linear-gradient( 
            to right,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0)  
        );
    }

    .sideScroll * {
        position: absolute;
        left: 100%;
        animation: scrollLeft linear; 
        animation-duration: 20s;
        animation-iteration-count: infinite;
        width: 26%;
        box-shadow: 8px 8px 16px 0px #00000093;
        margin: 4px;
    }

    .sideScrollRight * {
        position: absolute;
        right: 100%;
        animation: scrollRight linear; 
        animation-duration: 20s;
        animation-iteration-count: infinite;
        width: 26%;
        box-shadow: 8px 8px 16px 0px #00000093;
        margin: 4px;
    }

    .sideScroll *:hover {
        box-shadow: 8px 8px 16px 0px #00000093;
    }

    .sideScrollRight *:hover {
        box-shadow: 8px 8px 16px 0px #00000093;
    }

    #animationID1
    {
        animation-delay: -15s;
    }

    #animationID2
    {
        animation-delay: -10s;
    }

    #animationID3
    {
        animation-delay: -5s;
    }

    #animationID4
    {
        animation-delay: 0;
    }
}

.mobile-only 
{
    display: none; /* Nur auf Handy sichtbar */
}

.desktop-only 
{
    display: block; /* Nur auf Desktop sichtbar */
}

/* --- Mobile: max 799px --- */
@media (max-width: 799px) 
{
    main 
    {
        top: 100px;
    }

    .autofitImg 
    {
        width: 32%;
    }
    
    .mobile-only 
    {
        display: block; /* Jetzt sichtbar */
    }

    .desktop-only 
    {
        display: none; /* Auf kleinen Bildschirmen verstecken */
    }
}