

/* Farben */
:root {
    --green: #82b440;
    --darkgreen: #084C23;
    --text: #000;
    --bg: #fff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

/* Zentrierter Inhalt */
main {
    max-width: 1024px;
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
}

hr {
    margin: 2rem 0;
    border: none;
    border-top: 2px solid #eee;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--darkgreen);
}

a {
    color: var(--green);
    text-decoration: underline;
}

/* LinkedIn Absatz mit Icon links */
.linkedin {
    display: flex;
    align-items: flex-start;   /* Icon oben bündig mit Text */
    gap: 0.75rem;              /* Abstand zwischen Icon und Text */
    margin-top: 1.5rem;
}

/* Icon */
.linkedin-icon {
    width: 1.3em;
    height: 1.3em;
    fill: var(--green);
    flex-shrink: 0;            /* verhindert Verkleinern */
    margin-top: 0.15em;        /* feine optische Justierung */
}

/* Textblock rechts vom Icon */
.linkedin-text {
    display: block;
}

/* Link-Styling */
.linkedin-text a {
    color: var(--green);
    text-decoration: underline;
}

.linkedin-badge {
    margin: 2rem 0;
    text-align: left;
}


/* Kopfbereich */
.topbar {
    background: var(--green);
    height: 30px;
}

/* =========================================================
   BANNER – NEUE VARIANTE (feste Höhe + Cropping)
   ========================================================= */
.banner {
    position: relative;
    width: 100%;
    height: 400px;       /* feste Höhe */
    overflow: hidden;    /* wichtig! */
    margin: 0 auto;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* Zuschneiden */
    object-position: center; /* immer zentriert */
}



/* Text auf dem Banner – exakt in der Mitte */
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 0.6rem 1.2rem;
    background: rgba(130, 180, 64, 0.85);
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* Formular */
form {
    margin-top: 2rem;
}

label {
    display: block;
    margin-top: 1rem;
}

textarea,
input[type=email],
input[type=text],
input[type=number] {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}

button {
    margin-top: 1.5rem;
    padding: 0.8rem;
    width: 100%;
    background: var(--green);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
}

/* DSGVO Checkbox */
.gdpr {
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Footer */

footer {
    background: var(--green);
    color: white;
    padding: 1rem;
    margin-top: 4rem;
    font-size: 0.9rem; /* kleinere Schrift */
}

footer a {
    color: white;
    text-decoration: underline;
    font-size: 0.9rem; /* Links ebenfalls kleiner */
}


/* Impressum Popup */
#impressum-popup {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0; left: 0;
    right:0; bottom:0;
    background: rgba(0,0,0,0.6);
}

#impressum-popup .popup-inner {
    background: white;
    max-width: 600px;
    margin: 5rem auto;
    padding: 2rem;
    border-radius: 4px;
}

/* Responsive Bannerhöhen */

/* Tablet / mittlere Bildschirme */
@media (max-width: 1024px) {
    .banner {
        height: 300px;
    }
}

/* Smartphone quer */
@media (max-width: 768px) {
    .banner {
        height: 220px;
    }
}

/* Smartphone hochkant */
@media (max-width: 480px) {
    .banner {
        height: 50vh;   /* 50% der Bildschirmhöhe */
    }
}

/* Zitat-Stil */
.quote {
    margin: 2rem 0;                 /* weniger vertikaler Abstand */
    padding: 1.2rem 1.5rem;
    width: 100%;                    /* volle Breite */
    border-left: 4px solid var(--green);
    background: rgba(130, 180, 64, 0.06);
    color: #333;
	border-radius: 3px;
}

/* Zitattext */
.quote p {
    margin: 0;
    font-size: 1.1rem;                /* wie normaler Text */
    line-height: 1.6;               /* identisch zu body */
    text-align: left;
    font-style: italic;
}

/* Autor */
.quote cite {
    display: block;
    margin-top: 0.6rem;
    font-style: normal;
    font-size: 1rem;
    color: var(--darkgreen);
    text-align: left;               /* ebenfalls links */
}

