/* ================== RESET ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================== VARIABLEN ================== */
:root {
    --bg-main: #f4f4f4;
    --bg-card: rgba(255, 255, 255, 0.85);
    --text-main: #222;
    --text-muted: #555;
    --cyan: #00ffff;
    --whatsapp: #25D366;
    --shadow: rgba(0,0,0,0.15);

    --loader-eye: #ffffff;
    --loader-pupil: #000000;
    --loader-ring: #FF0000;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-main: #0d0d0d;
        --bg-card: rgba(255, 255, 255, 0.05);
        --text-main: #eaeaea;
        --text-muted: #bdbdbd;
        --shadow: rgba(0,0,0,0.6);
    }
}

/* ================== BODY ================== */
body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: radial-gradient(circle at top, #1a1a1a, var(--bg-main));
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ================== CONTAINER ================== */
.container {
    width: 100%;
    max-width: 640px;
    padding: 40px 30px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    box-shadow: 0 20px 50px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================== LOGO ================== */
.logo img {
    max-width: 260px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* ================== H1 ================== */
h1 {
    font-size: 2.4em;
    text-transform: uppercase;
    width: 100%;
    padding: 0 20px;
}

h1::after {
    content: "";
    display: block;
    width: 80%;
    max-width: 420px;
    height: 4px;
    background: var(--cyan);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ================== TEXT ================== */
p {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ================== CONTACT ================== */
.contact {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 1.2em;
}

.contact-intro-container {
    margin-bottom: 18px;
    width: 100%;
    position: relative;
}

.contact-intro-container::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--cyan);
    margin: 8px auto 0;
    border-radius: 1px;
    opacity: 0.7;
}

.contact-intro {
    font-size: 1em;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ================== CONTACT ITEMS ================== */
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-link {
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: filter 0.3s;
}

.contact-link.email {
    color: var(--cyan);
}

.contact-link.whatsapp {
    color: var(--whatsapp);
}

.contact-link:hover {
    filter: brightness(1.3);
}

/* ================== SVG ICONS ================== */
.icon {
    width: 26px;
    height: 26px;
}

/* ================== LOADER ================== */
.loader {
    display: inline-flex;
    gap: 10px;
    margin: 20px auto;
}

.loader::before,
.loader::after {
    content: "";
    width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, 
                        #000 30%,       /* Pupille kleiner */
                        #FF0000 50%,    /* Deutlicher roter Ring */
                        transparent 70%) 50% 50%/6px 6px no-repeat,
        #fff; /* Auge */
    animation: loader-spin 3s linear infinite;
}

@keyframes loader-spin {
    0% { background-position: 35% 35%; }
    12.5% { background-position: 45% 25%; }
    25% { background-position: 65% 35%; }
    37.5% { background-position: 55% 45%; }
    50% { background-position: 65% 65%; }
    62.5% { background-position: 45% 55%; }
    75% { background-position: 35% 65%; }
    87.5% { background-position: 25% 45%; }
    100% { background-position: 35% 35%; }
}

/* ================== FOOTER ================== */
.footer {
    margin-top: 6px;
    font-size: 0.85em;
    color: var(--text-muted);
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
        padding: 0 16px;
    }

    h1::after {
        width: 90%;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 1.7em;
        padding: 0 14px;
    }

    h1::after {
        width: 95%;
    }

    .logo img {
        max-width: 200px;
    }

    .contact {
        font-size: 1.1em;
    }

    .loader::before,
    .loader::after {
        width: 16px;
    }
}

@media (max-width: 480px) {
    body {
        background: var(--bg-main);
    }

    .container {
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
        padding: 40px 25px;
        justify-content: center;
    }
}
