body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f5f7;
    color: #222;
}

/* Navigation (Hamburger) */
.nav {
    background: #1f4f7f;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;     /* fixiert die Leiste */
    top: 0;              /* oben am Bildschirmrand */
    left: 0;
    width: 100%;         /* volle Breite */
    z-index: 9999;       /* damit sie über allem liegt */

    box-sizing: border-box;
}

.nav img {
    max-height: 40px;   /* oder 50px, je nach Nav-Höhe */
    height: auto;
    width: auto;
}

.nav-logo {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hamburger {
    display: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 800px) {
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #1f4f7f;
        flex-direction: column;
        width: 200px;
        padding: 20px;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

/* Logo */
.logo-container {
    text-align: center;
    padding: 20px 0;
}

.logo-container img {
    width: 260px;      /* vorher 180px */
    max-width: 50vw;   /* vorher 40vw */
    margin-top: 70px;
}

/* Standard-Page-Layout */
.page {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #1f4f7f, #2f7fa8);
    color: #fff;
    padding: 40px;
}

.header h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
}

.header p {
    margin: 0;
    opacity: 0.9;
    font-size: 18px;
}

.content {
    padding: 40px;
    font-size: 16px;
    line-height: 1.7;
}

.content h2 {
    color: #1f4f7f;
    margin-top: 25px;
}

/* Grid / Cards (für Leistungen) */
.section-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1f4f7f;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.card {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 18px 18px 20px 18px;
    border: 1px solid #e0e3ea;
}

.card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #1f4f7f;
}

.card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e4edf7;
    color: #1f4f7f;
}

/* Methoden-Box */
.methods {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f3f6fb;
    border: 1px dashed #c4cfe4;
    font-size: 14px;
    line-height: 1.5;
}

.methods span {
    font-weight: bold;
    color: #1f4f7f;
}

/* Kontaktbox */
.contact-box {
    background: #f3f6fb;
    border: 1px dashed #c4cfe4;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 16px;
}

/* Hero-Header (Startseite) */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.hero h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 42px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.4);
    margin: 0;
}


/* Footer */
.footer {
    background: #1f4f7f;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    opacity: 0.8;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
