/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    /* Background image setup */
    background-image: url('images/background.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 140px; /* Prevent content from being hidden behind fixed footer */
}

/* Add a dark overlay to make text more readable */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    z-index: 1;
}

main {
    margin-bottom: 100px;
    text-align: center;
}

h1 {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 200; /* thin */
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 20px;
    background-color: #000; /* Solid black full-width bar */
    border-radius: 0;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}

.office, .kontakt {
    margin: 10px;
    text-align: left;
}

h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
}

p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px dotted white;
}

a:hover {
    border-bottom: 1px solid white;
}

/* Impressum styling */
.impressum p {
    font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    .impressum, .kontakt {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
}

/* Logo glow to stand out from background */
main img {
    /* Stronger white glow */
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 1)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.85));
}
