/* =======================================
   GLOBAL STYLES
======================================= */
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

/* Utility */
.section {
    max-width: 900px;
    margin: auto;
    padding: 100px 20px;
    position: relative;
}

.section > h2 {
    position: relative;
    padding-top: 20px !important;
}

.section > h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #c27431;
}

.alt {
    background: none;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #c27431;
}

p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 18px;
    max-width: 750px;
}

/* =======================================
   NAVIGATION + BURGER MENU
======================================= */
.navbar {
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: fixed;
    width: 100%;
    height: 70px;
    z-index: 1000;
}
.nav-container {
    max-width: 1100px;
    margin: auto;
    padding: 5px 15px; /* kleinerer Rand */
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}
/* Logo + Text */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container a {
    text-decoration: none; /* Unterstreichung entfernen */
    color: #333;         /* Farbe passend zum Logo/Design */
    font-weight: 700;
}

.logo-container a:hover {
    color: #c27431;            /* optional: Farbe beim Hover ändern */
}

.logo-img {
    width: 50px; /* Logo-Größe anpassen */
    height: auto;
}
.logo-text {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: #333; /* Primärfarbe */
}
.nav-links {
    display: flex;
    gap: 15px;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #c27431;
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover {
    color: #c27431;
}
/* Burger Menu */
.nav-toggle {
    display: none;
}
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.burger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}
@media (max-width: 768px) {
    .burger {
        display: flex;
        z-index: 1100;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        background: #fff;
        width: 280px;
        height: calc(100vh - 64px);
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1900;
    }
    .nav-toggle:checked + .burger + .nav-links {
        transform: translateX(0);
    }
}

/* =======================================
   HERO SECTION FULL WIDTH
======================================= */
#hero {
    width: 100%;
    height: 90vh;
    background-image: url('assets/hero.png'); /* Pfad prüfen */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Text linksbündig */
    padding-left: 60px; /* Abstand vom linken Rand */
    text-align: left;
}


.hero-img {
    display: none; /* Desktop: Bild ausblenden */
}

.hero-overlay {
    background: transparent; /* kein Overlay */
    color: #c27431;
    max-width: 600px;
    animation: fadeIn 1.2s ease;
    text-align: left;
}

.hero-overlay h1 {
    font-size: 3.5rem; /* etwas größer */
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-overlay p {
    font-size: 1.35rem; /* größer */
    margin-bottom: 25px;
    max-width: 500px;
}

.hero-overlay .btn {
    font-size: 1.1rem;
    padding: 14px 30px;
}

@media (max-width: 768px) {
    #hero {
        height: auto;
        min-height: unset; 
        background: none;
        flex-direction: column;
        padding: 0;
    }

    .hero-img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        padding-top: 50px;
    }

    .hero-overlay {
        padding: 0px 20px 50px;
        text-align: center;
        max-width: 100%;
    }

    .hero-overlay h1 {
        font-size: 2.2rem;
        margin-top: 0px;
    }

    .hero-overlay p {
        font-size: 1.1rem;
    }

}
/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}


/* Button Animation */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #c27431;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* =======================================
   ABOUT SECTION IMAGE
======================================= */
.about-layout .about-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

.about-img {
    width: 100%;
    max-width: 500px;
    border-radius: 14px;
    object-fit: cover;
    margin-top: 20px;
}

.about-text p {
    max-width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
    .about-layout .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img {
        width: 65%;
        margin: 0 auto 20px;
    }
}


/* =======================================
   PORTRAIT-BILD
======================================= */
.portrait-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

.portrait-img {
    width: 100%;
    border-radius: 14px;
    max-width: 500px;
    object-fit: cover;
    margin-top: 20px;
}


.portrait-text p,
.portrait-text blockquote {
    max-width: 100%;
    text-align: left;
}

#portrait h2 {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-top: 0px;
}

#portrait::before {
    margin-bottom: 8px;
}

/* Mobile */
@media (max-width: 768px) {
    .portrait-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .portrait-img {
        width: 65%;
        margin: 0 auto 20px;
    }
}

  
/* =======================================
   BLOCKQUOTE STYLING
======================================= */
blockquote {
    margin: 40px 0;
    padding-left: 25px;
    border-left: 4px solid #c27431;
    background: none;
    font-style: italic;
    color: #555;
}


/* =======================================
   GALERIE
======================================= */
.gallery {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.gallery img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.gallery img:hover {
    transform: translateY(-5px);
}

/* =======================================
   FOOTER
======================================= */
footer {
    background: #222;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: center; /* horizontal zentrieren */
    align-items: center;     /* vertikal zentrieren */
    flex-wrap: wrap;         /* falls Text zu lang für Mobile */
    gap: 5px;                /* Abstand zwischen Text und Links */
    text-align: center;      /* Backup für Text innerhalb von Inline-Elementen */
}
footer a {
    color: #fff;
    text-decoration: underline; /* optional für bessere Sichtbarkeit */
    margin: 0 5px;
}

footer a:hover {
    color: #c27431; /* hover-Farbe passend zum Farbschema */
}

/* =======================================
   ANIMATIONS
======================================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {

    /* Absätze kompakter */
    p {
        margin-bottom: 12px;
        line-height: 1.55;
        text-align: left;
    }

    /* Überschriften etwas enger */
    h2 {
        margin-bottom: 18px;
    }

    h3 {
        margin-top: 28px;
    }

    /* Sections weniger "luftig" */
    .section {
        padding: 70px 20px;
    }

    /* Blockquotes kompakter */
    blockquote {
        margin: 25px 0;
    }
}

/* Vereinsbild neben Über uns */
.about-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

.about-layout img {
    width: 100%;
    max-width: 500px;
    border-radius: 14px;
    object-fit: cover;
    margin-top: 20px;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-layout img {
        width: 100%;       /* volle Breite */
        max-width: 100%;
        margin: 0 0 20px;  /* unten Abstand auf 20px reduzieren */
    }
}

/* =======================================
   HARD FACT CARDS
======================================= */
.cards {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-top: 40px;
}

.card {
    background: #fff; /* neutraler Hintergrund */
    padding: 25px 20px;
    border-radius: 14px;
    border: 2px solid rgba(194, 116, 49, 0.2); /* sanfte Primärfarbe als Umrandung */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* leichter Schatten für Tiefe */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    background: #fff7f1; /* etwas intensiver beim Hover */
}

.card-icon {
    font-size: 3rem;
    color: #c27431; /* Primärfarbe */
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    text-align: center;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

