/* ========================================= */
/*  Lokale Schriftarten                      */
/* ========================================= */

@font-face {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/mulish/Mulish-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Mulish';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/mulish/Mulish-Italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/mulish/Mulish-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Mulish';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/mulish/Mulish-BoldItalic.woff2') format('woff2');
}


/* ========================================= */
/*  Farbvariablen                             */
/* ========================================= */

:root {
  --blue: #0B4F2E;
  --green: #4C8C2B;
  --orange: #F2C94C;
  --light: #ffffff;
  --white: #FFFFFF;
  --text-dark: #1E1E1E;


  --box-bg: #ffffff;
  --box-border: rgba(11, 79, 46, 0.08);
  --radius: 10px;
  --box-padding: 15px;
  --light2: #F7FAF8;

  --space-block: 10px;


}

/* ========================================= */
/*  Global Styles                             */
/* ========================================= */

body {
    margin: 0;
    font-family: 'Mulish', sans-serif;
    background: var(--light);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.7;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    margin-top: 0;
    color: var(--blue);
    margin-top: 10px;
}
h4 {
    margin-top: 0;
    color: var(--blue);
    margin-top: 10px;
    margin-bottom: 5px;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--orange);
}

.eingerueckt {
    padding-left: 20px;
    display: inline-block; /* Sorgt dafür, dass padding korrekt auf span wirkt */
}

/* ========================================= */
/*  Header                                   */
/* ========================================= */

.header-box {
    background: var(--blue);
    color: var(--white);
    padding: 24px 25px;   /* oben/unten 24, links/rechts 40 */
}


/* ========================================= */
/*  Navigation – Desktop                     */
/* ========================================= */

.main-nav {
    display: flex;
    justify-content: space-between; /* Logo links, Menü rechts */
    align-items: center;
    gap: 10px;
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 75px;
    width: auto;
    display: block;
}

.header-title {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 34px;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--orange);
}


/* ========================================= */
/*  Mobile Navigation (<980px)               */
/* ========================================= */

@media (max-width: 980px) {

    .container {
        padding: 0 16px;
    }

    .main-nav {
        flex-direction: column;   /* Menü unter Logo */
        align-items: stretch;
        width: 100%;
    }

    .nav-top {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .header-title {
        white-space: normal;
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .nav-toggle {
        display: block;
        font-size: 28px;
        padding: 4px 8px;
        margin: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;   /* linksbündig */
        background: var(--blue);
        padding: 12px 20px;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-links.show {
        display: flex;
    }
}


/* ========================================= */
/*  Footer                                   */
/* ========================================= */

.footer-box {
    background: var(--blue);
    color: var(--white);
    padding: 20px 30px;
    text-align: center;
}

.footer-box a {
    color: var(--white);
    font-weight: 500;
}

.footer-box a:hover {
    color: var(--orange);
}
