/* Grundlayout */
html, body {
    height: 100%;
}

body {
    margin: 0;
    background-color: #e6e6e6;
    font-family: Arial, sans-serif;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Site nimmt volle Höhe ein */



/* Inhalt darf wachsen */

/* Footer bleibt unten */
footer {
    background: #f0f0f0;
    text-align: center;
    padding: 15px;
}


header {
    background: #0066cc;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
}


header nav a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
    font-weight: bold;
}

header nav a:hover{
	text-decoration: underline;
}

main {
    flex: 1;
}
.services li {
    margin: 8px 0;
}

/* Footer */
.footer {
    background-color: #2b2f32;
    color: #d6d6d6;
    font-size: 14px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-column p {
    line-height: 1.7;
    margin: 0;
}

.footer a {
    color: #d6d6d6;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}



/* Top Telefon / Info Bar */
.top-bar {
    background-color: #78a8f5;
    font-size: 14px;
    z-index: 11;
}

.top-bar-inner {
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #005b8f;
    text-decoration: none;
    font-weight: 600;
	text-align: right;
}

.top-bar a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 6px;
    color: #005b8f;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
     box-sizing: border-box;
}

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent; /* WICHTIG */
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.subtitle {
    font-size: 45px;
    opacity: 0.9;
}

/* =========================
   MOBILE OPTIMIERUNG
   ========================= */

@media (max-width: 768px) {

    /* Header */
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    header nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    header nav a {
        margin-right: 0;
    }

    /* Top-Bar */
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Hero */
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 15px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        text-align: left;
    }
}

.header-text,
.main-header a {
    color: white;
}

.main-header a {
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.header-text {
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

