@font-face {
    font-family: "LucidaHandwritingWeb";
    src: url("fonts/LHANDW.TTF") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --club-green: #176237;
}

/* =========================================================
   GRUNDEINSTELLUNGEN
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

.section-light {
    background: #f1f1f1;
}

.section-dark {
    background: #252525;
    color: #fff;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-heading p {
    color: #777;
}

.section-dark .section-heading p {
    color: #ccc;
}


/* =========================================================
   BANNER / HERO
   ========================================================= */

.hero {
    min-height: 360px;
    background-image: url("bilder/banner.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-overlay {
    width: 100%;
    padding: 70px 0;
    background: rgba(0, 0, 0, 0.20);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.35);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--club-green);
    text-decoration: none;

    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--club-green);
}

.shop-nav-link {
    font-weight: 700 !important;
}


/* =========================================================
   WILLKOMMEN
   ========================================================= */

.welcome {
    padding: 65px 0;
    background: #fff;
}

.welcome h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.welcome p {
    max-width: 800px;
}


/* =========================================================
   VERANSTALTUNGEN
   ========================================================= */

.events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-items: start;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    min-width: 0;
}

.event-date {
    background: var(--club-green);
    color: #fff;
    padding: 15px 22px;
    font-weight: 700;
}

.event-title-header {
    display: block;
    font-size: 1.25rem;
}

.event-content {
    padding: 18px;
}

.event-info {
    margin-bottom: 15px;
}

.event-flyer {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 360px;
    object-fit: contain;
    margin-top: 18px;
    cursor: pointer;
    border-radius: 8px;
}

.events-loading,
.no-events,
.instagram-loading,
.instagram-empty {
    text-align: center;
    color: #777;
}


/* =========================================================
   BILD-OVERLAY
   ========================================================= */

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0,0,0,0.88);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}


/* =========================================================
   INSTAGRAM / AKTUELL
   ========================================================= */

.instagram-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.instagram-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.instagram-media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eee;
}

.instagram-media img,
.instagram-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instagram-content {
    padding: 18px;
}

.instagram-date {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 8px;
}

.instagram-text {
    margin-bottom: 12px;
}

.instagram-link {
    color: var(--club-green);
    text-decoration: none;
    font-weight: 700;
}


/* =========================================================
   EINKLEIDEN / SPREADSHOP
   ========================================================= */

.shop-section {
    background: #fff;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.shop-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.10);
    text-decoration: none;
    color: #333;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.shop-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f4f4f4;
    overflow: hidden;
}

.shop-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-card-content {
    padding: 18px;
    text-align: center;
}

.shop-card-content h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.shop-card-link {
    color: var(--club-green);
    font-weight: 700;
}

.shop-more {
    text-align: center;
    margin-top: 35px;
}

.shop-main-button {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    background: var(--club-green);
    color: #fff;
    transition: opacity 0.2s ease;
}

.shop-main-button:hover {
    opacity: 0.85;
}


/* =========================================================
   DOWNLOADS
   ========================================================= */

.downloads {
    display: grid;
    gap: 18px;
}

.download-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.download-card:hover {
    transform: translateY(-2px);
}

.download-icon {
    font-size: 2rem;
}

.download-card h3 {
    margin-bottom: 4px;
}

.download-card p {
    color: #777;
}

.download-arrow {
    font-size: 1.6rem;
    color: var(--club-green);
}


/* =========================================================
   IMPRESSUM
   ========================================================= */

.imprint {
    max-width: 850px;
    margin: 0 auto;
}

.imprint h3 {
    margin-top: 25px;
    margin-bottom: 8px;
}

.imprint h3:first-child {
    margin-top: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #1d1d1d;
    color: #ddd;
    padding: 25px 0;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

footer a {
    color: #fff;
    text-decoration: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 1450px) {
    .events {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .event-flyer {
        height: 330px;
    }
}


@media (max-width: 950px) {

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .instagram-posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 15px;
    }
}


@media (max-width: 950px) {
    .events {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 700px) {

    .events {
        grid-template-columns: 1fr;
    }

    .event-flyer {
        height: auto;
        max-height: 600px;
    }

    .nav-container {
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

    .hero {
        min-height: 300px;
    }

    .hero-overlay {
        padding: 55px 0;
    }

    .section {
        padding: 55px 0;
    }

    .instagram-posts {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
}


@media (max-width: 520px) {

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        grid-template-columns: auto 1fr;
    }

    .download-arrow {
        display: none;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }
}






/* =========================================================
   De´Gadde – echte Lucida Handwriting
   Quelle: LHANDW.TTF
   ========================================================= */
.logo,
.hero-brand {
    font-family: "LucidaHandwritingWeb" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-synthesis: none !important;
}

.hero-brand {
    display: block !important;
}

.hero-name {
    display: block !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

/* =========================================================
   BANNER – Text deutlich rechts vom Licher-Schild
   ========================================================= */
.hero-overlay .container {
    position: relative;
}

.hero-overlay .container > * {
    margin-left: 30%;
    max-width: 44%;
}

@media (max-width: 900px) {
    .hero-overlay .container > * {
        margin-left: 30;
        max-width: 52%;
    }
}

@media (max-width: 700px) {
    .hero-overlay .container > * {
        margin-left: 8%;
        max-width: 84%;
    }

    .hero-overlay {
        align-items: flex-end;
        padding-bottom: 35px;
    }
}


/* =========================================================
   MOBILE – Veranstaltungen & Bekleidung zweispaltig
   ========================================================= */
@media (max-width: 700px) {
    .events,
    .shop-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .events > *,
    .shop-grid > * {
        min-width: 0 !important;
        width: auto !important;
    }

    .event-card,
    .shop-card {
        min-width: 0;
    }

    .event-card img,
    .shop-card img {
        width: 100%;
    }

    .event-card .card-body,
    .shop-card .card-body {
        padding: 12px !important;
    }
}

/* Auch auf sehr kleinen Handys zwei Spalten behalten, aber kompakter. */
@media (max-width: 420px) {
    .events,
    .shop-grid {
        gap: 10px !important;
    }

    .event-card .card-body,
    .shop-card .card-body {
        padding: 9px !important;
    }
}
