html {
    scroll-behavior: smooth;
}

body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0; /* Padding hier entfernen, das machen wir in den Sektionen */
}

.container, .contact-section {
    min-height: 100vh; /* Jede Sektion füllt den ganzen Bildschirm */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px; /* Platz für die Navbar */
}


/* Das hier stylt nur die Überschrift */
h1 {
    font-size: 3rem;
    /* Macht die Schrift schön gross */
    border-bottom: 2px solid #0078d4;
    /* Eine blaue Linie unter dem Text */
    padding-bottom: 10px;
}

.container {
    text-align: center;
    /* Zentriert alles im Container */
}

.profilbild {
    width: 150px;
    /* Breite des Bildes */
    height: 150px;
    /* Höhe des Bildes */
    border-radius: 50%;
    /* Macht das Bild kreisrund */
    object-fit: cover;
    /* Sorgt dafür, dass das Bild nicht verzerrt wird */
    border: 3px solid #0078d4;
    /* Ein blauer Rahmen passend zum Design */
    margin-bottom: 20px;
}

/* Styling für die Navigationsleiste */
.navbar {
    position: fixed;
    /* Bleibt beim Scrollen oben */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* Logo links, Links rechts */
    padding: 20px 50px;
    background: rgba(18, 18, 18, 0.9);
    /* Leicht transparentes Schwarz */
    backdrop-filter: blur(10px);
    /* Glas-Effekt */
    box-sizing: border-box;
    z-index: 1000;
}

.nav-logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #d49100;
}

.nav-logo {
    display: none;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    /* Abstand zwischen den Links */
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    /* Sanfter Farbübergang */
}

.nav-links a:hover {
    color: #0078d4;
    /* Farbe ändert sich beim Drüberfahren */
}

/* Kontakt Bereich */
.contact-section {
    padding: 100px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Der E-Mail Button */
.contact-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #0078d4;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
    margin-top: 20px;
}

.contact-button:hover {
    background-color: #005a9e; /* Dunkleres Blau beim Drüberfahren */
    transform: scale(1.05);    /* Button wird minimal grösser */
}
