/* =====================================================================
 * dark-theme.css
 * -----------------------------------------------------------------
 * Wiederverwendbare Bausteine im Look der Startseite: Header +
 * Hamburger-Menue, dunkler Hintergrund, Playfair-Headlines, Tabs,
 * Suchfeld, Karten-Grid/Slider.
 * Wird von allen dunkel gestalteten Seiten eingebunden.
 * Klassen/IDs mit "fcg_"-Prefix.
 * ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

/* --- Seitenweiter dunkler Hintergrund (ueberschreibt den hellen Body aus style.css) --- */
html, body {
    background: #1a0f18;
    color: #e8e0e5;
    margin: 0;
    padding: 0;
    max-width: none;
    min-height: 100%;
}

/* --- Header + Hamburger-Menue --- */
.fcg_header {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #1a0f18;
    color: #e8e0e5;
    padding: 15px 20px;
    max-width: 1428px;
    margin: 0 auto;
    box-sizing: border-box;
}

.fcg_header-logo {
    color: #e8e0e5;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.fcg_header-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.fcg_hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fcg_hamburger-btn:hover {
    background: none;
}

.fcg_hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #e8e0e5;
    border-radius: 2px;
}

/* Icons rechts im Header (per margin-left:auto an den Rand gedrueckt) */
.fcg_header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.fcg_header-icon {
    color: #e8e0e5;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
}

.fcg_header-icon:hover {
    color: #b090b0;
}

/* --- Off-Canvas-Menue --- */
.fcg_offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    background: #1a0f18;
    color: #e8e0e5;
    z-index: 100;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
}

.fcg_offcanvas.fcg_offen {
    transform: translateX(0);
}

.fcg_offcanvas-close {
    background: none;
    border: none;
    color: #e8e0e5;
    font-size: 28px;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 0;
    line-height: 1;
}

.fcg_offcanvas-close:hover {
    background: none;
}

.fcg_offcanvas-link {
    display: block;
    color: #e8e0e5;
    text-decoration: none;
    padding: 12px 5px;
    border-bottom: 1px solid #5c3a52;
}

.fcg_offcanvas-link.fcg_aktiv {
    font-weight: 700;
    color: #b090b0;
}

.fcg_offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
    display: none;
}

.fcg_offcanvas-overlay.fcg_offen {
    display: block;
}

body.fcg_no-scroll {
    overflow: hidden;
}


/* --- Generischer Seiten-Wrapper / Headline / Intro-Text --- */
.fcg_seite-wrapper {
    max-width: 1428px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.fcg_seite-titel {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 30px;
    text-align: center;
    margin: 0 0 15px 0;
}

.fcg_seite-text {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px auto;
    font-weight: 400;
    color: #cbb8c6;
}

.fcg_zurueck-link {
    color: #b090b0;
    text-decoration: none;
}

/* --- Breadcrumb (Navigationshilfe unter dem Header) --- */
.fcg_breadcrumb {
    max-width: 1388px;
    margin: 0 auto;
    padding: 15px 0px;
    box-sizing: border-box;
    text-align: left;
    color: #cbb8c6;
    font-size: 14px;
    border-top:1px solid #5c3a52;
    border-bottom:1px solid #5c3a52;
}

.fcg_breadcrumb a {
    color: #b090b0;
    text-decoration: none;
}

.fcg_breadcrumb a:hover {
    text-decoration: underline;
}

/* --- Footer (auf jeder Seite sichtbar, Details folgen) --- */
.fcg_footer {
    background: #5c3a52;
    border-top: 1px solid #5c3a52;
    color: #cbb8c6;
    padding: 30px 20px;
    margin-top: 60px;
}

.fcg_footer-inner {
    max-width: 1428px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    padding: 15px 20px;
}

.fcg_footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.fcg_footer-links a {
    color: #cbb8c6;
    text-decoration: none;
}

.fcg_footer-links a:hover {
    color: #e8e0e5;
}


/* --- Generisches Suchfeld (Hero UND Suche-Seite) --- */
.fcg_suchfeld-form {
    max-width: 480px;
    margin: 0 auto 40px;
}

.fcg_suchfeld-input {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid #b090b0;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 16px;
    color: #e8e0e5;
    text-align: center;
}

.fcg_suchfeld-input::placeholder {
    color: #e8e0e5;
}

.fcg_suchfeld-input:focus {
    color: #e8e0e5;
    outline: none;
    border-color: #b090b0;
}


/* --- Tabs (Bundeslaender/Staedte-Auswahl als Reihe von Pillen) --- */
.fcg_tabs-liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 0 40px 0;
    padding: 0;
    list-style: none;
}

