/* ===========================
   Grunddesign & Farben
   =========================== */

:root {
    --grün: #0F3D2E;
    --grün-hell: #145C42;
    --gold: #C9A66B;
    --grau-hell: #F5F5F5;
    --text: #333;
    --weiß: #FFFFFF;

    --serif: "Georgia", "Times New Roman", serif;
    --sans: "Helvetica Neue", Arial, sans-serif;
}

/* ===========================
   Global
   =========================== */

body {
    margin: 0;
    padding: 0;
    font-family: var(--sans);
    color: var(--text);
    background-color: var(--weiß);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--serif);
    color: var(--grün);
    margin-top: 0;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

p, ul, li {
    font-size: 1rem;
}

a {
    color: var(--grün);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===========================
   Header & Navigation
   =========================== */

header {
    background-color: var(--weiß);
    border-bottom: 3px solid var(--grün);
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo img {
    height: 150px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

nav a {
    font-weight: bold;
    color: var(--grün);
}

nav a.active {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 3px;
}

/* ===========================
   Hero-Bereich
   =========================== */

.hero {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    filter: brightness(70%);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--weiß);
    text-align: center;
}

.hero-text h1 {
    color: var(--weiß);
    font-size: 2.8rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* ===========================
   Buttons
   =========================== */

.btn {
    background-color: var(--grün);
    color: var(--weiß);
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    margin-right: 10px;
}

.btn:hover {
    background-color: var(--grün-hell);
}

.btn.secondary {
    background-color: var(--gold);
    color: var(--weiß);
}

.btn.secondary:hover {
    background-color: #b48d54;
}

/* ===========================
   Layout & Sektionen
   =========================== */

main {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
}

section {
    margin-bottom: 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.image-text {
    display: flex;
    gap: 40px;
    align-items: center;
}

.image-text.reverse {
    flex-direction: row-reverse;
}

.image-text img {
    width: 100%;
    border-radius: 6px;
}

.portrait-section {
    display: flex;
    gap: 40px;
    align-items: center;
}

.portrait-section img {
    width: 280px;
    border-radius: 6px;
}

/* ===========================
   Kontaktformular
   =========================== */

form {
    max-width: 600px;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--grün);
    border-radius: 4px;
    margin-top: 5px;
    font-size: 1rem;
}

button[type="submit"] {
    margin-top: 20px;
}

/* ===========================
   Footer
   =========================== */

footer {
    background-color: var(--grün);
    color: var(--weiß);
    padding: 25px;
    text-align: center;
    margin-top: 40px;
}

footer a {
    color: var(--weiß);
    font-weight: bold;
}

.footer-links {
    margin-bottom: 10px;
}

/* ===========================
   Mobile Optimierung
   =========================== */

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .image-text,
    .image-text.reverse,
    .portrait-section {
        flex-direction: column;
    }

    nav ul {
        gap: 15px;
    }
}