/* ===== Grundstruktur ===== */

body {

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    line-height: 1.7;

    margin: 0;

    background: #ffffff;

    color: #222;

    min-height: 100vh;

    display: flex;

    flex-direction: column;
}

/* Anfragebereich */

.email-box {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 18px;
    margin-top: 15px;
}

.email-template {
    width: 100%;
    min-height: 320px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
}

.copy-button {
    margin-top: 12px;
    padding: 8px 14px;
    font-size: 14px;
    background: #1d4f8c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy-button:hover {
    background: #255a92;
}

.note {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

/* .email-template {

    width: 100%;
    min-height: 320px;

    padding: 18px;

    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;

    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;

    resize: vertical;
}

*/

/* ===== Layout ===== */

main {

    flex: 1;

    max-width: 720px;

    margin: 120px auto 60px auto;

    padding: 0 20px;
}

/* ===== Typografie ===== */

h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 4px;
}

h1 + h2 {
    margin-top: 6px;
}

h2 {
    font-size: 22px;
    margin-top: 50px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 18px;
}

ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* ===== Links ===== */

a {
    color: #1d4f8c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

header {
    border-bottom: 1px solid #e5e5e5;
}

.header-inner {

    max-width: 1000px;
    margin: auto;

    padding: 18px 20px;

    display: flex;

    align-items: baseline;

    justify-content: space-between;
}

/* ===== Logo ===== */

.logo a {
    font-size: 42px;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #1d4f8c;
    text-decoration: none;
}

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

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 22px;
}

.nav a {
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

/* ===== Hamburger Button ===== */

.menu-toggle {

    display: none;

    font-size: 38px;

    background: none;

    border: none;

    cursor: pointer;

    line-height: 1;

    color: #1d4f8c;

    padding: 0;
}

/* ===== Mobile ===== */

@media (max-width: 700px) {

    .menu-toggle {
        display: block;
    }

    .nav {

        display: none;

        position: absolute;

        top: 82px;

        right: 20px;

        background: white;

        border: 1px solid #e5e5e5;

        padding: 18px;

        border-radius: 8px;
    }

    .nav ul {

        flex-direction: column;

        gap: 14px;
    }

    .nav.open {
        display: block;
    }

}

/* ===== Sections ===== */

section {
    margin-bottom: 40px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

section:first-of-type {
    margin-bottom: 70px;
}


/* ===== Responsive ===== */

@media (max-width: 600px) {

    main {
        margin: 40px auto;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 20px;
    }

}


.about-marco {

    display: flex;
    gap: 20px;

    align-items: center;

    background: #f7f9fb;

    border-radius: 8px;

    padding: 20px;

    margin: 50px 0;
}

.about-marco img {

    width: 110px;

    height: auto;

    display: block;

    border-radius: 10px;
}

.about-marco h3 {

    margin-top: 0;
    margin-bottom: 10px;

    font-size: 20px;
}

.about-marco p {

    margin-bottom: 0;
}

@media (max-width: 700px) {

    .about-marco {

        flex-direction: column;
        align-items: flex-start;
    }

}


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

footer {

    background: #1d4f8c;
    color: white;

    margin-top: auto;
}

.footer-inner {

    max-width: 1000px;

    margin: auto;

    padding: 30px 20px;

    display: flex;

    align-items: center;
}

.footer-links {

    display: flex;

    gap: 20px;
}

.footer-links a {

    color: white;

    text-decoration: underline;
}

.footer-copyright {

    margin-left: auto;

    font-size: 14px;

    opacity: 0.9;
}

@media (max-width: 600px) {

    .footer-inner {

        flex-direction: column;

        align-items: flex-start;
    }

    .footer-copyright {

        margin-left: 0;

        margin-top: 15px;
    }

}