.fcg_tab-item {
    display: inline-flex;
    align-items: center;
    background: #5c3a52;
    border: 1px solid #5c3a52;
    color: #e8e0e5;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 15px;
    text-decoration: none;
}

.fcg_tab-item:hover {
    background: #71465f;
}

.fcg_tab-item.fcg_aktiv {
    background: #b090b0;
    color: #1a0f18;
}


/* --- Generischer Button (z.B. "Entfernen" bei Favoriten) --- */
.fcg_btn {
    display: inline-flex;
    align-items: center;
    background: #5c3a52;
    border: 1px solid #5c3a52;
    color: #e8e0e5;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
}

.fcg_btn:hover {
    background: #71465f;
}


/* --- Bundeslaender-Uebersicht: Tabs MIT Bild (statt reiner Text-Pille) --- */
.fcg_bundeslaender-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.fcg_bundesland-karte {
    position: relative;
    display: block;
    width: 250px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
}

.fcg_bundesland-karte-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75) 90%);
}

.fcg_bundesland-karte-name {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #e8e0e5;
    font-size: 16px;
    z-index: 2;
    padding: 0 8px;
}


/* --- Wiederverwendbarer horizontaler Karten-Slider --- */
.fcg_karten-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 0 5px 15px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.08);
}

.fcg_karten-slider::-webkit-scrollbar {
    height: 6px;
}

.fcg_karten-slider::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.fcg_karten-slider::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

/* --- Wiederverwendbares Karten-Grid (umbrechend, fuer laengere Listen) --- */
.fcg_karten-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* --- Artikel-Karte (Top-Artikel-Slider, Bundesland/Stadt/Suche-Ergebnisse, Favoriten) --- */
.fcg_artikel-karte {
    flex: 0 0 auto;
    width: 260px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #5c3a52;
    border-radius: 15px;
    padding: 20px;
    text-decoration: none;
    color: #e8e0e5;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-snap-align: start;
}

.fcg_artikel-karte:hover {
    border-color: #b090b0;
}

/* Falls die Karte als <div> mit separatem Button genutzt wird (z.B. Favoriten "Entfernen"),
   statt die ganze Karte als <a> zu verlinken */
.fcg_artikel-karte a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.fcg_artikel-karte-ort {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b090b0;
}

.fcg_artikel-karte-titel {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.fcg_artikel-karte-teaser {
    font-size: 14px;
    color: #cbb8c6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.fcg_leer-hinweis {
    text-align: center;
    color: #cbb8c6;
}

/* --- Teilen-Buttons (Webapp teilen) --- */
.fcg_share-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin-top: 30px;
}

.fcg_share-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

.fcg_share-btn-icon {
    font-size: 20px;
    line-height: 1;
}

