/* Root-Variablen */
:root {
    --accent: #09c9d6;
    --bg-dark: #121212;
    --bg-darker: #1e1e1e;
    --text: #ffffff;
    --text-muted: #cccccc;
}

/* Box-sizing */
* {
    box-sizing: border-box;
}

/* HTML + Body */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: var(--text);
    text-align: center;

    display: flex;
    flex-direction: column;
    min-height: 100vh;   /* Body füllt immer den Viewport */
    position: relative;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    background-color: var(--bg-dark);
}

/* Hintergrund mit Blur */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    filter: blur(5px);
    transform: scale(1.05);
    z-index: -1;
}

/* FadeIn Animation */
@keyframes fadeIn {
    to { opacity: 1; }
}

.btn {
    margin-top: 25px;
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
}

.btn-container
{
    display: flex;
    gap: 18px;
}

.btn:hover {
    background-color: #1d62e1;
    transform: scale(1.05);
}
/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.logo {
    font-size: 2em;
    font-weight: bold;
    color: var(--text);
    flex: 1;
    text-align: left;
}

nav {
    flex: 2;
    text-align: right;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1em;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* About Section */
.about {
    margin-top: 40px;
    background-color: var(--bg-darker);
    padding: 80px 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.about h2 {
    font-size: 2.8em;
    margin-bottom: 30px;
    color: var(--accent);
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.about-text p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text);
}

.about-text strong {
    color: var(--accent);
}

.about-text em {
    color: #ff416c;
}

/* Responsive */
@media (max-width: 768px) {
    .about h2 {
        font-size: 2em;
    }

    .about-text p {
        font-size: 1em;
    }
}

/* Hero Section */
main.hero {
    flex: 1;                 /* füllt den Raum zwischen Header und Footer */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.4em;
    max-width: 600px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    width: 120px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(11, 162, 189, 0.5);
}

.social-link img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    transition: filter 0.3s;
}

.social-link:hover img {
    filter: brightness(1.2);
}

.social-link span {
    font-size: 1.1em;
    margin-top: 5px;
}

/* Footer */
footer {
    margin-top: auto;         /* Footer immer am Ende */
    background-color: #111;
    color: #aaa;
    padding: 40px 20px;
    font-size: 0.9em;
    border-top: 1px solid #333;
}

footer a {
    color: #aaa;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        text-align: center;
        flex: 100%;
        margin-bottom: 10px;
    }

    nav ul {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .social-links {
        gap: 20px;
    }
}