/* ============================= */
/* GLOBAL SETTINGS */
/* ============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f4f6f9;
    color: #1f2937;
    line-height: 1.6;
}

/* ============================= */
/* NAVIGATION */
/* ============================= */

.navbar {
    background: #ffffff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.nav-links a {
    margin-left: 30px;
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 600;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #0f172a;
}

/* ============================= */
/* HERO SECTION MIT BACKGROUND */
/* ============================= */

.hero {
    background: 
        linear-gradient(rgba(15,23,42,0.75), rgba(15,23,42,0.75)),
        url("images/backround.png") center center / cover no-repeat;
    
    color: white;
    text-align: center;
    padding: 150px 20px; /* Reduziert von 200px */
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    max-width: 950px;
    margin: auto;
    line-height: 1.2;
}

.hero p {
    margin-top: 20px; /* Reduziert von 30px */
    font-size: 20px;
    opacity: 0.95;
}

/* Optional CTA */

.cta-btn {
    display: inline-block;
    margin-top: 30px; /* Reduziert von 40px */
    padding: 14px 32px;
    background: #1e3a8a;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #0f172a;
}

/* ============================= */
/* SECTIONS */
/* ============================= */

.section {
    padding: 80px 20px; /* Reduziert von 110px */
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.section h2 {
    font-size: 36px;
    color: #0f172a;
    margin-bottom: 30px; /* Reduziert von 50px */
}

/* ============================= */
/* GRID + CARDS */
/* ============================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; /* Reduziert von 35px */
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content { /* Neu: Für Text in Karten */
    padding: 20px;
    text-align: left;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0f172a;
}

.card-content p {
    font-size: 16px;
    color: #1f2937;
}

/* ============================= */
/* CONTACT */
/* ============================= */

.contact a {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 40px 20px; /* Reduziert von 50px */
    margin-top: 50px; /* Reduziert von 80px */
    font-size: 14px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 992px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .nav-links a {
        margin-left: 18px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {

    .hero {
        padding: 120px 20px; /* Weiter reduziert für Mobile */
    }

    .hero h1 {
        font-size: 28px;
    }

    .section {
        padding: 60px 20px; /* Reduziert für Mobile */
    }
}