/* ================================
   LÖHRFELD – Islandpferdezucht
   Alle Farben und Design-Regeln
   ================================ */

/* GRUNDEINSTELLUNGEN */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: #f5f2ee;
    color: #2c2c2c;
}

/* ================================
   MENÜ OBEN
   ================================ */
nav {
    background-color: #1a2744;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

nav a {
    color: #f5f2ee;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.aktiv {
    color: #c9b99a;
}

/* Nav Links Wrapper */
.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Hamburger Button (nur auf dem Handy sichtbar) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #f5f2ee;
    transition: all 0.3s ease;
}

/* ================================
   GROSSER BEREICH OBEN (Header)
   ================================ */
header {
    position: relative;
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

header h1,
header p {
    position: relative;
    z-index: 1;
}

header h1 {
    color: #f5f2ee;
    font-size: 72px;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: normal;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

header p {
    color: #1a2744;
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 15px;
}

/* ================================
   HAUPTINHALT
   ================================ */
main {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 40px;
    text-align: center;
}

main h2 {
    font-size: 20px;
    color: #1a2744;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 55px;
    margin-bottom: 18px;
}

main h2:first-child {
    margin-top: 0;
}

main p {
    font-size: 18px;
    line-height: 1.9;
    color: #4a4a4a;
    margin-bottom: 10px;
}

/* ================================
   FUSSZEILE UNTEN
   ================================ */
footer {
    background-color: #1a2744;
    color: #c9b99a;
    text-align: center;
    padding: 30px;
    font-size: 14px;
    letter-spacing: 2px;
}

/* ================================
   BILDER AUF UNTERSEITEN
   ================================ */
.seiten-bild {
    width: 100%;
    height: auto;
    margin: 40px 0 10px;
    display: block;
    border-radius: 2px;
}

.bild-unterschrift {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-bottom: 40px;
    text-align: center;
}

/* ================================
   STICKY LAYOUT
   Bild links – Text Mitte – Bild rechts
   ================================ */
.main-weit {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0;
}

.sticky-layout {
    display: grid;
    grid-template-columns: 190px 1fr 190px;
    gap: 40px;
    padding: 40px;
    align-items: start;
}

.sticky-bild {
    position: sticky;
    top: 100px;
    text-align: center;
}

.sticky-bild img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.sticky-bild .bild-unterschrift {
    margin-bottom: 0;
}

.text-mitte {
    text-align: center;
}

.text-mitte h2 {
    font-size: 20px;
    color: #1a2744;
    font-weight: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 55px;
    margin-bottom: 18px;
}

.text-mitte h2:first-child {
    margin-top: 0;
}

.text-mitte p {
    font-size: 18px;
    line-height: 1.9;
    color: #4a4a4a;
    margin-bottom: 10px;
}

/* Zentrierter Textblock ohne seitliche Bilder */
.text-block {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 40px;
    text-align: center;
}

/* ================================
   HANDY-ANSICHT (bis 768px)
   ================================ */
@media (max-width: 768px) {

    nav {
        padding: 15px 20px;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .main-weit {
        margin: 50px auto;
    }

    .sticky-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 24px;
    }

    .sticky-bild {
        position: static;
    }

    .text-block {
        padding: 0 24px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 20px;
        padding: 20px 0 10px;
        text-align: center;
    }

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

    header h1 {
        font-size: 40px;
        letter-spacing: 5px;
    }

    header p {
        font-size: 14px;
    }

    main {
        margin: 50px auto;
        padding: 0 24px;
    }

    main h2 {
        font-size: 17px;
    }

    main p {
        font-size: 16px;
    }
}
