/* ======================================================
   GLOBAL
   ====================================================== */

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
    text-align: center;
    color: #000;

    min-height: 100vh;
    display: flex;
    flex-direction: column;

    background-color: #f4f5f3;
}

/* ======================================================
   HEADER / NAVIGATION
   ====================================================== */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    font-size: 22px;
    position: relative;

    background-color: #2e2e2e;
    color: #ffffff;
}

.logo a {
    text-decoration: none;
    color: #ffffff;
    font-size: 22px;
}

nav {
    transition: max-height 0.3s ease;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 22px;
}

nav a.active {
    font-weight: 600;
    color: #8fc9ff; /* helles Blau für aktive Navigation */
}

nav.open {
    max-height: 300px;
}

.hamburger {
    font-size: 32px;
    cursor: pointer;
    display: none;
    color: #ffffff;
}

/* ======================================================
   HERO
   ====================================================== */

.hero {
    margin-top: 10px;
    padding-bottom: 40px;
}

.circle-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

h1 {
    margin-top: 30px;
    font-size: 36px;
    font-weight: 600;
}

h2 {
    margin-top: 10px;
    font-size: 24px;
    letter-spacing: 1px;
    font-weight: 400;
}

h2 a {
    color: #000;
    text-decoration: none;
}

/* ======================================================
   CONTENT GRID
   ====================================================== */

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 20px;
    background-color: #f4f5f3;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 40px;
    gap: 60px;
    background-color: #f4f5f3;
}

.grid-item {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;

    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;

    background-color: #f4f5f3;
}

.grid-item p {
    margin: 0;
    line-height: 1.7;
    font-size: 18px;
}

.grid-item img {
    max-width: 65%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ======================================================
   FOOTER
   ====================================================== */

footer {
    margin-top: auto;
    padding: 35px 0 45px;
    font-size: 18px;

    background-color: #2e2e2e;
    color: #ffffff;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 900px) {

    header {
        padding: 20px;
    }

    .hamburger {
        display: block;
    }

    nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #2e2e2e;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid #444;
    }

    nav a {
        margin: 15px 0;
        font-size: 20px;
        color: #ffffff;
    }

    nav a.active {
        color: #8fc9ff; /* auch mobil hellblau */
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-item {
        padding: 25px;
    }

    img {
        width: 90%;
        max-width: 350px;
    }

    #ordination-burgenland,
    #ordination-wien {
        background-color: #f4f5f3;
        padding: 30px;
        box-sizing: border-box;
        text-align: left;
    }
}