.fcg_share-btn-teilen  { background: #5c3a52; }
.fcg_share-btn-whatsapp { background: #25d366; }
.fcg_share-btn-sms      { background: #f5a623; }
.fcg_share-btn-facebook { background: #3b5998; }
.fcg_share-btn-telegram { background: #2196b0; }
.fcg_share-btn-email    { background: #8b9df5; }

@media only screen and (min-width: 1025px) {
    .fcg_seite-titel {
        font-size: 40px;
    }
}


/* =====================================================================
 * "Unsere TOP-Artikel" Teaser-Slider (Startseite) + Lightbox
 * ===================================================================== */

.fcg_top-artikel-kopf {
    text-align: center;
    margin-bottom: 20px;
}

.fcg_top-artikel-alle-link {
    display: inline-block;
    margin-top: 8px;
    color: #b090b0;
    text-decoration: none;
    font-weight: 700;
}

.fcg_top-artikel-alle-link:hover {
    text-decoration: underline;
}

.fcg_top-artikel-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 0 5px 15px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.08);
}

.fcg_top-artikel-slider::-webkit-scrollbar {
    height: 6px;
}

.fcg_top-artikel-slider::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.fcg_top-artikel-slider::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

.fcg_top-artikel-karte {
    display: flex;
    flex: 0 0 auto;
    width: 420px;
    max-width: 85vw;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #5c3a52;
    border-radius: 15px;
    padding: 15px;
    text-decoration: none;
    color: #e8e0e5;
    scroll-snap-align: start;
    box-sizing: border-box;
}

/* --- Bild-Bereich: mehrere Slides uebereinander gestapelt, automatischer Wechsel per JS --- */
.fcg_top-artikel-bild {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.fcg_top-artikel-bild-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fcg_top-artikel-bild-item.fcg_sichtbar {
    opacity: 1;
}

.fcg_top-artikel-bild-hinweis {
    position: absolute;
    bottom: 6px;
    right: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    z-index: 2;
}

.fcg_top-artikel-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.fcg_top-artikel-ort {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b090b0;
}

.fcg_top-artikel-titel {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 17px;
    margin: 0;
}

.fcg_top-artikel-teaser {
    font-size: 14px;
    color: #cbb8c6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* --- Lightbox --- */
#fcg_lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

#fcg_lightbox.fcg_offen {
    display: flex;
}

.fcg_lightbox-bild-anzeige {
    width: min(90vw, 700px);
    height: min(80vh, 700px);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
}

.fcg_lightbox-schliessen {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

.fcg_lightbox-pfeil {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcg_lightbox-pfeil:hover {
    background: rgba(255, 255, 255, 0.2);
}

.fcg_lightbox-prev {
    left: 20px;
}

.fcg_lightbox-next {
    right: 20px;
}


@media only screen and (max-width: 599px) {
    .fcg_top-artikel-karte {
        width: 320px;
        flex-direction: column;
    }
    .fcg_top-artikel-bild {
        width: 100%;
        height: 160px;
    }
}


/* =====================================================================
 * Universelle Artikel-Karte (Startseite "Unsere TOP-Artikel" + alle Listen)
 * Zweispaltig: links Bild-Durchlauf, rechts Textinhalt.
 * ===================================================================== */

.fcg_karte {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #5c3a52;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: #1a0f18;
}

.fcg_karte:hover {
    border-color: #b090b0;
}

/* Innerhalb eines horizontalen Sliders oder eines umbrechenden Grids feste Breite */
.fcg_top-artikel-slider > .fcg_karte,
.fcg_karten-slider > .fcg_karte,
.fcg_karten-grid > .fcg_karte {
    flex: 0 0 auto;
    width: 420px;
    max-width: 90vw;
    scroll-snap-align: start;
}

/* --- Linke Haelfte: Bild-Durchlauf --- */
.fcg_karte-bild-seite {
    position: relative;
    width: 50%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.fcg_karte-bild-stapel {
    position: relative;
    flex: 1 1 auto;
    min-height: 220px;
}

.fcg_karte-bild-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fcg_karte-bild-item.fcg_sichtbar {
    opacity: 1;
}

.fcg_karte-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}

.fcg_karte-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.fcg_karte-dot.fcg_aktiv {
    background: #fff;
}

.fcg_karte-herz {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c3a52;
    font-size: 16px;
    cursor: pointer;
    z-index: 3;
    padding: 0;
}

.fcg_karte-whatsapp-leiste {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #06341c;
    font-weight: 700;
    padding: 10px;
    text-decoration: none;
    font-size: 14px;
}

/* --- Rechte Haelfte: Textinhalt --- */
.fcg_karte-text-seite {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    color: #1a0f18;
    min-width: 0;
}

.fcg_karte-text-inhalt {
    padding: 15px;
}

.fcg_karte-name {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 8px 0;
}

.fcg_karte-kurzbeschreibung {
    font-size: 14px;
    color: #555;
    margin: 0 0 15px 0;
}

.fcg_karte-zusatz-oben {
    margin-bottom: 10px;
}

.fcg_karte-zusatzfeld {
    font-size: 14px;
    margin: 0 0 4px 0;
    color: #1a0f18;
}

.fcg_karte-zusatz-unten {
    display: flex;
    flex-wrap: wrap;
}

.fcg_karte-zusatz-divider-item {
    font-size: 13px;
    color: #333;
    padding: 0 10px;
    border-right: 1px solid #ccc;
}

.fcg_karte-zusatz-divider-item:last-child {
    border-right: none;
}

.fcg_karte-zusatz-divider-item:first-child {
    padding-left: 0;
}

.fcg_karte-zum-artikel-leiste {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2196f3;
    color: #fff;
    font-weight: 700;
    padding: 12px;
    font-size: 14px;
}

@media only screen and (max-width: 599px) {
    .fcg_top-artikel-slider > .fcg_karte,
    .fcg_karten-slider > .fcg_karte,
    .fcg_karten-grid > .fcg_karte {
        width: 300px;
    }
}
